KR20180113146A - Method for charging electronic money automatically based on blockchain and system thereof - Google Patents

Method for charging electronic money automatically based on blockchain and system thereof Download PDF

Info

Publication number
KR20180113146A
KR20180113146A KR1020170135847A KR20170135847A KR20180113146A KR 20180113146 A KR20180113146 A KR 20180113146A KR 1020170135847 A KR1020170135847 A KR 1020170135847A KR 20170135847 A KR20170135847 A KR 20170135847A KR 20180113146 A KR20180113146 A KR 20180113146A
Authority
KR
South Korea
Prior art keywords
transaction
block
block chain
automatic charging
electronic money
Prior art date
Application number
KR1020170135847A
Other languages
Korean (ko)
Other versions
KR102407187B1 (en
Inventor
김형남
이지환
채흥식
서영민
Original Assignee
삼성에스디에스 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성에스디에스 주식회사 filed Critical 삼성에스디에스 주식회사
Priority to US15/942,094 priority Critical patent/US20180293557A1/en
Publication of KR20180113146A publication Critical patent/KR20180113146A/en
Application granted granted Critical
Publication of KR102407187B1 publication Critical patent/KR102407187B1/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/08Payment architectures
    • G06Q20/085Payment architectures involving remote charge determination or related payment systems
    • 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/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • 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/3674Payment 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 involving authentication
    • 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/3825Use of electronic signatures

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)
  • Computer Networks & Wireless Communication (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

Provided is a method for automatically charging electronic money based on a block chain. The method comprises the steps of: determining whether automatic charging of electronic money possessed by a payer is needed in response to reception of a request for processing a payment transaction from a terminal of the payer; charging a preset amount of electronic money in an electronic wallet of the payer in response to determination that automatic charging is necessary; generating a re-payment transaction on the basis of payment information recorded in the payment transaction, wherein the re-payment transaction includes a first electronic signature and a second electronic signature, wherein the first electronic signature is provided by a service providing server and the second electronic signature is included in the payment transaction; and processing the re-payment transaction by interworking with a block chain network composed of a plurality of block chain nodes, without requesting an electronic signature for the re-payment transaction to the terminal of the payer. The transaction processed through the block chain network may include at least two electronic signatures.

Description

블록체인 기반 전자 화폐 자동 충전 방법 및 그 시스템{Method for charging electronic money automatically based on blockchain and system thereof}BACKGROUND OF THE INVENTION 1. Field of the Invention [0001] The present invention relates to a block chain electronic money automatic charging method,

본 발명은 블록체인 기반 전자 화폐 자동 충전 방법 및 그 시스템에 관한 것이다. 보다 자세하게는, 블록체인 기반으로 전자 화폐에 대한 자동 충전 서비스를 제공함에 있어서, 사용자 편의성이 저하되는 문제를 해결하기 위해 고안된 자동 충전 방법 및 그 방법을 수행하는 시스템에 관한 것이다.The present invention relates to a block chain-based electronic money automatic charging method and a system thereof. More particularly, the present invention relates to an automatic charging method and a system for performing the method, which are designed to solve the problem that the user convenience is reduced in providing an automatic charging service for electronic money on the basis of a block chain.

블록체인(blockchain)은 지속적으로 증가하는 데이터를 특정 단위의 블록에 기록하고, P2P(peer-to-peer) 네트워크를 구성하는 각각의 노드들이 상기 블록을 체인 형태의 자료 구조로 관리하는 데이터 관리 기술 또는 상기 체인 형태의 자료 구조로 구성된 데이터 그 자체를 의미한다. 이때, 체인 형태의 자료 구조로 구성된 블록체인 데이터는, 중앙 시스템 없이 각각의 노드에서 분산 원장(distributed ledger) 형태로 운영된다.A block chain is a data management technique in which continuously increasing data is recorded in blocks of a specific unit and each node constituting a peer-to-peer (P2P) network manages the blocks in a data structure of a chain type Or data itself constituted by a data structure of the chain type. At this time, the block chain data composed of the chain type data structure is operated in the distributed ledger form in each node without the central system.

블록체인 네트워크를 구성하는 각각의 블록체인 노드는 도 1에 도시된 바와 같은 자료 구조로 블록들을 관리한다. 여기서, 각 블록에는 이전 블록에 대한 해시 값이 기록되며, 상기 해시 값을 통해 이전 블록이 참조될 수 있다. 따라서, 블록이 쌓일수록 블록 내에 기록된 트랜잭션 데이터의 위변조는 어려워지고, 각 블록에 기록된 트랜잭션 데이터의 신뢰도는 향상되게 된다.Each block chain node constituting the block chain network manages blocks with a data structure as shown in FIG. Here, the hash value for the previous block is recorded in each block, and the previous block can be referred to through the hash value. Therefore, as the blocks are piled up, the forgery and falsification of the transaction data recorded in the block becomes difficult, and the reliability of the transaction data recorded in each block is improved.

블록체인에 기반하여 트랜잭션을 처리하는 시스템은 예를 들어 도 2에 도시된 과정에 따라 요청된 트랜잭션을 처리한다. 도 2를 참조하면, 전자 화폐의 지급인 단말로부터 트랜잭션 처리 요청이 수신되면(①), 이중 지불 방지 등을 위해 해당 트랜잭션의 유효성 검증이 수행되고(②), 유효한 경우 트랜잭션 데이터가 블록 생성 노드로 전달된다(③). 다음으로, 상기 블록 생성 노드가 해당 트랜잭션 데이터를 신규 블록에 기록하고(④), 상기 신규 블록을 블록체인 네트워크 상에 전파하여 분산 합의가 이루어지도록 한다(⑤). 상기 분산 합의에 따라 거래가 최종 확정되면, 지급인의 전자 지갑에 보관된 소정의 전자 화폐가 수취인의 전자 지갑으로 이전된다(⑥).The system for processing transactions based on a block chain processes the requested transaction, for example, according to the process shown in FIG. Referring to FIG. 2, when a transaction processing request is received from the terminal, which is the payment of electronic money (①), validation of the transaction is performed to prevent duplicate payment (②) (③). Next, the block generating node writes the corresponding transaction data in a new block (4), and propagates the new block on the block-chain network so that a distributed agreement is made (5). Once the transaction is finalized in accordance with the dispersion agreement, the predetermined electronic money stored in the electronic wallet of the payment person is transferred to the electronic wallet of the addressee (6).

블록체인 기반 시스템은 위와 같은 과정을 통해 중앙 관리 시스템 없이도 거래 당사자 간에 안전한 거래 서비스를 제공할 수 있다는 장점이 있다. 그러나, 위의 과정을 따르는 블록체인 기반 시스템에서, 전자 화폐의 잔고 부족에 의해 트리거(trigger)되는 전자 화폐 자동 충전 서비스를 제공하는 경우, 다음과 같이 사용자 편의성이 저하되는 문제가 발생한다.The block chain based system has the advantage of providing secure transaction service between transaction parties without the central management system through the above process. However, in a block-chain-based system that follows the above procedure, when providing an electronic money automatic recharging service triggered by insufficient balance of electronic money, there arises a problem that user convenience is deteriorated as follows.

첫째는, 자동 충전 후 다시 결제 트랜잭션이 처리될 때까지의 리드 타임(lead time)으로 인해 사용자의 편의성이 저하되는 문제이다. 예를 들어, 전자 지갑에 보관된 사용자의 포인트 잔액이 7,000 포인트이고, 결제 금액이 10,000 포인트라고 가정하면, 최소 3,000 포인트에 대한 자동 충전이 수행되고, 자동 충전이 완료된 후에 다시 결제가 수행되어야 한다. 하지만, 상술한 바와 같은 블록체인 트랜잭션 처리 과정에서, 자동 충전이 완료되기 위해서는 블록 채굴(mining)이 성공할 때까지의 대기 시간이 요구된다. 예를 들어, 비트코인 블록체인은 블록 채굴에 평균 10분의 시간이 소요되므로, 자동 충전이 완료될 때까지 10분의 대기 시간이 발생될 수 있다. 또한, 재결제에 따른 트랜잭션이 승인되기 위해 블록 채굴을 위한 대기 시간이 더 필요하기 때문에, 비트코인 블록체인의 경우 재결제가 완료되기까지 대략 20분의 리드 타임이 발생할 수 있다. 이와 같은 리드 타임의 발생은 즉각적인 결제 처리를 위해 자동 충전 서비스를 이용하는 사용자의 편의성을 크게 저하시킬 수 있다.First, the convenience of the user is deteriorated due to the lead time until the settlement transaction is processed again after the automatic charging. For example, assuming that the point balance of the user stored in the electronic wallet is 7,000 points and the payment amount is 10,000 points, automatic charging for at least 3,000 points is performed, and payment is performed again after the automatic charging is completed. However, in the above-described block chain transaction processing, waiting time until block mining is successful is required to complete the automatic charging. For example, a bit coin block chain takes an average of 10 minutes to block mining, so 10 minutes of latency can occur until the auto-fill is completed. Also, since a bit-coin block chain requires more waiting time for block mining to be granted transactions according to the re-settlement, a lead time of about 20 minutes may occur until re-establishment is completed. The occurrence of such a lead time can greatly reduce the convenience of the user using the automatic charging service for immediate payment processing.

둘째는, 트랜잭션의 반복적 전자 서명 요구로 인한 편의성 저하 문제이다. 자동 충전 수행 후, 다시 결제가 수행되기 위해서 재결제 트랜잭션이 새롭게 생성되어야 한다. 재결제 트랜잭션에 포함될 결제 정보는 기존의 결제 트랜잭션에서 곧바로 획득될 수 있으나, 블록체인의 특성 상 재결제 트랜잭션에 대한 전자 서명은 다시 수행되어야 한다. 이에 따라, 결제자는 자동 충전이 발생될 때마다 전자 서명을 다시 수행해야 하기 때문에, 반복적인 전자 서명으로 인해 사용자의 편의성이 저하될 수 있다.Second, it is a problem of convenience degradation due to repeated electronic signature requests of transactions. After the automatic charging is performed, a reassignment transaction must be newly created so that the settlement can be performed again. The settlement information to be included in the re-settlement transaction can be obtained immediately in the existing settlement transaction, but the digital signature for the re-settlement transaction must be performed again due to the characteristics of the block chain. Accordingly, since the payer must perform the electronic signature again every time the automatic charging occurs, the convenience of the user may be deteriorated due to the repetitive electronic signature.

한국공개특허 제2016-0150278호(2016.12.29 공개)Korean Patent Publication No. 2016-0150278 (published Dec. 29, 2016)

본 발명이 해결하고자 하는 기술적 과제는, 블록체인 기반 전자 화폐 자동 충전 방법 및 그 방법을 수행하는 시스템을 제공하는 것이다.SUMMARY OF THE INVENTION It is an object of the present invention to provide a block chain-based electronic money automatic charging method and a system for performing the method.

본 발명이 해결하고자 하는 다른 기술적 과제는, 자동 충전 및 재결제 트랜잭션이 승인될 때까지의 리드 타임을 최소화할 수 있는 블록체인 기반 전자 화폐 자동 충전 방법 및 그 방법을 수행하는 시스템을 제공하는 것이다.It is another object of the present invention to provide a block chain-based electronic money automatic charging method and a system for performing the method, which can minimize the lead time until an automatic charging and rewriting transaction is approved.

본 발명이 해결하고자 하는 또 다른 기술적 과제는, 결제자의 전자 서명을 요구하지 않고, 재결제 트랜잭션을 처리할 수 있는 블록체인 기반 전자 화폐 자동 충전 방법 및 그 방법을 수행하는 시스템을 제공하는 것이다.It is another object of the present invention to provide a block chain-based electronic money automatic charging method capable of processing a re-settlement transaction without requiring a payer's electronic signature and a system for performing the method.

본 발명의 기술적 과제들은 이상에서 언급한 기술적 과제들로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명의 기술분야에서의 통상의 기술자에게 명확하게 이해될 수 있을 것이다.The technical objects of the present invention are not limited to the above-mentioned technical problems, and other technical subjects not mentioned can be clearly understood by those skilled in the art from the following description.

상기 기술적 과제를 해결하기 위한, 본 발명의 일 실시예에 따른 블록체인 기반 전자 화폐 자동 충전 방법은, 서비스 제공 서버에 의해 수행되는 블록체인 기반 전자 화폐 자동 충전 방법에 있어서, 결제자의 단말로부터, 결제 트랜잭션의 처리 요청이 수신됨에 응답하여, 상기 결제자가 보유한 전자 화폐의 자동 충전 필요 여부를 판정하는 단계, 자동 충전이 필요하다는 판정에 응답하여, 상기 결제자의 전자 지갑에 기 설정된 양의 전자 화폐를 충전하는 단계, 상기 결제 트랜잭션에 기록된 결제 정보를 기초로 재결제 트랜잭션을 생성하되, 상기 재결제 트랜잭션은 제1 전자 서명과 제2 전자 서명을 포함하고 상기 제1 전자 서명은 상기 서비스 제공 서버에 의해 제공된 것이며 상기 제2 전자 서명은 상기 결제 트랜잭션에 포함된 것인, 단계 및 상기 결제자의 단말로 상기 재결제 트랜잭션에 대한 전자 서명을 요청하지 않고, 복수의 블록체인 노드로 구성된 블록체인 네트워크와 연동하여 상기 재결제 트랜잭션을 처리하는 단계를 포함할 수 있다. 이때, 상기 블록체인 네트워크를 통해 처리되는 트랜잭션은 적어도 두 개의 전자 서명을 포함하는 트랜잭션일 수 있다.According to an aspect of the present invention, there is provided a block chain-based electronic money automatic charging method performed by a service providing server, the method comprising: In response to receipt of a transaction processing request, determining whether the electronic money held by the payer is required to be automatically charged, in response to a determination that automatic charging is necessary, charging the electronic wallet of the payer with a predetermined amount of electronic money Generating a reassignment transaction based on the payment information recorded in the payment transaction, wherein the reassignment transaction includes a first digital signature and a second digital signature, the first digital signature being provided by the service providing server Wherein the second electronic signature is included in the payment transaction, Not to the terminal to request a digital signature for the transaction Rebill, it is possible to work with block chain network comprising a plurality of block chain nodes comprise the step of processing the transaction Rebill. At this time, the transaction processed through the block-chain network may be a transaction including at least two digital signatures.

일 실시예에서, 상기 자동 충전 필요 여부를 판정하는 단계는, 상기 블록체인 네트워크로 상기 결제 트랜잭션을 전달하고, 상기 결제 트랜잭션에 대한 유효성 검증 결과를 획득하는 단계 및 상기 유효성 검증 결과에 기초하여, 상기 자동 충전 필요 여부를 판정하는 단계를 포함할 수 있다.In one embodiment, the step of determining whether the automatic charging is required comprises the steps of: transferring the payment transaction to the block-chain network, obtaining a validation result for the payment transaction, and determining, based on the validation result, And determining whether automatic charging is necessary.

일 실시예에서, 상기 자동 충전 필요 여부를 판정하는 단계는, 상기 블록체인 네트워크로 상기 결제 트랜잭션을 전달하기 전에, 상기 결제자의 전자 지갑의 잔고를 확인하는 단계 및 상기 결제자의 전자 지갑의 잔고 확인 결과에 기초하여, 상기 자동 충전 필요 여부를 판정하는 단계를 포함할 수 있다.In one embodiment, the step of determining whether or not the automatic charging is required includes the steps of: checking the balance of the electronic wallet of the payer before transferring the payment transaction to the block-chain network; And determining whether the automatic charging is required based on the determination result.

일 실시예에서, 상기 재결제 트랜잭션을 생성하는 단계는, 상기 결제 정보에 포함된 결제 금액을 제1 결제 금액으로 변경하여, 상기 결제 트랜잭션을 제1 재결제 트랜잭션으로 변경하는 단계 및 상기 결제 금액과 상기 제1 결제 금액의 차액을 기초로, 제2 재결제 트랜잭션을 생성하는 단계를 포함할 수 있다.In one embodiment, the step of generating the reassignment transaction includes: changing the settlement amount included in the settlement information to a first settlement amount to change the settlement transaction to a first redeem transaction, And generating a second redeem transaction based on the difference in the amount of the one payment.

일 실시예에서, 상기 재결제 트랜잭션을 생성하는 단계는, 상기 결제 트랜잭션을 폐기하는 단계 및 상기 결제 트랜잭션에 기록된 결제 금액과 동일한 결제 금액을 갖는 상기 재결제 트랜잭션을 생성하는 단계를 포함할 수 있다.In one embodiment, generating the re-settlement transaction may include discarding the settlement transaction and generating the re-settlement transaction having the same settlement amount as the settlement amount recorded in the settlement transaction.

일 실시예에서, 상기 결제자의 전자 지갑에 기 설정된 양의 전자 화폐를 충전하는 단계는, 상기 전자 화폐에 대한 자동 충전 트랜잭션을 생성하는 단계, 상기 복수의 블록체인 노드 중 제1 블록체인 노드로 상기 자동 충전 트랜잭션을 전달하고, 상기 제1 블록체인 노드로부터 상기 자동 충전 트랜잭션에 대한 유효성 검증 결과를 획득하는 제1 프로세스를 수행하는 단계, 유효 트랜잭션을 가리키는 검증 결과의 획득에 응답하여, 전자 결제 서비스 제공 서버를 통해 실물 화폐의 결제가 수행되도록 하고, 상기 전자 결제 서비스 제공 서버로부터 상기 실물 화폐의 결제 처리 결과를 획득하는 제2-1 프로세스를 수행하는 단계, 상기 실물 화폐의 정상 처리를 가리키는 결제 처리 결과의 획득에 응답하여, 상기 결제자의 전자 지갑에 전자 화폐를 충전하는 제2-2 프로세스를 수행하는 단계 및 상기 복수의 블록체인 노드 중 제2 블록체인 노드가, 상기 복수의 블록체인 노드에 의해 분산 관리되는 블록체인 데이터에 상기 자동 충전 트랜잭션에 대한 데이터를 기록하고 상기 블록체인 네트워크 상에 전파하는 제3 프로세스를 수행하는 단계를 포함할 수 있다.In one embodiment, the step of charging the electronic purse of the payer with a predetermined amount of electronic money comprises the steps of: generating an automatic charging transaction for the electronic money; transmitting, by the first block chain node among the plurality of block chain nodes, Performing a first process of transferring an automatic charge transaction and obtaining a validation result for the automatic charge transaction from the first block chain node, in response to obtaining a validation result indicating a valid transaction, Performing a second-1 process of performing settlement of real money through a server and acquiring a settlement processing result of the real money from the electronic settlement service providing server, executing a second-1 process of performing settlement of the real money through the server, The electronic wallet of the payer is charged with the electronic money, And a second block-chain node of the plurality of block chain nodes writes data for the automatic charge transaction to block-chain data distributed and managed by the plurality of block-chain nodes, Lt; RTI ID = 0.0 > a < / RTI > third process.

일 실시예에서, 상기 재결제 트랜잭션을 처리하는 단계는, 상기 복수의 블록체인 노드 중 제1 블록체인 노드로 상기 재결제 트랜잭션을 전달하고, 상기 제1 블록체인 노드로부터 상기 재결제 트랜잭션에 대한 유효성 검증 결과를 획득하는 제1 프로세스를 수행하는 단계, 유효 트랜잭션을 가리키는 검증 결과의 획득에 응답하여, 상기 재결제 트랜잭션에 따라 상기 결제자의 전자 지갑에서 수취인의 전자 지갑으로 전자 화폐가 이전되도록 하는 제2 프로세스를 수행하는 단계 및 상기 복수의 블록체인 노드 중 제2 블록체인 노드가, 상기 복수의 블록체인 노드에 의해 분산 관리되는 블록체인 데이터에 상기 재결제 트랜잭션을 기록하고 상기 블록체인 네트워크 상에 전파하는 제3 프로세스를 수행하는 단계를 포함하되, 상기 제2 프로세스 및 상기 제3 프로세스는 병렬로 수행될 수 있다.In one embodiment, the processing of the redeeming transaction comprises: transferring the redeem transaction to a node of a first block of the plurality of block chain nodes; receiving a validation result for the redeem transaction from the first block chain node Performing a second process of transferring the electronic money from the electronic purse of the payer to the electronic purse of the recipient in accordance with the reassignment transaction in response to the acquisition of the verification result indicating the valid transaction And a third process of the second block-chain node among the plurality of block chain nodes recording the re-set transaction in block-chain data distributed and managed by the plurality of block-chain nodes and propagating on the block-chain network , Wherein the second process and the third pro Seuneun may be performed in parallel.

상술한 기술적 과제를 해결하기 위한 본 발명의 다른 실시예에 따른 서비스 제공 서버는, 프로세서, 네트워크 인터페이스, 상기 프로세서에 의하여 수행되는 컴퓨터 프로그램을 로드(Load)하는 메모리 및 상기 컴퓨터 프로그램을 저장하는 스토리지를 포함하되, 상기 컴퓨터 프로그램은, 결제자의 단말로부터, 결제 트랜잭션의 처리 요청이 수신됨에 응답하여, 상기 결제자가 보유한 전자 화폐의 자동 충전 필요 여부를 판정하는 오퍼레이션, 자동 충전이 필요하다는 판정에 응답하여, 상기 결제자의 전자 지갑에 기 설정된 양의 전자 화폐를 충전하는 오퍼레이션, 상기 결제 트랜잭션에 기록된 결제 정보를 기초로 재결제 트랜잭션을 생성하되, 상기 재결제 트랜잭션은 제1 전자 서명과 제2 전자 서명을 포함하고 상기 제1 전자 서명은 상기 서비스 제공 서버에 의해 제공된 것이며 상기 제2 전자 서명은 상기 결제 트랜잭션에 포함된 것인, 오퍼레이션 및 상기 결제자의 단말로 상기 재결제 트랜잭션에 대한 전자 서명을 요청하지 않고, 복수의 블록체인 노드로 구성된 블록체인 네트워크와 연동하여 상기 재결제 트랜잭션을 처리하는 오퍼레이션을 포함할 수 있다. 이때, 상기 블록체인 네트워크를 통해 처리되는 트랜잭션은 적어도 두 개의 전자 서명을 포함하는 트랜잭션일 수 있다.According to another aspect of the present invention, there is provided a service providing server including a processor, a network interface, a memory for loading a computer program executed by the processor, and a storage for storing the computer program. Wherein the computer program comprises: an operation for determining whether automatic payment of the electronic money held by the payer is required, in response to receiving a processing request of a payment transaction from a payer's terminal, Wherein the settlement transaction includes a first electronic signature and a second electronic signature, the recharge transaction including a first electronic signature and a second electronic signature, the recharge transaction including a first electronic signature and a second electronic signature, The first digital signature is transmitted to the service provider And the second digital signature is included in the payment transaction, and interworking with a block-chain network comprised of a plurality of block-chain nodes, without requesting an electronic signature for the re-settlement transaction to the terminal of the payer And processing the reassignment transaction. At this time, the transaction processed through the block-chain network may be a transaction including at least two digital signatures.

상술한 기술적 과제를 해결하기 위한 본 발명의 또 다른 실시예에 따른 컴퓨터 프로그램은, 컴퓨팅 장치와 결합되어, 결제자의 단말로부터, 결제 트랜잭션의 처리 요청이 수신됨에 응답하여, 상기 결제자가 보유한 전자 화폐의 자동 충전 필요 여부를 판정하는 단계, 자동 충전이 필요하다는 판정에 응답하여, 상기 결제자의 전자 지갑에 기 설정된 양의 전자 화폐를 충전하는 단계, 상기 결제 트랜잭션에 기록된 결제 정보를 기초로 재결제 트랜잭션을 생성하되, 상기 재결제 트랜잭션은 제1 전자 서명과 제2 전자 서명을 포함하고 상기 제1 전자 서명은 상기 서비스 제공 서버에 의해 제공된 것이며 상기 제2 전자 서명은 상기 결제 트랜잭션에 포함된 것인, 단계 및 상기 결제자의 단말로 상기 재결제 트랜잭션에 대한 전자 서명을 요청하지 않고, 복수의 블록체인 노드로 구성된 블록체인 네트워크와 연동하여 상기 재결제 트랜잭션을 처리하되, 상기 블록체인 네트워크를 통해 처리되는 트랜잭션은 적어도 두 개의 전자 서명을 포함하는 것인, 단계를 실행시키기 위하여 컴퓨터로 판독가능한 기록매체에 저장될 수 있다.According to another aspect of the present invention, there is provided a computer program for causing a computer to execute the steps of: receiving, from a payer's terminal, The method comprising the steps of: determining whether automatic charging is required; charging a predetermined amount of electronic money in the electronic wallet of the payer in response to a determination that automatic charging is necessary; determining a recharge transaction based on the payment information recorded in the payment transaction Wherein the reassignment transaction comprises a first electronic signature and a second electronic signature, the first electronic signature being provided by the service providing server and the second electronic signature being included in the payment transaction; and It is not necessary to request a digital signature of the re-settlement transaction to the terminal of the payer, Chain chain, the transaction being processed through the block-chain network comprises at least two digital signatures. The computer-readable medium as recited in claim 1, Lt; / RTI >

상술한 본 발명에 따르면, 서비스 제공 서버에 기 저장된 결제자의 비밀키를 이용하여 재결제 트랜잭션에 대한 전자 서명이 자동으로 수행될 수 있다. 이를 통해, 자동 충전에 따라 재결제 트랜잭션이 발생되더라도 결제자의 전자 서명을 요구함 없이 블록체인 시스템을 통해 상기 재결제 트랜잭션이 처리될 수 있다. 따라서, 사용자 편의성이 향상되고, 자동 충전 서비스를 이용하는 사용자의 만족도가 제고될 수 있다.According to the present invention, the digital signature of the re-settlement transaction can be automatically performed using the secret key of the payer previously stored in the service providing server. This allows the re-set transaction to be processed through the block chain system without requiring the electronic signature of the payer even if a re-set transaction occurs according to automatic charging. Therefore, user convenience is improved and the satisfaction of the user using the automatic charging service can be enhanced.

또한, 퍼미션 기반 블록체인 네트워크를 통해 사전 확보된 신뢰성에 기초하여, 자동 충전 트랜잭션 및 재결제 트랜잭션이 즉각적으로 처리될 수 있다. 이에 따라, 리드 타임 발생으로 인한 사용자 편의성 저하 문제가 해결될 수 있다.Further, based on the pre-secured credibility over the permission-based block-chain network, the automatic charge transaction and the reassignment transaction can be processed immediately. Accordingly, the problem of deterioration in user convenience due to the occurrence of the lead time can be solved.

본 발명의 효과들은 이상에서 언급한 효과들로 제한되지 않으며, 언급되지 않은 또 다른 효과들은 아래의 기재로부터 통상의 기술자에게 명확하게 이해될 수 있을 것이다.The effects of the present invention are not limited to the effects mentioned above, and other effects not mentioned can be clearly understood to those of ordinary skill in the art from the following description.

도 1은 본 발명의 몇몇 실시예에서 참조될 수 있는 블록체인 데이터의 구조를 설명하기 위한 도면이다.
도 2는 종래의 블록체인 기반 시스템에서 수행되는 트랜잭션 처리 과정을 설명하기 위한 도면이다.
도 3은 본 발명의 일 실시예에 따른 블록체인 기반 전자 화폐 자동 충전 시스템의 구성도이다.
도 4a 및 도 4b는 상기 블록체인 기반 전자 화폐 자동 충전 시스템에서 인증된 사용자와 비인증 사용자에 의해 요청된 트랜잭션이 처리되는 과정을 비교 설명하기 위한 도면이다.
도 5a 및 도 5b는 상기 블록체인 기반 전자 화폐 자동 충전 시스템에서 자동 충전 트랜잭션 및 재결제 트랜잭션이 처리되는 과정을 설명하기 위한 개념도이다.
도 6은 상기 블록체인 기반 전자 화폐 자동 충전 시스템의 일 구성 요소인 서비스 제공 서버(100)를 나타내는 예시적인 블록도이다.
도 7은 상기 블록체인 기반 전자 화폐 자동 충전 시스템의 일 구성 요소인 서비스 제공 서버(100)의 하드웨어 구성도이다.
도 8은 본 발명의 일 실시예에 따른 블록체인 기반 전자 화폐 자동 충전 방법의 흐름도이다.
도 9a 내지 도 9c는 본 발명의 몇몇 실시예에서 참조될 수 있는 다중 서명 기법을 설명하기 위한 도면이다.
도 10 및 도 11은 본 발명의 몇몇 실시예에서 참조될 수 있는 재결제 트랜잭션 생성 방법을 설명하기 위한 도면이다.
도 12는 상기 블록체인 기반 전자 화폐 자동 충전 시스템의 관점에서 본 발명의 실시예에 따른 블록체인 기반 전자 화폐 자동 충전 방법을 설명하기 위한 흐름도이다.
1 is a diagram for explaining the structure of block-chain data that can be referred to in some embodiments of the present invention.
2 is a diagram for explaining a transaction process performed in a conventional block-chain-based system.
3 is a block diagram of a block chain-based electronic money automatic charging system according to an embodiment of the present invention.
FIGS. 4A and 4B are views for explaining a process of processing a transaction requested by an authenticated user and an unauthorized user in the block chain-based electronic money automatic charging system.
5A and 5B are conceptual diagrams illustrating a process in which an automatic recharge transaction and a recharge transaction are processed in the block chain-based electronic money automatic recharging system.
FIG. 6 is an exemplary block diagram illustrating a service providing server 100, which is a component of the block chain-based electronic money automatic charging system.
FIG. 7 is a hardware configuration diagram of the service providing server 100, which is a component of the block chain-based electronic money automatic charging system.
8 is a flowchart of a block chain-based electronic money automatic charging method according to an embodiment of the present invention.
Figures 9A-9C illustrate multiple signature schemes that may be referenced in some embodiments of the present invention.
10 and 11 are diagrams illustrating a re-creation transaction generation method that can be referred to in some embodiments of the present invention.
FIG. 12 is a flowchart for explaining a block chain-based electronic money automatic charging method according to an embodiment of the present invention, in view of the block chain-based electronic money automatic charging system.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예들을 상세히 설명한다. 본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 명세서 전체에 걸쳐 동일 참조 부호는 동일 구성 요소를 지칭한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS The advantages and features of the present invention, and the manner of achieving them, will be apparent from and elucidated with reference to the embodiments described hereinafter in conjunction with the accompanying drawings. The present invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art. To fully disclose the scope of the invention to those skilled in the art, and the invention is only defined by the scope of the claims. Like reference numerals refer to like elements throughout the specification.

다른 정의가 없다면, 본 명세서에서 사용되는 모든 용어(기술 및 과학적 용어를 포함)는 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 공통적으로 이해될 수 있는 의미로 사용될 수 있다. 또 일반적으로 사용되는 사전에 정의되어 있는 용어들은 명백하게 특별히 정의되어 있지 않는 한 이상적으로 또는 과도하게 해석되지 않는다. 본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다.Unless defined otherwise, all terms (including technical and scientific terms) used herein may be used in a sense commonly understood by one of ordinary skill in the art to which this invention belongs. Also, commonly used predefined terms are not ideally or excessively interpreted unless explicitly defined otherwise. The terminology used herein is for the purpose of illustrating embodiments and is not intended to be limiting of the present invention. In the present specification, the singular form includes plural forms unless otherwise specified in the specification.

명세서에서 사용되는 "포함한다 (comprises)" 및/또는 "포함하는 (comprising)"은 언급된 구성 요소, 단계, 동작 및/또는 소자는 하나 이상의 다른 구성 요소, 단계, 동작 및/또는 소자의 존재 또는 추가를 배제하지 않는다.It is noted that the terms "comprises" and / or "comprising" used in the specification are intended to be inclusive in a manner similar to the components, steps, operations, and / Or additions.

본 명세서에 대한 설명에 앞서, 본 명세서에서 사용되는 몇몇 용어들에 대하여 명확하게 하기로 한다.Prior to the description of the present specification, some terms used in this specification will be clarified.

본 명세서에서, 블록체인 데이터란 블록체인 네트워크를 구성하는 각각의 블록체인 노드가 유지하는 데이터로, 적어도 하나의 블록이 체인 형태의 자료 구조로 구성되는 데이터를 의미한다. 각 블록에 기록된 데이터가 트랜잭션 데이터인 경우, 상기 블록체인 데이터는 분산 원장으로 이용될 수 있다. 다만, 각 블록에 기록되는 데이터의 종류는 얼마든지 달라질 수 있다. 상기 블록체인 데이터의 구조는 도 1을 참조하도록 한다.In this specification, block chain data refers to data held by each block chain node constituting a block-chain network, and at least one block is constituted by a chain-type data structure. If the data recorded in each block is transaction data, the block-chain data can be used as a distributed general ledger. However, the type of data recorded in each block may vary. The structure of the block chain data will be described with reference to FIG.

본 명세서에서, 블록체인 네트워크란, 블록체인 알고리즘에 따라 동작하는 복수의 블록체인 노드로 구성된 P2P 구조의 네트워크를 의미한다.In this specification, a block-chain network means a network of a P2P structure composed of a plurality of block-chain nodes operating according to a block-chain algorithm.

본 명세서에서, 블록체인 노드란, 블록체인 네트워크를 구성하고 블록체인 알고리즘에 기초하여 블록체인 데이터를 유지하고 관리하는 컴퓨팅 노드를 의미한다. 각 블록체인 노드는 하나의 물리적 컴퓨팅 장치로 구현될 수 있으나, 가상 머신(virtual machine) 등과 같이 하나의 논리적 컴퓨팅 장치로 구현될 수도 있다. 가상 머신으로 구현되는 경우, 독립된 물리적 컴퓨팅 장치에 복수의 블록체인 노드가 존재할 수 있다.In this specification, a block chain node means a computing node that constitutes a block-chain network and maintains and manages block-chain data based on a block-chain algorithm. Each block chain node may be implemented as a single physical computing device, but may also be implemented as a single logical computing device, such as a virtual machine. When implemented in a virtual machine, there may be multiple block chain nodes in an independent physical computing device.

본 명세서에서, 블록 생성 노드란, 블록체인 네트워크를 구성하는 블록체인 노드 중에서 채굴(mining)과 같이 블록체인 알고리즘에 따른 블록 생성 동작을 수행하여 신규 블록을 생성하는 노드를 의미한다.In this specification, a block generation node refers to a node generating a new block by performing a block generation operation according to a block chain algorithm such as mining among block chain nodes constituting a block-chain network.

본 명세서에서, 가상 화폐란, 광의의 의미로 실물 없이 사이버 상으로 거래되는 전자 화폐를 의미한다. 협의의 의미의 가상 화폐는 예를 들어 비트코인과 같이 블록체인 상에 채굴을 통해 발행되는 전자 화폐를 의미하며, 당해 기술 분야에서 네이티브 애셋(native asset) 등의 용어와 혼용되어 사용될 수 있다.In the present specification, virtual money means electronic money that is traded in cyberspace in a broad sense. The virtual currency of the negotiation means, for example, electronic money issued through mining on a block chain such as a bit coin, and can be used in combination with terms such as a native asset in the related art.

본 명세서에서, 사용자 정의 화폐란, 상기 가상 화폐에 기반하여 사용자에 의해 정의된 화폐를 의미한다. 예를 들어, 상기 사용자 정의 화폐는 오픈 애셋 프로토콜(open asset protocol)을 이용하여 거래 서비스의 운영자에 의해 정의된 화폐가 될 수 있다. 참고로, 상기 가상 화폐 및/또는 상기 사용자 정의 화폐에서 "화폐"란 용어는 교환 수단이 되는 화폐 외에도 거래 대상이 되는 자산까지 포함하는 포괄적인 의미로 이용될 수도 있다. 예를 들어, 상기 사용자 정의 화폐는 포인트, 마일리지 등의 포인트형 화폐, 실물 화폐 외에 주식, 채권 등의 금융 자산까지 포함할 수 있다. 상기 사용자 정의 화폐는 당해 기술 분야에서 커스텀 애셋(custom asset) 등의 용어와 혼용되어 사용될 수 있다.In this specification, a user-defined currency means a currency defined by a user based on the virtual currency. For example, the user defined currency may be money defined by the operator of the transaction service using an open asset protocol. For reference, the term "money" in the virtual currency and / or the user-defined currency may be used in a generic sense including not only money as an exchange means but also assets to be traded. For example, the user-defined currency may include point-type currencies such as points and mileage, financial assets such as stocks, bonds, etc. in addition to real money. The user defined currency may be used interchangeably with the term " custom asset " in the art.

본 명세서에서, 오픈 애셋 프로토콜은 블록체인 상의 가상 화폐에 기반하여 사용자 정의 화폐를 발행하는 자산 발행 기술을 의미한다. 상기 오픈 애셋 프로토콜은 당해 기술 분야에서 컬러드 코인(colored coin) 등의 용어와 혼용되어 사용될 수 있다.In this specification, the open asset protocol refers to an asset issuing technology that issues user-defined currencies based on virtual currency on a block chain. The open-asset protocol may be used interchangeably with terms such as colored coin in the art.

본 명세서에서, 퍼미션(permission)은 인증(authentication)과 인가(authorization)를 포함하는 포괄적인 개념으로 이해될 수 있다.In this specification, permission can be understood as a comprehensive concept including authentication and authorization.

이하, 본 발명의 몇몇 실시예들에 대하여 첨부된 도면에 따라 상세하게 설명한다.Hereinafter, some embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 3은 본 발명의 일 실시예에 따른 블록체인 기반 전자 화폐 자동 충전 시스템의 구성도이다.3 is a block diagram of a block chain-based electronic money automatic charging system according to an embodiment of the present invention.

도 3을 참조하면, 블록체인 기반 전자 화폐 자동 충전 시스템은 서비스 제공 서버(100), 전자 결제 서비스 제공 서버(200), 블록체인 네트워크(300) 및 사용자 단말(400)을 포함하도록 구성될 수 있다. 단, 이는 본 발명의 목적을 달성하기 위한 바람직한 실시예일 뿐이며, 필요에 따라 일부 구성 요소가 추가되거나 삭제될 수 있음은 물론이다. 또한, 도 3에 도시된 블록체인 기반 전자 화폐 자동 충전 시스템의 각각의 구성 요소들은 기능적으로 구분되는 기능 요소들을 나타낸 것으로서, 적어도 하나의 구성 요소가 실제 물리적 환경에서는 서로 통합되는 형태로 구현될 수도 있음에 유의한다. 예를 들어, 서비스 제공 서버(100) 및 전자 결제 서비스 제공 서버(200)가 하나의 물리적 컴퓨팅 장치로 구현될 수 있고, 서비스 제공 서버(100) 및/또는 전자 결제 서비스 제공 서버(200)가 블록체인 네트워크(300)를 구성하는 적어도 하나의 블록체인 노드로 구현될 수도 있다. 이하, 블록체인 기반 전자 화폐 자동 충전 시스템의 각 구성 요소에 대하여 설명한다.3, the block chain-based electronic money automatic charging system may be configured to include a service providing server 100, an electronic settlement service providing server 200, a block chain network 300 and a user terminal 400 . However, it should be understood that the present invention is not limited to the above-described embodiments, and that various changes and modifications may be made without departing from the scope of the present invention. In addition, each of the components of the block chain-based electronic money automatic charging system shown in FIG. 3 shows functional elements that are functionally separated, and at least one component may be implemented in a form that they are integrated with each other in an actual physical environment . For example, the service providing server 100 and the electronic settlement service providing server 200 can be implemented as one physical computing device, and the service providing server 100 and / And may be implemented with at least one block-chain node that constitutes the chain network 300. Hereinafter, each component of the block chain-based electronic money automatic charging system will be described.

상기 블록체인 기반 전자 화폐 자동 충전 시스템에서, 서비스 제공 서버(100)는 블록체인 네트워크(300) 및 전자 결제 서비스 제공 서버(200)와 연동하여 전자 화폐 자동 충전 서비스를 제공하는 컴퓨팅 장치이다. 여기서, 상기 컴퓨팅 장치는, 노트북, 데스크톱(desktop), 랩탑(laptop) 등이 될 수 있으나, 이에 국한되는 것은 아니며 연산 수단 및 통신 수단이 구비된 모든 종류의 장치를 포함할 수 있다. 또한, 전자 화폐는 예를 들어 가상 화폐, 사용자 정의 화폐 등이 될 수 있다. 다만, 이해의 편의를 제공하기 위해 별다른 언급이 없는 한, 상기 전자 화폐는 소정의 포인트인 경우를 예시하여 설명하도록 한다. 다만, 상기 예시는 본 발명의 일부 실시예를 설명하기 위한 것일 뿐, 본 발명의 범위가 특정 전자 화폐의 종류에 국한되는 것은 아니다.In the block chain-based electronic money automatic charging system, the service providing server 100 is a computing device that provides an electronic money automatic charging service in cooperation with the block chain network 300 and the electronic settlement service providing server 200. Here, the computing device may be a notebook computer, a desktop computer, a laptop computer, or the like. However, the computing device may include all kinds of devices including computing means and communication means. In addition, the electronic money can be, for example, virtual money, user-defined money, and the like. However, in order to provide convenience of understanding, the case where the electronic money is a predetermined point will be described by way of example, unless otherwise stated. It should be noted that the above example is only for explaining some embodiments of the present invention, and the scope of the present invention is not limited to the kind of electronic money.

서비스 제공 서버(100)는 자동 충전 서비스를 이용하는 사용자의 단말(400)로부터 결제 트랜잭션에 대한 처리 요청을 수신하고, 자동 충전이 필요한지 여부를 판정한다. 또한, 자동 충전 필요 판정에 응답하여, 서비스 제공 서버(100)는 자동으로 포인트에 대한 자동 충전 트랜잭션을 생성하고, 생성된 자동 충전 트랜잭션을 블록체인 네트워크(300)와 연동하여 처리한다.The service providing server 100 receives the processing request for the payment transaction from the terminal 400 of the user using the automatic charging service and determines whether automatic charging is necessary. Also, in response to the automatic charging necessity determination, the service providing server 100 automatically generates an automatic charging transaction for the point and processes the generated automatic charging transaction in conjunction with the block chain network 300. [

또한, 서비스 제공 서버(100)는 상기 결제 트랜잭션에 포함된 결제 정보에 기초하여 재결제 트랜잭션을 생성하고, 상기 재결제 트랜잭션을 블록체인 네트워크(300)와 연동하여 처리한다.Also, the service providing server 100 generates a re-settlement transaction based on the settlement information included in the settlement transaction, and processes the re-settlement transaction in cooperation with the block-chain network 300. [

본 발명의 실시예에 따르면, 서비스 제공 서버(100)는 다중 전자 서명 기법을 활용하여 상기 재결제 트랜잭션에 대한 전자 서명을 사용자에게 요구하지 않고 처리할 수 있다. 본 실시예에 대한 설명은 도 9a 내지 도 9c 등의 도면을 참조하여 후술하도록 한다.According to the embodiment of the present invention, the service providing server 100 can process the digital signature for the re-set transaction without requiring the user by utilizing the multiple digital signature technique. The description of this embodiment will be given later with reference to figures 9A to 9C and the like.

본 발명의 실시예에 따르면, 서비스 제공 서버(100)는 퍼미션 기반 블록체인 네트워크를 통해 확보된 신뢰성 기반으로 자동 충전 트랜잭션 및 재결제 트랜잭션 처리에 소요되는 리드 타임을 최소화할 수 있다. 본 실시예에 대한 설명은 도 4a 내지 도 5b 등의 도면을 참조하여 후술하도록 한다.According to the embodiment of the present invention, the service providing server 100 can minimize the lead time required for the automatic charging transaction and the reassignment transaction process based on the reliability secured through the permission-based block chain network. The description of this embodiment will be given later with reference to the drawings of Figs. 4A to 5B and the like.

상기 블록체인 기반 전자 화폐 자동 충전 시스템에서, 전자 결제 서비스 제공 서버(200)는 서비스 제공 서버(100)의 요청에 응답하여 자동 충전 포인트에 대응되는 실물 화폐의 전자 결제를 처리하는 컴퓨팅 장치이다. 여기서, 상기 컴퓨팅 장치는, 노트북, 데스크톱(desktop), 랩탑(laptop) 등이 될 수 있으나, 이에 국한되는 것은 아니며 연산 수단 및 통신 수단이 구비된 모든 종류의 장치를 포함할 수 있다.In the block chain-based electronic money automatic charging system, the electronic settlement service providing server 200 is a computing device that processes an electronic settlement of real money corresponding to an automatic charge point in response to a request from the service providing server 100. [ Here, the computing device may be a notebook computer, a desktop computer, a laptop computer, or the like. However, the computing device may include all kinds of devices including computing means and communication means.

전자 결제 서비스 제공 서버(200)가 전자 결제를 처리하는 방식은 예를 들어 계좌 이체, 카드 결제 등이 될 수 있으며, 어떠한 방식으로 구현되더라도 무방하다.The manner in which the electronic settlement service providing server 200 processes the electronic settlement may be, for example, account transfer, card settlement, or the like, and may be implemented in any manner.

상기 블록체인 기반 전자 화폐 자동 충전 시스템에서, 블록체인 네트워크(300)는 블록체인 알고리즘에 따라 동작하는 복수의 블록체인 노드를 포함하도록 구성될 수 있다. 상기 복수의 블록체인 노드는 서비스 제공 서버(100)의 트랜잭션 처리 요청에 응답하여 해당 트랜잭션의 유효성을 검증하고, 검증된 트랜잭션을 신규 블록에 기록하며, 블록체인 네트워크(300) 상에 전파한다. 각각의 블록체인 노드는 동일한 블록체인 데이터를 유지한다.In the block chain-based electronic money auto-charging system, the block-chained network 300 may be configured to include a plurality of block-chain nodes operating in accordance with a block-chain algorithm. The plurality of block chain nodes validate the corresponding transaction in response to the transaction processing request of the service providing server 100, write the verified transaction to the new block, and propagate on the block chain network 300. Each block chain node maintains the same block chain data.

본 발명의 실시예에 따르면, 블록체인 네트워크(300)는 퍼미션 기반 블록체인 네트워크로 구현될 수 있다. 즉, 블록체인 네트워크(300)는 퍼미션이 검증된 참여자(e.g. 사용자, 블록체인 노드)만이 참여할 수 있는 제한된 네트워크일 수 있다. 여기서, 상기 퍼미션 기반 블록체인 네트워크는 당해 기술 분야에서 사설 블록체인 네트워크(private blockchain network) 등의 용어와 혼용되어 사용될 수 있으나, 동일한 의미를 지칭할 수 있다. 본 실시예에 따르면, 불특정 노드의 참여 및 허가되지 않은 사용자의 요청은 제한될 수 있다. 즉, 자동 충전 서비스를 이용하는 사용자, 상기 사용자에 의해 요청된 각종 트랜잭션 및 트랜잭션 처리를 수행하는 블록체인 노드 등에 대한 신뢰성이 사전에 확보될 수 있다. 이에 따라, 블록 생성에 소요되는 과도한 작업 증명(proof of work)의 요건이 완화될 수 있을 뿐만 아니라, 기 확보된 신뢰성에 기초하여 요청된 트랜잭션이 즉각적으로 처리될 수 있다. 본 실시예에 대한 자세한 설명은 도 4a 내지 도 5b를 참조하여 부연 설명하도록 한다.According to an embodiment of the present invention, the block-chained network 300 may be implemented as a permission-based block-chaining network. That is, the block-chained network 300 may be a restricted network in which only authorized participants (e.g., users, block-chain nodes) can participate. Here, the permission-based block chain network may be used in common with the private blockchain network and the like, but may have the same meaning. According to the present embodiment, participation of unspecified nodes and requests of unauthorized users can be restricted. That is, reliability can be secured in advance for a user who uses the automatic charging service, various transactions requested by the user, and a block chain node that performs transaction processing. This not only alleviates the requirement for excessive proof of work required for block creation, but also allows the requested transaction to be immediately processed based on the pre-existing reliability. A detailed description of this embodiment will be further described with reference to Figs. 4A to 5B.

본 발명의 실시예에 따르면, 블록체인 네트워크(300)는 제1 블록체인 데이터 및 상기 제1 블록체인 데이터와 별개로 구성된 제2 블록체인 데이터를 블록체인 노드에 분산 저장할 수 있다. 이때, 상기 제1 블록체인 데이터는 사용자 및 블록체인 노드의 퍼미션 정보가 기록된 인증 블록체인이고, 상기 제2 블록체인 데이터는 트랜잭션 데이터가 기록된 거래 블록체인을 의미할 수 있다. 즉, 블록체인 네트워크(300)는 서로 다른 용도를 갖는 데이터를 서로 다른 블록체인으로 관리할 수 있다. 상기 제1 블록체인 데이터는 퍼미션 기반 블록체인 네트워크(300)에서 퍼미션 검증의 용도로 이용되고, 상기 제2 블록체인 데이터는 트랜잭션 처리의 용도로 이용될 수 있다. 본 실시예에 대한 설명은 이후 도 4a 및 도 4b를 참조하여 부연 설명하도록 한다.According to the embodiment of the present invention, the block-chaining network 300 may distribute the first block-chain data and the second block-chain data configured separately from the first block-chain data to the block-chain node. In this case, the first block chain data may be an authorization block chain in which permission information of a user and a block chain node is recorded, and the second block chain data may be a transaction block chain in which transaction data is recorded. That is, the block-chain network 300 can manage data having different uses in different block chains. The first block chain data may be used for permission verification in the permission based block chain network 300, and the second block chain data may be used for transaction processing. The description of this embodiment will be further described with reference to Figs. 4A and 4B.

본 발명의 실시예에 따르면, 블록체인 네트워크(300)를 구성하는 복수의 블록체인 노드 중 적어도 하나의 노드는 모니터링 노드(monitoring node)일 수 있다. 상기 모니터링 노드는 다른 블록체인 노드의 상태 및 동작을 모니터링하는 특수 유형의 노드를 의미한다. 특히, 상기 모니터링 노드는 복수의 블록체인 노드 중 블록 생성 노드의 신규 블록 생성을 모니터링할 수 있다. 구체적으로, 상기 모니터링 노드는 블록체인 네트워크(300) 상에서 전파되는 신규 블록을 수신하고, 상기 신규 블록이 수신됨에 응답하여, 상기 신규 블록에 기록된 타임스탬프 값을 기초로 블록 생성 시간을 산출할 수 있다. 예를 들어, 블록 번호 k(단, k는 1 이상의 자연수)를 갖는 제1 블록 이후에 블록 번호 k+1를 갖는 제2 블록이 수신되면 상기 제1 블록에 기록된 제1 타임스탬프와 상기 제2 블록에 기록된 제2 타임스탬프의 차이를 기초로 블록 생성 시간을 산출할 수 있다. 상기 산출된 블록 생성 시간은 블록체인 관리 장치(미도시)로 전송되어, 상기 블록체인 관리 장치(미도시)에 의해 블록 생성 시간을 제어하는데 이용될 수 있다.According to an embodiment of the present invention, at least one of the plurality of block chain nodes constituting the block-chain network 300 may be a monitoring node. The monitoring node refers to a special type of node that monitors the status and operation of other block-chain nodes. In particular, the monitoring node may monitor the creation of a new block of a block generating node among a plurality of block chain nodes. Specifically, the monitoring node receives a new block that is propagated on the block-chain network 300, and in response to receiving the new block, calculates a block creation time based on the timestamp value recorded in the new block have. For example, if a second block having a block number k + 1 is received after a first block having a block number k (k is a natural number equal to or greater than 1), the first time stamp recorded in the first block and the second time stamp The block generation time can be calculated on the basis of the difference of the second time stamp recorded in the two blocks. The calculated block generation time may be transmitted to a block-chain management apparatus (not shown) and used to control the block generation time by the block-chain management apparatus (not shown).

예를 들어, 블록체인 관리 장치(미도시)는 상기 모니터링 노드로부터 블록 생성 시간을 수신하여 평균 블록 생성 시간을 산출하고, 상기 평균 블록 생성 시간을 목표 시간과 비교할 수 있다. 또한, 블록체인 관리 장치(미도시)는 비교 결과에 따라 블록 생성의 난이도를 조정함으로써, 기 설정된 목표 시간에 따라 블록체인 네트워크(300)의 블록 생성 시간을 제어할 수 있다. 참고로, 블록체인 네트워크(300)가 퍼미션 기반 블록체인 네트워크로 구성되는 경우, 블록체인 관리 장치(미도시)는 상기 목표 시간을 작은 값으로 설정함으로써 트랜잭션 확정이 소요되는 시간을 줄일 수 있다.For example, a block-chain management apparatus (not shown) may receive a block generation time from the monitoring node, calculate an average block generation time, and compare the average block generation time with a target time. In addition, the block-chain management apparatus (not shown) may control the block generation time of the block-chained network 300 according to the predetermined target time by adjusting the difficulty level of block generation according to the comparison result. For example, when the block-chain network 300 is configured as a permission-based block-chain network, the block-chain management apparatus (not shown) sets the target time to a small value, thereby reducing the time required for transaction confirmation.

상기 블록체인 기반 전자 화폐 자동 충전 시스템에서, 사용자 단말(400)은 블록체인 기반의 자동 충전 서비스 및 트랜잭션 처리 서비스를 이용하는 사용자의 단말이다. 상기 사용자는 거래 당사자 중 일방으로 예를 들어 매장에서 상품을 구매하고 상품의 대금을 포인트로 결제하는 결제자일 수 있다. 이하에서, 다른 언급이 없는 한, 상기 사용자는 결제자인 것으로 가정하고, 사용자 단말(400)은 결제자 단말로 명명하도록 한다.In the block chain-based electronic money automatic charging system, the user terminal 400 is a user terminal using a block chain-based automatic charging service and a transaction processing service. The user may be one of the trading partners, for example, a payer who buys a commodity at a store and pays a commodity for a point. Hereinafter, unless otherwise stated, it is assumed that the user is a payer and the user terminal 400 is referred to as a payer terminal.

결제자 단말(400)에는 블록체인 네트워크(300)를 통해 각종 트랜잭션 처리 서비스를 제공하는 전자 지갑 어플리케이션이 탑재될 수 있다. 상기 전자 어플리케이션의 퍼미션 검증을 위해 서비스 제공 서버(100) 및/또는 블록체인 관리 장치(미도시) 등에 의해 API(application programming interface) 키가 발급될 수 있다. 발급된 API 키는 각각의 블록체인 노드가 관리하는 블록체인 데이터에 기록되어, 어플리케이션의 퍼미션 검증에 이용될 수 있다.An electronic wallet application that provides various transaction processing services through the block chain network 300 may be installed in the biller terminal 400. [ An API (application programming interface) key may be issued by the service providing server 100 and / or the block chain management device (not shown) for permission verification of the electronic application. The issued API key is recorded in the block chain data managed by each block chain node, and can be used for permission verification of the application.

도 3에 도시된 블록체인 기반 전자 화폐 자동 충전 시스템의 각 구성 요소는 네트워크를 통해 통신할 수 있다. 여기서, 상기 네트워크는 근거리 통신망(Local Area Network; LAN), 광역 통신망(Wide Area Network; WAN), 이동 통신망(mobile radio communication network), Wibro(Wireless Broadband Internet) 등과 같은 모든 종류의 유/무선 네트워크로 구현될 수 있다.Each component of the block-chain-based electronic money automatic charging system shown in Fig. 3 can communicate via a network. Here, the network may be any kind of wired / wireless network such as a local area network (LAN), a wide area network (WAN), a mobile radio communication network, a wibro Can be implemented.

지금까지, 도 3을 참조하여 본 발명의 일 실시예에 따른 블록체인 기반 전자 화폐 자동 충전 시스템에 대하여 설명하였다. 이하에서는 도 4a 내지 도 5b를 참조하여, 블록체인 기반 전자 화폐 자동 충전 시스템에서 결제 트랜잭션 및 자동 충전 트랜잭션이 처리되는 과정에 대하여 설명하도록 한다.Up to now, a block chain-based electronic money automatic charging system according to an embodiment of the present invention has been described with reference to FIG. Hereinafter, a process of processing a payment transaction and an automatic charge transaction in the block chain-based electronic money automatic charging system will be described with reference to FIGS. 4A to 5B.

도 4a 및 도 4b는 인증된 사용자와 비인증 사용자에 의해 요청된 결제 트랜잭션이 처리되는 과정을 비교 설명하기 위한 도면이다. 구체적으로, 도 4a는 인증된 사용자(이하, "제1 결제자"로 명명함)에 의해 요청된 결제 트랜잭션이 처리되는 과정을 도시하고, 도 4b는 비인증 사용자(이하, "제2 결제자"로 명명함)에 의해 요청된 결제 트랜잭션이 처리되는 과정을 도시한다.FIGS. 4A and 4B are diagrams for explaining a process of processing a payment transaction requested by an authenticated user and an unauthorized user. 4A shows a process of processing a payment transaction requested by an authenticated user (hereinafter referred to as a " first payer "), Quot;) < / RTI > is processed.

먼저 도 4a를 참조하면, 상기 제1 결제자의 단말로부터 결제 트랜잭션 처리 요청이 수신됨에 응답하여(①), 서비스 제공 서버(100)는 상기 제1 결제자에 대한 퍼미션 검증을 수행한다(②). 상기 퍼미션 검증은 인증 블록체인(300a)에 기록된 퍼미션 정보에 기초하여 수행될 수 있다.Referring to FIG. 4A, in response to receiving a payment transaction processing request from the terminal of the first payer, the service providing server 100 performs a permission verification for the first payer. The permission verification may be performed based on the permission information recorded in the authentication block chain 300a.

구체적으로, 서비스 제공 서버(100)는 상기 결제 트랜잭션 처리 요청과 함께 상기 제1 결제자의 식별 정보를 수신하고, 상기 수신된 식별 정보를 이용하여, 인증 블록체인(300a)에서 상기 제1 결제자의 퍼미션 정보를 획득하며, 상기 획득된 제1 결제자의 퍼미션 정보를 통해 상기 제1 결제자에 대한 퍼미션 검증을 수행할 수 있다. 이때, 상기 식별 정보는 ID, 사용자의 이름, 전자 서명 등이 될 수 있고, 인증 블록체인(300a)에 기록된 퍼미션 정보는 공개키, 인증서, 패스워드 등이 될 수 있으며, 이는 시스템의 구현 형태에 따라 얼마든지 달라질 수 있다. 참고로, 사용자의 공개키가 퍼미션 정보로 이용되는 경우, 결제 트랜잭션에 포함된 상기 제1 결제자의 전자 서명을 검증하는 방식으로 퍼미션 검증이 수행될 수 있다.Specifically, the service providing server 100 receives the identification information of the first payer, together with the payment transaction processing request, and uses the received identification information to identify, in the authentication block chain 300a, And perform permission verification of the first payee through the acquired permission information of the first payee. In this case, the identification information may be an ID, a name of a user, a digital signature, and the permission information recorded in the authentication block chain 300a may be a public key, a certificate, a password, It can vary as much as you like. For reference, when the public key of the user is used as the permission information, the permission verification may be performed by a method of verifying the digital signature of the first payer included in the payment transaction.

본 발명의 실시예에 따르면, 서비스 제공 서버(100)는 상기 제1 결제자의 단말에 탑재된 어플리케이션에 대한 퍼미션 검증을 더 수행할 수 있다. 구체적으로, 서비스 제공 서버(100)가 결제 트랜잭션 처리 요청과 함께 상기 제1 결제자의 단말에 탑재된 전자 지갑 어플리케이션의 API 키 정보를 수신하고, 상기 수신된 API 키 정보가 인증 블록체인(300a)에 기록되어 있는지를 검증하는 방식으로 상기 전자 지갑 어플리케이션에 대한 퍼미션 검증을 수행할 수 있다. 즉, 인증 블록체인(300a)에 화이트 리스트(whitelist)로 구성된 전자 지갑 어플리케이션에 대한 API 키 정보가 분산 저장되고, 상기 화이트 리스트를 이용하여 전자 지갑 어플리케이션에 대한 퍼미션 검증이 수행될 수 있다. 실시예에 따라, 블랙 리스트(blacklist)로 구성된 전자 지갑 어플리케이션에 대한 API 키 정보 또한 인증 블록체인(300a)에 분산 저장될 수 있다.According to the embodiment of the present invention, the service providing server 100 may further perform a permission verification of an application installed in the terminal of the first payer. Specifically, the service providing server 100 receives the API key information of the electronic wallet application installed in the terminal of the first payer with the payment transaction processing request, and the received API key information is transmitted to the authentication block chain 300a The verification of the electronic wallet application can be performed by verifying whether the electronic wallet application is recorded. That is, API key information for an electronic wallet application constituted by a whitelist is distributed and stored in the authentication block chain 300a, and permission verification for an electronic wallet application can be performed using the white list. According to the embodiment, API key information for an electronic wallet application configured with a blacklist can also be distributedly stored in the authentication block chain 300a.

상술한 바에 따라, 상기 제1 결제자 및/또는 상기 제1 결제자의 단말에 탑재된 전자 지갑 어플리케이션에 대한 퍼미션이 검증되면, 서비스 제공 서버(100)는 상기 제1 결제자의 단말로부터 요청된 결제 트랜잭션을 처리한다(③, ④). 이때, 상기 요청된 결제 트랜잭션의 데이터는 인증 블록체인(300a)과 별개의 체인으로 구성된 거래 블록체인(300b)에 기록될 수 있다. 참고로, 인증 블록체인(300a)과 거래 블록체인(300b)을 분산 관리하는 블록체인 노드는 동일할 수도 있고, 적어도 일부는 상이할 수도 있다. 이는, 실시예에 따라 얼마든지 달라질 수 있다.According to the above description, when the permission of the first payer and / or the electronic wallet application installed in the terminal of the first payer is verified, the service providing server 100 transmits the payment transaction requested by the terminal of the first payer (③ and ④). At this time, the data of the requested payment transaction may be recorded in a transaction block chain 300b having a chain separate from the authentication block chain 300a. For reference, the block chain nodes for distributing and managing the authentication block chain 300a and the transaction block chain 300b may be the same, or at least some may be different. This may vary depending on the embodiment.

다음으로, 도 4b를 참조하여 비인증 사용자인 제2 결제자의 단말로부터 결제 트랜잭션 처리 요청이 수신된 경우에 대하여 설명한다.Next, with reference to FIG. 4B, a case where a payment transaction processing request is received from the terminal of the second payer who is an unauthorized user will be described.

도 4b를 참조하면, 상기 제2 결제자의 단말로부터 결제 트랜잭션 처리 요청이 수신됨에 응답하여(①), 서비스 제공 서버(100)는 상기 제2 결제자에 대한 퍼미션 검증을 수행한다(②). 상기 퍼미션 검증은 전술한 바와 같이 상기 제2 결제자에 대한 퍼미션 검증 및/또는 상기 제2 결제자의 단말에 탑재된 전자 지갑 어플리케이션에 대한 검증을 포함할 수 있다.Referring to FIG. 4B, in response to receiving a payment transaction processing request from the terminal of the second payer, (1), the service providing server 100 performs a permission verification of the second payer. The permission verification may include verification of the permission of the second payer and / or verification of the electronic wallet application installed in the terminal of the second payer, as described above.

퍼미션 검증 결과, 인증에 실패하거나 권한이 없는 것으로 판정된 상기 제2 결제자의 결제 트랜잭션 처리 요청은 거부된다(③).As a result of the authorization verification, the payment transaction processing request of the second payer determined to be unsuccessful or unauthorized is rejected (3).

지금까지, 도 4a 및 도 4b를 참조하여, 퍼미션 기반 블록체인 네트워크에서 인증된 사용자와 비인증 사용자에 의해 요청된 트랜잭션이 처리되는 과정을 비교 설명하였다. 상술한 바에 따르면, 사용자에 대한 퍼미션 검증 및 사용자 단말에 탑재된 어플리케이션에 대한 퍼미션 검증이 수행되고, 퍼미션 검증에 따라 신뢰성 있는 사용자 및 어플리케이션에 의해 요청된 거래만이 처리될 수 있다. 이에 따라, 블록체인 네트워크(300)를 통해 처리되는 트랜잭션에 대한 신뢰성이 사전에 확보될 수 있다.4A and 4B, a process of processing a transaction requested by an authenticated user and a non-authenticated user in a permission-based block-chain network is compared. According to the above description, the permission verification for the user and the permission verification for the application installed in the user terminal are performed, and only the transactions requested by the trusted user and the application can be processed according to the permission verification. Thus, the reliability of the transactions processed through the block-chain network 300 can be secured in advance.

다음으로, 도 5a 도 5b를 참조하여, 자동 충전 트랜잭션 및 재결제 트랜잭션이 처리되는 과정에 대하여 보다 구체적으로 설명하도록 한다. 상기 자동 충전 트랜잭션은 퍼미션 검증을 통과한 결제 트랜잭션이 잔고 부족으로 처리될 수 없는 경우, 자동으로 포인트 충전을 수행하는 트랜잭션이다. 또한, 상기 재결제 트랜잭션은 자동 충전이 완료된 후에 다시 결제를 수행하는 트랜잭션이다.Next, with reference to FIG. 5A and FIG. 5B, a process of processing the automatic charge transaction and the re-settlement transaction will be described in more detail. The automatic charging transaction is a transaction that automatically performs point charging when the payment transaction that has passed the permission verification can not be processed due to lack of balance. Also, the re-settlement transaction is a transaction that performs settlement again after the automatic charging is completed.

도 5a를 참조하면, 결제자의 단말로부터 결제 트랜잭션의 처리 요청이 수신됨에 응답하여, 서비스 제공 서버(100)는 먼저 자동 충전이 필요한지 여부를 판정한다(①).Referring to FIG. 5A, in response to receiving a payment transaction processing request from a payer's terminal, the service providing server 100 first determines whether automatic charging is required (1).

일 실시예에서, 자동 충전 필요 여부 판정 로직은 블록체인 네트워크(300)와 연동하여 수행될 수 있다. 구체적인 판정 로직을 살펴보면, 서비스 제공 서버(100)가 블록체인 네트워크(300)를 구성하는, 정확하게는 거래 블록체인(300b)을 분산 관리하는, 복수의 블록체인 노드 중에서 제1 블록체인 노드로 요청된 결제 트랜잭션을 전달하고, 상기 제1 블록체인 노드로부터 상기 요청된 결제 트랜잭션의 유효성 검증 결과를 획득하는 제1 프로세스를 수행한다(②, ③). 상기 유효성 검증 결과, 포인트의 잔액 부족을 이유로 상기 요청된 결제 트랜잭션이 유효하지 않은 것으로 판정되면, 서비스 제공 서버(100)는 자동 충전이 필요한 것으로 판정할 수 있다.In one embodiment, the automatic charging necessity determination logic may be performed in conjunction with the block-chain network 300. [ The specific decision logic is that the service providing server 100 distributes the requested block chain 300b to the first block chain node among the plurality of block chain nodes, (2 & cir &, 3) to transfer the settlement transaction and acquire the validation result of the requested settlement transaction from the first block chain node. If it is determined that the requested payment transaction is invalid due to insufficient balance of points as a result of the validity check, the service providing server 100 may determine that automatic charging is necessary.

일 실시예에서, 자동 충전 필요 여부 판정 로직은 블록체인 네트워크(300)과 연동하지 않고 서비스 제공 서버(100)에 의해 자체적으로 수행될 수 있다. 구체적인 판정 로직을 살펴보면, 서비스 제공 서버(100)가 상기 제1 결제자의 전자 지갑의 잔고를 확인하고, 이를 결제 트랜잭션에 포함된 결제 금액과 비교함으로써 자동 충전 필요 여부를 판정할 수 있다.In one embodiment, the automatic charging necessity determination logic can be performed by the service providing server 100 itself without interlocking with the block-chain network 300. [ The service providing server 100 can determine the necessity of automatic charging by checking the balance of the electronic purse of the first payer and comparing it with the payment amount included in the payment transaction.

자동 충전 필요 판정에 응답하여, 서비스 제공 서버(100)는 전자 결제 서비스 제공 서버(200)로 실물 화폐의 전자 결제를 요청하고 상기 요청에 따른 전자 결제 처리 결과를 획득하는 제2-1 프로세스를 수행한다(④, ⑤). 다음으로, 서비스 제공 서버(100)는 상기 전자 결제 처리 결과에 기초하여, 상기 결제자의 전자 지갑에 전자 화폐를 충전하는 제2-2 프로세스를 수행한다.In response to the automatic charging necessity determination, the service providing server 100 requests the electronic settlement service providing server 200 for the electronic settlement of the real money and performs the second-1 process of acquiring the electronic settlement processing result according to the request (④, ⑤). Next, the service providing server 100 performs the second-2 process of charging the electronic wallet of the payer with the electronic money based on the electronic settlement processing result.

이와 동시에, 복수의 블록체인 노드 중 제2 블록체인 노드가, 거래 블록체인의 신규 블록에 상기 자동 충전 트랜잭션에 대한 데이터를 기록하고 상기 블록체인 네트워크 상에 전파하는 제3 프로세스를 수행한다(④).At the same time, the second block-chain node among the plurality of block-chain nodes performs a third process of recording data for the automatic charge transaction in the new block of the transaction block chain and propagating on the block-chain network (4) .

이와 같이, 본 발명의 실시예에 따르면, 상기 제2-1 및 제2-2 프로세스와 상기 제3 프로세스가 병렬로 처리될 수 있다. 이에 따라, 신규 블록에 자동 충전 트랜잭션에 대한 데이터가 기록되기 전이라도, 상기 자동 충전 트랜잭션이 즉각적으로 처리될 수 있다. 또는, 실물 화폐의 결제가 정상적으로 처리된 이후에, 상기 제2-2 프로세스와 상기 제3 프로세스가 병렬로 처리될 수 있다.As described above, according to the embodiment of the present invention, the second-1 and second-2 processes and the third process can be processed in parallel. Thus, even before the data for the automatic recharge transaction is written to the new block, the automatic recharge transaction can be processed immediately. Alternatively, after the payment of the real money has been normally processed, the second-2 process and the third process may be processed in parallel.

다음으로 도 5b를 참조하면, 서비스 제공 서버(100)는 자동 충전이 완료된 후 다시 요청된 결재를 진행하기 위해 재결제 트랜잭션을 생성한다. 이때, 상기 재결제 트랜잭션에 대한 전자 서명은 서비스 제공 서버(100)에 기 보관된 결제자의 전자 서명과 개인키를 이용하여 수행된다. 상기 재결제 트랜잭션을 생성하는 방법에 대한 자세한 설명은 도 9a 내지 도 11을 참조하여 상세하게 설명하도록 한다.Referring to FIG. 5B, after the automatic charging is completed, the service providing server 100 generates a re-settlement transaction to proceed with the requested payment again. At this time, the digital signature for the re-set transaction is performed using the digital signature of the payer stored in the service providing server 100 and the private key. A detailed description of a method of generating the re-settled transaction will be described in detail with reference to FIGS. 9A to 11.

다음으로, 서비스 제공 서버(100)는 블록체인 네트워크(300)를 구성하는, 정확하게는 거래 블록체인(300b)을 분산 관리하는, 복수의 블록체인 노드 중 제1 블록체인 노드로 상기 재결제 트랜잭션을 전달하고, 상기 제1 블록체인 노드로부터 상기 재결제 트랜잭션의 유효성 검증 결과를 획득하는 제1 프로세스를 수행한다(⑥, ⑦).Next, the service providing server 100 delivers the reassignment transaction to the node of the first block among the plurality of block chain nodes, which distributes the transaction block chain 300b, which constitutes the block chain network 300 And a first process of obtaining a validation result of the reassignment transaction from the first block chain node (steps (6) and (7)).

재결제 트랜잭션이 유효함을 가리키는 검증 결과의 획득에 응답하여, 서비스 제공 서버(100)는 상기 결제자의 전자 지갑에서 매장 운영자의 전자 지갑으로 전자 화폐가 이전되도록 하는 제2 프로세스를 수행하고, 트랜잭션 처리 완료 메시지를 결제자 및 매장 운영자의 단말로 통지한다(⑧).In response to the acquisition of the verification result indicating that the re-settlement transaction is valid, the service providing server 100 performs the second process of transferring the electronic money from the electronic wallet of the payer to the electronic wallet of the store operator, Message to the payer and the terminal of the store operator (8).

이와 동시에, 블록체인 네트워크(300)을 구성하는, 정확하게는 거래 블록체인(300b)을 분산 관리하는, 복수의 블록체인 노드 중 제2 블록체인 노드 등은 상기 재결제 트랜잭션에 대한 데이터를 신규 블록에 기록하고, 상기 신규 블록을 블록체인 네트워크(300) 상에 전파하는 제3 프로세스를 수행한다(⑧).At the same time, a second block-chain node or the like among the plurality of block chain nodes, which distributes the transaction block chain 300b, which constitutes the block-chain network 300, is written in the new block , And a third process of propagating the new block on the block-chain network 300 (8).

이와 같이, 본 발명의 실시예에 따르면, 상기 제2 프로세스와 상기 제3 프로세스가 병렬로 처리될 수 있다. 이에 따라, 신규 블록에 재결제 트랜잭션에 대한 데이터가 기록되기 전이라도, 상기 재결제 트랜잭션이 즉각적으로 처리될 수 있다. 따라서, 결제 트랜잭션의 처리가 완료될 때까지의 리드 타임이 최소화될 수 있고, 사용자의 서비스 만족도 및 편의성이 향상될 수 있다.As described above, according to the embodiment of the present invention, the second process and the third process can be processed in parallel. Thus, even before the data for the reassignment transaction is written to the new block, the reassignment transaction can be processed immediately. Therefore, the lead time until the processing of the settlement transaction is completed can be minimized, and the service satisfaction and convenience of the user can be improved.

한편, 본 발명의 실시예에 따르면, 자동 충전 트랜잭션 또는 재결제 트랜잭션이 기록되고 전파되는 제3 프로세스가 처리되는 과정에서 블록 생성 노드에 대한 퍼미션 검증이 수행될 수 있다.Meanwhile, according to an embodiment of the present invention, a permission verification of a block generating node may be performed in a process in which a third process in which an automatic recharge transaction or a rewrite transaction is recorded and propagated is performed.

구체적인 과정을 살펴보면, 채굴 프로세스를 통해 신규 블록을 생성한 블록 생성 노드는 상기 신규 블록에 트랜잭션에 대한 데이터와 함께 자신의 퍼미션 정보(e.g. 전자 서명 정보)를 기록하고, 상기 신규 블록을 전파한다. 상기 신규 블록이 블록체인 네트워크(300) 상에 전파됨에 따라, 상기 신규 블록을 수신한 블록체인 노드는 상기 신규 블록에 기록된 퍼미션 정보와 블록 생성 노드의 화이트 리스트 상의 퍼미션 정보를 비교하여 신규 블록의 추가 여부를 판정할 수 있다. 이때, 상기 블록 생성 노드의 화이트 리스트는 인증 블록체인(300b)에 기 저장된 것일 수 있다. 본 실시예에 따르면, 각 블록체인 노드는 인증 및/또는 인가된 블록 생성 노드에 의해 생성된 신규 블록만을 블록체인 데이터에 추가하도록 동작할 수 있다. 이에 따라, 블록체인 데이터에 추가되는 각 블록에 대한 신뢰성이 사전에 확보될 수 있다.In detail, a block generation node that has created a new block through a mining process records its own permission information (e.g., digital signature information) along with data on a transaction in the new block, and propagates the new block. As the new block is propagated on the block-chain network 300, the node that received the new block compares the permission information recorded in the new block with the permission information on the whitelist of the block generating node, It can be judged whether or not it is added. At this time, the whitelist of the block generating node may be stored in the authentication block chain 300b. According to the present embodiment, each block-chain node may be operable to add only new blocks generated by the authenticated and / or authorized block generation node to the block-chain data. Accordingly, the reliability of each block added to the block chain data can be secured in advance.

지금까지, 도 4a 내지 5b를 참조하여 블록체인 기반 전자 화폐 자동 충전 시스템에서 각 트랜잭션이 처리되는 과정에 대하여 설명하였다. 상술한 바에 따르면, 본 발명의 실시예에 따른 퍼미션 기반 블록체인 네트워크에서는, 신뢰성 있는 사용자가 신뢰성 있는 어플리케이션을 이용하여 요청한 트랜잭션만이 처리될 수 있다. 또한, 신뢰성이 있는 블록 생성 노드에 의해 생성된 신규 블록만이 블록체인 데이터에 추가될 수 있다. 따라서, 특정 블록체인 노드에 의해 상기 블록체인 데이터를 통해 유효한 것으로 검증된 트랜잭션은 다른 블록체인 노드들에게도 유효한 거래로 검증될 것으로 예측될 수 있다. 아울러, 유효성이 검증된 트랜잭션은 블록체인 데이터에 반드시 기록될 것으로 예측될 수 있다. 이에 따라, 유효성이 검증된 트랜잭션은 추후 반드시 블록체인 데이터에 기록될 것이라는 예측 하에 즉각적으로 처리될 수 있고, 블록체인 기반 시스템에서 통상적으로 발생되는 리드 타임이 최소화될 수 있다.Up to now, the process of processing each transaction in the block chain-based electronic money automatic charging system has been described with reference to Figs. 4A to 5B. According to the above description, in the permission-based block-chain network according to the embodiment of the present invention, only a transaction requested by a reliable user using a trusted application can be processed. In addition, only new blocks generated by the reliable block generation node may be added to the block chain data. Thus, a transaction verified as valid by the particular block-chain node over the block-chain data can be expected to be validated with valid transactions for other block-chain nodes. In addition, the validated transaction can be expected to be written to the block chain data. Thus, the validated transaction can be immediately processed with expectation that it will be written to block-chain data in the future, and the lead time normally generated in a block-chain-based system can be minimized.

이하에서는, 본 발명의 실시예에 따른 블록체인 기반 전자 화폐 자동 충전 시스템의 일 구성 요소인 서비스 제공 서버(100)의 구성 및 동작에 대하여 도 6 및 도 7을 참조하여 설명하도록 한다.Hereinafter, the configuration and operation of the service providing server 100, which is a component of the block chain-based electronic money automatic charging system according to the embodiment of the present invention, will be described with reference to FIG. 6 and FIG.

먼저, 도 6은 본 발명의 실시예에 따른 서비스 제공 서버(100)를 나타내는 예시적인 블록도이다.6 is an exemplary block diagram illustrating a service providing server 100 according to an embodiment of the present invention.

도 6을 참조하면, 서비스 제공 서버(100)는 서비스 요청 처리부(110), 저장부(150), 인증 처리부(130), 저장부(150), 통신부(170) 및 제어부(190)를 포함하도록 구성될 수 있다. 다만, 도 6에는 본 발명의 실시예와 관련 있는 구성요소들만이 도시되어 있다. 따라서, 본 발명이 속한 기술분야의 통상의 기술자라면 도 6에 도시된 구성요소들 외에 다른 범용적인 구성 요소들이 더 포함될 수 있음을 알 수 있다. 또한, 도 6에 도시된 결제 서비스 제공 서버의 각각의 구성 요소들은 기능적으로 구분되는 기능 요소들을 나타낸 것으로서, 적어도 하나의 구성 요소가 실제 물리적 환경에서는 서로 통합되는 형태로 구현될 수도 있음에 유의한다.6, the service providing server 100 includes a service request processing unit 110, a storage unit 150, an authentication processing unit 130, a storage unit 150, a communication unit 170, and a control unit 190 Lt; / RTI > However, only the components related to the embodiment of the present invention are shown in Fig. Therefore, it will be understood by those skilled in the art that other general-purpose components other than those shown in FIG. 6 may be further included. In addition, each of the components of the settlement service providing server shown in FIG. 6 represents functionally functioning functional elements, and it should be noted that at least one component may be integrated in a physical environment.

각 구성 요소를 살펴보면, 서비스 요청 처리부(110)는 결제자 단말(400)로부터 각종 요청을 수신하고, 상기 요청에 따른 결과를 제공한다. 예를 들어, 서비스 요청 처리부(110)는 블록체인 네트워크(300)와 연동하여 결제자 단말(400)로부터 수신된 결제 트랜잭션을 처리한다.Referring to the respective components, the service request processing unit 110 receives various requests from the payer terminal 400 and provides a result according to the request. For example, the service request processing unit 110 processes the payment transaction received from the payer terminal 400 in cooperation with the block-chain network 300.

구체적으로, 서비스 요청 처리부(110)는 결제자 단말(400)로부터 수신된 결제 트랜잭션의 처리 요청에 응답하여 결제자 및/또는 결제자 단말(400)에 탑재된 어플리케이션에 대한 퍼미션 검증을 수행하고, 상기 퍼미션 검증이 통과되면 블록체인 네트워크(300)를 통해 요청된 결제 트랜잭션을 처리한다. 이에 대한 설명은, 전술한 바와 같으므로, 중복된 설명을 배제하기 위해 생략하도록 한다. 서비스 요청 처리부(110)의 동작에 대한 추가적인 내용은 도 8 내지 도 12의 설명 내용을 더 참조하도록 한다.Specifically, the service request processing unit 110 performs permission verification of an application installed in the payer and / or the payer terminal 400 in response to a processing request of a payment transaction received from the payer terminal 400, If the permission verification is passed, the payment transaction requested through the block-chain network 300 is processed. Explanations thereof are as described above, and thus the description thereof will be omitted in order to exclude redundant description. Additional details about the operation of the service request processing unit 110 will be further described with reference to FIGS.

인증 처리부(130)는 결제자에 대한 인증 기능을 제공한다. 예를 들어, 자동 충전 서비스를 가입된 회원에게만 제공하는 경우, 인증 처리부(130)는 자동 충전이 요구되는 결제 트랜잭션을 요청한 결제자에 대한 인증을 수행한다. 이때, 서비스 요청 처리부(110)는 인증이 성공된 경우에 한하여 자동 충전 서비스를 제공하도록 동작할 수 있다. 상기 인증의 방식은 어떠한 방식으로 수행되더라도 무방하다.The authentication processing unit 130 provides an authentication function for the payer. For example, if the automatic recharging service is provided only to the subscribing member, the authentication processing unit 130 performs authentication for the payer requesting the payment transaction requiring automatic charging. At this time, the service request processing unit 110 may operate to provide the automatic charging service only when the authentication is successful. The authentication method may be performed in any manner.

저장부(150)는 서비스 제공 서버(100)의 각종 동작을 수행하는 하나 이상의 컴퓨터 프로그램을 비임시적으로 저장할 수 있다. 저장부(150)는 ROM(Read Only Memory), PROM(Erasable Programmable ROM), EEPROM(Electrically Erasable Programmable ROM), 플래시 메모리 등과 같은 비휘발성 메모리, 하드 디스크, 착탈형 디스크, 또는 본 발명이 속하는 기술 분야에서 잘 알려진 임의의 형태의 컴퓨터로 읽을 수 있는 기록 매체를 포함하여 구성될 수 있다.The storage unit 150 may temporarily store one or more computer programs that perform various operations of the service providing server 100. The storage unit 150 may be a non-volatile memory, a hard disk, a removable disk such as a ROM (Read Only Memory), an Erasable Programmable ROM (PROM), an Electrically Erasable Programmable ROM (EEPROM) And may include any type of well-known computer-readable recording medium.

통신부(170)는 블록체인 기반 전자 화폐 자동 충전 시스템의 다른 구성 요소와 데이터 통신을 수행한다. 이를 위해, 통신부(170)는 유선 인터넷 모듈, 이동통신 모듈 또는 무선통신 모듈을 구비할 수 있다.The communication unit 170 performs data communication with other components of the block chain-based electronic money automatic charging system. For this, the communication unit 170 may include a wired Internet module, a mobile communication module, or a wireless communication module.

제어부(190)는 서비스 제공 서버(100)의 각 구성의 전반적인 동작을 제어한다. 제어부(190)는 CPU(Central Processing Unit), MPU(Micro Processor Unit), MCU(Micro Controller Unit), 또는 본 발명의 기술 분야에 잘 알려진 임의의 형태의 프로세서를 포함하여 구성될 수 있다. 또한, 제어부(190)는 전술한 본 발명의 실시예들에 따른 방법을 실행하기 위한 적어도 하나의 어플리케이션 또는 프로그램에 대한 연산을 수행할 수 있다.The control unit 190 controls the overall operation of each configuration of the service providing server 100. The control unit 190 may be configured to include a CPU (Central Processing Unit), an MPU (Micro Processor Unit), an MCU (Micro Controller Unit), or any type of processor well known in the art. In addition, the controller 190 may perform an operation on at least one application or program for executing the method according to the embodiments of the present invention described above.

도 6의 각 구성 요소는 소프트웨어(Software) 또는, FPGA(Field Programmable Gate Array)나 ASIC(Application-Specific Integrated Circuit)과 같은 하드웨어(Hardware)를 의미할 수 있다. 그렇지만, 상기 구성 요소들은 소프트웨어 또는 하드웨어에 한정되는 의미는 아니며, 어드레싱(Addressing)할 수 있는 저장 매체에 있도록 구성될 수도 있고, 하나 또는 그 이상의 프로세서들을 실행시키도록 구성될 수도 있다. 상기 구성 요소들 안에서 제공되는 기능은 더 세분화된 구성 요소에 의하여 구현될 수 있으며, 복수의 구성 요소들을 합하여 특정한 기능을 수행하는 하나의 구성 요소로 구현될 수도 있다.6 may be software or hardware such as an FPGA (Field Programmable Gate Array) or an ASIC (Application-Specific Integrated Circuit). However, the components are not limited to software or hardware, and may be configured to be addressable storage media, and configured to execute one or more processors. The functions provided in the components may be implemented by a more detailed component, or may be implemented by a single component that performs a specific function by combining a plurality of components.

도 7은 본 발명의 다른 실시예에 따른 서비스 제공 서버(100)의 하드웨어 구성도이다.7 is a hardware configuration diagram of a service providing server 100 according to another embodiment of the present invention.

도 7을 참조하면, 서비스 제공 서버(100)는 하나 이상의 프로세서(101), 버스(105), 네트워크 인터페이스(107), 프로세서(101)에 의하여 수행되는 컴퓨터 프로그램을 로드(load)하는 메모리(103)와, 블록체인 기반 전자 화폐 자동 충전 소프트웨어(109a)를 저장하는 스토리지(109)를 포함하도록 구성될 수 있다. 다만, 도 7에는 본 발명의 실시예와 관련 있는 구성요소들만이 도시되어 있다. 따라서, 본 발명이 속한 기술분야의 통상의 기술자라면 도 7에 도시된 구성요소들 외에 다른 범용적인 구성 요소들이 더 포함될 수 있음을 알 수 있다.7, the service providing server 100 includes at least one processor 101, a bus 105, a network interface 107, a memory 103 for loading a computer program executed by the processor 101 ), And a storage 109 for storing block-chain-based electronic money automatic charging software 109a. However, only the components related to the embodiment of the present invention are shown in Fig. Accordingly, it is to be understood by those skilled in the art that other general-purpose components other than the components shown in FIG. 7 may be further included.

프로세서(101)는 서비스 제공 서버(100)의 각 구성의 전반적인 동작을 제어한다. 프로세서(101)는 CPU(Central Processing Unit), MPU(Micro Processor Unit), MCU(Micro Controller Unit), GPU(Graphic Processing Unit) 또는 본 발명의 기술 분야에 잘 알려진 임의의 형태의 프로세서를 포함하여 구성될 수 있다. 또한, 프로세서(101)는 본 발명의 실시예들에 따른 방법을 실행하기 위한 적어도 하나의 애플리케이션 또는 프로그램에 대한 연산을 수행할 수 있다. 서비스 제공 서버(100)는 하나 이상의 프로세서를 구비할 수 있다.The processor 101 controls the overall operation of each configuration of the service providing server 100. The processor 101 includes a central processing unit (CPU), a microprocessor unit (MPU), a microcontroller unit (MCU), a graphics processing unit (GPU), or any type of processor well known in the art . The processor 101 may also perform operations on at least one application or program to perform the method according to embodiments of the present invention. The service providing server 100 may include one or more processors.

메모리(103)는 각종 데이터, 명령 및/또는 정보를 저장한다. 메모리(103)는 본 발명의 실시예들에 따른 블록체인 기반 전자 화폐 자동 충전 방법을 실행하기 위하여 스토리지(109)로부터 하나 이상의 프로그램(109a)을 로드할 수 있다. 도 7에서 메모리(103)의 예시로 RAM이 도시되었다.The memory 103 stores various data, commands and / or information. The memory 103 may load one or more programs 109a from the storage 109 to execute the block chain-based electronic money automatic charging method according to embodiments of the present invention. RAM is shown as an example of the memory 103 in Fig.

버스(105)는 서비스 제공 서버(100)의 구성 요소 간 통신 기능을 제공한다. 버스(105)는 주소 버스(Address Bus), 데이터 버스(Data Bus) 및 제어 버스(Control Bus) 등 다양한 형태의 버스로 구현될 수 있다.The bus 105 provides a communication function between the components of the service providing server 100. The bus 105 may be implemented as various types of buses such as an address bus, a data bus, and a control bus.

네트워크 인터페이스(107)는 서비스 제공 서버(100)의 유무선 인터넷 통신을 지원한다. 또한, 네트워크 인터페이스(107)는 인터넷 통신 외의 다양한 통신 방식을 지원할 수도 있다. 이를 위해, 네트워크 인터페이스(107)는 본 발명의 기술 분야에 잘 알려진 통신 모듈을 포함하여 구성될 수 있다.The network interface 107 supports wired / wireless Internet communication of the service providing server 100. In addition, the network interface 107 may support various communication methods other than Internet communication. To this end, the network interface 107 may comprise a communication module well known in the art.

스토리지(109)는 재결제 트랜잭션의 전자 서명에 이용되는 개인키(109b) 및 하나 이상의 프로그램(109a)을 비임시적으로 저장할 수 있다. 도 7에서 상기 하나 이상의 프로그램(109a)의 예시로 블록체인 기반 전자 화폐 자동 충전 소프트웨어(109a)가 도시되었다.The storage 109 may non-provisionally store the private key 109b and one or more programs 109a used for digital signature of the reassignment transaction. In FIG. 7, block chain-based electronic money automatic charging software 109a is shown as an example of the one or more programs 109a.

스토리지(109)는 ROM(Read Only Memory), EPROM(Erasable Programmable ROM), EEPROM(Electrically Erasable Programmable ROM), 플래시 메모리 등과 같은 비휘발성 메모리, 하드 디스크, 착탈형 디스크, 또는 본 발명이 속하는 기술 분야에서 잘 알려진 임의의 형태의 컴퓨터로 읽을 수 있는 기록 매체를 포함하여 구성될 수 있다.The storage 109 may be a nonvolatile memory such as ROM (Read Only Memory), EPROM (Erasable Programmable ROM), EEPROM (Electrically Erasable Programmable ROM), flash memory, etc., hard disk, removable disk, And any form of computer-readable recording medium known in the art.

블록체인 기반 전자 화폐 자동 충전 소프트웨어(109a)는 본 발명의 실시예에 따라 블록체인 기반 전자 화폐 자동 충전 방법을 실행할 수 있다. 예를 들어, 블록체인 기반 전자 화폐 자동 충전 소프트웨어(109a)는 메모리(103)에 로드되어, 하나 이상의 프로세서(101)에 의해, 결제자의 단말로부터, 결제 트랜잭션의 처리 요청이 수신됨에 응답하여, 상기 결제자가 보유한 전자 화폐의 자동 충전 필요 여부를 판정하는 오퍼레이션, 상기 판정의 결과, 자동 충전이 필요한 것으로 판정된 경우, 상기 결제자의 전자 지갑에 기 설정된 양의 전자 화폐를 충전하는 오퍼레이션, 상기 결제 트랜잭션에 기록된 결제 정보를 기초로 재결제 트랜잭션을 생성하되, 상기 재결제 트랜잭션은 제1 전자 서명과 제2 전자 서명을 포함하고 상기 제1 전자 서명은 상기 서비스 제공 서버에 의해 제공된 것이며 상기 제2 전자 서명은 상기 결제 정보에 포함된 것인, 오퍼레이션 및 상기 결제자의 단말로 상기 재결제 트랜잭션에 대한 전자 서명을 요청하지 않고, 복수의 블록체인 노드로 구성된 블록체인 네트워크와 연동하여 상기 재결제 트랜잭션을 처리하는 오퍼레이션을 실행할 수 있다.The block chain-based electronic money automatic charging software 109a can execute the block chain-based electronic money automatic charging method according to the embodiment of the present invention. For example, the block chain-based electronic money automatic charging software 109a is loaded into the memory 103 and, in response to receipt of a processing request of a payment transaction from the payer's terminal by the one or more processors 101, An operation for charging the electronic wallet of the payer with a preset amount of electronic money when it is determined that automatic charging is necessary as a result of the determination, Generating a reassignment transaction based on the recorded payment information, wherein the reassignment transaction includes a first digital signature and a second digital signature, the first digital signature being provided by the service providing server, The settlement information being included in the settlement information; It is possible to execute an operation of processing the reassignment transaction in cooperation with a block chain network composed of a plurality of block chain nodes without requesting an electronic signature.

지금까지, 도 6 및 도 7을 참조하여 본 발명의 실시예에 따른 서비스 제공 서버(100)의 구성 및 동작에 대하여 설명하였다. 다음으로, 도 8 내지 도 12를 참조하여 본 발명의 실시예에 따른 블록체인 기반 전자 화폐 자동 충전 방법에 대하여 상세하게 설명한다.Up to now, the configuration and operation of the service providing server 100 according to the embodiment of the present invention have been described with reference to FIG. 6 and FIG. Next, a block chain-based electronic money automatic charging method according to an embodiment of the present invention will be described in detail with reference to FIGS. 8 to 12. FIG.

이하, 본 발명의 실시예에 따른 블록체인 기반 전자 화폐 자동 충전 방법의 각 단계는, 컴퓨팅 장치에 의해 수행될 수 있다. 예를 들어, 상기 컴퓨팅 장치는 서비스 제공 서버(100) 또는 블록체인 기반 전자 화폐 자동 충전 시스템을 구성하는 다른 구성 요소일 수 있다. 다만, 설명의 편의를 위해, 상기 블록체인 기반 전자 화폐 자동 충전 방법에 포함되는 각 단계의 동작 주체는 그 기재가 생략될 수도 있다. 또한, 블록체인 기반 전자 화폐 자동 충전 방법의 각 단계는 프로세서에 의해 실행되는 컴퓨터 프로그램의 오퍼레이션으로 구현될 수 있다.Hereinafter, each step of the block chain-based electronic money automatic charging method according to the embodiment of the present invention may be performed by the computing device. For example, the computing device may be a service providing server 100 or other component that constitutes a block-chain-based electronic money automatic charging system. However, for the sake of convenience of description, the operation subject of each step included in the block chain-based electronic money automatic charging method may be omitted. In addition, each step of the block chain-based electronic money automatic charging method may be implemented as an operation of a computer program executed by a processor.

도 8은 본 발명의 실시예에 따른 블록체인 기반 전자 화폐 자동 충전 방법의 흐름도이다. 단, 이는 본 발명의 목적을 달성하기 위한 바람직한 실시예일 뿐이며, 필요에 따라 일부 단계가 추가되거나 삭제될 수 있음은 물론이다. 이하, 도 8을 참조하여 설명하도록 한다.8 is a flowchart of a block chain-based electronic money automatic charging method according to an embodiment of the present invention. However, it should be understood that the present invention is not limited thereto and that some steps may be added or deleted as needed. The following description will be made with reference to Fig.

본 발명의 실시예에 따르면, 결제자에게 재결제 트랜잭션에 대한 전자 서명 요청을 방지하기 위해, 다중 전자 서명 기법이 활용된다. 상기 다중 전자 서명 기법이 활용되는 경우, m개(m는 3이상의 자연수)의 페어링된 개인키 중에 n개(n은 2이상의 자연수) 이상의 개인키로 생성된 전자 서명이 포함된 트랜잭션만이 유효한 트랜잭션으로 취급될 수 있다. 이하, 이해의 편의를 제공하기 위해, 상기 m은 "3"이고, 상기 n은 "2"인 경우를 가정하여 설명하도록 한다.In accordance with an embodiment of the present invention, a multiple electronic signature scheme is utilized to prevent a payer from requesting an electronic signature for a reordering transaction. In the case where the multiple digital signature scheme is utilized, only transactions including digital signatures generated by n (n is a natural number of 2 or more) private keys among m (m is a natural number of 3 or more) paired private keys are valid transactions Can be handled. Hereinafter, for convenience of understanding, it is assumed that m is "3" and n is "2".

재결제 트랜잭션에 대한 전자 서명 요청을 방지하기 위해, 서비스 제공 서버(100)는 미리 소정의 개인키 또는 전자 서명 정보를 획득할 필요가 있다. 따라서, 단계(S110)에서, 소정의 개인키 또는 상기 개인키로 서명된 전자 서명이 서비스 제공 서버(100)에 미리 보관된다. 이때, 상기 개인키는 결제자의 개인키 또는 서비스 제공 서버(100)에게 직접 발급된 개인키일 수 있다. 즉, 실시예에 따라, 다중 전자 서명에 이용되는 3개의 개인키의 주체 및 보관 장소는 케이스 별로 다양한 조합이 가능할 수 있다. 예를 들어, 제1 케이스에서, 3개의 개인키가 모두 결제자의 개인키이고, 적어도 1개의 개인키는 결제자의 단말에 보관되고, 적어도 1개의 개인키는 서비스 제공 서버(100)에 보관될 수 있다. 제2 케이스에서, 3개의 개인키 중에서 1개의 개인키는 서비스 제공 서버(100)의 개인키이고, 서비스 제공 서버(100)는 자신의 개인키를 포함하여 적어도 1개의 개인키를 보관할 수 있다(e.g. 자신의 개인키 및 결제자의 개인키를 보관할 수도 있음). 이외에도, 다양한 케이스가 존재할 수 있으며, 본 발명의 범위가 특정 케이스가 한정되는 것은 아니다.In order to prevent the digital signature request for the reassignment transaction, the service providing server 100 needs to acquire predetermined private key or digital signature information in advance. Therefore, in step S110, a predetermined private key or an electronic signature signed with the private key is stored in the service providing server 100 in advance. At this time, the private key may be a private key of the payer or a private key issued directly to the service providing server 100. That is, according to the embodiment, the subject and the storage place of the three private keys used for the multiple digital signature can be various combinations for each case. For example, in the first case, all three private keys are the payer's private key, at least one private key is kept at the payer's terminal, and at least one private key is stored in the service providing server 100 have. In the second case, one of the three private keys is the private key of the service providing server 100, and the service providing server 100 can store at least one private key including its private key ( eg you can keep your own private key and the payor's private key. In addition, various cases may exist, and the scope of the present invention is not limited to the specific case.

도 9a는 서비스 제공 서버(100)가 전자 서명을 획득하는 일 예시를 도시한다. 도 9a에 도시된 바와 같이, 서비스 제공 서버(100)는 결제자가 자동 충전 서비스에 가입할 때 전자 서명을 강제하는 방식으로 전자 서명(511)을 획득할 수 있다. 이와 같은 경우, 3개의 페어링된 개인키 중 결제자의 단말(400)에 제1 개인키(510) 및/또는 제2 개인키(530)가 보관되고, 전자 서명(511)이 서비스 제공 서버(100)에 보관될 수 있다. 또는, 도 9b에 도시된 바와 같이, 상기 3개의 페어링된 개인키 중에서 제3 개인키(550)가 서비스 제공 서버(100)에 미리 보관될 수도 있다. 제3 개인키(550)는 결제자의 개인키일 수도 있고, 서비스 제공 서버(100)의 개인키일 수도 있다. 이는 실시예에 따라 얼마든지 달라질 수 있는 것이다. 예를 들어, 다른 실시예에서, 결제자의 제1 개인키(510)만 결제자 단말(400)에 보관되고, 결제자의 제2 개인키(530)와 서비스 제공 서버(100)의 제3 개인키(550)는 서비스 제공 서버(100)에 보관될 수도 있다.9A shows an example in which the service providing server 100 acquires a digital signature. As shown in FIG. 9A, the service providing server 100 can acquire the electronic signature 511 in such a manner that the electronic signature is enforced when the payer subscribes to the automatic recharging service. In this case, the first private key 510 and / or the second private key 530 are stored in the payer's terminal 400 among the three paired private keys, and the digital signature 511 is stored in the service providing server 100 ). ≪ / RTI > Alternatively, as shown in FIG. 9B, the third private key 550 among the three paired private keys may be stored in the service providing server 100 in advance. The third private key 550 may be a private key of the payer or a private key of the service providing server 100. This may vary depending on the embodiment. For example, in another embodiment, only the first private key 510 of the payer is stored in the payer terminal 400, and the second private key 530 of the payer and the third private key of the service providing server 100 (550) may be stored in the service providing server (100).

다시 도 8을 참조하면, 단계(S120)에서, 결제자의 단말(400)로부터 결제자의 전자서명이 포함된 결제 트랜잭션의 처리 요청이 수신된다. 예를 들어, 도 9c에 도시된 바와 같이, 결제자 단말(400)은 제2 개인키(530)의 전자 서명(531)이 포함된 결제 트랜잭션(570)을 서비스 제공 서버(100)로 송신하며 결제 트랜잭션(570)에 대한 처리를 요청할 수 있다.Referring again to FIG. 8, in step S120, a processing request of the payment transaction including the electronic signature of the payer is received from the payer's terminal 400. [ For example, as shown in FIG. 9C, the payer terminal 400 transmits a payment transaction 570 including the digital signature 531 of the second private key 530 to the service providing server 100 And may request processing for the payment transaction 570.

다시 도 8을 참조하면, 단계(S130)에서, 결제 트랜잭션의 처리 요청에 응답하여, 서비스 제공 서버(100)가 자동 충전이 필요한지 여부를 판정한다. 전술한 바와 같이, 서비스 제공 서버(100)는 블록체인 네트워크(300)와 연동하여 자동 충전 필요 여부를 판정하는 로직 또는 자체적으로 자동 충전 필요 여부를 판정하는 로직 중에 어느 하나의 로직을 이용하여 자동 충전이 필요한지 여부를 판정할 수 있다. 이에 대한 설명은 중복된 설명을 배제하기 위해 생략하도록 한다.Referring again to FIG. 8, in step S130, in response to the processing request of the payment transaction, the service providing server 100 determines whether automatic charging is necessary. As described above, the service providing server 100 can use the logic that determines whether the automatic charging is required, or the logic that determines the necessity of the automatic charging in itself, in conjunction with the block-chain network 300, Can be determined. The description will be omitted in order to avoid redundant description.

자동 충전 필요 판정에 응답하여, 단계(S140)에서, 결제자의 전자 지갑에 기 설정된 양의 포인트가 충전된다. 구체적으로, 서비스 제공 서버(100)는 자동 충전 트랜잭션을 생성하고, 블록체인 네트워크(300)을 통해 상기 자동 충전 트랜잭션의 유효성 검증 결과를 획득한 뒤에 자동 충전을 수행한다. 이에 대한 자세한 설명은 중복된 설명을 배제하기 위해 생략하도록 한다.In response to the automatic charging necessity determination, in step S140, the electronic purse of the payer is charged with a predetermined amount of points. Specifically, the service providing server 100 generates an automatic charging transaction and performs automatic charging after acquiring the validation result of the automatic charging transaction through the block-chain network 300. [ A detailed description thereof will be omitted in order to exclude redundant description.

여기서, 충전되는 포인트의 양(또는 금액)은 결제 금액과 포인트 보유량과의 차액(즉, 포인트 부족분)으로 설정될 수 있다. 또는, 상기 충전되는 포인트의 양은 포인트 부족분에 관계 없이 고정된 양으로 설정될 수도 있다. 또는, 상기 충전되는 포인트의 양은 결제자의 실물 화폐 보유량(e.g. 통장 잔고 등)에 기초하여 동적으로 결정될 수도 있다.Here, the amount (or amount) of the points to be charged may be set to a difference (that is, a point shortage) between the payment amount and the point holding amount. Alternatively, the amount of the charged point may be set to a fixed amount regardless of the point shortage. Alternatively, the amount of the charging point may be dynamically determined based on the payer's actual money holding amount (e.g., bankbook balance, etc.).

단계(S150)에서, 결제 트랜잭션에 포함된 결제 정보를 기초로 재결제 트랜잭션이 생성된다. 이때, 상기 결제 정보는 결제자의 전자 지갑 주소, 수취인의 전자 지갑 주소 및 결제 금액을 포함할 수 있다.In step S150, a re-settlement transaction is generated based on the settlement information included in the settlement transaction. At this time, the payment information may include an electronic wallet address of a payer, an electronic wallet address of a payee, and a payment amount.

본 발명의 실시예에 따르면, 도 9c에 도시된 바와 같이, 상기 재결제 트랜잭션(590)은 결제 트랜잭션(570)에 포함된 전자 서명(531)과 서비스 제공 서버(100)에 기 보관된 제3 개인키(550)로 서명된 전자 서명(551)을 포함할 수 있다. 본 실시예에서, 전자 서명(551)은 서비스 제공 서버(100)에 의해 자체적으로 제공될 수 있다. 따라서, 결제자에게 재결제 트랜잭션에 대한 전자 서명을 요청하지 않고 서비스 제공 서버(100)가 자체적으로 재결제 트랜잭션(590)을 생성하고 처리할 수 있다. 이에 따라, 자동 충전 서비스를 이용하는 사용자 편의성이 향상될 수 있다.According to an embodiment of the present invention, as shown in FIG. 9C, the reassignment transaction 590 includes an electronic signature 531 included in the settlement transaction 570, and a third individual stored in the service providing server 100 And may include an electronic signature 551 signed with a key 550. In this embodiment, the digital signature 551 may be provided by the service providing server 100 itself. Therefore, the service providing server 100 itself can generate and process the re-settlement transaction 590 without requesting the payer to digitally sign the re-settlement transaction. Accordingly, the convenience of the user using the automatic charging service can be improved.

한편, 도 9c에서 재결제 트랜잭션에 2개의 전자 서명이 포함된 것을 예로써 도시하였으나, 3개의 전자 서명이 포함될 수도 있다. 예를 들어, 기존 결제 트랜잭션에 포함된 2개의 전자 서명과 서비스 제공 서버(100)가 제공하는 1개의 전자 서명(e.g. 미리 보관된 결제자의 개인키에 기초한 전자 서명 또는 서버의 개인키에 기초한 전자 서명)이 상기 재결제 트랜잭션에 포함될 수 있다. 다른 예를 들어, 기존 결제 트랜잭션에 포함된 1개의 전자 서명과 서비스 제공 서버(100)가 제공하는 2개의 전자 서명이 상기 재결제 트랜잭션에 포함될 수 있다. 이때, 서비스 제공 서버(100)가 제공하는 2개의 전자 서명 각각은 결제자의 개인키 또는 서버의 개인키 중 어느 개인키에 기초하더라도 무방하다.In FIG. 9C, two electronic signatures are included in the reassignment transaction as an example. However, three electronic signatures may be included. For example, two electronic signatures included in the existing payment transaction and one electronic signature provided by the service providing server 100 (e.g., an electronic signature based on the private key of the payer or an electronic signature based on the private key of the server ) May be included in the reassignment transaction. As another example, one electronic signature included in the existing payment transaction and two electronic signatures provided by the service providing server 100 may be included in the reassignment transaction. At this time, each of the two electronic signatures provided by the service providing server 100 may be based on any one of the private key of the payer or the private key of the server.

본 발명의 실시예에 따르면, 상기 재결제 트랜잭션은 두 가지 방식으로 생성될 수 있다.According to an embodiment of the present invention, the reassignment transaction can be generated in two ways.

일 실시예에서, 상기 재결제 트랜잭션은 기존 결제 트랜잭션의 결제 금액을 제1 결제 금액으로 변경한 제1 재결제 트랜잭션과 전체 결제 금액과 상기 제1 결제 금액과의 차액을 결제 금액으로 하는 제2 재결제 트랜잭션으로 구성될 수 있다. 이해의 편의를 제공하기 위해, 도 10을 참조하여 부연 설명하도록 한다.In one embodiment, the re-setting transaction is a second re-settlement transaction in which the first settlement transaction in which the settlement amount of the existing settlement transaction is changed to the first settlement amount, and the difference between the total settlement amount and the first settlement amount is the settlement amount Lt; / RTI > To facilitate understanding, reference will be made to FIG. 10 in detail.

도 10은 전체 결제 금액이 10,000포인트이고, 잔고 부족으로 5,000포인트가 자동 충전된 예를 도시하고 있다.FIG. 10 shows an example in which the total payment amount is 10,000 points and 5,000 points are automatically charged due to insufficient funds.

도 10을 참조하면, 재결제 트랜잭션(630)은 기존 결제 트랜잭션(610)의 결제 금액 10,000포인트를 5,000포인트로 변경한 제1 재결제 트랜잭션(631a)과 5,000포인트의 추가 결제 금액에 대한 제2 재결제 트랜잭션(633a)으로 구성될 수 있다.Referring to FIG. 10, a re-settlement transaction 630 includes a first re-settlement transaction 631a in which the settlement amount 10,000 points of the existing settlement transaction 610 is changed to 5,000 points and a second re- 633a.

일 실시예에서, 상기 재결제 트랜잭션은 하나의 신규 트랜잭션으로 구성될 수 있다. 도 11을 참조하여 부연 설명하면, 전체 결제 금액이 동일하게 10,000포인트인 경우 재결제 트랜잭션은 10,000포인트의 전체 결제 금액에 대하여 다시 결제를 요청하는 재결제 트랜잭션(650)으로 구성될 수 있다.In one embodiment, the reassignment transaction may be configured as one new transaction. 11, if the total settlement amount is equal to 10,000 points, the re-settlement transaction can be composed of re-settlement transaction 650 for requesting settlement of the entire settlement amount of 10,000 points.

다시 도 8을 참조하면, 단계(S160)에서, 복수의 블록체인 노드로 구성된 블록체인 네트워크(300)와 연동하여 상기 재결제 트랜잭션이 처리된다. 본 단계(S160)에 대한 설명은 전술한 바와 같으므로 중복된 설명을 배제하기 위해 생략하도록 한다.Referring again to Fig. 8, in step S160, the re-settlement transaction is processed in conjunction with the block-chain network 300 composed of a plurality of block-chain nodes. Since the description of this step S160 is as described above, it is omitted for the sake of redundant description.

한편, 본 발명의 실시예에 따르면, 다중 서명 기법을 활용하지 않고도 재결제 트랜잭션이 처리될 수 있다. 예를 들어, 서비스 제공 서버(100)는 결제자의 단말(400)에 보관된 개인키와 동일한 개인키를 미리 저장하고, 미리 저장된 개인키로 서명된 전자 서명을 이용하여 재결제 트랜잭션을 생성할 수 있다. 본 실시예에 따르더라도, 결제자의 개입이 요구되지 않기 때문에, 자동 충전 서비스를 이용하는 결제자의 편의성은 향상될 수 있다.On the other hand, according to the embodiment of the present invention, reassignment transactions can be processed without utilizing a multiple signature technique. For example, the service providing server 100 may previously store a private key identical to the private key stored in the payer's terminal 400, and generate a re-settlement transaction using the digital signature signed with the private key previously stored. Even in accordance with the present embodiment, since the intervention of the payer is not required, the convenience of the payer using the automatic recharging service can be improved.

지금까지, 도 8 내지 도 11을 참조하여, 본 발명의 실시예에 따른 블록체인 기반 전자 화폐 자동 충전 방법에 대하여 설명하였다. 상술한 바에 따르면, 자동 충전이 수행되어 재결제 트랜잭션이 생성되더라도 결제자에게 다시 전자 서명을 요청하지 않을 수 있다. 이를 통해, 반복적인 전자 서명 요구에 따라 사용자 편의성이 저하되는 문제가 해결될 수 있다.8 to 11, a block chain-based electronic money automatic charging method according to an embodiment of the present invention has been described. According to the above description, even if the automatic charging is performed and the re-settlement transaction is generated, the payer can not request the electronic signature again. This solves the problem that user convenience is degraded in response to repeated digital signature requests.

한편, 도 8의 경우, 서비스 제공 서버(100)의 관점에서 본 발명의 실시예에 따른 전자 화폐 자동 충전 방법에 대하여 설명하였다. 이하에서는, 보다 이해의 편의를 제공하기 위해, 블록체인 기반 전자 화폐 충전 시스템의 관점에서 본 발명의 실시예에 따른 전자 화폐 자동 충전 방법에 대하여 도 12를 참조하여 설명하도록 한다. 중복된 설명을 배제하기 위해, 전술한 바와 동일한 부분에 대한 설명은 생략하도록 한다.8, an electronic money automatic charging method according to an embodiment of the present invention has been described from the viewpoint of the service providing server 100. [ Hereinafter, an electronic money automatic charging method according to an embodiment of the present invention will be described with reference to FIG. 12 from the viewpoint of a block chain-based electronic money charging system in order to further facilitate understanding. In order to avoid redundant description, description of the same portions as those described above will be omitted.

도 12를 참조하면, 단계(S210)에서, 서비스 제공 서버(100)가 결제자 단말(400)로부터 결제 트랜잭션의 처리 요청을 수신한다(S210).Referring to FIG. 12, in step S210, the service providing server 100 receives a processing request of a payment transaction from the payer terminal 400 (S210).

단계(S220)에서, 상기 처리 요청에 응답하여, 서비스 제공 서버(100)가 자동 충전 필요 여부를 판정한다.In step S220, in response to the processing request, the service providing server 100 determines whether automatic charging is required.

자동 충전이 필요 판정에 응답하여, 단계(S230)에서, 서비스 제공 서버(100)가 자동 충전 트랜잭션을 생성한다(230). 예를 들어, 서비스 제공 서버(100)는 결제 트랜잭션에 포함된 결제자의 전자 지갑 주소와 기 설정된 시스템 전자 지갑 주소를 이용하여 자동 충전 트랜잭션을 생성할 수 있다. 충전되는 포인트의 양은 실시예에 따라 달라질 수 있다.In response to the automatic charging necessity determination, in step S230, the service providing server 100 generates an automatic charging transaction (230). For example, the service providing server 100 may generate an automatic charging transaction using the electronic wallet address of the payer included in the payment transaction and the predetermined system electronic wallet address. The amount of points to be charged may vary depending on the embodiment.

단계(S240)에서, 서비스 제공 서버(100)가 블록체인 네트워크(300)으로 자동 충전 트랜잭션의 유효성 검증을 요청하고, 상기 요청에 따른 유효성 검증 결과를 수신한다(S240).In step S240, the service providing server 100 requests validation of the automatic charge transaction to the block-chain network 300, and receives a validation result according to the request (S240).

유효를 가리키는 검증 결과의 수신에 응답하여, 단계(S250)에서, 서비스 제공 서버(100)가 전자 결제 서비스 제공 서버(200)로 실물 화폐의 결제 처리를 요청하고, 상기 요청에 따른 결제 처리 결과를 수신한다.In response to receipt of the validation result indicating validity, in step S250, the service providing server 100 requests the electronic payment service providing server 200 for payment of the real money, and transmits the payment processing result according to the request .

실물 화폐의 결제가 정상적으로 처리된 경우, 단계(S260)에서, 서비스 제공 서버(100)가 포인트 자동 충전을 수행한다.If the settlement of the real money has been normally performed, the service providing server 100 performs the automatic point charging in step S260.

포인트의 자동 충전이 완료되면, 단계(S270)에서, 서비스 제공 서버(100)가 재결제 트랜잭션을 생성한다. 구체적으로, 서비스 제공 서버(100)는 결제 트랜잭션에 포함된 결제 정보, 기존 결제 트랜잭션에 포함된 제1 전자 서명 및 자체적으로 제공하는 제2 전자 서명을 이용하여 상기 재결제 트랜잭션을 생성한다.When the automatic charging of the point is completed, in step S270, the service providing server 100 generates a reassignment transaction. Specifically, the service providing server 100 generates the re-settlement transaction using the settlement information included in the settlement transaction, the first digital signature included in the existing settlement transaction, and the second digital signature provided by itself.

단계(S280)에서, 서비스 제공 서버(100)는 블록체인 네트워크(300)로 상기 재결제 트랜잭션의 유효성 검증을 요청하고, 상기 요청에 따른 유효성 검증 결과를 수신한다.In step S280, the service providing server 100 requests the block chain network 300 to validate the reassignment transaction, and receives a result of the validity check according to the request.

유효를 가리키는 검증 결과의 수신에 응답하여, 단계(S290)에서, 서비스 제공 서버(100)가 결제 트랜잭션에 따라 포인트 차감 처리를 수행하고, 결제 승인을 가리키는 결제 처리 완료 메시지를 결제자 단말(400)로 통지한다.In response to receiving the verification result indicating validity, in step S290, the service providing server 100 performs point deduction processing according to the payment transaction, and transmits a payment processing completion message indicating payment approval to the payer terminal 400 .

단계(S300)에서, 자동 충전 트랜잭션에 대한 데이터가 복수의 블록체인 노드 각각이 관리하는 블록체인 데이터에 기록되고, 단계(S310)에서, 서비스 제공 서버(100)는 상기 자동 충전 트랜잭션에 대한 확정 통지를 수신한다.In step S300, the data for the automatic charge transaction is recorded in the block chain data managed by each of the plurality of block chain nodes. In step S310, the service providing server 100 transmits a confirmation notification .

단계(S320)에서, 재결제 트랜잭션에 대한 데이터가 복수의 블록체인 노드 각각이 관리하는 블록체인 데이터에 기록되고, 단계(S330)에서, 서비스 제공 서버(100)는 상기 재결제 트랜잭션에 대한 확정 통지를 수신한다.In step S320, the data for the reassignment transaction is recorded in the block chain data managed by each of the plurality of block chain nodes. In step S330, the service providing server 100 receives the confirmation notification for the reassignment transaction do.

참고로, 도 12에서, 단계(S300)이 단계(S260) 이후에 수행되는 것으로 도시되어 있으나, 이는 일반적으로 블록 생성에 소정의 시간이 소요되는 것을 반영한 것일 뿐이고, 두 단계(S300, S260)의 선후가 존재하는 것을 의미하는 것은 아니다. 전술한 바와 같이, 자동 충전 트랜잭션이 검증된 이후에 수행되는 단계(S260, S300)는 서로 병렬적으로 수행될 수 있다. 동일한 이유로, 단계(S290)와 단계(S320) 또한 병렬적으로 수행될 수 있다.12, the step S300 is shown to be performed after the step S260, but it is generally reflected that the block creation takes a predetermined time, and the two steps S300 and S260 Does not mean that there is a posterior. As described above, steps (S260, S300) performed after the automatic charging transaction is verified can be performed in parallel with each other. For the same reason, step S290 and step S320 may also be performed in parallel.

지금까지, 도 12를 참조하여, 블록체인 기반 전자 화폐 자동 충전 시스템의 관점에서 본 발명의 실시예에 따른 전자 화폐 자동 충전 방법이 수행되는 과정에 대하여 설명하였다.Up to now, the process of performing the electronic money automatic charging method according to the embodiment of the present invention has been described from the viewpoint of the block chain-based electronic money automatic charging system with reference to FIG.

지금까지 도 3 내지 도 12를 참조하여 설명된 본 발명의 개념은 컴퓨터가 읽을 수 있는 매체 상에 컴퓨터가 읽을 수 있는 코드로 구현될 수 있다. 상기 컴퓨터로 읽을 수 있는 기록 매체는, 예를 들어 이동형 기록 매체(CD, DVD, 블루레이 디스크, USB 저장 장치, 이동식 하드 디스크)이거나, 고정식 기록 매체(ROM, RAM, 컴퓨터 구비 형 하드 디스크)일 수 있다. 상기 컴퓨터로 읽을 수 있는 기록 매체에 기록된 상기 컴퓨터 프로그램은 인터넷 등의 네트워크를 통하여 다른 컴퓨팅 장치에 전송되어 상기 다른 컴퓨팅 장치에 설치될 수 있고, 이로써 상기 다른 컴퓨팅 장치에서 사용될 수 있다.The concepts of the invention described above with reference to Figures 3 to 12 can be implemented in computer readable code on a computer readable medium. The computer readable recording medium may be, for example, a removable recording medium (CD, DVD, Blu-ray disk, USB storage device, removable hard disk) . The computer program recorded on the computer-readable recording medium may be transmitted to another computing device via a network such as the Internet and installed in the other computing device, thereby being used in the other computing device.

도면에서 동작들이 특정한 순서로 도시되어 있지만, 반드시 동작들이 도시된 특정한 순서로 또는 순차적 순서로 실행되어야만 하거나 또는 모든 도시 된 동작들이 실행되어야만 원하는 결과를 얻을 수 있는 것으로 이해되어서는 안 된다. 특정 상황에서는, 멀티태스킹 및 병렬 처리가 유리할 수도 있다. 더욱이, 위에 설명한 실시예들에서 다양한 구성들의 분리는 그러한 분리가 반드시 필요한 것으로 이해되어서는 안 되고, 설명된 프로그램 컴포넌트들 및 시스템들은 일반적으로 단일 소프트웨어 제품으로 함께 통합되거나 다수의 소프트웨어 제품으로 패키지 될 수 있음을 이해하여야 한다.Although the operations are shown in the specific order in the figures, it should be understood that the operations need not necessarily be performed in the particular order shown or in a sequential order, or that all of the illustrated operations must be performed to achieve the desired result. In certain situations, multitasking and parallel processing may be advantageous. Moreover, the separation of the various configurations in the above-described embodiments should not be understood as such a separation being necessary, and the described program components and systems may generally be integrated together into a single software product or packaged into multiple software products .

이상 첨부된 도면을 참조하여 본 발명의 실시예들을 설명하였지만, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있다. 그러므로 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며 한정적인 것이 아닌 것으로 이해해야만 한다.While the present invention has been described in connection with what is presently considered to be practical exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, I can understand that. It is therefore to be understood that the above-described embodiments are illustrative in all aspects and not restrictive.

Claims (11)

서비스 제공 서버에 의해 수행되는 블록체인 기반 전자 화폐 자동 충전 방법에 있어서,
결제자의 단말로부터, 결제 트랜잭션의 처리 요청이 수신됨에 응답하여, 상기 결제자가 보유한 전자 화폐의 자동 충전 필요 여부를 판정하는 단계;
자동 충전이 필요하다는 판정에 응답하여, 상기 결제자의 전자 지갑에 기 설정된 양의 전자 화폐를 충전하는 단계;
상기 결제 트랜잭션에 기록된 결제 정보를 기초로 재결제 트랜잭션을 생성하되, 상기 재결제 트랜잭션은 제1 전자 서명과 제2 전자 서명을 포함하고 상기 제1 전자 서명은 상기 서비스 제공 서버에 의해 제공된 것이며 상기 제2 전자 서명은 상기 결제 트랜잭션에 포함된 것인, 단계; 및
상기 결제자의 단말로 상기 재결제 트랜잭션에 대한 전자 서명을 요청하지 않고, 복수의 블록체인 노드로 구성된 블록체인 네트워크와 연동하여 상기 재결제 트랜잭션을 처리하는 단계를 포함하되,
상기 블록체인 네트워크를 통해 처리되는 트랜잭션은 적어도 두 개의 전자 서명을 포함하는 것을 특징으로 하는,
블록체인 기반 전자 화폐 자동 충전 방법.
1. A block chain-based electronic money automatic charging method performed by a service providing server,
Determining whether automatic payment of the electronic money held by the payer is necessary in response to receiving a processing request of the payment transaction from the payer's terminal;
Charging a predetermined amount of electronic money in the electronic wallet of the payer in response to a determination that automatic charging is necessary;
Generating a reassignment transaction based on the payment information recorded in the payment transaction, wherein the reassignment transaction includes a first digital signature and a second digital signature, the first digital signature being provided by the service providing server, The electronic signature being included in the payment transaction; And
Processing the re-settlement transaction in cooperation with a block-chain network composed of a plurality of block-chain nodes without requesting a digital signature of the re-settlement transaction to the terminal of the payer,
Characterized in that the transaction processed through the block-chain network comprises at least two digital signatures.
Block Chain Based Electronic Money Automatic Charging Method.
제1 항에 있어서,
상기 자동 충전 필요 여부를 판정하는 단계는,
상기 블록체인 네트워크로 상기 결제 트랜잭션을 전달하고, 상기 결제 트랜잭션에 대한 유효성 검증 결과를 획득하는 단계; 및
상기 유효성 검증 결과에 기초하여, 상기 자동 충전 필요 여부를 판정하는 단계를 포함하는 것을 특징으로 하는,
블록체인 기반 전자 화폐 자동 충전 방법.
The method according to claim 1,
Wherein the step of determining whether the automatic charging is necessary includes:
Transferring the payment transaction to the block-chain network, and obtaining a validation result for the payment transaction; And
And determining whether the automatic charging is necessary based on the result of the validity verification.
Block Chain Based Electronic Money Automatic Charging Method.
제1 항에 있어서,
상기 자동 충전 필요 여부를 판정하는 단계는,
상기 블록체인 네트워크로 상기 결제 트랜잭션을 전달하기 전에, 상기 결제자의 전자 지갑의 잔고를 확인하는 단계; 및
상기 결제자의 전자 지갑의 잔고 확인 결과에 기초하여, 상기 자동 충전 필요 여부를 판정하는 단계를 포함하는 것을 특징으로 하는,
블록체인 기반 전자 화폐 자동 충전 방법.
The method according to claim 1,
Wherein the step of determining whether the automatic charging is necessary includes:
Confirming the balance of the electronic purse of the payer before transferring the payment transaction to the block-chain network; And
And determining whether or not the automatic charging is necessary based on a result of checking the balance of the electronic purse of the payer.
Block Chain Based Electronic Money Automatic Charging Method.
제1 항에 있어서,
상기 재결제 트랜잭션을 생성하는 단계는,
상기 결제 정보에 포함된 결제 금액을 제1 결제 금액으로 변경하여, 상기 결제 트랜잭션을 제1 재결제 트랜잭션으로 변경하는 단계; 및
상기 결제 금액과 상기 제1 결제 금액의 차액을 기초로, 제2 재결제 트랜잭션을 생성하는 단계를 포함하는 것을 특징으로 하는,
블록체인 기반 전자 화폐 자동 충전 방법.
The method according to claim 1,
Wherein the generating the reassignment transaction comprises:
Changing the settlement amount included in the settlement information to a first settlement amount and changing the settlement transaction to a first settlement transaction; And
And generating a second re-settlement transaction based on the difference between the settlement amount and the first settlement amount.
Block Chain Based Electronic Money Automatic Charging Method.
제1 항에 있어서,
상기 재결제 트랜잭션을 생성하는 단계는,
상기 결제 트랜잭션을 폐기하는 단계; 및
상기 결제 정보에 기록된 결제 금액과 동일한 금액을 갖는 상기 재결제 트랜잭션을 생성하는 단계를 포함하는 것을 특징으로 하는,
블록체인 기반 전자 화폐 자동 충전 방법.
The method according to claim 1,
Wherein the generating the reassignment transaction comprises:
Discarding the payment transaction; And
And generating the re-settlement transaction having the same amount as the settlement amount recorded in the settlement information.
Block Chain Based Electronic Money Automatic Charging Method.
제1 항에 있어서,
상기 결제자의 전자 지갑에 기 설정된 양의 전자 화폐를 충전하는 단계는,
상기 전자 화폐에 대한 자동 충전 트랜잭션을 생성하는 단계;
상기 복수의 블록체인 노드 중 제1 블록체인 노드로 상기 자동 충전 트랜잭션을 전달하고, 상기 제1 블록체인 노드로부터 상기 자동 충전 트랜잭션에 대한 유효성 검증 결과를 획득하는 제1 프로세스를 수행하는 단계;
유효 트랜잭션을 가리키는 검증 결과의 획득에 응답하여, 전자 결제 서비스 제공 서버를 통해 실물 화폐의 결제 처리가 수행되도록 하고, 상기 전자 결제 서비스 제공 서버로부터 상기 실물 화폐의 결제 처리 결과를 획득하는 제2-1 프로세스를 수행하는 단계;
상기 실물 화폐의 정상 처리를 가리키는 결제 처리 결과의 획득에 응답하여, 상기 결제자의 전자 지갑에 전자 화폐를 충전하는 제2-2 프로세스를 수행하는 단계; 및
상기 복수의 블록체인 노드 중 제2 블록체인 노드가, 상기 복수의 블록체인 노드에 의해 분산 관리되는 블록체인 데이터에 상기 자동 충전 트랜잭션에 대한 데이터를 기록하고 상기 블록체인 네트워크 상에 전파하는 제3 프로세스를 수행하는 단계를 포함하는 것을 특징으로 하는,
블록체인 기반 전자 화폐 자동 충전 방법.
The method according to claim 1,
The step of charging the electronic wallet of the payer with a preset amount of electronic money comprises:
Generating an automatic charging transaction for the electronic money;
Performing a first process of transferring the automatic charge transaction to a first block of nodes of the plurality of block chain nodes and obtaining a validation result for the automatic charge transaction from the first block chain node;
In response to the acquisition of the verification result indicating the valid transaction, the settlement processing of the real money is performed through the electronic settlement service providing server, and the settlement processing of the real money is performed from the second- Performing a process;
Performing a second 2-2 process of charging the electronic wallet of the payer with electronic money in response to acquiring a payment processing result indicating normal processing of the physical money; And
And a third process chain that a node of a second block of the plurality of block chain nodes writes data for the automatic charge transaction to block chain data distributed and managed by the plurality of block chain nodes and propagates on the block chain network ≪ / RTI >
Block Chain Based Electronic Money Automatic Charging Method.
제6 항에 있어서,
상기 제2-2 프로세스와 상기 제3 프로세스는 병렬로 수행되는 것을 특징으로 하는,
블록체인 기반 전자 화폐 자동 충전 방법.
The method according to claim 6,
Wherein the second-2 < th > process and the third process are performed in parallel.
Block Chain Based Electronic Money Automatic Charging Method.
제1 항에 있어서,
상기 재결제 트랜잭션을 처리하는 단계는,
상기 복수의 블록체인 노드 중 제1 블록체인 노드로 상기 재결제 트랜잭션을 전달하고, 상기 제1 블록체인 노드로부터 상기 재결제 트랜잭션에 대한 유효성 검증 결과를 획득하는 제1 프로세스를 수행하는 단계;
유효 트랜잭션을 가리키는 검증 결과의 획득에 응답하여, 상기 재결제 트랜잭션에 따라 상기 결제자의 전자 지갑에서 수취인의 전자 지갑으로 전자 화폐가 이전되도록 하는 제2 프로세스를 수행하는 단계; 및
상기 복수의 블록체인 노드 중 제2 블록체인 노드가, 상기 복수의 블록체인 노드에 의해 분산 관리되는 블록체인 데이터에 상기 재결제 트랜잭션을 기록하고 상기 블록체인 네트워크 상에 전파하는 제3 프로세스를 수행하는 단계를 포함하되,
상기 제2 프로세스 및 상기 제3 프로세스는 병렬로 수행되는 것을 특징으로 하는,
블록체인 기반 전자 화폐 자동 충전 방법.
The method according to claim 1,
Wherein the processing the re-
Performing a first process of transferring the reassignment transaction to a first block of nodes of the plurality of block chain nodes and obtaining a validation result for the reassignment transaction from the first block chain node;
Performing a second process of transferring the electronic money from the electronic wallet of the payer to the electronic wallet of the remitter according to the reassignment transaction, in response to acquiring the verification result indicating the valid transaction; And
Performing a third process of recording the reassignment transaction on block chain data distributed and managed by the plurality of block chain nodes and propagating on the block chain network, wherein the second block of nodes of the plurality of block chain nodes , ≪ / RTI &
Characterized in that the second process and the third process are performed in parallel.
Block Chain Based Electronic Money Automatic Charging Method.
제8 항에 있어서,
상기 블록체인 네트워크는,
허가된 결제자 및 허가된 블록체인 노드만이 참여하는 퍼미션 기반 블록체인 네트워크(permission-based blockchain network)인 것을 특징으로 하는,
블록체인 기반 전자 화폐 자동 충전 방법.
9. The method of claim 8,
Wherein the block-
Based blockchain network in which only authorized payers and authorized block-chain nodes participate.
Block Chain Based Electronic Money Automatic Charging Method.
제9 항에 있어서,
상기 복수의 블록체인 노드는,
복수의 블록이 체인 구조로 연결된 제1 블록체인 데이터 및 상기 제1 블록체인 데이터와 별개로 구성된 제2 블록체인 데이터를 분산 저장하되,
상기 제1 블록체인 데이터는 결제자 및 블록체인 노드의 퍼미션 정보를 포함하고,
상기 제2 블록체인 데이터는 트랜잭션 데이터를 포함하는 것을 특징으로 하는,
블록체인 기반 전자 화폐 자동 충전 방법.
10. The method of claim 9,
Wherein the plurality of block-
A first block chain data in which a plurality of blocks are connected in a chain structure and a second block chain data separately configured from the first block chain data are distributedly stored,
Wherein the first block chain data includes permission information of a payer and a block chain node,
Wherein the second block chain data comprises transaction data. ≪ RTI ID = 0.0 >
Block Chain Based Electronic Money Automatic Charging Method.
제8 항에 있어서,
상기 제3 프로세스를 수행하는 단계는,
채굴 프로세스를 통해 신규 블록을 생성하는 단계;
상기 신규 블록에 상기 재결제 트랜잭션에 대한 데이터 및 상기 제2 블록체인 노드의 퍼미션 정보를 기록하는 단계; 및
상기 신규 블록을 상기 블록체인 네트워크 상에 전파하는 단계를 포함하되,
상기 복수의 블록체인 노드 중 상기 신규 블록을 수신한 블록체인 노드는, 상기 블록체인 데이터에 기 저장된 블록 생성 노드의 퍼미션 정보와 상기 신규 블록에 기록된 퍼미션 정보의 비교 결과에 기초하여 상기 신규 블록의 추가 여부를 판정하는 것을 특징으로 하는,
블록체인 기반 전자 화폐 자동 충전 방법.
9. The method of claim 8,
Wherein performing the third process comprises:
Generating a new block through a mining process;
Recording the data for the reassignment transaction and the permission information of the second block chain node in the new block; And
Propagating the new block on the block-chain network,
Wherein the node of the block receiving the new block among the plurality of block chain nodes is a node of the new block based on the comparison result between the permission information of the block generating node previously stored in the block chain data and the permission information recorded in the new block, Wherein the step
Block Chain Based Electronic Money Automatic Charging Method.
KR1020170135847A 2017-04-05 2017-10-19 Method for charging electronic money automatically based on blockchain and system thereof KR102407187B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/942,094 US20180293557A1 (en) 2017-04-05 2018-03-30 Method of charging electronic currency automatically based on blockchain and system thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020170044430 2017-04-05
KR20170044430 2017-04-05

Publications (2)

Publication Number Publication Date
KR20180113146A true KR20180113146A (en) 2018-10-15
KR102407187B1 KR102407187B1 (en) 2022-06-10

Family

ID=63865945

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170135847A KR102407187B1 (en) 2017-04-05 2017-10-19 Method for charging electronic money automatically based on blockchain and system thereof

Country Status (1)

Country Link
KR (1) KR102407187B1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200054124A (en) * 2018-11-07 2020-05-19 알리바바 그룹 홀딩 리미티드 Blockchain system supporting public and private transactions under the account model
CN111242591A (en) * 2020-01-10 2020-06-05 厦门顺势共识信息科技有限公司 Block chain transaction processing method, system and storage medium based on joint signature
KR20200066254A (en) * 2018-11-27 2020-06-09 알리바바 그룹 홀딩 리미티드 How to execute a multiparty transaction using a smart contract
CN111422078A (en) * 2020-03-09 2020-07-17 上海能链众合科技有限公司 Electric vehicle charging data allocation monitoring method based on block chain
KR20200092152A (en) 2019-01-24 2020-08-03 주식회사 더휴먼플러스 Automatic transfer method of virtual currency based on blockchain and server thereof
KR20200093345A (en) * 2019-01-28 2020-08-05 김철웅 System and method of mining cryptocurrency using mobile game

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120082782A (en) * 2011-01-14 2012-07-24 시큐어플랫폼즈테크놀로지(주) Method for controlling automatic charge of sam, and secure application module
KR20160009301A (en) * 2014-07-16 2016-01-26 주식회사 코빗 Private key based e-cash payment system and method thereof
KR20160095720A (en) * 2015-02-03 2016-08-12 한양대학교 에리카산학협력단 Method and apparatus for protecting transasction of encrypted currency
KR20160150278A (en) 2016-06-15 2016-12-29 주식회사 코인플러그 Financial institution document verification system that is based on the block chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120082782A (en) * 2011-01-14 2012-07-24 시큐어플랫폼즈테크놀로지(주) Method for controlling automatic charge of sam, and secure application module
KR20160009301A (en) * 2014-07-16 2016-01-26 주식회사 코빗 Private key based e-cash payment system and method thereof
KR20160095720A (en) * 2015-02-03 2016-08-12 한양대학교 에리카산학협력단 Method and apparatus for protecting transasction of encrypted currency
KR20160150278A (en) 2016-06-15 2016-12-29 주식회사 코인플러그 Financial institution document verification system that is based on the block chain

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200054124A (en) * 2018-11-07 2020-05-19 알리바바 그룹 홀딩 리미티드 Blockchain system supporting public and private transactions under the account model
KR20200066254A (en) * 2018-11-27 2020-06-09 알리바바 그룹 홀딩 리미티드 How to execute a multiparty transaction using a smart contract
TWI728418B (en) * 2018-11-27 2021-05-21 開曼群島商創新先進技術有限公司 Method and system for executing multi-party transaction using smart contract
KR20200092152A (en) 2019-01-24 2020-08-03 주식회사 더휴먼플러스 Automatic transfer method of virtual currency based on blockchain and server thereof
KR20200093345A (en) * 2019-01-28 2020-08-05 김철웅 System and method of mining cryptocurrency using mobile game
CN111242591A (en) * 2020-01-10 2020-06-05 厦门顺势共识信息科技有限公司 Block chain transaction processing method, system and storage medium based on joint signature
CN111422078A (en) * 2020-03-09 2020-07-17 上海能链众合科技有限公司 Electric vehicle charging data allocation monitoring method based on block chain
CN111422078B (en) * 2020-03-09 2021-11-16 上海能链众合科技有限公司 Electric vehicle charging data allocation monitoring method based on block chain

Also Published As

Publication number Publication date
KR102407187B1 (en) 2022-06-10

Similar Documents

Publication Publication Date Title
KR20180113145A (en) Method for processing blockchain based real-time transaction and system thereof
KR20180113146A (en) Method for charging electronic money automatically based on blockchain and system thereof
US20180293557A1 (en) Method of charging electronic currency automatically based on blockchain and system thereof
US10762479B2 (en) Method and system for processing blockchain-based real-time transaction
CN111034114B (en) Blockchain architecture with record security
KR101950912B1 (en) Verification system and method for transaction based block chain
CN110599143B (en) Data processing method, related device and medium
CN107925572B (en) Secure binding of software applications to communication devices
US20170221053A1 (en) Digital asset conversion
KR20200106130A (en) Method and device for protecting sensitive data of transaction activity based on smart contract in blockchain
KR20180113143A (en) System for trading user-defined currency based on blockchain and operating method thereof
US20090070263A1 (en) Peer to peer fund transfer
CN113874899A (en) Computer-implemented system and method for effecting transfers over blockchain networks
KR102384321B1 (en) Method for processing a payment based on blockchain and Apparatus thereof
JP2017027621A (en) Securely reloadable electronic wallet
CN111738725B (en) Cross-border resource transfer authenticity auditing method and device and electronic equipment
KR20180128874A (en) Apparatus and method of deposit of cryptocurrency exchange using transaction verification
US11669812B2 (en) Contingent payments for virtual currencies
JP6352463B1 (en) Virtual currency management device, virtual currency management method, and program
JP2023509573A (en) Cryptocurrency acceptance system
KR20200114324A (en) Block chain based money transfer processing system using cryptocurrency
US20220353058A1 (en) Conditional offline interaction system and method
CN113362064B (en) Multiple signature method, computer device, and storage medium
US20230237476A1 (en) Electronic wallet, server for executing the same, and method for atomic exchange of blockchain tokens using the server
CN113159940A (en) Transaction method, system and computer equipment for enhanced bit currency wallet

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E90F Notification of reason for final refusal
E701 Decision to grant or registration of patent right