KR102075956B1 - 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
KR102075956B1
KR102075956B1 KR1020180076088A KR20180076088A KR102075956B1 KR 102075956 B1 KR102075956 B1 KR 102075956B1 KR 1020180076088 A KR1020180076088 A KR 1020180076088A KR 20180076088 A KR20180076088 A KR 20180076088A KR 102075956 B1 KR102075956 B1 KR 102075956B1
Authority
KR
South Korea
Prior art keywords
payment
information
user
server
fund source
Prior art date
Application number
KR1020180076088A
Other languages
Korean (ko)
Other versions
KR20190082046A (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 KR20190082046A publication Critical patent/KR20190082046A/en
Application granted granted Critical
Publication of KR102075956B1 publication Critical patent/KR102075956B1/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

본 발명은 서비스 제공 단말로부터 사용자 단말의 구매 및 지불 정보에 대응하는 결제 요청 정보가 획득되면, 결제 요청 정보에 포함된 사용자 식별 정보에 대응하는 푸시 토큰 아이디를 블록체인으로부터 획득하고, 푸시 토큰 아이디와 서명 요청 정보를 사용자 단말로 전송하며, 사용자 단말의 펀드 소스 앱에 의해 전자 서명된 서명값이 획득되면, 서명값을 검증하여 유효일 경우, 결제 수단 토큰 아이디에 대응하는 결제 수단의 지불에 대한 검증을 하여 유효한 것으로 확인되면, 결제 요청 정보에 대응하는 승인 결과 정보를 블록체인에 등록하며, 승인 결과 정보를 결제 수단에 대응되는 펀드 소스 식별 아이디에 해당하는 펀드 소스 서버로 전송하여 주는 블록체인 기반의 결제 방법 및 이를 이용한 시스템에 관한 것이다.In the present invention, when payment request information corresponding to purchase and payment information of a user terminal is obtained from a service providing terminal, a push token ID corresponding to user identification information included in payment request information is obtained from a blockchain, and a push token ID and The signature request information is transmitted to the user terminal, and when the signature value electronically signed by the fund source app of the user terminal is obtained, the signature value is verified and, if valid, verification of payment of the payment method corresponding to the payment method token ID If it is confirmed to be valid, blockchain-based payment that registers the approval result information corresponding to the payment request information on the blockchain and transmits the approval result information to the fund source server corresponding to the fund source identification ID corresponding to the payment method. It relates to a method and a system using the same.

Description

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

본 발명은 블록체인 기반의 결제 방법 및 이를 이용한 시스템에 관한 것으로, 보다 상세하게는, 서비스 제공 단말로부터 사용자 단말의 구매 및 지불 정보에 대응하는 결제 요청 정보가 획득되면, 결제 요청 정보에 포함된 사용자 식별 정보에 대응하는 푸시 토큰 아이디를 블록체인으로부터 획득하고, 푸시 토큰 아이디와 서명 요청 정보를 사용자 단말로 전송하며, 사용자 단말의 펀드 소스 앱에 의해 전자 서명된 서명값이 획득되면, 서명값을 검증하여 유효일 경우, 결제 수단 토큰 아이디에 대응하는 결제 수단의 지불에 대한 검증을 하여 유효한 것으로 확인되면, 결제 요청 정보에 대응하는 승인 결과 정보를 블록체인에 등록하며, 승인 결과 정보를 결제 수단에 대응되는 펀드 소스 식별 아이디에 해당하는 펀드 소스 서버로 전송하여 주는 블록체인 기반의 결제 방법 및 이를 이용한 시스템에 관한 것이다.The present invention relates to a blockchain-based payment method and a system using the same, and more specifically, when payment request information corresponding to purchase and payment information of a user terminal is obtained from a service providing terminal, a user included in payment request information Acquire the push token ID corresponding to the identification information from the blockchain, transmit the push token ID and signature request information to the user terminal, and verify the signature value when the digitally signed signature value is acquired by the fund source app of the user terminal If it is valid, if verification is made by verifying the payment of the payment method corresponding to the payment method token ID, the approval result information corresponding to the payment request information is registered in the blockchain, and the approval result information is corresponding to the payment method Blockchain that transmits to the fund source server corresponding to the fund source identification ID It relates to a payment method and a system using the same.

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

일반적으로 널리 알려진 결제 서비스 사업자로서는 은행 및 카드사를 예로 들 수 있다.Banks and card companies are examples of well-known payment service providers.

경제 주체들인 사용자들은 서비스를 제공한 서비스 제공자에게 결제를 하기 위하여 결제 서비스를 제공하는 은행이나 카드사 등의 결제 서비스 사업자에 의해 제공되는 결제 서비스를 이용하고 있다.Users who are economic agents use payment services provided by payment service providers such as banks and credit card companies that provide payment services 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 card companies, include online authenticators, payment agencies (PG companies), and VAN companies that perform various auxiliary services between service providers and payment service providers. A relay agent exists.

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

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

그리고, 종래의 결제 서비스는 결제 수단에 따라 서로 다른 시스템을 사용하여야 하는 문제점이 있다.And, the conventional payment service has a problem in 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 of the above-mentioned problems.

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

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

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

상기 목적을 달성하기 위한 본 발명의 일 실시예에 따르면, 블록체인 기반의 결제 방법에 있어서, (a) 사용자의 결제 수단에 대응되는 결제 수단 토큰 아이디, 상기 사용자를 식별하기 위한 사용자 식별 정보, 상기 사용자의 사용자 단말에 설치된 펀드 소스 앱에 대응되는 푸시 토큰 아이디, 상기 사용자의 퍼블릭 키, 및 상기 결제 수단에 대응되는 펀드 소스를 식별하기 위한 펀드 소스 식별 아이디를 포함하는 지급 수단 정보가 블록체인에 등록된 상태에서, 서비스 제공 단말로부터 사용자 단말의 구매 및 지불 정보에 대응하는 결제 요청 정보 - 상기 결제 요청 정보는 상기 사용자 식별 정보, 상기 결제 수단 토큰 아이디, 및 결제 정보 중 적어도 하나 이상을 포함함 - 가 획득되면, 지급 결제 서버가, 상기 결제 요청 정보에 포함된 상기 사용자 식별 정보에 대응하는 상기 푸시 토큰 아이디를 상기 블록체인으로부터 획득하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 푸시 토큰 아이디를 상기 블록체인으로부터 획득하도록 지원하고, 상기 블록체인으로부터 획득된 상기 푸시 토큰 아이디와 서명 요청 정보를 상기 사용자 단말로 전송하거나 상기 지급 결제 서버에 연동되는 타 장치 또는 상기 서비스 제공 단말을 통해 상기 푸시 토큰 아이디와 상기 서명 요청 정보를 상기 사용자 단말로 전송하도록 지원하는 단계; 및 (b) 상기 사용자 단말의 상기 펀드 소스 앱에 의해 전자 서명된 서명값이 획득되면, 상기 지급 결제 서버가, 상기 서명값을 검증하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 서명값을 검증하도록 지원하고, 상기 서명값이 유효일 경우, 상기 결제 수단 토큰 아이디에 대응하는 상기 결제 수단의 지불에 대한 검증을 하여 유효한 것으로 확인되면, 상기 결제 요청 정보에 대응하는 승인 결과 정보를 상기 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 승인 결과 정보가 상기 블록체인에 등록되도록 지원하며, 상기 승인 결과 정보를 상기 결제 수단에 대응되는 상기 펀드 소스 식별 아이디에 해당하는 상기 펀드 소스 서버로 전송되도록 하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 승인 결과 정보가 상기 펀드 소스 서버로 전송되도록 지원함으로써 상기 펀드 소스 서버로 하여금 상기 결제 요청 정보에 대응하는 결제 비용을 지불하도록 지원하는 단계; 를 포함하는 방법이 제공된다.According to an embodiment of the present invention for achieving the above object, in a blockchain-based payment method, (a) payment means token ID corresponding to the user's payment means, user identification information for identifying the user, the Payment means information including a push token ID corresponding to a fund source app installed on 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 is registered in the blockchain. In the status, payment request information corresponding to the purchase and payment information of the user terminal from the service providing terminal-the payment request information includes at least one of the user identification information, the payment method token ID, and payment information-a When obtained, the payment payment server, the user identification information included in the payment request information Support to obtain the push token ID corresponding to the push token ID from the blockchain through another device linked to the payment server or obtain the push token ID from the blockchain, and the push token ID obtained from the blockchain Transmitting the signature request information to the user terminal or transmitting the push token ID and the signature request information to the user terminal through another device interworking with the payment payment server or the service provision terminal; And (b) when the signature value electronically signed by the fund source app of the user terminal is obtained, the payment settlement server verifies the signature value or obtains the signature value through another device linked to the payment settlement server. Support for verification and, if the signature value is valid, verify the payment of the payment method corresponding to the payment method token ID, and if it is confirmed to be valid, the approval result information corresponding to the payment request information is sent to the blockchain The fund source server corresponding to the fund source identification ID corresponding to the payment means, which supports the registration result information to be registered in the blockchain through registration or other device linked to the payment server. The approval through another device linked to the payment server. By supporting so that the information is transferred to the fund source server to support steps by causing the server to source funds to pay the cost of payments corresponding to the payment request information; A method is provided that includes.

또한, 본 발명의 일 실시예에 따르면, 블록체인 기반의 결제를 수행하는 지급 결제 서버에 있어서, 사용자의 결제 수단에 대응되는 결제 수단 토큰 아이디, 상기 사용자를 식별하기 위한 사용자 식별 정보, 상기 사용자의 사용자 단말에 설치된 펀드 소스 앱에 대응되는 푸시 토큰 아이디, 상기 사용자의 퍼블릭 키, 및 상기 결제 수단에 대응되는 펀드 소스를 식별하기 위한 펀드 소스 식별 아이디를 포함하는 지급 수단 정보가 블록체인에 등록된 상태에서, 서비스 제공 단말로부터 사용자 단말의 구매 및 지불 정보에 대응하는 결제 요청 정보 - 상기 결제 요청 정보는 상기 사용자 식별 정보, 상기 결제 수단 토큰 아이디, 및 결제 정보 중 적어도 하나 이상을 포함함 - 를 획득하는 통신부; 및 상기 통신부로부터 상기 결제 요청 정보가 획득되면, 상기 결제 요청 정보에 포함된 상기 사용자 식별 정보에 대응하는 상기 푸시 토큰 아이디를 상기 블록체인으로부터 획득하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 푸시 토큰 아이디를 상기 블록체인으로부터 획득하도록 지원하고, 상기 블록체인으로부터 획득된 상기 푸시 토큰 아이디와 서명 요청 정보를 상기 사용자 단말로 전송하거나 상기 지급 결제 서버에 연동되는 타 장치 또는 상기 서비스 제공 단말을 통해 상기 푸시 토큰 아이디와 상기 서명 요청 정보를 상기 사용자 단말로 전송하도록 지원하는 프로세스와, 상기 사용자 단말의 상기 펀드 소스 앱에 의해 전자 서명된 서명값이 획득되면, 상기 서명값을 검증하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 서명값을 검증하도록 지원하고, 상기 서명값이 유효일 경우, 상기 결제 수단 토큰 아이디에 대응하는 상기 결제 수단의 지불에 대한 검증을 하여 유효한 것으로 확인되면, 상기 결제 요청 정보에 대응하는 승인 결과 정보를 상기 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 승인 결과 정보가 상기 블록체인에 등록되도록 지원하며, 상기 승인 결과 정보를 상기 결제 수단에 대응되는 상기 펀드 소스 식별 아이디에 해당하는 상기 펀드 소스 서버로 전송되도록 하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 승인 결과 정보가 상기 펀드 소스 서버로 전송되도록 지원함으로써 상기 펀드 소스 서버로 하여금 상기 결제 요청 정보에 대응하는 결제 비용을 지불하도록 지원하는 프로세스를 수행하는 프로세서; 를 포함하는 지급 결제 서버가 제공된다.In addition, according to an embodiment of the present invention, in a payment payment server for performing blockchain-based payment, the payment method token ID corresponding to the user's payment method, 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 on 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 blockchain In, obtaining payment request information corresponding to the purchase and payment information of the user terminal from the service providing terminal, wherein the payment request information includes at least one of the user identification information, the payment method token ID, and payment information. Communication; And when the payment request information is obtained from the communication unit, the push token ID corresponding to the user identification information included in the payment request information is obtained from the blockchain or pushed through another device linked to the payment server. Support to obtain a token ID from the blockchain, and transmit the push token ID and signature request information obtained from the blockchain to the user terminal, or through another device or the service providing terminal interlocked with the payment server. A process for supporting the transmission of the push token ID and the signature request information to the user terminal, and when the signature value electronically signed by the fund source app of the user terminal is obtained, verify the signature value or send the payment to the payment server Phase through other interlocked devices Support for verifying the pre-signature value, and if the signature value is valid, verify the payment of the payment means corresponding to the payment method token ID, and if it is confirmed to be valid, approve result information corresponding to the payment request information Support the registration result information to be registered in the blockchain through another device registered in the blockchain or linked to the payment server, and the approval result information corresponds to the fund source identification ID corresponding to the payment method The fund source server pays the payment cost corresponding to the payment request information by supporting the transmission to the fund source server or by transmitting the approval result information to the fund source server through another device linked to the payment settlement server. Processor that performs the processes that support it ; Payment payment server is provided that includes.

이 외에도, 본 발명의 방법을 실행하기 위한 컴퓨터 프로그램을 기록하기 위한 컴퓨터 판독 가능한 기록 매체가 더 제공된다.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, there are the following effects.

본 발명은 결제 과정에서 수수료를 최소화할 수 있다.The present invention can minimize fees 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 on the blockchain.

또한, 본 발명은 결제 과정에서 VAN사나 PG사 등의 중개사를 이용하지 않고 블록체인을 이용함으로써 시스템을 간소화할 수 있을 뿐만 아니라 유지 비용을 절감할 수 있다.In addition, the present invention can simplify the system and 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 can perform payment in the same system by forming each payment service server corresponding to the payment method 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 user's payment means on a blockchain in a blockchain-based payment method according to an embodiment of the present invention,
3 and 4 schematically show another method of registering a user's payment means on 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 shows another state in which payment is made in a blockchain-based payment system according to an embodiment of the present invention.

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

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

도 1은 본 발명의 일 실시예에 따른 블록체인 기반의 결제 시스템을 개략적으로 도시한 것으로, 결제 시스템은 사용자 단말(100), 서비스 제공 단말(200), 지급 결제 서버, 및 펀드 소스 서버를 포함할 수 있다.Figure 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 payment 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 that generates a transaction corresponding to a user input related to payment and displays information related to payment to a user, a personal computer (PC), a mobile computer, a PDA / EDA, a mobile phone, and a smart phone Phones, tablets, and the like. In addition, the user terminal 100 is not limited to this, and may include any device such as a portable game machine having a wired / wireless communication function, a digital camera, and personal navigation. In addition, the user terminal 100 may include a communication unit that supports 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 a variety of 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 performs payment according to a payment method corresponding to a user's fund source by generating payment request information corresponding to purchase and payment information by the user terminal 100, of an offline shopping mall It may include a payment terminal or a payment server of an online shopping mall, and may include a server that performs payment for a service or 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 to this, the service provision terminal 200 may include all terminals that allow payments corresponding to the provision of the service or the purchase of the 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 and payment server performs a blockchain-based payment, and may include a communication unit and a processor. In addition, the payment payment server may be any one of a plurality of node servers (f1, f2, f3, f4, f5, f6) constituting the blockchain 300, and the payment payment server performs each function related to payment. It can be done. At this time, in FIG. 1, the number of node servers f1, f2, f3, f4, f5, and f6 is indicated, but the number of node servers is not limited thereto. What is indicated using the same reference numerals is for convenience of description only, and is not intended to mean that these individual devices are the same. And, in another embodiment of the present invention, the server may be configured differently to perform the corresponding method or the corresponding method may be performed through the same payment server. In addition, the payment and payment server may be a server that manages the user's fund source and works with a fund source server that provides payment services or a server that performs some functions of the fund source server, and is the same device as the fund source server or a separate device. Can be In addition, the payment payment server may be a transaction server that manages transactions with other devices in connection with payment.

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

이와 같은 컴퓨팅 장치의 통신부는 연동되는 타 컴퓨팅 장치와 요청과 응답을 송수신할 수 있는 바, 일 예시로서 그러한 요청과 응답은 동일한 TCP 세션에 의하여 이루어질 수 있지만, 이에 한정되지는 않는바, 예컨대 UDP 데이터그램으로서 송수신될 수도 있을 것이다.The communication unit of such a computing device can transmit and receive requests and responses with other computing devices interworking. As an example, such requests and responses may be made by the same TCP session, but are not limited thereto. For example, UDP data It may also be transmitted 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 hardware configurations such as a micro processing unit (MPU) or a central processing unit (CPU), a cache memory, and a data bus. Also, it may further include a software configuration of an operating system and 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 user's payment method and settlement of a service provider. At this time, the service for settlement may include purchase, billing, and settlement according to payment. Further, 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, and 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 various information verification operations required for use of the payment method through communication with the payment payment server. At this time, the fund source may include a user's bank account, credit card, gift certificate, membership card, coupon, point, cryptocurrency, etc., but is not limited thereto, and may include any value-holding device or information capable of payment, , Payment means may be a device or information that enables the fund source to be recognized in response to the fund source. In addition, the fund source server may include a card company server, a bank server, a point manager, a personal cryptocurrency vault 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, and other existing computing devices; electronic communication devices such as routers, switches, etc.) ; A combination of network attached storage (NAS) and storage area network (SAN) electronic information storage systems) and computer software (i.e. instructions that enable computing devices to function in a particular way) to achieve desired system performance. It can be achieved.

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

먼저, 도 2를 참조하여 본 발명의 일 실시예에 따른 블록체인 기반의 결제 방법에서 사용자의 지급 수단을 등록하는 방법을 설명한다.First, a method of registering a user's payment method 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 어드레스, 전화번호, 및 이들 각각의 해시값 중 적어도 하나를 포함할 수 있다. 또한, 결제 수단 정보는 펀드 소스를 이용한 비용 지급을 위한 결제 수단에 대한 정보일 수 있다. 일 예로, 결제 수단은 카드, 상품권, 포인트, 멤버십 카드, 디지털 전자 지갑 등을 포함할 수 있으며, 결제 수단 정보는 이들을 식별할 수 있도록 하는 식별 정보, 즉, 발급 주체인 펀드 소스 정보, 유효 기간, 사용자 정보 등을 포함할 수 있다.The user executes the fund source app installed in the user terminal 100 to register the payment method by the payment method the user wants to use for payment (S1), and the fund source server displays user identification information and payment method information for payment method registration. It supports to transmit to the 320 or other devices linked to the user terminal 100 to transmit the user identification information and payment method information to the fund source server 320 (S2). At this time, the user identification information and payment method information may be transmitted by the fund source app without user manipulation in response to the execution of the fund source app by the user. In addition, the user identification information is unique information given to each user for identification of the user, such as 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, phone number, and these It may include at least one of each hash value. Further, the payment method information may be information about a payment method for payment of money using a fund source. As an example, the payment method may include a card, a gift certificate, a point, a membership card, a digital electronic wallet, etc., and payment method information is identification information that enables them to be identified, that is, fund source information that is an issuer, validity period, It may include user information.

그리고, 사용자는 사용자 단말(100)을 통해, 즉, 사용자 단말(100)의 펀드 소스 앱을 통해 사용자 정보, 결제 수단, 사용자의 퍼블릭 키, 및 사용자 식별 정보 중 적어도 하나를 포함하는 지급 수단 등록 요청 정보를 블록체인(300)을 구성하는 다수의 노드 서버(f1, f2, f3, f4, f5, f6)들 중 펀드 소스 앱에 대응되는 지급 결제 서버(310)로 전송하거나 사용자 단말(100)에 연동되는 타 장치로 하여금 지급 수단 등록 요청 정보를 지급 결제 서버(310)로 전송하도록 지원할 수 있다(S3). 이때, 사용자 정보는 사용자 성명, 생년월일, 사용자 아이디, 주민번호, 사용자 단말 아이디, 사용자 단말의 아이피 주소, 사용자 단말의 MAC 어드레스, 전화번호, 및 이들 각각의 해시값 중 적어도 하나를 포함할 수 있으며, 사용자 식별 정보는 사용자 정보 중 특정 사용자 정보로서 사용자의 식별을 위하여 사용자 별로 주어지는 고유 정보일 수 있다.Then, the user requests to register payment means including at least one of user information, payment means, user's public key, and user identification information through the user terminal 100, that is, through the fund source app of the user terminal 100. Among the plurality of node servers (f1, f2, f3, f4, f5, f6) constituting the blockchain 300, the information is transmitted to the payment settlement server 310 corresponding to the fund source app or to the user terminal 100 It is possible to support other interlocked devices to transmit the payment means registration request information to the payment settlement server 310 (S3). At this time, 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, phone number, and hash values of each of them. 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, in response to the payment means registration request information from the user terminal 100, transmits a verification request for payment means and user information to the fund source server 320 or the payment payment server 310 It supports the other devices linked to the payment method and user information verification request signal to be transmitted to the fund source server 320 (S4).

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

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

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

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

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

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

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

즉, 지급 결제 서버(310)는 제2 해시값이 특정 리프 노드에 할당된 머클 트리(merkle tree)를 생성하거나 생성하도록 지원할 수 있고, 트리거링 조건이 만족되면, 제1 해시값과 매칭되는 적어도 하나의 다른 리프 노드에 할당된 해시값을 연산하여 생성되는 머클 루트인 제1 대표 해시값 또는 제1 대표 해시값을 가공한 값을 제2 블록체인에 등록하거나 지급 결제 서버(310)에 연동되는 타 장치 또는 제1 블록체인으로 하여금 제2 블록체인에 등록하도록 지원할 수 있다.That is, the payment payment 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 when the triggering condition is satisfied, at least one matching the first hash value The first representative hash value, which is a Merkle root generated by calculating the hash value allocated to the other leaf node of the first or the processed value of the first representative hash value, is registered in the second blockchain or linked to the payment settlement server 310. It can support the device or the first blockchain 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) payment settlement server 310 calculates or pays (i) the first hash value and (ii) the hash value assigned to the sibling node of the node to which the first hash value is assigned. It is possible to support other devices linked to the server 310 to calculate, and hash values for the calculated values can be assigned to the parent node of the node or other devices linked to the payment and payment server 310 can be assigned 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 first representative hash value or a value obtained by processing 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 repeatedly performs (x1) to (x3) using the hash value assigned to the parent node as the first hash value. .

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

한편, 지급 결제 서버(310)가 제1 해시값과 적어도 하나의 이웃 해시값을 소정의 제1-1 데이터 구조로 저장하고, 이후 제1-1 데이터 구조와 동일한 형태의 제1-2 데이터 구조를 저장하여 관리하는 경우, 제1-1 데이터 구조와 제1-2 데이터 구조는 체인 형태로 연결될 수 있다.On the other hand, the payment settlement server 310 stores the first hash value and at least one neighboring hash value as a predetermined first-first data structure, and thereafter a first-2 data structure having the same form as the first-first data structure. When storing and managing, 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 데이터 구조의 첫번째 리프 노드에 할당될 수 있다.Particularly, as in the above-described example, when the 1-1 data structure and the 1-2 data structure are merkle trees, the root value of the 1-1 data structure or the hash value of the root value is 1-2 data structure. Can be assigned to the first leaf node.

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

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

도 3 및 도 4는 본 발명의 일 실시예에 따라 생성된 머클 트리의 예를 도시한 것이다.3 and 4 show an example of a Merkle tree generated according to an embodiment of the present 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, a Merkle tree with 4 leaf nodes is shown. Since the illustrated Merkle tree is the first Merkle tree (tree_id = 0), it can be seen that the hash value (sha256 (coinplug_unique_message)) of predetermined message data is allocated to the h0 node, which is the first leaf node. When there is a request to register for historical data, the payment settlement server 310 generates a next leaf node of the last leaf node of the currently configured Merkle tree to allocate a second hash value or a processed value of the second hash value, or Support allocation. For example, when the value allocation from the merkle tree of FIG. 3 to the second leaf node h1 node is completed, when a new leaf node needs to be generated, the next leaf node h2 node is generated to generate a first hash value or a first hash. A processed value (sha256 (input2)) can be assigned. In addition, the payment and payment server 310 may support (i) a first hash value allocated to the h2 node and (ii) a hash value allocated to the h3 node, which is a sibling node of the h2 node. The hash value for the computed value is assigned to the h2 node and the parent node (h23 node) of the h3 node. Since the parent node (the h23 node) is not the root node of the Merkle tree, the payment and payment 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 regarded 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 and allocated 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 and payment server 310 registers the value (hex (h {node_index})) that has processed the hash value assigned to the h0123 node in the second blockchain or the payment and payment 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) 서비스 특성에 대한 조건 중 적어도 하나를 포함할 수 있다.On the other hand, the above-described triggering conditions include: (i) a condition in which a predetermined number of transactions are generated, (ii) a condition in which a predetermined time has elapsed, (iii) a condition in which a block is generated in the first blockchain, (iv) service characteristics It may include at least one of the conditions for.

한편, 예를 들어, 트랜잭션 데이터가 머클 트리의 리프 노드 수만큼 획득되면 지급 결제 서버(310)는 머클 트리를 생성하고, 머클 트리의 루트값을 제2 블록체인에 등록하거나 지급 결제 서버(310)에 연동된 타 장치로 하여금 등록하도록 지원할 수 있다.On the other hand, for example, when transaction data is acquired as many as the number of leaf nodes of the Merkle tree, the payment settlement server 310 creates the Merkle tree, and 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 device to register.

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

그런데, 이 경우에는 소정 시간이 경과하였음에도 머클 트리의 특정 해시값이 할당된 노드의 형제 노드에 값이 할당되지 않을 수 있다. 이처럼 트리거링 조건이 만족되었음에도 제1 해시값이 할당된 노드의 형제 노드에 해시값이 할당되어 있지 않은 경우, 지급 결제 서버(310)는, 형제 노드에 소정의 해시값을 할당하거나 할당하도록 지원하여 전술한 방식으로 머클 트리의 루트값이 산출되도록 할 수 있다. 예를 들어, 지급 결제 서버(310)는 제1 해시값을 복제하여 형제 노드에 할당하거나 할당하도록 지원할 수 있다.However, in this case, 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 though a predetermined time has elapsed. If the hash value is not assigned to the sibling node of the node to which the first hash value has been assigned even though the triggering condition is satisfied as described above, the payment and payment server 310 supports to allocate 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 and payment server 310 may duplicate the first hash value and allocate or assign it to a sibling node.

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

한편, 새로운 머클 트리 생성이 시작되고, 트랜잭션 데이터가 없는 상태에서 트리거링 조건이 만족되면, 지급 결제 서버(310)는, 소정의 메시지 데이터가 첫 번째 리프 노드와 두 번째 리프 노드에 할당된 머클 트리를 생성하거나 생성하도록 지원하고, 머클 트리의 루트값 또는 이를 가공한 값을 제2 블록체인에 등록하거나 지급 결제 서버(310)에 연동된 타 장치 또는 제1 블록체인으로 하여금 제2 블록체인에 등록하도록 지원할 수 있다. 이 경우에는 리프 노드 2개짜리 머클 트리가 생성될 수도 있는 것이다.On the other hand, when the new Merkle tree generation starts and the triggering condition is satisfied in the absence of transaction data, the payment settlement server 310 selects the Merkle tree in which predetermined message data is assigned to the first leaf node and the second leaf node. Support 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 the first blockchain linked to the payment and payment server 310 to register in the second blockchain I can apply. In this case, a 2 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 at least one neighboring hash value in a predetermined first-first data structure, and thereafter, first-first in the same form as the first-first data structure. 2 When data structures are stored and managed, 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, the root value of the 1-1 data structure or the hash value of the root value is allocated to the first leaf node of the 1-2 data structure. Can be.

도 4는 본 발명의 일 실시예에 따라 제1-2 데이터 구조로서 생성된 머클 트리를 도시한 도면이다.4 is a diagram illustrating 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 if data is tampered with by connecting a plurality of data structures generated when a transaction occurs.

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

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

그리고, 서비스 제공 단말(200)은 사용자 식별 정보, 결제 수단 토큰 아이디, 및 결제 정보 중 적어도 하나 이상을 포함하는 결제 요청 정보를 지급 결제 서버(310)로 전송하거나 서비스 제공 단말(200)에 연동되는 타 장치로 하여금 결제 요청 정보를 지급 결제 서버(310)로 전송하도록 지원한다(S12). 이때, 결제 정보는 사용자에게 제공된 서비스 또는 제품에 대한 정보와 사용자가 지급하여야 할 비용에 대한 정보일 수 있다.Then, the service providing terminal 200 transmits payment request information including at least one of user identification information, payment method token ID, and payment information to the payment payment server 310 or interlocks with the service provision terminal 200 It supports other devices to transmit the payment request information to the payment payment server 310 (S12). At this time, the payment information may be information on a service or product provided to the user and information on a cost 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 payment server 310 obtains the push token ID registered in the blockchain 300 by referring to the user identification information included in the payment request information from the service providing terminal 200 or the payment payment server 310 It supports other linked devices to obtain a push token ID from the blockchain 300 (S13) (S14). That is, the payment server 310 now checks payment means information by referring to the user identification information and confirms payment means information registered in the blockchain 300 or assists other devices linked to the payment payment server 310 to confirm. The included push token ID can be obtained. At this time, the payment and payment server 310 is any one of the node servers f1, f2, f3, f4, f5, and f6 of the blockchain 300, and thus may be obtained from the blockchain distributed ledger that it records. . That is, each node server (f1, f2, f3, f4, f5, f6) respectively records the same blockchain distributed ledger, and specific information desired 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)에 연동되는 타 장치로 하여금 푸시 토큰 아이디를 획득하도록 지원할 수 있다.On the other hand, in the above, payment means information was confirmed from the blockchain 300, but the blockchain 300 may be composed of a plurality, for example, the blockchain 300 may be composed of a first blockchain and a second blockchain. In case, the payment payment server 310 obtains the first representative hash value or the value processed by the first representative hash value from the second blockchain by referring to the user identification information included in the payment request information or the payment payment server 310 Supports other devices interlocked with to obtain the first representative hash value or the processed value of the first representative hash value from the second blockchain, and relates to the first representative hash value or the processed value of the first representative hash value. To obtain the Merkle tree information and leaf node information registered in the first blockchain, or to assist other devices linked to the payment and payment server 310 to obtain the Merkle tree information and leaf node information. Then, the payment and payment server 310 obtains the push token ID from the first blockchain by referring to the obtained Merkle tree information and leaf node information, or allows another device linked to the payment and payment server 310 to obtain the push token ID. Can help you.

그리고, 지급 결제 서버(310)는 획득된 푸시 토큰 아이디와 서명 요청 정보를 사용자 단말(100)로 전송하거나 지급 결제 서버(310)에 연동되는 타 장치로 하여금 푸시 토큰 아이디와 서명 요청 정보를 사용자 단말(100)로 전송하도록 지원할 수 있다(S15). 이때, 서명 요청 정보에는 결제 정보 또는 검증 수단값이 포함될 수 있다.Then, the payment and payment server 310 transmits the obtained push token ID and signature request information to the user terminal 100 or allows another device interlocked with the payment payment server 310 to transmit the push token ID and signature request information to the user terminal It may be supported to transmit to (100) (S15). At this time, the signature request information may include payment information or verification means values.

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

그리고, 사용자에 의해 입력된 확인 정보가 기설정된 확인 정보와 일치할 경우, 사용자 단말(100)은 결제 정보 또는 검증 수단값에 대한 사용자 서명값을 생성하여 지급 결제 서버(310)로 전송하거나 사용자 단말(100)에 연동되는 타 장치로 하여금 서명값을 지급 결제 서버(310)로 전송하도록 지원한다(S17). 일 예로, 사용자 단말(100), 즉 펀드 소스 앱은 사용자에 의해 입력된 확인 정보가 기설정된 확인 정보와 일치할 경우 저장된 사용자의 프라이빗키에 대한 접근이 허용되며, 그에 따라 사용자의 프라이빗키로 결제 정보 또는 검증 수단값을 서명한 사용자 서명값을 생성하며, 생성된 사용자 서명값을 지급 결제 서버(310)로 전송하여 준다.Then, when the verification information input by the user matches the predetermined verification information, the user terminal 100 generates a user signature value for the payment information or verification means value and transmits it to the payment payment server 310 or the user terminal It supports other devices linked to the (100) to transmit the signature value to the payment settlement server 310 (S17). For example, the user terminal 100, that is, the fund source app, is allowed access to the stored user's private key when the verification information input by the user matches the predetermined verification information, and accordingly payment information with the user's private key Alternatively, a user signature value for signing the 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 settlement 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)는 퍼블릭 키를 이용하여 서명값으로부터 결제 정보 또는 검증 수단값을 추출하며, 서명값으로부터 추출된 결제 정보 또는 검증 수단값이 서명 요청 정보에 포함된 결제 정보 또는 검증 수단값과 일치하는지를 확인하여 서명값의 유효 여부를 판단할 수 있다.As an example, the payment 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 user's signature value is valid using the obtained public key. That is, the payment payment server 310 extracts payment information or verification means values from the signature value using the public key, and payment information or verification means including payment information or verification means values extracted from the signature value is included in the signature request information. It is possible to determine whether the signature value is valid 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 block chain 300 may be composed of a number, for example, when the block chain 300 is composed of a first block chain and a second block chain, the payment and payment server 310 refers to user identification information. To obtain a first representative hash value from the second blockchain or a processed value of the first representative hash value, or allow another device linked to the payment settlement server 310 to receive 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 acquires or pays the Merkle tree information and leaf node information registered in the first blockchain in connection with the processed value of the first representative hash value or the first representative hash value. It supports other devices linked to the server 310 to acquire the Merkle tree information and leaf node information. Then, the payment payment server 310 refers to the obtained Merkle tree information and leaf node information to obtain a public key included in the payment means information from the first blockchain or allows another device linked to the payment payment server 310 You can support obtaining public keys.

그리고, 지급 결제 서버(310)는 사용자의 서명값이 유효한 것으로 판단되면, 지불에 대한 검증을 수행하거나 지급 결제 서버(310)에 연동되는 타 장치로 하여금 지불에 대한 검증을 수행하도록 지원한다(S19). 즉, 지급 결제 서버(310)는 사용자에 의해 결제 요청된 펀드 소스가 지불을 할 수 있는지 검증한다. 일 예로, 지급 결제 서버(310)는 지급 수단 정보에 등록된 펀드 소스를 이용한 결제할 수 있는 비용의 한도 정보 등을 확인하는 등을 방법을 통해 지불에 대한 검증을 수행하거나 펀드 소스 서버(320)로 하여금 검증을 수행하도록 할 수 있다.Then, the payment payment server 310, when it is determined that the user's signature value is valid, performs verification for payment or assists other devices linked to the payment payment server 310 to verify payment (S19). ). That is, the payment settlement server 310 verifies whether the fund source requested by the user can make payment. For example, the payment settlement server 310 performs verification of payment through a method such as checking limit information of a cost that can be paid using a fund source registered in payment means information, or the fund source server 320 You can have 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) 중 적어도 하나로 전송될 수 있다.Subsequently, when the payment payment server 310 is verified for payment, the payment request from the service providing terminal 200 is approved, or the payment source server 320 or another device linked to the payment payment server 310 is used. It supports the user to approve the payment request, registers the approval result in the block chain 300 (S20), the fund source server 320, the service provision terminal 200, and the user terminal 100 to approve the approval result. It supports the transmission or other devices linked to the payment and payment 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 payment server 310 transmits the approval result to at least one of the fund source server 320, the service providing terminal 200, and the user terminal 100 by registering and broadcasting the approval result on the blockchain 300. 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의 설명으로부터 용이하게 이해 가능하도록 상세한 설명은 생략하기로 한다.On the other hand, in the above, although the approval result is registered in the blockchain 300, the blockchain 300 may be composed of a plurality, for example, the blockchain 300 may be composed of a first blockchain and a second blockchain. In this case, the payment and payment server 310 supports the result of the approval, that is, the transaction data is registered in the first blockchain or another device interlocked with the payment and payment server 310 is registered in the first blockchain. And, when the triggering condition for registering a predetermined hash value in the second blockchain is satisfied, the payment payment server 310 matches the second hash value and the second hash value generated by applying a hash function to the transaction data. By calculating at least one neighboring hash value, a second representative hash value, which is a Merkle root, or a processed value of the second representative hash value is generated. Subsequently, the payment and payment server 310 registers the generated second representative hash value or the second representative hash value processed value in the second blockchain, or another device or the first blockchain that is linked to the payment payment server 310. It is possible to register the second representative hash value or the value processed by the second representative hash value in the second blockchain. Detailed description of the method for registering transaction data using the first blockchain and the second blockchain will be omitted for easy understanding from the description of FIG. 2.

또한, 상기에서는 사용자의 결제 수단에 대응하는 펀드 소스에 의한 결제를 제공하는 서비스 제공 단말에서의 결제에 대해서 설명하였으나, 이와는 달리 사용자가 서비스 제공 단말에서의 결제에 이용되는 펀드 소스를 소유하고 있지 않은 경우에도 상기와 같은 방법에 의해 결제가 수행될 수 있다.In addition, the above described payment in a service providing terminal that provides payment by a fund source corresponding to a user's payment method, but unlike this, the user does not own a fund source used for payment in the service providing terminal. Even 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 payment server in the block chain 300 constituted by a plurality of payment payment servers, that is, the node server f4 uses a fund source corresponding to a user's payment method. A payment payment server that performs payment, and the node server f2 is a payment payment server that performs payment using a fund source different from a fund source according to a user payment method, and the service providing terminal 200 is a node server f2 It is assumed that payment is made only with the fund source corresponding to).

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

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

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

또한, 상기에서는 지급 결제 서버인 노드 서버(f1)와 노드 서버(f2) 사이의 직접적인 스왑을 설명하였지만, 이와는 달리 지급 결제 서비스인 노드 서버(f1)와 노드 서버(f4) 사이의 스왑이 설정되어 있지 않을 경우에는 블록체인(300)을 구성하는 다른 노드 서버(f1, f3, f5, f6)들 중 노드 서버(f2) 및 노드 서버(f4) 각각과 스왑이 설정된 특정 노드를 통해 사용자의 결제가 이루어지도록 할 수도 있다.In addition, the above described the direct swap between the node server f1 and the node server f2, which is a payment server, but, unlike this, the swap between the node server f1, which is a payment server, and the node server f4 is set. If not, the user's payment is made through the node node (f2) and the node server (f4) among the other node servers (f1, f3, f5, and f6) constituting the blockchain 300 and a specific node set with swap. 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 can be executed through various computer components to be recorded in a computer-readable recording medium. The computer-readable recording medium may include program instructions, data files, data structures, or the like alone or in combination. The program instructions recorded on the computer-readable recording medium may be specially designed and configured for the present invention or may be known and usable by those skilled in the computer software field. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks, and magnetic tapes, 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 language codes produced by a compiler, but also high-level language codes executable 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 processing according to the present invention, and vice versa.

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

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

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

Claims (12)

블록체인 기반의 결제 방법에 있어서,
(a) 사용자의 결제 수단에 대응되는 결제 수단 토큰 아이디, 상기 사용자를 식별하기 위한 사용자 식별 정보, 상기 사용자의 사용자 단말에 설치된 펀드 소스 앱에 대응되는 푸시 토큰 아이디, 상기 사용자의 퍼블릭 키, 및 상기 결제 수단에 대응되는 펀드 소스를 식별하기 위한 펀드 소스 식별 아이디를 포함하는 지급 수단 정보가 블록체인에 등록된 상태에서, 서비스 제공 단말로부터 사용자 단말의 구매 및 지불 정보에 대응하는 결제 요청 정보 - 상기 결제 요청 정보는 상기 사용자 식별 정보, 상기 결제 수단 토큰 아이디, 및 결제 정보 중 적어도 하나 이상을 포함함 - 가 획득되면, 지급 결제 서버가, 상기 결제 요청 정보에 포함된 상기 사용자 식별 정보에 대응하는 상기 푸시 토큰 아이디를 상기 블록체인으로부터 획득하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 푸시 토큰 아이디를 상기 블록체인으로부터 획득하도록 지원하고, 상기 블록체인으로부터 획득된 상기 푸시 토큰 아이디와 서명 요청 정보를 상기 사용자 단말로 전송하거나 상기 지급 결제 서버에 연동되는 타 장치 또는 상기 서비스 제공 단말을 통해 상기 푸시 토큰 아이디와 상기 서명 요청 정보를 상기 사용자 단말로 전송하도록 지원하는 단계; 및
(b) 상기 사용자 단말의 상기 펀드 소스 앱에 의해 전자 서명된 서명값이 획득되면, 상기 지급 결제 서버가, 상기 서명값을 검증하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 서명값을 검증하도록 지원하고, 상기 서명값이 유효일 경우, 상기 결제 수단 토큰 아이디에 대응하는 상기 결제 수단의 지불에 대한 검증을 하여 유효한 것으로 확인되면, 상기 결제 요청 정보에 대응하는 승인 결과 정보를 상기 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 승인 결과 정보가 상기 블록체인에 등록되도록 지원하며, 상기 승인 결과 정보를 상기 결제 수단에 대응되는 상기 펀드 소스 식별 아이디에 해당하는 펀드 소스 서버로 전송되도록 하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 승인 결과 정보가 상기 펀드 소스 서버로 전송되도록 지원함으로써 상기 펀드 소스 서버로 하여금 상기 결제 요청 정보에 대응하는 결제 비용을 지불하도록 지원하는 단계;
를 포함하되,
상기 (a) 단계 이전에,
(a01) 상기 사용자 단말로부터의 지급 수단 등록 요청 정보 - 상기 지급 수단 등록 요청 정보는 사용자 정보, 상기 결제 수단, 상기 사용자의 퍼블릭 키, 및 상기 사용자 식별 정보 중 적어도 하나를 포함함 - 가 획득되면, 상기 지급 결제 서버가, 상기 결제 수단에 대응되는 상기 펀드 소스 서버로 상기 결제 수단과 상기 사용자 정보를 포함하는 사용자 검증 요청 정보를 전송하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 전송되도록 함으로써 상기 펀드 소스 서버로 하여금 상기 사용자 단말로부터 획득된 상기 사용자 정보와 상기 결제 수단에 대한 정보를 참조하여 상기 결제 수단 및 상기 사용자를 검증하는 단계; 및
(a02) 상기 펀드 소스 서버로부터 상기 결제 수단 및 상기 사용자에 대한 검증 결과가 획득되면, 상기 지급 결제 서버가, 상기 결제 수단에 대응되는 상기 결제 수단 토큰 아이디, 상기 사용자 식별 정보, 상기 사용자의 사용자 단말에 설치된 상기 펀드 소스 앱에 대응되는 상기 푸시 토큰 아이디, 상기 사용자의 퍼블릭 키, 및 상기 결제 수단에 대응되는 펀드 소스를 식별하기 위한 상기 펀드 소스 식별 아이디를 포함하는 상기 지급 수단 정보를 상기 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 블록체인에 등록하도록 지원하는 단계;
를 더 포함하는 것을 특징으로 하는 방법.
In the blockchain-based payment method,
(a) 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 on the user terminal of the user, the user's public key, and the Payment request information corresponding to purchase and payment information of a user terminal from a service providing terminal while payment means information including a fund source identification ID for identifying a fund source corresponding to a payment method is registered in the blockchain-the payment Request information includes at least one of the user identification information, the payment method token ID, and payment information-If is obtained, the payment payment server, the push corresponding to the user identification information included in the payment request information Token ID can be obtained from the blockchain or paid to the payment server Supports to obtain the push token ID from the blockchain through another interlocked device, and transmits the push token ID and signature request information obtained from the blockchain to the user terminal or another device interlocked with the payment server Or supporting the transmission of the push token ID and the signature request information to the user terminal through the service provision terminal; And
(b) When a digitally signed signature value is obtained by the fund source app of the user terminal, the payment settlement server verifies the signature value or verifies the signature value through another device linked to the payment settlement server. If the signature value is valid, if the payment value of the payment method corresponding to the payment method token ID is verified and verified to be valid, the approval result information corresponding to the payment request information is registered in the blockchain. Or, through the other device linked to the payment server, the approval result information is supported to be registered in the blockchain, and the approval result information is transmitted to the fund source server corresponding to the fund source identification ID corresponding to the payment method. The approval result information through other devices linked to the payment server Supporting the fund source server to pay a payment cost corresponding to the payment request information by supporting transmission to the fund source server;
Including,
Before step (a),
(a01) When 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 user's public key, and the user identification information, is obtained, The payment payment server transmits the user verification request information including the payment method and the user information to the fund source server corresponding to the payment method or allows the fund to be transmitted through another device linked to the payment method. Causing a source server to verify the payment means and the user with reference to the user information obtained from the user terminal and information about the payment method; And
(a02) When a verification result for the payment means and the user is obtained from the fund source server, the payment payment server, the payment means token ID corresponding to the payment means, the user identification information, the user terminal of the user The payment means information including the push token ID corresponding to the fund source app installed in the user, the public key of the user, and the fund source identification ID for identifying the fund source corresponding to the payment method is transmitted to the blockchain. Registering or assisting other devices linked to the payment server to register on the blockchain;
Method further comprising a.
제1항에 있어서,
상기 (a) 단계에서,
상기 지급 결제 서버가, 상기 서명 요청 정보에, 상기 결제 정보 또는 검증 수단값을 포함하여 상기 사용자 단말로 하여금 상기 사용자의 프라이빗키를 이용하여 상기 결제 정보 또는 상기 검증 수단값을 서명하도록 요청하며,
상기 (b) 단계에서,
상기 지급 결제 서버가, 상기 블록체인에 등록된 상기 사용자의 퍼블릭 키를 이용하여 상기 서명값으로부터 상기 결제 정보 또는 상기 검증 수단값을 추출하며, 상기 서명값으로부터 추출된 상기 결제 정보 또는 상기 검증 수단값이 상기 서명 요청 정보에 포함된 상기 결제 정보 또는 상기 검증 수단값과 일치하는지를 확인하여 상기 서명값의 유효 여부를 판단하는 것을 특징으로 하는 방법.
According to claim 1,
In step (a),
The payment payment server, including the payment information or the verification means value in the signature request information, requests the user terminal to sign the payment information or the verification means value using the user's private key,
In step (b),
The payment payment server extracts the payment information or the verification means value from the signature value using the public key of the user registered in the blockchain, and the payment information or the verification means value extracted from the signature value And determining whether the signature value is valid by checking whether the payment information included in the signature request information or the verification means value matches.
제1항에 있어서,
상기 사용자 식별 정보는,
상기 사용자의 식별을 위하여 사용자 별로 주어지는 고유 정보로서, 사용자 아이디, 주민번호, 사용자 단말 아이디, 사용자 단말의 아이피 주소, 사용자 단말의 MAC 어드레스, 전화번호, 및 이들 각각의 해시값 중 적어도 하나를 포함하는 것을 특징으로 하는 방법.
According to claim 1,
The user identification information,
As the unique information given for each user for identification of the user, including at least one of a user ID, social security number, user terminal ID, IP address of the user terminal, MAC address of the user terminal, phone number, and hash values of each of them Method characterized in that.
제1항에 있어서,
상기 (a) 단계에서의 상기 결제 정보가 상기 결제 수단 토큰 아이디에 대응되는 상기 결제 수단에 대응되는 상기 펀드 소스가 아닌 타 펀드 소스에 의한 결제 요청일 경우,
상기 (b) 단계에서,
상기 지급 결제 서버가, 상기 승인 결과 정보를 상기 펀드 소스 서버로 전송하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 승인 결과 정보가 상기 펀드 소스 서버로 전송되도록 지원함으로써 상기 펀드 소스 서버로 하여금 상기 결제 요청 정보에 대응하는 결제 비용에 대한 전환 결제 요청을 상기 타 펀드 소스에 대응되는 타 펀드 소스 서버로 제공하여 상기 타 펀드 소스 서버가 상기 타 펀드 소스로 상기 결제 요청 정보에 대응하는 결제 비용을 지불하도록 하는 것을 특징으로 하는 방법.
According to 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 payment server enables the fund source server to transmit the approval result information to the fund source server or to support the payment result information to be transmitted to the fund source server through another device linked to the payment payment server. By providing a conversion payment request for payment costs corresponding to payment request information to another fund source server corresponding to the other fund source, the other fund source server pays the payment cost corresponding to the payment request information to the other fund source Method characterized in that to do.
제4항에 있어서,
상기 타 펀드 소스 서버에는, 상기 펀드 소스 서버에 의한 전환 결제 요청에 의해 상기 펀드 소스 서버가 사용 가능한 상기 타 펀드 소스에 대한 한도가 설정되어 있는 것을 특징으로 하는 방법.
The method of claim 4,
The method of the other fund source server, characterized in that a limit is set for the other fund source that the fund source server can use by a conversion payment request by the fund source server.
삭제delete 블록체인 기반의 결제를 수행하는 지급 결제 서버에 있어서,
사용자의 결제 수단에 대응되는 결제 수단 토큰 아이디, 상기 사용자를 식별하기 위한 사용자 식별 정보, 상기 사용자의 사용자 단말에 설치된 펀드 소스 앱에 대응되는 푸시 토큰 아이디, 상기 사용자의 퍼블릭 키, 및 상기 결제 수단에 대응되는 펀드 소스를 식별하기 위한 펀드 소스 식별 아이디를 포함하는 지급 수단 정보가 블록체인에 등록된 상태에서, 서비스 제공 단말로부터 사용자 단말의 구매 및 지불 정보에 대응하는 결제 요청 정보 - 상기 결제 요청 정보는 상기 사용자 식별 정보, 상기 결제 수단 토큰 아이디, 및 결제 정보 중 적어도 하나 이상을 포함함 - 를 획득하는 통신부; 및
상기 통신부로부터 상기 결제 요청 정보가 획득되면, 상기 결제 요청 정보에 포함된 상기 사용자 식별 정보에 대응하는 상기 푸시 토큰 아이디를 상기 블록체인으로부터 획득하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 푸시 토큰 아이디를 상기 블록체인으로부터 획득하도록 지원하고, 상기 블록체인으로부터 획득된 상기 푸시 토큰 아이디와 서명 요청 정보를 상기 사용자 단말로 전송하거나 상기 지급 결제 서버에 연동되는 타 장치 또는 상기 서비스 제공 단말을 통해 상기 푸시 토큰 아이디와 상기 서명 요청 정보를 상기 사용자 단말로 전송하도록 지원하는 프로세스와, 상기 사용자 단말의 상기 펀드 소스 앱에 의해 전자 서명된 서명값이 획득되면, 상기 서명값을 검증하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 서명값을 검증하도록 지원하고, 상기 서명값이 유효일 경우, 상기 결제 수단 토큰 아이디에 대응하는 상기 결제 수단의 지불에 대한 검증을 하여 유효한 것으로 확인되면, 상기 결제 요청 정보에 대응하는 승인 결과 정보를 상기 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 승인 결과 정보가 상기 블록체인에 등록되도록 지원하며, 상기 승인 결과 정보를 상기 결제 수단에 대응되는 상기 펀드 소스 식별 아이디에 해당하는 펀드 소스 서버로 전송되도록 하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 승인 결과 정보가 상기 펀드 소스 서버로 전송되도록 지원함으로써 상기 펀드 소스 서버로 하여금 상기 결제 요청 정보에 대응하는 결제 비용을 지불하도록 지원하는 프로세스를 수행하는 프로세서;
를 포함하되,
상기 프로세서는,
상기 사용자 단말로부터의 지급 수단 등록 요청 정보 - 상기 지급 수단 등록 요청 정보는 사용자 정보, 상기 결제 수단, 상기 사용자의 퍼블릭 키, 및 상기 사용자 식별 정보 중 적어도 하나를 포함함 - 가 획득되면, 상기 결제 수단에 대응되는 상기 펀드 소스 서버로 상기 결제 수단과 상기 사용자 정보를 포함하는 사용자 검증 요청 정보를 전송하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 전송되도록 함으로써 상기 펀드 소스 서버로 하여금 상기 사용자 단말로부터 획득된 상기 사용자 정보와 상기 결제 수단에 대한 정보를 참조하여 상기 결제 수단 및 상기 사용자를 검증하는 프로세스와, 상기 펀드 소스 서버로부터 상기 사용자에 대한 검증 결과가 획득되면, 상기 결제 수단에 대응되는 상기 결제 수단 토큰 아이디, 상기 사용자 식별 정보, 상기 사용자의 사용자 단말에 설치된 상기 펀드 소스 앱에 대응되는 상기 푸시 토큰 아이디, 상기 사용자의 퍼블릭 키, 및 상기 결제 수단에 대응되는 펀드 소스를 식별하기 위한 상기 펀드 소스 식별 아이디를 포함하는 상기 지급 수단 정보를 상기 블록체인에 등록하거나 상기 지급 결제 서버에 연동되는 타 장치로 하여금 상기 블록체인에 등록하도록 지원하는 프로세스를 더 수행하는 것을 특징으로 하는 지급 결제 서버.
In the payment and payment server for performing blockchain-based payment,
The payment method token ID corresponding to the user's payment method, the user identification information for identifying the user, the push token ID corresponding to the fund source app installed in the user terminal of the user, the user's public key, and the payment method Payment request information corresponding to the purchase and payment information of the user terminal from the service provision terminal while payment means information including the fund source identification ID for identifying the corresponding fund source is registered in the blockchain-the payment request information is A communication unit acquiring at least one of the user identification information, the payment method token ID, and payment information; And
When the payment request information is obtained from the communication unit, the push token ID corresponding to the user identification information included in the payment request information is obtained from the blockchain or through another device interworking with the payment server. Support the ID to be obtained from the blockchain, and transmit the push token ID and signature request information obtained from the blockchain to the user terminal or push through the other device or the service providing terminal interlocked with the payment server A process for supporting transmission of a token ID and the signature request information to the user terminal, and when a signature value electronically signed by the fund source app of the user terminal is obtained, verify the signature value or interwork with the payment server Be reminded through other devices Support for verifying the signature value, and if the signature value is valid, verify the payment of the payment means corresponding to the payment method token ID, and if it is confirmed to be valid, the approval result information corresponding to the payment request information is recalled. A fund corresponding to the fund source identification ID corresponding to the payment means, supporting the approval result information to be registered in the blockchain through another device registered in the blockchain or linked to the payment server. Support the fund source server to pay the payment cost corresponding to the payment request information by supporting the transmission to the source server or transmitting the approval result information to the fund source server through another device linked to the payment server. A processor to perform the process;
Including,
The processor,
When 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 user's public key, and the user identification information, is obtained, the payment means 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 or transmitting it through another device linked to the payment server. A process of verifying the payment means and the user with reference to the user information and information about the payment method, and when the verification result for the user is obtained from the fund source server, the payment method corresponding to the payment method Token ID, the user identification information, The payment means information including the push token ID corresponding to the fund source app installed on the user terminal of the user, the public key of the user, and the fund source identification ID for identifying a fund source corresponding to the payment method Payment processing server characterized in that it further performs the process of registering another blockchain, or other devices linked to the payment server to register on the blockchain.
제7항에 있어서,
상기 프로세서는,
상기 서명 요청 정보에, 상기 결제 정보 또는 검증 수단값을 포함하여 상기 사용자 단말로 하여금 상기 사용자의 프라이빗키를 이용하여 상기 결제 정보 또는 상기 검증 수단값을 서명하도록 요청하며,
상기 블록체인에 등록된 상기 사용자의 퍼블릭 키를 이용하여 상기 서명값으로부터 상기 결제 정보 또는 상기 검증 수단값을 추출하며, 상기 서명값으로부터 추출된 상기 결제 정보 또는 상기 검증 수단값이 상기 서명 요청 정보에 포함된 상기 결제 정보 또는 상기 검증 수단값과 일치하는지를 확인하여 상기 서명값의 유효 여부를 판단하는 것을 특징으로 하는 지급 결제 서버.
The method of claim 7,
The processor,
Request the user terminal to sign the payment information or the verification means value 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 blockchain, and the payment information or the verification means value extracted from the signature value is added to the signature request information. Payment server, characterized in that to determine whether the validity of the signature value by checking whether the value of the included payment information or the verification means.
제7항에 있어서,
상기 사용자 식별 정보는,
상기 사용자의 식별을 위하여 사용자 별로 주어지는 고유 정보로서, 사용자 아이디, 주민번호, 사용자 단말 아이디, 사용자 단말의 아이피 주소, 사용자 단말의 MAC 어드레스, 전화번호, 및 이들 각각의 해시값 중 적어도 하나를 포함하는 것을 특징으로 하는 지급 결제 서버.
The method of claim 7,
The user identification information,
As the unique information given for each user for identification of the user, including at least one of a user ID, social security number, user terminal ID, IP address of the user terminal, MAC address of the user terminal, phone number, and hash values of each of them Payment payment server, characterized in that.
제7항에 있어서,
상기 결제 정보가 상기 결제 수단 토큰 아이디에 대응되는 상기 결제 수단에 대응되는 상기 펀드 소스가 아닌 타 펀드 소스에 의한 결제 요청일 경우,
상기 프로세서는,
상기 승인 결과 정보를 상기 펀드 소스 서버로 전송하거나 상기 지급 결제 서버에 연동되는 타 장치를 통해 상기 승인 결과 정보가 상기 펀드 소스 서버로 전송되도록 지원함으로써 상기 펀드 소스 서버로 하여금 상기 결제 요청 정보에 대응하는 결제 비용에 대한 전환 결제 요청을 상기 타 펀드 소스에 대응되는 타 펀드 소스 서버로 제공하여 상기 타 펀드 소스 서버가 상기 타 펀드 소스로 상기 결제 요청 정보에 대응하는 결제 비용을 지불하도록 하는 것을 특징으로 하는 지급 결제 서버.
The method of claim 7,
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 supporting the approval result information to be transmitted to the fund source server through another device interworking with the payment settlement server, the fund source server responds to the payment request information. Providing a request for conversion payment for payment 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.
제10항에 있어서,
상기 타 펀드 소스 서버에는, 상기 펀드 소스 서버에 의한 전환 결제 요청에 의해 상기 펀드 소스 서버가 사용 가능한 상기 타 펀드 소스에 대한 한도가 설정되어 있는 것을 특징으로 하는 지급 결제 서버.
The method of claim 10,
In the other fund source server, a payment settlement server characterized in that a limit for the other fund sources that the fund source server can use is set by a conversion payment request by the fund source server.
삭제delete
KR1020180076088A 2017-12-29 2018-06-29 Method for paying based on blockchain and payment server using the same KR102075956B1 (en)

Applications Claiming Priority (2)

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

Related Child Applications (1)

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

Publications (2)

Publication Number Publication Date
KR20190082046A KR20190082046A (en) 2019-07-09
KR102075956B1 true KR102075956B1 (en) 2020-05-18

Family

ID=67261381

Family Applications (4)

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
KR1020180076089A KR102063628B1 (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
KR1020180076089A KR102063628B1 (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) KR102075956B1 (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
CN115427999A (en) * 2020-06-12 2022-12-02 维萨国际服务协会 Multifunctional user device
KR102288161B1 (en) 2020-07-29 2021-08-10 이현석 Blockchain system for distributed processing transaction asynchronously

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101780636B1 (en) * 2016-05-16 2017-09-21 주식회사 코인플러그 Method for issuing certificate information and blockchain-based server using the same

Family Cites Families (6)

* 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
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
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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101780636B1 (en) * 2016-05-16 2017-09-21 주식회사 코인플러그 Method for issuing certificate information and blockchain-based server using the same

Also Published As

Publication number Publication date
KR102063628B1 (en) 2020-01-09
KR20190082047A (en) 2019-07-09
KR20190082046A (en) 2019-07-09
KR20190084923A (en) 2019-07-17
KR20190082172A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
US20230196355A1 (en) Processing of electronic transactions
CN110612546B (en) Method and apparatus for digital asset account management
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
EP3485448B1 (en) Digital asset distribution by transaction device
KR102050276B1 (en) Method for payment based on blockchain and payment server using the same
US20170372417A1 (en) Digital asset account management
US20170372391A1 (en) Determining exchange item compliance in an exchange item marketplace network
CN109313764A (en) Tokenized system and method are carried out to the Deposit Account Number used at Payment Card receiving station
RU2679532C1 (en) System of decentralized digital settlement service
CN109478287A (en) Distribute the method for token and management tokens relationship
JP2023174862A (en) Systems and methods for blockchain-dependent operation sets
US11763297B2 (en) Systems and method for conducting and managing cryptocurrency transactions
JPWO2018087836A1 (en) Block chain trading system and block chain trading method
WO2018010009A1 (en) Processing of electronic transactions
KR102075956B1 (en) Method for paying based on blockchain and payment server using the same
KR20200096055A (en) Server and method for credit transaction using blockchain network
KR102245929B1 (en) Method of transaction charge for user of decentralized application by depositing virtual asset
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
US20240020664A1 (en) Methods and devices for utilizing a cryptocurrency backed debit card
GB2620370A (en) Securely and efficiently using tokenised VCNs on electronic devices, and in e-commerce platforms
KR20080022904A (en) System and method for operating loan management account and program recording 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