KR20200096055A - Server and method for credit transaction using blockchain network - Google Patents

Server and method for credit transaction using blockchain network Download PDF

Info

Publication number
KR20200096055A
KR20200096055A KR1020190102905A KR20190102905A KR20200096055A KR 20200096055 A KR20200096055 A KR 20200096055A KR 1020190102905 A KR1020190102905 A KR 1020190102905A KR 20190102905 A KR20190102905 A KR 20190102905A KR 20200096055 A KR20200096055 A KR 20200096055A
Authority
KR
South Korea
Prior art keywords
node
credit transaction
user
server
token
Prior art date
Application number
KR1020190102905A
Other languages
Korean (ko)
Other versions
KR102249864B1 (en
Inventor
김용태
임병완
Original Assignee
김용태
임병완
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 김용태, 임병완 filed Critical 김용태
Publication of KR20200096055A publication Critical patent/KR20200096055A/en
Application granted granted Critical
Publication of KR102249864B1 publication Critical patent/KR102249864B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3825Use of electronic signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/34Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
    • G06Q20/341Active cards, i.e. cards including their own processing means, e.g. including an IC or chip
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q2220/00Business processing using cryptography
    • G06Q2220/10Usage protection of distributed data files

Landscapes

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

Abstract

According to an embodiment of the present invention, a credit transaction server can perform the following operations of: determining authority for issuing tokens of a user node mapped to a user account registered in a credit transaction service; checking transfer information associated with the transfer of the tokens issued by the authorized user node from the user node to a server node; receiving information on a credit transaction that occurred between a user terminal linked to the user account and an affiliated store terminal linked to an affiliated store account registered in the credit transaction service; and generating a transfer transaction that transfers the amount of tokens corresponding to the credit transaction from the server node operating according to commands of the credit transaction server to the affiliated store node mapped to the affiliated store account in a blockchain network.

Description

블록체인 네트워크를 이용한 여신거래 서버 및 방법{SERVER AND METHOD FOR CREDIT TRANSACTION USING BLOCKCHAIN NETWORK}Credit transaction server and method using blockchain network {SERVER AND METHOD FOR CREDIT TRANSACTION USING BLOCKCHAIN NETWORK}

본 문서의 실시예들은 블록체인 네트워크를 이용하여 여신거래 서비스를 제공하는 기술에 관한 것이다.Embodiments of this document relate to a technology for providing a credit transaction service using a blockchain network.

신용카드는 신용을 담보로 상품이나 서비스의 대금을 일정 기간 뒤에 지불하는 여신거래에 사용되는 카드를 말한다. 카드 사용자는 카드 발행사와 계약을 체결하고 신용카드를 발급받아 여신거래 서비스를 이용하게 된다. Credit card refers to a card used in credit transactions to pay for goods or services after a certain period of time with credit as collateral. The card user signs a contract with the card issuer, receives a credit card, and uses the credit transaction service.

이러한 신용카드를 이용한 여신거래는 일반적으로 카드 사용자가 가맹점에 구비된 가맹점 단말기에 신용카드를 긁거나, 마그네틱 보안 전송(MST) 기능이 탑재된 스마트폰을 가맹점 단말기에 접촉시킴으로써, 신용카드 결제정보가 결제망에 전송되고 밴(VAN)사를 통해 결제정보가 카드 발행사에 전달되어 결제 승인이 이루어지는 과정을 거친다. In the credit transaction using such a credit card, in general, credit card payment information is provided by a card user swiping a credit card on an affiliated store terminal provided in the affiliated store, or by contacting a smartphone equipped with a magnetic security transmission (MST) function to the affiliated store terminal. It is transmitted to the payment network, and payment information is transmitted to the card issuer through the VAN company, and payment is approved.

이때 밴(VAN)사는 카드 발행사를 대신하여 해당 신용카드를 사용할 수 있는 단말기를 제공한다. 카드 사용자가 가맹점 단말기를 통해 물품 등을 구입할 경우, 밴사는 해당 카드 사용자가 발생시킨 결제정보가 카드 발행사에 의해 승인되도록 결제망의 정보를 중계한다. 또한 카드 결제 후 가맹점이 카드 발행사에 대해 카드결제대금을 청구해 받을 수 있도록 카드매출 데이터를 수집하는 카드전표 매입 업무를 대행한다. At this time, VAN provides a terminal that can use the credit card on behalf of the card issuer. When a card user purchases an item through the affiliated store terminal, Bansa relays the payment network information so that the payment information generated by the card user is approved by the card issuer. In addition, after card payment, the affiliated store is in charge of purchasing card slips to collect card sales data so that the card issuer can be charged for payment.

이에 따라, 카드 발행사는 밴사로부터 제공받은 카드매출 데이터를 통해 카드 사용자에게 사용 내역을 청구하여 여신거래 대금을 정산하고, 카드 사용자가 가맹점에게 발생시킨 대금 중 카드 발행사와 밴사의 수수료를 제외한 금액을 가맹점에게 최종적으로 지급하게 된다. Accordingly, the card issuer bills the card user for usage details through the card sales data provided by Vansa to settle the amount of the credit transaction, and the amount excluding the card issuer and the Vansa fee from the payments generated by the card user to the affiliated store Will be finally paid to.

그러나 밴사의 승인중계, 카드전표 매입 등의 업무 대가로 카드발행사가 밴사에게 지급하는 거래승인수수료, 매입정산수수료, 전표수거수수료 등에 대한 산출 내역 및 근거가 투명하지 않고, 기존의 여신거래 시스템에 참여하는 중계 주체가 너무 많다는 문제가 제기되고 있다. However, the calculation details and basis for the transaction approval fee, purchase settlement fee, and voucher collection fee paid by the card issuer to Bansa in return for business such as Bansa approval relay and card voucher purchase are not transparent, and participate in the existing credit transaction system. There is a problem that there are too many relay agents to do so.

이에 더하여, 신용카드를 이용한 결제가 해외에서 이루어질 경우 결제망이 달라지고 결제 정보를 처리하는 중계 주체가 훨씬 더 복잡해지면서, 가맹점이 실제로 대금을 지급받는 시기가 늦쳐지고 불필요한 수수료가 증가한다는 문제가 존재한다. In addition, when payment using a credit card is made abroad, the payment network changes and the relay entity that processes payment information becomes much more complicated, and there is a problem that the time when the merchant actually receives payment is delayed and unnecessary fees increase. do.

한국 공개특허공보 제10-2018-0026498호: 전자 지불의 보안 처리Korean Patent Application Publication No. 10-2018-0026498: Secure processing of electronic payments

본 문서의 실시예들은 상술한 문제를 해결하기 위해, 사용자의 여신거래 결제 정보가 특정한 중계 주체 없이 처리되고, 모든 결제 및 정산 과정이 투명하게 공개되면서 변조가 불가하며, 나아가 기존에 분리되어 있는 각국의 결제망에 국한되지 않고 지역에 상관없이 하나의 결제망을 통해 이루어지는 여신거래 기술을 제공하고자 한다.In order to solve the above-described problem, the embodiments of the present document are processed without a specific relay agent, and all payment and settlement processes are transparently disclosed, making it impossible to tamper with. It is not limited to the payment network of the company, but aims to provide a technology for credit transaction that is made through a single payment network regardless of region.

일 실시예에 따른 여신거래 서버는 여신거래 서비스에 등록된 사용자 계정에 맵핑된 사용자 노드, 상기 여신거래 서비스에 등록된 가맹점 계정에 맵핑된 가맹점 노드, 및 상기 서버에 대응되는 서버 노드를 포함하는 블록체인 네트워크와 통신하기 위한 통신 인터페이스; 소정의 동작을 수행하도록 하는 명령어들을 저장하는 하나 이상의 메모리; 및 상기 하나 이상의 메모리와 동작 가능 하도록 연결되어 상기 명령어들을 실행하도록 설정된 하나 이상의 프로세서를 포함하고- 상기 서버 노드는 상기 블록체인 네트워크에서 상기 서버의 명령에 따라 동작됨 -, 상기 하나 이상의 프로세서는 상기 사용자 노드의 토큰 발행에 대한 권한을 결정하는 동작, 상기 권한을 가진 상기 사용자 노드에 의해 발행된 토큰이 상기 사용자 노드로부터 상기 서버 노드로 이체되는 것과 연관된 이체 정보를 확인하는 동작, 상기 사용자 계정에 연동된 사용자 단말과 상기 가맹점 계정에 연동된 가맹점 단말 사이에 발생된 여신거래에 대한 정보를 수신하는 동작 및 상기 이체 정보에 기초해 상기 여신거래에 대응되는 토큰의 수량을 상기 서버 노드로부터 상기 가맹점 노드로 이체시키는 이체 트랜잭션을 상기 블록체인 네트워크에 발생시키는 동작을 수행할 수 있다. The credit transaction server according to an embodiment comprises a user node mapped to a user account registered in the credit transaction service, an affiliate store node mapped to an affiliate store account registered in the credit transaction service, and a server node corresponding to the server. A communication interface for communicating with the chain network; At least one memory for storing instructions for performing a predetermined operation; And at least one processor connected to be operable with the at least one memory and configured to execute the instructions, wherein the server node is operated according to the command of the server in the blockchain network, and the at least one processor is the user Determining the authority for issuing tokens of the node, checking transfer information related to transfer of the token issued by the user node having the authority from the user node to the server node, linked to the user account The operation of receiving information on the credit transaction between the user terminal and the affiliated store terminal linked to the affiliated store account and transferring the amount of tokens corresponding to the credit transaction from the server node to the affiliated store node based on the transfer information It is possible to perform an operation of generating a transfer transaction to the blockchain network.

일 실시예에 따른 여신거래 방법은 여신거래 서비스에 등록된 사용자 계정에 맵핑된 사용자 노드의 토큰 발행에 대한 권한을 결정하는 단계; 상기 권한을 가진 상기 사용자 노드에 의해 발행된 토큰이 상기 사용자 노드로부터 상기 서버 노드로 이체되는 것과 연관된 이체 정보를 확인하는 단계; 상기 사용자 계정과 연동되는 사용자 단말과 상기 여신거래 서비스에 등록된 가맹점 계정과 연동되는 가맹점 단말 사이에 발생된 여신거래에 대한 정보를 수신하는 단계; 및 상기 여신거래에 대응되는 토큰의 수량을 상기 여신거래 서버의 명령에 따라 동작하는 서버 노드로부터 상기 가맹점 계정과 맵핑된 가맹점 노드로 이체시키는 이체 트랜잭션을 상기 블록체인 네트워크에 발생시키는 단계를 포함할 수 있다. A credit transaction method according to an embodiment includes the steps of determining an authority to issue tokens of a user node mapped to a user account registered in the credit transaction service; Checking transfer information associated with transfer of a token issued by the user node having the authority from the user node to the server node; Receiving information on a credit transaction generated between a user terminal linked with the user account and an affiliated store terminal linked with an affiliated store account registered in the credit transaction service; And generating a transfer transaction in the blockchain network for transferring the quantity of tokens corresponding to the credit transaction from a server node operating according to a command of the credit transaction server to an affiliate node mapped to the affiliate store account. have.

본 문서의 실시예는 여신거래의 승인, 발생, 기록, 및 정산 등에 필요한 모든 과정은, 사용자에게 발급된 토큰의 이체 자체로 모두 처리될 수 있다. 즉, 토큰이 이체되었다는 것은, 블록체인 네트워크에서 토큰의 이체 트랜잭션을 실행시키기 위해 필요한 각종 정보들이 검증되어 블록체인에 기록되었다는 것을 의미한다. 이때 검증에는, 올바른 사용자에 의해 토큰 이체가 요청된 것인지에 대한 확인, 사용자가 지급 가능한 한도 내에서 발생한 여신거래인지 확인, 여신거래 금액 등을 포함할 수 있다. 이러한 검증은 블록체인 네트워크에 참여하는 노드들에 의해 자발적으로 이루어질 수 있다. In the embodiment of this document, all processes necessary for approval, generation, recording, and settlement of credit transactions can be handled by transfer of tokens issued to users. In other words, that the token has been transferred means that various information required to execute the token transfer transaction in the blockchain network has been verified and recorded in the blockchain. In this case, the verification may include confirmation of whether a token transfer has been requested by a correct user, confirmation of whether a credit transaction occurred within a allowable limit by the user, and a credit transaction amount. This verification can be done voluntarily by nodes participating in the blockchain network.

또한, 상술한 바에 따라 검증된 토큰의 이체는 곧 여신거래의 발생이고, 토큰의 이체는 변조가 어려운 합의 알고리즘에 따라 블록체인 상에 기록되며, 블록체인에 기록된 이체 내역에 기초하여 사용자가 여신거래에 대해 정산해야 할 대금과 가맹점에게 정산해야 할 대금을 파악할 수 있다. In addition, the transfer of the verified token according to the above is the occurrence of a credit transaction, and the transfer of the token is recorded on the blockchain according to a consensus algorithm that is difficult to alter, and based on the transfer history recorded in the blockchain, the user makes a credit. You can determine the amount to be settled for the transaction and the amount to be settled to the affiliated store.

따라서, 본 문서의 실시예는 여신거래의 승인, 발생, 기록, 및 정산 등의 모든 과정을 한 번에 처리할 수 있고, 변조가 어려운 합의 알고리즘에 기초한 기록이 이루어지므로 보안성이 뛰어나며, 이러한 보안성의 유지는 블록체인 생태계를 유지하기 위한 노드들에 의해 자발적으로 수행되므로 보안성 유지 비용이 절감될 수 있다. Therefore, the embodiment of this document is excellent in security because it can process all processes such as approval, generation, recording, and settlement of credit transactions at once, and recording based on a consensus algorithm that is difficult to tamper with. Since the maintenance of the castle is voluntarily performed by the nodes to maintain the blockchain ecosystem, the cost of maintaining security can be reduced.

또한, 본 문서의 실시예에 따른 여신거래 서비스는 블록체인 네트워크에서 토큰의 이체를 통하여 수행되므로, 특정한 지역에 국한되지 않은 채 인터넷 망에 연결된 모든 장소에서 여신거래 서비스를 수행할 수 있다. In addition, since the credit transaction service according to the embodiment of this document is performed through the transfer of tokens in the blockchain network, the credit transaction service can be performed at any place connected to the Internet network without being limited to a specific region.

아울러, 본 문서의 실시예에 따른 여신거래의 기록은 토큰의 이체 자체로써 블록체인에 기록되는 것이기 때문에, 정산 내역을 발급하기 위한 중계자의 카드전표 매입 업무가 생략되어 기존의 중계 수수료를 대폭 감소시킬 수 있다. In addition, since the credit transaction record according to the embodiment of this document is recorded on the blockchain as a token transfer itself, the broker's card slip purchase task for issuing settlement details is omitted, which will significantly reduce the existing relay fee. I can.

이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects that can be directly or indirectly identified through this document may be provided.

도 1은 일 실시예에 따른 여신거래 시스템과 블록체인 네트워크의 동작 환경을 나타내는 구성도이다.
도 2는 일 실시예에 따른 블록체인 네트워크 내에서 노드들이 수행하는 동작을 나타내는 예시도이다.
도 3은 일 실시예에 따른 여신거래 서버의 구성 블록도이다.
도 4는 일 실시예에 따른 여신거래 서비스의 가입 및 토큰 발행 승인 과정에 대한 흐름도이다.
도 5는 사용자 노드로부터 가맹점 노드로 토큰이 이체되는 실시예에 따른, 토큰 발행부터 여신거래에 이어 정산까지의 과정에 대한 흐름도이다.
도 6은 서버 노드로부터 가맹점 노드로 토큰이 이체되는 실시예에 따른, 토큰 발행부터 여신거래에 이어 정산까지의 과정에 대한 흐름도이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
1 is a block diagram showing an operation environment of a credit transaction system and a blockchain network according to an embodiment.
2 is an exemplary diagram showing operations performed by nodes in a blockchain network according to an embodiment.
3 is a block diagram of a credit transaction server according to an embodiment.
4 is a flowchart illustrating a process of signing up for a credit transaction service and approving token issuance according to an embodiment.
5 is a flowchart illustrating a process from issuing a token to a credit transaction and then settlement according to an embodiment in which a token is transferred from a user node to an affiliated store node.
6 is a flowchart illustrating a process from issuing a token to a credit transaction and then settlement according to an embodiment in which a token is transferred from a server node to an affiliated store node.
In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar components.

이하, 본 발명의 다양한 실시예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다. Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. However, this is not intended to limit the present invention to specific embodiments, and it should be understood that the embodiments of the present invention include various modifications, equivalents, and/or alternatives.

도 1은 일 실시예에 따른 여신거래 시스템(10)과 블록체인 네트워크(20)의 동작 환경을 나타내는 구성도이다. 도 1을 참조하면, 일 실시예에 따른 거래소 시스템은 블록체인 네트워크(20)과 연동하여 동작할 수 있다. 1 is a block diagram showing an operating environment of a credit transaction system 10 and a blockchain network 20 according to an embodiment. Referring to FIG. 1, an exchange system according to an embodiment may operate in conjunction with a blockchain network 20.

일 실시예에 따른 여신거래 시스템(10)은 시스템을 구성하는 주체에 의해 발생하는 여신거래에 대한 정보를 블록체인 네트워크(20)로 전달하고, 여신거래에 대한 처리 과정이 블록체인 네트워크(20)를 구성하는 주체인 노드들에 의해 처리되도록 한다. 상술한 동작을 달성하기 위해, 일 실시예에 따른 여신거래 시스템(10)은 여신거래 서버(100), 사용자 단말(200) 및 가맹점 단말(300)을 포함한다. The credit transaction system 10 according to an embodiment transmits information on the credit transaction generated by the entity constituting the system to the blockchain network 20, and the processing process for the credit transaction is performed by the blockchain network 20 To be processed by the nodes that constitute the subject. In order to achieve the above-described operation, the credit transaction system 10 according to an embodiment includes a credit transaction server 100, a user terminal 200 and an affiliated store terminal 300.

여신거래 서버(100)는 블록체인 네트워크(20)를 이용한 여신거래 서비스를 제공한다. 일 실시예에 따른 여신거래 서비스는 블록체인 네트워크(20)에서 사용되는 토큰을 담보로 상품이나 서비스의 대금을 일정 기간 뒤에 지불하는 서비스를 포함할 수 있다. 여신거래 서버(100)는 상기 서비스를 사용하려는 사용자 또는 가맹점에게 서비스를 사용하기 위한 계정(예: ID, password)을 발급하고 계정에 대한 정보를 저장할 수 있다. 계정에 대한 정보는 각 계정이 블록체인 네트워크(20)에 참여할 수 있는 노드에 관한 정보를 포함할 수 있다. 사용자는 사용자 계정과 연동되는 사용자 단말(200)을 통해 여신거래 서비스를 사용할 수 있고, 사용자 계정과 맵핑된 사용자 노드(200n)를 통해 블록체인 네트워크(20)에 접속할 수 있다. 가맹점은 가맹점 계정과 연동되는 가맹점 단말(300)을 통해 여신거래 서비스를 사용할 수 있고, 가맹점 계정과 맵핑된 가맹점 노드(300n)를 통해 블록체인 네트워크(20)에 접속할 수 있다.The credit transaction server 100 provides a credit transaction service using the blockchain network 20. The credit transaction service according to an embodiment may include a service for paying for a product or service after a certain period of time with a token used in the blockchain network 20 as collateral. The credit transaction server 100 may issue an account (eg, ID, password) for using the service to a user or affiliated store who intends to use the service and store information on the account. The information on the account may include information on nodes that each account can participate in the blockchain network 20. The user can use the credit transaction service through the user terminal 200 linked to the user account, and can access the blockchain network 20 through the user node 200n mapped to the user account. The affiliate store can use the credit transaction service through the affiliate store terminal 300 linked to the affiliate store account, and can access the blockchain network 20 through the affiliate store node 300n mapped with the affiliate store account.

여신거래 서버(100)는 블록체인 네트워크(20)에 참여하는 서버 노드(200n)에 관한 정보를 저장하고, 여신거래 서버(100)는 서버 노드(200n)를 동작시킬 수 있다. 여신거래 서버(100)는 서버 노드(200n)를 통해 블록체인 네트워크(20)에서 사용될 토큰에 대한 발행/이체 등에 대한 방식을 결정할 수 있다. 토큰은 여신거래의 매개 수단이며, 동시에 여신거래를 성립시키기 위한 정보의 기록 수단이 될 수 있다. 여신거래 서버(100)는 사용자 단말(200)과 가맹점 단말(300) 사이에서 발생하는 여신거래를 토큰의 이체를 통해 기록하고 처리할 수 있다. 토큰에 대한 상세한 설명은 블록체인 네트워크(20)와 함께 후술한다. The credit transaction server 100 stores information on the server node 200n participating in the blockchain network 20, and the credit transaction server 100 may operate the server node 200n. The credit transaction server 100 may determine a method of issuing/transferring a token to be used in the blockchain network 20 through the server node 200n. Tokens are a medium of credit transactions, and at the same time, they can be a means of recording information for establishing a credit transaction. The credit transaction server 100 may record and process a credit transaction occurring between the user terminal 200 and the affiliated store terminal 300 through transfer of a token. A detailed description of the token will be described later together with the blockchain network 20.

사용자 단말(200)은 여신거래 서비스를 이용하는 사용자가 사용하는 단말로써, 사용자는 사용자 단말(200)을 통한 토큰의 발행 및 이체를 기초로 상품이나 서비스의 대금을 일정 기간 뒤에 지불할 수 있다. The user terminal 200 is a terminal used by a user who uses the credit transaction service, and the user can pay for a product or service after a certain period based on the issuance and transfer of tokens through the user terminal 200.

가맹점 단말(300)은 상기 사용자에게 상품이나 서비스에 대한 여신거래를 제공하는 가맹점이 사용하는 단말로써, 가맹점은 가맹점 단말(300)을 통해 토큰의 이체를 확인하여 결제를 승인하고 상품이나 서비스의 대금을 정산 받을 수 있다. The affiliated store terminal 300 is a terminal used by an affiliate that provides a credit transaction for a product or service to the user, and the affiliated store confirms the transfer of tokens through the affiliated store terminal 300 to approve payment and pay for the product or service. Can be settled.

여신거래 서버(100), 사용자 단말(200) 및 가맹점 단말(300)은 네트워크를 통해 정보를 송수신할 수 있는 다양한 형태의 장치로 구현될 수 있다. 예를 들면, 휴대용 통신 장치, 스마트 폰, 컴퓨터 장치, 휴대용 멀티미디어 장치, 노트북, 태블릿 PC 등을 포함할 수 있다. 또한, 여신거래 서버(100), 사용자 단말(200) 및 가맹점 단말(300)은 통신망을 통해 동작 가능하도록 연결되어 정보를 송수신할 수 있다. 예를 들어, 통신망은 LAN(local area network), WAN(wide area network), 가상 네트워크, 원격 통신 등의 유무선 통신 네트워크를 포함할 수 있다. The credit transaction server 100, the user terminal 200, and the affiliated store terminal 300 may be implemented as various types of devices capable of transmitting and receiving information through a network. For example, it may include a portable communication device, a smart phone, a computer device, a portable multimedia device, a notebook computer, a tablet PC, and the like. In addition, the credit transaction server 100, the user terminal 200, and the affiliated store terminal 300 may be connected to be operable through a communication network to transmit and receive information. For example, the communication network may include a wired or wireless communication network such as a local area network (LAN), a wide area network (WAN), a virtual network, and remote communication.

블록체인 네트워크(20)는 서로 연결된 복수 개의 컴퓨팅 장치인 노드들을 포함하는 피투피 네트워크로 이해될 수 있다. 각각의 노드는 하나 이상의 프로세서를 포함하여 연산을 수행할 수 있고, 블록체인 네트워크(20)에 등록된 블록체인 노드 정보를 가질 수 있다. 블록체인 노드 정보는 개인키(private key)와 공개키(public key)를 포함할 수 있다. 개인키는, 블록체인 네트워크(20)에서 트랜잭션이 발생하도록 하기 위한 사용자의 디지털 서명으로 기능할 수 있다. 공개키는 사용자의 노드를 식별하는 정보이자, 암호화폐 또는 토큰을 보유하는 블록체인 계좌 주소(account address)로 기능할 수 있다. 서버 노드(100n), 사용자 노드(200n), 가맹점 노드(300n)는 각각의 개인키를 이용하여 블록체인 네트워크(20)에 소정의 트랜잭션을 발생시킬 수 있다. The blockchain network 20 may be understood as a P-to-P network including nodes that are a plurality of computing devices connected to each other. Each node may include one or more processors to perform operations, and may have block chain node information registered in the block chain network 20. Blockchain node information may include a private key and a public key. The private key may function as a digital signature of a user to cause a transaction to occur in the blockchain network 20. The public key is information that identifies the user's node and can function as an account address in the blockchain holding cryptocurrency or token. The server node 100n, the user node 200n, and the affiliated store node 300n may generate a predetermined transaction in the blockchain network 20 using respective private keys.

다양한 실시예에서, 블록체인 계좌 주소는 사람이 인식할 수 있는(human-readable) 문자 또는 숫자로 이루어진 텍스트열을 포함할 수 있다. In various embodiments, the blockchain account address may include a text string composed of human-readable characters or numbers.

여신거래 서버(100), 사용자 단말(200) 및 가맹점 단말(300)은 블록체인 네트워크(20)의 구성으로서 노드 정보를 보유하고, 자신의 노드 정보를 통해 블록체인 네트워크(20)에 접속하여 블록체인 네트워크(20)를 구성하는 노드로서 동작할 수 있다. The credit transaction server 100, the user terminal 200, and the affiliated store terminal 300 hold node information as a configuration of the blockchain network 20, and connect to the blockchain network 20 through their own node information to block It can operate as a node constituting the chain network 20.

이하, 블록체인 네트워크(20)를 구성하는 노드 중 여신거래 서버(100)가 동작시키는 노드를 서버 노드(100n), 사용자 단말(200)이 동작시키는 노드를 사용자 노드(200n), 가맹점 단말(300)이 동작시키는 노드를 가맹점 노드(300n)라고 지칭한다. 블록체인 네트워크(20)에서 서버 노드(100n), 사용자 노드(200n), 가맹점 노드(300n)가 수행하는 동작은 여신거래 서버(100), 사용자 단말(200), 가맹점 단말(300)에 의해 수행되는 동작으로 이해될 수 있다. Hereinafter, among nodes constituting the blockchain network 20, a node operated by the credit transaction server 100 is a server node 100n, a node operated by the user terminal 200 is a user node 200n, and an affiliated store terminal 300 ) Is referred to as an affiliated store node 300n. Operations performed by the server node (100n), the user node (200n), and the affiliated store node (300n) in the blockchain network 20 are performed by the credit transaction server 100, the user terminal 200, and the affiliated store terminal 300 It can be understood as an action to become.

서버 노드(100n), 사용자 노드(200n) 및 가맹점 노드(300n)가 수행하는 동작들은, 이하 설명될 트랜잭션의 배포부터 다른 노드들에 의한 트랜잭션 검증 및 기록까지 수행되어 동작이 실행되는 것으로 이해될 수 있다. The operations performed by the server node 100n, the user node 200n, and the affiliated store node 300n may be understood as being executed from distribution of a transaction to be described below to verifying and recording transactions by other nodes. have.

블록체인 네트워크(20)에 포함된 각각의 노드는 다른 노드에 의해 발생한 트랜잭션을 블록체인 네트워크(20) 내에서 정해진 프로토콜에 따라 검증, 실행, 및 기록하고, 그에 대한 보상(예: 암호화폐, 토큰 등)을 받을 수 있다. Each node included in the blockchain network 20 verifies, executes, and records transactions generated by other nodes according to a protocol set within the blockchain network 20, and compensates for it (e.g., cryptocurrency, token Etc.).

트랜잭션은 블록체인에 정보를 추가하거나 블록체인 네트워크(20) 내에서 특정한 동작이 발생하도록 블록체인 네트워크(20) 내의 노드들에게 전파되는 정보이다. 예를 들어, 트랜잭션은 토큰의 발행에 관한 동작, 토큰의 이체에 관한 동작을 실행시키기 위한 정보를 포함할 수 있다. 일 예로, 제1 노드로부터 제2 노드로 토큰이 송신되도록 하는 동작을 위한 트랜잭션은 제1 노드의 계좌 정보, 제2 노드의 계좌 정보, 토큰 정보, 토큰 수량, 제1 노드의 서명 정보 등을 포함할 수 있다. A transaction is information propagated to nodes in the blockchain network 20 to add information to the blockchain or to cause a specific operation within the blockchain network 20 to occur. For example, the transaction may include information for executing an operation related to issuance of a token and an operation related to transfer of a token. As an example, the transaction for the operation of transmitting a token from the first node to the second node includes account information of the first node, account information of the second node, token information, token quantity, signature information of the first node, etc. can do.

트랜잭션이 발생되면, 블록체인 네트워크(20)의 노드들은 발생한 트랜잭션의 무결성을 검증하고, 블록체인 네트워크(20)에 규정된 합의 알고리즘(예: POW, POS, DPOS 등)에 기초해 기 생성된 블록에 이어질 새로운 블록을 생성하며, 새로이 생성된 블록은 다른 노드들에게 전파되면서 트랜잭션이 실행될 수 있다. 블록은 복수의 트랜잭션 정보를 포함할 수 있다. 블록체인 네트워크(20) 내에서 발생되는 트랜잭션들은 상기 트랜잭션들을 생성한 주체의 블록체인 계좌의 개인키에 의해 암호화 서명되므로, 블록체인 네트워크(20) 상에 위변조가 불가능한 암호학적 증명 데이터로서 기록될 수 있다. When a transaction occurs, the nodes of the blockchain network 20 verify the integrity of the transaction that has occurred, and a block created based on the consensus algorithm (eg, POW, POS, DPOS, etc.) specified in the blockchain network 20 A new block is created, and the newly created block is propagated to other nodes so that the transaction can be executed. The block may include a plurality of transaction information. Transactions occurring in the blockchain network 20 are cryptographically signed by the private key of the blockchain account of the subject who created the transactions, so they can be recorded as cryptographic proof data that cannot be forged or altered on the blockchain network 20. have.

블록에 대한 정보는 노드들이 공유하는 트랜잭션 데이터베이스인 블록체인에 저장될 수 있다. 블록체인은 복수 개의 노드들이 같은 정보를 공유하는 분산 원장으로 이해될 수 있다. 노드는 트랜잭션의 처리 결과를 블록체인을 통해 확인할 수 있다.Information about blocks can be stored in a blockchain, a transaction database shared by nodes. Blockchain can be understood as a distributed ledger in which multiple nodes share the same information. The node can check the transaction processing result through the blockchain.

블록체인 네트워크(20)는 다양한 노드들에 의해 제공되는 다양한 스마트 컨트랙트를 배포 및 실행할 수 있다. 스마트 컨트랙트는 블록체인 네트워크(20)에서 스마트 컨트랙트의 조건을 따르는 트랜잭션이 발생할 경우, 정해진 프로토콜에 따라 특정 트랜잭션이 발생하도록 하거나 다른 스마트 컨트랙트를 실행할 수 있다. 예를 들어, 여신거래 서버(100)는 토큰의 발행과 관련된 동작에 대한 프로토콜이 정해진 인스트럭션 또는 스마트 컨트랙트를 배포하여, 블록체인 네트워크(20) 내의 특정 노드에 토큰 발행 권한을 부여하여 해당 노드에 의해 토큰이 발행되도록 할 수 있다. 토큰 발행 권한이 부여된 노드는 해당 스마트 컨트랙트에 트랜잭션을 전송하여 특정 수량의 토큰이 발행되도록 할 수 있다. The blockchain network 20 can distribute and execute various smart contracts provided by various nodes. The smart contract can cause a specific transaction to occur according to a predetermined protocol or execute another smart contract when a transaction that conforms to the conditions of the smart contract occurs in the blockchain network 20. For example, the credit transaction server 100 distributes an instruction or smart contract in which a protocol for an operation related to the issuance of a token is determined, and grants token issuance authority to a specific node in the blockchain network 20 by the corresponding node. Tokens can be issued. Nodes granted token issuance permission can send a transaction to the corresponding smart contract so that a certain amount of tokens is issued.

토큰은 암호화폐의 의미와 혼용되어 사용하기도 하지만, 암호화폐 및 토큰에 대해 다음과 같이 정의를 내릴 수 있다. '암호화폐'는 하나의 블록체인 네트워크(20) 내에서 데이터 검증 및 기록에 대한 보상 수단으로 노드에게 지급되는 디지털 교환수단을 의미할 수 있으며, 이러한 의미로 암호화폐를 지칭하는 경우에는 네이티브 암호화폐라는 명칭으로 불리기도 한다. 또한, '토큰'은 하나의 블록체인 네트워크(20)에서 네이티브 암호화폐의 발생 이후 부가적으로 생성될 수 있는 소정의 용도 또는 가치를 지닌 디지털 교환수단을 의미할 수 있다. Tokens are sometimes used interchangeably with the meaning of cryptocurrency, but cryptocurrency and tokens can be defined as follows. 'Cryptocurrency' can refer to a digital exchange means paid to nodes as a means of compensation for data verification and recording within one blockchain network 20, and when referring to cryptocurrency in this sense, it is a native cryptocurrency. It is also called by the name. In addition,'token' may refer to a digital exchange means having a predetermined purpose or value that can be additionally generated after the generation of native cryptocurrency in one blockchain network 20.

위에서 설명한 용어의 개념에 따르면, 이더리움 블록체인 시스템을 예시로 설명하는 경우, 암호화폐는 이더리움을 의미할 수 있고, 토큰은 특정 프로토콜에 따라 이더리움 블록체인 시스템에서 발행된 erc-20 토큰이나, erc-721 토큰을 의미할 수 있다. According to the concept of terms described above, when describing the Ethereum blockchain system as an example, the cryptocurrency can mean Ethereum, and the token is an erc-20 token issued by the Ethereum blockchain system according to a specific protocol. , erc-721 token.

다만, 본 문서의 전반에서 사용되는 '토큰'이라는 용어는 상술한 암호화폐 및 토큰의 개념을 모두 포괄하는 용어로써 사용하기로 한다. However, the term'token' used throughout this document will be used as a term that encompasses all the concepts of cryptocurrency and token described above.

여신거래 서버(100), 사용자 단말(200) 및 가맹점 단말(300)은 각각이 보유한 노드 정보를 통해 블록체인 네트워크(20)에서 노드로 동작할 수 있으며, 상술한 블록체인 네트워크(20) 내의 프로토콜에 따라, 토큰 발행, 이체, 정산에 관한 동작을 실행시키기 위한 트랜잭션을 생성하여 블록체인 네트워크(20)에 배포하고, 블록체인 네트워크(20)에 참여하는 노드들은 해당 트랜잭션을 검증하고 블록체인에 기록되도록 할 수 있다. The credit transaction server 100, the user terminal 200, and the affiliated store terminal 300 can operate as nodes in the blockchain network 20 through node information held by each, and the protocol within the blockchain network 20 described above. According to this, a transaction for executing operations related to token issuance, transfer, and settlement is created and distributed to the blockchain network 20, and nodes participating in the blockchain network 20 verify the transaction and record it in the blockchain. You can do it.

이하, 서버 노드(100n), 사용자 노드(200n) 및 가맹점 노드(300n)가 수행하는 동작들은, 트랜잭션의 배포부터 다른 노드들에 의한 검증 및 기록까지 수행되어 블록체인 네트워크(20) 내에서 동작이 실행된다는 것을 전제하여 각 노드의 동작에 대해 기술하기로 한다. 다만, 노드들의 트랜잭션 배포, 검증 및 기록 방법이 상술한 예시에 한정되는 것이 아니며, 다양한 방식이 적용할 수 있다.Hereinafter, operations performed by the server node 100n, the user node 200n, and the affiliated store node 300n are performed from distribution of a transaction to verification and recording by other nodes, so that the operation within the blockchain network 20 is performed. On the premise that it is executed, the operation of each node will be described. However, the method of distributing, verifying, and recording transactions of nodes is not limited to the above-described example, and various methods can be applied.

도 2는 일 실시예에 따른 블록체인 네트워크(20) 내에서 노드들이 수행하는 동작을 나타내는 예시도이다. 2 is an exemplary diagram showing operations performed by nodes in the blockchain network 20 according to an embodiment.

도 2를 참조하면, 사용자 노드(200n)는 사용자가 발생시킬 여신거래에 따라 지급 의무가 부여되는 대가의 표시 수단이자, 여신거래에 대한 정보를 기록할 수 있는 수단인 토큰을 서버 노드(100n)가 정한 한도 수량만큼 발행할 수 있다. Referring to Figure 2, the user node (200n) is a server node (100n) is a token that is a means for displaying the price to which payment obligations are granted according to the credit transaction to be generated by the user, and a means for recording information on the credit transaction. It can be issued as much as the limit set by

이에 따라, 사용자와 가맹점 사이의 여신거래는, 사용자 노드(200n)는 가맹점 노드(300n)에 여신거래에 따라 발생하는 지급 의무에 대응되는 수량의 토큰 이체를 통해 발생할 수 있다. Accordingly, the credit transaction between the user and the affiliated store may occur through the transfer of the amount of tokens corresponding to the payment obligations generated by the user node 200n to the affiliated store node 300n according to the credit transaction.

이후, 가맹점이 여신거래에 따라 사용자가 발생시킨 지급 의무에 해당하는 대가를 정산 받기 원할 경우, 가맹점 노드(300n)는 사용자 노드(200n)로부터 지급받은 토큰을 서버 노드(100n)로 이체할 수 있다. 이 경우, 서버 노드(100n)는 이체 받은 토큰을 블록체인 시스템 내에서 소각하고, 여신거래 서버(100)는 가맹점 노드(300n)가 이체한 토큰에 대응하는 금액이 정산되도록 할 수 있다. Thereafter, if the affiliated store wants to receive the payment corresponding to the payment obligation incurred by the user according to the credit transaction, the affiliated store node 300n may transfer the token received from the user node 200n to the server node 100n. . In this case, the server node 100n incinerates the transferred token in the blockchain system, and the credit transaction server 100 may settle an amount corresponding to the transferred token by the affiliated store node 300n.

사용자는 자신이 여신거래를 통해 사용한 토큰, 즉, 사용자 노드(200n)가 발행한 토큰이 여신거래에 사용된 수량과 대응되는 금액을 여신거래 서버(100)로 정산하고, 서버 노드(100n)로부터 다시 여신거래 서비스를 사용하기 위한 토큰의 발행 권한(예: 한도 복원)을 승인 받아 다시 토큰을 발행하여 여신거래를 이용할 수 있다. The user calculates the amount of tokens he used through the credit transaction, that is, the amount corresponding to the amount of tokens issued by the user node 200n, used in the credit transaction, to the credit transaction server 100, and from the server node 100n. You can use the credit transaction by issuing the token again after obtaining approval of the token issuance authority (for example, restoring the limit) to use the credit transaction service again.

이하, 상술한 동작이 발생할 수 있도록 관리하는 일 실시예에 따른 여신거래 서버(100)의 구성에 대해 설명한다. Hereinafter, a configuration of the credit transaction server 100 according to an embodiment that manages the above-described operation to occur will be described.

도 3은 일 실시예에 따른 여신거래 서버(100)의 구성 블록도이다. 도 3을 참조하면, 일 실시예에 따른 여신거래 서버(100)는 프로세서(110), 메모리(120) 및 통신 인터페이스(130)를 포함할 수 있다. 3 is a block diagram of a credit transaction server 100 according to an embodiment. Referring to FIG. 3, the credit transaction server 100 according to an embodiment may include a processor 110, a memory 120, and a communication interface 130.

프로세서(110)는 여신거래 서버(100)의 전반적인 동작을 제어한다. 프로세서(110)는 발행 모듈(111), 이체 모듈(113), 및 정산 모듈(115)을 구현할 수 있다. 프로세서(110)는 메모리(120)에 저장된 명령어들을 실행해 발행 모듈(111), 이체 모듈(113), 및 정산 모듈(115)을 구동시킬 수 있다. The processor 110 controls the overall operation of the credit transaction server 100. The processor 110 may implement the issuing module 111, the transfer module 113, and the settlement module 115. The processor 110 may drive the issuing module 111, the transfer module 113, and the settlement module 115 by executing instructions stored in the memory 120.

발행 모듈(111)은 블록체인 네트워크(20)에 배포시킬 토큰에 대한 프로토콜을 결정할 수 있다. 예를 들어, 발행 모듈(111)은 토큰의 발행, 발행 한도, 발행 가능한 주체, 발행에 필요한 승인 여부, 토큰을 이체시킬 수 있는 노드 등에 대한 프로토콜이 정해진 토큰 또는 스마트 컨트랙트를 생성 및 배포할 수 있다. 발행 모듈(111)이 상기 스마트 컨트랙트를 배포할 경우, 다른 노드는 상기 스마트 컨트랙트에 토큰 발행에 대한 트랜잭션을 전송하여 발행 모듈(111)이 정한 프로토콜에 따른 토큰을 발행할 수 있다.The issuing module 111 may determine a protocol for a token to be distributed to the blockchain network 20. For example, the issuance module 111 may create and distribute a token or smart contract in which a protocol for the issuance of a token, an issuance limit, a subject that can be issued, an approval required for issuance, a node that can transfer the token, etc. . When the issuing module 111 distributes the smart contract, another node may issue a token according to a protocol determined by the issuing module 111 by transmitting a transaction for issuing tokens to the smart contract.

일 예로, 스마트 컨트랙트는 특정한 노드의 토큰 발행 요청과 서버 노드(100n)의 승인에 의해 최종적으로 토큰 발행이 결정되도록 프로토콜이 정해질 수 있다. 상기 스마트 컨트랙트는 서버 노드(100n)로부터 특정 노드에 대한 발행 승인 여부와 토큰 발행 한도수량이 정해진 승인 트랜잭션을 수신하고, 상기 승인된 노드로부터 토큰 발행 트랜잭션을 수신한 경우, 최종적으로 상기 승인된 노드에게 토큰이 발행되도록 할 수 있다. For example, in the smart contract, a protocol may be determined so that token issuance is finally determined by a token issuance request from a specific node and approval of the server node 100n. The smart contract receives an approval transaction for which issuance approval for a specific node and a limit amount of token issuance are determined from the server node 100n, and when a token issuance transaction is received from the approved node, finally to the approved node. Tokens can be issued.

이체 모듈(113)은 블록체인 네트워크(20)에 토큰의 이체에 관한 트랜잭션을 생성하여 배포할 수 있다. The transfer module 113 may generate and distribute a transaction related to transfer of a token to the blockchain network 20.

일 실시예에 따른 여신거래는 사용자 단말(200)이 수행하는 개인키 서명에 기초해 사용자 노드(200n)와 가맹점 노드(300n) 간의 토큰 이체에 의해 발생할 수 있다. 이때 이체 모듈(113)은 블록체인 네트워크(20)에 기록되는 트랜잭션을 통해, 사용자 노드(200n)와 가맹점 노드(300n) 간의 토큰 이체 트랜잭션을 확인할 수 있다. 해당 동작은 도 5에서 자세히 설명한다.The credit transaction according to an embodiment may occur by transferring a token between the user node 200n and the affiliated store node 300n based on a private key signature performed by the user terminal 200. At this time, the transfer module 113 may check the token transfer transaction between the user node 200n and the affiliated store node 300n through a transaction recorded in the blockchain network 20. The operation will be described in detail in FIG. 5.

또한, 다른 실시예에 따른 여신거래는 여신거래 서버(100)가 수행하는 개인키 서명에 기초해 사용자 노드(200n)와 가맹점 노드(300n) 간의 토큰 이체에 의해 발생할 수 있다. 이때 이체 모듈(113)은 가입자 DB(121)에 저장된 사용자 노드(200n)의 개인키 서명을 통해, 사용자 노드(200n)와 가맹점 노드(300n) 간의 토큰 이체 트랜잭션을 생성할 수 있다. 해당 동작은 도 5에서 자세히 설명한다. In addition, the credit transaction according to another embodiment may occur by a token transfer between the user node 200n and the affiliated store node 300n based on a private key signature performed by the credit transaction server 100. At this time, the transfer module 113 may generate a token transfer transaction between the user node 200n and the affiliated store node 300n through the signature of the private key of the user node 200n stored in the subscriber DB 121. The operation will be described in detail in FIG. 5.

또한, 다른 실시예에 따른 여신거래는 서버 노드(100n)와 가맹점 노드(300n) 간의 토큰 이체에 의해 발생할 수 있다. 이때 이체 모듈(113)은 사용자 노드(200n)로부터 토큰을 미리 수신하고, 미리 수신한 토큰이 가맹점 노드(300n)로 이체되도록 서버 노드(100n)의 개인키 서명을 통해, 서버 노드(100n)와 가맹점 노드(300n) 간의 토큰 이체 트랜잭션을 생성할 수 있다. 해당 동작은 도 6에서 자세히 설명한다.In addition, the credit transaction according to another embodiment may occur by a token transfer between the server node 100n and the affiliated store node 300n. At this time, the transfer module 113 receives the token in advance from the user node 200n, and through the private key signature of the server node 100n so that the previously received token is transferred to the affiliated store node 300n, the server node 100n and the A token transfer transaction between the affiliated store nodes 300n may be generated. This operation will be described in detail in FIG. 6.

정산 모듈(115)은 블록체인에 기록된 사용자 노드(200n)와 가맹점 노드(300n) 사이에서 발생한 토큰 이체 내역, 또는 서버 노드(100n)와 가맹점 노드(300n) 사이에서 발생한 토큰 이체 내역을 확인할 수 있다. 정산 모듈(115)은 서버가 보유한 은행 계좌의 현금 입출금 내역을 확인할 수 있다. 정산 모듈(115)은 토큰 이체 내역을 기초로 사용자 단말(200)이 발생시킨 여신거래 금액을 정산하고, 토큰 이체 내역을 기초로 가맹점 단말(300)에 지급해야 할 금액을 정산할 수 있다. The settlement module 115 can check the details of token transfer that occurred between the user node 200n and the affiliated store node 300n recorded in the blockchain, or the token transfer details that occurred between the server node 100n and the affiliated store node 300n. have. The settlement module 115 may check the details of deposit and withdrawal of cash in the bank account held by the server. The settlement module 115 may settle a credit transaction amount generated by the user terminal 200 based on the token transfer details, and may calculate an amount to be paid to the affiliated store terminal 300 based on the token transfer details.

상술한 발행 모듈(111), 이체 모듈(113), 및 정산 모듈(115)에 의해 수행되는 동작은 프로세서(110)에 의해 수행되는 동작으로 이해될 수 있다. 발행 모듈(111), 이체 모듈(113), 및 정산 모듈(115)은 각 모듈들이 관리하는 동작을 실행시키기 위한 트랜잭션을 블록체인 네트워크(20)에 전파시켜, 블록체인 네트워크(20)의 노드들에 의해 전파된 트랜잭션이 수행되도록 하여 상술한 동작들을 수행할 수 있다. The operation performed by the issuing module 111, the transfer module 113, and the settlement module 115 described above may be understood as an operation performed by the processor 110. The issuing module 111, the transfer module 113, and the settlement module 115 propagate a transaction for executing an operation managed by each module to the blockchain network 20, so that nodes of the blockchain network 20 The above-described operations can be performed by allowing the transaction propagated by to be performed.

메모리(120)는 가입자 DB(121) 및 정산 DB(123)를 포함할 수 있고, 프로세서(110)의 동작을 수행시킬 수 있는 명령어들을 저장할 수 있다. The memory 120 may include a subscriber DB 121 and a settlement DB 123, and may store instructions for performing an operation of the processor 110.

가입자 DB(121)는 여신거래 서비스에 대한 사용자/가맹점의 가입 정보, 및 사용자/가맹점의 노드 정보를 저장할 수 있다. 가입자 정보는 사용자/가맹점의 개인 정보 및 신용 정보를 포함할 수 있다. 사용자/가맹점의 노드 정보는 공개키를 포함할 수 있다. The subscriber DB 121 may store user/affiliate subscription information for the credit transaction service and node information of the user/affiliate store. Subscriber information may include personal information and credit information of users/affiliates. The node information of the user/affiliate store may include a public key.

경우에 따라, 가입자 DB(121)는 사용자 노드(200n)의 개인키를 추가적으로 저장할 수 있다. 가입자 DB(121)에 저장된 사용자 노드(200n)의 개인키는 사용자 노드(200n)가 최초로 발급받은 개인키와 상이한 텍스트열로 변경된 커스텀 퍼미션 키(custom permission key)일 수 있고, 커스텀 퍼미션 키로 서명한 트랜잭션은 실행 범위에 제한이 있을 수 있다. 가령, 커스텀 퍼미션 키는 특정 토큰 수량 이하의 이체 트랜잭션만을 실행할 수 있도록 동작될 수 있다. In some cases, the subscriber DB 121 may additionally store the private key of the user node 200n. The private key of the user node 200n stored in the subscriber DB 121 may be a custom permission key changed to a text string different from the private key initially issued by the user node 200n, and signed with a custom permission key. Transactions may have limitations in the scope of execution. For example, a custom permission key can be operated so that only transfer transactions less than a certain number of tokens can be executed.

정산 DB(123)는 블록체인에 기록된 사용자 노드(200n)와 가맹점 노드(300n) 사이에서 발생한 토큰 이체 내역, 또는 서버 노드(100n)와 가맹점 노드(300n) 사이에서 발생한 토큰 이체 내역을 저장할 수 있다. 정산 DB(123)는 서버가 보유한 은행 계좌의 현금 입출금 내역을 저장할 수 있다.The settlement DB 123 can store the details of the token transfer that occurred between the user node 200n and the affiliated store node 300n recorded in the blockchain, or the token transfer details that occurred between the server node 100n and the affiliated store node 300n. have. The settlement DB 123 may store cash deposit and withdrawal details of a bank account held by the server.

통신 인터페이스(130)는 여신거래 시스템(10) 및 블록체인 네트워크(20)에 포함된 구성들과 정보를 송수신 할 수 있게 한다. 이를 위해, 통신 인터페이스(130)는 무선 통신모듈 또는 유선 통신모듈을 포함할 수 있다.The communication interface 130 enables transmission and reception of information and components included in the credit transaction system 10 and the block chain network 20. To this end, the communication interface 130 may include a wireless communication module or a wired communication module.

이하, 여신거래 서버(100)가 여신거래 시스템(10) 및 블록체인 네트워크(20) 내에서 수행하는 동작의 실시예를 도 4 내지 도 6과 함께 살펴본다. Hereinafter, an embodiment of an operation performed by the credit transaction server 100 in the credit transaction system 10 and the blockchain network 20 will be described with reference to FIGS. 4 to 6.

도 4는 일 실시예에 따른 여신거래 서비스의 가입 및 토큰 발행 승인 과정에 대한 흐름도이다. 4 is a flowchart illustrating a process of signing up for a credit transaction service and approving token issuance according to an embodiment.

우선, 사용자 단말(200) 및 가맹점 단말(300)은 블록체인 네트워크(20) 상의 노드로 동작하기 위해, 블록체인 네트워크(20)에서 동작 가능한 노드 정보를 생성할 수 있다(1111, 1113). First, the user terminal 200 and the affiliated store terminal 300 may generate node information operable in the blockchain network 20 in order to operate as a node on the blockchain network 20 (1111, 1113).

또한, 여신거래 서버(100)가 제공하는 여신거래 서비스를 사용하기 위해, 사용자 단말(200) 및 가맹점 단말(300)은 가입 정보 및 노드 정보를 여신거래 서버(100)에 전송할 수 있다(1115, 1117). 가입 정보는 개인 정보, 가맹점 정보, 신용 정보, 여신거래 정산 일자, 은행 계좌 정보, 개인 정보 활용에 대한 동의 정보를 포함할 수 있다. 노드 정보는 노드의 개인키 또는 공개키를 포함할 수 있다. 여신거래 서버(100)는 가입한 사용자 또는 가맹점을 식별하기 위한 식별정보를 생성하고, 사용자 또는 가맹점의 가입 정보 및 노드 정보와 맵핑하여 저장할 수 있다. In addition, in order to use the credit transaction service provided by the credit transaction server 100, the user terminal 200 and the affiliated store terminal 300 may transmit subscription information and node information to the credit transaction server 100 (1115, 1117). The subscription information may include personal information, affiliate store information, credit information, credit transaction settlement date, bank account information, and consent information for the use of personal information. The node information may include the private key or public key of the node. The credit transaction server 100 may generate identification information for identifying a subscribed user or affiliate store, and map and store the user or affiliate store's subscription information and node information.

이후, 여신거래 서버(100)는 사용자의 신용 정보에 기초하여 사용자로 하여금 여신거래에 사용하게 할 토큰의 발행한도를 결정할 수 있다(1119). 예를 들어, 여신거래 서버(100)는 사용자의 신용 정보를 기초로 해당 사용자가 한 달에 500만원의 지출이 가능하다고 판단할 수 있고, 500만원에 대응되는 토큰 수량을 발급할 수 있도록 결정할 수 있고, 토큰 1개의 가치가 1원의 가치와 같다고 가정할 경우, 여신거래 서버(100)는 해당 사용자의 토큰 발행 한도를 500만개로 결정할 수 있다. Thereafter, the credit transaction server 100 may determine an issuance limit of tokens to be used by the user for credit transactions based on the user's credit information (1119). For example, the credit transaction server 100 may determine that the user can spend 5 million won per month based on the user's credit information, and decide to issue a token quantity corresponding to 5 million won. And, assuming that the value of 1 token is equal to the value of 1 won, the credit transaction server 100 may determine the limit of the token issuance of the corresponding user to 5 million.

다음으로, 여신거래 서버(100)는 가입한 사용자가 토큰을 발행할 수 있도록 스마트 컨트랙트를 배포할 수 있다(1121). 예를 들어, 스마트 컨트랙트는 토큰 발행을 요청할 수 있는 노드 정보, 토큰 발행 한도, 토큰 발행을 승인할 수 있는 노드 정보, 발행된 토큰이 입금될 노드의 계좌 정보가 프로토콜로 규정되고, 규정된 노드에 의한 발행 요청 트랜잭션과 승인 트랜잭션을 기초로 토큰이 발행되도록 동작할 수 있다. Next, the credit transaction server 100 may distribute a smart contract so that a subscribed user can issue a token (1121). For example, in a smart contract, the node information that can request token issuance, token issuance limit, node information that can approve token issuance, and account information of the node to which the issued token will be deposited are specified as a protocol, and It can operate to issue a token based on an issuance request transaction and an approval transaction.

이에 따라, 여신거래 서버(100)는 사용자 노드(200n)가 토큰을 발행할 수 있도록 승인하는 트랜잭션을 해당 스마트 컨트랙트에 전송할 수 있다(1123). Accordingly, the credit transaction server 100 may transmit a transaction for approving the user node 200n to issue a token to the corresponding smart contract (1123).

상술한 과정에 따라 여신거래 서버(100)는 사용자 단말(200) 및 가맹점 단말(300)의 여신거래 서비스 가입을 처리하고, 사용자 단말(200)에 대한 토큰 발행 승인 절차를 거칠 수 있다. 또한, 여신거래 서버(100)는 도 5 또는 도 6의 과정을 통해 사용자 단말(200)이 토큰을 발행하여 여신거래를 수행할 수 있게 하고, 사용자 단말(200) 및 가맹점 단말(300)이 수행한 여신거래에 대한 정산을 처리할 수 있다.According to the above-described process, the credit transaction server 100 may process the subscription of the user terminal 200 and the affiliated store terminal 300 to the credit transaction service, and may go through a token issuance approval procedure for the user terminal 200. In addition, the credit transaction server 100 allows the user terminal 200 to issue a token through the process of FIG. 5 or 6 to perform a credit transaction, and the user terminal 200 and the affiliated store terminal 300 Settlement for one credit transaction can be processed.

도 5는 사용자 노드(200n)로부터 가맹점 노드(300n)로 토큰이 이체되는 실시예에 따른, 토큰 발행부터 여신거래에 이어 정산까지의 과정에 대한 흐름도이다. 5 is a flowchart illustrating a process from issuing a token to a credit transaction and then settlement according to an embodiment in which tokens are transferred from the user node 200n to the affiliated store node 300n.

우선, 사용자 단말(200)은 토큰을 발행할 수 있다. 사용자 단말(200)은 사용자 노드(200n)를 통해 토큰 발행 트랜잭션을 생성하여 정해진 발행한도 이하의 토큰을 발행할 수 있다(1311). 이에 따라, 사용자 노드(200n)의 블록체인 계좌는 발행된 토큰을 보유할 수 있다(1333). First, the user terminal 200 may issue a token. The user terminal 200 may generate a token issuance transaction through the user node 200n to issue a token less than a predetermined issuance limit (1311). Accordingly, the blockchain account of the user node 200n may hold the issued token (1333).

이후, 사용자 단말(200)은 가맹점 단말(300)과 여신거래를 수행할 수 있다(1331). 사용자 단말(200) 또는 가맹점 단말(300)은 사용자 인터페이스를 통한 정보 입력, 각각의 단말에 출력되는 정보 인식 등의 수단으로 사용자 노드(200n) 정보, 가맹점 노드(300n) 정보, 여신거래 금액에 대한 정보를 수신할 수 있다. Thereafter, the user terminal 200 may perform a credit transaction with the affiliated store terminal 300 (1331). The user terminal 200 or the affiliated store terminal 300 is a means of inputting information through a user interface, recognizing information output to each terminal, etc., for the user node 200n information, the affiliated store node 300n information, and the credit transaction amount. You can receive information.

일 예로, 가맹점 단말(300)에 가맹점 노드(300n) 정보 및 여신거래와 관련된 정보(예: 거래 금액)를 포함하는 정보가 가맹점 단말(300)의 출력 장치(예: 디스플레이)를 통하여 출력되면, 사용자 단말(200)은 상기 정보를 읽어 사용자 노드(200n)의 노드 정보를 포함하는 이체 트랜잭션을 생성할 수 있다. 예를 들어, 사용자 단말(200)은 가맹점 단말(300)의 디스플레이를 통하여 출력된 바코드 또는 QR 코드를 인식하여 여신거래 금액에 대한 정보를 수신할 수 있다. 또한, 사용자 단말(200)은 블루투스, NFC 등의 근거리 통신 방식을 통해 가맹점 단말(300)과 연결되어 여신거래 금액에 대한 정보를 수신할 수 있다. For example, when information including the affiliate store node 300n information and information related to the credit transaction (eg, transaction amount) is output to the affiliate store terminal 300 through an output device (eg, a display) of the affiliate store terminal 300, The user terminal 200 may read the information and generate a transfer transaction including node information of the user node 200n. For example, the user terminal 200 may receive information on a credit transaction amount by recognizing a barcode or QR code output through the display of the affiliated store terminal 300. In addition, the user terminal 200 may be connected to the affiliated store terminal 300 through a short-distance communication method such as Bluetooth and NFC to receive information on the amount of the credit transaction.

이에 따라, 사용자 단말(200)은 여신거래 금액에 상당하는 수량의 토큰이 사용자 노드(200n)로부터 가맹점 노드(300n)로 이체되는 트랜잭션을 생성할 수 있다(1333).Accordingly, the user terminal 200 may generate a transaction in which the amount of tokens corresponding to the credit transaction amount is transferred from the user node 200n to the affiliated store node 300n (1333).

다른 실시예에서, 사용자 단말(200)은 토큰이 발행된 직후(1313)에 발행된 토큰 전부를 이체하는 트랜잭션을 생성할 수 있다. 이 경우, 사용자 노드와 가맹점 노드 사이의 토큰 이체 트랜잭션은 토큰이 새로 발행될 때 발생하게 된다. 이 경우 여신거래가 발생할 때마다 토큰을 이체하는 절차가 생략되어 거래 시간이 단축될 수 있다.In another embodiment, the user terminal 200 may generate a transaction for transferring all issued tokens immediately after the token is issued (1313). In this case, a token transfer transaction between the user node and the affiliated store node occurs when a new token is issued. In this case, the process of transferring tokens every time a credit transaction occurs is omitted, which can shorten the transaction time.

가맹점 단말(300)은 사용자 노드(200n)로부터 가맹점 노드(300n)로 여신거래 금액에 상당하는 수량의 토큰이 입금되었는지 확인할 수 있다(1335). 이에 따라, 상기 수량의 토큰이 입금되었다면 여신거래는 이루어지고, 가맹점 단말(300)은 수신한 토큰을 기초로 여신거래 서버(100)에 여신거래 금액을 청구할 수 있게 된다. The affiliated store terminal 300 may check whether the amount of tokens corresponding to the credit transaction amount has been deposited from the user node 200n to the affiliated store node 300n (1335). Accordingly, if the amount of tokens has been deposited, a credit transaction is made, and the affiliated store terminal 300 can request the credit transaction amount from the credit transaction server 100 based on the received token.

다른 예로, 여신거래 서버(100)가 사용자 노드(200n)의 개인키를 사용하는 형태를 살펴본다. 우선, 사용자 단말(200) 및 가맹점 단말(300) 간에 여신거래가 발생할 수 있다(1341). 예를 들어, 가맹점 단말(300)에 가맹점 노드(300n) 정보 및 여신거래 금액에 대한 정보를 포함하는 식별 정보가 출력되면, 사용자 단말(200)은 해당 식별 정보를 읽어 여신거래 서버(100)에 이체 트랜잭션 생성을 요청할 수 있다(1342). 또는, 사용자 단말(200)이 사용자를 특정할 수 있는 식별 정보를 출력하고, 가맹점 단말(300)이 해당 식별 정보를 읽어, 여신거래 서버(100)에 이체 트랜잭션 생성을 요청할 수 있다(1342).As another example, a form in which the credit transaction server 100 uses the private key of the user node 200n will be described. First, a credit transaction may occur between the user terminal 200 and the affiliated store terminal 300 (1341). For example, when identification information including information on the merchant node 300n information and the credit transaction amount is output to the merchant terminal 300, the user terminal 200 reads the identification information to the credit transaction server 100. A transfer transaction may be requested (1342). Alternatively, the user terminal 200 may output identification information for specifying the user, and the affiliated store terminal 300 may read the identification information, and request the credit transaction server 100 to generate a transfer transaction (1342).

이에 따라, 여신거래 서버(100)는 여신거래 금액에 상당하는 수량의 토큰이 미리 수신하여 저장하고 있는 사용자 노드(200n)의 개인키를 이용하여, 사용자 노드(200n)로부터 가맹점 노드(300n)로 이체되는 트랜잭션을 생성할 수 있다(1343). 가맹점 단말(300)은 사용자 노드(200n)로부터 가맹점 노드(300n)로 여신거래 금액에 상당하는 수량의 토큰이 입금되었는지 확인할 수 있다(1345). 이에 따라, 블록체인 네트워크 상에서 토큰의 이체 트랜잭션의 처리가 완료되면 여신거래가 완료된다. 가맹점 단말(300)은 수신한 토큰을 기초로 여신거래 서버(100)에 여신거래 금액을 청구할 수 있게 된다. 예를 들어, 가맹점 단말(300)은 가맹점 노드(300n)가 정산을 청구하는 토큰 양에 대응하는 금액에 대한 출금 요청 메시지를 여신거래 서버(300)로 전송할 수 있다. Accordingly, the credit transaction server 100 uses the private key of the user node 200n in which the amount of tokens corresponding to the credit transaction amount is received and stored in advance, from the user node 200n to the affiliated store node 300n. A transfer transaction can be created (1343). The affiliated store terminal 300 may check whether a quantity of tokens corresponding to the credit transaction amount has been deposited from the user node 200n to the affiliated store node 300n (1345). Accordingly, the credit transaction is completed when the token transfer transaction is processed on the blockchain network. The affiliated store terminal 300 may request a credit transaction amount from the credit transaction server 100 based on the received token. For example, the affiliated store terminal 300 may transmit a withdrawal request message for an amount corresponding to the amount of tokens for which the affiliated store node 300n requests settlement to the credit transaction server 300.

가맹점 단말(300)의 정산은 다음과 같이 이루어질 수 있다. 가맹점 단말(300)은 가맹점 노드(300n)로부터 서버 노드(100n)로 정산받을 수량의 토큰을 이체하는 트랜잭션을 생성할 수 있다(1351). 여신거래 서버(100)는 가맹점 노드(300n)로부터 서버 노드(100n)에 이체된 토큰 수량을 확인할 수 있다(1353). 여신거래 서버(100)는 가맹점 노드(300n)로부터 이체된 토큰을 확인된 수량과 대응되는 가치를 갖는 다른 수단으로 정산할 수 있다(1355). 예를 들어, 여신거래 서버(100)는 은행 등의 외부 서버로 정산해야 할 금액의 이체를 요청하는 메시지를 전송하여, 상기 금액이 가맹점의 은행 계좌로 이체되도록 할 수 있다. The settlement of the affiliated store terminal 300 may be performed as follows. The affiliated store terminal 300 may generate a transaction for transferring the amount of tokens to be settled from the affiliated store node 300n to the server node 100n (1351). The credit transaction server 100 may check the amount of tokens transferred from the affiliated store node 300n to the server node 100n (1353). The credit transaction server 100 may settle the token transferred from the affiliated store node 300n by another means having a value corresponding to the confirmed quantity (1355). For example, the credit transaction server 100 may transmit a message requesting transfer of an amount to be settled to an external server such as a bank, so that the amount is transferred to a bank account of a member store.

사용자 단말(200)의 정산은 다음과 같이 이루어질 수 있다. 사용자 단말(200)은 사용자 노드(200n)에서 사용된 토큰의 수량을 확인할 수 있다. 또는, 여신거래 서버(100)가 사용자 노드(200n)에서 사용된 토큰의 수량을 확인하여 사용자 단말(200)에 해당 정보를 공지할 수 있다. 사용자 단말(200)은 사용된 토큰 수량에 대응되는 금액의 현금이 여신거래 서버(100)의 은행 계좌로 이체되도록 은행 등의 외부 서버에 이체 요청 메시지를 전송하여, 사용된 토큰 수량에 대응되는 금액의 현금이 여신거래 서버(100)의 은행 계좌로 이체되도록 할 수 있다(1371). 여신거래 서버(100)는 사용자 단말(200)로부터 이체 받은 현금을 확인하여, 사용자 단말(200)이 다시 여신거래에 사용할 토큰을 발행할 수 있도록, 사용자 노드(200n)에 대한 토큰 발행을 승인하는 트랜잭션을 기 배포한 스마트 컨트랙트에 전송할 수 있다(1373). The settlement of the user terminal 200 may be performed as follows. The user terminal 200 may check the number of tokens used by the user node 200n. Alternatively, the credit transaction server 100 may check the quantity of tokens used in the user node 200n and notify the corresponding information to the user terminal 200. The user terminal 200 transmits a transfer request message to an external server such as a bank so that the amount of cash corresponding to the amount of tokens used is transferred to the bank account of the credit transaction server 100, and the amount corresponding to the amount of tokens used The cash of may be transferred to the bank account of the credit transaction server 100 (1371). The credit transaction server 100 confirms the cash transferred from the user terminal 200 and approves the token issuance to the user node 200n so that the user terminal 200 can issue a token to be used for the credit transaction again. Transactions can be transferred to a previously deployed smart contract (1373).

이에 따라, 사용자는 다시 정해진 한도의 토큰을 발행하여, 위 여신거래, 정산, 토큰 발행을 반복하여 여신거래 서비스를 제공받을 수 있다. Accordingly, the user can issue a token of a predetermined limit again, and receive the credit transaction service by repeating the above credit transaction, settlement, and token issuance.

도 6은 서버 노드(100n)로부터 가맹점 노드(300n)로 토큰이 이체되는 실시예에 따른, 토큰 발행부터 여신거래에 이어 정산까지의 과정에 대한 흐름도이다.6 is a flowchart illustrating a process from issuing a token to a credit transaction and then settlement according to an embodiment in which tokens are transferred from the server node 100n to the affiliated store node 300n.

우선, 사용자 단말(200)은 토큰을 발행할 수 있다. 사용자 단말(200)은 사용자 노드(200n)를 통해 토큰 발행 트랜잭션을 생성하여 정해진 발행한도 이하의 토큰을 발행시킬 수 있다(1511). 이에 따라, 사용자 노드(200n)의 블록체인 계좌는 발행된 토큰을 보유할 수 있다(1513). 이후, 사용자 단말(200)은 서버 노드(100n)가 토큰의 이체를 대행할 수 있도록 발행한 토큰을 서버 노드(100n)에 이체할 수 있다(1515). First, the user terminal 200 may issue a token. The user terminal 200 may generate a token issuance transaction through the user node 200n to issue a token less than a predetermined issuance limit (1511). Accordingly, the blockchain account of the user node 200n may hold the issued token (1513). Thereafter, the user terminal 200 may transfer the issued token to the server node 100n so that the server node 100n can transfer the token (1515).

이후, 사용자 단말(200)은 가맹점 단말(300)과 여신거래를 수행할 수 있다(1531). 사용자 단말(200) 또는 가맹점 단말(300)은 사용자 인터페이스를 통한 정보 입력, 각각의 단말에 출력되는 정보 인식 등의 수단으로 사용자 단말(200)의 식별 정보, 가맹점 노드(300n) 정보, 여신거래 금액에 대한 정보를 수신할 수 있다. Thereafter, the user terminal 200 may perform a credit transaction with the affiliated store terminal 300 (1531). The user terminal 200 or the affiliated store terminal 300 is a means of inputting information through a user interface and recognizing information output to each terminal, such as identification information of the user terminal 200, information on the affiliated store node 300n, and the amount of the credit transaction. You can receive information about.

예를 들어, 가맹점 단말(300)에 가맹점 노드(300n) 정보 및 여신거래 금액에 대한 정보를 포함하는 바코드 또는 QR 코드 정보가 디스플레이를 통해 출력되면, 사용자 단말(200)은 상기 정보를 읽어 사용자 단말(200)의 식별 정보를 포함하는 이체 트랜잭션 생성을 여신거래 서버(100)에 요청할 수 있다(1533). 또는, 사용자 단말(200)이 사용자 단말(200)을 특정할 수 있는 식별 정보를 출력하고, 가맹점 단말(300)이 해당 식별 정보를 읽어, 여신거래 서버(100)에 이체 트랜잭션 생성을 요청할 수 있다(1533). 또한, 사용자 단말(200)과 가맹점 단말(300)은 블루투스, NFC 등의 근거리 통신 방식을 통해 서로 연결되어, 각각의 식별 정보 및 여신거래 금액에 대한 정보를 여신거래 서버(100)에 전송할 수 있다. For example, when barcode or QR code information including information about the affiliate store node 300n information and the credit transaction amount is output to the affiliate store terminal 300 through the display, the user terminal 200 reads the information and the user terminal It is possible to request the credit transaction server 100 to generate a transfer transaction including the identification information of 200 (1533). Alternatively, the user terminal 200 may output identification information for specifying the user terminal 200, and the affiliated store terminal 300 may read the identification information, and request the credit transaction server 100 to create a transfer transaction. (1533). In addition, the user terminal 200 and the affiliated store terminal 300 may be connected to each other through a short-range communication method such as Bluetooth and NFC, and may transmit identification information and information on the credit transaction amount to the credit transaction server 100. .

이에 따라, 여신거래 서버(100)는 사용자 노드(200n)로부터 1515 단계에서 수신한 토큰을 이용하여, 서버 노드(100n)로부터 가맹점 노드(300n)로 이체되는 트랜잭션을 생성할 수 있다(1535). 가맹점 단말(300)은 서버 노드(100n)로부터 가맹점 노드(300n)로 여신거래 금액에 상당하는 수량의 토큰이 입금되었는지 확인할 수 있다(1537). 가맹점 단말(300)은 수신한 토큰을 기초로 여신거래 서버(100)에 여신거래 금액을 청구할 수 있게 된다. 해당 실시예에서 블록체인 네트워크(20)에서 발생한 모든 여신거래 내역은 서버 노드(100n)로부터 가맹점 노드(300n)로 토큰의 토큰 이체 트랜잭션으로 기록될 수 있다. 이 경우, 사용자 노드(200n)에 의해 토큰의 이체가 발생하는 것이 아니기 때문에, 사용자 노드(200n)의 정보가 공개되어 있더라도 사용자 노드(200n)에 의한 여신거래 내역이 블록체인에 기록되지 않는다. 따라서 사용자의 개인 거래 정보가 보호될 수 있다. Accordingly, the credit transaction server 100 may generate a transaction transferred from the server node 100n to the affiliated store node 300n using the token received in step 1515 from the user node 200n (1535). The affiliated store terminal 300 may check whether the amount of tokens corresponding to the credit transaction amount has been deposited from the server node 100n to the affiliated store node 300n (1537). The affiliated store terminal 300 may request a credit transaction amount from the credit transaction server 100 based on the received token. In this embodiment, all credit transaction details occurring in the blockchain network 20 may be recorded as a token transfer transaction of a token from the server node 100n to the affiliated store node 300n. In this case, since the transfer of the token does not occur by the user node 200n, the credit transaction details by the user node 200n are not recorded in the blockchain even if the information of the user node 200n is disclosed. Thus, the user's personal transaction information can be protected.

가맹점 단말(300)의 정산은 다음과 같이 이루어질 수 있다. 가맹점 단말(300)은 가맹점 노드(300n)로부터 서버 노드(100n)로 정산받을 수량의 토큰을 이체하는 트랜잭션을 생성할 수 있다(1551). 여신거래 서버(100)는 가맹점 노드(300n)로부터 서버 노드(100n)에 이체된 토큰 수량을 확인할 수 있다(1553). 여신거래 서버(100)는 가맹점 노드(300n)로부터 이체된 토큰을 확인된 수량과 대응되는 가치를 갖는 다른 수단으로 정산할 수 있다(1555). 예를 들어, 여신거래 서버(100)는 은행 등의 외부 서버로 정산해야 할 금액의 이체를 요청하는 메시지를 전송하여, 상기 금액이 가맹점의 은행 계좌로 이체되도록 할 수 있다. The settlement of the affiliated store terminal 300 may be performed as follows. The affiliated store terminal 300 may generate a transaction for transferring the amount of tokens to be settled from the affiliated store node 300n to the server node 100n (1551). The credit transaction server 100 may check the number of tokens transferred from the affiliated store node 300n to the server node 100n (1553). The credit transaction server 100 may settle the token transferred from the affiliated store node 300n by another means having a value corresponding to the confirmed quantity (1555). For example, the credit transaction server 100 may transmit a message requesting transfer of an amount to be settled to an external server such as a bank, so that the amount is transferred to a bank account of a member store.

사용자 단말(200)의 정산은 다음과 같이 이루어질 수 있다. 여신거래 서버(100)는 사용자 노드(200n)가 발행한 토큰의 사용 수량을 확인하여 사용자 단말(200)에 해당 정보를 공지할 수 있다. 사용자 단말(200)은 사용된 토큰 수량에 대응되는 금액의 현금이 여신거래 서버(100)의 은행 계좌로 이체되도록 은행 등의 외부 서버에 이체 요청 메시지를 전송하여, 사용된 토큰 수량에 대응되는 금액의 현금이 여신거래 서버(100)의 은행 계좌로 이체되도록 할 수 있다(1571). 여신거래 서버(100)는 사용자 단말(200)로부터 이체 받은 현금을 확인하여, 사용자 단말(200)이 다시 여신거래에 사용할 토큰을 발행할 수 있도록, 사용자 노드(200n)에 대한 토큰 발행을 승인하는 트랜잭션을 기 배포한 스마트 컨트랙트에 전송할 수 있다(1573). The settlement of the user terminal 200 may be performed as follows. The credit transaction server 100 may check the usage amount of tokens issued by the user node 200n and notify the corresponding information to the user terminal 200. The user terminal 200 transmits a transfer request message to an external server such as a bank so that the amount of cash corresponding to the amount of tokens used is transferred to the bank account of the credit transaction server 100, and the amount corresponding to the amount of tokens used The cash of may be transferred to the bank account of the credit transaction server 100 (1571). The credit transaction server 100 confirms the cash transferred from the user terminal 200 and approves the token issuance to the user node 200n so that the user terminal 200 can issue a token to be used for the credit transaction again. The transaction can be transmitted to a previously deployed smart contract (1573).

이에 따라, 사용자는 다시 정해진 한도의 토큰을 발행하여, 위 여신거래, 정산, 토큰 발행을 반복하여 여신거래 서비스를 제공받을 수 있다. Accordingly, the user can issue a token of a predetermined limit again, and receive the credit transaction service by repeating the above credit transaction, settlement, and token issuance.

상술한 실시예에 따르면, 여신거래의 승인, 발생, 기록, 및 정산 등에 필요한 모든 과정은, 사용자에게 발급된 토큰의 이체 자체로 모두 처리될 수 있다. 즉, 토큰이 이체되었다는 것은, 블록체인 네트워크에서 토큰의 이체 트랜잭션을 실행시키기 위해 필요한 각종 정보들이 검증되어 블록체인에 기록되었다는 것을 의미한다. 이때 검증에는, 올바른 사용자에 의해 토큰 이체가 요청된 것인지에 대한 확인, 사용자가 지급 가능한 한도 내에서 발생한 여신거래인지 확인, 여신거래 금액 등을 포함할 수 있다. 이러한 검증은 블록체인 네트워크에 참여하는 노드들에 의해 자발적으로 이루어질 수 있다. According to the above-described embodiment, all processes necessary for approval, generation, recording, and settlement of a credit transaction can be handled by transfer of a token issued to a user. In other words, that the token has been transferred means that various information required to execute the token transfer transaction in the blockchain network has been verified and recorded in the blockchain. In this case, the verification may include confirmation of whether a token transfer has been requested by a correct user, confirmation of whether a credit transaction occurred within a allowable limit by the user, and a credit transaction amount. This verification can be done voluntarily by nodes participating in the blockchain network.

또한, 상술한 바에 따라 검증된 토큰의 이체는 곧 여신거래의 발생이고, 토큰의 이체는 변조가 어려운 합의 알고리즘에 따라 블록체인 상에 기록되며, 블록체인에 기록된 이체 내역에 기초하여 사용자가 여신거래에 대해 정산해야 할 대금과 가맹점에게 정산해야 할 대금을 파악할 수 있다. In addition, the transfer of the verified token according to the above is the occurrence of a credit transaction, and the transfer of the token is recorded on the blockchain according to a consensus algorithm that is difficult to alter, and based on the transfer history recorded in the blockchain, the user makes a credit. You can determine the amount to be settled for the transaction and the amount to be settled to the affiliated store.

따라서, 본 문서의 실시예는 여신거래의 승인, 발생, 기록, 및 정산 등의 모든 과정을 한 번에 처리할 수 있고, 변조가 어려운 합의 알고리즘에 기초한 기록이 이루어지므로 보안성이 뛰어나며, 이러한 보안성의 유지는 블록체인 생태계를 유지하기 위한 노드들에 의해 자발적으로 수행되므로 보안성 유지 비용이 절감될 수 있다. Therefore, the embodiment of this document is excellent in security because it can process all processes such as approval, generation, recording, and settlement of credit transactions at once, and recording based on a consensus algorithm that is difficult to tamper with. Since the maintenance of the castle is voluntarily performed by the nodes to maintain the blockchain ecosystem, the cost of maintaining security can be reduced.

또한, 본 문서의 실시예에 따른 여신거래 서비스는 블록체인 네트워크에서 토큰의 이체를 통하여 수행되므로, 특정한 지역에 국한되지 않은 채 인터넷 망에 연결된 모든 장소에서 여신거래 서비스를 수행할 수 있다. In addition, since the credit transaction service according to the embodiment of this document is performed through the transfer of tokens in the blockchain network, the credit transaction service can be performed at any place connected to the Internet network without being limited to a specific region.

아울러, 본 문서의 실시예에 따른 여신거래의 기록은 토큰의 이체 자체로써 블록체인에 기록되는 것이기 때문에, 정산 내역을 발급하기 위한 중계자의 카드전표 매입 업무가 생략되어 기존의 중계 수수료를 대폭 감소시킬 수 있다. In addition, since the credit transaction record according to the embodiment of this document is recorded on the blockchain as a token transfer itself, the broker's card slip purchase task for issuing settlement details is omitted, which will significantly reduce the existing relay fee. I can.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 아이템 한 개 또는 복수 개를 포함할 수 있다. It should be understood that various embodiments of the document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, and include various modifications, equivalents, or substitutes of the embodiment. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more items, unless the context clearly indicates otherwise.

본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", “A 또는 B 중 적어도 하나,”"A, B 또는 C," "A, B 및 C 중 적어도 하나,”및 “A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, “기능적으로” 또는 “통신적으로”라는 용어와 함께 또는 이런 용어 없이, “커플드” 또는 “커넥티드”라고 언급된 경우, 그것은 어떤 구성요소가 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.In this document, “A or B”, “at least one of A and B”, “at least one of A or B,” “A, B or C,” “at least one of A, B and C,” and “A Each of the phrases such as "at least one of,, B, or C" may include all possible combinations of items listed together in the corresponding phrase of the phrases. Terms such as “first”, “second”, or “first” or “second” can be used to simply distinguish a component from other components, and to separate components from other aspects (eg, importance or Order). Any (eg first) component is referred to as a “coupled” or “connected” to another (eg second) component, with or without the term “functionally” or “communically” When mentioned, it means that one component can be connected directly to another component (eg, by wire), wirelessly, or through a third component.

본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. As used herein, the term "module" may include units implemented in hardware, software, or firmware, and may be used interchangeably with terms such as, for example, logic, logic blocks, components, or circuits. The module may be an integrally configured component or a minimum unit of components or a part thereof performing one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(예: 전자 장치)에 의해 읽을 수 있는 저장 매체(예: 메모리)에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램)로서 구현될 수 있다. 저장 매체는 RAM(random access memory), 메모리 버퍼, 하드 드라이브, 데이터베이스, EPROM(erasable programmable read-only memory), EEPROM(electrically erasable read-only memory), ROM(read-only memory) 및/또는 등등을 포함할 수 있다.Various embodiments of the present document may be implemented as software (eg, a program) including one or more instructions stored in a storage medium (eg, memory) readable by a device (eg, an electronic device). Storage media include random access memory (RAM), memory buffers, hard drives, databases, erasable programmable read-only memory (EPROM), electrically erasable read-only memory (EEPROM), read-only memory (ROM), and/or the like. Can include.

또한, 본 문서의 실시예들의 프로세서는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 이러한 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 프로세서는 범용 프로세서, FPGA(Field Programmable Gate Array), ASIC(Application Specific Integrated Circuit), DSP(Digital Signal Processor) 및/또는 등등 일 수 있다.In addition, the processor of the embodiments of the present document may invoke and execute at least one of the one or more instructions stored from the storage medium. This enables the device to be operated to perform at least one function according to at least one command called. These one or more instructions may include code generated by a compiler or code executable by an interpreter. The processor may be a general purpose processor, a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), and/or the like.

기기로 읽을 수 있는 저장매체는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장매체가 실재(tangible)하는 장치이고, 신호(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.A storage medium that can be read by a device may be provided in the form of a non-transitory storage medium. Here,'non-transient' only means that the storage medium is a tangible device and does not contain a signal (e.g., electromagnetic wave), and this term is used when data is semi-permanently stored in the storage medium and temporarily stored. It does not distinguish between cases.

본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어)를 통해 또는 두 개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.A method according to various embodiments disclosed in this document may be provided as being included in a computer program product. Computer program products can be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a device-readable storage medium (eg compact disc read only memory (CD-ROM)), or through an application store (eg play store) or two user devices (eg : Smartphones) can be distributed directly or online (eg, downloaded or uploaded). In the case of online distribution, at least a part of the computer program product may be temporarily stored or temporarily generated in a storage medium that can be read by a device such as a server of a manufacturer, a server of an application store, or a memory of a relay server.

다양한 실시예들에 따르면, 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 통합 이전에 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the described components may include a singular or plural entities. According to various embodiments, one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or program) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each component of the plurality of components the same or similar to that performed by the corresponding component among the plurality of components prior to integration. According to various embodiments, operations performed by a module, program, or other component may be executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order, omitted, or the like. , Or one or more other actions can be added.

Claims (15)

여신거래 서비스를 제공하는 서버에 있어서,
상기 여신거래 서비스에 등록된 사용자 계정에 맵핑된 사용자 노드, 상기 여신거래 서비스에 등록된 가맹점 계정에 맵핑된 가맹점 노드, 및 상기 서버에 대응되는 서버 노드를 포함하는 블록체인 네트워크와 통신하기 위한 통신 인터페이스; 소정의 동작을 수행하도록 하는 명령어들을 저장하는 하나 이상의 메모리; 및 상기 하나 이상의 메모리와 동작 가능 하도록 연결되어 상기 명령어들을 실행하도록 설정된 하나 이상의 프로세서를 포함하고- 상기 서버 노드는 상기 블록체인 네트워크에서 상기 서버의 명령에 따라 동작됨 -,
상기 하나 이상의 프로세서는,
상기 사용자 노드의 토큰 발행에 대한 권한을 결정하는 동작,
상기 권한을 가진 상기 사용자 노드에 의해 발행된 토큰이 상기 사용자 노드로부터 상기 서버 노드로 이체되는 것과 연관된 이체 정보를 확인하는 동작,
상기 사용자 계정에 연동된 사용자 단말과 상기 가맹점 계정에 연동된 가맹점 단말 사이에 발생된 여신거래에 대한 정보를 수신하는 동작, 및
상기 이체 정보에 기초해 상기 여신거래에 대응되는 토큰의 수량을 상기 서버 노드로부터 상기 가맹점 노드로 이체시키는 이체 트랜잭션을 상기 블록체인 네트워크에 발생시키는 동작을 수행하는,
여신거래 서버.
In the server that provides a credit transaction service,
Communication interface for communication with a blockchain network including a user node mapped to a user account registered in the credit transaction service, an affiliate store node mapped to an affiliate store account registered in the credit transaction service, and a server node corresponding to the server ; At least one memory for storing instructions for performing a predetermined operation; And at least one processor connected to be operable with the at least one memory and configured to execute the instructions, the server node being operated according to the instruction of the server in the blockchain network,
The one or more processors,
Determining the authority for the token issuance of the user node,
Checking transfer information associated with transfer of a token issued by the user node having the authority from the user node to the server node,
Receiving information on the credit transaction generated between the user terminal linked to the user account and the affiliated store terminal linked to the affiliated store account, and
Performing an operation of generating a transfer transaction in the blockchain network for transferring the quantity of tokens corresponding to the credit transaction from the server node to the affiliated store node based on the transfer information,
Credit transaction server.
제1항에 있어서,
상기 하나 이상의 프로세서는,
상기 사용자 단말로부터 여신거래 서비스에 대한 가입 정보를 수신하고 상기 가입 정보에 기초해 상기 사용자 노드에 의한 상기 토큰의 발행한도를 결정하는 동작을 수행하는,
여신거래 서버.
The method of claim 1,
The one or more processors,
Receiving subscription information for a credit transaction service from the user terminal, and determining an issuance limit of the token by the user node based on the subscription information,
Credit transaction server.
제1항에 있어서,
상기 하나 이상의 프로세서는,
상기 권한을 결정하는 동작에 의해 발행 가능하도록 규약이 정해진 스마트 컨트랙트를 상기 블록체인 네트워크에 배포하는 동작을 수행하고,
상기 토큰은,
상기 사용자 노드가 상기 토큰 발행을 위해 상기 스마트 컨트랙트에 전송한 트랜잭션에 의해 발행되는,
여신거래 서버.
The method of claim 1,
The one or more processors,
Performing an operation of distributing a smart contract for which a rule is determined to be issued by the operation of determining the authority to the blockchain network,
The token is,
Issued by a transaction sent by the user node to the smart contract for issuing the token,
Credit transaction server.
제1항에 있어서,
상기 이체 정보는 상기 사용자 노드로부터 상기 서버 노드로 이체된 상기 토큰의 잔액(balance)에 대한 정보를 포함하고,
상기 하나 이상의 프로세서는,
상기 토큰의 잔액이 상기 여신거래에 대응되는 토큰의 수량 보다 많거나 같은 경우 상기 이체 트랜잭션을 발생시키는 동작을 수행하는,
여신거래 서버.
The method of claim 1,
The transfer information includes information on a balance of the token transferred from the user node to the server node,
The one or more processors,
When the balance of the token is greater than or equal to the amount of tokens corresponding to the credit transaction, generating the transfer transaction,
Credit transaction server.
제1항에 있어서,
상기 하나 이상의 프로세서는,
상기 여신거래에 대한 정보를 상기 사용자 단말 또는 상기 가맹점 단말로부터 수신하고, 상기 사용자 노드의 개인키를 이용한 서명을 통해 상기 사용자 노드로부터 상기 가맹점 노드로 상기 토큰이 이체되도록 하는 트랜잭션을 발생시키는 동작을 수행하는,
여신거래 서버.
The method of claim 1,
The one or more processors,
Receives information on the credit transaction from the user terminal or the affiliated store terminal, and generates a transaction for transferring the token from the user node to the affiliated store node through a signature using the private key of the user node. doing,
Credit transaction server.
제5항에 있어서,
상기 하나 이상의 프로세서는,
상기 블록체인 네트워크에 새로운 노드를 생성시켜 발급되는 사용자 노드의 개인키를 상기 사용자 계정에 지급하여 상기 사용자 노드의 개인키를 상기 메모리에 저장하는 동작을 수행하거나, 또는 상기 사용자 계정에 의하여 생성된 상기 사용자 노드의 개인키를 수신하여 상기 메모리에 저장하는 동작을 수행하는,
여신거래 서버.
The method of claim 5,
The one or more processors,
By creating a new node in the blockchain network, the user node's private key issued to the user account is paid to store the user node's private key in the memory, or the user account generated Receiving the private key of the user node and storing it in the memory,
Credit transaction server.
제6항에 있어서,
상기 메모리에 저장되는 개인키는,
상기 사용자 계정에 의해 상기 사용자 노드가 생성되는 경우 발급되는 최초 개인키와 상이한 텍스트열로 구성된,
여신거래 서버.
The method of claim 6,
The private key stored in the memory,
Consist of a text string different from the initial private key issued when the user node is generated by the user account,
Credit transaction server.
제5항에 있어서,
상기 서버가 상기 사용자 노드의 개인키를 통해 서명하는 경우 상기 이체 트랜잭션은 상기 이체될 토큰 수량이 기 설정된 수량 이하일 경우에만 실행되도록 하는 규약이 정해진,
여신거래 서버.
The method of claim 5,
When the server signs through the private key of the user node, the transfer transaction is established only when the number of tokens to be transferred is less than or equal to a preset quantity.
Credit transaction server.
제1항에 있어서,
상기 하나 이상의 프로세서는,
상기 사용자가 여신거래를 발생시키기 위해 소정의 노드로부터 상기 가맹점 노드로 이체된 토큰을 상기 가맹점 노드가 상기 서버 노드로 이체한 경우, 상기 이체된 토큰을 상기 블록체인 네트워크에서 소각하는 트랜잭션을 발생시키는 동작을 더 수행하는
여신거래 서버.
The method of claim 1,
The one or more processors,
When the user transfers the token transferred from a predetermined node to the affiliated store node to the server node in order to generate a credit transaction, generating a transaction in which the transferred token is burned in the blockchain network To do more
Credit transaction server.
제1항에 있어서,
상기 하나 이상의 프로세서는,
상기 사용자 노드 정보를 포함하는 제1 식별 정보 및 상기 가맹점 노드 정보를 포함하는 제2 식별 정보를, 상기 사용자 단말 및 상기 가맹점 단말 각각에 발급하는 동작을 수행하고,
상기 여신거래는,
상기 가맹점 단말에 출력되는 상기 제2 식별정보에 대한 상기 사용자 단말의 인식을 통해 상기 사용자 단말이 상기 사용자 노드로부터 상기 가맹점 노드로 토큰이 이체되는 트랜잭션을 생성하여 성립되거나, 또는 상기 사용자 단말에 출력되는 상기 제1 식별정보에 대한 상기 가맹점 단말의 인식을 통해 상기 가맹점 단말이 상기 사용자 노드로부터 상기 가맹점 노드로 토큰이 이체되는 트랜잭션을 생성하여 성립되는,
여신거래 서버.
The method of claim 1,
The one or more processors,
Issuing first identification information including the user node information and second identification information including the affiliate store node information to each of the user terminal and the affiliate store terminal,
The above credit transaction,
Through recognition of the user terminal with respect to the second identification information output to the affiliate store terminal, the user terminal is established by generating a transaction in which a token is transferred from the user node to the affiliate store node, or output to the user terminal. The affiliate store terminal generates a transaction in which tokens are transferred from the user node to the affiliate store node through recognition of the affiliate store terminal with respect to the first identification information.
Credit transaction server.
제1항에 있어서,
상기 하나 이상의 프로세서는,
상기 가맹점 노드로 이체된 토큰에 대하여 상기 가맹점 노드로부터 상기 서버 노드로의 이체 여부를 확인한 경우, 상기 이체된 토큰에 대응되는 금액이 정산되도록 하는 메시지를 외부 서버에 전송하는 동작을 수행하는,
여신거래 서버.
The method of claim 1,
The one or more processors,
When it is confirmed whether the transfer of the token transferred to the affiliated store node from the affiliated store node to the server node is confirmed, transmitting a message to an external server to settle an amount corresponding to the transferred token,
Credit transaction server.
제1항에 있어서,
상기 하나 이상의 프로세서는,
상기 사용자 단말이 발생시킨 여신거래에 따라 상기 서버 노드로부터 상기 가맹점 노드로 이체된 토큰에 대응되는 금액을 사용자가 상기 서버의 은행 계좌로 이체한 것을 확인한 경우, 상기 사용자 노드의 상기 토큰 발행에 대한 권한을 재결정하는 동작을 수행하는,
여신거래 서버.
The method of claim 1,
The one or more processors,
When it is confirmed that the user has transferred the amount corresponding to the token transferred from the server node to the affiliated store node according to the credit transaction generated by the user terminal, the user node's authority to issue the token To perform an operation to re-determine,
Credit transaction server.
여신거래 서버에 의해 수행되는 여신거래 방법에 있어서,
여신거래 서비스에 등록된 사용자 계정에 맵핑된 사용자 노드의 토큰 발행에 대한 권한을 결정하는 단계;
상기 권한을 가진 상기 사용자 노드에 의해 발행된 토큰이 상기 사용자 노드로부터 상기 서버 노드로 이체되는 것과 연관된 이체 정보를 확인하는 단계;
상기 사용자 계정과 연동되는 사용자 단말과 상기 여신거래 서비스에 등록된 가맹점 계정과 연동되는 가맹점 단말 사이에 발생된 여신거래에 대한 정보를 수신하는 단계; 및
상기 여신거래에 대응되는 토큰의 수량을 상기 여신거래 서버의 명령에 따라 동작하는 서버 노드로부터 상기 가맹점 계정과 맵핑된 가맹점 노드로 이체시키는 이체 트랜잭션을 상기 블록체인 네트워크에 발생시키는 단계를 포함하는,
여신거래 방법.
In the credit transaction method performed by the credit transaction server,
Determining an authority to issue tokens of a user node mapped to a user account registered in the credit transaction service;
Checking transfer information associated with transfer of a token issued by the user node having the authority from the user node to the server node;
Receiving information on a credit transaction generated between a user terminal linked with the user account and an affiliated store terminal linked with an affiliated store account registered in the credit transaction service; And
Including the step of generating a transfer transaction in the blockchain network for transferring the quantity of tokens corresponding to the credit transaction from a server node operating according to a command of the credit transaction server to an affiliated store node mapped to the affiliated store account,
Credit transaction method.
제13항의 방법을 프로세서가 수행하게 하는 명령어를 포함하는 컴퓨터 프로그램이 기록된 컴퓨터 판독 가능 기록매체.
A computer-readable recording medium on which a computer program including instructions for causing a processor to perform the method of claim 13 is recorded.
제13항의 방법을 프로세서가 수행하도록 하는 컴퓨터 판독 가능 기록매체에 저장된 컴퓨터 프로그램.A computer program stored in a computer-readable recording medium for causing a processor to perform the method of claim 13.
KR1020190102905A 2019-02-01 2019-08-22 Server and method for credit transaction using blockchain network KR102249864B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020190013896 2019-02-01
KR20190013896 2019-02-01

Publications (2)

Publication Number Publication Date
KR20200096055A true KR20200096055A (en) 2020-08-11
KR102249864B1 KR102249864B1 (en) 2021-05-10

Family

ID=72048066

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190102905A KR102249864B1 (en) 2019-02-01 2019-08-22 Server and method for credit transaction using blockchain network

Country Status (1)

Country Link
KR (1) KR102249864B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112950208A (en) * 2021-03-29 2021-06-11 建信金融科技有限责任公司 Accounting information processing method and device based on block chain
KR102311345B1 (en) 2021-01-21 2021-10-08 박문찬 Insurance mortgage credit finance platform system for local currency user
CN114596092A (en) * 2022-02-24 2022-06-07 成都质数斯达克科技有限公司 Charging method, device and equipment based on block chain and readable storage medium
KR102450036B1 (en) * 2021-07-07 2022-10-04 한국예탁결제원 System for managing security token

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101782443B1 (en) * 2015-12-30 2017-09-27 한국정보통신주식회사 Method for processing payment using virtual money and terminal for card payment thereof
KR101813256B1 (en) * 2017-07-18 2017-12-29 이기호 Payment system using virtual money exchange
KR20180020933A (en) * 2017-10-19 2018-02-28 유영근 Issuing method of virtual money based on credit card receivables and Issuing apparatus of virtual money based on credit card receivables
KR20180026498A (en) 2015-07-02 2018-03-12 로얄 뱅크 오브 캐나다 Security processing of electronic payment
KR20180114198A (en) * 2016-02-23 2018-10-17 엔체인 홀딩스 리미티드 A Universal Tokenization System for Block Cache-Based Cryptography

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20180026498A (en) 2015-07-02 2018-03-12 로얄 뱅크 오브 캐나다 Security processing of electronic payment
KR101782443B1 (en) * 2015-12-30 2017-09-27 한국정보통신주식회사 Method for processing payment using virtual money and terminal for card payment thereof
KR20180114198A (en) * 2016-02-23 2018-10-17 엔체인 홀딩스 리미티드 A Universal Tokenization System for Block Cache-Based Cryptography
KR101813256B1 (en) * 2017-07-18 2017-12-29 이기호 Payment system using virtual money exchange
KR20180020933A (en) * 2017-10-19 2018-02-28 유영근 Issuing method of virtual money based on credit card receivables and Issuing apparatus of virtual money based on credit card receivables

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102311345B1 (en) 2021-01-21 2021-10-08 박문찬 Insurance mortgage credit finance platform system for local currency user
CN112950208A (en) * 2021-03-29 2021-06-11 建信金融科技有限责任公司 Accounting information processing method and device based on block chain
KR102450036B1 (en) * 2021-07-07 2022-10-04 한국예탁결제원 System for managing security token
CN114596092A (en) * 2022-02-24 2022-06-07 成都质数斯达克科技有限公司 Charging method, device and equipment based on block chain and readable storage medium
CN114596092B (en) * 2022-02-24 2024-05-28 成都质数斯达克科技有限公司 Charging method, device and equipment based on blockchain and readable storage medium

Also Published As

Publication number Publication date
KR102249864B1 (en) 2021-05-10

Similar Documents

Publication Publication Date Title
CN109214792B (en) Method and system for electronic vouchers via a blockchain
CN109804401B (en) Method and system for authenticating coupons via blockchain
CN107851281B (en) System and method for fraud control for blockchain based transactions
CN109299939B (en) Method and system for transaction processing with full password verifiability
CN107851246B (en) System and method for processing blockchain based transactions over existing payment networks
KR102249864B1 (en) Server and method for credit transaction using blockchain network
JP2022506010A (en) Methods and systems for dispute resolution on the public blockchain
CN109074564A (en) The method and system of usage record guarantee pay down
CN109313764A (en) Tokenized system and method are carried out to the Deposit Account Number used at Payment Card receiving station
CN110612546A (en) Digital asset account management
US20220255725A1 (en) System and method for authorizing transactions in an authorized member network
US20160328705A1 (en) Mediated conversion of cryptographic currency and other funding sources to gold
CN102982441A (en) Dynamic electronic money
JP6775590B2 (en) Systems and methods to promote secure electronic commerce
CN109934580A (en) Increase the method and system of Information Security in voucher transmission around merchant system
US20140164228A1 (en) Methods and systems for value transfers using a reader device
CN116157819A (en) Method and system for merchants to accept encrypted currency via payment tracks
CN115428396A (en) Method and system for cryptocurrency transactions using an EMV card in a multi-signature wallet
KR20190136610A (en) Apparatus and method for transaction processing using smart contract based on blockchain
CN107852333A (en) System and method for the mandate of sharable content object
KR102297975B1 (en) Apparatus and Method for mediating Online deal based on Smart Contract
KR102063628B1 (en) Method for paying based on blockchain and payment server using the same
CN115335841A (en) Method and system for transferring digital tokens to and from physical cards
KR20210015006A (en) System for processing financial information using blockchain platform
KR102363804B1 (en) Node for verifying and publishing Crypto currency and System paying using Crypto currency

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant