KR20200094442A - System and method for P2P payment - Google Patents

System and method for P2P payment Download PDF

Info

Publication number
KR20200094442A
KR20200094442A KR1020190011934A KR20190011934A KR20200094442A KR 20200094442 A KR20200094442 A KR 20200094442A KR 1020190011934 A KR1020190011934 A KR 1020190011934A KR 20190011934 A KR20190011934 A KR 20190011934A KR 20200094442 A KR20200094442 A KR 20200094442A
Authority
KR
South Korea
Prior art keywords
seller
payment processing
terminal
buyer
payment
Prior art date
Application number
KR1020190011934A
Other languages
Korean (ko)
Inventor
한준성
김경호
이성웅
김유수
전윤서
이진희
강은경
김인화
신진오
윤아람
최하연
Original Assignee
주식회사 하나은행
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 하나은행 filed Critical 주식회사 하나은행
Priority to KR1020190011934A priority Critical patent/KR20200094442A/en
Publication of KR20200094442A publication Critical patent/KR20200094442A/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/22Payment schemes or models
    • G06Q20/223Payment schemes or models based on the use of peer-to-peer networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
    • G06Q20/3678Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes e-cash details, e.g. blinded, divisible or detecting double spending
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • 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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/56Financial cryptography, e.g. electronic payment or e-cash
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Engineering & Computer Science (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Development Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

Provided are a P2P payment system capable of easily performing payment processing between a buyer and a seller based on a blockchain, and a method thereof. When a transaction between a seller and a buyer is concluded, a payment processing terminal, which is one of a seller terminal or a buyer terminal operating as a node of a blockchain network, sends a data block containing payment processing information to the blockchain network to request for validation. After validation is made through the blockchain network, the payment processing terminal performs payment processing according to the payment processing information, and stores transaction details related to the payment processing in a distributed ledger. Among the nodes of the blockchain network, nodes with setting authority are allowed to view blockchain data including the transaction details stored in the distributed ledger.

Description

P2P 결제 시스템 및 그 방법{System and method for P2P payment}P2P payment system and its method

본 발명은 결제 방법에 관한 것으로, 더욱 상세하게 말하자면, P2P 결제 시스템 및 그 방법에 관한 것이다. The present invention relates to a payment method, and more specifically, to a P2P payment system and method.

최근에는 간편휴대, 간편결제, 간편송금을 내세우는 지급결제 서비스가 증가되고 있다. 이러한 지급 결제 서비스도 카드사나 은행의 네트워크를 이용한다. 카드사나 은행의 네트워크는 중앙으로 집중되고 중앙에서 관리되는 특성이 있다. 신용카드 가맹점 망도 비슷한 문제를 가지고 있다. 각 카드사가 독자적인 가맹점 망을 구축하고 있으며, 특히 밴(VAN: Value-Added Network)사가 가맹점 망을 구축하면서 가맹점이 신용카드 수납으로 카드사에 지급해야 하는 가맹점수수료에 상당한 영향력을 행사하고 있다. 이러한 지급결제 서비스를 이용하는 경우에는 중개 비용이 발생한다. In recent years, payment and settlement services, such as simple mobile, simple payment, and simple remittance, are increasing. These payment and settlement services also use a network of credit card companies or banks. The network of card companies and banks is centralized and centrally managed. Credit card merchant networks have similar problems. Each card company has its own franchise network, and in particular, as a van (VAN: Value-Added Network) has established a franchise network, the franchisees have a significant influence on the franchise fees that must be paid to the card company by storing credit cards. In the case of using these payment and settlement services, there is an intermediary cost.

한편, 일반 상거래에서 물품의 구매시 현금으로 결제하는 경우, 고액의 지폐를 지불하고 소액 지폐나 동전을 거슬러 받게 된다. 이러한 거스름돈으로 받게 되는 소액 지폐나 동전은 지갑이나 주머니에 넣고 다니면서 필요할 때 사용할 정도로 효용 값어치가 크지 않고, 부피 및 무게를 많이 차지함으로써 대부분의 사람이 휴대하지 않고 서랍이나 저금통 같은 저장공간에 모아놓은 채 상당기간 활용되지 못하고 사장되는 경우가 많다.On the other hand, when payment is made in cash when purchasing goods in general commerce, a large amount of bills are paid and small bills or coins are received. The small bills or coins received by such change are not large enough to be used when needed while being carried in a purse or pocket, and occupy a lot of volume and weight, so most people do not carry them and collect them in storage spaces such as drawers or piggy banks. It is often not used for a considerable period of time, and is often killed.

또한, 사용한 금액의 현금 영수증 처리를 위하여 사용자는 현금 영수증 처리를 위한 카드를 제시하거나, 현금 영수증 처리를 위한 휴대폰 번호 등을 제시하여야 하므로, 별도의 카드를 소지하고 있어야 하거나, 또는 매번 휴대폰 번호를 제시해야 하고, 판매자는 해당 휴대폰 번호를 입력하여야 하는 번거로움이 있다. In addition, in order to process the cash receipt of the used amount, the user must present a card for processing the cash receipt or a mobile phone number for processing the cash receipt, so a separate card must be carried or the mobile phone number is presented each time There is a hassle that the seller must enter and enter the corresponding mobile phone number.

관련 선행 문헌으로는 대한민국 특허 등록번호 제1824019호에 개시된 "P2P기반의 결제 방법 및 이를 수행하기 위한 시스템"이 있다. As a related prior document, there is "P2P based payment method and system for performing the same" disclosed in Korean Patent Registration No. 1824019.

본 발명이 해결하고자 하는 과제는 블록체인을 기반으로 구매자와 판매자 사이에 간편하게 결제 처리를 수행할 수 있는 결제 시스템 및 그 방법을 제공하는 것이다. The problem to be solved by the present invention is to provide a payment system and method for easily performing payment processing between a buyer and a seller based on a blockchain.

또한, 본 발명이 해결하고자 하는 과제는 전자화된 영수증을 기반으로 구매자와 판매자가 자신의 거래 내역을 용이하게 관리할 수 있는 결제 시스템 및 그 방법을 제공하는 것이다. In addition, the problem to be solved by the present invention is to provide a payment system and a method for a buyer and a seller to easily manage their transaction history based on an electronic receipt.

본 발명의 일 실시 예에 따른 방법은 결제 방법으로서, 판매자와 구매자 사이의 거래가 체결되면, 블록체인 네트워크의 노드로 동작하는 판매자 단말 또는 구매자 단말 중 하나인 결제 처리 단말이, 결제 처리 정보를 포함하는 데이터 블록을 상기 블록체인 네트워크로 전송하여 유효성 검증을 요청하는 단계; 상기 블록체인 네트워크를 통한 유효성 검증이 이루어진 다음에 상기 결제 처리 단말이, 상기 결제 처리 정보에 따라 결제 처리를 수행하는 단계; 및 상기 결제 처리 단말이, 상기 결제 처리에 관련된 거래 내역을 분산원장에 저장하는 단계를 포함하고, 상기 블록체인 네트워크의 노드 중 설정 권한을 가지는 노드에 대해서, 상기 분산원장에 저장된 거래 내역을 포함한 블록체인 데이터의 열람이 허용된다.A method according to an embodiment of the present invention is a payment method, and when a transaction between a seller and a buyer is concluded, a payment processing terminal, which is one of a seller terminal or a buyer terminal operating as a node of the blockchain network, includes payment processing information. Requesting validation by sending a data block to the blockchain network; Performing a payment processing according to the payment processing information by the payment processing terminal after validation is performed through the blockchain network; And storing, by the payment processing terminal, transaction details related to the payment processing in a distributed ledger, for nodes having a setting authority among nodes of the blockchain network, blocks including transaction details stored in the distributed ledger. Viewing of chain data is allowed.

상기 결제 방법은, 상기 결제 처리 단말이 상기 거래 내역을 토대로 현금 영수증을 포함하는 데이터 블록을 생성하여 상기 블록체인 네트워크로 유효성 검증을 요청하는 단계; 및 상기 결제 처리 단말이, 상기 블록체인 네트워크를 통한 유효성 검증이 이루어진 다음에 상기 현금 영수증을 분산원장에 저장하는 단계를 더 포함할 수 있다. The payment method, the payment processing terminal generating a data block including a cash receipt on the basis of the transaction history, requesting validation to the blockchain network; And after the payment processing terminal is validated through the blockchain network, storing the cash receipt in a distributed ledger.

상기 결제 방법은, 상기 블록체인 네트워크의 노드로 동작하는 결제 관리 서버가 상기 분산원장에 저장된 거래 내역 및 현금 영수증을 토대로 상기 구매자의 소비 패턴을 분석하고, 분석 결과에 따른 금융 서비스를 제공하는 단계를 더 포함할 수 있다. In the payment method, the payment management server operating as a node of the blockchain network analyzes the consumption pattern of the buyer based on the transaction history and cash receipt stored in the distributed ledger, and provides a financial service according to the analysis result. It may further include.

상기 결제 방법은, 상기 블록체인 네트워크의 노드로 동작하는 결제 관리 서버가 상기 분산원장에 저장된 거래 내역 및 현금 영수증을 토대로 상기 판매자의 전자 매출 장부를 생성하여 상기 판매자의 단말로 제공하는 단계를 더 포함할 수 있다. The payment method further includes a payment management server operating as a node of the blockchain network, generating an electronic sales ledger of the seller based on the transaction history and cash receipt stored in the distributed ledger, and providing it to the seller's terminal. can do.

상기 결제 방법은, 상기 블록체인 네트워크의 노드로 동작하는 국세청 서버가, 상기 분산원장에 저장된 거래 내역 및 현금 영수증을 토대로 상기 판매자와 상기 구매자에 대한 세제 관리를 수행하는 단계를 더 포함할 수 있다.The payment method may further include the step of performing a tax management for the seller and the buyer based on the transaction history and cash receipt stored in the distributed ledger by the IRS server acting as a node of the blockchain network.

상기 결제 처리를 수행하는 단계는, 상기 구매자의 전자 지갑에 부여된 디지털 화폐 중 상기 거래에 따른 금액에 대응하는 디지털 화폐를 상기 판매자의 전자 지갑에 이체 처리하는 단계를 포함할 수 있다. The step of performing the payment processing may include the step of transferring the digital currency corresponding to the amount of the transaction to the electronic wallet of the seller among digital currencies granted to the electronic wallet of the buyer.

상기 결제 처리 단말이 상기 구매자 단말일 수 있다. 이 경우, 상기 유효성 검증을 요청하는 단계는, 상기 구매자 단말이 상기 판매자가 제공하는 코드를 스캔하는 것에 의해 획득되는 판매자 계정 및 구매 금액과, 구매자의 계정을 포함하는 상기 결제 처리 정보를 포함하는 데이터블록을 생성하고 상기 데이터 블록을 상기 블록체인 네트워크로 전파하여 유효성 검증을 요청하는 단계를 포함할 수 있다. The payment processing terminal may be the buyer terminal. In this case, the step of requesting the validation includes data including the seller account and the purchase amount obtained by the buyer terminal scanning the code provided by the seller, and the payment processing information including the buyer's account. And generating a block and propagating the data block to the blockchain network to request validation.

상기 결제 처리 단말이 상기 판매자 단말일 수 있다. 이 경우, 상기 유효성 검증을 요청하는 단계는, 상기 판매자 단말이 상기 구매자 단말과의 근거리 통신을 통해 획득되는 판매자 계정과, 그리고 구매 금액 및 구매자의 계정을 포함하는 상기 결제 처리 정보를 포함하는 데이터블록을 생성하고 상기 데이터 블록을 상기 블록체인 네트워크로 전파하여 유효성 검증을 요청하는 단계를 포함할 수 있다. The payment processing terminal may be the seller terminal. In this case, the step of requesting the validation is a data block including the seller account obtained by the seller terminal through short-range communication with the buyer terminal, and the payment processing information including the purchase amount and the buyer's account. And generating and propagating the data block to the blockchain network to request validation.

본 발명의 다른 실시 예에 따른 결제 처리 단말은, 블록체인 네트워크로 데이터 블록을 송신하고, 상기 데이터 블록에 대한 인증 정보를 수신하도록 구성되는 통신부; 상기 블록체인 네트워크의 분산원장을 저장하는 메모리; 및 판매자와 구매자 사이의 거래가 체결되면, 결제 처리 정보를 포함하는 데이터 블록을 생성하고 상기 통신부를 통해 상기 블록체인 네트워크로 전송하여 유효성 검증을 요청하며, 유효성 검증이 이루어지면 상기 결제 처리 정보에 따라 결제 처리를 수행하고, 상기 결제 처리에 관련된 거래 내역을 메모리에 저장하도록 구성되는 프로세서를 포함하고, 상기 블록체인 네트워크의 노드 중 설정 권한을 가지는 노드에 대해서, 상기 메모리에 저장된 거래 내역을 포함한 블록체인 데이터의 열람이 허용된다. A payment processing terminal according to another embodiment of the present invention includes: a communication unit configured to transmit a data block to a blockchain network and receive authentication information for the data block; A memory that stores a distributed ledger of the blockchain network; And when a transaction between the seller and the buyer is concluded, a data block including payment processing information is generated and transmitted to the blockchain network through the communication unit to request validation, and when validation is performed, payment is made according to the payment processing information Blockchain data, including a processor configured to perform processing and store transaction details related to the payment processing in a memory, and for a node having a setting authority among nodes of the blockchain network, the transaction data stored in the memory Reading of is allowed.

상기 프로세서는 추가로, 상기 거래 내역을 토대로 현금 영수증을 포함하는 데이터 블록을 생성하고 상기 통신부를 통해 상기 블록체인 네트워크로 유효성 검증을 요청하고, 상기 블록체인 네트워크를 통한 유효성 검증이 이루어지면 상기 현금 영수증을 상기 메모리에 저장하도록 구성될 수 있다.The processor further generates a data block including a cash receipt based on the transaction details, requests validation through the communication unit to the blockchain network, and validates the cash through the blockchain network. It may be configured to store in the memory.

금융 기관의 결제 관리 서버와 국세청 서버가 상기 블록체인 네트워크의 노드로 동작하여 상기 유효성 검증의 주체로 동작하며, 상기 국세청 서버와 상기 결제 관리 서버 그리고 상기 거래에 관련된 판매자 단말 및 구매자 단말에 대해서만, 상기 메모리에 저장된 해당 거래 내역에 대한 열람이 허용될 수 있으며, 상기 거래 내역은 구매자의 계정, 이체 처리되는 금액, 판매자의 계정, 결제처리일, 구매자 및 판매자 관련 정보를 포함할 수 있다. The payment management server and the IRS server of a financial institution operate as a node of the blockchain network and operate as a subject of validation, and only for the IRS server, the payment management server, and the seller terminal and the buyer terminal related to the transaction, the The transaction history stored in the memory may be allowed to be viewed, and the transaction history may include a buyer's account, a transfer amount, a seller's account, a payment processing date, and information related to the buyer and seller.

상기 프로세서는, 상기 유효성 검증 요청에 따라 상기 통신부를 통해 상기 블록체인 네트워크로부터 수신되는 해당 데이터 블록에 대한 인증 정보들 중 인증 성공의 수가 미리 설정된 값보다 많은 경우에, 상기 블록체인 네트워크를 통한 유효성 검증이 이루어진 것으로 판단하도록 구성될 수 있다. The processor, when the number of authentication successes among the authentication information for the corresponding data block received from the blockchain network through the communication unit according to the validation request is greater than a preset value, validates through the blockchain network It can be configured to judge that this has been done.

본 발명의 실시 예에 따르면, 블록체인 기반으로 구매자와 판매자 사이에 P2P 기반의 결제가 이루어짐으로써, 결제의 중개에 따라 발생되는 수수료를 제거할 수 있다. According to an embodiment of the present invention, by making a P2P-based payment between a buyer and a seller on a blockchain basis, it is possible to remove a fee incurred according to the brokerage of payment.

또한, 구매자와 판매자가 블록체인 네트워크를 통해 공동으로 거래에 관련된 정보를 기록하고 검증하고 그리고 보관함으로써, 거래 입증을 위한 별도의 공인 기관이 없어도 신뢰성 확보가 가능하며, 거래 내역을 용이하게 관리할 수 있다. In addition, buyers and sellers can record, verify, and store information related to transactions jointly through a blockchain network, so that reliability can be secured without a separate accredited institution for verifying transactions, and transaction history can be easily managed. have.

또한, 구매자와 판매자의 결제 거래에 따른 전자화된 영수증이 발행됨으로써, 국세청으로 별도로 전자 영수증 발행을 요청하는 과정을 수행하지 않아도 되며, 가맹점의 매출 신고도 자동으로 이루어진다. In addition, by issuing an electronic receipt according to the payment transaction between the buyer and the seller, there is no need to perform a process of separately requesting an electronic receipt to the National Tax Service, and the sales report of the merchant is automatically made.

또한, 구매자는 전자 영수증을 기반으로 자신의 소비 패턴을 확인할 수 있으며, 은행 등의 금융 기관은 구매자의 소비 패턴을 토대로 맞춤형 소비 전략 및 금융 서비스를 제공할 수 있다. In addition, buyers can check their consumption patterns based on electronic receipts, and financial institutions such as banks can provide customized consumption strategies and financial services based on buyers' consumption patterns.

도 1은 본 발명의 실시 예에 따른 P2P 결제 시스템의 네트워크 환경을 나타낸 도이다.
도 2는 본 발명의 실시 예에 따른 블록체인 기반으로 P2P 결제가 수행되는 흐름을 나타낸 개념도이다.
도 3은 본 발명의 실시 예에 따른 구매자 단말의 구조도이다.
도 4는 본 발명의 실시 예에 따른 판매자 단말의 구조도이다.
도 5는 본 발명의 실시 예에 따른 P2P 결제 방법의 흐름도이다.
도 6은 본 발명의 실시 예에 따른 결제 처리 단말의 동작 흐름도이다.
1 is a diagram illustrating a network environment of a P2P payment system according to an embodiment of the present invention.
2 is a conceptual diagram illustrating a flow in which P2P payment is performed based on a blockchain according to an embodiment of the present invention.
3 is a structural diagram of a buyer terminal according to an embodiment of the present invention.
4 is a structural diagram of a seller terminal according to an embodiment of the present invention.
5 is a flowchart of a P2P payment method according to an embodiment of the present invention.
6 is an operation flowchart of a payment processing terminal according to an embodiment of the present invention.

아래에서는 첨부한 도면을 참고로 하여 본 발명의 실시 예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 여기에서 설명하는 실시 예에 한정되지 않는다. 그리고 도면에서 본 발명을 명확하게 설명하기 위해서 설명과 관계없는 부분은 생략하였으며, 명세서 전체를 통하여 유사한 부분에 대해서는 유사한 도면 부호를 붙였다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art to which the present invention pertains may easily practice. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. In addition, in order to clearly describe the present invention in the drawings, parts irrelevant to the description are omitted, and like reference numerals are assigned to similar parts throughout the specification.

명세서 전체에서, 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성 요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다. Throughout the specification, when a part “includes” a certain component, it means that the component may further include other components, not to exclude other components, unless otherwise specified.

본 명세서에서 단수로 기재된 표현은 "하나" 또는 "단일" 등의 명시적인 표현을 사용하지 않은 이상, 단수 또는 복수로 해석될 수 있다.In the present specification, expressions expressed in singular may be interpreted as singular or plural unless explicit expressions such as “one” or “single” are used.

또한, 본 발명의 실시 예에서 사용되는 제 1, 제 2 등과 같이 서수를 포함하는 용어는 구성 요소들을 설명하는데 사용될 수 있지만, 구성 요소들은 용어들에 의해 한정되어서는 안 된다. 용어들은 하나의 구성 요소를 다른 구성 요소로부터 구별하는 목적으로만 사용된다. 예를 들어, 본 발명의 권리 범위를 벗어나지 않으면서 제 1 구성 요소는 제 2 구성 요소로 명명될 수 있고, 유사하게 제 2 구성 요소도 제 1 구성 요소로 명명될 수 있다.Further, terms including ordinal numbers such as first and second used in the embodiment of the present invention may be used to describe elements, but the elements should not be limited by terms. The terms are only used to distinguish one component from other components. For example, the first component may be referred to as a second component without departing from the scope of the present invention, and similarly, the second component may be referred to as a first component.

또한, 명세서에 기재된 "…부", "…기", "…모듈" 등의 용어는 적어도 하나의 기능이나 동작을 처리하는 단위를 의미하며, 이는 하드웨어나 소프트웨어 또는 하드웨어 및 소프트웨어의 결합으로 구현될 수 있다.In addition, terms such as “…unit”, “…group”, “…module” described in the specification mean a unit that processes at least one function or operation, which may be implemented by hardware or software or a combination of hardware and software. Can.

이하, 도면을 참조하여 본 발명의 실시 예에 따른 P2P 결제 시스템 및 그 방법에 대하여 설명한다. Hereinafter, a P2P payment system and a method according to an embodiment of the present invention will be described with reference to the drawings.

도 1은 본 발명의 실시 예에 따른 P2P 결제 시스템의 네트워크 환경을 나타낸 도이다. 1 is a diagram illustrating a network environment of a P2P payment system according to an embodiment of the present invention.

본 발명의 실시 예에 따른 P2P 결제 시스템(100)은 블록체인 네트워크(200)에 연결되어 있는 결제 관리 서버(10), 국세청 서버(20), 그리고 구매자 단말(30) 및 판매자 단말(40)을 포함한다. The P2P payment system 100 according to an embodiment of the present invention includes a payment management server 10, an IRS server 20, and a buyer terminal 30 and a seller terminal 40 connected to the blockchain network 200. Includes.

블록체인 네트워크(200)는 블록체인 알고리즘에 따라 동작하는 복수의 노드로 구성된 P2P 구조의 네트워크를 나타낸다. 노드는 블록체인 네트워크를 구성하고 블록체인 알고리즘에 기초하여 블록체인 데이터를 유지하고 관리하는 주체를 나타낸다. 노드는 단일 컴퓨팅 장치로 구현될 수 있으나, 가상 머신(virtual machine) 등으로 구현될 수도 있다. The blockchain network 200 represents a P2P structure network composed of a plurality of nodes operating according to the blockchain algorithm. Nodes represent the entities that make up the blockchain network and maintain and manage the blockchain data based on the blockchain algorithm. The node may be implemented as a single computing device, but may also be implemented as a virtual machine.

구매자 단말(30)과 판매자 단말(40)은 블록체인 네트워크(200)와 연동하여 P2P 결제를 수행하는 컴퓨팅 장치이다. 구매자 단말(30)은 구매와 관련된 구매자 관련 신호를 전송하며, 구매와 관련된 정보를 구매자에게 표시하여 주는 컴퓨팅 장치이다. 구매자 단말(30)은 휴대 전화, 스마트폰, 태블릿 등을 포함할 수 있으나, 이에 한정되지 않으며 무선 통신 기능을 가진 휴대용 게임기, 디지털 카메라, 개인 네비게이션 등의 모든 컴퓨팅 장치를 포함할 수 있다. The buyer terminal 30 and the seller terminal 40 are computing devices that perform P2P payment in conjunction with the blockchain network 200. The purchaser terminal 30 is a computing device that transmits a purchaser-related signal related to a purchase and displays information related to the purchaser to the purchaser. The purchaser terminal 30 may include a mobile phone, a smart phone, a tablet, etc., but is not limited thereto, and may include any computing device such as a portable game machine having a wireless communication function, a digital camera, and personal navigation.

판매자 단말(40)은 판매와 관련된 판매자 관련 신호를 전송하며, 판매에 관련된 정보를 판매자에게 표시하여 주는 컴퓨팅 장치이다. 판매자 단말(40)은 PC, 휴대 전화, 스마트폰, 태블릿 등을 포함할 수 있으나, 이에 한정되지 않으며 유선 또는 무선 통신 기능을 가진 모든 컴퓨팅 장치를 포함할 수 있다. The seller terminal 40 is a computing device that transmits a seller-related signal related to the sale and displays information related to the sale to the seller. The seller terminal 40 may include a PC, a mobile phone, a smartphone, a tablet, and the like, but is not limited thereto, and may include any computing device having a wired or wireless communication function.

결제 관리 서버(10)는 블록체인 네트워크(200)와 연동하여 결제 가능한 전자 지갑을 제공하여 판매자와 구매자 사이의 결제가 이루어지도록 하며, 블록체인 네트워크(200)를 통해 결제에 관련된 데이터를 수집하고, 이를 토대로 맞춤형 금용 서비스를 제공하는 컴퓨팅 장치이다. 이러한 결제 관리 서버(10)는 기존 은행이나 금융회사가 보유한 서버일 수 있으며, 또는 별도로 구축한 서버일 수 있다. The payment management server 10 provides an electronic wallet capable of payment in conjunction with the blockchain network 200 to enable payment between the seller and the buyer, and collects data related to payment through the blockchain network 200, Based on this, it is a computing device that provides customized financial services. The payment management server 10 may be a server owned by an existing bank or a financial company, or a server constructed separately.

국세청 서버(20)는 블록체인 네트워크(200)와 연동하여 결제의 감시 노드로서 기능하여 구매자와 판매자 사이의 P2P 거래를 관리하며, P2P 거래에 따른 영수증 및 판매자 매출액을 실시간으로 확정하는 컴퓨팅 장치이다. 이러한 국세청 서버(20)는 국세청에서 보유한 서버일 수 있으며, 또는 별도로 구축한 서버일 수 있다. The IRS server 20 functions as a monitoring node for payment in conjunction with the blockchain network 200, manages P2P transactions between buyers and sellers, and is a computing device that confirms receipts and seller sales according to P2P transactions in real time. The IRS server 20 may be a server held by the IRS, or may be a separately constructed server.

결제 관리 서버(10) 및 국세청 서버(20)는 서버, 데스크톱(desktop), 랩탑(laptop) 등의 컴퓨팅 장치이며, 이에 국한되는 것은 아니며 연산 수단 및 통신 수단이 구비된 모든 종류의 장치를 포함할 수 있다. The payment management server 10 and the IRS server 20 are computing devices such as a server, a desktop, and a laptop, and are not limited thereto, and may include all kinds of devices equipped with computing means and communication means. Can.

한편, 블록체인 네트워크(200)의 노드는 발생되는 거래 처리 요청에 응답하여 해당 거래의 유효성을 검증하고, 검증된 거래를 신규 블록에 기록하며, 블록체인 네트워크(200) 상에 전파한다. 각각의 노드는 동일한 블록체인 데이터를 유지한다. 이러한 블록체인 네트워크(200)는 퍼미션 기반 블록체인 네트워크로 구현될 수도 있다. 즉, 블록체인 네트워크(200)는 퍼미션이 검증된 참여자(예, 사용자, 노드)만이 참여할 수 있는 제한된 네트워크일 수 있으며, 이 경우, 불특정 노드의 참여 및 허가되지 않은 사용자의 거래 요청은 제한될 수 있다. Meanwhile, the node of the blockchain network 200 verifies the validity of the corresponding transaction in response to a request for processing the generated transaction, records the verified transaction in a new block, and propagates it on the blockchain network 200. Each node maintains the same blockchain data. The blockchain network 200 may be implemented as a permission-based blockchain network. That is, the blockchain network 200 may be a limited network where only participants (eg, users, nodes) whose permissions have been verified can participate, and in this case, participation of unspecified nodes and transaction requests of unauthorized users may be restricted. have.

본 발명의 실시 예에 따른 결제 관리 서버(10)와 국세청 서버(20) 그리고 구매자 단말(30) 및 판매자 단말(40)은 이러한 블록체인 네트워크(200)를 구성하는 하나의 노드로 구현될 수 있다. 따라서, 결제 관리 서버(10)와 국세청 서버(20) 그리고 구매자 단말(30) 및 판매자 단말(40)은 블록체인 네트워크(200) 상에서 이루어지는 거래 요청에 대한 유효성을 검증하는 합의 주체로서 동작하며, 블록체인 네트워크를 통해 분산 합의된, 전부 또는 일부의 블록을 저장하는 분산원장인 블록체인 데이터베이스(Blockchain Database)를 포함한다. 즉, 블록체인 네트워크를 통해 전파된 다른 노드의 데이터 블록을 저장한다.The payment management server 10, the IRS server 20, the buyer terminal 30, and the seller terminal 40 according to an embodiment of the present invention may be implemented as one node constituting such a blockchain network 200. . Accordingly, the payment management server 10, the IRS server 20, and the buyer terminal 30 and the seller terminal 40 operate as a consensus agent that verifies the validity of the transaction request made on the blockchain network 200, and blocks It includes a blockchain database that is a distributed ledger that stores all or part of the blocks that are distributed and agreed through a chain network. That is, it stores data blocks of other nodes propagated through the blockchain network.

도 2는 본 발명의 실시 예에 따른 P2P 결제가 수행되는 흐름을 나타낸 개념도이다. 2 is a conceptual diagram illustrating a flow in which P2P payment is performed according to an embodiment of the present invention.

구매자와 판매자 사이에 거래가 이루어지는 경우, 도 2에서와 같이, 구매자 단말(30)과 판매자 단말(40)은 P2P 결제를 수행한다(①). 구매자 단말(30)과 판매자 단말(40)은 전자 지갑을 보유하고 있으며, 전자 지갑에는 디지털 화폐가 포함되어 있다. 디지털 화폐는 현금에 대응하는 디지털 화폐일 수 있으며, 또는 블록체인 네트워크에서 발행되는 토큰일 수 있다. 전자 지갑은 선불 전자 지급 수단에 대응하는 기능을 수행할 수 있다. P2P 결제에 따라 구매자 단말(30)의 전자 지갑의 구매 금액에 대응하는 디지털 화폐가 판매자 단말(40)의 전자 지갑으로 제공되는 이체 처리가 이루어진다. 여기서 이체 처리는 구매자의 전자 지갑의 디지털 화폐의 값을 이체되는 금액만큼 차감하고, 판매자의 전자 지갑의 디지털 화폐의 값을 이체받은 금액만큼 증가하는 처리를 포함한다. When a transaction is made between the buyer and the seller, as shown in FIG. 2, the buyer terminal 30 and the seller terminal 40 perform P2P payment (①). The purchaser terminal 30 and the seller terminal 40 have an electronic wallet, and the electronic wallet includes digital money. The digital currency may be a digital currency corresponding to cash, or it may be a token issued from a blockchain network. The electronic wallet can perform a function corresponding to the prepaid electronic payment means. A digital currency corresponding to the purchase amount of the electronic wallet of the purchaser terminal 30 is provided to the electronic wallet of the seller terminal 40 according to the P2P payment. Here, the transfer processing includes a process of subtracting the value of the digital currency of the buyer's electronic wallet by the amount to be transferred, and increasing the value of the digital currency of the seller's electronic wallet by the amount received.

구매자가 구매자 단말(30)에 탑재된 전자 지갑 어플리케이션을 이용하여 판매자에게 판매한 항목에 대한 대금을 결제할 수 있다. 예를 들어, 판매자 단말(40)과의 연동 없이, 구매자 단말(30)이 판매자가 제공하는 코드(예를 들어, QR 코드나 바코드)를 스캔하는 것에 의해, 판매자 계정 및 구매 금액을 포함하는 정보를 획득하고, 획득된 정보를 토대로 결제 처리 정보를 포함하는 데이터블록을 생성하고 이를 블록체인 네트워크(200)로 전파하여 유효성 검증을 요청하고, 유효성 검증이 이루어진 경우에 결제 처리 정보를 분산 원장에 저장한다. The purchaser can pay for the items sold to the seller using the electronic wallet application mounted on the purchaser terminal 30. For example, without interworking with the seller terminal 40, the buyer terminal 30 scans a code (for example, a QR code or barcode) provided by the seller, and information including the seller account and the purchase amount To obtain, create a data block containing payment processing information based on the obtained information, propagate it to the blockchain network 200 to request validation, and store the payment processing information in a distributed ledger when validation is performed do.

이와는 달리, 판매자는 판매자 단말(40)에 탑재된 전자 지갑 어플리케이션을 이용하여 구매자로부터 구매한 항목에 대한 대금을 결제할 수 있다. 예를 들어, 판매자 단말(40)과 구매자 단말(30) 사이의 근거리 통신 기능(예: NFC(near field communication) 기능)을 통해 판매자 단말(40)이 구매자 계정을 포함하는 정보를 획득하고, 획득된 정보를 토대로 결제 처리 정보를 포함하는 데이터블록을 생성하고 이를 블록체인 네트워크(200)로 전파하여 유효성 검증을 요청하고, 유효성 검증이 이루어진 경우에 결제 처리 정보를 분산 원장에 저장한다. Alternatively, the seller can pay for the items purchased from the buyer using the electronic wallet application mounted on the seller terminal 40. For example, the seller terminal 40 acquires information including a buyer account through a short-range communication function (eg, a near field communication (NFC) function) between the seller terminal 40 and the buyer terminal 30, and acquires the information. Based on the collected information, a data block including payment processing information is generated and propagated to the blockchain network 200 to request validation, and when validation is performed, payment processing information is stored in a distributed ledger.

이와 같이, 구매자 단말(30)과 판매자 단말(40) 중 적어도 어느 하나가 P2P 결제 처리에 따른 정보를 포함하는 데이터 블록을 생성하고 블록체인 네트워크(200) 기반의 분산 합의를 통해 해당 데이터 블록을 분산원장에 저장함으로써, 별도의 중개 없이도 구매자와 판매자 사이의 결제가 이루어지며, 구매자와 판매자의 거래 내역에 대한 공유가 이루어진다. 판매자는 이러한 거래 내역과 자신의 전자 지갑을 토대로 매출 금액을 투명하게 관리할 수 있다. 한편, 거래 내역은 블록체인 네트워크(200)을 구성하는 모든 노드에 의해 공유될 수도 있으나, 보안성을 위해 설정된 노드 예를 들어, 국세청 서버(20) 및 결제 관리 서버(10) 그리고 거래 당사자들(해당 거래의 판매자 및 구매자)의 단말에 의한 열람만 허용될 수 있다. As such, at least one of the purchaser terminal 30 and the seller terminal 40 generates a data block including information according to P2P payment processing and distributes the data block through a distributed agreement based on the blockchain network 200 By storing in the ledger, payment is made between the buyer and the seller without any intermediary, and the transaction details of the buyer and the seller are shared. The seller can transparently manage the amount of sales based on the transaction history and his electronic wallet. On the other hand, the transaction history may be shared by all nodes constituting the blockchain network 200, but nodes set for security, for example, the IRS server 20 and the payment management server 10 and the trading parties ( Only viewing by the terminal of the seller and the buyer of the transaction can be permitted.

판매자와 구매자 사이의 P2P 결제 이후에, 결제 관리 서버(10)는 전자 매출 장부를 판매자 단말(40)로 제공할 수 있다(②). 결제 관리 서버(10)는 블록체인 네트워크(200)의 분산 원장에 저장된 판매자와 구매자 사이의 거래 내역을 토대로 판매자의 매출 내역을 포함하는 전자 매출 장부를 생성하여 판매자 단말로(40)로 제공한다. 이러한 전자 매출 장부에 대해서도 블록체인 네트워크(200)를 통한 유효성 검증이 수행될 수 있다. After the P2P payment between the seller and the buyer, the payment management server 10 may provide the electronic sales ledger to the seller terminal 40 (②). The payment management server 10 generates an electronic sales ledger including the seller's sales history based on the transaction history between the seller and the buyer stored in the distributed ledger of the blockchain network 200 and provides it to the seller terminal 40. Validation through the blockchain network 200 may also be performed on the electronic sales ledger.

판매자 단말(40)은 별도의 매출액을 증빙하기 위한 서류를 작성하지 않아도, 결제 관리 서버(10)로부터 제공되는 전자 매출 장부를 매출액을 증빙하는 서류로서 국세청 서버(20)로 제공하거나, 전자 매출 장부를 토대로 매출액을 증빙하는 서류를 자동으로 생성하여 국세청 서버(20)로 제공한다(③). 이러한 매출액을 증빙하는 서류에 대해서도 블록체인 네트워크(200)를 통한 유효성 검증이 수행될 수 있다. The seller terminal 40 provides the electronic sales ledger provided from the payment management server 10 to the IRS server 20, or provides the electronic sales ledger, without having to prepare documents to prove separate sales. Based on this, documents that prove sales are automatically generated and provided to the IRS server 20 (③). Validation through the blockchain network 200 may also be performed on documents proving such sales.

한편, 블록체인 네트워크(200)의 분산 원장에 저장된 판매자와 구매자 사이의 거래 내역을 토대로 구매자의 현금 영수증이 국세청 서버(20)로 제공됨으로써, 현금 영수증의 자동 등록이 이루어진다(④). 구매자와 판매자의 P2P 결제에 따라 판매자 단말(40)이 거래 내역을 토대로 현금 영수증을 생성하여 분산원장에 저장할 수 있으며, 또는 구매자 단말(30)이 거래 내역을 토대로 현금 영수증을 생성하여 분산원장에 저장할 수 있다. 이러한 현금 영수증에 대해서도 블록체인 네트워크(200)를 통한 유효성 검증이 수행될 수 있다. On the other hand, the cash receipt of the buyer is provided to the IRS server 20 based on the transaction history between the seller and the buyer stored in the distributed ledger of the blockchain network 200, thereby automatically registering the cash receipt (④). Depending on the P2P payment between the buyer and the seller, the seller terminal 40 can generate a cash receipt based on the transaction history and store it in the distributed ledger, or the buyer terminal 30 generates a cash receipt based on the transaction history and store it in the distributed ledger. Can. Validation through the blockchain network 200 may also be performed for the cash receipt.

국세청 서버(20)는 블록체인 네트워크(200)를 통해 판매자와 구매자 사이의 거래에 대한 유효성을 검증하는 주체이면서 감시 노드로서 동작하며, 분산원장에 저장되는 정보를 토대로 세제 관리를 수행할 수 있다. 예를 들어, 판매자의 매출액 증빙 서류와 구매자의 현금 영수증 등록 상황을 기반으로 다양한 정책을 설정하고 집행할 수 있다(⑤). The IRS server 20 acts as a monitoring node and a subject that verifies the validity of transactions between sellers and buyers through the blockchain network 200, and can perform tax management based on information stored in the distributed ledger. For example, various policies can be established and executed based on the seller's proof of sales documents and the buyer's cash receipt registration status (⑤).

한편, 결제 관리 서버(10)는 블록체인 네트워크(200)의 분산원장에 저장되는 구매자와 판매자의 거래 내역 및/또는 구매자의 현금 영수증 등록 상황을 기반으로, 구매자의 소비 패턴을 분석하고 그에 맞는 금융 서비스를 생성하고 이를 해당 구매자 단말로 제공할 수 있다(⑥).On the other hand, the payment management server 10 analyzes the buyer's consumption pattern based on the transaction history of the buyer and seller stored in the distributed ledger of the blockchain network 200 and/or the cash receipt registration status of the buyer and finances accordingly You can create a service and provide it to the buyer terminal (⑥).

다음에는 본 발명의 실시 예에 따른 구매자 단말 및 판매자 단말의 구조에 대해 설명한다. Next, a structure of a buyer terminal and a seller terminal according to an embodiment of the present invention will be described.

도 3은 본 발명의 실시 예에 따른 구매자 단말(30)의 구조도이다.3 is a structural diagram of a buyer terminal 30 according to an embodiment of the present invention.

첨부한 도 3에 도시된 바와 같이, 구매자 단말(30)은 통신부(31), 프로세서(32), 및 메모리(33)를 포함한다. 본 발명의 실시 예에서는 설명의 편의를 위하여 상기한 구성 요소들만을 나타내었으나, 결제 처리를 위한 다른 구성 요소들(예를 들어, 사용자와의 인터페이스 등)도 추가로 포함될 수 있다.3, the buyer terminal 30 includes a communication unit 31, a processor 32, and a memory 33. In the embodiment of the present invention, only the above-described components are shown for convenience of explanation, but other components (for example, an interface with a user, etc.) for payment processing may also be additionally included.

통신부(31)는 블록체인 네트워크(200)를 통해 구매자 단말(30)이 생성한 블록을 다른 노드들에 제공한다. 통신부(31)는 블록체인 네트워크(200)를 통해 연결된 다른 노드들로부터 블록 또는 정보를 수신하며, 또한, 다른 노드들에 제공한 블록에 대한 인증 정보를 수신한다. The communication unit 31 provides blocks generated by the buyer terminal 30 to other nodes through the blockchain network 200. The communication unit 31 receives blocks or information from other nodes connected through the blockchain network 200, and also receives authentication information for blocks provided to other nodes.

프로세서(32)는 판매자와의 거래에 따른 결제 처리 정보를 포함하는 데이터 블록을 생성한다. 결제 처리 정보는 판매자 계정, 구매 금액, 구매자 계정, 이체처리를 나타내는 정보를 포함한다. 여기서, 계정은 판매자 또는 구매자의 전자 지갑의 주소를 나타낼 수 있다. 또한, 프로세서(32)는 결제 처리 정보에 따른 거래 내역을 기반으로, 영수증을 포함하는 데이터 블록을 생성할 수 있다. 여기서 영수증은 현금 영수증에 대응하는 전자 영수증일 수 있다. 여기서 데이터 블록의 형태나 포함된 정보의 유형을 어느 하나의 형태로 한정하지 않는다. 또한, 프로세서(32)가 데이터 블록을 생성하는 방법도 다양하게 수행할 수 있으므로, 본 발명의 실시 예에서는 어느 하나의 방법으로 한정하지 않는다. The processor 32 generates a data block including payment processing information according to a transaction with the seller. Payment processing information includes information indicating a seller account, purchase amount, buyer account, and transfer processing. Here, the account may indicate the address of the seller or buyer's electronic wallet. In addition, the processor 32 may generate a data block including a receipt based on the transaction details according to payment processing information. Here, the receipt may be an electronic receipt corresponding to a cash receipt. Here, the form of the data block or the type of information included is not limited to any one form. In addition, since the method for generating the data block by the processor 32 may be performed in various ways, the embodiment of the present invention is not limited to any one method.

프로세서(32)는 또한, 생성한 데이터 블록을 통신부(31)를 통해 블록체인 네트워크(200)에 연결된 다른 노드들로 전송한다. 또한, 프로세서(32)는 통신부(31)를 통해 블록체인 네트워크(200)를 통해 연결된 설정값(예를 들어, 전체 노드의 과반수) 이상의 노드들로부터 일치한다는 인증 정보를 수신한 경우, 해당 데이터 블록을 메모리(33)에 저장한다. 즉, 블록체인 네트워크(200)를 통해 분산 합의가 이루어진 다음에, 결제 처리 정보에 따른 거래 내역, 현금 영수증 내역을 메모리(33)에 저장 및 관리한다. 거래 내역은 구매자의 계정, 이체 처리되는 금액, 판매자의 계정, 결제처리일, 구매자 및 판매자 관련 정보(예를 들어, 구매자의 주민 번호 등의 식별 정보, 판매자의 사업자 등록 번호 등의 식별 정보)를 포함할 수 있다. The processor 32 also transmits the generated data block to other nodes connected to the blockchain network 200 through the communication unit 31. In addition, when the processor 32 receives authentication information that matches from a set value (for example, a majority of all nodes) or more connected through the blockchain network 200 through the communication unit 31, the corresponding data block Is stored in the memory 33. That is, after a decentralized agreement is made through the blockchain network 200, the transaction details and cash receipt details according to payment processing information are stored and managed in the memory 33. Transaction details include the buyer's account, the amount to be transferred, the seller's account, payment processing date, and information related to the buyer and seller (for example, identification information such as the buyer's resident number, identification information such as the seller's business registration number). It can contain.

이와 같이, 블록체인 네트워크(200)의 노드들을 통한 상호 검증에 기반하여 데이터 블록이 분산 원장에 저장되도록 함으로써, 중앙 집중화된 운영 장치 없이, 신뢰성 있는 정보의 공유가 이루어진다. In this way, data blocks are stored in a distributed ledger based on mutual verification through nodes of the blockchain network 200, thereby enabling reliable information sharing without a centralized operating device.

또한, 프로세서(32)는 통신부(31)를 통해 블록체인 네트워크(200)를 통해 연결된 다른 노드들로부터 데이터 블록이 수신되면, 해당 데이터 블록에 포함된 검증 코드와 직접 생성한 검증 코드의 일치 여부에 따라 인증 정보를 생성하고, 이를 통신부(31)를 통해 블록체인 네트워크 상의 다른 노드들로 전파할 수 있다. In addition, when the data block is received from other nodes connected through the blockchain network 200 through the communication unit 31, the processor 32 determines whether the verification code included in the corresponding data block matches the verification code generated directly. Accordingly, authentication information can be generated and propagated to other nodes on the blockchain network through the communication unit 31.

메모리(33)는 분산 원장인 데이터 블록을 저장 및 관리한다. 메모리(33)는 전체 블록체인 네트워크를 통해 분산 합의된, 전부 또는 일부의 블록을 저장하는 블록 체인 데이터베이스로 기능할 수 있다. 데이터 블록은 발생 순서에 따라 앞선 데이터 블록과의 연결 관계를 가지는 링크드 리스트(Linked list)의 데이터 구조를 가질 수 있으며, 그 내부 구조는 계층적 구조를 트리(tree) 형태로 구성될 수 있다. 데이터 블록은 헤더와 바디로 구성될 수 있으며, 헤더는 앞 블록 헤더의 해시(hash) 값, 논스(nonce), 타임스탬프 등을 포함하며, 바디는 거래 내역, 현금 영수증 내역 중 적어도 하나를 포함한다. The memory 33 stores and manages data blocks that are distributed ledgers. The memory 33 may function as a blockchain database that stores all or part of the blocks that are distributed and agreed through the entire blockchain network. The data block may have a data structure of a linked list having a connection relationship with the previous data block according to the order of occurrence, and the internal structure may have a hierarchical structure in a tree form. The data block may be composed of a header and a body, and the header includes a hash value of the previous block header, a nonce, a timestamp, etc., and the body includes at least one of transaction details and cash receipt details. .

프로세서(32)는 통신부(31)를 통해 판매자 단말(40)로부터 결제 처리 정보가 수신되거나 자체적으로 결제 처리 정보를 생성하는 경우, 결제 처리 정보를 기반으로 결제 처리를 수행할 수 있다. 프로세서(32)는 결제 처리 정보에 따라 판매자의 계정의 구매 금액에 대응하는 디지털 화폐를 판매자의 계정으로 이체처리한다. 여기서 이체 처리는 판매자의 전자 지갑의 디지털 화폐의 값을 이체되는 금액만큼 차감하고, 구매자의 전자 지갑의 디지털 화폐의 값을 이체받은 금액만큼 증가하는 처리를 포함하며, 이러한 이체 처리를 포함하는 거래 내역이 메모리(33)에 저장될 수 있다. The processor 32 may perform payment processing based on payment processing information when payment processing information is received from the seller terminal 40 through the communication unit 31 or when payment processing information is generated by itself. The processor 32 transfers digital money corresponding to the purchase amount of the seller's account to the seller's account according to the payment processing information. Here, the transfer processing includes a process of subtracting the value of the digital currency of the seller's electronic wallet by the amount to be transferred, and increasing the value of the digital currency of the buyer's electronic wallet by the amount of the transfer, and transaction details including such transfer processing It can be stored in the memory 33.

또한, 구매자 단말(30)은 전자 지갑(34)을 포함한다. 전자 지갑(34)에는 현금에 대응하는 디지털 화폐가 저장되어 관리될 수 있으며, 별도의 식별 정보(예를 들어, 주소)가 부여될 수 있으며, 또한, 공개키와 이에 대응하는 비밀키를 이용하여 전자 지갑의 디지털 화폐가 입금되거나 출금될 수도 있다. 이러한 디지털 화폐를 보유하는 전자 지갑(34)은 금융권(예를 들어, 결제 관리 서버)을 통해 계좌를 설치하는 단계에서 본인 확인 과정을 연계하는 것에 의해 설치되고, 설치와 동시에 가상 계좌가 전자 지갑(34)에 내장되어 운영될 수도 있다. 또한, 이러한 전자 지갑(34)은 금융기관(예를 들어, 결제 관리 서버(10))으로부터 제공되는 직불 카드와 연동될 수 있다. 한편, 전자 지갑(34)에도 현금 영수증이 저장되어, 구매자가 전자 지갑의 현금 영수증을 토대로 자신의 소비 패턴을 파악할 수 있도록 할 수 있다.Also, the purchaser terminal 30 includes an electronic wallet 34. The digital wallet corresponding to cash may be stored and managed in the electronic wallet 34, and additional identification information (for example, an address) may be provided, and a public key and a secret key corresponding thereto may be used. The digital currency of the electronic wallet may be deposited or withdrawn. The electronic wallet 34 holding such digital currency is installed by linking the identity verification process in the step of installing an account through a financial institution (for example, a payment management server), and at the same time as the installation, the virtual account is an electronic wallet ( 34). In addition, the electronic wallet 34 may be linked to a debit card provided from a financial institution (eg, payment management server 10). On the other hand, a cash receipt is also stored in the electronic wallet 34, so that the buyer can grasp the consumption pattern based on the cash receipt of the electronic wallet.

도 4는 본 발명의 실시 예에 따른 판매자 단말(40)의 구조도이다.4 is a structural diagram of a seller terminal 40 according to an embodiment of the present invention.

첨부한 도 4에 도시된 바와 같이, 판매자 단말(40)은 통신부(41), 프로세서(42), 및 메모리(43)를 포함하며, 결제 처리를 위한 다른 구성 요소들(예를 들어, 사용자와의 인터페이스 등)도 추가로 포함될 수 있다. 또한, 판매자 단말(40)은 디지털 화폐가 저장되는 전자 지갑(44)을 포함한다.4, the seller terminal 40 includes a communication unit 41, a processor 42, and a memory 43, and other components (for example, a user and Interface, etc.) may also be included. In addition, the seller terminal 40 includes an electronic wallet 44 in which digital money is stored.

판매자 단말(40)의 통신부(41), 프로세서(42), 및 메모리(43)는 위에 기술된 구매자 단말(30)의 통신부(31), 프로세서(32), 및 메모리(33)와 동일한 기능을 수행하도록 구성될 수 있다. 여기서는 구매자 단말(30)의 각 구성 요소의 동작과 유사한 동작에 대해서는 상세한 설명을 생략한다. The communication unit 41, the processor 42, and the memory 43 of the seller terminal 40 have the same functions as the communication unit 31, the processor 32, and the memory 33 of the buyer terminal 30 described above. It can be configured to perform. Here, detailed descriptions of operations similar to the operation of each component of the purchaser terminal 30 will be omitted.

판매자 단말(40)의 프로세서(42)도 구매자와의 거래에 따른 결제 처리 정보를 포함하는 데이터 블록을 생성할 수 있으며, 또한, 구매자와의 거래에 따른 현금 영수증을 포함하는 데이터 블록을 생성할 수 있다. 또한, 프로세서(42)는 전자 매출 장부에 따른 매출액 증빙 서류를 포함하는 데이터 블록을 생성할 수 있다. 또한, 프로세서(42)는 통신부(41)를 통해 구매자 단말(30)로부터 결제 처리 정보가 수신되거나 자체적으로 결제 처리 정보를 생성하는 경우, 결제 처리 정보를 기반으로 결제 처리를 수행할 수 있다.The processor 42 of the seller terminal 40 may also generate a data block including payment processing information according to the transaction with the buyer, and also a data block including a cash receipt according to the transaction with the buyer. have. In addition, the processor 42 may generate a data block including proof of sales according to the electronic sales ledger. Further, the processor 42 may perform payment processing based on payment processing information when payment processing information is received from the purchaser terminal 30 through the communication unit 41 or when payment processing information is generated by itself.

메모리(43)는 분산 원장인 데이터 블록을 저장 및 관리한다. 메모리(43)는 블록 체인 데이터베이스로 기능하며, 데이터 블록은 거래 내역, 현금 영수증 내역, 매출액 증빙 서류 중 적어도 하나를 포함한다. The memory 43 stores and manages data blocks that are distributed ledgers. The memory 43 functions as a blockchain database, and the data block includes at least one of transaction details, cash receipt details, and proof of sales.

전자 지갑(44)에는 현금에 대응하는 디지털 화폐가 저장되어 관리될 수 있으며, 별도의 식별 정보(예를 들어, 주소)가 부여될 수 있으며, 또한, 공개키와 이에 대응하는 비밀키를 이용하여 전자 지갑의 디지털 화폐가 입금되거나 출금될 수도 있다. 이러한 디지털 화폐를 보유하는 전자 지갑(44)은 금융권(예를 들어, 결제 관리 서버)을 통해 계좌를 설치하는 단계에서 본인 확인 과정을 연계하는 것에 의해 설치되고, 설치와 동시에 가상 계좌가 전자 지갑(44)에 내장되어 운영될 수도 있다. The digital wallet corresponding to cash may be stored and managed in the electronic wallet 44, and additional identification information (for example, an address) may be provided, and a public key and a secret key corresponding thereto may be used. The digital currency of the electronic wallet may be deposited or withdrawn. The electronic wallet 44 holding such digital currency is installed by linking the identity verification process in the step of installing an account through a financial institution (for example, a payment management server), and at the same time as the installation, the virtual account is an electronic wallet ( 44).

위에 기술된 바와 같이, 통신부, 프로세서, 메모리 그리고 전자 지갑을 포함하는 형태로 구성되는 구매자 단말(30) 또는 판매자 단말(40)이, 구매자와 판매자 사이의 P2P 결제를 수행할 수 있으며, P2P 결제 처리에 따른 거래 내역, 현금 영수증 등을 포함하는 데이터 블록에 대한 유효성 검증을 통해, 관련 데이터 블록을 분산원장인 메모리에 저장한다. P2P 결제를 수행하는 구매자 단말(30) 또는 판매자 단말(40)을 총괄하여, "결제 처리 단말"이라고 명명할 수 있다. 즉, 결제 처리 단말은 구매자 단말(30) 또는 판매자 단말(40)을 나타낼 수 있다. 이러한 결제 처리 단말은 댑(Dapp, Decentralized application) 기반으로 동작할 수 있다. As described above, the purchaser terminal 30 or the seller terminal 40 configured in a form including a communication unit, a processor, a memory, and an electronic wallet may perform P2P payment between the buyer and the seller, and process P2P payment Through validation of data blocks including transaction details, cash receipts, etc. according to, the related data blocks are stored in the memory of the distributed ledger. The buyer terminal 30 or the seller terminal 40 performing P2P payment may be collectively referred to as a "payment processing terminal". That is, the payment processing terminal may represent the buyer terminal 30 or the seller terminal 40. The payment processing terminal may operate based on a Dapp (Decentralized Application).

한편, 결제 관리 서버(10)와 국세청 서버(20)도 통신부와 프로세서 그리고 블록체인 네트워크(200)의 분산원장을 저장하는 메모리를 포함하는 형태로 구성되며, 블록체인 네트워크(200)를 통해 이루어진 구매자와 판매자의 거래 내역 및/또는 구매자의 현금 영수증 내역을 공유할 수 있다. 결제 관리 서버(10)는 분산원장에 저장되는 내역들을 토대로 구매자의 소비 패턴을 분석하고 그에 맞는 금융 서비스를 생성하고 이를 해당 구매자에게 제공할 수 있다. 국세청 서버(20)는 분산원장에 저장되는 내역들을 토대로 판매자의 매출액 증빙 서류와 구매자의 현금 영수증 등록 상황을 기반으로 다양한 정책을 설정하고 집행할 수 있다. Meanwhile, the payment management server 10 and the IRS server 20 are also configured to include a communication unit, a processor, and a memory storing a distributed ledger of the blockchain network 200, and a buyer made through the blockchain network 200 And the seller's transaction history and/or the buyer's cash receipt history. The payment management server 10 may analyze the consumption pattern of the buyer based on the details stored in the distributed ledger, generate a financial service suitable for that, and provide it to the buyer. The IRS server 20 can set and execute various policies based on the documents of the seller's sales evidence and the buyer's cash receipt registration status based on the details stored in the distributed ledger.

도 5는 본 발명의 실시 예에 따른 P2P 결제 방법의 흐름도이다. 5 is a flowchart of a P2P payment method according to an embodiment of the present invention.

첨부한 도 5에 도시된 바와 같이, 구매자와 판매자 사이의 거래 체결에 따라 구매자 단말(30)과 판매자 단말(40) 사이의 P2P 결제가 수행된다. 5, P2P payment is performed between the buyer terminal 30 and the seller terminal 40 according to a transaction agreement between the buyer and the seller.

구매자 단말(30)과 판매자 단말(40) 중 하나가 P2P 결제를 수행하며, 여기서는 설명의 편의상, 구매자 단말(30)과 판매자 단말(40) 중 하나인 결제 처리 단말이 수행하는 것으로 하여 이하의 과정을 설명한다. One of the purchaser terminal 30 and the seller terminal 40 performs P2P payment, and for convenience of description, it is assumed that the payment processing terminal, which is one of the purchaser terminal 30 and the seller terminal 40, performs the following process. To explain.

구매자와 판매자 사이의 거래가 체결되면(S100), 구매자 단말(30)과 판매자 단말(40) 중 하나인 결제 처리 단말이 거래 체결에 따른 결제 처리 정보를 포함하는 데이터 블록을 생성한다(S110). 결제 처리 정보는 판매자 계정, 구매 금액, 구매자 계정, 이체처리를 나타내는 정보를 포함할 수 있다. 결제 처리 단말은 생성한 데이터 블록을 블록체인 네트워크(200)로 전파한다(S120).When a transaction between a buyer and a seller is concluded (S100), a payment processing terminal, one of the buyer terminal 30 and the seller terminal 40, generates a data block including payment processing information according to the transaction conclusion (S110). Payment processing information may include seller account, purchase amount, buyer account, information indicating the transfer process. The payment processing terminal propagates the generated data block to the blockchain network 200 (S120).

블록체인 네트워크(200)를 통한 분산 합의에 의해 결제 처리 정보를 포함하는 데이터 블록에 대한 유효성 검증이 이루어지고, 그 검증 결과가 결제 처리 단말로 전달된다(S130, S140)). 이러한 유효성 검증시, 결제 관리 서버(10), 국세청 서버(20), 그리고 구매자 단말(30)과 판매자 단말(40) 중 하나(예를 들어, 구매자 단말(30)이 결제 처리 단말로서 동작하는 경우에는 판매자 단말(40), 판매자 단말(40)이 결제 처리 단말로서 동작하는 경우에는 구매자 단말(30))가, 유효성 검증을 수행하는 합의 주체로서 참여할 수 있다. Validation of the data block including the payment processing information is performed by distributed agreement through the blockchain network 200, and the verification result is transmitted to the payment processing terminal (S130, S140). When verifying such validity, when the payment management server 10, the IRS server 20, and one of the buyer terminal 30 and the seller terminal 40 (for example, the buyer terminal 30 operates as a payment processing terminal) In the case where the seller terminal 40 and the seller terminal 40 operate as a payment processing terminal, the purchaser terminal 30 may participate as an agreement entity that performs validation.

결제 처리 단말은 결제 처리 정보에 따라 결제 처리를 수행하며, 예를 들어, 구매자 계정의 구매 금액에 대응하는 디지털 화폐를 판매자의 계정으로 이체처리한다(S150). 결제 처리 단말은 결제 처리에 따른 거래 내역을 분산원장에 저장한다(S160).The payment processing terminal performs payment processing according to the payment processing information, and for example, transfers digital money corresponding to the purchase amount of the buyer account to the seller's account (S150). The payment processing terminal stores transaction details related to payment processing in a distributed ledger (S160).

이후, 결제 처리 단말은 현금 영수증을 포함하는 데이터 블록을 생성하여 블록체인 네트워크(200)로 전파하며(S170, S180), 블록체인 네트워크(200)를 통한 유효성 검증이 이루어지면(S190, S200), 현금 영수증 내역을 분산원장에 저장한다(S210).Thereafter, the payment processing terminal generates a data block including a cash receipt and propagates it to the blockchain network 200 (S170, S180), and when validation is performed through the blockchain network 200 (S190, S200), The cash receipt details are stored in the distributed ledger (S210).

이러한 판매자와 구매자 사이의 P2P 결제 이후에, 결제 관리 서버(10)는 분산원장에 저장된 거래 내역을 토대로, 판매자에 대한 전자 매출 장부를 생성할 수 있다(S220). 이러한 전자 매출 장부에 대해서도 블록체인 네트워크(200)를 통한 유효성 검증이 이루어지고, 유효성 검증 이후에 분산원장에 저장되어 관리될 수 있다.After the P2P payment between the seller and the buyer, the payment management server 10 may generate an electronic sales ledger for the seller based on the transaction history stored in the distributed ledger (S220). Validation through the blockchain network 200 is also performed on the electronic sales ledger, and can be stored and managed in the distributed ledger after validation.

한편, 국세청 서버(20)는 분산원장에 저장된 전자 매출 장부를 토대로 한 매출액 증빙 서류, 현금 영수증 등록 상황을 토대로, 현금 영수증 및 판매자 매출액을 실시간으로 확정할 수 있다(S230).On the other hand, the IRS server 20 may determine in real time the cash receipt and the sales amount of the seller, based on the sales receipt document based on the electronic sales ledger stored in the distributed ledger and the cash receipt registration status (S230).

또한, 결제 관리 서버(10)는 분산원장에 저장된 거래 내역을 토대로, 구매자의 소비 패턴을 분석하고 이틀 토대로 한 서비스를 제공할 수 있다(S240). In addition, the payment management server 10 may analyze the consumption pattern of the buyer based on the transaction history stored in the distributed ledger and provide a service based on two days (S240).

위의 동작에서, 단계(S220~S240)가 수행되는 순서는 위에 기술된 것에 한정되지 않는다. In the above operation, the order in which steps S220 to S240 are performed is not limited to that described above.

도 6은 본 발명의 실시 예에 따른 결제 처리 단말의 동작 흐름도이다. 6 is an operation flowchart of a payment processing terminal according to an embodiment of the present invention.

첨부한 도 6에 도시된 바와 같이, 결제 처리 단말(구매자 단말(30) 또는 판매자 단말(40) 일 수 있음)은 판매자와 구매자 사이의 거래가 체결되면, 거래에 관련된 내용을 포함하는 결제 처리 정보를 포함하는 데이터 블록을 생성하고, 데이터 블록을 블록체인 네트워크(200)로 전송한다(S300~S310). 블록체인 네트워크(200)의 각 노드는 데이터 블록의 유효성을 검증하고, 검증된 유효성에 따라 인증 정보를 생성하여 결제 처리 단말로 전송한다. 이 경우, 각각의 노드는 수신된 데이터 블록에 포함된 검증 코드와 직접 생성한 검증 코드의 일치 여부에 따라 인증 정보를 생성하고, 이를 블록체인 네트워크 상의 다른 노드들로 전파할 수 있다. 6, the payment processing terminal (which may be the purchaser terminal 30 or the seller terminal 40), when a transaction between the seller and the buyer is concluded, displays payment processing information including contents related to the transaction. It generates a data block that includes, and transmits the data block to the blockchain network 200 (S300 ~ S310). Each node of the blockchain network 200 verifies the validity of the data block, generates authentication information according to the verified validity, and transmits it to the payment processing terminal. In this case, each node may generate authentication information according to whether the verification code included in the received data block matches the verification code generated directly, and propagate it to other nodes on the blockchain network.

결제 처리 단말은 유효성 검증에 따른 인증 정보들을 수신하고(S320), 수신한 인증 정보들 중 인증 성공의 수가 미리 설정한 값보다 많은지 확인한다(S330). The payment processing terminal receives the authentication information according to the validation (S320), and checks whether the number of authentication successes among the received authentication information is greater than a preset value (S330).

결제 처리 단말은 수신한 인증 정보들 중 인증 성공의 수가 미리 설정한 값보다 많은 경우, 결제 처리 정보에 따라 결제 처리를 수행하며, 해당 데이터 블록을 메모리에 저장한다. 즉, 결제 처리 정보를 기반으로 판매자와 구매자 사이의 거래 내역을 분산원장에 저장한다(S340, S350). 반면, 수신한 인증 정보들 중 인증 성공의 수가 미리 설정한 값보다 작은 경우에는 유효하지 않은 것으로 판단하여, 해당 데이터 블록을 삭제한다(S360). 이 경우에는 판매자와 구매자 사이의 거래에 따른 결제 처리가 수행되지 않고, 결제 처리 실패가 판매자와 구매자에게 통보될 수 있다. When the number of authentication successes among the received authentication information is greater than a preset value, the payment processing terminal performs payment processing according to the payment processing information and stores the corresponding data block in the memory. That is, the transaction history between the seller and the buyer is stored in the distributed ledger based on the payment processing information (S340, S350). On the other hand, if the number of authentication successes among the received authentication information is smaller than a preset value, it is determined as invalid and the corresponding data block is deleted (S360). In this case, the payment processing according to the transaction between the seller and the buyer is not performed, and the payment processing failure may be notified to the seller and the buyer.

결제 처리가 이루어진 다음, 결제 처리 단말은 거래 내역을 토대로 현금 영수증을 포함하는 데이터 블록을 생성하여 블록체인 네트워크(200)로 전송하고(S370), 블록체인 네트워크(200)를 통한 유효성 검증에 따른 인증 정보들을 수신한다(S380).After the payment processing is performed, the payment processing terminal generates a data block including a cash receipt based on the transaction details, transmits it to the blockchain network 200 (S370), and authenticates according to validation through the blockchain network 200 The information is received (S380).

수신한 인증 정보들 중 인증 성공의 수가 미리 설정한 값보다 많은 경우 해당 현금 영수증을 분산원장에 저장한다(S390). 반면, 수신한 인증 정보들 중 인증 성공의 수가 미리 설정한 값보다 작은 경우에는 유효하지 않은 것으로 판단하여, 해당 데이터 블록을 삭제한다(S400).If the number of authentication successes among the received authentication information is greater than a preset value, the corresponding cash receipt is stored in the distributed ledger (S390). On the other hand, if the number of authentication successes among the received authentication information is smaller than a preset value, it is determined to be invalid and the corresponding data block is deleted (S400).

이상에서 설명한 바와 같이, 구매자 단말과 판매자 단말 중 어느 하나가 P2P 결제 처리에 따른 정보를 포함하는 데이터 블록을 생성하고 블록체인 네트워크 기반의 분산 합의를 통해 분산원장에 저장함으로써, 별도의 중개 없이도 구매자와 판매자 사이의 결제가 이루어지며, 구매자와 판매자의 거래 내역에 대한 공유가 이루어진다. 따라서, 결제 처리에 따른 중개 수수료가 발생하지 않는다. As described above, either the buyer terminal or the seller terminal generates a data block including information according to the P2P payment processing and stores it in the distributed ledger through a distributed agreement based on the blockchain network, so that the buyer and Payment is made between sellers, and sharing of transaction details between buyers and sellers is made. Therefore, there is no brokerage fee due to payment processing.

또한, 판매자는 구매자와의 거래에 따른 금액을 바로 수령할 수 있으며, 판매자의 거래 내역이 분산원장에 저장됨으로써, 매출 금액의 투명한 관리가 이루어진다. In addition, the seller can immediately receive the amount according to the transaction with the buyer, and the transaction history of the seller is stored in the distributed ledger, thereby making transparent management of the amount of sales.

한편, 위의 실시 예에서는 구매자 단말과 판매자 단말 중 하나인 결제 처리 단말이 결제 처리를 수행하는 것으로 기술하였으나, 본 발명은 이에 한정되지 않고, 결제 처리 단말에 의해 생성되는 결제 처리 정보 또는 분산원장에 저장되는 결제 처리 정보를 토대로 결제 관리 서버(10)가 결제 처리를 수행하고, 결제 처리에 따른 거래 내역을 분산원장에 저장할 수도 있다. Meanwhile, in the above embodiment, the payment processing terminal, which is one of the purchaser terminal and the seller terminal, is described as performing payment processing, but the present invention is not limited thereto, and the payment processing information or distributed ledger generated by the payment processing terminal is described. The payment management server 10 may perform payment processing based on the stored payment processing information, and store transaction details related to payment processing in a distributed ledger.

본 발명의 실시 예는 이상에서 설명한 장치 및/또는 방법을 통해서만 구현이 되는 것은 아니며, 본 발명의 실시예의 구성에 대응하는 기능을 실현하기 위한 프로그램, 그 프로그램이 기록된 기록 매체 등을 통해 구현될 수도 있으며, 이러한 구현은 앞서 설명한 실시예의 기재로부터 본 발명이 속하는 기술분야의 전문가라면 쉽게 구현할 수 있는 것이다.The embodiment of the present invention is not implemented only through the apparatus and/or method described above, and is implemented through a program for realizing a function corresponding to the configuration of the embodiment of the present invention, a recording medium in which the program is recorded, and the like. Alternatively, such an implementation can be easily implemented by those skilled in the art to which the present invention pertains from the description of the above-described embodiments.

이상에서 본 발명의 실시 예에 대하여 상세하게 설명하였지만 본 발명의 권리범위는 이에 한정되는 것은 아니고 다음의 청구범위에서 정의하고 있는 본 발명의 기본 개념을 이용한 당업자의 여러 변형 및 개량 형태 또한 본 발명의 권리범위에 속하는 것이다.Although the embodiments of the present invention have been described in detail above, the scope of the present invention is not limited to this, and various modifications and improvements of those skilled in the art using the basic concept of the present invention defined in the following claims are also provided. It belongs to the scope of rights.

Claims (16)

판매자와 구매자 사이의 거래가 체결되면, 블록체인 네트워크의 노드로 동작하는 판매자 단말 또는 구매자 단말 중 하나인 결제 처리 단말이, 결제 처리 정보를 포함하는 데이터 블록을 상기 블록체인 네트워크로 전송하여 유효성 검증을 요청하는 단계;
상기 블록체인 네트워크를 통한 유효성 검증이 이루어진 다음에 상기 결제 처리 단말이, 상기 결제 처리 정보에 따라 결제 처리를 수행하는 단계; 및
상기 결제 처리 단말이, 상기 결제 처리에 관련된 거래 내역을 분산원장에 저장하는 단계
를 포함하고,
상기 블록체인 네트워크의 노드 중 설정 권한을 가지는 노드에 대해서, 상기 분산원장에 저장된 거래 내역을 포함한 블록체인 데이터의 열람이 허용되는, 결제 방법.
When a transaction between a seller and a buyer is concluded, a payment processing terminal, which is one of a seller terminal or a buyer terminal operating as a node of the blockchain network, sends a data block including payment processing information to the blockchain network to request validation. To do;
Performing a payment processing according to the payment processing information by the payment processing terminal after validation is performed through the blockchain network; And
Storing, by the payment processing terminal, transaction details related to the payment processing in a distributed ledger
Including,
Among the nodes of the blockchain network, a node having setting authority is allowed to view blockchain data including transaction details stored in the distributed ledger.
제1항에 있어서,
상기 결제 처리 단말이 상기 거래 내역을 토대로 현금 영수증을 포함하는 데이터 블록을 생성하여 상기 블록체인 네트워크로 유효성 검증을 요청하는 단계; 및
상기 결제 처리 단말이, 상기 블록체인 네트워크를 통한 유효성 검증이 이루어진 다음에 상기 현금 영수증을 분산원장에 저장하는 단계
를 더 포함하는 결제 방법.
According to claim 1,
Generating, by the payment processing terminal, a data block including a cash receipt based on the transaction details and requesting validation by the blockchain network; And
Storing the cash receipt in a distributed ledger after the payment processing terminal is validated through the blockchain network
Payment method further comprising a.
제2항에 있어서,
상기 블록체인 네트워크의 노드로 동작하는 결제 관리 서버가 상기 분산원장에 저장된 거래 내역 및 현금 영수증을 토대로 상기 구매자의 소비 패턴을 분석하고, 분석 결과에 따른 금융 서비스를 제공하는 단계
를 더 포함하는 결제 방법.
According to claim 2,
The payment management server operating as a node of the blockchain network analyzes the consumption pattern of the buyer based on the transaction history and cash receipt stored in the distributed ledger, and provides a financial service according to the analysis result
Payment method further comprising a.
제2항에 있어서,
상기 블록체인 네트워크의 노드로 동작하는 결제 관리 서버가 상기 분산원장에 저장된 거래 내역 및 현금 영수증을 토대로 상기 판매자의 전자 매출 장부를 생성하여 상기 판매자의 단말로 제공하는 단계
를 더 포함하는 결제 방법.
According to claim 2,
A payment management server operating as a node of the blockchain network generates an electronic sales ledger of the seller based on the transaction details and cash receipts stored in the distributed ledger and provides them to the seller's terminal.
Payment method further comprising a.
제4항에 있어서,
상기 블록체인 네트워크의 노드로 동작하는 국세청 서버가, 상기 분산원장에 저장된 거래 내역 및 현금 영수증을 토대로 상기 판매자와 상기 구매자에 대한 세제 관리를 수행하는 단계
를 더 포함하는 결제 방법.
According to claim 4,
The IRS server acting as a node of the blockchain network performs tax management for the seller and the buyer based on the transaction history and cash receipt stored in the distributed ledger.
Payment method further comprising a.
제5항에 있어서,
상기 결제 관리 서버, 상기 국세청 서버 그리고 거래에 관련된 판매자 단말 및 구매자 단말에 대해서만, 상기 분산원장에 저장된 해당 거래 내역에 대한 열람이 허용되는, 결제 방법.
The method of claim 5,
The payment management server, the IRS server, and only the seller terminal and the buyer terminal related to the transaction, the payment method is allowed to view the transaction details stored in the distributed ledger.
제1항 내지 제6항 중 어느 한 항에 있어서,
상기 거래 내역은 구매자의 계정, 이체 처리되는 금액, 판매자의 계정, 결제 처리일, 구매자 및 판매자 관련 정보를 포함하는, 결제 방법.
The method according to any one of claims 1 to 6,
The transaction details include the buyer's account, the amount to be transferred, the seller's account, the payment processing date, and information related to the buyer and seller.
제1항에 있어서,
상기 결제 처리를 수행하는 단계는,
상기 구매자의 전자 지갑에 부여된 디지털 화폐 중 상기 거래에 따른 금액에 대응하는 디지털 화폐를 상기 판매자의 전자 지갑에 이체 처리하는 단계를 포함하는, 결제 방법.
According to claim 1,
The step of performing the payment processing,
And transferring digital money corresponding to the amount of the transaction among the digital currencies granted to the buyer's electronic wallet to the seller's electronic wallet.
제1항에 있어서,
상기 결제 처리 단말이 상기 구매자 단말이며,
상기 유효성 검증을 요청하는 단계는,
상기 구매자 단말이 상기 판매자가 제공하는 코드를 스캔하는 것에 의해 획득되는 판매자 계정 및 구매 금액과, 구매자의 계정을 포함하는 상기 결제 처리 정보를 포함하는 데이터블록을 생성하고 상기 데이터 블록을 상기 블록체인 네트워크로 전파하여 유효성 검증을 요청하는 단계를 포함하는, 결제 방법.
According to claim 1,
The payment processing terminal is the buyer terminal,
The step of requesting the validation,
The buyer terminal generates a data block including the seller account and the purchase amount obtained by scanning the code provided by the seller, and the payment processing information including the buyer's account, and the data block is generated in the blockchain network. And requesting validation by propagating to the payment method.
제1항에 있어서,
상기 결제 처리 단말이 상기 판매자 단말이며,
상기 유효성 검증을 요청하는 단계는,
상기 판매자 단말이 상기 구매자 단말과의 근거리 통신을 통해 획득되는 판매자 계정과, 그리고 구매 금액 및 구매자의 계정을 포함하는 상기 결제 처리 정보를 포함하는 데이터블록을 생성하고 상기 데이터 블록을 상기 블록체인 네트워크로 전파하여 유효성 검증을 요청하는 단계를 포함하는, 결제 방법.
According to claim 1,
The payment processing terminal is the seller terminal,
The step of requesting the validation,
The seller terminal generates a data block including the seller account obtained through short-range communication with the buyer terminal and the payment processing information including the purchase amount and the buyer's account, and the data block is transferred to the blockchain network. And requesting validation by propagating.
블록체인 네트워크로 데이터 블록을 송신하고, 상기 데이터 블록에 대한 인증 정보를 수신하도록 구성되는 통신부;
상기 블록체인 네트워크의 분산원장을 저장하는 메모리; 및
판매자와 구매자 사이의 거래가 체결되면, 결제 처리 정보를 포함하는 데이터 블록을 생성하고 상기 통신부를 통해 상기 블록체인 네트워크로 전송하여 유효성 검증을 요청하며, 유효성 검증이 이루어지면 상기 결제 처리 정보에 따라 결제 처리를 수행하고, 상기 결제 처리에 관련된 거래 내역을 메모리에 저장하도록 구성되는 프로세서
를 포함하고,
상기 블록체인 네트워크의 노드 중 설정 권한을 가지는 노드에 대해서, 상기 메모리에 저장된 거래 내역을 포함한 블록체인 데이터의 열람이 허용되는, 결제 처리 단말.
A communication unit configured to transmit a data block to a blockchain network and receive authentication information for the data block;
A memory that stores a distributed ledger of the blockchain network; And
When a transaction between the seller and the buyer is concluded, a data block including payment processing information is generated and transmitted to the blockchain network through the communication unit to request validation, and when validation is performed, payment is processed according to the payment processing information A processor configured to perform and store transaction details related to the payment processing in a memory
Including,
Among the nodes of the blockchain network, a node having a setting authority is allowed to view blockchain data including transaction details stored in the memory, a payment processing terminal.
제11항에 있어서,
상기 프로세서는 추가로,
상기 거래 내역을 토대로 현금 영수증을 포함하는 데이터 블록을 생성하고 상기 통신부를 통해 상기 블록체인 네트워크로 유효성 검증을 요청하고, 상기 블록체인 네트워크를 통한 유효성 검증이 이루어지면 상기 현금 영수증을 상기 메모리에 저장하도록 구성되는, 결제 처리 단말.
The method of claim 11,
The processor additionally,
Create a data block including a cash receipt based on the transaction details, request validation through the communication unit to the blockchain network, and store the cash receipt in the memory when validation is performed through the blockchain network Configured, payment processing terminal.
제11항에 있어서,
금융 기관의 결제 관리 서버와 국세청 서버가 상기 블록체인 네트워크의 노드로 동작하여 상기 유효성 검증의 주체로 동작하며, 상기 국세청 서버와 상기 결제 관리 서버 그리고 상기 거래에 관련된 판매자 단말 및 구매자 단말에 대해서만, 상기 메모리에 저장된 해당 거래 내역에 대한 열람이 허용되며,
상기 거래 내역은 구매자의 계정, 이체 처리되는 금액, 판매자의 계정, 결제처리일, 구매자 및 판매자 관련 정보를 포함하는, 결제 처리 단말.
The method of claim 11,
The payment management server and the IRS server of a financial institution operate as a node of the blockchain network and operate as a subject of validation, and only for the IRS server, the payment management server, and the seller terminal and the buyer terminal related to the transaction, the You can view the transaction history stored in memory.
The transaction details include a buyer's account, a transfer amount, a seller's account, a payment processing date, and information related to the buyer and seller, payment processing terminal.
제11항에 있어서,
상기 프로세서는, 상기 결체 처리시, 상기 구매자의 전자 지갑에 부여된 디지털 화폐 중 상기 거래에 따른 금액에 대응하는 디지털 화폐를 상기 판매자의 전자 지갑에 이체 처리하도록 구성되는, 결제 처리 단말.
The method of claim 11,
The processor, when processing the payment, is configured to transfer the digital currency corresponding to the amount of the transaction from the digital money granted to the buyer's electronic wallet to the electronic wallet of the seller, payment processing terminal.
제11항에 있어서,
상기 결제 처리 단말은 판매자 단말이며,
상기 프로세서는 상기 통신부를 통해 구매자 단말과의 근거리 통신을 통해 판매자 계정을 획득하고, 상기 판매자 계정과 구매 금액 그리고 구매자의 계정을 포함하는 상기 결제 처리 정보를 포함하는 데이터블록을 생성하도록 구성되는, 결제 처리 단말.
The method of claim 11,
The payment processing terminal is a seller terminal,
The processor is configured to acquire a seller account through short-range communication with the buyer terminal through the communication unit, and to generate a data block including the payment processing information including the seller account, the purchase amount, and the buyer's account. Processing terminal.
제11항에 있어서,
상기 프로세서는, 상기 유효성 검증 요청에 따라 상기 통신부를 통해 상기 블록체인 네트워크로부터 수신되는 해당 데이터 블록에 대한 인증 정보들 중 인증 성공의 수가 미리 설정된 값보다 많은 경우에, 상기 블록체인 네트워크를 통한 유효성 검증이 이루어진 것으로 판단하도록 구성되는, 결제 처리 단말.



The method of claim 11,
The processor, when the number of successful authentication among the authentication information for the corresponding data block received from the blockchain network through the communication unit according to the validation request is greater than a preset value, validates through the blockchain network Payment processing terminal is configured to determine that this has been made.



KR1020190011934A 2019-01-30 2019-01-30 System and method for P2P payment KR20200094442A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190011934A KR20200094442A (en) 2019-01-30 2019-01-30 System and method for P2P payment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190011934A KR20200094442A (en) 2019-01-30 2019-01-30 System and method for P2P payment

Publications (1)

Publication Number Publication Date
KR20200094442A true KR20200094442A (en) 2020-08-07

Family

ID=72049754

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190011934A KR20200094442A (en) 2019-01-30 2019-01-30 System and method for P2P payment

Country Status (1)

Country Link
KR (1) KR20200094442A (en)

Similar Documents

Publication Publication Date Title
US10521777B2 (en) Crypto digital currency (virtual payment cards) issued by central bank or other issuer for mobile and wearable devices
US10521776B2 (en) UN currency (virtual payment cards) issued by central bank or other issuer for mobile and wearable devices
US11468436B2 (en) Systems and methods for facilitating transactions using a digital currency
Ali et al. Innovations in payment technologies and the emergence of digital currencies
US20170372417A1 (en) Digital asset account management
CN110462663A (en) For indicating the static token system and method for dynamic authentic credential
KR101886283B1 (en) Mehod, program and computer readable recording medium for providing tax refund using blockchain-based virtual currency
CN110582790A (en) system and method for restricted transaction processing
KR101908701B1 (en) Method for providing virtual money circulation service using profit of rental and financial service based on block chain
US11734760B1 (en) Systems and methods for operating a math-based currency exchange
CN109478282A (en) Digital asset distribution is carried out by the transaction device
JP2004516578A (en) Confirmation of billing for utility use and confidentiality self-billing and payment methods including settlement and dispute settlement
KR102198335B1 (en) Apparatus for virtual currency payment, exchange, and method for providing payment service based on blcok-chain
KR102193988B1 (en) Method for providing crypto currency payment and exchange service based on blockchain and apparatus therefor
KR20200094407A (en) System and method for local currency transaction
KR102202264B1 (en) Apparatus for gift card sale with virtual currency payment and method for gift card sale service using virtual currency payment
Bhattacharya et al. A blockchain based peer-to-peer framework for exchanging leftover foreign currency
WO2020109972A1 (en) Un currency (virtual payment cards) issued by central bank or other issuer for mobile and wearable devices
CN116472696A (en) Digital asset redemption system, digital wallet and digital asset redemption architecture
KR20190001500A (en) Mehod, program and computer readable recording medium for providing tax refund using blockchain-based virtual currency
CN116802661A (en) Token-based out-of-chain interaction authorization
US11270274B1 (en) Mobile wallet using math based currency systems and methods
JP2022089542A (en) Processing system, processing device, processing method, and processing program
KR20200094442A (en) System and method for P2P payment
US20230222494A1 (en) Standardized physical action digital currency