KR20220099194A - Blockchain-based prepaid content billing service method and system - Google Patents

Blockchain-based prepaid content billing service method and system Download PDF

Info

Publication number
KR20220099194A
KR20220099194A KR1020210000910A KR20210000910A KR20220099194A KR 20220099194 A KR20220099194 A KR 20220099194A KR 1020210000910 A KR1020210000910 A KR 1020210000910A KR 20210000910 A KR20210000910 A KR 20210000910A KR 20220099194 A KR20220099194 A KR 20220099194A
Authority
KR
South Korea
Prior art keywords
billchain
content
user
bill
server
Prior art date
Application number
KR1020210000910A
Other languages
Korean (ko)
Other versions
KR102582904B1 (en
Inventor
고승곤
Original Assignee
고승곤
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 고승곤 filed Critical 고승곤
Priority to KR1020210000910A priority Critical patent/KR102582904B1/en
Priority to PCT/KR2021/017587 priority patent/WO2022149722A1/en
Publication of KR20220099194A publication Critical patent/KR20220099194A/en
Application granted granted Critical
Publication of KR102582904B1 publication Critical patent/KR102582904B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/12Payment architectures specially adapted for electronic shopping systems
    • G06Q20/123Shopping for digital content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/12Payment architectures specially adapted for electronic shopping systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/14Payment architectures specially adapted for billing systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/22Payment schemes or models
    • G06Q20/28Pre-payment schemes, e.g. "pay before"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
    • 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
    • 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/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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3247Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3263Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/56Financial cryptography, e.g. electronic payment or e-cash

Landscapes

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

Abstract

The present invention relates to a blockchain-based prepaid-type content charging service system. In a method for providing the prepaid-type content service, the present invention comprises: a step of authenticating, by a billchain server, a user who wants to be received with a prepaid-type content service; and a step of issuing, by the billchain server, to a user terminal a billchain SSO credential for blockchain comprising a billchain user DID of the authenticated user. Therefore, the present invention is capable of providing a transparent settlement.

Description

블록체인 기반 선불형 콘텐츠 과금 서비스 방법 및 시스템{Blockchain-based prepaid content billing service method and system}Blockchain-based prepaid content billing service method and system

본 발명은 콘텐츠 과금 서비스 시스템에 관한 것으로서, 상세하게는 블록체인 기반의 선불형 콘텐츠 과금 서비스 시스템에 관한 것이다.The present invention relates to a content billing service system, and more particularly, to a blockchain-based prepaid content billing service system.

종래 선불형 콘텐츠 서비스 시스템은 콘텐츠를 제공하는 콘텐츠 제공 서버에 사용자 단말을 통해 회원 등록을 수행한 후 캐시 충전 및 해당 캐시를 통해 선불형 콘텐츠를 구매한다. A conventional prepaid content service system performs member registration through a user terminal to a content providing server that provides content, and then charges a cache and purchases prepaid content through the cache.

이때, 종래 선불형 콘텐츠 서비스 시스템의 경우, 사용자의 회원 등록 시, 콘텐츠 제공 서버에 사용자의 모든 신상 정보 및 캐시가 집중되어 관리된다.In this case, in the case of the conventional prepaid content service system, when the user registers as a member, all personal information and cache of the user are centrally managed in the content providing server.

만약, 콘텐츠 제공 서버가 해킹되거나 할 경우, 사용자의 신상 정보 및 캐시를 보호할 수 있는 방법이 없다. If the content providing server is hacked, there is no way to protect the user's personal information and cache.

또한, 종래 선불형 콘텐츠 서비스 시스템에서의 콘텐츠를 이용하는데 지불하는 캐시를 충천하는 서비스는 결제 대행사(PG, Payment Gateway) 서버와 연동하는 것이 일반적이다. 일반적인 외부 결제 대행사 서버는 이동통신사, 카드사 등이 이용될 수 있다. In addition, in the conventional prepaid content service system, a service for replenishing a cache paid for using content is generally linked with a payment gateway (PG, Payment Gateway) server. As a general external payment agency server, a mobile communication company, a card company, etc. may be used.

이러한 종래 캐시 충전 서비스의 결제 과정을 살펴보면, 이용자가 이용자 단말을 통해 결제 수단을 선택한 후 결제 대행사에 결제를 요청한다. 결제 대행사는 이용자를 인증한 후 결제를 진행하며, 결제가 성공한 경우 콘텐츠 제공자는 결제 금액만큼 캐시를 충전하고 해당 캐시에서 이용자가 선택한 콘텐츠의 과금액을 차감하고 이용자가 선택한 콘텐츠를 제공한다. 이후, 결제 대행사는 이용자가 캐시 충전을 위해 선결제를 수행한 건에 대해 기 설정된 날짜에 이용자에게 수납을 받고, 콘텐츠 제공자에게도 캐시 충전에 대한 비용을 정산하게 된다. Looking at the payment process of such a conventional cash charging service, a user selects a payment method through a user terminal and then requests payment to a payment agency. The payment agency authenticates the user and then proceeds with the payment. If the payment is successful, the content provider charges the cache equal to the payment amount, deducts the charged amount for the content selected by the user from the cache, and provides the content selected by the user. Thereafter, the payment agency receives the payment from the user on a preset date for the case where the user has made a prepayment to recharge the cache, and the content provider also settles the cost for the cache recharge.

그런데, 전술한 종래 캐시 충전을 통한 콘텐츠 과금 서비스는 콘텐츠 제공 서버가 해킹되는 경우, 사용자의 캐시 및 성인 콘텐츠 구매 내역과 같은 사용자 프라이버시를 보호할 수 있는 방법이 없다는 문제점이 있다.However, the aforementioned conventional content billing service through cache charging has a problem in that there is no way to protect user privacy such as the user's cache and adult content purchase history when the content providing server is hacked.

종래 문제점을 해결하기 위하여, 본 발명은 블록체인 기반으로 사용자 인증과 캐시 충전을 블록체인 네트워크에 저장함으로써, 디지털 콘텐츠 및 그에 관한 권리들의 발생 시점을 투명하고 명확하게 관리하여 고수수료를 청구하는 별도의 중개기관 없이 디지털 콘텐츠에 대한 효율적인 관리를 달성할 수 있는 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템을 제공하고자 한다. In order to solve the conventional problems, the present invention stores user authentication and cash charging in a blockchain network based on a block chain, thereby transparently and clearly managing the time of occurrence of digital content and rights related thereto and charging a high fee. We want to provide a blockchain-based prepaid content billing service system that can achieve efficient management of digital content without an intermediary.

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

상기 목적을 달성하기 위한 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 방법은 선불형 콘텐츠 서비스 제공 방법에 있어서, 사용자가 빌체인 서버를 통해 가입하는 단계; 및 상기 빌체인 서버가 상기 가입된 사용자의 빌체인 사용자 DID(Decentralized IDentifier, 분산신원식별자)가 포함된 블록체인용 빌체인 SSO 크리덴셜(credential)을 사용자 단말에 발급하는 단계를 포함한다. In accordance with an embodiment of the present invention for achieving the above object, there is provided a method for providing a prepaid content service based on a block chain, comprising: a user signing up through a billchain server; and issuing, by the billchain server, a billchain SSO credential for a block chain including a billchain user Decentralized IDentifier (DID) of the subscribed user to the user terminal.

본 발명은 사용자 단말이 콘텐츠 제공 서버에 로그인 시, 사용자 단말과 콘텐츠 제공 서버가 빌체인 DID 블록체인을 통해 각각 인증하는 단계; 상기 빌체인 서버가 상기 콘텐츠 제공 서버로부터 빌체인 SSO 크리덴셜 요청을 받으면 빌체인 SSO 크리덴셜이 상기 콘텐츠 제공 서버에 전달되도록 상기 사용자 단말에 빌체인 SSO 크리덴셜을 요청하는 단계; 상기 콘텐츠 제공 서버가 상기 사용자 단말로부터 전달받은 빌체인 SSO 크리덴셜을 이용하여 빌체인 DID 블록체인에 빌체인 SSO DID 문서(document)(공개키, 서비스 접근 주소 포함)를 요청한 후 빌체인 SSO DID 문서에서 획득한 공개키를 이용하여 빌체인 SSO 크리덴셜의 서명 검증을 수행하여 로그인을 승인하는 단계; 및 상기 콘텐츠 제공 서버가 로그인 결과를 사용자 단말에 제공하는 단계를 포함한다. The present invention includes the steps of: when the user terminal logs in to the content providing server, the user terminal and the content providing server each authenticate through the Billchain DID block chain; when the billchain server receives a billchain SSO credential request from the content providing server, requesting the billchain SSO credential to the user terminal so that the billchain SSO credential is transmitted to the content providing server; After the content providing server requests a Billchain SSO DID document (including public key and service access address) from the Billchain DID blockchain using the Billchain SSO credential received from the user terminal, the Billchain SSO DID document Approving the login by performing signature verification of the Billchain SSO credential using the public key obtained from; and providing, by the content providing server, a login result to the user terminal.

그리고 상기 콘텐츠 제공 서버가 사용자의 로그인 내역 정보를 빌체인 빌링 블록체인에 저장하는 단계를 더 포함한다. And the content providing server further includes the step of storing the user's login history information in the bill chain billing block chain.

또한, 상기 사용자 단말이 상기 콘텐츠 제공 서버에 로그인 한 후, 상기 콘텐츠 제공 서버로 빌체인 사용자 DID를 함께 전송하며 캐시 충전을 요청하는 단계; 상기 콘텐츠 제공 서버가 캐시 충전을 요청한 사용자의 빌체인 사용자 DID를 이용하여 상기 빌체인 서버에 충전을 요청하는 단계; 상기 빌체인 서버가 상기 콘텐츠 제공 서버용 캐시 충전 창을 사용자 단말에 제공하여 결제 프로세스를 진행한 후 결제 대행사로부터 결제 결과를 제공받는 단계; 상기 빌체인 서버가 사용자의 충전 결과 및 잔액 업데이트 정보를 빌체인 빌링 블록체인에 저장하는 단계; 상기 빌체인 서버가 충전 결과를 상기 콘텐츠 제공 서버에 전달하는 단계; 및 상기 빌체인 서버가 빌체인 사용자 단말에 빌체인 캐시(cash) 크리덴셜을 발급하는 단계를 포함한다. In addition, after the user terminal logs in to the content providing server, transmitting the billchain user DID together to the content providing server and requesting a cache charge; requesting, by the content providing server, to charge the billchain server using the billchain user DID of the user who requested the cache charge; receiving, by the billchain server, a payment result from a payment agency after performing a payment process by providing a cache charging window for the content providing server to a user terminal; storing, by the billchain server, the user's charging result and balance update information in the billchain billing block chain; transmitting, by the billchain server, a charging result to the content providing server; and issuing, by the billchain server, a billchain cash credential to a billchain user terminal.

그리고, 본 발명은 상기 사용자 단말이 상기 콘텐츠 제공 서버에 로그인 한 후, 상기 사용자 단말이 상기 콘텐츠 제공 서버에 선불형 콘텐츠를 요청하는 단계; 상기 콘텐츠 제공 서버가 로그인 시 획득한 빌체인 사용자 DID를 통해 상기 빌체인 서버에 빌체인 빌(bill) 크리덴셜을 요청하는 단계; 상기 빌체인 서버가 사용자 단말에 보관중인 빌체인 빌 크리덴셜이 상기 콘텐츠 제공 서버에 전달되도록, 상기 사용자 단말에 해당 선불형 콘텐츠에 해당하는 빌체인 빌 크리덴셜을 요청하는 단계; 상기 사용자 단말은 발급된 빌체인 빌 크리덴셜이 존재하는 경우, 상기 콘텐츠 제공 서버로 발급된 빌체인 빌 크리덴셜을 전달하는 단계; 상기 콘텐츠 제공 서버가 빌체인 DID 블록체인에 빌체인 빌 크리덴셜의 빌체인 빌 DID 문서(공개키, 서비스 접근 주소 포함)를 요청한 후 빌체인 빌 DID 문서에서 획득한 공개키를 이용하여 빌체인 빌 크리덴셜 서명 검증을 수행하는 단계; 상기 콘텐츠 제공 서버가 빌체인 빌 크리덴셜의 항목 유효성을 검사하는 단계; 및 상기 콘텐츠 제공 서버가 사용자의 콘텐츠 접근 내역을 빌체인 빌링 블록체인에 저장하고, 사용자가 선택한 콘텐츠를 사용자 단말에 제공하는 단계를 포함한다. In addition, the present invention includes the steps of, after the user terminal logs in to the content providing server, the user terminal requesting prepaid content from the content providing server; requesting, by the content providing server, billchain bill credentials from the billchain server through the billchain user DID obtained at login; requesting the billchain bill credential corresponding to the prepaid content from the user terminal so that the billchain bill credential stored in the user terminal is transmitted to the content providing server by the billchain server; transmitting, by the user terminal, the issued bill-chain bill credential to the content providing server when the issued bill-chain bill credential exists; After the content providing server requests the Billchain Bill DID document (including public key and service access address) of Billchain Bill Credential to the Billchain DID blockchain, using the public key obtained from the Billchain Bill DID document, the Billchain Bill performing credential signature verification; checking, by the content providing server, the item validity of the bill-chain bill credential; and storing, by the content providing server, the user's content access details in the billchain billing block chain, and providing the content selected by the user to the user terminal.

또한, 본 발명은 발급된 빌체인 빌 크리덴셜이 존재하지 않는 경우, 상기 사용자 단말이 상기 빌체인 서버에 콘텐츠 과금을 요청하는 단계; 상기 빌체인 서버가 상기 콘텐츠 제공 서버용 과금 창을 상기 사용자 단말에 제공하는 단계; 상기 사용자 단말이 사용자가 선택하는 과금 선택 정보를 상기 빌체인 서버에 제공하는 단계; 상기 빌체인 서버가 상기 사용자의 캐시의 잔액 차감을 상기 빌체인 빌링 블록체인에 요청하는 단계; 상기 빌체인 서버가 상기 빌체인 빌링 블록체인으로부터 사용자의 콘텐츠 제공자 캐시의 잔액 차감 결과를 전달받는 단계; 상기 빌체인 서버가 사용자의 콘텐츠 제공자 캐시의 잔액 차감 결과를 기반으로 빌체인 빌 크리덴셜을 상기 사용자 단말에 발급하는 단계; 상기 사용자 단말이 발급된 빌체인 빌 크리덴셜을 상기 콘텐츠 제공 서버에 전달하는 단계; 상기 콘텐츠 제공 서버가 상기 사용자 단말로부터 전달된 빌체인 빌 크리덴셜의 빌체인 빌 DID 문서(공개키, 서비스 접근 주소 포함)를 빌체인 DID 블록체인에 요청한 후 빌체인 빌 DID 문서에서 획득한 공개키를 이용하여 빌체인 빌 크리덴셜 서명 검증을 수행하는 단계; 및 상기 콘텐츠 제공 서버가 사용자의 해당 콘텐츠 제공 서버의 콘텐츠 접근 내역을 빌체인 빌링 블록체인에 저장하고, 해당 콘텐츠를 사용자 단말에 제공하는 단계를 포함한다. In addition, the present invention, when the issued bill chain bill credential does not exist, the user terminal requesting content billing to the bill chain server; providing, by the billchain server, a billing window for the content providing server to the user terminal; providing, by the user terminal, billing selection information selected by the user to the billchain server; requesting, by the billchain server, to deduct the balance of the user's cache to the billchain billing block chain; receiving, by the billchain server, a result of deducting the balance of the user's content provider cache from the billchain billing block chain; issuing, by the billchain server, a billchain bill credential to the user terminal based on a result of deducting the balance of the user's content provider cache; transmitting, by the user terminal, the issued bill chain bill credential to the content providing server; The public key obtained from the Billchain Bill DID document after the content providing server requests the Billchain Bill DID document (including the public key and service access address) of the Billchain Bill Credential delivered from the user terminal to the Billchain DID blockchain performing bill-chain bill credential signature verification using and storing, by the content providing server, the content access details of the user's corresponding content providing server in the billchain billing block chain, and providing the corresponding content to the user terminal.

그리고, 본 발명의 상기 콘텐츠 제공 서버는, 해당 선불형 콘텐츠가 건당 과금인 경우, 해당 선불형 콘텐츠를 상기 사용자 단말에 제공한 후 빌체인 빌 크리덴셜 취소를 빌체인 DID 블록체인에 요청하는 단계; 및 상기 빌체인 DID 블록체인이 요청된 빌체인 빌 크리덴셜을 취소하는 단계를 더 포함한다. In addition, the content providing server of the present invention, when the prepaid content is billing per case, providing the prepaid content to the user terminal and then requesting the billchain DID blockchain to cancel the billchain bill credential; and the billchain DID blockchain canceling the requested billchain bill credential.

또한 본 발명은 상기 빌체인 빌 크리덴셜 항목 유효성 검사에 대한 오류가 발생하면, 상기 콘텐츠 제공 서버가 빌체인 빌 크리덴셜 취소를 빌체인 DID 블록체인에 요청하는 단계; 상기 빌체인 DID 블록체인이 요청된 빌체인 빌 크리덴셜을 취소하는 단계; 및 상기 콘텐츠 제공 서버가 유효성 검사 오류 메시지를 상기 사용자 단말에 제공하는 단계를 더 포함한다. In addition, the present invention includes the steps of requesting, by the content providing server, to cancel the billchain bill credential to the billchain DID blockchain when an error occurs in the validation of the billchain bill credential item; canceling, by the billchain DID blockchain, the requested billchain bill credential; and providing, by the content providing server, a validation error message to the user terminal.

그리고 본 발명은 상기 사용자 단말이 상기 콘텐츠 제공 서버에 로그인한 후, 상기 사용자 단말이 상기 콘텐츠 제공 서버에 빌체인 사용자 DID를 함께 전송하며 선불형 콘텐츠 구매 취소를 요청하는 단계; 상기 콘텐츠 제공 서버가 선불형 콘텐츠 구매 취소 요청을 승인한 후 그 결과를 상기 빌체인 서버에 전달하는 단계; 상기 빌체인 서버가 상기 사용자 단말에 해당 선불형 콘텐츠에 해당하는 빌체인 빌 크리덴셜을 요청하여 전달받고 전달된 빌체인 빌 크리덴셜의 빌체인 빌 DID 문서(공개키, 서비스 접근 주소 포함)를 빌체인 DID 블록체인에 요청하고 빌체인 빌 DID 문서에서 획득한 공개키를 이용하여 빌체인 빌 크리덴셜 서명 검증을 수행하는 단계; 상기 빌체인 서버가 빌체인 빌 크리덴셜 취소를 빌체인 DID 블록체인에 요청하고 빌체인 빌 크리덴셜 취소 결과를 전달받는 단계; 상기 빌체인 서버가 상기 사용자 단말이 구매 취소한 선불형 콘텐츠의 구매 금액 만큼 사용자의 콘텐츠 제공자 캐시에 대한 잔액 충전을 빌체인 빌링 블록체인에 요청하여 업데이트한 후 잔액 충전 결과를 전달받는 단계; 상기 빌체인 서버가 잔액 충전 결과를 기반으로 새로운 빌체인 캐시 크리덴셜을 상기 사용자 단말에 발급하는 단계; 및 상기 빌체인 서버가 선불형 콘텐츠의 구매 취소 결과를 사용자 단말에 제공하는 단계를 더 포함한다. And the present invention includes the steps of: after the user terminal logs in to the content providing server, the user terminal transmits the billchain user DID together to the content providing server and requests cancellation of prepaid content purchase; transmitting the result to the billchain server after the content providing server approves the prepaid content purchase cancellation request; The billchain server requests the user terminal for the billchain bill credential that corresponds to the prepaid content, and the billchain bill DID document (including public key and service access address) of the delivered billchain bill credential is billed. requesting the chain DID block chain and performing bill chain bill credential signature verification using the public key obtained from the bill chain bill DID document; the billchain server requesting the billchain bill credential cancellation to the billchain DID blockchain and receiving a billchain bill credential cancellation result; receiving, by the billchain server, a result of the balance charge after updating the billchain billing block chain by requesting the billchain billing block chain to charge the balance of the user's content provider cache by the purchase amount of the prepaid content canceled by the user terminal; issuing, by the billchain server, a new billchain cash credential to the user terminal based on the balance charge result; and providing, by the billchain server, a result of canceling the purchase of prepaid content to the user terminal.

또한 본 발명은 상기 사용자 단말이 상기 콘텐츠 제공 서버에 로그인한 후, 상기 사용자 단말이 상기 콘텐츠 제공 서버에 빌체인 사용자 DID를 함께 전송하며 해당 콘텐츠 제공자 캐시를 충전했던 결제 내역에 대한 결제 취소를 요청하는 단계; 상기 콘텐츠 제공 서버가 사용자 단말이 캐시를 충전했던 결제 내역에 대한 결제 취소 요청을 승인한 후 그 결과를 상기 빌체인 서버에 전달하는 단계; 상기 빌체인 서버가 상기 사용자 단말에 상기 결제 취소 건에 해당하는 빌체인 캐시 크리덴셜을 요청하여 전달받고, 전달된 빌체인 캐시 크리덴셜의 공개키를 빌체인 DID 블록체인에 요청하고, 빌체인 캐시 DID 문서(공개키, 서비스 접근 주소 포함)에서 획득한 공개키를 이용하여 빌체인 캐시 크리덴셜 서명 검증을 수행하는 단계; 상기 빌체인 서버가 상기 사용자 단말이 결제 취소한 결제 금액만큼 사용자의 콘텐츠 제공자 캐시에 대한 잔액 차감을 빌체인 빌링 블록체인에 요청하여 업데이트한 후 잔액 차감 결과를 전달받는 단계; 잔액이 정상적으로 차감된 경우, 상기 빌체인 서버가 빌체인 캐시 크리덴셜 취소를 빌체인 DID 블록체인에 요청하고 빌체인 캐시 크리덴셜 취소 결과를 전달받는 단계; 상기 빌체인 서버가 잔액 차감 결과를 기반으로 결제 대행사에 결제 취소를 요청한 후 그 결제 취소 결과를 수신하는 단계; 및 상기 빌체인 서버가 결제 취소 결과를 사용자 단말에 전달하는 단계를 더 포함한다. In addition, the present invention, after the user terminal logs in to the content providing server, the user terminal transmits the billchain user DID together to the content providing server and requests cancellation of payment for the payment details that have filled the corresponding content provider cache step; transmitting, by the content providing server, the result to the billchain server after approving the payment cancellation request for the payment details in which the user terminal has charged the cache; The billchain server requests and receives the billchain cash credential corresponding to the payment cancellation from the user terminal, requests the public key of the transferred billchain cash credential to the billchain DID blockchain, and billchain cash performing billchain cache credential signature verification using the public key obtained from the DID document (including public key and service access address); receiving, by the billchain server, a result of the balance deduction after updating the billchain billing block chain by requesting the billchain billing block chain to deduct the balance of the user's content provider cache by the amount of the payment canceled by the user terminal; when the balance is normally deducted, the billchain server requesting billchain cash credential cancellation to the billchain DID blockchain and receiving a billchain cash credential cancellation result; receiving, by the billchain server, a payment cancellation result after requesting payment cancellation to a payment agency based on a balance deduction result; And the billchain server further comprises the step of transmitting the payment cancellation result to the user terminal.

또한 본 발명은 상기 사용자 단말이 상기 콘텐츠 제공 서버에 로그인한 후, 상기 사용자 단말이 상기 콘텐츠 제공 서버에 빌체인 사용자 DID를 함께 전송하며 해당 콘텐츠 제공자 캐시 환불을 요청하는 단계; 상기 콘텐츠 제공 서버가 해당 콘텐츠 제공자 캐시 환불을 승인한 후 그 결과를 상기 빌체인 서버에 전달하는 단계; 상기 빌체인 서버가 빌체인 빌링 블록체인에 상기 사용자의 콘텐츠 제공자 캐시에 대해 전체 잔액 차감을 요청하고, 전체 잔액 차감 결과를 전달받는 단계; 및 상기 빌체인 서버가 상기 사용자 단말이 상기 콘텐츠 제공자 캐시 충전 시 발급받은 빌체인 캐시 크리덴셜 전체 취소를 빌체인 DID 블록체인에 요청하고, 그 빌체인 캐시 크리덴셜 전체 취소 결과를 전달받으면, 사용자 계좌로 환불 금액을 입금하는 단계를 더 포함한다. In addition, the present invention includes the steps of: after the user terminal logs in to the content providing server, the user terminal transmits a billchain user DID together to the content providing server and requests a refund of the corresponding content provider cache; transmitting the result to the billchain server after the content providing server approves the refund of the corresponding content provider cache; requesting, by the billchain server, to deduct the entire balance of the user's content provider cache to the billchain billing block chain, and receiving a result of the deduction of the total balance; and when the billchain server requests the billchain DID blockchain to cancel all billchain cash credentials issued when the user terminal recharges the content provider cache, and receives the billchain cash credential cancellation result, the user account and depositing the refund amount into

그리고 본 발명은 결제 대행사가 빌체인 계좌로 입금한 후 상기 빌체인 서버로 입금 내역을 전달하는 단계; 상기 빌체인 서버가 해당 콘텐츠 제공 서버에 대한 빌체인 수수료를 계산하는 단계; 상기 빌체인 서버가 빌체인 빌링 블록체인에 상기 콘텐츠 제공자의 정산 내역을 업데이트하는 단계; 상기 빌체인 서버가 상기 콘텐츠 제공자의 계좌로 정산 금액을 입금하는 단계; 및 상기 콘텐츠 제공자가 빌체인 빌링 블록체인에서 정산 내역을 확인하는 단계를 더 포함한다. And the present invention includes the steps of transferring the deposit details to the billchain server after the payment agency deposits the billchain account; calculating, by the billchain server, a billchain fee for the corresponding content providing server; updating, by the billchain server, the settlement details of the content provider in the billchain billing block chain; depositing, by the billchain server, the settlement amount into the account of the content provider; and confirming, by the content provider, the settlement details in the billing chain billing block chain.

본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템은 사용자 가입 후 사용자 인증을 위한 빌체인 크리덴셜을 발급받아 관리하고, 상기 발급된 빌체인 크리덴셜을 이용하여 사용자 인증을 수행한 후 선불형 콘텐츠 서비스를 제공받는 사용자 단말; 사용자 단말을 이용하여 사용자가 인증되면, 상기 사용자 단말에 빌체인 크리덴셜을 발급하고, 콘텐츠 과금 요청 시 콘텐츠 제공 서버로부터 제공되는 사용자의 빌체인 사용자 DID를 기반으로 빌체인 빌링 블록체인에서 상기 콘텐츠 제공자 캐시의 잔액을 확인하고 빌체인 크리덴셜을 상기 사용자 단말에 발급하는 빌체인 서버; 및 사용자가 선불형 콘텐츠 이용 시, 상기 사용자 단말에 빌체인 크리덴셜을 요청하여 빌체인 DID 블록체인에서 분산하여 저장되어 있는 빌체인 DID 문서(공개키, 서비스 접근 주소 포함)에서 획득한 공개키를 이용하여 빌체인 크리덴셜을 검증한 후 해당 콘텐츠를 사용자 단말에 제공하는 콘텐츠 제공 서버를 포함한다. The blockchain-based prepaid content billing service system according to an embodiment of the present invention receives and manages billchain credentials for user authentication after user subscription, and performs user authentication using the issued billchain credentials. a user terminal receiving a post-paid content service; When a user is authenticated using a user terminal, a billchain credential is issued to the user terminal, and the content provider in the billchain billing block chain based on the user's billchain user DID provided from the content providing server when requesting content billing a billchain server that checks the balance of the cache and issues a billchain credential to the user terminal; And when the user uses prepaid content, the user requests the BillChain credentials from the user terminal and stores the public key obtained from the BillChain DID document (including public key and service access address) distributed and stored in the BillChain DID blockchain. It includes a content providing server that provides the corresponding content to the user terminal after verifying the billchain credentials using it.

본 발명의 상기 사용자 단말은, 상기 빌체인 서버로부터 발급받은 빌체인 크리덴셜을 관리하기 위한 빌체인 DID 지갑 어플리케이션; 및 선불형 콘텐츠를 이용하기 위해 상기 콘텐츠 제공 서버에 접속하기 위한 콘텐츠 실행 어플리케이션이 구비된다. The user terminal of the present invention, a billchain DID wallet application for managing the billchain credentials issued from the billchain server; and a content execution application for accessing the content providing server in order to use prepaid content.

또한 본 발명의 상기 사용자 단말은, 사용자의 DID 인증을 위한 제휴 DID 지갑 어플리케이션이 설치된다. In addition, in the user terminal of the present invention, an affiliate DID wallet application for user's DID authentication is installed.

그리고 본 발명의 상기 빌체인 서버는, 제휴 DID 사업자에 접속하여 사용자 단말의 제휴 DID 크리덴셜을 검증하는 제휴 DID 검증기(verifier)를 더 포함한다. And the billchain server of the present invention further includes an affiliated DID verifier that verifies the affiliated DID credential of the user terminal by accessing the affiliated DID operator.

또한 본 발명의 상기 빌체인 서버는, 사용자 단말을 이용하여 사용자가 정상적으로 가입되면, 상기 사용자 단말에 빌체인 SSO 크리덴셜을 발급하는 빌체인 SSO 모듈; 및 상기 콘텐츠 제공 서버로부터 콘텐츠 과금 요청 시, 콘텐츠 제공 서버로부터 제공되는 사용자의 빌체인 사용자 DID를 기반으로 빌체인 빌링 블록체인에서 상기 콘텐츠 제공자 캐시의 잔액을 확인하고 빌체인 빌 크리덴셜을 상기 사용자 단말에 발급하는 빌체인 빌 모듈을 포함한다. In addition, the billchain server of the present invention, when a user is normally subscribed using a user terminal, a billchain SSO module for issuing a billchain SSO credential to the user terminal; and when a content billing request is made from the content providing server, the balance of the content provider cache is checked in the billchain billing block chain based on the user's billchain user DID provided from the content providing server, and the billchain bill credential is set to the user terminal It includes the bill module that is issued to the bill chain.

그리고 본 발명의 상기 빌체인 서버는, 상기 콘텐츠 제공 서버로부터 제공되는 사용자의 빌체인 사용자 DID를 기반으로 사용자 단말의 빌체인 DID 지갑 어플리케이션을 확인하여 기과금 여부를 판단하고, 기과금 된 경우 상기 콘텐츠 제공 서버에 과금 승인 정보를 제공하고, 기과금 되지 않은 경우 콘텐츠 과금을 위한 캐시를 충전하고 상기 사용자 단말에 빌체인 캐시 크리덴셜을 발급하는 빌체인 캐시 모듈을 포함하는 것이 바람직하다.And the billchain server of the present invention, based on the user's billchain user DID provided from the content providing server, checks the billchain DID wallet application of the user terminal to determine whether or not the billchain is billed, and if billchain is billed, the content It is preferable to include a billchain cache module that provides billing approval information to the providing server, charges a cache for content billing when billing is not performed, and issues a billchain cache credential to the user terminal.

또한 본 발명의 콘텐츠 제공 서버는, 사용자가 선불형 콘텐츠 이용 시, 상기 사용자 단말의 빌체인 DID 지갑 어플리케이션에 빌체인 SSO 크리덴셜을 요청하여 빌체인 DID 블록체인에서 분산 저장되어 있는 빌체인 SSO DID 문서(공개키, 서비스 접근 주소 포함)에서 획득한 공개키를 이용하여 빌체인 SSO 크리덴셜을 검증하고, 상기 사용자 단말의 빌체인 DID 지갑 어플리케이션에 빌체인 빌 크리덴셜을 요청하여 빌체인 DID 블록체인에서 분산 저장되어 있는 빌체인 빌 DID 문서(공개키, 서비스 접근 주소 포함)에서 획득한 공개키를 이용하여 빌체인 빌 크리덴셜이 검증되면 사용자가 선택한 콘텐츠를 사용자 단말에 제공하며, 사용자에게 사용자 단말의 빌체인 DID 지갑 어플리케이션에 저장된 빌체인 빌 크리덴셜을 이용한 구매 취소, 빌체인 캐시 크리덴셜을 이용한 결제 취소, 콘텐츠 제공자 캐시에 대한 환불을 제공하는 빌체인 검증기를 더 포함하는 것이 바람직하다.In addition, the content providing server of the present invention requests Billchain SSO credentials to the Billchain DID wallet application of the user terminal when the user uses prepaid content, and the Billchain SSO DID document is distributed and stored in the Billchain DID block chain. Verify the BillChain SSO credential using the public key obtained from (public key, service access address), and request the BillChain Bill Credential to the BillChain DID wallet application of the user terminal in the BillChain DID blockchain. When the BillChain bill credential is verified using the public key obtained from the distributed and stored BillChain Bill DID document (including public key and service access address), the content selected by the user is provided to the user terminal, and the user's It is preferable to further include a billchain validator that provides a refund for the purchase cancellation using the billchain bill credential stored in the billchain DID wallet application, the payment cancellation using the billchain cash credential, and a refund for the content provider cache.

본 발명에 따르면, 콘텐츠 제공자들에게는 콘텐츠에 대한 다양한 과금방식(예컨대, 건당 과금, 기간별 정액제 등) 및 투명한 정산을 제공하고, 사용자들에게는 자기주권형 사용자 인증 및 캐시 충전을 제공할 수 있는 효과가 있다. According to the present invention, content providers are provided with various billing methods (eg, billing per case, fixed period per period, etc.) and transparent settlement for content, and users are provided with self-sovereign user authentication and cash charging. have.

구체적으로 콘텐츠 제공자들이 사용자 개인정보 및 프라이버시를 보호하면서 사용자 가입 및 인증, 성인인증, 제휴 DID 연동 등을 수행할 수 있고, 사용자가 해당 콘텐츠 요청 시 사용자의 인증연동, 잔액 차감, 캐시연동을 처리할 수 있으며, 사용자를 대상으로 캐시충전, 결제 대행사 연동, 결제취소, 구매취소, 캐시환불을 제공할 수 있다. Specifically, content providers can perform user registration and authentication, adult authentication, and affiliate DID linkage while protecting user personal information and privacy. In addition, it is possible to provide cash recharge, payment agency linkage, payment cancellation, purchase cancellation, and cash refund for users.

그 결과, 콘텐츠 제공자의 사용자 가입 및 과금 처리 비용이 감소될 수 있고, 콘텐츠 제공자들에게 다양한 과금 방식을 제공함으로써 매출 증대로 이어지게 할 수 있고, 콘텐츠 제공자들이 인증 및 과금 시스템을 별도로 구축하지 않아도 되는 효과가 있다. As a result, user subscription and billing processing costs of content providers can be reduced, and revenue can be increased by providing content providers with various billing methods, and content providers do not have to separately establish authentication and billing systems. there is

그리고, 블록체인을 통해 사용자 및 콘텐츠 제공자들과 인증, 잔액, 충전, 과금, 구매 취소, 결제 취소, 환불, 정산 등을 공유함으로써 콘텐츠 서비스의 투명성과 신뢰성을 제고할 수 있는 효과가 있다. In addition, by sharing authentication, balance, charging, billing, purchase cancellation, payment cancellation, refund, settlement, etc. with users and content providers through blockchain, it is possible to enhance the transparency and reliability of content services.

도 1은 본 발명에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템을 설명하기 위한 시스템 구성 블록도,
도 2는 본 발명에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템의 모듈 구성 블록도,
도 3은 본 발명에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템의 블록체인 구성 블록도,
도 4는 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 빌체인 서버(300) 및 콘텐츠 제공 서버(200) 등록 방법을 설명하기 위한 신호 흐름도,
도 5는 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 SSO 스키마 및 빌체인 SSO 크리덴셜 정의(definition)의 예를 설명하기 위한 도면,
도 6은 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 빌 스키마 및 빌체인 빌 크리덴셜 정의의 예를 설명하기 위한 도면,
도 7은 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 캐시 스키마 및 빌체인 캐시 크리덴셜 정의의 예를 설명하기 위한 도면,
도 8은 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 사용자의 신규 가입 방법을 설명하기 위한 신호 흐름도,
도 9는 도 8에서의 사용자의 신규 가입 창을 설명하기 위한 참고도,
도 10은 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 사용자의 로그인 방법을 설명하기 위한 신호 흐름도,
도 11은 도 10에서 사용자 단말에 출력되는 사용자 로그인 예를 설명하기 위한 참고도.
도 12는 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 콘텐츠 제공자 전용 캐시 충전 방법을 설명하기 위한 신호 흐름도,
도 13은 도 12의 캐시 충전 창의 예를 설명하기 위한 참고도,
도 14는 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 신규 과금 방법을 설명하기 위한 신호 흐름도,
도 15는 도 14의 과금 창의 예를 설명하기 위한 참고도,
도 16은 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 기 과금 처리 방법을 설명하기 위한 신호 흐름도,
도 17은 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 구매 취소 방법을 설명하기 위한 신호 흐름도,
도 18은 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 결제 취소 방법을 설명하기 위한 신호 흐름도,
도 19는 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 콘텐츠 제공자 캐시 환불 방법을 설명하기 위한 신호 흐름도,
도 20은 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 정산 처리 방법을 설명하기 위한 신호 흐름도,
도 21은 본 발명의 일 실시예에서 사용자 단말의 빌체인 DID 지갑 어플리케이션을 통해 사용자에게 제공되는 크리덴셜을 설명하기 위한 참고도이다.
1 is a block diagram of a system configuration for explaining a blockchain-based prepaid content billing service system according to the present invention;
2 is a block diagram of a module configuration of a blockchain-based prepaid content billing service system according to the present invention;
3 is a block diagram of a block chain configuration of a block chain-based prepaid content billing service system according to the present invention;
4 is a signal flow diagram illustrating a method of registering a billchain server 300 and a content providing server 200 in a block chain-based prepaid content billing service system according to an embodiment of the present invention;
5 is a diagram for explaining an example of an SSO schema and billchain SSO credential definition in a blockchain-based prepaid content charging service system according to an embodiment of the present invention;
6 is a diagram for explaining an example of a bill schema and bill chain bill credential definition in a blockchain-based prepaid content billing service system according to an embodiment of the present invention;
7 is a diagram for explaining an example of a cache schema and billchain cache credential definition in a blockchain-based prepaid content billing service system according to an embodiment of the present invention;
8 is a signal flow diagram for explaining a user's new subscription method in a blockchain-based prepaid content billing service system according to an embodiment of the present invention;
9 is a reference diagram for explaining the user's new subscription window in FIG. 8;
10 is a signal flow diagram for explaining a user login method in a blockchain-based prepaid content billing service system according to an embodiment of the present invention;
11 is a reference diagram for explaining an example of a user login output to the user terminal in FIG. 10 .
12 is a signal flow diagram illustrating a method of charging a content provider-only cache in a blockchain-based prepaid content billing service system according to an embodiment of the present invention;
13 is a reference diagram for explaining an example of the cache charging window of FIG. 12;
14 is a signal flow diagram for explaining a new charging method in a blockchain-based prepaid content charging service system according to an embodiment of the present invention;
15 is a reference diagram for explaining an example of the charging window of FIG. 14;
16 is a signal flow diagram illustrating a method of processing a billing in a block chain-based prepaid content billing service system according to an embodiment of the present invention;
17 is a signal flow diagram for explaining a purchase cancellation method in a blockchain-based prepaid content billing service system according to an embodiment of the present invention;
18 is a signal flow diagram for explaining a payment cancellation method in a blockchain-based prepaid content billing service system according to an embodiment of the present invention;
19 is a signal flow diagram for explaining a content provider cache refund method in a blockchain-based prepaid content billing service system according to an embodiment of the present invention;
20 is a signal flow diagram for explaining a settlement processing method in a blockchain-based prepaid content billing service system according to an embodiment of the present invention;
21 is a reference diagram for explaining the credentials provided to the user through the Billchain DID wallet application of the user terminal in an embodiment of the present invention.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다.Advantages and features of the present invention and methods of achieving them will become apparent with reference to the embodiments described below in detail in conjunction with the accompanying drawings.

그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 것이며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. 한편, 본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다. 명세서에서 사용되는 "포함한다(comprises)" 및/또는 "포함하는(comprising)"은 언급된 구성소자, 단계, 동작 및/또는 소자는 하나 이상의 다른 구성소자, 단계, 동작 및/또는 소자의 존재 또는 추가를 배제하지 않는다. However, the present invention is not limited to the embodiments disclosed below, but will be implemented in a variety of different forms, only these embodiments allow the disclosure of the present invention to be complete, and common knowledge in the technical field to which the present invention belongs It is provided to fully inform the possessor of the scope of the invention, and the present invention is only defined by the scope of the claims. Meanwhile, the terminology used herein is for the purpose of describing the embodiments and is not intended to limit the present invention. In this specification, the singular also includes the plural, unless specifically stated otherwise in the phrase. As used herein, "comprises" and/or "comprising" refers to the presence of one or more other components, steps, operations and/or elements mentioned. or addition is not excluded.

도 1은 본 발명에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템을 설명하기 위한 시스템 구성 블록도이고, 도 2는 본 발명에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템의 모듈 구성 블록도이며, 도 3은 본 발명에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템의 블록체인 구성 블록도이다. 1 is a system configuration block diagram for explaining a blockchain-based prepaid content charging service system according to the present invention, and FIG. 2 is a module configuration block diagram of a blockchain-based prepaid content charging service system according to the present invention, FIG. 3 is a block diagram of a block chain configuration of a block chain-based prepaid content billing service system according to the present invention.

도 1에 도시된 바와 같이, 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템은 사용자 단말(100), 콘텐츠 제공 서버(200) 및 빌체인 서버(300)를 포함한다. 이러한 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템은 사용자 단말(100)에게 콘텐츠 제공 서버(200)에 가입한 후 해당 콘텐츠 제공자 캐시를 충전하고, 해당 콘텐츠 제공자 캐시를 이용하여 임의의 콘텐츠를 구매하여 이용하는 서비스를 제공할 수 있다. As shown in FIG. 1 , the blockchain-based prepaid content billing service system according to an embodiment of the present invention includes a user terminal 100 , a content providing server 200 and a billchain server 300 . The block chain-based prepaid content billing service system according to an embodiment of the present invention charges the content provider cache after subscribing to the content providing server 200 to the user terminal 100, and using the content provider cache It is possible to provide a service to purchase and use arbitrary content.

사용자 단말(100)은 하이퍼레저 인디에서 제공하는 사용자 개인 지갑이 설치되어, 해당 사용자에게 발급된 빌체인 SSO 크리덴셜, 빌체인 빌 크리덴셜, 빌체인 캐시 크리덴셜을 보관 및 관리할 수 있다. The user terminal 100 may have a user personal wallet provided by Hyperledger Indy installed, and may store and manage the BillChain SSO Credentials, BillChain Bill Credentials, and BillChain Cash Credentials issued to the user.

본 발명의 일 실시예에 따른 사용자 단말(100)은 콘텐츠 제공 서버(200)에 접속할 수 있고, 인터넷 통신과 정보 검색 등 컴퓨터 지원 기능을 추가한 지능형 단말기로서, 사용자가 원하는 다수의 응용 프로그램(즉, 애플리케이션)을 설치하여 실행할 수 있는 휴대폰, 스마트폰(smart phone), 태블릿, 스마트 워치(Smart watch), 웨어러블(wearable) 단말, 노트북 등 이동통신 단말일 수 있고, 유선망에 연결되는 개인형 컴퓨터일 수 있다. 본 실시예에서의 사용자 단말(100)에는 모바일 앱의 형태로 제공하며 해당 앱을 실행하기 위해 스마트폰 생체인증 통과 후 앱 실행 및 크리덴셜을 제공한다.The user terminal 100 according to an embodiment of the present invention is an intelligent terminal capable of accessing the content providing server 200 and adding computer support functions such as Internet communication and information search, and a plurality of application programs desired by the user (that is, , application) may be a mobile communication terminal, such as a mobile phone, smart phone, tablet, smart watch, wearable terminal, laptop, etc. can The user terminal 100 in this embodiment is provided in the form of a mobile app, and after passing the smartphone biometric authentication to run the app, the app execution and credentials are provided.

사용자 단말(100)에는 빌체인 DID 지갑 어플리케이션(120)이 설치되며, 지갑이 삭제되어 복구가 필요한 경우 사용자 실명확인 후 빌체인 빌링 블록체인(500) 원장에 저장되어 있는 콘텐츠 구매내역, 캐시 충전내역을 기초로 빌체인 빌 크리덴셜, 빌체인 캐시 크리덴셜을 복구할 수 있다. The billchain DID wallet application 120 is installed in the user terminal 100, and if the wallet is deleted and needs to be recovered, the user's real name is verified and the content purchase history and cache charge history stored in the billchain billing block chain 500 ledger Based on this, you can restore the BillChain Bill Credentials and the BillChain Cash Credentials.

본 발명의 일 실시예에서 DID(분산ID, Decentralized IDentifier)는 온라인상에서 분산원장을 기반으로 사용자가 스스로 신원 등에 대한 증명 관리, 신원정보 제출 범위 및 제출대상 통제 등을 수행할 수 있도록 하는 신원관리 체계로, 신원증명(크리덴셜)은 사용자의 이름, 나이, 개인 고유 식별정보, 인증정보를 포함하고, DID 문서(DID document)는 해당 기관의 공개 DID(Public DID), 공개키, 서비스 접근 주소로 구성되며, 빌체인 DID 지갑 어플리케이션(120)은 신원증명 발급기관, 검증기관과 신원증명을 주고받기 위해 해당 연결 시 마다 비밀 DID(Private DID 또는 Pairwise DID), 공개키, 비밀키 생성 및 통신을 할 수 있다. In one embodiment of the present invention, DID (Decentralized IDentifier) is an identity management system that enables users to manage their own identity, etc., control the scope of identity information submission and submission target, etc., based on a distributed ledger online. Therefore, identification (credential) includes the user's name, age, personally identifiable information, and authentication information, and the DID document is the public DID, public key, and service access address of the relevant institution. The Billchain DID wallet application 120 generates and communicates with a private DID (Private DID or Pairwise DID), public key, and secret key for each connection in order to exchange identity certificates with the identity certificate issuing authority and verification authority. can

또한 사용자 단말(100)에는 빌체인 사용자 공개 DID, 비밀키와, 빌체인 SSO 크리덴셜, 빌체인 빌 크리덴셜 및 빌체인 캐시 크리덴셜을 관리하고, 콘텐츠 제공 서버의 로그인 페이지에 표시되는 QR 코드에 대한 스캔을 수행하는 빌체인 DID 지갑 어플리케이션(120)이 설치된다. In addition, the user terminal 100 manages the BillChain user public DID, secret key, BillChain SSO credential, BillChain bill credential, and BillChain Cash credential, and writes to the QR code displayed on the login page of the content providing server. Billchain DID wallet application 120 that performs a scan is installed.

콘텐츠 제공 서버(200)는 사용자 단말(100)이 선불형 콘텐츠를 요청하면, 빌체인 SSO 크리덴셜, 빌체인 빌 크리덴셜을 사용자 단말(100)에 요청하여 검증한다. When the user terminal 100 requests prepaid content, the content providing server 200 requests and verifies the billchain SSO credential and the billchain bill credential to the user terminal 100 .

콘텐츠 제공 서버(200)는 사용자 단말(100)로부터 전달된 빌체인 SSO 크리덴셜, 빌체인 빌 크리덴셜, 빌체인 캐시 크리덴셜을 빌체인 DID 블록체인(400)에 분산하여 저장되어 있는 빌체인 SSO DID 문서, 빌체인 빌 DID 문서, 빌체인 캐시 DID 문서에서 획득한 공개키를 이용하여 서명검증한 후, 빌체인 SSO 크리덴셜을 통해 사용자 로그인을 수행하고, 빌체인 빌 크리덴셜을 통해 콘텐츠 구매, 콘텐츠 실행, 콘텐츠 구매 취소를 수행할 수 있고, 빌체인 캐시 크리덴셜을 통해 콘텐츠 제공자 캐시 충전, 캐시 충전 결제건 취소, 콘텐츠 제공자 캐시 환불을 수행할 수 있다.The content providing server 200 distributes the billchain SSO credential, the billchain bill credential, and the billchain cash credential delivered from the user terminal 100 to the billchain DID block chain 400 and stores the billchain SSO After verifying the signature using the public key obtained from the DID document, BillChain Bill DID document, and BillChain Cash DID document, user login through BillChain SSO credentials, purchase content through BillChain Bill Credentials, Content execution and content purchase cancellation can be performed, and content provider cache recharge, cache charge payment cancellation, and content provider cache refund can be performed through BillChain Cash Credentials.

구체적으로, 콘텐츠 제공 서버(200)에는 빌체인 검증기(210)가 더 구비된다. 빌체인 검증기(210)는 사용자 단말(100)이 선불형 콘텐츠를 요청할 경우, 사용자 인증 및 과금 여부를 확인하기 위해 사용자 단말(100)에게 크리덴셜을 요청한 후 사용자 단말(100)이 제공한 해당 크리덴셜을 발급한 발급기(issuer)의 DID 문서(공개키, 서비스 접근 주소 포함)를 빌체인 DID 블록체인(400)에 요청하여 DID 문서에서 획득한 공개키로 크리덴셜의 서명을 검증한다. Specifically, the content providing server 200 is further provided with a bill chain verifier 210 . Billchain verifier 210, when the user terminal 100 requests prepaid content, requests the user terminal 100 for credentials to check whether the user is authenticated and charged, and then the user terminal 100 provides the corresponding credential. The signature of the credential is verified with the public key obtained from the DID document by requesting the DID document (including the public key and service access address) of the issuer that issued the credential to the Billchain DID blockchain 400 .

성인 콘텐츠 제공자의 경우는 영지식증명(ZKP, Zero Knowledge Proof)으로 사용자에 대한 성인인증을 수행하며, 사용자 단말(100)로부터 빌체인 SSO 크리덴셜이 제공되지 않으면, 콘텐츠 제공 서버(200)는 빌체인 서버(300)에 사용자 가입을 요청한다. In the case of an adult content provider, adult authentication for the user is performed with Zero Knowledge Proof (ZKP), and if the Billchain SSO credential is not provided from the user terminal 100, the content providing server 200 A user subscription is requested to the chain server 300 .

빌체인 서버(300)는 사용자가 콘텐츠 제공 서버(200)를 통해 사용자 가입 요청 시, 사용자가 제휴 DID를 통한 가입을 선택한 경우 제휴 DID 사업자를 통해 사용자 단말(100)에 저장된 제휴 DID의 크리덴셜을 검증하며, 자체 신규가입을 선택한 경우는 실명인증을 통한 사용자 확인 후 빌체인 SSO 모듈(310)를 통해 사용자 가입을 진행한다. 가입 성공 시 빌체인 SSO 발급기(312)는 가입시 제공된 사용자 정보를 기반으로 생성된 빌체인 SSO 크리덴셜을 사용자 단말(100)에 발급한다. Billchain server 300 receives the credentials of the affiliate DID stored in the user terminal 100 through the affiliate DID operator when the user selects to join through the affiliate DID when the user requests for user subscription through the content providing server 200. Verification, and when a new subscription is selected, user registration is performed through the Billchain SSO module 310 after user confirmation through real-name authentication. When the subscription is successful, the billchain SSO issuer 312 issues the billchain SSO credential generated based on the user information provided at the time of subscription to the user terminal 100 .

사용자 단말(100)로부터 제공된 빌체인 SSO 크리덴셜이 검증되면, 콘텐츠 제공 서버(200)는 빌체인 빌 크리덴셜을 빌체인 DID 블록체인(400)에서 검증한다. 여기서, 빌체인 빌 크리덴셜을 검증하는 방법은 빌체인 서버(300)에서 빌체인 빌 크리덴셜을 빌체인 빌 발급기(322)의 비밀키로 서명하여 사용자 단말(100)에 발급한 후 콘텐츠 제공 서버(200)의 빌체인 검증기(210)가 해당 크리덴셜을 발급한 빌체인 빌 발급기(322)의 DID 문서(공개키, 서비스 접근 주소 포함)를 빌체인 DID 블록체인(400)에 요청하여 DID 문서에서 획득한 공개키로 크리덴셜의 서명을 검증할 수 있다.When the billchain SSO credential provided from the user terminal 100 is verified, the content providing server 200 verifies the billchain bill credential in the billchain DID blockchain 400 . Here, the method of verifying the bill chain bill credential is to sign the bill chain bill credential in the bill chain server 300 with the secret key of the bill chain bill issuer 322 and issue it to the user terminal 100, and then to the content providing server ( 200) requests the DID document (including public key and service access address) of the BillChain bill issuer 322 that issued the corresponding credential to the Billchain DID blockchain 400, The signature of the credential can be verified with the obtained public key.

만약, 사용자 단말(100)로부터 빌체인 빌 크리덴셜이 전달되지 않으면, 콘텐츠 제공 서버(200)는 빌체인 빌 크리덴셜이 사용자 단말(100)에 발급되도록 빌체인 서버(330)에게 콘텐츠 과금을 요청한다. If the billchain bill credential is not transmitted from the user terminal 100 , the content providing server 200 requests the billchain server 330 to charge the content so that the billchain bill credential is issued to the user terminal 100 . do.

그리고 빌체인 서버(300)는 콘텐츠 제공 서버(200)로부터의 콘텐츠 과금 요청 시, 콘텐츠 제공 서버(200)의 빌체인 검증기(210)가 검증한 빌체인 SSO 크리덴셜을 보유하고 있는 사용자 단말(100)에 과금 창을 띄워 사용자가 해당 콘텐츠의 과금방식(건당, 정액제) 선택 시 해당 금액만큼 콘텐트 제공자 캐시에서 차감하는 과금 프로세스를 진행하며 과금 성공 시 빌체인 빌 발급기(322)를 통해 빌체인 빌 크리덴셜을 사용자 단말(100)에 발급한다. And the billchain server 300 is a user terminal 100 having a billchain SSO credential verified by the billchain verifier 210 of the content providing server 200 when a content billing request from the content providing server 200 is requested. ), when the user selects a billing method (per case, flat rate) for the content, the billing process is deducted from the content provider's cache by the corresponding amount. The identity is issued to the user terminal 100 .

만약, 상기 과금 프로세스 진행 중, 사용자가 보유한 콘텐츠 제공자 캐시 잔액이 부족한 경우, 빌체인 서버(300)는 사용자 단말(100)에 충전 창을 띄워 사용자가 결제수단 및 금액 선택 시 해당 결제 대행사를 통해 결제를 진행하며, 결제 성공 시 해당 금액만큼 콘텐트 제공자 캐시에 충전하는 충전 프로세스를 진행하고, 충전 성공 시 빌체인 캐시 발급기(332)를 통해 빌체인 캐시 크리덴셜을 사용자 단말(100)에 발급한다. If, during the billing process, the balance of the content provider cache held by the user is insufficient, the billchain server 300 opens a charging window on the user terminal 100 and when the user selects a payment method and amount, payment is made through the corresponding payment agency In the case of successful payment, a charging process of charging the content provider cache by the corresponding amount is performed, and upon successful charging, the billchain cash credential is issued to the user terminal 100 through the billchain cash issuer 332 .

이를 위해, 빌체인 서버(300)는 빌체인 SSO 모듈(310), 빌체인 빌 모듈(320) 및 빌체인 캐시 모듈(330)를 포함한다.To this end, the billchain server 300 includes a billchain SSO module 310 , a billchain bill module 320 and a billchain cache module 330 .

빌체인 SSO 모듈(310)는 REST API 로 구성되며, 사용자 단말(100)과 콘텐츠 제공 서버(200)로부터 제공되는 로그인 및 회원 가입 화면에서 제휴 DID를 통한 회원 가입을 요청하는 경우, 사용자 단말(100)에 제휴 DID와 크리덴셜을 요청한 후 제휴 DID와 크리덴셜을 전달받으면, 제휴 DID 사업자의 블록체인에서 제휴 DID의 크리덴셜 발급기의 DID 문서(공개키, 서비스 접근 주소 포함)를 요청한 후 상기 DID 문서에서 획득한 공개키를 이용하여 제휴 DID의 크리덴셜을 서명 검증하는 제휴 DID 검증기(311)를 포함하고, 사용자가 제휴 DID가 아닌 자체 신규 가입을 선택한 경우 실명인증 서비스를 통해 사용자 실명확인 후 가입을 처리하며 제휴 DID의 크리덴셜 또는 자체 실명인증으로 가입한 사용자에게 빌체인 SSO 크리덴셜을 발급하는 빌체인 SSO 발급기(312)를 포함한다. Billchain SSO module 310 is composed of a REST API, and when requesting membership through the affiliate DID on the login and membership registration screen provided from the user terminal 100 and the content providing server 200, the user terminal 100 ) after requesting the affiliate DID and credentials, and receiving the affiliate DID and credentials, request the DID document (including public key and service access address) of the affiliate DID's credential issuer in the affiliate DID operator's block chain, and then the above DID document It includes an affiliate DID verifier 311 that verifies the signature of the affiliate DID using the public key obtained from and includes a billchain SSO issuer 312 that issues billchain SSO credentials to users who have signed up with affiliate DID credentials or their own real-name authentication.

빌체인 SSO 모듈(310)은 빌체인 서비스 제공자가 빌체인 DID 블록체인 설치 시 빌체인 SSO 발급기(312)에서 공개 DID, 공개키, 비밀키를 생성하여 빌체인 DID 블록체인(400)에 빌체인 SSO DID 문서(공개키, 서비스 접근 주소 포함)를 등록하고, 빌체인 SSO 발급기(312)의 서버 지갑에는 빌체인 SSO 크리덴셜 발급 시 서명할 비밀키를 보관한다. The Billchain SSO module 310 generates a public DID, public key, and private key in the Billchain SSO issuer 312 when the Billchain service provider installs the Billchain DID blockchain, and stores it in the Billchain DID blockchain 400. Registers the SSO DID document (including public key and service access address), and stores the private key to be signed when issuing the Billchain SSO credential in the server wallet of the Billchain SSO issuer 312 .

빌체인 서버(300)에 사용자가 신규 가입하는 경우는 가입화면에서 제휴 DID 검증 또는 자체 가입처리를 위한 실명, 이메일 확인 후 사용자의 빌체인 DID 지갑 어플리케이션(120)에 스마트폰 생체 등록 및 빌체인 SSO 크리덴셜을 발급한다. 그리고 사용자의 빌체인 DID 지갑 어플리케이션(120)은 사용자의 공개 DID, 공개키, 비밀키를 생성하여 빌체인 DID 블록체인(400)에 빌체인 사용자 DID 문서(공개키, 서비스 접근 주소 포함)를 등록하고 사용자 단말(100)의 빌체인 DID 지갑 어플리케이션(120)에는 빌체인 크리덴셜을 콘텐츠 제공 서버(200)로 전달할 때 서명할 비밀키를 보관한다.When a user signs up for a new Billchain server 300, on the signup screen, after verifying the real name and email for affiliate DID verification or self-subscription processing, the user's Billchain DID wallet application 120 is registered as a smartphone biometric and Billchain SSO issue the credentials. And the user's Billchain DID wallet application 120 generates the user's public DID, public key, and private key and registers the Billchain user DID document (including public key and service access address) in the Billchain DID blockchain 400 And, the billchain DID wallet application 120 of the user terminal 100 stores a secret key to be signed when the billchain credentials are transmitted to the content providing server 200 .

빌체인 빌 모듈(320)은 빌체인 서비스 제공자가 빌체인 DID 블록체인 설치 시 빌체인 빌 발급기(322)에서 공개 DID, 공개키, 비밀키를 생성하여 빌체인 DID 블록체인(400)에 빌체인 빌 DID 문서(공개키, 서비스 접근 주소 포함)를 등록하고 빌체인 빌 발급기(322)의 서버 지갑에는 빌체인 빌 크리덴셜 발급 시 서명할 비밀키를 보관한다. The billchain bill module 320 generates a public DID, a public key, and a private key in the billchain bill issuer 322 when the billchain service provider installs the billchain DID block chain and stores the billchain in the billchain DID block chain 400. A bill DID document (including public key and service access address) is registered, and a private key to be signed when bill chain bill credentials are issued is stored in the server wallet of the bill chain bill issuer 322.

빌체인 빌 모듈(320)은 REST API 로 구성되며 빌체인 빌 크리덴셜을 발급하는 빌체인 빌 발급기(322)를 포함하고, 콘텐츠 제공 서버(200)에서 콘텐츠 과금 요청 시 빌체인 빌 모듈(320)이 사용자에게 과금 창을 띄우고 사용자가 원하는 과금 방식(건당, 정액제)을 선택하도록 하고 빌체인 빌링 블록체인(500)에서 해당 사용자의 콘텐츠 제공자 캐시 잔액을 확인하고, 해당하는 잔액이 있는 경우 차감 후 빌체인 빌 발급기(322)에서 사용자의 빌체인 DID 지갑 어플리케이션(120)에 빌체인 빌 크리덴셜을 발급한다. 여기서, 콘텐츠에 대한 과금방식 및 금액은 콘텐츠 제공 서버(200)에서 과금 요청 시 빌체인 빌 모듈(320)로 전달한다. The billchain bill module 320 is composed of a REST API and includes a billchain bill issuer 322 that issues a billchain bill credential, and the billchain bill module 320 when a content billing request is made from the content providing server 200 Open a billing window to this user, let the user select the billing method they want (per case, flat rate), check the content provider cache balance of the user in the billchain billing blockchain 500, and if there is a corresponding balance, deduct the bill The chain bill issuer 322 issues the bill chain bill credentials to the user's bill chain DID wallet application 120 . Here, the billing method and amount for the content are transferred to the bill chain bill module 320 when a billing request is made from the content providing server 200 .

빌체인 캐시 모듈(330)는 빌체인 서비스 제공자가 빌체인 DID 블록체인 설치 시 빌체인 캐시 발급기(332)에서 공개 DID, 공개키, 비밀키를 생성하여 빌체인 DID 블록체인(400)에 빌체인 캐시 DID 문서(공개키, 서비스 접근 주소 포함)를 등록하고 빌체인 캐시 발급기(332)의 서버 지갑에는 빌체인 캐시 크리덴셜 발급 시 서명할 비밀키를 보관한다. The billchain cache module 330 generates a public DID, public key, and private key from the billchain cash issuer 332 when the billchain service provider installs the billchain DID block chain, and stores it in the billchain DID block chain 400. A cache DID document (including public key and service access address) is registered, and the server wallet of the BillChain Cash Issuer 332 stores the private key to be signed when issuing the BillChain Cash Credential.

빌체인 캐시 모듈(330)은 REST API 로 구성되며 빌체인 캐시 크리덴셜을 발급하는 빌체인 캐시 발급기(332)를 포함하고, 빌체인 빌 모듈(320)에서 사용자가 콘텐츠 구매 시 빌체인 빌 모듈(320)이 빌체인 빌링 블록체인(500)에서 해당 사용자의 콘텐츠 제공자 캐시 잔액을 확인하고 잔액이 부족한 경우 빌체인 캐시 모듈(330)에게 요청하여 캐시 충전 창을 띄우고 원하는 충전 금액과 결제 수단(일반 결제, 코인 결제)을 선택 후 결제가 성공하면 빌체인 캐시 모듈(330)은 빌체인 빌링 블록체인(500)에 콘텐츠 제공자 캐시 잔액을 충전하고 빌체인 캐시 발급기(332)를 통해 사용자의 빌체인 DID 지갑 어플리케이션(120)에 빌체인 캐시 크리덴셜을 발급한다. 여기서, 해당 콘텐츠에 대한 결제 수단은 콘텐츠 제공 서버(200)에서 과금 요청 시 빌체인 빌 모듈(320)로 전달한다. The billchain cache module 330 is composed of a REST API and includes a billchain cash issuer 332 that issues billchain cash credentials, and when a user purchases content from the billchain bill module 320, the billchain bill module ( 320) checks the user's content provider cache balance in the billchain billing block chain 500, and if the balance is insufficient, asks the billchain cash module 330 to open the cache charge window, and displays the desired charge amount and payment method (general payment) , coin payment) and payment is successful, the billchain cash module 330 charges the content provider cash balance in the billchain billing block chain 500 and the user's billchain DID wallet through the billchain cash issuer 332 Issues billchain cash credentials to the application 120 . Here, the payment means for the corresponding content transmits the billing request from the content providing server 200 to the bill chain bill module 320 .

빌체인 서비스 제공자가 빌체인 DID 블록체인 설치 시 빌체인 서비스 제공자는 빌체인 DID 블록체인에서 사용할 SSO 스키마(빌체인 SSO 크리덴셜용 스키마), 빌 스키마(빌체인 빌 크리덴셜용 스키마), 캐시 스키마(빌체인 캐시 크리덴셜용 스키마)를 빌체인 DID 블록체인(400)에 등록한다. SSO 스키마는 빌체인 서비스 제공자가가 정의한 로그인 권한에 대한 신원증명 공통 항목이며, 빌 스키마는 빌체인 서비스 제공자가가 정의한 콘텐츠를 이용할 수 있는 신원증명 공통 항목이며, 캐시 스키마는 빌체인 서비스 제공자가가 정의한 특정 결제 수단을 이용해서 해당 금액을 충전한 신원증명 공통 항목이다.When the Billchain service provider installs the Billchain DID blockchain, the Billchain service provider will use the SSO schema (Schema for Billchain SSO Credentials), Bill schema (Schema for Billchain Bill Credentials), and Cache schema to be used in the Billchain DID blockchain. (Schema for BillChain Cash Credentials) is registered in the BillChain DID blockchain 400. The SSO schema is a common item of identification for login rights defined by the Billchain service provider, the bill schema is a common item of identification that can use the content defined by the Billchain service provider, and the cache schema is a common item that the Billchain service provider has defined. It is a common item of identification that charges the amount using a specific payment method you define.

빌체인 서버(300)의 빌체인 SSO 발급기(312)는 빌체인 SSO 크리덴셜 정의(definition)(SSO 스키마와 빌체인 SSO 모듈의 추가 항목 포함)를 빌체인 DID 블록체인(400)에 등록한다. The Billchain SSO issuer 312 of the Billchain server 300 registers the Billchain SSO credential definition (including the SSO schema and additional items of the Billchain SSO module) in the Billchain DID blockchain 400 .

빌체인 빌 발급기(322)는 빌체인 빌 크리덴셜 정의(빌 스키마와 빌체인 빌 모듈의 추가 항목 포함)를 빌체인 DID 블록체인(400)에 등록한다.The billchain bill issuer 322 registers the billchain bill credential definition (including the bill schema and additional items of the billchain bill module) in the billchain DID blockchain 400 .

빌체인 캐시 발급기(332)는 빌체인 캐시 크리덴셜 정의(캐시 스키마와 빌체인 캐시 모듈의 추가 항목 포함)를 빌체인 DID 블록체인(400)에 등록한다.The billchain cash issuer 332 registers the billchain cache credential definition (including the cache schema and additional items of the billchain cache module) in the billchain DID blockchain 400 .

빌체인 DID 블록체인(400)은 전세계 산업표준이라고 할 수 있는 하이퍼레저 인디 블록체인을 기반으로, 빌체인 빌링 블록체인(500)이 트러스티(Trustee)가 되어 빌체인 DID 블록체인을 스튜어드(Steward)로 임명하며, 빌체인 DID 블록체인(400)은 스튜어드로서 빌체인 SSO 모듈(310), 빌체인 빌 모듈(320), 빌체인 캐시 모듈(330) 및 빌체인 서비스에 가입한 콘텐츠 제공자 들의 콘텐츠 제공 서버(200)들을 트러스트 앵커(Trust Anchor)로 지정하여 크리덴셜을 발급하거나 검증할 수 있는 발급기/검증기 기능을 부여한다. 빌체인 서비스 제공자는 빌체인 DID 블록체인(400)에 스키마를 등록하며, 트러스트 앵커들은 공개 DID, 공개키, 비밀키를 생성 후 트러스트 앵커들의 서버 지갑에는 크리덴셜 서명을 위한 비밀키를 저장하고 빌체인 DID 블록체인(400)에는 DID 문서(공개키, 서비스 접근 주소 포함)를 등록하고, 크리덴셜 발급에 이용할 크리덴셜 정의를 만들기 위해 스키마를 빌체인 DID 블록체인(400)에서 조회하여 필요한 항목을 추가하여 크리덴셜 정의를 만든 후 빌체인 DID 블록체인(400)에 등록한다. 발급기 들은 발급기의 비밀키로 해당 크리덴셜을 서명한 후 사용자에게 발급하고, 검증기 들은 발급기의 DID 문서(공개키, 서비스 접근 주소 포함)를 빌체인 DID 블록체인(400)에서 획득하여 사용자가 제출한 해당 크리덴셜을 발급기의 DID 문서의 공개키로 서명 검증한다.BillChain DID Blockchain 400 is based on Hyperledger Indy Blockchain, which can be said to be the global industry standard, Billchain Billing Blockchain 500 becomes Trustee and Steward the Billchain DID Blockchain Billchain DID blockchain 400 is a steward, providing content from billchain SSO module 310, billchain bill module 320, billchain cash module 330, and content providers subscribed to billchain service By designating the servers 200 as trust anchors, an issuer/verifier function capable of issuing or verifying credentials is given. The BillChain service provider registers the schema in the BillChain DID blockchain 400, and the trust anchors generate public DID, public key, and private key. In order to register DID documents (including public key and service access address) in the chain DID blockchain 400, and to create a credential definition to be used for issuing credentials, the schema is searched in the Billchain DID blockchain 400 to find the necessary items. After creating a credential definition by adding it, it is registered in the Billchain DID blockchain 400. Issuers sign the credential with the issuer's private key and issue it to the user, and the verifiers obtain the issuer's DID document (including public key and service access address) from the Billchain DID blockchain 400 and submit the corresponding credential submitted by the user. The credential is signed and verified with the public key of the issuer's DID document.

빌체인 DID 블록체인(400)(하이퍼레저 인디)은 DID 트러스티, 스튜어드(분산되어 DID 관련 데이터를 블록체인에 저장/읽기를 수행하고, 트러스트 앵커를 생성할 수 있고 각 트러스트 앵커에 발급기/검증기 역할을 부여함), 트러스트 앵커 노드로 구성된다. 빌체인 발급기는 사용자가 빌체인 SSO 크리덴셜, 빌체인 빌 크리덴셜, 빌체인 캐시 크리덴셜을 빌체인 검증기에 제출 시 서명검증에 필요한 빌체인 발급기의 DID 문서를 빌체인 DID 블록체인(400)에 저장한다.Billchain DID blockchain 400 (Hyperledger Indy) is a DID trustee, steward (decentralized to store/read DID-related data in the blockchain, create trust anchors, and act as issuer/verifier for each trust anchor) ), and consists of trust anchor nodes. When the user submits the BillChain SSO credential, BillChain Bill Credential, and BillChain Cash credential to the BillChain Validator, the BillChain Issuer sends the BillChain Issuer's DID document required for signature verification to the BillChain DID blockchain 400. Save.

한편, 사용자 가입시 사용자 빌체인 DID 지갑 어플리케이션(120)에서 빌체인 사용자 공개 DID, 공개키, 비밀키를 생성하며 빌체인 DID 블록체인(400)에 빌체인 사용자 DID 문서(공개키, 서비스 접근 주소 포함)를 등록한다. 빌체인 사용자 DID 문서에는 DID 지갑 어플리케이션(120)으로 스마트폰 푸시를 위한 URL이 포함될 수 있다.On the other hand, upon user registration, the user Billchain DID wallet application 120 generates the Billchain user public DID, public key, and private key, and the Billchain user DID document (public key, service access address included) is generated in the Billchain DID blockchain 400. ) is registered. The Billchain user DID document may include a URL for pushing the smartphone to the DID wallet application 120 .

그리고 빌체인 발급기는 영지식 증명 기반 크리덴셜을 발급하고 빌체인 검증기에서 검증이 가능하며, 발급된 크리덴셜의 안전한 폐기(Revocation)를 할 수 있다.In addition, the BillChain issuer issues zero-knowledge proof-based credentials, can be verified by the BillChain verifier, and can safely revocation the issued credentials.

도 3에 도시된 바와 같이, 빌체인 빌링 블록체인(500)은 전세계 산업표준이라고 할 수 있는 하이퍼레저 패브릭 블록체인을 기반으로 빌체인 서비스 제공자와 콘텐츠 제공자들의 서버를 이용하여 패브릭 노드를 구성하고, 빌체인 서비스 제공자 노드와 개별 콘텐츠 제공자의 노드를 채널로 묶어 콘텐츠 제공자 채널을 제공함으로써 각 콘텐츠 제공자별 데이터의 신뢰를 제공함과 동시에 콘텐츠 제공자들 간의 데이터가 격리되어 저장됨을 보장한다. As shown in FIG. 3, the Billchain Billing Blockchain 500 is based on the Hyperledger Fabric Blockchain, which can be said to be a global industry standard, and configures a fabric node using the servers of Billchain service providers and content providers, By providing a content provider channel by tying the Billchain service provider node and individual content provider nodes into a channel, it provides trust in data for each content provider and ensures that data between content providers is isolated and stored.

이러한 빌체인 빌링 블록체인(500)은 스마트 컨트랙트를 통해 구매, 캐시 충전, 구매취소, 결제취소, 캐시환불, 콘텐츠 제공자 콘텐츠 판매, 콘텐츠 제공자 정산 기능을 제공하며 관련된 트랜잭션들이 포함된 블록을 빌체인 빌링 블록체인(500) 원장에 분산하여 저장 및 관리한다. The billchain billing block chain 500 provides purchase, cash charging, purchase cancellation, payment cancellation, cash refund, content provider content sales, and content provider settlement functions through smart contracts, and bill chain billing blocks including related transactions It is distributed and stored and managed in the blockchain 500 ledger.

그리고 빌체인 빌링 블록체인(500)은 빌체인 SSO 모듈(310), 빌체인 빌 모듈(320), 빌체인 캐시 모듈(330), 콘텐츠 제공 서버(200)에서 호출하는 빌체인 API 및 스마트 컨트랙트 기능을 구비하고, 빌체인 서비스 제공자(Billchain node)와 해당 콘텐츠 제공자(CP node)만 블록체인 원장의 충전 내역, 콘텐츠 판매 내역, 정산 내역을 공유할 수 있도록 하이퍼레저 패브릭 노드 및 채널을 구성할 수도 있다. And the billchain billing block chain 500 is a billchain API and smart contract function called by the billchain SSO module 310, the billchain bill module 320, the billchain cache module 330, and the content providing server 200 It is also possible to configure Hyperledger Fabric nodes and channels so that only the Billchain service provider (Billchain node) and the corresponding content provider (CP node) can share the charging history of the blockchain ledger, content sales history, and settlement details. .

빌체인 빌링 블록체인(500)은 하이퍼레저 패브릭을 기반으로 빌체인 서비스 제공자와 콘텐츠 제공자에 해당하는 기관(Org), 합의 알고리즘에 따라 트랜잭션을 모아 블록을 생성하는 오더러 노드(Orderer node), 스마트 컨트랙트를 실행하고 원장을 보관하는 피어 노드(Peer node), 원장을 분리하고 접근제어를 제공하는 채널(Channel)을 구성하고, 빌체인 SSO 모듈(310), 빌체인 빌 모듈(320), 빌체인 캐시 모듈(330)에서 호출하는 빌체인 API 및 스마트 컨트랙트를 제공한다. The BillChain Billing Blockchain 500 is based on Hyperledger Fabric, an organization (Org) corresponding to a BillChain service provider and content provider, an orderer node that generates blocks by collecting transactions according to a consensus algorithm, and a smart A peer node that executes the contract and stores the ledger, separates the ledger and configures a channel that provides access control, BillChain SSO module 310, BillChain Bill module 320, BillChain It provides a billchain API and a smart contract called by the cache module 330 .

상기 빌체인 SSO 모듈(310)은 상기 사용자 단말(100)로부터 사용자 가입시 생성되어 상기 사용자 단말(100)의 빌체인 지갑 어플리케이션(120)에 저장된 암호화 키로 암호화된 사용자 정보의 등록 요청을 수신하면, 상기 암호화된 사용자 정보를 분산저장소(예, IPFS(InterPlanetary File System))에 저장하며, 스마트 컨트랙트를 이용해 빌체인 빌링 블록체인(500)에 사용자의 공개 DID 및 분산저장소의 주소를 매핑하여 저장할 수 있다. 이와 같은 방법으로 사용자 가입 정보, 사용자 로그인 내역, 콘텐츠 제공자 콘텐츠 접근 내역, 사용자 콘텐츠 제공자 캐시 잔액, 충전 내역, 사용자 콘텐츠 제공자 콘텐츠 구매 내역과 같은 개인정보를 보호하며, 필요시 빌체인 서비스 제공자나 콘텐츠 제공자는 개인 허락 하에 상기 개인정보를 제공받아 개인 맞춤형 콘텐츠 추천 등에 활용할 수 있다.The Billchain SSO module 310 receives a registration request for user information generated at the time of user registration from the user terminal 100 and encrypted with an encryption key stored in the Billchain wallet application 120 of the user terminal 100, the The encrypted user information is stored in a distributed storage (eg, InterPlanetary File System (IPFS)), and the public DID of the user and the address of the distributed storage can be mapped and stored in the BillChain billing blockchain 500 using a smart contract. In this way, personal information such as user subscription information, user login history, content provider content access history, user content provider cache balance, recharge history, and user content provider content purchase history is protected, and if necessary, the billchain service provider or content provider can receive the above personal information with personal permission and use it for personalized content recommendation.

본 발명의 일 실시예에 따르면, 콘텐츠 제공자들에게 다양한 과금방식(건당, 정액제) 및 투명한 정산을 제공하고, 사용자들에게는 자기주권형 사용자 인증 및 캐시 충전을 제공하고, 사용자의 프라이버시를 보호할 수 있는 효과가 있다. According to an embodiment of the present invention, various billing methods (per case, flat rate) and transparent settlement are provided to content providers, self-sovereign user authentication and cache charging are provided to users, and user privacy can be protected. there is an effect

이러한 본 발명의 일 실시예에 따르면, 콘텐츠 제공자들이 사용자 개인정보 및 프라이버시를 보호하면서 사용자 가입 및 인증, 성인인증, 제휴 DID 연동 등을 수행할 수 있고, 콘텐츠 제공자 콘텐츠의 다양한 과금 방식(건당, 정액제)를 제공하며 사용자가 해당 콘텐츠 요청 시 사용자의 인증연동, 잔액 차감, 캐시연동을 처리할 수 있으며, 사용자를 대상으로 캐시충전, 결제 대행사 연동, 결제취소, 구매취소, 캐시환불을 제공하고 콘텐츠 제공자를 대상으로 정산을 제공할 수 있는 효과가 있다. According to this embodiment of the present invention, content providers can perform user subscription and authentication, adult authentication, affiliate DID linkage, etc. while protecting user personal information and privacy, and various billing methods (per case, flat rate) for content provider content ), and when the user requests the corresponding content, the user's authentication linkage, balance deduction, and cash linkage can be processed. There is an effect that can provide settlement for the target.

이를 통해 본 발명의 일 실시예에 따르면, 콘텐츠 제공자의 사용자 가입 및 과금 처리 비용이 감소되고, 콘텐츠 제공자들에게 다양한 과금 방식을 제공함으로써 매출 증대 기여할 수 있고, 콘텐츠 제공자들이 인증 및 과금 시스템을 별도로 구축하지 않아도 되는 효과가 있다. Through this, according to an embodiment of the present invention, user subscription and billing processing costs of content providers are reduced, and by providing various billing methods to content providers, it can contribute to increase sales, and content providers build a separate authentication and billing system It has the effect of not having to do it.

그리고, 블록체인을 통해 인증, 충전, 과금, 결제 취소, 구매 취소, 환불, 정산 등을 사용자, 콘텐츠 제공자 들과 공유함으로써 콘텐츠 서비스의 투명성과 신뢰성을 제고할 수 있는 효과가 있다. And, by sharing authentication, charging, billing, payment cancellation, purchase cancellation, refund, settlement, etc. with users and content providers through blockchain, it has the effect of enhancing the transparency and reliability of content services.

또한, 본 발명의 일 실시예에 따르면, 퍼블릭 블록체인만을 이용하는 경우 자체 결제 수단(코인)을 제공할 수 있으나 콘텐츠 제공자들에게 다양한 과금 방식 및 고객응대(결제 취소, 구매 취소 및 현금 환불)를 제공할 수 없고, 프라이빗/컨소시엄 블록체인만을 이용하는 경우 자체 결제수단이 없어서 콘텐츠 제공자들이 자체적으로 다양한 결제수단들과 연동하여 다양한 과금 방식을 적용할 수 있으나 이 또한 고객응대(결제취소, 구매취소 및 현금환불)가 어려운데 반해, 본 발명의 일 실시예의 경우 결제취소, 구매취소 및 현금환불과 같은 고객응대를 가능하게 하는 효과가 있다. In addition, according to an embodiment of the present invention, if only a public block chain is used, its own payment method (coin) can be provided, but various billing methods and customer response (payment cancellation, purchase cancellation and cash refund) are provided to content providers. In case of using only private/consortium block chain, there is no own payment method, so content providers can apply various billing methods by linking with various payment methods on their own. ) is difficult, but in the case of an embodiment of the present invention, there is an effect of enabling customer response such as payment cancellation, purchase cancellation and cash refund.

도 4는 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 빌체인 서버 등록 방법을 설명하기 위한 신호 흐름도다. 4 is a signal flow diagram for explaining a billchain server registration method in a blockchain-based prepaid content billing service system according to an embodiment of the present invention.

<빌체인 서버(300)의 등록> <Registration of Billchain Server 300>

빌체인 빌링 블록체인(500)이 트러스티가 되어 빌체인 DID 블록체인(400)을 스튜어드로 임명하며, 빌체인 DID 블록체인(400)은 스튜어드로서 빌체인 SSO 모듈(310), 빌체인 빌 모듈(320), 빌체인 캐시 모듈(330) 및 빌체인 서비스에 가입한 콘텐츠 제공자 들의 콘텐츠 제공 서버(200)들을 트러스트 앵커로 지정하여 크리덴셜을 발급하거나 검증할 수 있는 발급기/검증기 기능을 부여한다.Billchain billing blockchain 500 becomes a trustee and appoints Billchain DID blockchain 400 as a steward, and Billchain DID blockchain 400 serves as a steward, Billchain SSO module 310, Billchain Bill module ( 320), the billchain cache module 330, and the content providing servers 200 of content providers subscribed to the billchain service are designated as trust anchors to give an issuer/verifier function that can issue or verify credentials.

빌체인 DID 블록체인(400)은 스튜어드로서 트러스트 앵커가 크리덴셜 정의에 이용할 스키마를 등록한다.Billchain DID blockchain 400 registers the schema to be used for credential definition by trust anchors as stewards.

트러스트 앵커의 빌체인 발급기들은 공개 DID, 공개키, 비밀키를 생성 후 빌체인 발급기의 서버 지갑에는 크리덴셜 서명을 위한 비밀키를 저장하고 빌체인 DID 블록체인(400)에 DID 문서(공개키, 서비스 접근 주소 포함)를 등록하고, 스키마를 빌체인 DID 블록체인(400)에서 조회하여 필요한 항목을 추가한 후 크리덴셜 발급에 이용할 크리덴셜 정의를 빌체인 DID 블록체인(400)에 등록한다. The BillChain issuers of Trust Anchor generate public DID, public key, and private key, then store the private key for credential signing in the server wallet of the Billchain issuer, and store the DID document (public key, service access address), search the schema in the Billchain DID blockchain 400, add the necessary items, and then register the credential definition to be used for credential issuance in the Billchain DID blockchain 400.

빌체인 서버(300)의 발급기는 발급기의 비밀키로 해당 크리덴셜을 서명한 후 사용자에게 발급하고, 콘텐츠 제공 서버(200)의 검증기는 발급기의 DID 문서(공개키, 서비스 접근 주소 포함)를 빌체인 DID 블록체인(400)에서 획득하여 발급기의 DID 문서의 공개키로 사용자가 제출한 해당 크리덴셜의 서명을 검증한다. The issuer of the billchain server 300 signs the corresponding credential with the issuer's private key and issues it to the user, and the verifier of the content providing server 200 sends the issuer's DID document (including public key and service access address) to the billchain Obtained from the DID block chain 400 and verify the signature of the credential submitted by the user with the public key of the DID document of the issuer.

콘텐츠 제공 서버(200)를 운영하는 콘텐츠 제공자가 빌체인 서비스 이용을 신청하면, 빌체인 서비스 제공자는 콘텐츠 제공자의 이용 신청을 승인한 후 콘텐츠 제공자의 정보를 빌체인 서버(300)에 저장한다. 이때 콘텐츠 제공자의 빌체인 서비스 이용 수수료는 빌체인 빌링 블록체인(500)에 저장하여 이후 콘텐츠 제공자에 대한 정산에 적용된다.When the content provider who operates the content providing server 200 applies for use of the billchain service, the billchain service provider approves the content provider's application for use and then stores the information of the content provider in the billchain server 300 . At this time, the billchain service usage fee of the content provider is stored in the billchain billing block chain 500 and then applied to the settlement of the content provider.

이후, 콘텐츠 제공 서버(200)의 빌체인 검증기(210)는 해당 콘텐츠 제공자의 공개 DID, 공개키, 비밀키를 생성하여 콘텐츠 제공자 DID 문서(공개키, 서비스 접근 주소 포함)를 빌체인 DID 블록체인(400)에 등록하고 빌체인 검증기(210)의 서버 지갑에는 비밀키를 저장한다. Thereafter, the billchain verifier 210 of the content providing server 200 generates the public DID, public key, and private key of the corresponding content provider and records the content provider DID document (including public key and service access address) on the billchain DID block chain. Register at 400 and store the secret key in the server wallet of the billchain verifier 210 .

즉, 빌체인 서비스 제공자는 콘텐츠 제공자가 빌체인 서비스 이용을 신청할 경우, 콘텐츠 제공자가 정상적인 사업자인지를 확인(예, 사업자등록증 확인)한 후 이용을 승인한다. 빌체인 서비스 이용 수수료는 빌체인 서비스 제공자와 콘텐츠 제공자 사이에 빌체인 서비스 이용에 따른 협의에 의해 이루어지는 것이 바람직하다. In other words, when the content provider applies for the use of the Billchain service, the Billchain service provider confirms that the content provider is a normal business operator (eg, confirms the business registration certificate) and then approves the use. It is desirable that the billchain service usage fee be negotiated between the billchain service provider and the content provider according to the billchain service use.

도 5는 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 SSO 스키마 및 빌체인 SSO 크리덴셜 정의의 예를 설명하기 위한 도면이다. 5 is a diagram for explaining an example of an SSO schema and billchain SSO credential definition in a blockchain-based prepaid content charging service system according to an embodiment of the present invention.

도 5에 도시된 바와 같이, SSO 스키마에는 사용자 ID(이메일), 이름, 생년월일, 성별, 전화번호, 주소, 결제정보(신용카드, 계좌번호 등 결제를 위한 정보 중 적어도 하나), 빌체인 사용자 DID 정보가 포함되고, 빌체인 SSO 정의에는 발급기 정보, SSO 스키마, 서명 타입, 태그 및 revocation 정보가 포함될 수 있다. As shown in Figure 5, the SSO schema includes user ID (e-mail), name, date of birth, gender, phone number, address, payment information (at least one of information for payment such as credit card and account number), billchain user DID Information is included, and the Billchain SSO definition may include issuer information, SSO schema, signature type, tag, and revocation information.

도 6은 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 빌 스키마 및 빌체인 빌 크리덴셜 정의의 예를 설명하기 위한 도면이다. 6 is a diagram for explaining an example of a bill schema and bill chain bill credential definition in a blockchain-based prepaid content billing service system according to an embodiment of the present invention.

도 6에 도시된 바와 같이, 빌 스키마에는 사용자 ID(이메일), 콘텐츠 제공자 ID, 콘텐츠 ID, 과금 방식(건당, 정액제), 정액제 기간, 과금액 및 잔액, 빌체인 사용자 DID 정보, 과금 ID가 포함되고, 빌체인 빌 정의에는 발급기 정보, 빌 스키마, 서명 타입, 태그 및 폐기(revocation) 정보가 포함될 수 있다. As shown in Figure 6, the bill schema includes user ID (e-mail), content provider ID, content ID, billing method (per case, flat rate), subscription period, billing amount and balance, billchain user DID information, billing ID The bill chain bill definition may include issuer information, bill schema, signature type, tag, and revocation information.

도 7은 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 캐시 스키마 및 빌체인 캐시 크리덴셜 정의의 예를 설명하기 위한 도면이다. 7 is a diagram for explaining an example of a cache schema and billchain cache credential definition in a blockchain-based prepaid content billing service system according to an embodiment of the present invention.

도 7에 도시된 바와 같이, 캐시 스키마에는 사용자 ID(이메일), 콘텐츠 제공자 ID, 결제 대행사 ID, 충전 방식(신용카드, 계좌이체, 휴대폰, 코인), 충전액, 잔액, 빌체인 사용자 DID 정보, 결제 ID가 포함되고, 빌체인 캐시 정의에는 발급기 정보, 캐시 스키마, 서명 타입, 태그 및 폐기 정보가 포함될 수 있다. As shown in Figure 7, the cache schema includes user ID (e-mail), content provider ID, payment agency ID, charging method (credit card, account transfer, mobile phone, coin), recharge amount, balance, billchain user DID information, Payment ID is included, and billchain cache definition may include issuer information, cache schema, signature type, tag, and revocation information.

도 8은 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 사용자의 신규 가입 방법을 설명하기 위한 신호 흐름도다. 8 is a signal flow diagram for explaining a user's new subscription method in a blockchain-based prepaid content billing service system according to an embodiment of the present invention.

<신규 가입><New Subscription>

사용자 단말(100)은 콘텐츠 서비스 제공을 위한 어플리케이션을 통해 콘텐츠 제공 서버(200)에 접속하여 사용자 등록 및 로그인을 수행한다. The user terminal 100 accesses the content providing server 200 through an application for providing a content service and performs user registration and login.

이때, 사용자 단말(100)에는 도 9에 도시된 바와 같이, 사용자가 제휴 DID를 통해 가입할 것인지 자체 실명인증을 통해 신규 가입을 할 것인지 선택할 수 있는 팝업 창이 제공될 수 있다. At this time, as shown in FIG. 9 , the user terminal 100 may be provided with a pop-up window through which the user can select whether to subscribe through an affiliate DID or a new subscription through self-real name authentication.

만약, 사용자가 제휴 DID를 통한 신규 가입을 하고자 하는 경우, 이전에 제휴 DID 사업자로부터 발급받은 제휴 DID와 크리덴셜을 관리하는 제휴 DID 지갑 어플리케이션(110)을 통해 제휴 DID와 크리덴셜을 빌체인 서버(300)에 제공하고, 사용자 가입이 완료된 후에는 빌체인 DID 지갑 어플리케이션(120)을 실행시켜 공개 DID, 공개키, 비밀키를 생성하여 빌체인 사용자 DID 문서(공개키, 서비스 접근 주소 포함)를 빌체인 DID 블록체인(400)에 등록하고 비밀키는 빌체인 DID 지갑 어플리케이션(120)에 저장한다. 빌체인 DID 지갑 어플리케이션(120)은 빌체인 SSO 크리덴셜 발급을 빌체인 서버(300)에 요청하고, 빌체인 서버(300)로부터 빌체인 SSO 크리덴셜을 발급받아 관리한다. If the user wants to sign up for a new subscription through the affiliate DID, the affiliate DID and credentials are transferred to the billchain server ( 300), and after user registration is completed, run the Billchain DID wallet application 120 to generate public DID, public key, and private key to build the Billchain user DID document (including public key and service access address). It is registered in the chain DID block chain 400 and the secret key is stored in the bill chain DID wallet application 120 . The billchain DID wallet application 120 requests the billchain server 300 to issue the billchain SSO credentials, and receives and manages the billchain SSO credentials from the billchain server 300 .

이때, 콘텐츠 제공 서버(200)는 콘텐츠 서비스 어플리케이션이 설치된 사용자 단말(100)이 웹 사이트에 접속하면, 접속한 상기 사용자 단말(100)에 로그인 창을 제공하며 사용자가 신규 가입을 하고자 하는 경우 빌체인 SSO 모듈(310)에 요청하여 콘텐츠 서비스 가입을 위한 서비스 가입 창을 제공한다. 여기서, 서비스 가입 창은 제휴 DID 사업자를 통한 가입 과 자체 실명인증을 통한 신규 가입을 선택할 수 있는 것이 바람직하다. At this time, the content providing server 200 provides a login window to the accessed user terminal 100 when the user terminal 100 in which the content service application is installed accesses the website, and when the user wants to sign up for a new subscription, Billchain A service subscription window for content service subscription is provided by making a request to the SSO module 310 . Here, in the service subscription window, it is preferable to select a subscription through an affiliated DID operator and a new subscription through self-real name authentication.

그리고, 빌체인 SSO 모듈(310)은 사용자가 사용자 단말(100)을 통해 제휴 DID를 통한 가입을 선택하면, 빌체인 SSO 모듈(310)의 제휴 DID 검증기(311)가 제휴 DID의 크리덴셜을 사용자 단말(100)에 요청하고, 사용자 단말(100)이 관리중인 제휴 DID의 크리덴셜을 제공받으면 사용자 단말(100)로부터 제공된 제휴 DID의 크리덴셜의 공개키를 제휴 DID 사업자에게 요청하고, 제휴 DID 사업자로부터 제휴 DID의 크리덴셜에 대한 공개키 응답을 받으면 제휴 DID의 크리덴셜의 서명을 검증한다. And, when the user selects to join through the affiliate DID through the user terminal 100 in the Billchain SSO module 310, the affiliate DID verifier 311 of the Billchain SSO module 310 returns the affiliate DID credentials to the user. When a request is made to the terminal 100 and the user terminal 100 receives the credential of the affiliated DID managed by the user terminal 100, the public key of the credential of the affiliated DID provided from the user terminal 100 is requested from the affiliated DID operator, and the affiliated DID operator Upon receiving the public key response for the credential of the affiliate DID, the signature of the credential of the affiliate DID is verified.

이후, 빌체인 SSO 모듈(310)이 검증된 제휴 DID의 크리덴셜로부터 사용자 정보(이름, 전화번호, 생년월일, 성별, 국적, 만료일)를 획득한 후 사용자 단말(100)에 사용자의 추가 정보를 요청하고, 사용자 단말(100)로부터 사용자의 추가정보(이메일, 주소)를 입력 받아 저장한다. After that, the billchain SSO module 310 obtains user information (name, phone number, date of birth, gender, nationality, expiration date) from the verified credential of the affiliate DID, and then requests additional information of the user from the user terminal 100 and receives and stores additional information (e-mail, address) of the user from the user terminal 100 .

만약, 사용자가 사용자 단말(100)을 통해 자체 실명인증을 통한 신규 가입을 선택하면, 빌체인 SSO 모듈(310)은 사용자 단말(100)에 사용자 정보(이름, 전화번호, 생년월일, 성별, 국적, 이메일, 주소)를 요청하여 입력 받고, 이메일 인증 및 통신사 실명인증(영지식증명에서 성인 여부 확인 시 필요)을 이용하여 사용자를 확인 후 가입 처리한다. If the user selects a new subscription through self-real name authentication through the user terminal 100, the Billchain SSO module 310 displays the user information (name, phone number, date of birth, gender, nationality, E-mail and address) are requested and input, and the user is verified and signed up using e-mail authentication and telecommunication company real-name authentication (required when checking whether an adult is an adult in zero-knowledge authentication).

이와 같이, 사용자 가입이 완료되면, 빌체인 서버(300)의 빌체인 SSO 모듈(310)은 가입 성공 및 빌체인 DID 지갑 어플리케이션(120) 설치를 사용자 단말(100)에 안내한 후 빌체인 서버(300)의 빌체인 SSO 발급기(312)가 빌체인 SSO 크리덴셜을 발급하여 사용자 단말(100)에 제공함으로써 사용자 가입을 완료한다. As such, when the user registration is completed, the Billchain SSO module 310 of the Billchain server 300 informs the user terminal 100 of the successful registration and the Billchain DID wallet application 120 installation, and then the Billchain server ( 300), the billchain SSO issuer 312 issues a billchain SSO credential and provides it to the user terminal 100 to complete the user subscription.

도 10은 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 사용자의 로그인 방법을 설명하기 위한 신호 흐름도다. 10 is a signal flow diagram for explaining a user login method in a blockchain-based prepaid content billing service system according to an embodiment of the present invention.

<로그인><Login>

사용자 단말(100)이 콘텐츠 제공 서버(200)에 접속하면, 콘텐츠 제공 서버(200)가 도 11에 도시된 바와 같이, 웹 사이트 로그인 QR 코드를 사용자 단말(100)에 제공한다. When the user terminal 100 accesses the content providing server 200 , the content providing server 200 provides a web site login QR code to the user terminal 100 as shown in FIG. 11 .

그러면, 사용자 단말(100)은 기 설치된 빌체인 DID 지갑 어플리케이션(120)을 통해 제공되는 콘텐츠 제공 서버(200)에 로그인을 요청한다. 본 실시예에서는 스마트폰의 QR 코드 스캔을 통해 콘텐츠 제공 서버(200)의 공개 DID를 획득하고, 획득한 콘텐츠 제공 서버(200)의 DID 문서를 빌체인 DID 블록체인(400)에 요청한 후 빌체인 DID 블록체인(400)으로부터 콘텐츠 제공 서버(200)의 DID 문서에 대한 응답을 받는다. Then, the user terminal 100 requests a login to the content providing server 200 provided through the pre-installed billchain DID wallet application 120 . In this embodiment, the public DID of the content providing server 200 is obtained by scanning the QR code of the smartphone, and the DID document of the obtained content providing server 200 is requested to the Billchain DID block chain 400, and then the Billchain A response to the DID document of the content providing server 200 is received from the DID blockchain 400 .

이후, 사용자 단말(100)은 콘텐츠 제공 서버(200)의 DID 문서에서 획득한 서비스 접근주소(URI)를 이용하여 빌체인 사용자 DID를 콘텐츠 제공 서버(200)의 빌체인 검증기(210)에 제공한다. Thereafter, the user terminal 100 provides the billchain user DID to the billchain verifier 210 of the content providing server 200 by using the service access address (URI) obtained from the DID document of the content providing server 200 . .

그러면, 콘텐츠 제공 서버(200)는 빌체인 검증기(210)를 통해 빌체인 사용자 DID 문서를 빌체인 DID 블록체인(400)에 요청한 후 빌체인 DID 블록체인(400)으로부터 빌체인 사용자 DID 문서에 대한 응답을 받은 후 빌체인 SSO 크리덴셜을 빌체인 서버(300)의 빌체인 SSO 모듈(310)에 요청한다. 빌체인 SSO 모듈(310)은 빌체인 사용자 DID 문서에서 획득한 서비스 접근주소로 스마트폰 푸시를 보내 사용자 단말의 빌체인 DID 지갑 어플리케이션(120)에 빌체인 SSO 크리덴셜을 요청한다.Then, the content providing server 200 requests the billchain user DID document to the billchain DID blockchain 400 through the billchain verifier 210, and then receives the billchain user DID document from the billchain DID blockchain 400. After receiving the response, the billchain SSO credential is requested from the billchain SSO module 310 of the billchain server 300 . The Billchain SSO module 310 sends a smartphone push to the service access address obtained from the Billchain user DID document to request the Billchain SSO credentials to the Billchain DID wallet application 120 of the user terminal.

이후, 사용자 단말(100)은 본인 확인을 수행한 후 관리 중인 빌체인 SSO 크리덴셜을 콘텐츠 제공 서버(200)에 제공한다. 이때, 사용자 단말(100)은 단말 핀번호, 패턴, 생체(지문, 안면, 홍채) 인증을 통해 사용자 본인 확인을 수행할 수 있다. Thereafter, the user terminal 100 provides the managed billchain SSO credential to the content providing server 200 after performing identity verification. In this case, the user terminal 100 may perform user identification through terminal pin number, pattern, and biometric (fingerprint, face, iris) authentication.

이어서, 콘텐츠 제공 서버(200)는 빌체인 검증기(210)를 통해 빌체인 사용자 DID 문서(공개키, 서비스 접근 주소 포함), 빌체인 SSO DID 문서(공개키, 서비스 접근 주소 포함)를 빌체인 DID 블록체인(400)에 요청한 후 빌체인 DID 블록체인(400)으로부터 응답되는 빌체인 사용자 DID 문서에서 사용자의 공개키를 획득하고 빌체인 SSO DID 문서에서 빌체인 SSO 발급기(312)의 공개키를 획득하여 빌체인 SSO 크리덴셜의 서명을 검증함으로써, 빌체인 SSO 크리덴셜이 빌체인 SSO 발급기(312)에서 빌체인 SSO 발급기(312)의 비밀키로 서명되고 사용자의 빌체인 DID 지갑 어플리케이션(120)에서 사용자의 비밀키로 서명되었음을 확인한다. 만약, 사용자의 성인 여부 검사 시에는 영지식 증명를 통해 수행할 수도 있다. Subsequently, the content providing server 200 transmits the Billchain user DID document (including public key and service access address) and Billchain SSO DID document (including public key and service access address) through the Billchain verifier 210, After making a request to the block chain 400, obtain the public key of the user from the Billchain user DID document that is answered from the Billchain DID blockchain 400, and obtain the public key of the Billchain SSO issuer 312 from the Billchain SSO DID document By verifying the signature of the Billchain SSO credential, the Billchain SSO credential is signed with the private key of the Billchain SSO issuer 312 in the Billchain SSO issuer 312 and the user in the Billchain DID wallet application 120 of the user. Confirm that it is signed with the private key of If the user's adult status is checked, it may be performed through zero-knowledge proof.

이와 같이, 사용자의 빌체인 SSO 크리덴셜이 검증되면, 콘텐츠 제공 서버(200)는 빌체인 검증기(210)를 통해 사용자의 로그인 내역(Access log)를 빌체인 빌링 블록체인(500)에 저장하고, 사용자 단말(100)에 콘텐츠 제공 서버(200)의 웹 사이트의 로그인을 승인한다. As such, when the user's billchain SSO credential is verified, the content providing server 200 stores the user's login history (Access log) through the billchain verifier 210 in the billchain billing block chain 500, The user terminal 100 approves the login of the web site of the content providing server 200 .

도 12는 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 콘텐츠 제공자 전용 캐시 충전 방법을 설명하기 위한 신호 흐름도다. 12 is a signal flow diagram illustrating a method for charging a content provider-only cache in a blockchain-based prepaid content billing service system according to an embodiment of the present invention.

<콘텐츠 서비스를 위한 콘텐츠 제공 서버(200)의 캐시 충전><Cache charging of content providing server 200 for content service>

사용자가 사용자 단말(100)을 통해 콘텐츠 제공 서버(200)에 충전 요청 시, 콘텐츠 제공 서버는 사용자가 로그인 되지 않았거나 가입되어 있지 않으면, 상기 가입 및 로그인 과정을 먼저 수행한다. When a user requests charging to the content providing server 200 through the user terminal 100, the content providing server performs the above registration and login process first if the user is not logged in or is not subscribed.

이후, 콘텐츠 제공 서버(200)는 빌체인 서버(300)의 빌체인 캐시 모듈(330)에 충전을 요청한 사용자의 빌체인 사용자 DID로 충전을 요청한다. Thereafter, the content providing server 200 requests charging with the billchain user DID of the user who requested the charge to the billchain cache module 330 of the billchain server 300 .

그러면, 빌체인 서버(300)의 빌체인 캐시 모듈(330)은 도 13에 도시된 바와 같이, 해당 콘텐츠 제공 서버(200)용 캐시 충전 창을 사용자 단말(100)에 제공한다. 여기서, 캐시 충전 창에는 도 13에 도시된 바와 같이, 결제 대행사에 접속할 수 있도록, 콘텐츠 제공자 명, 사용자 ID 정보, 해당 콘텐츠 제공 서버의 캐시 잔액 정보, 충전하고자 하는 금액과 콘텐츠 제공 서버에서 요청한 결제수단 정보가 포함되어 있다. 결제수단은 신용카드, 계좌이체, 휴대폰, 코인 등이 이용될 수 있다. 만약, 사용자가 코인을 선택하면, 코인 결제 대행사에 연동된다. Then, as shown in FIG. 13 , the billchain cache module 330 of the billchain server 300 provides a cache charging window for the corresponding content providing server 200 to the user terminal 100 . Here, in the cache charging window, as shown in FIG. 13 , the name of the content provider, user ID information, cache balance information of the corresponding content providing server, the amount to be charged and the payment method requested by the content providing server so as to access the payment agency information is included. As the payment method, a credit card, account transfer, mobile phone, coin, etc. may be used. If the user selects a coin, it is linked to a coin payment agency.

이후, 사용자는 사용자 단말(100)에 나타난 결제수단 중 하나를 선택하여 결제를 수행한다. Thereafter, the user selects one of the payment methods displayed on the user terminal 100 and performs payment.

이때, 결제 결과는 결제 대행사가 직접 빌체인 서버(300)의 빌체인 캐시 모듈(330)에 제공한다. At this time, the payment result is provided to the billchain cache module 330 of the billchain server 300 directly by the payment agency.

그러면, 빌체인 캐시 모듈(330)은 그 결제 결과를 사용자 단말(100)에 제공하고, 빌체인 빌링 블록체인(500)에 해당 사용자의 콘텐츠 제공자 캐시 잔액을 업데이트하고, 캐시 충전 내역을 저장한다. Then, the billchain cache module 330 provides the payment result to the user terminal 100, updates the user's content provider cache balance in the billchain billing block chain 500, and stores the cache charge history.

이렇게 저장된 잔액 정보는 다시 빌체인 서버(300)의 빌체인 캐시 모듈(330)에 제공되고, 충전 결과를 콘텐츠 제공 서버(200)에 전달하여 사용자에게 충전 결과를 확인하게 하고, 사용자 단말(100)에는 스마트폰 푸시 기능을 이용하여 빌체인 캐시 크리덴셜 발급 요청을 지시한다. The stored balance information is provided to the billchain cache module 330 of the billchain server 300 again, and the charging result is transferred to the content providing server 200 so that the user can check the charging result, and the user terminal 100 uses the smartphone push function to instruct the BillChain Cash Credential issuance request.

그러면, 사용자 단말(100)은 빌체인 DID 지갑 어플리케이션(120)을 통해 빌체인 캐시 크리덴셜 발급을 빌체인 캐시 발급기(332)에 요청하고, 빌체인 캐시 발급기(332)는 캐시 충전 및 잔액 정보가 포함된 빌체인 캐시 크리덴셜을 발급하여 사용자 단말(100)의 빌체인 DID 지갑 어플리케이션(120)에 전달함으로써, 콘텐츠 제공자 캐시의 충전을 완료한다. Then, the user terminal 100 requests the BillChain Cash Issuer 332 to issue the BillChain Cash Credentials through the BillChain DID Wallet Application 120, and the BillChain Cash Issuer 332 receives the cash charge and balance information. By issuing the included Billchain Cash Credentials and delivering them to the Billchain DID wallet application 120 of the user terminal 100, the content provider cache is filled.

도 14는 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 신규 과금 방법을 설명하기 위한 신호 흐름도다. 14 is a signal flow diagram illustrating a new charging method in a blockchain-based prepaid content charging service system according to an embodiment of the present invention.

<콘텐츠 구매 - 신규 과금><Content Purchase - New Billing>

사용자가 콘텐츠 제공 서버(200)에 접속된 사용자 단말(100)을 통해 콘텐츠를 구매하기 위해서는, 사용자가 사용자 단말(100)을 통해 콘텐츠 제공 서버(200)에 콘텐츠 구매를 요청한다. 만약, 콘텐츠 제공 서버는 사용자가 로그인 되지 않았거나 가입되어 있지 않으면, 상기의 가입 및 로그인 과정을 먼저 수행하며, 성인용 콘텐츠의 경우 영지식 증명을 통해 성인 인증을 수행한다. In order for the user to purchase content through the user terminal 100 connected to the content providing server 200 , the user requests the content providing server 200 to purchase the content through the user terminal 100 . If the user is not logged in or is not subscribed, the content providing server performs the above registration and login process first, and in the case of adult content, adult authentication is performed through zero-knowledge proof.

사용자의 인증이 완료되면, 콘텐츠 제공 서버(200)는 사용자 인증 시 획득한 빌체인 사용자 DID를 이용하여 빌체인 검증기(210)를 통해 사용자가 구매 요청한 콘텐츠에 해당하는 빌체인 빌 크리덴셜을 빌체인 서버(300)의 빌체인 빌 발급기(322)에 요청한다. When the user's authentication is completed, the content providing server 200 uses the billchain user DID obtained during user authentication to generate the billchain bill credential corresponding to the content requested by the user to purchase the billchain through the billchain verifier 210. A request is made to the bill chain bill issuer 322 of the server 300 .

그러면, 빌체인 빌 발급기(322)는 빌체인 사용자 DID를 이용하여 빌체인 DID 블록체인(400)에서 빌체인 사용자 DID 문서를 획득하여 그 안의 서비스 접근 주소를 이용하여 스마트폰 푸시 방식을 통해 빌체인 빌 크리덴셜을 사용자 단말(100)의 빌체인 DID 지갑 어플리케이션(120)에 요청한다. Then, the bill chain bill issuer 322 acquires the bill chain user DID document from the bill chain DID block chain 400 using the bill chain user DID, and uses the service access address therein to use the bill chain The bill credential is requested to the bill chain DID wallet application 120 of the user terminal 100 .

신규 과금의 경우에는 빌체인 DID 지갑 어플리케이션(120) 내에 빌체인 빌 크리덴셜이 없기 때문에, 사용자 단말(100)은 빌체인 서버(300)의 빌체인 빌 모듈(320)에 과금을 요청한다. In the case of new billing, since there is no billchain bill credential in the billchain DID wallet application 120 , the user terminal 100 requests billing to the billchain bill module 320 of the billchain server 300 .

그러면, 빌체인 빌 모듈(320)은 도 15에 도시된 바와 같이, 과금을 요청한 사용자 단말(100)에 상기 콘텐츠 제공 서버용 과금 창을 팝업과 같은 방법으로 띄워 과금 선택 정보를 요청한다. Then, as shown in FIG. 15 , the bill chain bill module 320 opens the billing window for the content providing server to the user terminal 100 that has requested billing in the same way as a pop-up to request billing selection information.

그러면, 사용자 단말(100)은 사용자의 선택에 따른 과금 선택 정보(예, 건당 1000 CP 캐시, 일정액제 10000원 CP 캐시 … )를 빌체인 서버(300)의 빌체인 빌 모듈(320)에 전달한다. Then, the user terminal 100 transmits the billing selection information according to the user's selection (eg, 1000 CP cache per case, 10000 won CP cache for a fixed amount ...) to the billchain bill module 320 of the billchain server 300. .

이에, 빌체인 빌 모듈(320)은 사용자 단말(100)로부터 상기 콘텐츠 제공 서버용 과금 창을 통해 전달받은 과금 선택 정보에 따라, 잔액 차감을 빌체인 빌링 블록체인(500)에 전달한다. Accordingly, the billchain bill module 320 transmits the balance deduction to the billchain billing block chain 500 according to the billing selection information received from the user terminal 100 through the billing window for the content providing server.

만약, 선택된 콘텐츠의 과금 액 보다 사용자의 잔액이 부족하면, 상기 캐시 충전과정을 수행한다. If the user's balance is less than the billing amount of the selected content, the cache charging process is performed.

이와 같이, 콘텐츠 구매 과정이 수행되면, 빌체인 빌 모듈(320)은 빌체인 빌링 블록체인(500)에 사용자의 캐시 잔액을 업데이트하고, 사용자의 캐시 차감 내역을 저장한다. In this way, when the content purchase process is performed, the billchain bill module 320 updates the user's cash balance in the billchain billing block chain 500, and stores the user's cash deduction details.

이후, 빌체인 빌링 블록체인(500)은 잔액 차감 결과를 빌체인 서버(300)의 빌체인 빌 모듈(320)에 전달한다. Thereafter, the billchain billing blockchain 500 transmits the balance deduction result to the billchain bill module 320 of the billchain server 300 .

그러면, 빌체인 빌 발급기(322)는 빌체인 빌 모듈(320)의 요청에 따라 사용자 단말의 빌체인 DID 지갑 어플리케이션(120)에 빌체인 빌 크리덴셜을 발급한다.Then, the bill chain bill issuer 322 issues the bill chain bill credentials to the bill chain DID wallet application 120 of the user terminal according to the request of the bill chain bill module 320 .

이에, 사용자 단말(100)의 빌체인 DID 지갑 어플리케이션(120)는 빌체인 빌 크리덴셜을 콘텐츠 제공 서버(200)의 빌체인 검증기(210)에 전달한다. Accordingly, the billchain DID wallet application 120 of the user terminal 100 transmits the billchain bill credential to the billchain verifier 210 of the content providing server 200 .

그러면, 콘텐츠 제공 서버(200)는 빌체인 검증기(210)를 통해 빌체인 사용자 DID 문서(공개키, 서비스 접근 주소 포함), 빌체인 빌 DID 문서(공개키, 서비스 접근 주소 포함)를 빌체인 DID 블록체인(400)에 요청한 후 빌체인 DID 블록체인(400)으로부터 응답되는 빌체인 사용자 DID 문서에서 사용자의 공개키를 획득하고 빌체인 빌 DID 문서에서 빌체인 빌 발급기(322)의 공개키를 획득하여 빌체인 빌 크리덴셜의 서명을 검증함으로써, 빌체인 빌 크리덴셜이 빌체인 빌 발급기(322)에서 빌체인 빌 발급기(322)의 비밀키로 서명되고 사용자의 빌체인 DID 지갑 어플리케이션(120)에서 사용자의 비밀키로 서명되었음을 확인한다.Then, the content providing server 200 transmits the BillChain user DID document (including public key and service access address) and BillChain Bill DID document (including public key and service access address) through the BillChain verifier 210. After making a request to the block chain 400, obtain the public key of the user from the bill chain user DID document that is answered from the bill chain DID block chain 400, and obtain the public key of the bill chain bill issuer 322 from the bill chain bill DID document By verifying the signature of the BillChain Bill Credential, the BillChain Bill Credential is signed with the private key of the BillChain Bill Issuer 322 in the BillChain Bill Issuer 322 and the user in the BillChain DID Wallet Application 120 of the User Confirm that it is signed with the private key of

이렇게 빌체인 빌 크리덴셜의 서명이 검증되면, 콘텐츠 제공 서버(200)는 빌체인 검증기(210)를 통해 빌체인 빌링 블록체인(500)에 사용자의 콘텐츠 접근 내역(Access log)을 저장하고, 콘텐츠를 사용자 단말(100)에 제공한다. When the signature of the bill chain bill credential is verified in this way, the content providing server 200 stores the user's content access log in the bill chain billing block chain 500 through the bill chain verifier 210, and the content is provided to the user terminal 100 .

한편, 콘텐츠 제공 서버(200)는 건당 과금의 경우, 콘텐츠 제공 서버(200)에서 정상적으로 콘텐츠가 제공된 경우 콘텐츠의 지속적인 이용을 막기 위해 빌체인 검증기(210)를 통해 빌체인 DID 블록체인(400)에 빌체인 빌 크리덴셜 취소(revocation) 요청을 수행한다. On the other hand, in the case of billing per case, the content providing server 200 uses the billchain DID block chain 400 through the billchain verifier 210 to prevent continuous use of the content when the content is normally provided by the content providing server 200. Executes a bill-chain bill credential revocation request.

그러면 빌체인 DID 블록체인(400)은 빌체인 빌 크리덴셜을 취소한다. Then, the BillChain DID blockchain 400 revokes the BillChain Bill Credential.

도 16은 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 기 과금 처리 방법을 설명하기 위한 신호 흐름도다. 16 is a signal flow diagram illustrating a method for processing a billing in a block chain-based prepaid content billing service system according to an embodiment of the present invention.

<콘텐츠의 기 과금 처리 방법><How to handle billing for content>

사용자가 콘텐츠 제공 서버(200)에 접속된 사용자 단말(100)을 통해 콘텐츠를 콘텐츠 제공 서버(200)에 요청한다. 만약, 콘텐츠 제공 서버(200)는 사용자가 로그인 되지 않았거나 가입되어 있지 않으면, 상기의 가입 및 로그인 과정을 먼저 수행하며, 성인용 콘텐츠의 경우 영지식 증명을 통해 성인 인증을 수행한다. A user requests content from the content providing server 200 through the user terminal 100 connected to the content providing server 200 . If the user is not logged in or is not subscribed, the content providing server 200 performs the above registration and login process first, and in the case of adult content, performs adult authentication through zero-knowledge proof.

사용자의 인증이 완료되면, 콘텐츠 제공 서버(200)는 사용자 인증 시 획득한 빌체인 사용자 DID를 이용하여 빌체인 검증기(210)를 통해 사용자가 구매 요청한 콘텐츠에 해당하는 빌체인 빌 크리덴셜을 빌체인 서버(300)의 빌체인 빌 발급기(322)에 요청한다. When the user's authentication is completed, the content providing server 200 uses the billchain user DID obtained during user authentication to generate the billchain bill credential corresponding to the content requested by the user to purchase the billchain through the billchain verifier 210. A request is made to the bill chain bill issuer 322 of the server 300 .

그러면, 빌체인 빌 발급기(322)는 빌체인 사용자 DID를 이용하여 빌체인 DID 블록체인(400)에서 빌체인 사용자 DID 문서를 획득하여 그 안의 서비스 접근 주소를 이용하여 스마트폰 푸시 방식을 통해 빌체인 빌 크리덴셜을 사용자 단말(100)의 빌체인 DID 지갑 어플리케이션(120)에 요청한다. Then, the bill chain bill issuer 322 acquires the bill chain user DID document from the bill chain DID block chain 400 using the bill chain user DID, and uses the service access address therein to use the bill chain The bill credential is requested to the bill chain DID wallet application 120 of the user terminal 100 .

이에, 사용자 단말(100)은 빌체인 DID 지갑 어플리케이션(120)을 통해 빌체인 빌 크리덴셜을 콘텐츠 제공 서버(200)의 빌체인 검증기(210)에 전달한다. Accordingly, the user terminal 100 transmits the billchain bill credential to the billchain verifier 210 of the content providing server 200 through the billchain DID wallet application 120 .

그러면 콘텐츠 제공 서버(200)는 빌체인 검증기(210)를 통해 빌체인 사용자 DID 문서(공개키, 서비스 접근 주소 포함), 빌체인 빌 DID 문서(공개키, 서비스 접근 주소 포함)를 빌체인 DID 블록체인(400)에 요청한 후 빌체인 DID 블록체인(400)으로부터 응답되는 빌체인 사용자 DID 문서에서 사용자의 공개키를 획득하고 빌체인 빌 DID 문서에서 빌체인 빌 발급기(322)의 공개키를 획득하여 빌체인 빌 크리덴셜의 서명을 검증함으로써, 빌체인 빌 크리덴셜이 빌체인 빌 발급기(322)에서 빌체인 빌 발급기(322)의 비밀키로 서명되고 사용자의 빌체인 DID 지갑 어플리케이션(120)에서 사용자의 비밀키로 서명되었음을 확인한다.Then, the content providing server 200 transmits the Billchain user DID document (including public key and service access address) and Billchain Bill DID document (including public key and service access address) through the Billchain verifier 210 to the Billchain DID block. After making a request to the chain 400, obtain the public key of the user from the billchain user DID document that is answered from the billchain DID block chain 400, and obtain the public key of the billchain bill issuer 322 from the billchain bill DID document. By verifying the signature of the BillChain Bill Credential, the BillChain Bill Credential is signed with the private key of the BillChain Bill Issuer 322 in the BillChain Bill Issuer 322 and Confirm that it is signed with the private key.

또한, 콘텐츠 제공 서버(200)는 빌체인 검증기(210)를 통해 전달된 빌체인 빌 크리덴셜의 항목 유효성을 검사한다. 일 예로 정액제의 기간에 대한 유효성을 검사할 수 있다. In addition, the content providing server 200 checks the item validity of the bill chain bill credential transmitted through the bill chain verifier 210 . As an example, the validity of the period of the flat rate may be checked.

이렇게 전달된 빌체인 빌 크리덴셜의 서명과 항목 유효성이 검증되면, 콘텐츠 제공 서버(200)는 콘텐츠를 사용자 단말(100)에 제공한다. When the signature and item validity of the bill-chain bill credential transmitted in this way are verified, the content providing server 200 provides the content to the user terminal 100 .

만약, 전달된 빌체인 빌 크리덴셜의 서명과 항목 유효성이 검증되지 않거나 오류가 발생하면, 콘텐츠 제공 서버(200)는 빌체인 검증기(210)를 통해 전달된 빌체인 빌 크리덴셜에 대하여 빌체인 DID 블록체인(400)에 취소를 요청하고, 유효성 검사 오류 메시지(예, 정액제 기간이 만료되었습니다.)를 사용자 단말(100)에 전달한다. If the signature and item validity of the delivered billchain bill credential are not verified or an error occurs, the content providing server 200 provides the billchain DID for the billchain bill credential delivered through the billchain verifier 210 A cancellation is requested to the blockchain 400 , and a validation error message (eg, the subscription period has expired) is transmitted to the user terminal 100 .

한편, 빌체인 DID 블록체인(400)은 취소 요청된 빌체인 빌 크리덴셜을 취소한다. On the other hand, the billchain DID blockchain 400 cancels the billchain bill credential requested to be canceled.

도 17은 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 구매 취소 방법을 설명하기 위한 신호 흐름도다. 17 is a signal flow diagram for explaining a purchase cancellation method in a blockchain-based prepaid content billing service system according to an embodiment of the present invention.

<콘텐츠 구매 취소><Cancel content purchase>

사용자가 사용자 단말(100)을 통해 구매한 콘텐츠의 구매 취소를 콘텐츠 제공 서버(200)에 요청한다. The user requests the content providing server 200 to cancel the purchase of the content purchased through the user terminal 100 .

만약, 사용자가 콘텐츠 제공 서버(200)에 로그인 되어 있지 않은 상태이면, 콘텐츠 제공 서버(200)는 로그인 과정을 통해 사용자 단말(100)로부터 빌체인 사용자 DID를 획득하여 확인하고, 빌체인 사용자 DID로 콘텐츠를 구매한 내역에 대한 구매 취소 승인을 빌체인 서버(300)의 빌체인 빌 모듈(320)에 알린다. If the user is not logged in to the content providing server 200, the content providing server 200 obtains and verifies the Billchain user DID from the user terminal 100 through the login process, and uses the Billchain user DID. Notifies the bill chain bill module 320 of the bill chain server 300 of the purchase cancellation approval for the content purchase history.

그러면, 빌체인 빌 발급기(322)는 빌체인 빌 모듈(320)의 요청에 따라 스마트폰 푸시 방식을 통해 사용자 단말(100)의 빌체인 DID 지갑 어플리케이션(120)에 사용자가 구매 취소한 콘텐츠의 빌체인 빌 크리덴셜을 요청한 후 사용자 단말(100)의 빌체인 DID 지갑 어플리케이션(120)으로부터 빌체인 빌 크리덴셜을 제공받는다. Then, the bill chain bill issuer 322 sends the bill of the content canceled by the user to the bill chain DID wallet application 120 of the user terminal 100 through the smartphone push method according to the request of the bill chain bill module 320. After requesting the chain bill credential, the bill chain bill credential is provided from the bill chain DID wallet application 120 of the user terminal 100 .

이후, 빌체인 빌 발급기(322)는 빌체인 사용자 DID 문서(공개키, 서비스 접근 주소 포함), 빌체인 빌 DID 문서(공개키, 서비스 접근 주소 포함)를 빌체인 DID 블록체인(400)에 요청한 후 빌체인 DID 블록체인(400)으로부터 응답되는 빌체인 사용자 DID 문서에서 사용자의 공개키를 획득하고 빌체인 빌 DID 문서에서 빌체인 빌 모듈(320)의 공개키를 획득하여 빌체인 빌 크리덴셜의 서명을 검증함으로써, 빌체인 빌 크리덴셜이 빌체인 빌 발급기(322)에서 빌체인 빌 발급기(322)의 비밀키로 서명되고 사용자의 빌체인 DID 지갑 어플리케이션(120)에서 사용자의 비밀키로 서명되었음을 확인하고, 빌체인 빌 크리덴셜 취소를 빌체인 DID 블록체인(400)에 요청한다. After that, the BillChain bill issuer 322 requests the BillChain user DID document (including the public key and service access address) and the BillChain Bill DID document (including the public key and the service access address) to the Billchain DID blockchain 400. After obtaining the public key of the user from the billchain user DID document responded from the billchain DID block chain 400, and the public key of the billchain bill module 320 from the billchain bill DID document, By verifying the signature, it is confirmed that the billchain bill credential is signed with the private key of the billchain bill issuer 322 in the billchain bill issuer 322 and signed with the user's private key in the user's billchain DID wallet application 120, , request the BillChain DID blockchain 400 to cancel the BillChain Bill Credentials.

그러면, 빌체인 DID 블록체인(400)은 빌체인 빌 크리덴셜을 취소하고, 그 취소 결과를 빌체인 빌 발급기(322)에 전달한다. 이로써 사용자가 해당 콘텐츠를 구매한 내역은 취소되고 빌체인 빌 크리덴셜은 무효화되어 콘텐츠 제공 서버(200)의 해당 콘텐츠를 더 이상 이용할 수 없게 된다.Then, the billchain DID blockchain 400 revokes the billchain bill credential, and transmits the cancellation result to the billchain bill issuer 322 . As a result, the user's purchase of the corresponding content is canceled and the bill chain bill credential is invalidated, so that the corresponding content of the content providing server 200 can no longer be used.

이후, 빌체인 빌 모듈(320)은 콘텐츠 제공 서버(200)에서 승인한 구매 취소 금액만큼 빌체인 빌링 블록체인(500)에 사용자의 콘텐츠 제공자 캐시 잔액 충전을 요청한다. 건당 과금의 콘텐츠는 구매 취소가 불가능하나 정액제 과금 콘텐츠의 경우 이용일수 만큼 금액을 제하고 나머지 금액을 빌체인 빌링 블록체인(500)의 사용자의 콘텐츠 제공자 캐시 잔액에 다시 충전해 줄 수 있다. Thereafter, the billchain bill module 320 requests the billchain billing blockchain 500 to charge the user's content provider cache balance by the amount of purchase cancellation approved by the content providing server 200 . It is impossible to cancel the purchase of content charged per case, but in the case of flat-rate billing content, the amount can be deducted by the number of days of use, and the remaining amount can be charged back to the user's content provider cache balance of the billchain billing block chain 500 .

그러면, 빌체인 빌링 블록체인(500)은 사용자의 콘텐츠 제공자 캐시 잔액을 업데이트 하고, 일반 결제가 아닌 구매 취소에 의한 캐시 충전으로 사용자의 콘텐츠 제공자 캐시 충전 내역을 저장한 후 그 잔액 충전 결과를 빌체인 빌 모듈(320)에 전달한다. Then, the billchain billing block chain 500 updates the user's content provider cache balance, stores the user's content provider cache charge history as a cash charge by canceling a purchase rather than a general payment, and then returns the balance charge result to the billchain It passes to the bill module 320 .

이어서, 빌체인 빌 모듈(320)은 빌체인 캐시 모듈(330)에 요청하여 빌체인 캐시 발급기(332)가 빌체인 캐시 크리덴셜을 발급하도록 한다. 이는 앞서 도 12에서 결제 대행사의 결제를 통한 캐시 충전과는 다른 형태로 고개센터에서 사용자가 구매한 콘텐츠에 대한 구매 취소를 요청받은 경우, 구매 취소를 처리한 후 구매 금액에서 콘텐츠를 이용한 금액을 차감한 후 나머지 금액을 충전해 주는 것으로 고객의 실수나 변심을 처리하기 위한 방법이라 할 수 있다.Next, the billchain bill module 320 makes a request to the billchain cache module 330 so that the billchain cash issuer 332 issues the billchain cash credentials. This is different from the cash recharge through the payment of the payment agency in FIG. 12. When the customer center receives a request to cancel the purchase of the content purchased by the user, the purchase cancellation is processed and the amount used for the content is deducted from the purchase price. It is a way to deal with the customer's mistake or change of mind by charging the remaining amount after doing so.

빌체인 캐시 크리덴셜 발급을 요청에 따라, 빌체인 캐시 발급기(332)는 빌체인 캐시 크리덴셜을 발급하여 사용자 단말(100)의 빌체인 DID 지갑 어플리케이션(120)에 전달한다. In response to the request for issuing the BillChain Cash Credential, the BillChain Cash Issuer 332 issues the BillChain Cash Credential and delivers it to the BillChain DID Wallet Application 120 of the user terminal 100 .

그리고, 빌체인 캐시 모듈(330)은 구매 취소 결과를 사용자 단말(100)에 전달하여 사용자에게 표시한다. Then, the billchain cash module 330 transmits the purchase cancellation result to the user terminal 100 and displays it to the user.

도 18은 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 결제 취소 방법을 설명하기 위한 신호 흐름도다. 18 is a signal flow diagram for explaining a payment cancellation method in a blockchain-based prepaid content billing service system according to an embodiment of the present invention.

<결제 취소> <Payment Cancellation>

사용자가 사용자 단말(100)을 통해 콘텐츠 제공자 캐시를 충전하기 위해 결제 대행사를 통해 결제했던 내역에 대한 결제 취소를 콘텐츠 제공 서버(200)에 요청한다. 이때, 사용자가 콘텐츠 제공 서버(200)에 로그인 되어 있지 않은 상태이면, 콘텐츠 제공 서버(200)는 로그인 과정을 수행하여 사용자 단말(100)로부터 빌체인 사용자 DID를 획득하고, 빌체인 사용자 DID로 결제한 내역에 대한 결제 취소 승인을 빌체인 서버(300)의 빌체인 캐시 모듈(330)에 알린다. In order to charge the content provider cache through the user terminal 100 , the user requests the content providing server 200 to cancel the payment for the payment through the payment agency. At this time, if the user is not logged in to the content providing server 200, the content providing server 200 performs a login process to obtain a billchain user DID from the user terminal 100, and pay with the billchain user DID Notifies the billchain cache module 330 of the billchain server 300 of approval of payment cancellation for one detail.

빌체인 캐시 발급기(332)는 빌체인 캐시 모듈(330)의 요청에 따라 스마트폰 푸시를 이용하여 사용자 단말(100)의 빌체인 DID 지갑 어플리케이션(120)에 빌체인 캐시 크리덴셜을 요청한 후 사용자 단말(100)의 빌체인 DID 지갑 어플리케이션(120)으로 부터 빌체인 캐시 크리덴셜을 전달받는다. The billchain cash issuer 332 requests the billchain cash credentials to the billchain DID wallet application 120 of the user terminal 100 by using a smartphone push according to the request of the billchain cash module 330, and then the user terminal Billchain Cash Credentials are received from the Billchain DID wallet application 120 of (100).

이어서, 빌체인 캐시 발급기(332)는 빌체인 사용자 DID 문서(공개키, 서비스 접근 주소 포함), 빌체인 캐시 DID 문서(공개키, 서비스 접근 주소 포함)를 빌체인 DID 블록체인(400)에 요청한 후 빌체인 DID 블록체인(400)으로부터 응답되는 빌체인 사용자 DID 문서에서 사용자의 공개키를 획득하고 빌체인 캐시 DID 문서에서 빌체인 캐시 발급기(332)의 공개키를 획득하여 빌체인 캐시 크리덴셜의 서명을 검증함으로써, 빌체인 캐시 크리덴셜이 빌체인 캐시 발급기(332)에서 빌체인 캐시 발급기(332)의 비밀키로 서명되고 사용자의 빌체인 DID 지갑 어플리케이션(120)에서 사용자의 비밀키로 서명되었음을 확인한다.Subsequently, the BillChain Cash Issuer 332 requests the BillChain user DID document (including public key and service access address) and BillChain Cash DID document (including public key and service access address) to the Billchain DID blockchain 400. After that, the public key of the user is obtained from the Billchain user DID document responded from the Billchain DID block chain 400, and the public key of the Billchain Cash issuer 332 is obtained from the Billchain Cash DID document. By verifying the signature, it is confirmed that the billchain cash credential is signed with the private key of the billchain cash issuer 332 at the billchain cash issuer 332 and signed with the user's private key at the user's billchain DID wallet application 120 .

이렇게 빌체인 캐시 크리덴셜의 서명이 검증되면, 빌체인 캐시 모듈(330)은 빌체인 빌링 블록체인(500)에 잔액 차감을 요청한다. 사용자의 콘텐츠 제공자 캐시 잔액이 결제 취소 금액보다 적은 경우 이미 사용자가 해당 결제로 충전된 캐시를 사용한 상태이므로 사용자 단말(100)에 콘텐츠 제공자 캐시 잔액 부족으로 결제 취소 불가 통지를 하고 절차를 종료한다. When the signature of the billchain cash credential is verified in this way, the billchain cash module 330 requests the billchain billing block chain 500 to deduct the balance. If the user's content provider cache balance is less than the payment cancellation amount, since the user has already used the cache charged with the corresponding payment, the user terminal 100 notifies the user terminal 100 that payment cannot be canceled due to insufficient content provider cache balance, and the procedure ends.

사용자의 콘텐츠 제공자 캐시 잔액이 결제 취소 금액 이상인 경우 빌체인 빌링 블록체인(500)은 사용자의 콘텐츠 제공자 캐시 잔액을 업데이트하고, 사용자의 콘텐츠 제공자 캐시 차감 내역을 저장한 후 빌체인 캐시 모듈(330)에 잔액 차감 결과를 전달한다.If the user's content provider cache balance is equal to or greater than the payment cancellation amount, the billchain billing blockchain 500 updates the user's content provider cache balance, stores the user's content provider cache deduction, and then in the billchain cache module 330 Deliver the balance deduction result.

이렇게 사용자의 콘텐츠 제공자 캐시 잔액이 정상적으로 차감된 경우 빌체인 캐시 발급기(332)는 빌체인 DID 블록체인(400)에 빌체인 캐시 크리덴셜의 취소를 요청한다. When the user's content provider cache balance is normally deducted in this way, the billchain cash issuer 332 requests the billchain DID blockchain 400 to cancel the billchain cache credentials.

그러면, 빌체인 DID 블록체인(400)은 빌체인 캐시 크리덴셜을 취소한 후 빌체인 캐시 크리덴셜 취소 결과를 빌체인 캐시 발급기(332)에 전달한다. Then, the BillChain DID blockchain 400 revokes the BillChain Cash Credential and then transmits the BillChain Cash Credential Revocation result to the BillChain Cash Issuer 332 .

이어서, 빌체인 캐시 모듈(330)은 상기 결제 대행사에 결제 취소를 요청한 후 결제 대행사로부터 결제 취소 결과를 전달받은 후 그 결제 취소 결과를 사용자 단말(100)에 전달한다.Next, the billchain cash module 330 transmits the payment cancellation result to the user terminal 100 after receiving a payment cancellation result from the payment agency after requesting payment cancellation to the payment agency.

이는 고개센터에서 사용자로부터 결제 내역에 대한 결제 취소를 요청받은 경우, 콘텐츠 제공자 캐시 잔액이 결제 취소 금액 이상 남은 경우 결제 취소 금액만큼 캐시를 차감하고, 결제 대행사를 통해 고객의 결제 내역을 취소하는 것으로 고객의 결제 실수를 처리하기 위한 방법이라 할 수 있다.This means that when the customer center receives a request to cancel the payment for the payment history, if the content provider cache balance is more than the payment cancellation amount, the cache is deducted as much as the payment cancellation amount, and the customer's payment history is canceled through the payment agency. It can be said to be a method to handle payment mistakes of

도 19는 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 콘텐츠 제공자 캐시 환불 방법을 설명하기 위한 신호 흐름도다. 19 is a signal flow diagram illustrating a content provider cache refund method in a blockchain-based prepaid content billing service system according to an embodiment of the present invention.

<콘텐츠 제공자 캐시 환불><Content Provider Cash Refund>

사용자가 사용자 단말(100)을 통해 콘텐츠 제공자 캐시 환불을 콘텐츠 제공 서버(200)에 요청한다. 이때, 사용자가 콘텐츠 제공 서버(200)에 로그인 되어 있지 않은 상태이면, 콘텐츠 제공 서버(200)는 로그인 과정을 수행하여 사용자 단말(100)로부터 빌체인 사용자 DID를 획득하고, 빌체인 사용자 DID로 충전한 사용자의 콘텐츠 제공자 캐시 잔액에 대한 환불 승인을 빌체인 캐시 모듈(330)에 알린다. The user requests the content provider cache refund to the content providing server 200 through the user terminal 100 . At this time, if the user is not logged in to the content providing server 200, the content providing server 200 performs a login process to obtain a billchain user DID from the user terminal 100, and charge the billchain user DID. Notifies billchain cache module 330 of approval of refund for one user's content provider cache balance.

이에, 빌체인 서버(300)의 빌체인 캐시 모듈(330)은 빌체인 빌링 블록체인(500)에게 사용자의 콘텐츠 제공자 캐시에 대해 전체 잔액 차감을 요청한다.Accordingly, the billchain cache module 330 of the billchain server 300 requests the billchain billing blockchain 500 to deduct the entire balance for the user's content provider cache.

그러면, 빌체인 빌링 블록체인(500)은 사용자의 콘텐츠 제공자 캐시 잔액을 업데이트하고, 사용자의 콘텐츠 제공자 캐시 차감 내역을 저장한 후 빌체인 캐시 모듈(330)에 잔액 차감 결과를 전달한다. Then, the billchain billing blockchain 500 updates the user's content provider cache balance, stores the user's content provider cache deduction details, and then delivers the balance deduction result to the billchain cache module 330 .

이후, 빌체인 캐시 발급기(332)는 빌체인 캐시 모듈(330)의 요청에 따라 빌체인 DID 블록체인(400)에게 상기 사용자 단말이 상기 콘텐츠 제공자 캐시 충전 시 발급한 빌체인 캐시 크리덴셜에 대한 전체 취소를 요청한다. After that, the billchain cash issuer 332 sends the billchain DID blockchain 400 to the billchain DID block chain 400 according to the request of the billchain cache module 330. Request cancellation.

그러면, 빌체인 DID 블록체인(400)은 요청된 빌체인 캐시 크리덴셜을 취소(revocation)한 후 빌체인 캐시 크리덴셜 전체 취소 결과를 빌체인 캐시 발급기(332)에 전달한다. Then, the BillChain DID blockchain 400 revokes the requested BillChain Cash Credentials and then transmits the BillChain Cash Credentials total revocation result to the BillChain Cash Issuer 332 .

이에, 빌체인 캐시 모듈(330)은 사용자의 계좌로 환불 금액을 입금한다. Accordingly, the billchain cash module 330 deposits the refund amount into the user's account.

도 20은 본 발명의 일 실시예에 따른 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템에서의 정산 처리 방법을 설명하기 위한 신호 흐름도다. 20 is a signal flow diagram for explaining a settlement processing method in a blockchain-based prepaid content billing service system according to an embodiment of the present invention.

<정산 처리><Settlement processing>

결제 대행사는 사용자가 결제한 금액을 수납하여 빌체인 서비스 제공자의 계좌로 입금하고 빌체인 캐시 모듈(330)에게 입금 내역을 전달한다. The payment agency receives the amount paid by the user, deposits it into the account of the billchain service provider, and delivers the deposit details to the billchain cash module 330 .

그러면, 빌체인 서버(300)의 빌체인 캐시 모듈(330)은 빌체인 서비스 제공자와 콘텐츠 제공자 간 기 체결된 수수료를 계산한 정산 내역을 빌체인 빌링 블록체인(500)에 업데이트하고, 콘텐츠 제공 서버(200)를 운영하는 콘텐츠 제공자 계좌에 정산 금액을 입금한다. Then, the billchain cache module 330 of the billchain server 300 updates the billchain billing block chain 500 with the settlement details calculated by the pre-contracted fee between the billchain service provider and the content provider, and the content providing server (200) Deposit the settlement amount to the account of the content provider operating.

상기 콘텐츠 제공자는 빌체인 서비스 제공자와 콘텐츠 제공자 간 정산 내역을 빌체인 빌링 블록체인에서 확인한다.The content provider checks the settlement details between the billchain service provider and the content provider in the billchain billing blockchain.

한편, 도 21에 도시된 바와 같이, 사용자는 사용자 단말(100)의 빌체인 DID 지갑 어플리케이션(120)을 통해 가입 신원증명 정보를 확인하기 위한 빌체인 SSO 크리덴셜, 충전 신원증명 정보를 확인하기 위한 빌체인 캐시 크리덴셜 및 과금 신원증명 정보를 확인하기 위한 빌체인 빌 크리덴셜을 통해 빌체인 서버(300)에서 사용자에게 발급된 크리덴셜들을 확인할 수 있다. On the other hand, as shown in FIG. 21 , the user uses the Billchain DID wallet application 120 of the user terminal 100 to check the billchain SSO credential for checking the subscription identification information, and the charge identification information for checking the It is possible to check the credentials issued to the user by the billchain server 300 through the billchain bill credential for verifying the billchain cash credential and billing identification information.

빌체인 SSO 크리덴셜은 콘텐츠 제공자와 상관없이 사용자에게 한번 발급되며 빌체인 DID 지갑 어플리케이션(120)에 저장되어 빌체인 서비스를 이용하는 콘텐츠 제공자들에게 단일인증(SSO, Single Sign On)을 제공한다. 콘텐츠 제공자들은 자기만의 캐시를 운영할 수 있으며 사용자들은 콘텐츠 제공자 별로 캐시 충전을 위해 결제대행사를 통해 결제를 할 때마다 해당 결제 건에 대해 빌체인 캐시 크리덴셜이 발급된다. 따라서 사용자는 콘텐츠 제공자 별로 캐시를 충전하게 되며 빌체인 DID 지갑 어플리케이션(120)을 통해 콘텐츠 제공자별 캐시 잔액 및 결제 내역을 확인할 수 있다. 콘텐츠 제공자에서 제공하는 콘텐츠를 구매할 때 마다 상기 콘텐츠에 해당하는 빌체인 빌 크리덴셜을 발급받음으로써 빌체인 DID 지갑 어플리케이션(120)을 통해 콘텐츠 제공자별 콘텐츠 구매 내역을 확인할 수 있다.Billchain SSO credential is issued once to the user regardless of the content provider and is stored in the Billchain DID wallet application 120 to provide single sign-on (SSO) to content providers using the Billchain service. Content providers can operate their own caches, and whenever users make a payment through a payment agency to recharge their cache for each content provider, BillChain Cash Credentials are issued for the corresponding payment. Accordingly, the user charges the cache for each content provider and can check the cache balance and payment details for each content provider through the Billchain DID wallet application 120 . Whenever content provided by a content provider is purchased, the billchain bill credential corresponding to the content is issued, so that the content purchase history for each content provider can be checked through the billchain DID wallet application 120 .

이상, 본 발명의 구성에 대하여 첨부 도면을 참조하여 상세히 설명하였으나, 이는 예시에 불과한 것으로서, 본 발명이 속하는 기술분야에 통상의 지식을 가진 자라면 본 발명의 기술적 사상의 범위 내에서 다양한 변형과 변경이 가능함은 물론이다. 따라서 본 발명의 보호 범위는 전술한 실시예에 국한되어서는 아니되며 이하의 특허청구범위의 기재에 의하여 정해져야 할 것이다. Above, the configuration of the present invention has been described in detail with reference to the accompanying drawings, but this is only an example, and those skilled in the art to which the present invention pertains can make various modifications and changes within the scope of the technical spirit of the present invention. Of course, this is possible. Therefore, the protection scope of the present invention should not be limited to the above-described embodiments and should be defined by the description of the following claims.

Claims (19)

선불형 콘텐츠 서비스 제공 방법에 있어서,
빌체인 서버가 콘텐츠 제공 서버에서 선불형 콘텐츠 서비스를 제공받고자 하는 사용자의 가입 요청을 수신하고 가입처리 하는 단계 ; 및
상기 빌체인 서버가 상기 가입한 사용자의 빌체인 사용자 DID가 포함된 블록체인용 빌체인 SSO 크리덴셜을 사용자 단말에 발급하는 단계를 포함하는 블록체인 기반 선불형 콘텐츠 과금 서비스 방법.
In the method of providing a prepaid content service,
Billchain server receiving a subscription request from a user who wants to be provided with a prepaid content service from the content providing server and processing the subscription; and
and issuing, by the billchain server, the billchain SSO credential for the block chain including the billchain user DID of the subscribed user to the user terminal.
제 1항에 있어서,
사용자 단말이 콘텐츠 제공 서버에 로그인 시,
사용자 단말과 콘텐츠 제공 서버가 빌체인 DID 블록체인을 통해 각각 인증하는 단계;
상기 빌체인 서버가 상기 콘텐츠 제공 서버로부터 빌체인 SSO 크리덴셜 요청을 받으면 빌체인 SSO 크리덴셜이 상기 콘텐츠 제공 서버에 전달되도록 상기 사용자 단말에 빌체인 SSO 크리덴셜을 요청하는 단계;
상기 콘텐츠 제공 서버가 상기 사용자 단말로부터 전달받은 빌체인 SSO 크리덴셜의 빌체인 SSO DID 문서(공개키, 서비스 접근 주소 포함)를 빌체인 DID 블록체인에 요청하고 빌체인 SSO DID 문서에서 획득한 공개키를 이용하여 빌체인 SSO 크리덴셜의 서명 검증을 수행하여 로그인을 승인하는 단계; 및
상기 콘텐츠 제공 서버가 로그인 결과를 사용자 단말에 제공하는 단계를 포함하는 블록체인 기반 선불형 콘텐츠 과금 서비스 방법.
The method of claim 1,
When the user terminal logs in to the content providing server,
The user terminal and the content providing server each authenticate through the Billchain DID block chain;
when the billchain server receives a billchain SSO credential request from the content providing server, requesting the billchain SSO credential to the user terminal so that the billchain SSO credential is transmitted to the content providing server;
The content providing server requests the Billchain SSO DID document (including public key and service access address) of the Billchain SSO credential delivered from the user terminal to the Billchain DID blockchain, and the public key obtained from the Billchain SSO DID document Approving the login by performing signature verification of the Billchain SSO credential using and
A block chain-based prepaid content billing service method comprising the step of providing, by the content providing server, a login result to a user terminal.
제 2항에 있어서,
상기 콘텐츠 제공 서버가 사용자의 로그인 내역 정보를 빌체인 빌링 블록체인에 저장하는 단계를 더 포함하는 블록체인 기반 선불형 콘텐츠 과금 서비스 방법.
3. The method of claim 2,
The block chain-based prepaid content billing service method further comprising the step of the content providing server storing the user's login details in the bill chain billing block chain.
제 1항에 있어서,
상기 사용자 단말이 상기 콘텐츠 제공 서버에 로그인 한 후, 상기 콘텐츠 제공 서버에 빌체인 사용자 DID를 함께 전송하며 캐시 충전을 요청하는 단계;
상기 콘텐츠 제공 서버가 캐시 충전을 요청한 사용자의 빌체인 사용자 DID를 이용하여 상기 빌체인 서버에 충전을 요청하는 단계;
상기 빌체인 서버가 상기 콘텐츠 제공 서버용 캐시 충전 창을 사용자 단말에 제공하여 결제 프로세스를 진행한 후 결제 대행사로부터 결제 결과를 제공받는 단계;
상기 빌체인 서버가 사용자의 충전 결과를 빌체인 빌링 블록체인에 저장한 후 캐시 잔액을 제공받는 단계;
상기 빌체인 서버가 충전 결과를 상기 콘텐츠 제공 서버에 전달하는 단계; 및
상기 빌체인 서버가 빌체인 사용자 단말에 빌체인 캐시 크리덴셜을 발급하는 단계를 포함하는 블록체인 기반 선불형 콘텐츠 과금 서비스 방법.
The method of claim 1,
after the user terminal logs in to the content providing server, transmitting a billchain user DID together to the content providing server and requesting a cache charge;
requesting, by the content providing server, to charge the billchain server using the billchain user DID of the user who requested the cache charge;
receiving, by the billchain server, a payment result from a payment agency after performing a payment process by providing a cache charging window for the content providing server to a user terminal;
receiving, by the billchain server, the cash balance after storing the user's charging result in the billchain billing block chain;
transmitting, by the billchain server, a charging result to the content providing server; and
A block chain-based prepaid content billing service method comprising the step of the billchain server issuing a billchain cash credential to a billchain user terminal.
제 1항에 있어서,
상기 사용자 단말이 상기 콘텐츠 제공 서버에 로그인 한 후, 상기 사용자 단말이 상기 콘텐츠 제공 서버에 선불형 콘텐츠를 요청하는 단계;
상기 콘텐츠 제공 서버가 로그인 시 획득한 빌체인 사용자 DID를 통해 상기 빌체인 서버에 빌체인 빌 크리덴셜을 요청하는 단계;
상기 빌체인 서버가 사용자 단말에 보관중인 빌 크리덴셜이 상기 콘텐츠 제공 서버에 전달되도록, 상기 사용자 단말에 해당 선불형 콘텐츠에 해당하는 빌체인 빌 크리덴셜을 요청하는 단계;
상기 사용자 단말은 발급된 빌체인 빌 크리덴셜이 존재하는 경우, 상기 콘텐츠 제공 서버로 발급된 빌체인 빌 크리덴셜을 전달하는 단계;
상기 콘텐츠 제공 서버가 빌체인 DID 블록체인에 빌체인 빌 크리덴셜의 빌체인 빌 DID 문서(공개키, 서비스 접근 주소 포함)를 요청한 후 빌체인 빌 DID 문서에서 획득한 공개키를 이용하여 빌체인 빌 크리덴셜 서명 검증을 수행하는 단계;
상기 콘텐츠 제공 서버가 빌체인 빌 크리덴셜의 항목 유효성을 검사하는 단계; 및
상기 콘텐츠 제공 서버가 사용자의 콘텐츠 접근 내역을 빌체인 빌링 블록체인에 저장하고, 사용자가 선택한 콘텐츠를 사용자 단말에 제공하는 단계를 포함하는 블록체인 기반 선불형 콘텐츠 과금 서비스 방법.
The method of claim 1,
after the user terminal logs in to the content providing server, the user terminal requesting prepaid content from the content providing server;
requesting, by the content providing server, billchain bill credentials from the billchain server through the billchain user DID obtained at login;
requesting the bill-chain bill credential corresponding to the prepaid content from the user terminal so that the bill-chain server stored in the user terminal is transferred to the content providing server;
transmitting, by the user terminal, the issued bill-chain bill credential to the content providing server when the issued bill-chain bill credential exists;
After the content providing server requests the Billchain Bill DID document (including public key and service access address) of Billchain Bill Credential to the Billchain DID blockchain, using the public key obtained from the Billchain Bill DID document, the Billchain Bill performing credential signature verification;
checking, by the content providing server, the item validity of the bill-chain bill credential; and
and storing, by the content providing server, the content access details of the user in the billchain billing block chain, and providing the content selected by the user to the user terminal.
제 5항에 있어서,
발급된 빌체인 빌 크리덴셜이 존재하지 않는 경우, 상기 사용자 단말이 상기 빌체인 서버에 콘텐츠 과금을 요청하는 단계;
상기 빌체인 서버가 상기 콘텐츠 제공 서버용 과금 창을 상기 사용자 단말에 제공하는 단계;
상기 사용자 단말이 사용자가 선택하는 과금 선택 정보를 상기 빌체인 서버에 제공하는 단계;
상기 빌체인 서버가 상기 사용자의 캐시의 잔액 차감을 상기 빌체인 빌링 블록체인에 요청하는 단계;
상기 빌체인 서버가 상기 빌체인 빌링 블록체인으로부터 사용자의 콘텐츠 제공자 캐시의 잔액 차감 결과를 전달받는 단계;
상기 빌체인 서버가 사용자의 콘텐츠 제공자 캐시의 잔액 차감 결과를 기반으로 빌체인 빌 크리덴셜을 상기 사용자 단말에 발급하는 단계;
상기 사용자 단말이 발급된 빌체인 빌 크리덴셜을 상기 콘텐츠 제공 서버에 전달하는 단계;
상기 콘텐츠 제공 서버가 상기 사용자 단말로부터 전달된 빌체인 빌 크리덴셜의 빌체인 빌 DID 문서(공개키, 서비스 접근 주소 포함)를 빌체인 DID 블록체인에 요청한 후 공개키 응답을 통해 빌체인 빌 크리덴셜 서명 검증을 수행하는 단계; 및
상기 콘텐츠 제공 서버가 사용자의 해당 콘텐츠 제공 서버의 콘텐츠 접근 내역을 빌체인 빌링 블록체인에 저장하고, 해당 콘텐츠를 사용자 단말에 제공하는 단계를 포함하는 블록체인 기반 선불형 콘텐츠 과금 서비스 방법.
6. The method of claim 5,
when the issued billchain bill credential does not exist, the user terminal requesting content billing to the billchain server;
providing, by the billchain server, a billing window for the content providing server to the user terminal;
providing, by the user terminal, billing selection information selected by the user to the billchain server;
requesting, by the billchain server, to deduct the balance of the user's cache to the billchain billing block chain;
receiving, by the billchain server, a result of deducting the balance of the user's content provider cache from the billchain billing block chain;
issuing, by the billchain server, a billchain bill credential to the user terminal based on a result of deducting the balance of the user's content provider cache;
transmitting, by the user terminal, the issued bill chain bill credential to the content providing server;
The content providing server requests the Billchain Bill DID document (including public key and service access address) of Billchain Bill Credentials delivered from the user terminal to the Billchain DID blockchain, and then sends the Billchain Bill Credentials through the public key response. performing signature verification; and
A block chain-based prepaid content billing service method comprising the step of, by the content providing server, storing the content access details of the user's corresponding content providing server in the billchain billing block chain, and providing the corresponding content to the user terminal.
제 6항에 있어서,
상기 콘텐츠 제공 서버는,
해당 선불형 콘텐츠가 건당 과금인 경우, 해당 선불형 콘텐츠를 상기 사용자 단말에 제공한 후 빌체인 빌 크리덴셜 취소를 빌체인 DID 블록체인에 요청하는 단계; 및
상기 빌체인 DID 블록체인이 요청된 빌체인 빌 크리덴셜을 취소하는 단계를 더 포함하는 블록체인 기반 선불형 콘텐츠 과금 서비스 방법.
7. The method of claim 6,
The content providing server,
if the prepaid content is billing per case, providing the prepaid content to the user terminal and then requesting the billchain DID blockchain to cancel the billchain bill credential; and
The block chain-based prepaid content billing service method further comprising the step of canceling the bill chain bill credential requested by the bill chain DID block chain.
제 6항에 있어서,
상기 빌체인 빌 크리덴셜 항목 유효성 검사에 대한 오류가 발생하면, 상기 콘텐츠 제공 서버가 빌체인 빌 크리덴셜 취소를 빌체인 DID 블록체인에 요청하는 단계;
상기 빌체인 DID 블록체인이 요청된 빌체인 빌 크리덴셜을 취소하는 단계; 및
상기 콘텐츠 제공 서버가 유효성 검사 오류 메시지를 상기 사용자 단말에 제공하는 단계를 더 포함하는 블록체인 기반 선불형 콘텐츠 과금 서비스 방법.
7. The method of claim 6,
requesting, by the content providing server, to cancel the billchain bill credential to the billchain DID blockchain when an error occurs in the validation of the billchain bill credential item;
canceling, by the billchain DID blockchain, the requested billchain bill credential; and
The block chain-based prepaid content billing service method further comprising the step of providing, by the content providing server, a validation error message to the user terminal.
제 1항에 있어서,
상기 사용자 단말이 상기 콘텐츠 제공 서버에 로그인한 후, 상기 사용자 단말이 상기 콘텐츠 제공 서버에 빌체인 사용자 DID를 함께 전송하며 선불형 콘텐츠 구매 취소를 요청하는 단계;
상기 콘텐츠 제공 서버가 선불형 콘텐츠 구매 취소 요청을 승인한 후 그 결과를 상기 빌체인 서버에 전달하는 단계;
상기 빌체인 서버가 상기 사용자 단말에 해당 선불형 콘텐츠에 해당하는 빌체인 빌 크리덴셜을 요청하여 전달받고 전달된 빌체인 빌 크리덴셜의 빌체인 빌 DID 문서(공개키, 서비스 접근 주소 포함)를 빌체인 DID 블록체인에 요청하고 빌체인 빌 DID 문서에서 획득한 공개키를 이용하여 빌체인 빌 크리덴셜 서명 검증을 수행하는 단계;
상기 빌체인 서버가 빌체인 빌 크리덴셜 취소를 빌체인 DID 블록체인에 요청하고 빌체인 빌 크리덴셜 취소 결과를 전달받는 단계;
상기 빌체인 서버가 빌체인 빌링 블록체인에 구매 취소 금액만큼 콘텐츠 제공자 캐시의 잔액 충전을 요청하여 업데이트한 후 잔액 충전 결과를 전달받는 단계;
상기 빌체인 서버가 잔액 충전 결과를 기반으로 새로운 빌체인 캐시 크리덴셜을 상기 사용자 단말에 발급하는 단계; 및
상기 빌체인 서버가 선불형 콘텐츠의 구매 취소 결과를 사용자 단말에 제공하는 단계를 더 포함하는 블록체인 기반 선불형 콘텐츠 과금 서비스 방법.
The method of claim 1,
after the user terminal logs in to the content providing server, the user terminal transmits a billchain user DID together to the content providing server and requests cancellation of prepaid content purchase;
transmitting the result to the billchain server after the content providing server approves the prepaid content purchase cancellation request;
The billchain server requests the user terminal for the billchain bill credential that corresponds to the prepaid content, and the billchain bill DID document (including public key and service access address) of the delivered billchain bill credential is billed. requesting the chain DID block chain and performing bill chain bill credential signature verification using the public key obtained from the bill chain bill DID document;
the billchain server requesting the billchain bill credential cancellation to the billchain DID blockchain and receiving a billchain bill credential cancellation result;
receiving, by the billchain server, a result of recharging the balance of the content provider cache by requesting the billchain billing block chain to charge the balance of the content provider cache by the amount of purchase cancellation;
issuing, by the billchain server, a new billchain cash credential to the user terminal based on the balance charge result; and
The block chain-based prepaid content billing service method further comprising the step of the billchain server providing a result of canceling the purchase of the prepaid content to the user terminal.
제 1항에 있어서,
상기 사용자 단말이 상기 콘텐츠 제공 서버에 로그인한 후, 상기 사용자 단말이 상기 콘텐츠 제공 서버에 빌체인 사용자 DID를 함께 전송하며 콘텐츠 제공자 캐시 충전을 위해 결제 대행사에 결제했던 건에 대한 취소를 요청하는 단계;
상기 콘텐츠 제공 서버가 상기 결제 건에 대한 결제 취소 요청을 승인한 후 그 결과를 상기 빌체인 서버에 전달하는 단계;
상기 빌체인 서버가 상기 사용자 단말에 상기 결제 취소 건에 해당하는 빌체인 캐시 크리덴셜을 요청하여 전달받고, 전달된 빌체인 캐시 크리덴셜의 빌체인 캐시 DID 문서(공개키, 서비스 접근 주소 포함)를 빌체인 DID 블록체인에 요청하고 빌체인 캐시 DID 문서에서 획득한 공개키를 이용하여 빌체인 캐시 크리덴셜 서명 검증을 수행하는 단계;
상기 빌체인 서버가 빌체인 빌링 블록체인에 사용자 단말이 결제 취소한 금액만큼 콘텐츠 제공자 캐시의 잔액 차감을 요청하여 잔액이 결제 취소 금액 이상인 경우 잔액을 업데이트한 후 잔액 차감 결과를 전달받는 단계;
상기 빌체인 서버가 빌체인 캐시 크리덴셜 취소를 빌체인 DID 블록체인에 요청하고 빌체인 캐시 크리덴셜 취소 결과를 전달받는 단계;
상기 빌체인 서버가 잔액 차감 결과 및 빌체인 캐시 크리덴셜 취소 결과를 기반으로 결제 대행사에 결제 취소를 요청한 후 그 결제 취소 결과를 수신하는 단계; 및
상기 빌체인 서버가 결제 취소 결과를 사용자 단말에 전달하는 단계를 더 포함하는 블록체인 기반 선불형 콘텐츠 과금 서비스 방법.
The method of claim 1,
after the user terminal logs in to the content providing server, the user terminal transmits the billchain user DID together to the content providing server and requests a cancellation of the payment made to the payment agency to recharge the content provider cache;
transmitting the result to the billchain server after the content providing server approves the payment cancellation request for the payment;
The billchain server requests and receives the billchain cash credential corresponding to the payment cancellation from the user terminal, and receives the billchain cache DID document (including public key and service access address) of the delivered billchain cash credential. performing Billchain Cash credential signature verification by requesting the Billchain DID blockchain and using the public key obtained from the Billchain Cash DID document;
The billchain server requests the billchain billing block chain to deduct the balance of the content provider cache by the amount the user terminal canceled payment, and if the balance is equal to or greater than the payment cancellation amount, updating the balance and receiving the result of the deduction of the balance;
the billchain server requesting billchain cash credential cancellation to the billchain DID blockchain and receiving a billchain cash credential cancellation result;
receiving, by the billchain server, a payment cancellation result after requesting a payment cancellation to a payment agency based on a balance deduction result and a billchain cash credential cancellation result; and
The block chain-based prepaid content billing service method further comprising the step of transmitting, by the billchain server, a payment cancellation result to a user terminal.
제 1항에 있어서,
상기 사용자 단말이 상기 콘텐츠 제공 서버에 로그인한 후, 상기 사용자 단말이 상기 콘텐츠 제공 서버에 빌체인 사용자 DID를 함께 전송하며 해당 콘텐츠 제공자 캐시 환불을 요청하는 단계;
상기 콘텐츠 제공 서버가 상기 콘텐츠 제공자 캐시 환불을 승인한 후 그 결과를 상기 빌체인 서버에 전달하는 단계;
상기 빌체인 서버가 빌체인 빌링 블록체인에 콘텐츠 제공자 캐시의 전체 잔액 차감을 요청하고, 전체 잔액 차감 결과를 전달받는 단계; 및
상기 빌체인 서버가 상기 사용자 단말이 상기 콘텐츠 제공자 캐시 충전 시 발급받은 빌체인 캐시 크리덴셜 전체 취소를 빌체인 DID 블록체인에 요청하고, 그 빌체인 캐시 크리덴셜 전체 취소 결과를 전달받으면, 사용자 계좌로 환불 금액을 입금하는 단계를 더 포함하는 블록체인 기반 선불형 콘텐츠 과금 서비스 방법.
The method of claim 1,
after the user terminal logs in to the content providing server, the user terminal transmits the billchain user DID together to the content providing server and requests a refund of the corresponding content provider cache;
transmitting the result to the billchain server after the content providing server approves the refund of the content provider cache;
requesting, by the billchain server, to deduct the total balance of the content provider cache to the billchain billing block chain, and receiving a result of the total balance deduction; and
When the billchain server requests the billchain DID blockchain to cancel all billchain cash credentials issued when the user terminal recharges the content provider cache, and receives the billchain cash credential cancellation result, it is transferred to the user account. A blockchain-based prepaid content billing service method further comprising depositing a refund amount.
제 1항에 있어서,
결제 대행사가 빌체인 서비스 제공자 계좌로 입금한 후 상기 빌체인 서버로 입금 내역을 전달하는 단계;
상기 빌체인 서버가 해당 콘텐츠 제공 서버를 운영하는 콘텐츠 제공자에 대한 빌체인 서비스 이용 수수료를 계산하는 단계;
상기 빌체인 서버가 빌체인 빌링 블록체인에 콘텐츠 제공자의 정산내역을 업데이트하는 단계;
상기 빌체인 서버가 상기 콘텐츠 제공자의 계좌로 정산 금액을 입금하는 단계; 및
상기 콘텐츠 제공자가 빌체인 빌링 블록체인에서 정산 내역을 확인하는 단계를 더 포함하는 블록체인 기반 선불형 콘텐츠 과금 서비스 방법.
The method of claim 1,
transferring the deposit details to the billchain server after the payment agency deposits it into the billchain service provider account;
calculating, by the billchain server, a billchain service usage fee for a content provider operating the corresponding content providing server;
updating, by the billchain server, the settlement details of the content provider in the billchain billing block chain;
depositing, by the billchain server, the settlement amount into the account of the content provider; and
The block chain-based prepaid content billing service method further comprising the step of the content provider checking the settlement details in the bill chain billing block chain.
사용자 가입 후 사용자 신원 확인 및 자격 증명을 위한 빌체인 크리덴셜을 발급받아 관리하고, 상기 발급된 빌체인 크리덴셜을 이용하여 사용자 인증을 수행한 후 선불형 콘텐츠 서비스를 제공받는 사용자 단말;
상기 사용자 단말을 이용하여 사용자가 가입하면, 상기 사용자 단말에 빌체인 크리덴셜을 발급하고, 콘텐츠 과금 요청 시, 사용자의 빌체인 크리덴셜을 통해 콘텐츠 제공자 캐시를 분산하여 저장하고 있는 빌체인 빌링 블록체인에서 과금 가능 여부를 확인하고, 그 확인된 정보에 근거하여 빌체인 크리덴셜을 상기 사용자 단말에 발급하는 빌체인 서버; 및
사용자가 선불형 콘텐츠 이용 시, 상기 사용자 단말에 빌체인 크리덴셜을 요청하여 빌체인 DID 블록체인에서 분산하여 저장되어 있는 공개키로 빌체인 크리덴셜을 검증한 후 해당 콘텐츠를 사용자 단말에 제공하는 콘텐츠 제공 서버를 포함하는 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템.
a user terminal that receives and manages billchain credentials for user identity verification and credentials after user registration, performs user authentication using the issued billchain credentials, and receives a prepaid content service;
When a user signs up using the user terminal, a billchain credential is issued to the user terminal, and when a content billing request is made, the content provider cache is distributed and stored through the user's billchain credential. a billchain server that checks whether billing is possible and issues a billchain credential to the user terminal based on the checked information; and
When a user uses prepaid content, the user requests the billchain credentials from the user terminal, verifies the billchain credentials with the public key distributed and stored in the billchain DID blockchain, and then provides the content to the user terminal A blockchain-based prepaid content billing service system including a server.
제 13항에 있어서,
상기 사용자 단말은,
상기 빌체인 서버로부터 발급받은 빌체인 크리덴셜을 관리하기 위한 빌체인 DID 지갑 어플리케이션; 및
선불형 콘텐츠를 이용하기 위해 상기 콘텐츠 제공 서버에 접속하기 위한 콘텐츠 실행 어플리케이션이 구비된 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템.
14. The method of claim 13,
The user terminal is
a billchain DID wallet application for managing the billchain credentials issued from the billchain server; and
A blockchain-based prepaid content billing service system provided with a content execution application for accessing the content providing server in order to use the prepaid content.
제 14항에 있어서,
상기 사용자 단말은,
사용자의 DID 인증을 위한 제휴 DID 지갑 어플리케이션이 설치된 것인 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템.
15. The method of claim 14,
The user terminal is
A blockchain-based prepaid content billing service system in which the affiliate DID wallet application for user's DID authentication is installed.
제 13항에 있어서,
상기 빌체인 서버는,
제휴 DID 사업자의 블록체인에 접속하여 사용자 단말에 저장된 제휴 DID 사업자가 발급한 크리덴셜을 검증하는 제휴 DID 검증기를 더 포함하는 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템.
14. The method of claim 13,
The billchain server,
A blockchain-based prepaid content billing service system further comprising an affiliate DID verifier that accesses the blockchain of the affiliate DID business and verifies the credentials issued by the affiliate DID business stored in the user terminal.
제 13항에 있어서,
상기 빌체인 서버는,
사용자 단말을 이용하여 사용자가 가입하면, 상기 사용자 단말에 빌체인 SSO 크리덴셜을 발급하는 빌체인 SSO 모듈;
상기 콘텐츠 제공 서버로부터 선불형 콘텐츠 과금 요청 시 콘텐츠 제공 서버로부터 제공되는 사용자의 빌체인 사용자 DID를 기반으로 빌체인 빌링 블록체인에서 상기 콘텐츠 제공자 캐시의 잔액을 확인하고 빌체인 빌 크리덴셜을 상기 사용자 단말에 발급하는 빌체인 빌 모듈을 포함하는 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템.
14. The method of claim 13,
The billchain server,
When a user joins using a user terminal, a billchain SSO module for issuing a billchain SSO credential to the user terminal;
When a prepaid content billing request is requested from the content providing server, the balance of the content provider cache is checked in the billchain billing block chain based on the user's billchain user DID provided from the content providing server, and the billchain bill credential is set to the user terminal A blockchain-based prepaid content billing service system that includes a bill-chain bill module issued to
제 17항에 있어서,
상기 빌체인 서버는,
상기 콘텐츠 제공 서버로부터 제공되는 사용자의 빌체인 사용자 DID를 기반으로 사용자 단말의 빌체인 DID 지갑 어플리케이션을 확인하여 기과금 여부를 판단하고, 기과금 된 경우 상기 콘텐츠 제공 서버에 과금 승인 정보를 제공하고,
기과금 되지 않은 경우 빌체인 사용자 DID를 기반으로 빌체인 빌링 블록체인에서 상기 콘텐츠 제공자 캐시의 잔액을 확인하고 잔액이 부족한 경우 콘텐츠 과금을 위한 콘텐츠 제공자 캐시를 충전하고 상기 사용자 단말에 빌체인 캐시 크리덴셜을 발급하는 빌체인 캐시 모듈을 포함하는 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템.
18. The method of claim 17,
The billchain server,
Based on the user's billchain user DID provided from the content providing server, the billchain DID wallet application of the user terminal is checked to determine whether billing has been made, and if billing has been made, billing approval information is provided to the content providing server,
If the billing has not been done, check the balance of the content provider cache in the billchain billing block chain based on the billchain user DID. A blockchain-based prepaid content billing service system that includes a Billchain Cash module that issues
제 13항에 있어서,
상기 콘텐츠 제공 서버는,
사용자가 선불형 콘텐츠 이용 시, 상기 사용자 단말의 빌체인 DID 지갑 어플리케이션에 빌체인 SSO 크리덴셜을 요청하여 빌체인 DID 블록체인에서 분산하여 저장되어 있는 공개키로 빌체인 SSO 크리덴셜을 검증하고, 상기 사용자 단말의 빌체인 DID 지갑 어플리케이션에 빌체인 빌 크리덴셜을 요청하여 빌체인 DID 블록체인에서 분산하여 저장되어 있는 공개키로 빌체인 빌 크리덴셜이 검증되면 사용자가 선택한 콘텐츠를 사용자 단말에 제공하며, 사용자에게 사용자 단말의 빌체인 DID 지갑 어플리케이션에 저장된 빌체인 빌 크리덴셜을 이용한 구매 취소, 빌체인 캐시 크리덴셜을 이용한 결제 취소, 콘텐츠 제공자 캐시에 대한 환불을 제공하는 빌체인 검증기를 더 포함하는 블록체인 기반 선불형 콘텐츠 과금 서비스 시스템.
14. The method of claim 13,
The content providing server,
When the user uses prepaid content, the Billchain SSO credential is requested from the Billchain DID wallet application of the user terminal, and the Billchain SSO credential is verified with the public key distributed and stored in the Billchain DID blockchain, and the user When the billchain bill credential is verified with the public key distributed and stored in the billchain DID block chain by requesting the billchain bill credential to the billchain DID wallet application of the terminal, the content selected by the user is provided to the user terminal and to the user Block-chain-based prepayment, which further includes a billchain validator that provides a refund for the content provider cache, purchase cancellation using the billchain bill credential stored in the billchain DID wallet application of the user terminal, payment cancellation using the billchain cash credential Type content billing service system.
KR1020210000910A 2021-01-05 2021-01-05 Blockchain-based prepaid content billing service method and system KR102582904B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020210000910A KR102582904B1 (en) 2021-01-05 2021-01-05 Blockchain-based prepaid content billing service method and system
PCT/KR2021/017587 WO2022149722A1 (en) 2021-01-05 2021-11-26 Method and system for prepaid content billing service based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210000910A KR102582904B1 (en) 2021-01-05 2021-01-05 Blockchain-based prepaid content billing service method and system

Publications (2)

Publication Number Publication Date
KR20220099194A true KR20220099194A (en) 2022-07-13
KR102582904B1 KR102582904B1 (en) 2023-09-27

Family

ID=82357174

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210000910A KR102582904B1 (en) 2021-01-05 2021-01-05 Blockchain-based prepaid content billing service method and system

Country Status (2)

Country Link
KR (1) KR102582904B1 (en)
WO (1) WO2022149722A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110029306A (en) * 2009-09-15 2011-03-23 엘지전자 주식회사 Networking embedded system and method of paying contents service
KR20120075563A (en) * 2010-12-15 2012-07-09 사단법인 금융결제원 System and method for managing network account for custom
KR20140084126A (en) * 2011-10-04 2014-07-04 퀄컴 인코포레이티드 Method and apparatus for protecting a single sign-on domain from credential leakage
KR20160140969A (en) * 2014-12-16 2016-12-07 페이스북, 인크. Facilitating same day payment transactions
KR101996840B1 (en) * 2018-12-07 2019-07-05 아콘소프트 주식회사 Microservice store operating system
KR102139645B1 (en) * 2020-04-13 2020-07-30 주식회사 한국정보보호경영연구소 System for Certificating identity based on Blockchain and Driving method thereof
KR102160915B1 (en) * 2019-10-08 2020-10-05 (주)드림시큐리티 Apparatus for providing purchase service through identification without media and method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110029306A (en) * 2009-09-15 2011-03-23 엘지전자 주식회사 Networking embedded system and method of paying contents service
KR20120075563A (en) * 2010-12-15 2012-07-09 사단법인 금융결제원 System and method for managing network account for custom
KR20140084126A (en) * 2011-10-04 2014-07-04 퀄컴 인코포레이티드 Method and apparatus for protecting a single sign-on domain from credential leakage
KR20160140969A (en) * 2014-12-16 2016-12-07 페이스북, 인크. Facilitating same day payment transactions
KR101996840B1 (en) * 2018-12-07 2019-07-05 아콘소프트 주식회사 Microservice store operating system
KR102160915B1 (en) * 2019-10-08 2020-10-05 (주)드림시큐리티 Apparatus for providing purchase service through identification without media and method thereof
KR102139645B1 (en) * 2020-04-13 2020-07-30 주식회사 한국정보보호경영연구소 System for Certificating identity based on Blockchain and Driving method thereof

Also Published As

Publication number Publication date
KR102582904B1 (en) 2023-09-27
WO2022149722A1 (en) 2022-07-14

Similar Documents

Publication Publication Date Title
US10915898B2 (en) Demand deposit account payment system
US7596530B1 (en) Method for internet payments for content
JP4574957B2 (en) Group management organization device, user device, service provider device, and program
KR100844046B1 (en) Authenticated payment
US8306910B2 (en) Systems and methods for electronically circulating a currency
US20170372417A1 (en) Digital asset account management
EP2624190A1 (en) Authentication of payment transactions using an alias
US20100191622A1 (en) Distributed Transaction layer
US20130024378A1 (en) Method and system for facilitating payment transactions using access devices
US20030208406A1 (en) Method and apparatus for processing one or more value bearing instruments
CN103975352A (en) Securely reloadable electronic wallet
CN110533405B (en) Cross-border mobile payment information processing method, device, system and storage medium
KR20150046080A (en) Method and system to enable mobile contactless ticketing/payments via a mobile phone application
CN115552438A (en) Digital asset transaction system and related method
KR20210029703A (en) Method of paying based on blockchain token and bank server using them
KR102191501B1 (en) Method for mediating card payment using biometric data
KR20220102605A (en) Method of paying based on blockchain token and card company server using them
KR20110114872A (en) System and method for unified authorization
Oktian et al. BlockSubPay-a blockchain framework for subscription-based payment in cloud service
KR20190048139A (en) Method providing escrow service for remittance payment and server thereof
KR102059175B1 (en) A method and system of crypto-currency transaction management based on crypto-currency wallet.
JP2011043983A (en) Information processing apparatus for cardless settlement, cardless settlement system, cardless settlement method, cashless settlement method, and program
KR102582904B1 (en) Blockchain-based prepaid content billing service method and system
KR20220097186A (en) Blockchain did based electronic ticket reservation method and apparatus
KR102664344B1 (en) Apparatus and Method for Providing Blockchain Mainnet Token Operation Platform Service

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