KR102262047B1 - Prize-winning event management system using blockchain network and method thereof - Google Patents

Prize-winning event management system using blockchain network and method thereof Download PDF

Info

Publication number
KR102262047B1
KR102262047B1 KR1020190100301A KR20190100301A KR102262047B1 KR 102262047 B1 KR102262047 B1 KR 102262047B1 KR 1020190100301 A KR1020190100301 A KR 1020190100301A KR 20190100301 A KR20190100301 A KR 20190100301A KR 102262047 B1 KR102262047 B1 KR 102262047B1
Authority
KR
South Korea
Prior art keywords
random number
event
node
smart contract
prize
Prior art date
Application number
KR1020190100301A
Other languages
Korean (ko)
Other versions
KR20210020606A (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 KR1020190100301A priority Critical patent/KR102262047B1/en
Publication of KR20210020606A publication Critical patent/KR20210020606A/en
Application granted granted Critical
Publication of KR102262047B1 publication Critical patent/KR102262047B1/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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0207Discounts or incentives, e.g. coupons or rebates
    • G06Q30/0212Chance discounts or incentives
    • 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
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/34Betting or bookmaking, e.g. Internet betting

Abstract

본 발명은 블록체인을 기반으로 한 경품 추첨 이벤트 관리 시스템 및 방법에 관한 것이다. 상기 경품 추첨 이벤트 관리 시스템은, 인증기관의 단말기, 이벤트 주최자의 단말기 및 회원 단말기들이 각각 노드로서 참가하는 프라이빗 블록체인 네트워크(Private Blockchain Network)를 구성하고, 상기 이벤트 주최자 노드는 이벤트/경품 선택기 및 난수 생성기를 기록한 스마트 컨트랙트를 생성하여 블록체인에 기록하는 것을 특징으로 하며, 상기 회원 노드는, 스마트 컨트랙트의 경품 선택기를 통해 경품을 선택하고, 스마트 컨트랙트의 난수 생성기를 통해 난수를 발급받고, 상기 발급된 난수를 블록의 형태로 블록체인에 기록하여, 이벤트에 응모하는 것을 특징으로 하며, 상기 이벤트 주최자 노드는 사전 설정된 경품 추첨 상태가 되면, 스마트 컨트랙트의 난수 생성기를 통해 난수를 생성하고, 상기 생성된 난수와 일치하는 난수를 블록체인에 기록한 회원 노드를 당첨자로 선택한다. The present invention relates to a system and method for managing a prize lottery event based on a block chain. The prize lottery event management system constitutes a private blockchain network in which a terminal of a certification authority, a terminal of an event organizer, and member terminals participate as nodes, respectively, and the event organizer node includes an event / prize selector and a random number It is characterized in that a smart contract with a generator is created and recorded on the block chain, wherein the member node selects a prize through the gift selector of the smart contract, receives a random number through the random number generator of the smart contract, and receives the issued It is characterized in that the random number is recorded in the block chain in the form of a block to apply for the event, and the event organizer node generates a random number through the random number generator of the smart contract when it enters a preset prize lottery state, and the generated random number A member node that records a random number that matches the number on the blockchain is selected as the winner.

Description

블록체인을 기반으로 한 경품 추첨 이벤트 관리 시스템 및 방법{Prize-winning event management system using blockchain network and method thereof}A prize-winning event management system using blockchain network and method thereof

본 발명은 블록체인을 기반으로 한 경품 추첨 이벤트 관리 시스템 및 방법에 관한 것으로서, 더욱 구체적으로는 인증 기관, 이벤트 주최자 노드 및 회원 노드들이 프라이빗 블록체인 네트워크를 구성하고, 블록체인의 스마트 컨트랙트에 난수 생성기를 기록하고, 난수 생성기를 통해 스마트 컨트랙트가 발급한 난수 시드를 이용하여 인증기관이 난수를 생성하고, 이를 토대로 하여 경품 추첨을 수행하는 것을 특징으로 하는 블록체인을 기반으로 한 경품 추첨 이벤트 관리 시스템 및 방법에 관한 것이다. The present invention relates to a system and method for managing a prize lottery event based on a blockchain, and more specifically, a certificate authority, an event organizer node, and a member node constitute a private blockchain network, and a random number generator in a smart contract of the blockchain A block chain-based prize lottery event management system, characterized in that the certification authority generates a random number using a random number seed issued by a smart contract through a random number generator, and performs a prize drawing based on this. it's about how

경품을 추첨하여 제공하는 다양한 형태의 이벤트들이 여러 분야에서 많이 진행되고 있다. 이때, 이벤트 주최자들은 많은 응모자들을 모집하고, 사전 설정된 경품들을 제공하기 위하여 추첨하고, 추첨 결과에 따라 사전 공지한 경품들을 당첨자에게 제공하게 된다. Various types of events in which prizes are drawn and provided are being conducted in many fields. In this case, the event organizers recruit many applicants, draw a lottery to provide preset prizes, and provide pre-announced prizes to the winners according to the lottery results.

하지만, 응모자들의 응모 행위, 이벤트 주최자의 추첨 행위 및 당첨자에 대한 경품 제공 행위 등이 모두 공정하게 진행되어야 하나, 이 모든 단계들을 정확하면서도 공정하게 감시하는 것은 실제로 매우 어려운 작업이다. 따라서, 이 과정들 중에 불공정 행위나 불법 행위들이 많이 발생하게 되는 문제점이 있다. However, the act of applying by the entrants, the act of drawing by the event organizer, and the act of providing a prize to the winner must all be conducted fairly, but it is actually very difficult to accurately and fairly monitor all these steps. Accordingly, there is a problem in that many unfair or illegal acts occur during these processes.

또한, 종래의 경품 추첨 시스템은 경품의 지급 및 경품의 종류가 기존에 공지된 그대로 진행되지 않거나, 단순히 이용자들을 모으기 위한 수단으로 사용되는 경우가 왕왕 발생하고, 이벤트 주최자가 임의로 당첨자를 조작하여 이벤트 주최자와 관련된 사람이 경품을 수령하는 등의 문제가 발생하게 됨에 따라, 이벤트의 공정성 및 신뢰성이 완전하게 보장되지 않는다. In addition, in the conventional prize lottery system, there are cases in which the payment of prizes and the types of prizes do not proceed as previously known, or they are simply used as a means to collect users, and the event organizer arbitrarily manipulates the winner to organize the event. The fairness and reliability of the event are not completely guaranteed as problems such as receiving prizes for those involved in the event occur.

이에 따라, 본 발명은 난수를 이용하여 블록체인을 기반으로 한 공정한 경품 추첨 이벤트 관리 시스템을 제안하고자 한다. 하지만, 블록체인 네트워크에서도 난수를 생성한 다양한 방법이 제안되고 있으나, 대부분의 방법들이 각각의 문제점들이 내포되어 있는 실정이다. Accordingly, the present invention intends to propose a fair prize lottery event management system based on a block chain using random numbers. However, although various methods for generating random numbers have been proposed in blockchain networks, most of the methods have their own problems.

난수 생성 방법 중 하나는 블록체인에서 블록의 상태값을 활용하여 난수를 생성하는 방식으로서, 해당 트랜잭션에 따라 매번 달라지는 블록의 해쉬값을 이용하게 된다. 하지만, 이 방식은 블록에 어떤 트랜잭션이 포함될지 알 수 없기 때문에 난수를 생성하는 것이 합리적으로 보이기는 하나, 작업 증명(Proof of Work;PoW) 방식으로 블록을 생성한 마이너(miner)가 블록의 트랜잭션의 순서를 바꿔 마이너가 원하는 해쉬값을 만들어 낼 가능성이 존재한다. 따라서, 이 난수 생성 방법은 공정한 난수를 생성하지 못할 수 있는 문제점이 있다. One of the random number generation methods is to generate a random number by using the block state value in the block chain, and uses the hash value of the block that changes each time depending on the transaction. However, since this method does not know which transactions will be included in the block, it seems reasonable to generate random numbers, but the miner who created the block in the Proof of Work (PoW) method There is a possibility that by changing the order of , the miner can create the desired hash value. Accordingly, this random number generation method has a problem in that it may not be able to generate a fair random number.

난수를 생성하는 다른 방식은, 스마트 컨트랙트 생성자가 여러 개의 해싱 시드(Hashing Seed)를 넣어 스마트 컨트랙트를 생성하는 것이다. 이때 난수 요청자는 스마트 컨트랙트의 해싱 시드들 중 하나를 선택하고, 선택된 해싱 시드를 대신하여 다른 해싱 시드를 스마트 컨트랙트에게 제공한다. 해싱 시드는 각 참여자가 중복으로 선택할 수 없도록 하고, 스마트 컨트랙트는 선택된 해싱 시드와 새로이 제공된 시드를 조합하여 난수를 생성하게 된다. 하지만, 이러한 난수 생성 방법은 스마트 컨트랙트 생성자가 컨트랙트를 생성할 때 해싱 시드가 무엇인지 알고 있기 때문에 검증 기관의 인증을 받더라도 경품 추첨 이벤트 관리 시스템에서 공정하지 못한 방법으로 난수를 제공할 가능성이 존재하는 문제점이 있다. 또한, 다수의 이벤트 참가자가 발생하는 경우, 스마트 컨트랙트의 해싱 시드들이 더 많이 필요하게 되고, 이 경우 스마트 컨트랙트의 저장 용량이 증가되어야 하므로 확장성을 고려하기 어려운 문제점도 발생하게 된다. Another way to generate a random number is for the smart contract creator to create a smart contract by putting several hashing seeds. At this time, the random number requester selects one of the hashing seeds of the smart contract and provides another hashing seed to the smart contract in place of the selected hashing seed. The hashing seed prevents each participant from making duplicate selections, and the smart contract generates a random number by combining the selected hashing seed and the newly provided seed. However, in this random number generation method, since the smart contract creator knows what the hashing seed is when creating the contract, even if it is certified by a verification authority, the prize lottery event management system may provide random numbers in an unfair way. There is this. In addition, when a large number of event participants occur, more hashing seeds of the smart contract are required, and in this case, the storage capacity of the smart contract must be increased, so that it is difficult to consider scalability.

또 다른 난수 생성 방법은, 스마트 컨트랙트 생성자가 해싱 시드를 대신하여 자신의 공개키를 스마트 컨트랙트에 올리면 난수 요청자는 시드를 제공하고, 스마트 컨트랙트 생성자의 공개키에 상응하는 개인키로 시드를 서명하고, 서명 정보로 난수를 생성하는 방법이다. 하지만 이 난수 생성 방법은, 난수 요청자가 제공한 시드가 중복되면 안되므로, 사용한 시드를 저장하여 중복을 방지하여야 하므로 스마트 컨트랙트의 저장 용량이 증가하게 되는 문제점이 발생한다. 또한, 요청한 시드가 많아질수록 중복 확인에 필요한 시간이 많이 소요되는 문제점이 있다. Another random number generation method is that when the smart contract creator uploads his/her public key to the smart contract instead of the hashing seed, the random number requester provides the seed, signs the seed with the private key corresponding to the smart contract creator’s public key, and signs A method of generating random numbers from information. However, in this random number generation method, since the seed provided by the random number requester must not be duplicated, the used seed must be stored to prevent duplication, so that the storage capacity of the smart contract increases. Also, as the number of requested seeds increases, there is a problem in that it takes a lot of time to check for duplicates.

한국등록특허공보 제 10-1887964호Korean Patent Publication No. 10-1887964 한국등록특허공보 제 10-1928087호Korean Patent Publication No. 10-1928087

전술한 문제점을 해결하기 위한 본 발명의 목적은 난수 생성시에 스마트 컨트랙트의 서명을 통한 유효성 검증을 통해 스마트 컨트랙트가 난수 시드를 발급하고, 이에 따라 인증기관이 난수를 발급함으로써 스마트 컨트랙트의 저장 용량 문제와 불공정 문제를 해결할 수 있도록 하는 블록체인 네트워크를 기반으로 하여 경품 추첨 이벤트 관리 시스템 및 방법을 제공하는 것이다. An object of the present invention to solve the above problem is that the smart contract issues a random number seed through validation through the signature of the smart contract when generating a random number, and the certification authority issues a random number accordingly. It is to provide a system and method for managing a prize lottery event based on a blockchain network that can solve the problem of and unfairness.

또한, 본 발명의 다른 목적은 블록체인의 인증, 부인 방지, 데이터 무결성 특성에 의하여 악의적인 공격자의 데이터 위/변조가 원천적으로 방지되고, 이벤트 진행시 정확하고 공정하게 경품을 지급할 수 있도록 하는 경품 추첨 이벤트 관리 시스템 및 방법을 제공하는 것이다. In addition, another object of the present invention is to prevent forgery/falsification of data by malicious attackers at the source by the authentication, non-repudiation, and data integrity characteristics of the block chain, and to provide prizes accurately and fairly during the event. A lottery event management system and method are provided.

전술한 기술적 과제를 달성하기 위한 본 발명의 제1 특징에 따른 블록체인을 기반으로 한 경품 추첨 이벤트 관리 시스템은, 인증기관의 단말기, 이벤트 주최자의 단말기 및 회원 단말기들이 각각 노드로서 참가하는 프라이빗 블록체인 네트워크(Private Blockchain Network)를 구성하고,The prize lottery event management system based on the block chain according to the first aspect of the present invention for achieving the above-described technical problem is a private blockchain in which a terminal of a certification authority, a terminal of an event organizer, and member terminals participate as nodes, respectively. Configure the network (Private Blockchain Network),

상기 이벤트 주최자 노드는 이벤트/경품 선택기 및 난수 생성기를 기록한 스마트 컨트랙트를 생성하여 블록체인에 기록하는 것을 특징으로 하며, 상기 회원 노드는, 스마트 컨트랙트의 경품 선택기를 통해 경품을 선택하고, 스마트 컨트랙트의 난수 생성기를 통해 난수를 발급받고, 상기 발급된 난수를 블록의 형태로 블록체인에 기록하여, 이벤트에 응모하는 것을 특징으로 하며, 상기 이벤트 주최자 노드는 사전 설정된 경품 추첨 상태가 되면, 스마트 컨트랙트의 난수 생성기를 통해 난수를 생성하고, 상기 생성된 난수와 동일한 난수를 블록체인에 기록한 회원 노드를 당첨자로 선택한다. The event organizer node creates a smart contract that records an event/gift selector and a random number generator and records it in the blockchain, and the member node selects a prize through the prize selector of the smart contract, and the random number of the smart contract A random number is issued through a generator, the issued random number is recorded in the block chain in the form of a block, and an event is entered, and when the event organizer node enters a preset prize lottery state, the random number generator of the smart contract A random number is generated through , and a member node that records the same random number as the generated random number in the block chain is selected as a winner.

전술한 제1 특징에 따른 블록체인을 기반으로 한 경품 추첨 이벤트 관리 시스템에 있어서, 상기 스마트 컨트랙트의 경품 선택기는, 이벤트 정보 및 경품 정보를 포함하고, 회원 노드로부터 이벤트 참가 신청되고 경품이 선택되면, 이벤트 응모 노드 정보, 이벤트 참가 신청 정보 및 경품 선택 정보를 포함하는 블록을 생성하여 블록체인에 기록하는 것이 바람직하다. In the prize lottery event management system based on the block chain according to the first feature described above, the prize selector of the smart contract includes event information and prize information, and when an event participation application is applied from a member node and a prize is selected, It is desirable to create a block including event application node information, event participation application information, and prize selection information and record it in the block chain.

전술한 제1 특징에 따른 블록체인을 기반으로 한 경품 추첨 이벤트 관리 시스템에 있어서, 이벤트 참가 신청한 회원 노드인 이벤트 응모 노드는 자신의 공개키를 이용하여 스마트 컨트랙트의 난수 생성기를 열고, 상기 스마트 컨트랙트의 난수 생성기는, 인증기관으로부터 난수 시드의 발급 요청이 발생되면, 스마트 컨트랙트가 난수 시드(Seed)를 생성하여 인증 기관 노드에 발급하는 것을 특징으로 하며, 상기 인증 기관 노드는 스마트 컨트랙트로부터 발급된 난수 시드를 이용하여 난수를 생성하여 이벤트 응모 노드에게 제공하는 것이 바람직하다. In the prize lottery event management system based on the block chain according to the first feature described above, the event entry node, which is a member node applying for event participation, uses its public key to open the random number generator of the smart contract, The random number generator of is characterized in that when a request for issuing a random number seed is generated from a certification authority, the smart contract generates a random number seed and issues it to the certification authority node, wherein the certification authority node is a random number issued from the smart contract It is desirable to generate a random number using the seed and provide it to the event entry node.

전술한 제1 특징에 따른 블록체인을 기반으로 한 경품 추첨 이벤트 관리 시스템에 있어서, 상기 인증 기관 노드는 임의의 문자열을 생성하고, 상기 생성된 문자열과 난수 시드의 발급 요청을 포함하는 블록을 생성하여 블록체인에 기록하고, 스마트 컨트랙트는 인증 기관 노드가 생성한 문자열과 난수 시드 발급 요청을 포함하는 블록이 생성된 시간을 포함하는 메시지를 생성하고, 이벤트 응모 노드는 상기 생성된 메시지를 개인키로 서명하고, 스마트 컨트랙트는 상기 서명된 메시지의 유효성을 검증하고, 유효성이 검증되면 난수 시드를 생성하여 인증 기관 노드에 발급하는 것이 바람직하다. In the prize lottery event management system based on the block chain according to the first feature described above, the certification authority node generates a random character string, and generates a block including the generated character string and a request for issuing a random number seed. Recorded in the blockchain, the smart contract generates a message including the time when the block containing the string and random number seed issuance request generated by the certification authority node is generated, the event entry node signs the generated message with the private key, , it is preferable that the smart contract verifies the validity of the signed message, and when the validity is verified, a random number seed is generated and issued to the certification authority node.

전술한 제1 특징에 따른 블록체인을 기반으로 한 경품 추첨 이벤트 관리 시스템에 있어서, 상기 이벤트 주최자 노드는, 사전 설정된 이벤트 응모자의 개수가 충족되거나 사전 설정된 시간이 만료되면, 사전 설정된 경품 추첨 상태가 된 것으로 판단하고, 스마트 컨트랙트의 난수 생성기를 통해 난수를 생성하고, 상기 생성된 난수와 동일한 난수를 블록체인에 기록한 회원 노드를 당첨자로 선택하는 것이 바람직하다. In the prize lottery event management system based on the block chain according to the first feature, the event organizer node enters a preset prize lottery state when a preset number of event entrants is satisfied or a preset time expires. It is preferable to determine that a member node is a winner, generates a random number through the random number generator of the smart contract, and records the same random number in the block chain as the generated random number.

전술한 제1 특징에 따른 블록체인을 기반으로 한 경품 추첨 이벤트 관리 시스템에 있어서, 상기 회원 단말기는, 이벤트 주최자 노드로부터 응모권을 제공받고, 상기 응모권의 정보 및 회원 정보를 토대로 하여 상기 인증 기관 노드로부터 인증되면, 인증 기관 노드로부터 개인키, 공개키를 지급받고 프라이빗 블록체인 네트워크의 노드로 참가하는 것이 바람직하다. In the block chain-based prize lottery event management system according to the first aspect, the member terminal receives an entry ticket from an event organizer node, and receives an entry ticket from the certification authority node based on the entry ticket information and member information. Once authenticated, it is desirable to receive a private key and a public key from the certification authority node and participate as a node in the private blockchain network.

본 발명의 제2 특징에 따른 블록체인을 기반으로 한 경품 추첨 이벤트 관리 방법은, 인증기관의 단말기, 이벤트 주최자의 단말기 및 회원 단말기들이 각각 노드로서 참가하는 프라이빗 블록체인 네트워크(Private Blockchain Network)를 이용한 경품 추첨 방법에 관한 것으로서, 상기 이벤트 주최자 노드가 이벤트/경품 선택기 및 난수 생성기를 기록한 스마트 컨트랙트를 생성하여 블록체인에 기록하는 단계, 상기 회원 노드가, 스마트 컨트랙트의 이벤트/경품 선택기를 통해 이벤트 참가 신청 및 경품 선택을 하여 이벤트 응모 노드가 되고, 이벤트 응모 노드가 스마트 컨트랙트의 난수 생성기를 통해 난수를 발급받고, 상기 발급된 난수를 블록의 형태로 블록체인에 기록하는 단계; 사전 설정된 경품 추첨 상태가 되면, 상기 이벤트 주최자 노드가, 스마트 컨트랙트의 난수 생성기를 통해 난수를 생성하고, 상기 생성된 난수와 동일한 난수를 블록체인에 기록한 회원 노드를 당첨자로 선택하는 단계를 구비한다. A method for managing a prize lottery event based on a blockchain according to the second aspect of the present invention is a private blockchain network in which a terminal of a certification authority, a terminal of an event organizer, and member terminals participate as nodes, respectively. A method of lottery for prizes, comprising the steps of: the event organizer node creates a smart contract that records an event/premium selector and a random number generator and records it in a block chain; the member node applies for event participation through the event/gift selector of the smart contract and selecting a prize to become an event application node, the event application node receiving a random number through a random number generator of the smart contract, and recording the issued random number in the block chain in the form of a block; When the preset prize lottery state is reached, the event organizer node generates a random number through a random number generator of a smart contract, and selects a member node that records the same random number as the generated random number in the block chain as a winner.

전술한 구성을 갖는 본 발명에 따른 경품 추첨 이벤트 관리 시스템은 프라이빗 블록체인 네트워크와 스마트 컨트랙트 기술을 결합한 것으로서, 경품 추첨 시스템에서 추첨에 관한 모든 사항을 블록체인에 기록함으로써, 데이터의 무결성 및 보안성을 보장할 수 있고, 스마트 컨트랙트를 통해 계약 이행의 강제성과 자동성을 보장할 수 있게 된다. 본 발명에 따른 경품 추첨 이벤트 관리 시스템은 블록체인 네트워크를 기반으로 하고, 경품 선택 및 난수 생성을 위한 트랜잭션 등 모든 트랜잭션은 각 노드가 작업 증명 과정을 통해 블록을 생성하게 되고, 이렇게 생성된 블록은 과반수 노드에게 유효성을 검증받고 해당 시점까지 모인 트랜잭션을 모두 포함하는 (n+1)번째 블록을 생성하여 블록체인에 기록된다. 블록체인에 기록되는 모든 트랜잭션 및 데이터는 무결성을 보장받고 블록체인 내 모든 노드들은 이 기록들을 공유하게 된다. 또한, 악의적인 공격자에 의한 데이터 위/변조가 원천적으로 방지된다. The prize lottery event management system according to the present invention having the above configuration is a combination of a private blockchain network and smart contract technology, and by recording all matters related to the lottery in the prize lottery system in the block chain, the integrity and security of data are improved. It is possible to guarantee the enforcement and automatism of contract execution through smart contracts. The prize lottery event management system according to the present invention is based on a blockchain network, and for all transactions such as prize selection and random number generation, each node generates a block through a proof-of-work process, and the block thus generated is a majority After being validated by the node, the (n+1)th block containing all transactions collected up to that point is created and recorded in the blockchain. All transactions and data recorded in the blockchain are guaranteed integrity, and all nodes in the blockchain share these records. In addition, data forgery/falsification by malicious attackers is fundamentally prevented.

이벤트 참여자는 이벤트 주체자로부터 응모권을 받아 프라이빗 블록체인 네트워크에 참여하는 동시에 인증기관으로부터 개인 정보의 인증을 받음으로써, 블록체인에 악의적인 노드가 참여하는 것을 미연에 방지할 수 있다. 또한, 본 발명에 따른 시스템은 모든 데이터들이 블록체인에 분산되어 보관되기 때문에, 경품의 당첨 조작 및 데이터 위변조 시도를 원천적으로 차단할 수 있을 뿐만 아니라 데이터의 투명성이 보장되므로 당첨자를 확인할 수 있다. Event participants can prevent malicious nodes from participating in the blockchain in advance by receiving the right to apply from the event subject and participating in the private blockchain network and at the same time receiving personal information authentication from the certification authority. In addition, since all data is stored and distributed in the block chain in the system according to the present invention, it is possible to fundamentally block the manipulation of winning prizes and attempts to forge data, as well as ensure the transparency of the data, so that the winner can be identified.

또한, 본 발명에 따른 시스템에 있어서, 스마트 컨트랙트를 통해 계약의 이행이 보장되어 경품의 지급 및 지급일자에 관련된 문제를 방지할 수 있으며, 스마트 컨트랙트에서 안전한 난수 생성 방법을 제시함으로써, 추첨의 조작이 불가능하게 된다. In addition, in the system according to the present invention, the implementation of the contract is guaranteed through the smart contract, thereby preventing problems related to the payment of prizes and the date of payment, and by providing a safe random number generation method in the smart contract, the operation of the lottery is reduced it becomes impossible

본 발명에 따른 경품 추첨 이벤트 관리 시스템에서는 인증기관이 난수를 생성하도록 함으로써, 인증 기관이 무한대로 난수를 생성할 수 있을 뿐만 아니라, 난수를 생성하는 과정에서 인증 기관이 무작위 배열을 생성하도록 함으로써 응모권을 가진 회원의 선택에 대해 독립적으로 작동하게 된다. 한편, 무작위 배열이 재사용 된다 하더라도, 인증기관과 응모권을 가진 회원에 어떠한 영향도 받지 않는 블록 시간을 추가적인 변수로 넣고 난수 생성시에 블록 시간이 결정됨으로써, 마이너가 임의로 시간을 조작할 수 없기 때문에 포크 어택(Fork Attack)을 예방할 수 있게 된다. In the prize lottery event management system according to the present invention, by allowing the certification authority to generate random numbers, the certification authority can generate infinitely random numbers, as well as allowing the certification authority to generate a random sequence in the process of generating the random number to obtain the right to apply. It operates independently of the member's choice. On the other hand, even if the random arrangement is reused, the block time, which is not affected in any way by the certification body and members with the right to apply, is added as an additional variable and the block time is determined when generating random numbers, so miners cannot arbitrarily manipulate the time. Attack (Fork Attack) can be prevented.

또한, 본 발명에 따른 방법은 난수를 생성하는 어떤 데이터도 스마트 컨트랙트에 저장되지 않기 때문에, 데이터 저장 용량의 문제도 해결할 수 있게 된다 .In addition, the method according to the present invention can solve the problem of data storage capacity because no data generating random numbers is stored in the smart contract.

도 1은 본 발명의 바람직한 실시예에 따른 경품 추첨 이벤트 관리 시스템을 설명하기 위하여 도시한 모식도이다.
도 2는 본 발명의 바람직한 실시예에 따른 경품 추첨 이벤트 관리 시스템에 있어서, 전체적으로 경품 추첨 이벤트가 진행되는 과정을 순차적으로 도시한 흐름도이다.
도 3은 본 발명의 바람직한 실시예에 따른 경품 추첨 이벤트 관리 시스템에 있어서, 프라이빗 블록체인 네트워크를 구성하는 과정을 순차적으로 도시한 흐름도이다.
도 4는 본 발명의 바람직한 실시예에 따른 경품 추첨 이벤트 관리 시스템에 있어서, 회원 노드가 스마트 컨트랙트의 난수 생성기를 통해 난수를 발급받는 과정을 구체적으로 설명한다.
도 5는 본 발명의 바람직한 실시예에 따른 경품 추첨 이벤트 관리 시스템에 있어서, 이벤트 주최자가 이벤트 관련 정보를 포함하는 스마트 컨트랙트를 작성하여 블록체인에 기록하는 과정을 순차적으로 도시한 흐름도이다.
도 6은 본 발명의 바람직한 실시예에 따른 경품 추첨 이벤트 관리 시스템에 있어서, 회원 노드가 경품 추첨 이벤트에 응모하여 블록체인에 기록하는 과정을 순차적으로 도시한 흐름도이다.
1 is a schematic diagram illustrating a prize lottery event management system according to a preferred embodiment of the present invention.
2 is a flowchart sequentially illustrating a process in which a prize lottery event is performed as a whole in the prize lottery event management system according to a preferred embodiment of the present invention.
3 is a flowchart sequentially illustrating a process of configuring a private blockchain network in a prize lottery event management system according to a preferred embodiment of the present invention.
4 is a detailed description of a process in which a member node is issued a random number through a random number generator of a smart contract in the prize lottery event management system according to a preferred embodiment of the present invention.
5 is a flowchart sequentially illustrating a process in which an event organizer writes a smart contract including event-related information and records it in a block chain in a prize lottery event management system according to a preferred embodiment of the present invention.
6 is a flowchart sequentially illustrating a process in which a member node applies for a prize lottery event and records it in a block chain in the prize lottery event management system according to a preferred embodiment of the present invention.

본 발명에 따른 경품 추첨 이벤트 관리 시스템은 인증 기관, 이벤트 주최자 및 회원의 단말기들이 노드로 참가하는 프라이빗 블록체인 네트워크를 구성하고, 스마트 컨트랙트를 통해 회원 노드가 이벤트 및 경품 추첨 참가에 따른 난수를 발급받고, 이벤트 주최자 노드가 난수와 동일한 난수를 갖는 회원 노드를 당첨자로 결정하는 것을 특징으로 한다. The prize lottery event management system according to the present invention constitutes a private blockchain network in which the certification authority, event organizer, and member terminals participate as nodes, and through a smart contract, member nodes are issued random numbers according to event and prize lottery participation. , characterized in that the event organizer node determines a member node having the same random number as the random number as a winner.

이하, 첨부된 도면을 참조하여 본 발명의 바람직한 실시예에 따른 블록체인 네트워크를 기반으로 한 경품 추첨 이벤트 관리 시스템 및 방법에 대하여 구체적으로 설명한다. Hereinafter, a system and method for managing a prize lottery event based on a blockchain network according to a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명의 바람직한 실시예에 따른 경품 추첨 이벤트 관리 시스템을 설명하기 위하여 도시한 모식도이다. 도 1을 참조하면, 본 발명에 따른 경품 추첨 이벤트 관리 시스템(1)은 인증 기관(10), 이벤트 주최자(20) 및 회원들(30)의 단말기는 노드로서 참가하여 프라이빗 블록체인 네트워크(Private Blockchain Network)를 구성하고, 각 노드들은 블록체인을 기록하고 관리한다. 1 is a schematic diagram illustrating a prize lottery event management system according to a preferred embodiment of the present invention. 1, in the prize lottery event management system 1 according to the present invention, the terminals of the certification authority 10, the event organizer 20, and the members 30 participate as nodes to participate in a private blockchain network (Private Blockchain). Network), and each node records and manages the blockchain.

도 2는 본 발명의 바람직한 실시예에 따른 경품 추첨 이벤트 관리 시스템에 있어서, 전체적으로 경품 추첨 이벤트가 진행되는 과정을 순차적으로 도시한 흐름도이다. 도 2를 참조하면, 본 발명에 따른 경품 추첨 이벤트 관리 시스템에서의 경품 추첨 과정은 먼저 인증 기관, 이벤트 주최자 및 응모권을 가진 회원들이 노드로서 참가하여 프라이빗 블록체인 네트워크를 구성한다(단계 200). 2 is a flowchart sequentially illustrating a process in which a prize lottery event is performed as a whole in the prize lottery event management system according to a preferred embodiment of the present invention. Referring to FIG. 2 , in the prize lottery process in the prize lottery event management system according to the present invention, a certification authority, an event organizer, and members with the right to apply participate as nodes to configure a private blockchain network (step 200).

다음, 이벤트 주최자는 난수 생성기, 경품의 종류 및 지급 방식, 제세 공과금 등의 사항을 스마트 컨트랙트에 기록하고, 이벤트 주최자의 개인키로 서명한 후, 서명의 유효성이 검증되면 블록체인에 기록한다(단계 210).Next, the event organizer records the random number generator, the type and payment method of the prize, tax and utility bills in the smart contract, signs the event organizer's private key, and when the validity of the signature is verified, it is recorded on the block chain (step 210) ).

다음, 회원 노드들은 각각 스마트 컨트랙트를 통해 경품의 종류 및 지급 방식을 선택하고, 제세 공과금 등의 필요 사항들을 선택한 후, 난수 생성기를 이용하여 난수를 발급받고, 발급된 난수를 포함하는 블록을 생성하여 블록체인에 기록함으로써, 경품 추첨 이벤트에 응모한다(단계 220). Next, each member node selects the type of prize and payment method through a smart contract, selects necessary items such as tax and utility charges, receives a random number using a random number generator, and generates a block containing the issued random number. By recording in the block chain, we enter into a prize draw event (step 220).

다음, 사전 설정된 이벤트 응모자의 수가 충족되었거나 사전 설정된 응모 기간이 만료되면(단계 230), 이벤트 주최자는 스마트 컨트랙트의 난수 생성기를 통해 난수를 생성한다(단계 240). 이벤트 주최자의 난수와 일치하는 난수를 가진 회원이 있으면, 이벤트 당첨자로 선정된다(단계 250). 한편, 이벤트 주최자 노드가 생성한 난수와 일치하는 난수를 갖는 회원이 없다면, 이벤트 주최자 노드는 일치하는 난수를 갖는 회원이 나올 때 까지 난수 생성 과정을 수회 반복하게 된다. Next, when the preset number of event entrants is satisfied or the preset application period expires (step 230), the event organizer generates a random number through a random number generator of the smart contract (step 240). If there is a member having a random number that matches the random number of the event organizer, an event winner is selected (step 250). Meanwhile, if there is no member having a random number that matches the random number generated by the event organizer node, the event organizer node repeats the random number generation process several times until a member with the matching random number is found.

이벤트 주최자의 추첨을 위한 난수와 일치하는 난수를 가진 회원 노드에게는 이벤트 당첨자임을 나타내는 메시지를 전송하고, 스마트 컨트랙트를 통해 경품의 지급 절차를 진행하게 되며(단계 260), 난수와 일치하지 않는 난수를 가진 회원 노드에게는 이벤트 당첨이 실패되었음을 나타내는 메시지를 전송한다. A message indicating that the member node is an event winner is sent to the member node having a random number matching the random number for the lottery of the event organizer, and the prize payment procedure is performed through the smart contract (step 260). A message indicating that the event winning has failed is sent to the member node.

이하, 전술한 각 단계에 대하여 보다 구체적으로 설명한다. Hereinafter, each of the above-described steps will be described in more detail.

먼저, 도 3을 참조하여 본 발명에 따라 프라이빗 블록체인 네트워크를 구성하는 과정을 구체적으로 설명한다. 도 3은 본 발명의 바람직한 실시예에 따른 경품 추첨 이벤트 관리 시스템에 있어서, 프라이빗 블록체인 네트워크를 구성하는 과정을 순차적으로 도시한 흐름도이다. First, a process of configuring a private blockchain network according to the present invention will be described in detail with reference to FIG. 3 . 3 is a flowchart sequentially illustrating a process of configuring a private blockchain network in a prize lottery event management system according to a preferred embodiment of the present invention.

도 3을 참조하면, 먼저 이벤트 주최자(20)는 자신의 정보를 인증 기관에 제출하고(단계 300), 인증 기관으로부터 인증을 받고(단계 310/단계 320) 프라이빗 블록체인 네트워크에 하나의 노드로서 참가하게 된다. Referring to Figure 3, first, the event organizer 20 submits his/her information to a certification authority (step 300), receives authentication from the certification authority (step 310/step 320), and participates as a node in the private blockchain network. will do

또한, 각 회원들은 이벤트 주최자로부터 응모권을 제공받고, 응모권을 가진 회원은 이벤트 주최자 노드에 의해 프라이빗 블록체인 네트워크에 초대되고(단계 330), 상기 초대된 회원은 자신의 개인 정보, 예컨대 이름, 전화번호, 주민등록번호 등을 인증 기관에 제출하고 인증을 요청하며(단계 340), 이에 따라 인증 기관은 회원의 정보 타당성을 검토하고 신뢰성을 확인하여 인증하며(단계 350), 공개키와 개인키를 제공함으로써(단계 360), 해당 회원 노드는 프라이빗 블록체인 네트워크의 노드로서 참가할 수 있게 된다(단계 370).In addition, each member is provided with an entry ticket from the event organizer, the member with the entry ticket is invited to the private blockchain network by the event organizer node (step 330), and the invited member has his or her personal information, such as name, phone number , resident registration number, etc. to the certification authority and request for certification (step 340), and accordingly, the certification authority reviews the information validity of the member and verifies and authenticates the credibility (step 350), and provides a public key and a private key ( Step 360), the member node can participate as a node of the private blockchain network (step 370).

이하, 도 4를 참조하여 본 발명에 따른 시스템에 있어서 회원 노드가 스마트 컨트랙트의 난수 생성기를 이용하여 경품 추첨 이벤트에 응모하기 위하여 난수를 발급받는 과정을 설명한다. Hereinafter, a process in which a member node receives a random number to apply for a prize lottery event using a random number generator of a smart contract in the system according to the present invention will be described with reference to FIG. 4 .

도 4는 본 발명의 바람직한 실시예에 따른 경품 추첨 이벤트 관리 시스템에 있어서, 회원 노드가 스마트 컨트랙트의 난수 생성기를 통해 난수를 발급받는 과정을 구체적으로 설명한다. 도 4를 참조하면, 경품 추첨 이벤트에 응모하는 회원 노드는 스마트 컨트랙트의 난수 생성기를 자신의 공개키로 열고(단계 400), 인증기관은 임의의 문자열을 생성하고, 문자열과 함께 난수 시드 생성을 요청하며(단계 410), 인증기관의 난수 시드 생성 요청은 블록으로 생성되어 블록체인에 기록된다(단계 420). 스마트 컨트랙트는 인증 기관이 생성한 문자열과 상기 난수 시드 생성 요청을 포함하는 블록이 생성된 시간을 포함한 메시지를 생성한다(단계 430). 상기 회원 노드는 자신의 개인키로 서명을 하고, 위의 스마트 컨트랙트의 메시지에 상기 서명을 넣는다(단계 440). 다음, 스마트 컨트랙트는 상기 회원 노드의 공개키, 개인키 서명, 및 스마트 컨트랙트가 생성한 메시지에 대한 유효성을 검증하고(단계 450), 유효성이 검증되면 스마트 컨트랙트는 난수 생성을 위한 난수 시드를 생성하여 인증기관으로 발급한다(단계 460). 상기 인증기관은 스마트 컨트랙트로부터 난수 시드를 제공받고, 이를 이용하여 난수를 생성하여 회원 노드에게 발급한다(단계 470). 한편, 인증기관으로부터 난수를 발급받은 회원 노드는 해당 난수를 포함하는 블록을 생성하여 블록체인에 기록한다(단계 480). 4 is a detailed description of a process in which a member node is issued a random number through a random number generator of a smart contract in the prize lottery event management system according to a preferred embodiment of the present invention. 4, the member node applying for the prize lottery event opens the random number generator of the smart contract with its public key (step 400), the certification authority generates a random string, and requests generation of a random number seed together with the string. (Step 410), the request for generating a random number seed from the certification authority is generated as a block and recorded in the block chain (Step 420). The smart contract generates a message including the string generated by the certification authority and the time when the block including the random number seed generation request is generated (step 430). The member node signs with its own private key, and puts the signature in the message of the above smart contract (step 440). Next, the smart contract verifies the validity of the member node's public key, private key signature, and message generated by the smart contract (step 450), and when the validity is verified, the smart contract generates a random number seed for random number generation, Issued to the certification authority (step 460). The certification authority receives a random number seed from the smart contract, generates a random number using it, and issues it to the member node (step 470). On the other hand, the member node that has received the random number from the certification authority creates a block including the random number and records it in the block chain (step 480).

전술한 과정을 통하여, 난수를 생성하면 인증기관이 무한대로 난수를 생성할 수 있고, 난수를 생성하는 과정에서 인증 기관이 무작위 배열을 생성하도록 함으로써 응모권을 가진 회원의 선택에 독립적으로 작동하도록 한다. 그리고, 무작위 배열이 재사용된다 하더라도, 인증 기관과 응모권을 가진 회원에게 어떠한 영향도 받지 않는 블록 시간을 추가적인 변수로 사용하고, 응모권을 가진 회원이 난수를 생성할 때 블록 시간이 결정됨으로써, 마이너가 임의로 시간을 조작할 수 없도록 하여 포크 어택(Fork Attack)을 예방할 수 있다. 또한, 전술한 본 발명에 따른 방법은 난수 생성하는 어떠한 데이터도 스마트 컨트랙트에 저장되지 않기 때문에 데이터 저장 용량의 문제들도 해결될 수 있다. Through the above process, when a random number is generated, the certification authority can generate an infinitely random number, and the certification authority generates a random sequence in the process of generating the random number, thereby operating independently of the selection of the member with the right to apply. And, even if the random arrangement is reused, the block time is used as an additional variable, which is not affected in any way by the certification authority and the member with the right to apply, and the block time is determined when the member with the right to apply generates a random number, so that the miner arbitrarily You can prevent a fork attack by making it impossible to manipulate time. In addition, the above-described method according to the present invention can solve the problem of data storage capacity because no data for generating random numbers is stored in the smart contract.

이하, 도 5를 참조하여 본 발명에 따른 경품 추첨 이벤트 관리 시스템에 있어서, 이벤트 주최자가 스마트 컨트랙트를 작성하여 블록체인에 기록하는 과정(도 2의 단계 210)을 설명한다. Hereinafter, in the prize lottery event management system according to the present invention, a process (step 210 in FIG. 2 ) of an event organizer writing a smart contract and recording it in the block chain will be described with reference to FIG. 5 .

도 5는 본 발명의 바람직한 실시예에 따른 경품 추첨 이벤트 관리 시스템에 있어서, 이벤트 주최자가 이벤트 관련 정보를 포함하는 스마트 컨트랙트를 작성하여 블록체인에 기록하는 과정을 순차적으로 도시한 흐름도이다. 도 5를 참조하면, 이벤트 주최자는 경품의 종류, 지급날짜 및 지급 정보, 제세 공과금 관련 정보, 난수 생성기를 포함하는 스마트 컨트랙트를 작성한다(단계 500). 스마트 컨트랙트를 이벤트 주최자의 개인키로 서명한 후, 사전 설정된 작업 증명 과정(PoW)을 거쳐 블록을 생성한다(단계 510), 다음, 상기 스마트 컨트랙트를 포함하는 블록을 블록체인에 기록하여 추가함으로써, 블록체인 네트워크를 구성하는 노드들이 공유하게 된다(단계 520). 5 is a flowchart sequentially illustrating a process in which an event organizer writes a smart contract including event-related information and records it in a block chain in a prize lottery event management system according to a preferred embodiment of the present invention. Referring to FIG. 5 , the event organizer creates a smart contract including the type of prize, payment date and payment information, tax and utility related information, and a random number generator (step 500). After signing the smart contract with the private key of the event organizer, a block is created through a preset proof-of-work process (PoW) (step 510), and then, by adding the block including the smart contract to the block chain by adding it to the block chain The nodes constituting the chain network are shared (step 520).

이하, 도 6을 참조하여 본 발명에 따른 경품 추첨 이벤트 관리 시스템에 있어서, 회원 노드가 경품 추첨 이벤트에 응모하여 난수를 발급받아 블록체인에 기록하는 과정을 설명한다. Hereinafter, in the prize lottery event management system according to the present invention, with reference to FIG. 6, a process in which a member node applies for a prize lottery event, receives a random number, and records it in the block chain will be described.

도 6은 본 발명의 바람직한 실시예에 따른 경품 추첨 이벤트 관리 시스템에 있어서, 회원 노드가 경품 추첨 이벤트에 응모하여 블록체인에 기록하는 과정을 순차적으로 도시한 흐름도이다. 도 6을 참조하면, 경품 추첨 이벤트에 응모하고자 하는 회원 노드는 프라이빗 블록체인 네트워크에 참여한 후 스마트 컨트랙트를 호출하고(단계 600), 스마트 컨트랙트를 통해 경품의 종류, 수량, 지급 방식 등을 선택하고, 난수 생성기를 통해 인증 기관으로부터 난수를 발급받아 트랜잭션에 추가한다(단계 610).6 is a flowchart sequentially illustrating a process in which a member node applies for a prize lottery event and records it in a block chain in the prize lottery event management system according to a preferred embodiment of the present invention. Referring to Figure 6, a member node who wants to apply for a prize lottery event calls a smart contract after participating in the private blockchain network (step 600), and selects the type, quantity, payment method, etc. of the prize through the smart contract, A random number is issued from the certification authority through the random number generator and added to the transaction (step 610).

회원 노드는 상기 트랜잭션을 자신의 개인키로 서명한 후 프라이빗 블록체인 네트워크에 전파하고(단계 620), 작업 증명(PoW) 과정을 거쳐 트랜잭션에 대한 블록을 생성하고 해당 블록을 네트워크에 전파하며(단계 630), 각 노드들이 블록을 검증하고(단계 640), 과반수 이상의 노드들이 해당 블록에 대하여 승인하면(단계 650), 각 노드들은 상기 승인된 블록을 블록체인에 기록하게 되고 그 결과 모든 노드들이 해당 블록을 공유할 수 있게 된다(단계 660).The member node signs the transaction with its private key and then propagates it to the private blockchain network (step 620), creates a block for the transaction through a proof-of-work (PoW) process, and propagates the block to the network (step 630). ), each node verifies the block (step 640), and when more than half of the nodes approve the block (step 650), each node records the approved block in the block chain, and as a result, all nodes can be shared (step 660).

이상에서 본 발명에 대하여 그 바람직한 실시예를 중심으로 설명하였으나, 이는 단지 예시일 뿐 본 발명을 한정하는 것이 아니며, 본 발명이 속하는 분야의 통상의 지식을 가진 자라면 본 발명의 본질적인 특성을 벗어나지 않는 범위에서 이상에 예시되지 않은 여러 가지의 변형과 응용이 가능함을 알 수 있을 것이다. 그리고, 이러한 변형과 응용에 관계된 차이점들은 첨부된 청구 범위에서 규정하는 본 발명의 범위에 포함되는 것으로 해석되어야 할 것이다. In the above, the present invention has been described with respect to the preferred embodiment thereof, but this is merely an example and does not limit the present invention, and those of ordinary skill in the art to which the present invention pertains without departing from the essential characteristics of the present invention. It will be appreciated that various modifications and applications not exemplified above in the scope are possible. And, the differences related to these modifications and applications should be interpreted as being included in the scope of the present invention defined in the appended claims.

1 : 경품 추첨 이벤트 관리 시스템
10 : 인증 기관 노드
20 : 이벤트 주최자 노드
30 : 회원 노드
1: Prize lottery event management system
10 : Certificate Authority Node
20 : Event Organizer Node
30: member node

Claims (10)

인증기관의 단말기, 이벤트 주최자의 단말기 및 회원 단말기들이 각각 노드로서 참가하는 프라이빗 블록체인 네트워크(Private Blockchain Network)를 구성하고,
상기 이벤트 주최자 노드는 이벤트/경품 선택기 및 난수 생성기를 기록한 스마트 컨트랙트를 생성하여 블록체인에 기록하는 것을 특징으로 하며,
상기 회원 노드는, 스마트 컨트랙트의 경품 선택기를 통해 경품을 선택하고, 스마트 컨트랙트의 난수 생성기를 통해 난수를 발급받고, 상기 발급된 난수를 블록의 형태로 블록체인에 기록하여, 이벤트에 응모하는 것을 특징으로 하며,
상기 이벤트 주최자 노드는 사전 설정된 경품 추첨 상태가 되면, 스마트 컨트랙트의 난수 생성기를 통해 난수를 생성하고, 상기 생성된 난수와 일치하는 난수를 블록체인에 기록한 회원 노드를 당첨자로 선택하는 것을 특징으로 하며,
이벤트 참가 신청한 회원 노드인 이벤트 응모 노드는 자신의 공개키를 이용하여 스마트 컨트랙트의 난수 생성기를 열고,
상기 스마트 컨트랙트의 난수 생성기는, 인증기관으로부터 난수 시드의 발급 요청이 발생되면, 스마트 컨트랙트가 난수 시드(Seed)를 생성하여 인증 기관 노드에 발급하는 것을 특징으로 하며,
상기 인증 기관 노드는 스마트 컨트랙트로부터 발급된 난수 시드를 이용하여 난수를 생성하여 이벤트 응모 노드에게 제공하는 것을 특징으로 하는 블록체인을 기반으로 한 경품 추첨 이벤트 관리 시스템.
Configure a private blockchain network in which the terminal of the certification authority, the terminal of the event organizer, and member terminals participate as nodes, respectively,
The event organizer node creates a smart contract that records the event / prize selector and random number generator and records it in the block chain,
The member node selects a prize through the gift selector of the smart contract, receives a random number through the random number generator of the smart contract, records the issued random number in the block chain in the form of a block, and applies for the event with
The event organizer node generates a random number through the random number generator of the smart contract when the preset prize lottery status is reached, and selects a member node that records the random number that matches the generated random number in the block chain as the winner.
The event entry node, which is a member node that has applied for event participation, uses its public key to open the random number generator of the smart contract,
The random number generator of the smart contract is characterized in that when a request for issuing a random number seed is generated from a certification authority, the smart contract generates a random number seed and issues it to the certification authority node,
The authentication authority node generates a random number using the random number seed issued from the smart contract and provides it to the event entry node.
제1항에 있어서, 상기 스마트 컨트랙트의 경품 선택기는,
이벤트 정보 및 경품 정보를 포함하고,
회원 노드로부터 이벤트 참가 신청되고 경품이 선택되면, 이벤트 응모 노드 정보, 이벤트 참가 신청 정보 및 경품 선택 정보를 포함하는 블록을 생성하여 블록체인에 기록하는 것을 특징으로 하는 블록체인을 기반으로 한 경품 추첨 이벤트 관리 시스템.
According to claim 1, wherein the prize selector of the smart contract,
Including event information and prize information,
When an event participation application is applied for and a prize is selected from a member node, a block chain-based prize lottery event characterized in that a block including event entry node information, event participation application information, and prize selection information is created and recorded in the block chain management system.
삭제delete 제1항에 있어서, 상기 인증 기관 노드는 임의의 문자열을 생성하고, 상기 생성된 문자열과 난수 시드의 발급 요청을 포함하는 블록을 생성하여 블록체인에 기록하고,
스마트 컨트랙트는 인증 기관 노드가 생성한 문자열과 난수 시드 발급 요청을 포함하는 블록이 생성된 시간을 포함하는 메시지를 생성하고,
이벤트 응모 노드는 상기 생성된 메시지를 개인키로 서명하고,
스마트 컨트랙트는 상기 서명된 메시지의 유효성을 검증하고, 유효성이 검증되면 난수 시드를 생성하여 인증 기관 노드에 발급하는 것을 특징으로 하는 블록체인을 기반으로 한 경품 추첨 이벤트 관리 시스템.
The method of claim 1, wherein the certification authority node generates a random string, creates a block including the generated string and a request for issuing a random number seed, and records it in the block chain;
The smart contract generates a message containing the string generated by the certification authority node and the time when the block containing the request to issue a random number seed was created,
The event entry node signs the generated message with a private key,
The smart contract verifies the validity of the signed message, and when the validity is verified, a random number seed is generated and issued to the certification authority node.
제1항에 있어서, 상기 이벤트 주최자 노드는,
사전 설정된 이벤트 응모자의 개수가 충족되거나 사전 설정된 시간이 만료되면, 사전 설정된 경품 추첨 상태가 된 것으로 판단하고, 스마트 컨트랙트의 난수 생성기를 통해 난수를 생성하고, 상기 생성된 난수와 동일한 난수를 블록체인에 기록한 회원 노드를 당첨자로 선택하는 것을 특징으로 하는 블록체인을 기반으로 한 경품 추첨 이벤트 관리 시스템.
According to claim 1, wherein the event organizer node,
When the preset number of event entrants is satisfied or the preset time expires, it is determined that the preset prize lottery status has been reached, a random number is generated through the random number generator of the smart contract, and the same random number as the generated random number is stored in the blockchain. A prize lottery event management system based on blockchain, characterized in that the recorded member node is selected as the winner.
제1항에 있어서, 상기 회원 단말기는,
이벤트 주최자 노드로부터 응모권을 제공받고, 상기 응모권의 정보 및 회원 정보를 토대로 하여 상기 인증 기관 노드로부터 인증되면, 인증 기관 노드로부터 개인키, 공개키를 지급받고 프라이빗 블록체인 네트워크의 노드로 참가하는 것을 특징으로 하는 블록체인을 기반으로 한 경품 추첨 이벤트 관리 시스템.
According to claim 1, wherein the member terminal,
When an entry ticket is provided from the event organizer node and authenticated by the certification authority node based on the information on the entry ticket and member information, a private key and a public key are paid from the certification authority node and participate as a node of a private blockchain network A prize lottery event management system based on blockchain.
인증기관의 단말기, 이벤트 주최자의 단말기 및 회원 단말기들이 각각 노드로서 참가하는 프라이빗 블록체인 네트워크(Private Blockchain Network)를 이용한 경품 추첨 방법에 있어서,
상기 이벤트 주최자 노드가 이벤트/경품 선택기 및 난수 생성기를 기록한 스마트 컨트랙트를 생성하여 블록체인에 기록하는 단계;
상기 회원 노드가, 스마트 컨트랙트의 이벤트/경품 선택기를 통해 이벤트 참가 신청 및 경품 선택을 하여 이벤트 응모 노드가 되고, 이벤트 응모 노드가 스마트 컨트랙트의 난수 생성기를 통해 난수를 발급받고, 상기 발급된 난수를 블록의 형태로 블록체인에 기록하는 단계;
사전 설정된 경품 추첨 상태가 되면, 상기 이벤트 주최자 노드가, 스마트 컨트랙트의 난수 생성기를 통해 난수를 생성하고, 상기 생성된 난수와 동일한 난수를 블록체인에 기록한 회원 노드를 당첨자로 선택하는 단계;
를 구비하고,
상기 회원 노드가 난수를 블록체인에 기록하는 단계는,
이벤트 응모하고자 하는 노드가 자신의 공개키를 이용하여 스마트 컨트랙트의 난수 생성기를 여는 단계;
상기 스마트 컨트랙트의 난수 생성기는, 인증기관으로부터 발생된 난수 시드 발급 요청에 따라, 스마트 컨트랙트가 난수 시드(Seed)를 생성하여 인증 기관 노드에 발급하는 단계;
상기 인증 기관 노드가 스마트 컨트랙트로부터 발급된 난수 시드를 이용하여 난수를 생성하여 이벤트 참가 신청 노드에게 제공하는 단계;를 구비하는 것을 특징으로 하는 블록체인을 기반으로 한 온라인 이벤트 경품 추첨 방법.
In the prize lottery method using a private blockchain network in which a terminal of a certification authority, a terminal of an event organizer, and member terminals participate as nodes, respectively,
generating, by the event organizer node, a smart contract in which an event/gift selector and a random number generator are recorded and recording it in the blockchain;
The member node becomes an event entry node by applying for event participation and selecting a prize through the event/gift selector of the smart contract, the event entry node receives a random number through the random number generator of the smart contract, and blocks the issued random number recording on the blockchain in the form of;
selecting, by the event organizer node, as a winner, when the preset prize lottery state is reached, the event organizer node generates a random number through a random number generator of a smart contract, and records the same random number as the generated random number in the block chain;
to provide
The step of the member node recording the random number in the block chain,
A node that wants to apply for an event uses its public key to open a random number generator of the smart contract;
The random number generator of the smart contract may include, in response to a request for issuing a random number seed generated by a certification authority, the smart contract generating a random number seed and issuing it to a certification authority node;
and the authentication authority node generating a random number using the random number seed issued from the smart contract and providing it to the event participation application node.
제7항에 있어서, 상기 스마트 컨트랙트의 경품 선택기는,
이벤트 정보 및 경품 정보를 포함하고,
회원 노드로부터 이벤트 참가 신청되고 경품이 선택되면, 이벤트 참가 신청 정보 및 경품 선택 정보를 포함하는 블록을 생성하여 블록체인에 기록하는 것을 특징으로 하는 블록체인을 기반으로 한 경품 추첨 방법.
The method of claim 7, wherein the prize selector of the smart contract,
Including event information and prize information,
A block chain-based prize lottery method, characterized in that when an event participation application is applied for and a prize is selected from a member node, a block including event participation application information and prize selection information is created and recorded in the block chain.
삭제delete 제7항에 있어서, 스마트 컨트랙트가 난수 시드를 생성하는 단계는,
상기 인증 기관 노드가 임의의 문자열을 생성하고, 상기 생성된 문자열과 난수 시드 발급 요청을 포함하는 블록을 생성하여 블록체인에 기록하고,
스마트 컨트랙트가 인증 기관 노드가 생성한 문자열과 난수 시드 발급 요청을 포함하는 블록이 블록체인에 기록된 시간을 포함하는 메시지를 생성하고,
이벤트 참가 신청 노드가 상기 생성된 메시지를 개인키로 서명하고,
스마트 컨트랙트가 상기 서명된 메시지의 유효성을 검증하고, 유효성이 검증되면 난수 시드를 생성하여 인증 기관 노드에 발급하는 것을 특징으로 하는 블록체인을 기반으로 한 경품 추첨 방법.
The method of claim 7, wherein the smart contract generating a random number seed comprises:
The certification authority node generates a random string, creates a block including the generated string and a request for issuing a random number seed, and records it in the block chain;
The smart contract generates a message containing the string generated by the certification authority node and the time the block containing the request to issue a random number seed was recorded on the blockchain,
The event participation application node signs the generated message with the private key,
A method for lottery based on a block chain, characterized in that the smart contract verifies the validity of the signed message, and when the validity is verified, a random number seed is generated and issued to the certification authority node.
KR1020190100301A 2019-08-16 2019-08-16 Prize-winning event management system using blockchain network and method thereof KR102262047B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190100301A KR102262047B1 (en) 2019-08-16 2019-08-16 Prize-winning event management system using blockchain network and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190100301A KR102262047B1 (en) 2019-08-16 2019-08-16 Prize-winning event management system using blockchain network and method thereof

Publications (2)

Publication Number Publication Date
KR20210020606A KR20210020606A (en) 2021-02-24
KR102262047B1 true KR102262047B1 (en) 2021-06-09

Family

ID=74689260

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190100301A KR102262047B1 (en) 2019-08-16 2019-08-16 Prize-winning event management system using blockchain network and method thereof

Country Status (1)

Country Link
KR (1) KR102262047B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20240033845A (en) 2022-09-06 2024-03-13 이원익 Entertainment Platform Management System by NFT Issuance Based on Blockchain And Management Method by the Same

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101928087B1 (en) * 2018-01-03 2019-02-26 한국조폐공사 Method for managing on-line lottery based on blockchain and server using the same

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070070329A (en) * 2005-12-29 2007-07-04 조달현 System web search engines combination a premium and event
KR101887964B1 (en) 2017-04-28 2018-08-13 주식회사 더블체인 Blockchain core server having security ability based on quantum random number, blockchain security method and electronic cash exchange system
KR102525157B1 (en) * 2017-12-12 2023-04-24 포항공과대학교 산학협력단 Apparatus and Methods for Verifiable Lottery

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101928087B1 (en) * 2018-01-03 2019-02-26 한국조폐공사 Method for managing on-line lottery based on blockchain and server using the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20240033845A (en) 2022-09-06 2024-03-13 이원익 Entertainment Platform Management System by NFT Issuance Based on Blockchain And Management Method by the Same

Also Published As

Publication number Publication date
KR20210020606A (en) 2021-02-24

Similar Documents

Publication Publication Date Title
CN110505239B (en) Information processing method and device based on block chain network and electronic equipment
US20220366401A1 (en) Rapid distributed consensus on blockchain
JP7181232B2 (en) Blockchain for general computation
EP3896638A1 (en) Distributed transaction propagation and verification system
CN109155036B (en) System and method for controlling asset-related actions via blockchain
CN111066283A (en) System and method for communicating, storing and processing data provided by entities on a blockchain network
CN110537355A (en) Consensus based on secure blockchains
KR20180115779A (en) How to Implement a Block Chain for Controlling and Distributing Digital Content
CN110585715A (en) Game data processing method, device, equipment and storage medium based on block chain
CN110310115A (en) A method of realizing that distributed account book is extending transversely based on fragment mechanism
CN110427782A (en) A kind of random digit generation method based on block chain
CN110298641B (en) Rule updating method and device for block chain, block chain node and network
CN115918030A (en) Fair demonstrable game using blockchains
CN110912705A (en) Distributed electronic voting method and system based on block chain
KR20220122994A (en) Proveably fair games using blockchain
Jia et al. Delottery: a novel decentralized lottery system based on blockchain technology
KR102262047B1 (en) Prize-winning event management system using blockchain network and method thereof
CN113407996A (en) Distributed account book autonomous controllable privacy protection system and cluster architecture thereof
Clark et al. Research perspectives and challenges for bitcoin and cryptocurrencies
DE102022107718A1 (en) Issuing a digital credential for an entity
Huynh et al. Eunicert: ethereum based digital certificate verification system
TW202040486A (en) Computer implemented method and system for pseudo-random data generation
Alves et al. On the use of new blockchain-based technologies for securely distributing data
CN112734455B (en) Method, device and equipment for generating prize exchanging result and readable storage medium
JP7211437B2 (en) RANDOM NUMBER GENERATING SYSTEM AND RANDOM NUMBER GENERATING METHOD

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant