KR20210106104A - System for providing event based on blockchain - Google Patents

System for providing event based on blockchain Download PDF

Info

Publication number
KR20210106104A
KR20210106104A KR1020200020814A KR20200020814A KR20210106104A KR 20210106104 A KR20210106104 A KR 20210106104A KR 1020200020814 A KR1020200020814 A KR 1020200020814A KR 20200020814 A KR20200020814 A KR 20200020814A KR 20210106104 A KR20210106104 A KR 20210106104A
Authority
KR
South Korea
Prior art keywords
information
event
participation
unique
user
Prior art date
Application number
KR1020200020814A
Other languages
Korean (ko)
Other versions
KR102360329B1 (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 KR1020200020814A priority Critical patent/KR102360329B1/en
Publication of KR20210106104A publication Critical patent/KR20210106104A/en
Application granted granted Critical
Publication of KR102360329B1 publication Critical patent/KR102360329B1/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
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q2220/00Business processing using cryptography
    • G06Q2220/10Usage protection of distributed data files
    • H04L2209/38

Landscapes

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

Abstract

The present invention relates to a method for operating a node on a blockchain network to manage in a distributed manner a ledger recording participation information on an event participant. The node operation method includes: a step of acquiring from a first user's electronic device first encryption information encrypting first participation information indicating information of the first user participating in a first event by a first participation method; a step of generating a first unique code corresponding to the first participation information when the first encryption information is validated and adding to the ledger a first block including first unique information encrypting the first unique code; a step of selecting a selector of the first event from a predetermined selection method executed based on a unique code corresponding to each participation information with respect to the first event; and a step of transmitting to the first user's electronic device selection result information on the first event including information on the unique code of the selector and information on whether the first user is selected.

Description

블록체인에 기반하여 이벤트를 제공하는 시스템{SYSTEM FOR PROVIDING EVENT BASED ON BLOCKCHAIN}A system that provides events based on blockchain {SYSTEM FOR PROVIDING EVENT BASED ON BLOCKCHAIN}

블록체인에 기반하여 이벤트를 제공하는 기술에 관한 것이다.It is about technology that provides events based on blockchain.

최근 인터넷의 발달로 인해 웹 상의 여러 사이트에서 이용자에게 경품 추첨 이나 이벤트추첨 등의 행사를 실시하는 경우가 많다. 이러한 행사에서는 특정 순번의 가입자 또는 구매자 등을 뽑거나, 해당 사이트에서 임의로 지정하는 난수를 이용자의 고유번호로 지정한 후 추첨을 통해 선정자를 선정하는 등의 방식을 선택하고 있다.Due to the recent development of the Internet, various websites on the web often hold events such as prize lottery or event lottery to users. At these events, subscribers or purchasers of a specific order are selected, or a random number randomly designated by the site is designated as the unique number of the user, and then the selector is selected through a lottery.

이벤트 선정 제공과 관련하여, 공개특허문헌 10-204856호는 온라인 이벤트 당첨권 제공 시스템을 개시한다.In relation to event selection and provision, Patent Publication No. 10-204856 discloses an online event winning ticket providing system.

이벤트의 선정자를 보다 투명하게 선정하고, 선정자 정보가 위조되지 않게 관리될 필요성이 있다.There is a need to more transparently select event selectors and to manage selector information so that it is not forged.

이벤트에 참여한 사용자에게 고유 코드를 부여하고, 고유 코드를 블록체인에 기반하여 관리함으로써, 사용자의 참여 정보의 무결성을 담보하고자 한다.By giving unique codes to users who participated in the event and managing the unique codes based on the block chain, we want to guarantee the integrity of the user's participation information.

또한, 블록체인에 기록된 사용자의 고유 코드에 기반하여 이벤트의 선정자를 보다 공정하게 선정하고자 한다.In addition, based on the user's unique code recorded in the block chain, we want to select the event selector more fairly.

일측에 따르면, 이벤트에 참여한 참여자의 참여 정보를 기록한 원장을 분산하여 관리하는 블록체인의 네트워크 상의 노드의 동작 방법에 있어서, 제1 사용자의 전자 장치로부터, 상기 제1 사용자가 제1 참여 방식에 따라 제1 이벤트를 참여한 정보를 나타내는 제1 참여 정보가 암호화된, 제1 암호화 정보를 획득하는 단계; 상기 제1 암호화 정보의 유효성이 검증되면, 상기 제1 참여 정보에 대응되는 제1 고유 코드를 생성하고, 상기 제1 고유 코드가 암호화된 제1 고유 정보가 포함된 제1 블록을 상기 원장에 추가하는 단계; 상기 제1 이벤트에 대한 복수의 참여 정보 각각에 대응되는 고유 코드에 기초하여 실행된 투표로부터, 상기 제1 이벤트의 선정자를 선정하는 단계; 및 상기 선정자의 고유 코드의 정보 및 상기 제1 사용자의 선정 여부의 정보를 포함하는 상기 제1 이벤트의 선정 정보를 상기 제1 사용자의 전자 장치로 전송하는 단계를 포함하는, 노드의 동작 방법이 제공된다.According to one side, in a method of operating a node on a network of a blockchain that distributes and manages a ledger that records participation information of participants participating in an event, from an electronic device of a first user, the first user according to the first participation method obtaining first encrypted information in which the first participation information indicating the information participating in the first event is encrypted; When the validity of the first encryption information is verified, a first unique code corresponding to the first participation information is generated, and a first block including the first unique information encrypted with the first unique code is added to the ledger to do; selecting a selector of the first event from a vote executed based on a unique code corresponding to each of a plurality of participation information for the first event; and transmitting, to the electronic device of the first user, selection information of the first event including information on the unique code of the selector and information on whether the first user has been selected. do.

다른 일측에 따르면, 상기 노드의 동작 방법을 노드에서 실행시키기 위해 매체에 저장된 프로그램이 제공된다.According to another side, there is provided a program stored in the medium to execute the method of operation of the node in the node.

또 다른 일측에 따르면, 제1 이벤트에 참여하는 제1 참여 방식에 따라, 상기 제1 이벤트를 참여하는 단계; 사용자의 개인키로 상기 제1 이벤트를 참여한 정보를 나타내는 제1 참여 정보가 암호화된, 제1 암호화 정보를 획득하는 단계; 상기 제1 암호화 정보를 소정 이벤트에 참여한 참여자의 참여 정보를 기록한 원장을 분산하여 관리하는 블록체인의 네트워크 상의 제1 노드로 전송하는 단계; 상기 제1 노드로부터, 상기 제1 참여 정보에 대응되는 제1 고유 코드가 암호화된 제1 고유 정보를 수신하는 단계 - 상기 제1 고유 정보는 상기 제1 이벤트에 대한 선정자 선정을 위한 투표가 완료되고 복호화 가능하도록 설정됨-; 상기 제1 이벤트의 복수의 고유 코드들에 대한 투표를 입력한 사용자 정보를 수신하는 단계; 및 상기 투표로부터 선정된 상기 선정자의 고유 코드의 정보 및 상기 사용자의 선정 여부의 정보를 포함하는, 제1 이벤트의 선정 정보를 상기 제1 노드로부터 수신하는 단계를 포함하는, 전자 장치의 동작 방법이 제공된다.According to another side, according to the first participation method of participating in the first event, participating in the first event; obtaining first encrypted information in which first participation information indicating information participating in the first event is encrypted with the user's private key; transmitting the first encryption information to a first node on a network of a blockchain that distributes and manages a ledger recording participation information of participants participating in a predetermined event; Receiving, from the first node, first unique information in which a first unique code corresponding to the first participation information is encrypted - The first unique information is completed voting for selecting a selector for the first event set to be decryptable-; receiving user information that has entered a vote for a plurality of unique codes of the first event; and receiving, from the first node, selection information of a first event, including information on the unique code of the selector selected from the voting and information on whether the user is selected, from the first node. is provided

또 다른 일측에 따르면, 상기 전자 장치의 동작 방법을 전자 장치에서 실행시키기 위해 매체에 저장된 프로그램이 제공된다.According to another aspect, there is provided a program stored in a medium for executing the method of operating the electronic device in the electronic device.

이벤트에 참여한 사용자에게 고유 코드를 부여하고, 고유 코드를 블록체인에 기반하여 관리함으로써, 사용자의 참여 정보의 무결성을 담보할 수 있다.By giving a unique code to the user who participated in the event and managing the unique code based on the block chain, the integrity of the user's participation information can be guaranteed.

또한, 블록체인에 기록된 사용자의 고유 코드에 기반하여 이벤트의 선정자를 보다 공정하게 선정할 수 있다.In addition, based on the user's unique code recorded in the block chain, the selector of the event can be selected more fairly.

본 발명은, 다음의 자세한 설명과 그에 수반되는 도면들의 결합으로 쉽게 이해될 수 있으며, 참조 번호(reference numerals)들은 구조적 구성요소(structural elements)를 의미한다.
도 1은 일실시예에 따라, 블록체인에 기반하여, 이벤트에 선정될 선정자를 선정하는 서버, 전자 장치 및 노드 간의 동작을 설명하기 위한 도면이다.
도 2는 일실시예에 따라, 이벤트에 참여한 참여자의 참여 정보를 기록한 원장을 분산하여 관리하는 블록체인의 네트워크 상의 노드의 동작을 설명하기 위한 흐름도이다.
도 3은 일실시예에 따라, 전자 장치에서 사용자가 소정 이벤트에 참여하는 과정을 설명하기 위한 도면이다.
도 4는 일실시예에 따라, 노드에서 제1 참여 정보의 유효성을 검증하고, 제1 참여 정보에 대응되는 제1 고유 정보를 블록에 저장하는 과정을 설명하기 위한 도면이다.
도 5는 일실시예에 따라, 제1 참여 정보를 암호화하는 과정 및 제1 고유 정보를 암호화하는 과정을 설명하기 위한 도면이다.
도 6은 일실시예에 따라, 전자 장치에서 사용자가 이벤트의 선정 결과를 확인하는 과정을 설명하기 위한 도면이다.
도 7은 일실시예에 따라, 블록 및 블록체인의 구조를 설명하기 위한 도면이다.
도 8은 일실시예에 따라, 소정 방식에 따라 이벤트에 참여하고, 블록체인 기반의 이벤트 선정자 투표를 진행하고, 선정 결과를 제공 받는 전자 장치의 동작을 설명하기 위한 흐름도이다.
도 9는 일실시예에 따라, 노드의 구성을 도시한 블록도이다.
BRIEF DESCRIPTION OF THE DRAWINGS The present invention can be easily understood by the following detailed description and combination of the accompanying drawings, in which reference numerals mean structural elements.
1 is a diagram for explaining an operation between a server, an electronic device, and a node for selecting a selector to be selected for an event based on a block chain, according to an embodiment.
2 is a flowchart for explaining the operation of a node on a network of a blockchain that distributes and manages a ledger that records participation information of participants participating in an event, according to an embodiment.
3 is a diagram for describing a process in which a user participates in a predetermined event in an electronic device, according to an exemplary embodiment.
4 is a diagram for explaining a process of verifying the validity of the first participation information in a node and storing the first unique information corresponding to the first participation information in a block, according to an embodiment.
5 is a diagram for explaining a process of encrypting first participation information and a process of encrypting first unique information, according to an embodiment.
6 is a diagram for explaining a process in which a user confirms a result of selecting an event in an electronic device, according to an exemplary embodiment.
7 is a diagram for explaining the structure of a block and a block chain, according to an embodiment.
8 is a flowchart illustrating an operation of an electronic device that participates in an event according to a predetermined method, conducts a block chain-based event selector vote, and receives a selection result, according to an embodiment.
9 is a block diagram illustrating a configuration of a node, according to an embodiment.

이하에서는 도면을 참조하여 다양한 실시예들을 상세히 설명한다. 이하에서 설명되는 실시예들은 여러 가지 상이한 형태로 변형되어 실시될 수도 있다. 실시예들의 특징을 보다 명확히 설명하기 위하여 이하의 실시예들이 속하는 기술분야에서 통상의 지식을 가진 자에게 널리 알려져 있는 사항들에 관해서 자세한 설명은 생략한다.Hereinafter, various embodiments will be described in detail with reference to the drawings. The embodiments described below may be modified and implemented in various different forms. In order to more clearly describe the characteristics of the embodiments, detailed descriptions of matters widely known to those of ordinary skill in the art to which the following embodiments belong will be omitted.

한편, 본 명세서에서 어떤 구성이 다른 구성과 "연결"되어 있다고 할 때, 이는 '직접적으로 연결'되어 있는 경우뿐 아니라, '그 중간에 다른 구성을 사이에 두고 연결'되어 있는 경우도 포함한다. 또한, 어떤 구성이 다른 구성을 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한, 그 외 다른 구성을 제외하는 것이 아니라 다른 구성들 더 포함할 수도 있다는 것을 의미한다.On the other hand, in the present specification, when a component is "connected" with another component, it includes not only a case of 'directly connected', but also a case of 'connected with another component in the middle'. In addition, when a component "includes" another component, it means that other components may be further included, rather than excluding other components, unless otherwise stated.

또한, 본 명세서에서 사용되는 '제 1' 또는 '제 2' 등과 같이 서수를 포함하는 용어는 다양한 구성 요소들을 설명하는데 사용할 수 있지만, 상기 구성 요소들은 상기 용어들에 의해 한정되어서는 안 된다. 상기 용어들은 하나의 구성 요소를 다른 구성 요소로부터 구별하는 목적으로만 사용된다. Also, terms including an ordinal number such as 'first' or 'second' used in this specification may be used to describe various elements, but the elements should not be limited by the terms. The above terms are used only for the purpose of distinguishing one component from another.

본 명세서에서, "블록체인"은 무결성을 확보하고 유지하기 위해 순서에 따라 연결된 블록들이 서비스의 이용 내역 정보를 암호화 기법과 보안기술을 이용해 협상하는 알고리즘으로 구성된 소프트웨어 요소를 활용하는 원장(ledger)의 분산 P2P (Peer to Peer)시스템을 의미할 수 있다. 여기서, 분산 P2P 시스템은 분산 시스템의 특수한 형태일 수 있다.In this specification, "blockchain" refers to a ledger that utilizes a software element consisting of an algorithm in which blocks connected in order in order to secure and maintain integrity negotiate service usage history information using encryption and security technology. It may refer to a distributed P2P (Peer to Peer) system. Here, the distributed P2P system may be a special type of distributed system.

도 1은 일실시예에 따라, 블록체인에 기반하여, 이벤트에 선정될 선정자를 선정하는 서버, 전자 장치 및 노드 간의 동작을 설명하기 위한 도면이다.1 is a diagram for explaining an operation between a server, an electronic device, and a node for selecting a selector to be selected for an event based on a block chain, according to an embodiment.

도 1의 블록 110은 서버(30)에서 제1 이벤트에 대한 서비스를 생성하고, 제1 이벤트에 대한 서비스를 배포하는 과정을 설명하기 위한 블록이다. 도 1의 단계 S111에서, 서버(30)는 제1 이벤트에 대한 서비스를 생성할 수 있다. 예를 들면, 서버(30)는, 제1 이벤트에 대한 내용, 제1 이벤트 선정시에 제공될 서비스, 제1 이벤트에 참여하는 방식 등을 포함하는 제1 이벤트의 정보를 획득할 수 있다. 도 1의 단계 S112에서, 서버(30)는 제1 이벤트에 대한 서비스를 소정 애플리케이션을 통해 배포할 수 있다.Block 110 of FIG. 1 is a block for explaining a process of generating a service for the first event in the server 30 and distributing the service for the first event. In step S111 of FIG. 1 , the server 30 may generate a service for the first event. For example, the server 30 may acquire information on the first event including details on the first event, a service to be provided when the first event is selected, a method of participating in the first event, and the like. In step S112 of FIG. 1 , the server 30 may distribute a service for the first event through a predetermined application.

도 1의 블록 120은 전자 장치(20)에서 사용자가 제1 이벤트에 참여하는 과정을 설명하기 위한 블록이다. 도 1의 단계 S121에서, 전자 장치(20)는 제1 사용자가 제1 참여 방식에 따라 제1 이벤트를 참여한 정보를 나타내는 제1 참여 정보를 획득할 수 있다. 전자 장치(20)는 제1 참여 정보를 암호화하여 암호화된 제1 암호화 정보를 획득할 수 있다. 예를 들면, 전자 장치(20)는 제1 참여 정보를 제1 사용자의 개인키로 암호화하여, 제1 암호화 정보를 획득할 수 있다.Block 120 of FIG. 1 is a block for explaining a process in which the user participates in the first event in the electronic device 20 . In step S121 of FIG. 1 , the electronic device 20 may obtain first participation information indicating information that the first user participated in the first event according to the first participation method. The electronic device 20 may obtain the encrypted first encryption information by encrypting the first participation information. For example, the electronic device 20 may obtain the first encryption information by encrypting the first participation information with the first user's private key.

여기서, 제1 참여 방식은, 제1 사용자가 무료로 이벤트에 참여하는 참여 방식, 및 제1 사용자가 유료로 이벤트에 참여하는 참여 방식일 수 있다. 예를 들면, 제1 사용자가 무료로 이벤트에 참여하는 참여 방식은, 제1 사용자가 제1 이벤트와 관련된 광고를 시청함으로써 보상 받은 코인, 포인트, 캐쉬, 가상 화폐 등으로 이벤트에 참여하는 방식일 수 있다. 다른 예를 들면, 제1 사용자가 유료로 이벤트에 참여하는 참여 방식은, 제1 사용자가 제1 이벤트와 관련된 아이템을 구매함으로써, 보상 받은 코인, 포인트, 캐쉬, 가상 화폐 등으로 이벤트에 참여하는 방식일 수 있다.Here, the first participation method may be a participation method in which the first user participates in the event for free, and a participation method in which the first user participates in the event for a fee. For example, the participation method in which the first user participates in the event for free may be a method in which the first user participates in the event with coins, points, cash, virtual currency, etc. rewarded by watching an advertisement related to the first event. have. For another example, the participation method in which the first user participates in the event for a fee is a method in which the first user purchases an item related to the first event and participates in the event with rewarded coins, points, cash, virtual currency, etc. can be

단계 S122에서, 전자 장치(20)는 이벤트에 참여한 참여자의 참여 정보를 기록한 원장을 분산하여 관리하는 블록체인의 네트워크 상의 제1 노드(10-1)로 제1 암호화 정보를 전송할 수 있다.In step S122 , the electronic device 20 may transmit the first encryption information to the first node 10 - 1 on a network of a blockchain that distributes and manages a ledger recording participation information of participants participating in the event.

단계 S123에서, 제1 노드(10-1)는 제1 참여 정보가 암호화된 제1 암호화 정보의 유효성을 검증할 수 있다. 유효성 검증 과정은 도 4에서 설명한다. 제1 암호화 정보의 유효성 검증이 완료되면, 제1 노드(10-1)는 제1 참여 정보에 대응되는 제1 고유 코드를 생성할 수 있다. 여기서, 제1 고유 코드는, 제1 사용자가 제1 이벤트에 참여함으로써, 부여된 고유 코드일 수 있다. 예를 들면, 제1 고유 코드는, 미리 설정된 숫자들의 범위 내의 제1 숫자일 수 있다. 제1 노드(10-1)는 제1 고유 코드를 암호화하고, 암호화된 제1 고유 정보가 포함된 제1 블록을 원장에 추가할 수 있다. 여기서, 제1 고유 정보는, 제1 이벤트에 대한 선정자의 선정이 완료되고 복호화 가능하도록 설정될 수 있다. 단계 S124에서, 제1 노드(10-1)는 전자 장치(20)로 제1 고유 정보를 전송할 수 있다.In step S123, the first node 10-1 may verify the validity of the first encryption information in which the first participation information is encrypted. The validation process will be described with reference to FIG. 4 . When the validation of the first encryption information is completed, the first node 10-1 may generate a first unique code corresponding to the first participation information. Here, the first unique code may be a unique code given by the first user participating in the first event. For example, the first unique code may be a first number within a range of preset numbers. The first node 10 - 1 may encrypt the first unique code and add a first block including the encrypted first unique information to the ledger. Here, the first unique information may be set so that selection of a selector for the first event is completed and decoding is possible. In step S124 , the first node 10 - 1 may transmit the first unique information to the electronic device 20 .

단계 S125에서, 전자 장치(20)는 제1 이벤트에 대한 선정자 선정을 위한 선정 정보를 수신할 수 있다. 예를 들면, 선정 정보는, 투표 정보일 수 있다. 예를 들면, 제1 사용자는 미리 설정된 숫자들의 범위 내에서 소정 숫자를 선택하여 투표를 할 수 있다. 또한, 선정 정보는, 제1 이벤트에 대한 선정자 선정을 위해, 제1 이벤트에 참여한 복수의 사용자들에 대한 평가 정보일 수 있다.In operation S125, the electronic device 20 may receive selection information for selecting a selector for the first event. For example, the selection information may be voting information. For example, the first user may vote by selecting a predetermined number within a range of preset numbers. Also, the selection information may be evaluation information on a plurality of users participating in the first event in order to select a selector for the first event.

단계 S126에서, 전자 장치(20)는 사용자의 선정 정보를 서버(30)로 전송할 수 있다. 단계 S127에서, 전자 장치(20)는 사용자의 선정 정보를 제1 노드(10-1)로 전송할 수 있다. 전자 장치(20)에서 사용자의 선정 정보를 서버(30) 및 제1 노드(10-1)로 전송함으로써, 제1 노드(10-1)는 서버(30)에서 집계된 선정 결과 정보와 제1 노드(10-1)에서 집계된 선정 결과 정보를 비교함으로써, 선정 결과의 신뢰성을 높일 수 있다.In step S126 , the electronic device 20 may transmit the user's selection information to the server 30 . In operation S127 , the electronic device 20 may transmit the user's selection information to the first node 10 - 1 . The electronic device 20 transmits the user's selection information to the server 30 and the first node 10-1, so that the first node 10-1 transmits the selection result information aggregated by the server 30 and the first By comparing the selection result information aggregated in the node 10-1, the reliability of the selection result can be increased.

도 1의 블록 130은 제1 이벤트의 선정자를 선정하고, 선정 정보를 사용자에게 제공하는 과정을 설명하기 위한 블록이다. 단계 S131에서, 서버(30)는 전자 장치(20)로부터 제1 사용자의 선정 정보를 수신할 수 있다. 또한, 서버(30)는 복수의 사용자의 선정 정보를 수신할 수 있다. 서버(30)는 선정 정보를 집계하고, 선정 집계 결과에 기초하여, 선정 결과 정보를 획득할 수 있다. 서버(30)는 선정 결과 정보에 기초하여, 제1 이벤트에 선정된 적어도 하나의 선정자를 선정할 수 있다. 단계 S132에서, 서버(30)는 제1 노드(10-1)로 선정 결과 정보를 전송할 수 있다. 또한, 서버(30)는 이벤트에 참여한 참여자의 참여 정보를 기록한 원장을 분산하여 관리하는 블록체인의 네트워크 상의 노드들로 선정 결과 정보를 전송할 수 있다.Block 130 of FIG. 1 is a block for explaining a process of selecting a selector of the first event and providing selection information to a user. In step S131 , the server 30 may receive the selection information of the first user from the electronic device 20 . Also, the server 30 may receive selection information of a plurality of users. The server 30 may aggregate selection information and acquire selection result information based on the selection aggregation result. The server 30 may select at least one selector selected for the first event based on the selection result information. In step S132 , the server 30 may transmit selection result information to the first node 10 - 1 . In addition, the server 30 may transmit the selection result information to nodes on a network of a blockchain that distributes and manages the ledger that records the participation information of the participants participating in the event.

단계 S133에서, 제1 노드(10-1)는 선정 정보로부터, 제1 이벤트의 선정자를 선정할 수 있다. 예를 들면, 제1 노드(10-1)는 제1 노드(10-1)에서 수집된 제1 이벤트의 선정 정보로부터 선정 결과 정보를 획득할 수 있다. 제1 노드(10-1)는 제1 노드(10-1)에서 획득된 선정 결과 정보 및 서버(30)로부터 획득된 선정 결과 정보를 비교함으로써, 선정 결과 정보를 확인할 수 있다. 제1 노드(10-1)에서 획득된 선정 결과 정보 및 서버(30)로부터 획득된 선정 결과 정보가 일치되면, 제1 노드(10-1)는 선정 결과 정보로부터 제1 이벤트에 선정된 적어도 하나의 선정자를 선정할 수 있다. 단계 S134에서 제1 노드(10-1)는 제1 이벤트의 선정 결과 정보를 전자 장치(20)로 전송할 수 있다.In step S133, the first node 10-1 may select a selector of the first event from the selection information. For example, the first node 10 - 1 may obtain selection result information from the selection information of the first event collected by the first node 10 - 1 . The first node 10 - 1 may check the selection result information by comparing the selection result information obtained from the first node 10 - 1 with the selection result information obtained from the server 30 . When the selection result information obtained from the first node 10-1 and the selection result information obtained from the server 30 match, the first node 10-1 selects at least one selected from the selection result information for the first event. can select a selector of In step S134 , the first node 10 - 1 may transmit information on the selection result of the first event to the electronic device 20 .

단계 S135에서, 전자 장치(20)는 제1 이벤트의 선정 결과 정보를 표시할 수 있다. 제1 이벤트의 선정 결과 정보에는, 제1 이벤트에 선정된 고유 코드의 정보 및 제1 사용자의 제1 고유 코드의 정보가 포함될 수 있다. 한편, 전자 장치(20)는 제1 노드(10-1)로부터 수신된 제1 고유 정보를 복호화하여, 제1 고유 정보로부터 획득된 제1 고유 코드의 정보를 획득할 수 있다. 전자 장치(20)는 제1 이벤트의 선정 결과 정보로부터 획득된 제1 고유 코드의 정보와 제1 고유 정보가 복호화되어 획득된 제1 고유 코드의 정보가 일치하는지를 확인할 수 있다. 전자 장치(20)는 확인 결과를 표시할 수 있다.In step S135 , the electronic device 20 may display information on the selection result of the first event. The selection result information of the first event may include information on the unique code selected for the first event and information on the first unique code of the first user. Meanwhile, the electronic device 20 may decode the first unique information received from the first node 10 - 1 to obtain information on the first unique code obtained from the first unique information. The electronic device 20 may check whether information on the first unique code obtained from the selection result information of the first event matches the information on the first unique code obtained by decoding the first unique information. The electronic device 20 may display the confirmation result.

단계 S136에서, 제1 노드(10-1)는 선정 고유 정보가 포함된 블록을 생성하고, 생성된 블록을 원장에 추가할 수 있다. 제1 이벤트에 대한 선정 정보를 원장에 기록함으로써, 제1 이벤트에 대한 선정 정보의 신뢰성을 높일 수 있다.In step S136, the first node 10-1 may generate a block including selection unique information, and add the generated block to the ledger. By recording the selection information for the first event in the ledger, it is possible to increase the reliability of the selection information for the first event.

도 2는 일실시예에 따라, 이벤트에 참여한 참여자의 참여 정보를 기록한 원장을 분산하여 관리하는 블록체인의 네트워크 상의 노드의 동작을 설명하기 위한 흐름도이다.2 is a flowchart for explaining the operation of a node on a network of a blockchain that distributes and manages a ledger that records participation information of participants participating in an event, according to an embodiment.

도 2를 참고하면, 단계 S210에서, 노드(10)는 제1 사용자의 전자 장치(20)로부터, 제1 사용자가 제1 참여 방식에 따라 제1 이벤트를 참여한 정보를 나타내는 제1 참여 정보가 암호화된, 제1 암호화 정보를 획득할 수 있다.Referring to FIG. 2 , in step S210 , the node 10 encrypts, from the electronic device 20 of the first user, first participation information representing information that the first user participated in the first event according to the first participation method. The first encrypted information can be obtained.

예를 들면, 노드(10)는 제1 사용자의 개인키로 제1 참여 정보에 대응되는 제1 해시값이 암호화된, 제1 암호화 정보를 획득할 수 있다.For example, the node 10 may obtain the first encryption information in which a first hash value corresponding to the first participation information is encrypted with the first user's private key.

예를 들면, 제1 이벤트에 참여하는 참여 방식은, 제1 이벤트와 관련된 적어도 하나의 특정 아이템을 구매하면, 제1 이벤트의 참여권을 부여하는 참여 방식, 제1 이벤트를 주최하는 서비스 제공자와 관련된 광고 보기가 완료되면, 제1 이벤트의 참여권을 부여하는 참여 방식 중 적어도 하나의 방식일 수 있다.For example, the participation method of participating in the first event includes a participation method that grants the right to participate in the first event when at least one specific item related to the first event is purchased, and an advertisement related to a service provider hosting the first event When the viewing is completed, it may be at least one of the participation methods for granting the right to participate in the first event.

단계 S220에서, 노드(10)는 제1 암호화 정보의 유효성이 검증되면, 제1 참여 정보에 대응되는 제1 고유 코드를 생성하고, 제1 고유 코드가 암호화된 제1 고유 정보가 포함된 제1 블록을 원장에 추가할 수 있다.In step S220, when the validity of the first encryption information is verified, the node 10 generates a first unique code corresponding to the first participation information, and the first unique code including the encrypted first unique information Blocks can be added to the ledger.

예를 들면, 제1 암호화 정보의 유효성이 검증되면, 노드(10)는 제1 참여 정보에 대응되는 제1 해시값을, 미리 설정된 고유 코드들 중 제1 고유 코드에 할당할 수 있다. 노드(10)는 제1 해시값을 제1 고유 코드를 암호화하여, 제1 고유 정보를 생성하고, 제1 고유 정보가 포함된 제1 블록을 원장에 추가할 수 있다.For example, when the validity of the first encryption information is verified, the node 10 may allocate a first hash value corresponding to the first participation information to a first unique code among preset unique codes. The node 10 may encrypt the first unique code with the first hash value, generate first unique information, and add the first block including the first unique information to the ledger.

한편, 제1 고유 정보가 포함된 제1 블록이 원장에 추가되면, 노드(10)는 제1 이벤트에 대한 선정자의 선정이 완료되고 복호화 가능하도록 설정된 제1 고유 정보를 제1 사용자의 전자 장치(20)로 전송할 수 있다.On the other hand, when the first block including the first unique information is added to the ledger, the node 10 completes the selection of the selector for the first event and transmits the first unique information set to be decryptable to the first user's electronic device ( 20) can be transmitted.

단계 S230에서, 노드(10)는 제1 이벤트에 대한 복수의 참여 정보 각각에 대응되는 고유 코드에 기초하여 실행된 소정의 선정 방식으로부터, 제1 이벤트의 선정자를 선정할 수 있다.In step S230, the node 10 may select a selector of the first event from a predetermined selection method executed based on a unique code corresponding to each of a plurality of pieces of participation information for the first event.

예를 들면, 소정의 선정 방식은, 소정 투표에 의해 제1 이벤트의 혜택을 받는 선정자를 결정하는 방식, 소정 게임에 의해 제1 이벤트의 혜택을 받는 선정자를 결정하는 방식일 수 있고, 상기 예시에 한정되지 않는다.For example, the predetermined selection method may be a method of determining a selector receiving the benefits of the first event by a predetermined vote, a method of determining a selector receiving the benefit of the first event by a predetermined game, and in the example above not limited

예를 들면, 소정의 선정 방식은, 이벤트에 참여한 복수의 사용자들이 참여하여 이벤트의 혜택을 받는 선정자를 선정하는 방식일 수 있다.For example, the predetermined selection method may be a method in which a plurality of users participating in the event participate and select a selector who receives the benefits of the event.

예를 들면, 노드(10)는 복수의 참여 정보를 발생시킨 복수의 사용자의 전자 장치(20)로부터, 미리 설정된 고유 코드들 중 하나의 코드를 선택하는 투표 정보를 수신할 수 있다. 노드(10)는 투표 정보에 기초하여, 최대로 선택된 선정 고유 코드를 결정하고, 선정 고유 코드를 보유한 제1 이벤트의 선정자를 선정할 수 있다.For example, the node 10 may receive voting information for selecting one code from among preset unique codes from the electronic devices 20 of a plurality of users who have generated a plurality of pieces of participation information. The node 10 may determine the maximum selected selection unique code based on the voting information, and select the selector of the first event having the selection unique code.

단계 S240에서, 노드(10)는 선정자의 고유 코드의 정보 및 제1 사용자의 선정 여부의 정보를 포함하는 제1 이벤트의 선정 결과 정보를 제1 사용자의 전자 장치(20)로 전송할 수 있다.In operation S240 , the node 10 may transmit, to the electronic device 20 of the first user, information on the selection result of the first event including information on the unique code of the selector and information on whether the first user has been selected.

한편, 노드(10)는 선정 고유 코드가 제1 이벤트를 주최하는 서비스 제공자의 개인키로 암호화된, 선정 고유 정보가 포함된 블록을 원장에 추가할 수 있다.On the other hand, the node 10 may add a block including the selection-specific information, in which the selection-specific code is encrypted with the private key of the service provider hosting the first event, to the ledger.

도 3은 일실시예에 따라, 전자 장치에서 사용자가 소정 이벤트에 참여하는 과정을 설명하기 위한 도면이다.3 is a diagram for describing a process in which a user participates in a predetermined event in an electronic device, according to an exemplary embodiment.

도 3의 이미지(310)을 참고하면, 전자 장치(20)에서 사용자는 소정 이벤트를 참여할 수 있는 애플리케이션을 실행할 수 있다. 전자 장치(20)는 애플리케이션에서 제공되는 복수의 이벤트 정보를 표시할 수 있다. 전자 장치(20)는 복수의 이벤트 정보 중에서 제1 이벤트 정보를 선택하는 입력을 수신할 수 있다. 예를 들면, 제1 이벤트는 재즈 패스티벌에서 로얄석 10석을 이용할 사용자 및 재즈 페스티벌에 출연한 아티스트와의 만남 혜택을 제공받을 사용자를 선정하는 것일 수 있다. 도 3의 이미지(310)에 도시된 바와 같이, 사용자가 재즈 페스티벌의 관람권을 구매할 시에, 사용자는 "로얄석 10석 및 출연 아티스트 만남" 이벤트에 자동 참여될 수 있다. 전자 장치(20)에서 "관람권 구매"를 선택하는 입력이 수신되면, 전자 장치(20)는 관람권 구매 및 제1 이벤트의 참여를 위한 다음 화면을 표시할 수 있다.Referring to the image 310 of FIG. 3 , in the electronic device 20 , the user may execute an application for participating in a predetermined event. The electronic device 20 may display a plurality of event information provided by the application. The electronic device 20 may receive an input for selecting first event information from among a plurality of event information. For example, the first event may be to select a user who will use 10 royal seats at a jazz festival and a user who will be provided with the benefit of meeting an artist who has appeared in a jazz festival. As shown in the image 310 of FIG. 3 , when a user purchases a ticket for a jazz festival, the user may automatically participate in an event "10 royal seats and an artist meeting" event. When an input for selecting “purchase ticket” is received from the electronic device 20 , the electronic device 20 may display a next screen for purchasing a ticket and participating in the first event.

도 3의 이미지(320)을 참고하면, 관람권 구매 및 제1 이벤트를 참여할 때, 소정 코인이 필요할 수 있다. 소정 코인은, 애플리케이션에서 사용 가능한 캐시 수단일 수 있다. 사용자가 보유한 소정 코인이 제1 이벤트를 참여하기에 부족한 경우, 전자 장치(20)는 코인의 부족 알림 및 코인 충전 알림을 포함하는 메시지를 표시할 수 있다. 예를 들면, 전자 장치(20)는 " OO 코인이 부족합니다. 코인 충전을 위해 광고 보기나 아이템을 구매 하시겠습니까?"라는 메시지를 표시할 수 있다.Referring to the image 320 of FIG. 3 , a predetermined coin may be required when purchasing a ticket and participating in the first event. A certain coin may be a cash means that can be used in an application. When the predetermined amount of coins owned by the user is insufficient to participate in the first event, the electronic device 20 may display a message including a coin shortage notification and a coin charging notification. For example, the electronic device 20 may display the message "The OO coins are low. Would you like to view advertisements or purchase items to recharge coins?"

이 경우, 전자 장치(20)는 "광고 보기" 아이콘(321) 및 "아이템 구매" 아이콘(322)를 표시할 수 있다. 예를 들면, 사용자가 광고 보기를 완료함으로써, 사용자의 전자 지갑에는 5 코인이 자동으로 충전될 수 있다. 또한, 사용자가 제1 이벤트와 관련된 아이템을 구매함으로써, 사용자의 전자 지갑에는 10 코인이 충전될 수 있다. 제1 이벤트에 참여하기에 충분한 코인이 충전되면, 전자 장치(20)는 제1 이벤트에 참여할 수 있다.In this case, the electronic device 20 may display a “view advertisement” icon 321 and a “purchase item” icon 322 . For example, when a user completes viewing an advertisement, 5 coins may be automatically charged to the user's e-wallet. In addition, when the user purchases an item related to the first event, 10 coins may be charged to the user's electronic wallet. When enough coins are charged to participate in the first event, the electronic device 20 may participate in the first event.

도 3의 이미지(330)을 참고하면, 전자 장치(20)는 제1 이벤트를 참여한 참여 정보 및 참여 정보에 대응되는 고유 정보를 표시할 수 있다. 여기서, 고유 정보는 참여 정보에 대한 고유 코드가 암호화된 정보일 수 있다. 예를 들면, 전자 장치(20)는, "암호화된 고유 코드는 EIRDIO81 입니다. 투표 완료 후에 고유 코드를 확인하실 수 있습니다"라는 메시지(331)를 표시할 수 있다. 따라서, 사용자가 고유 코드의 정보를 획득하기 위해서는, 고유 정보의 복호화가 필요하다. 한편, 고유 정보는 제1 이벤트의 투표가 완료된 후에 복호화가 가능하도록 설정될 수 있다. 예를 들면, 고유 정보는 일정 시간이 경과된 후에 복호화가 가능하도록 설정될 수 있다.Referring to the image 330 of FIG. 3 , the electronic device 20 may display participation information participating in the first event and unique information corresponding to the participation information. Here, the unique information may be information in which a unique code for the participation information is encrypted. For example, the electronic device 20 may display the message 331 "The encrypted unique code is EIRDIO81. You can check the unique code after voting is complete". Therefore, in order for the user to obtain the information of the unique code, decoding of the unique information is required. On the other hand, the unique information may be set to be able to be decrypted after the voting of the first event is completed. For example, the unique information may be set to be able to be decoded after a predetermined time has elapsed.

한편, 도 3에서는, 제1 이벤트를 참여할 때, 소정 코인이 필요하다고 설명하였으나, 사용자는 소정 코인 이외에, 소정 포인트, 소정 캐시, 가상 화폐 등을 이용하여 제1 이벤트에 참여할 수 있다.Meanwhile, in FIG. 3 , it has been described that a predetermined coin is required when participating in the first event, but the user can participate in the first event by using a predetermined point, a predetermined cash, virtual currency, etc. in addition to the predetermined coin.

도 4는 일실시예에 따라, 노드에서 제1 참여 정보의 유효성을 검증하고, 제1 참여 정보에 대응되는 제1 고유 정보를 블록에 저장하는 과정을 설명하기 위한 도면이다.4 is a diagram for explaining a process of verifying the validity of the first participation information in a node and storing the first unique information corresponding to the first participation information in a block, according to an embodiment.

도 4를 참고하면, 전자 장치(20)는 제1 노드(10-1)로, 제1 참여 정보가 암호화된 제1 암호화 정보를 전송할 수 있다. 제1 노드(10-1)는 제1 암호화 정보 내에 포함된 제1 참여 정보의 유효성을 검증하고, 제1 참여 정보에 대응되는 제1 고유 코드를 블록 내에 저장할 수 있다.Referring to FIG. 4 , the electronic device 20 may transmit, to the first node 10 - 1 , first encryption information in which the first participation information is encrypted. The first node 10-1 may verify the validity of the first participation information included in the first encryption information, and store a first unique code corresponding to the first participation information in the block.

구체적으로, 단계 S410에서, 제1 노드(10-1)는 제1 참여 정보의 유효성을 검증할 수 있다. 제1 참여 정보의 유효성의 검증 과정은 도 5에서 설명한다.Specifically, in step S410 , the first node 10 - 1 may verify the validity of the first participation information. The verification process of the validity of the first participation information will be described with reference to FIG. 5 .

단계 S420에서, 제1 노드(10-1)는 제1 참여 정보에 대응되는 제1 해시값을 미리 설정된 고유 코드들 중 제1 고유 코드에 할당할 수 있다.In step S420 , the first node 10 - 1 may allocate a first hash value corresponding to the first participation information to a first unique code among preset unique codes.

단계 S430에서, 제1 노드(10-1)는 제1 해시값으로 제1 고유 코드를 암호화하여, 제1 고유 정보를 생성할 수 있다.In step S430, the first node 10-1 may generate the first unique information by encrypting the first unique code with the first hash value.

단계 S440에서, 제1 노드(10-1)는 제1 암호화 정보와 제1 고유 정보를 결합하여 결합 정보를 획득할 수 있다.In step S440 , the first node 10 - 1 may obtain combined information by combining the first encryption information and the first unique information.

예를 들면, 제1 노드(10-1)는 제1 암호화 정보와 제1 고유 정보가 결합된 결합 정보를 후보 블록(450)에 기록할 수 있다. 제1 노드(10-1)는 후보 블록(450)에 소정의 복수의 참여 정보에 대응되는 결합된 결합 정보가 기록되면, 후보 블록(450)의 작업 증명을 수행하여, 제1 노드(10-1)의 블록체인의 제1 원장에 후보 블록을 제N 블록(460)으로 추가할 수 있다.For example, the first node 10 - 1 may record combined information in which the first encryption information and the first unique information are combined in the candidate block 450 . When combined combination information corresponding to a plurality of predetermined pieces of participation information is recorded in the candidate block 450, the first node 10-1 performs a work proof of the candidate block 450, and the first node 10- A candidate block may be added as an N-th block 460 to the first ledger of the block chain in 1).

한편, 제1 노드(10-1)는 제1 암호화 정보와 제1 고유 정보가 결합된 결합 정보를 블록체인의 네트워크 상의 복수의 노드들로 전송할 수 있다. 예를 들면, 제1 노드(10-1)는 제1 암호화 정보와 제1 고유 정보가 결합된 결합 정보를 제2 노드(10-2)로 전송할 수 있다.Meanwhile, the first node 10 - 1 may transmit combined information in which the first encryption information and the first unique information are combined to a plurality of nodes on the network of the block chain. For example, the first node 10 - 1 may transmit combined information in which the first encryption information and the first unique information are combined to the second node 10 - 2 .

도 5는 일실시예에 따라, 제1 참여 정보를 암호화하는 과정 및 제1 고유 정보를 암호화하는 과정을 설명하기 위한 도면이다.5 is a diagram for explaining a process of encrypting first participation information and a process of encrypting first unique information, according to an embodiment.

제1 사용자는 제1 이벤트와 관련된 제1 아이템을 구매할 수 있다. 전자 장치(20)는 제1 사용자가 제1 이벤트와 관련된 제1 아이템을 구매한 정보를 획득할 수 있다. 제1 사용자는 제1 아이템을 구매함으로써, 제1 이벤트에 참여할 수 있는 참여권을 부여 받을 수 있다. 또한, 제1 사용자는 제1 아이템을 구매함으로써, 소정 코인, 소정 포인트, 소정 캐시, 소정 가상 화폐 중 적어도 하나로 지급받을 수 있고, 제1 사용자는 소정 코인, 소정 포인트, 소정 캐시, 소정 가상 화폐 중 적어도 하나로 제1 이벤트에 참여할 수 있다. 전자 장치(20)는 제1 사용자가 제1 참여 방식에 따라 제1 이벤트를 참여한 제1 참여 정보(511)를 획득할 수 있다.The first user may purchase a first item related to the first event. The electronic device 20 may obtain information that the first user purchased the first item related to the first event. The first user may be given the right to participate in the first event by purchasing the first item. In addition, by purchasing the first item, the first user may be paid with at least one of a predetermined coin, a predetermined point, a predetermined cash, and a predetermined virtual currency, and the first user may receive a predetermined coin, a predetermined point, a predetermined cash, or a predetermined virtual currency. At least one may participate in the first event. The electronic device 20 may acquire the first participation information 511 in which the first user participated in the first event according to the first participation method.

전자 장치(20)는 제1 참여 정보(511)에 해시 함수를 적용하여, 제1 참여 정보(511)에 대응되는 제1 해시값(512)를 획득할 수 있다. 예를 들면, 제1 해시값(512)은, "DKFIOW83"일 수 있다. 전자 장치(20)는 제1 사용자의 개인키로 제1 해시값을 암호화하여, 제1 참여 정보에 제1 사용자의 디지털 서명이 적용된, 제1 암호화 정보(513)를 획득할 수 있다. 예를 들면, 제1 암호화 정보(513)는 "CJSIWK&3"일 수 있다.The electronic device 20 may obtain a first hash value 512 corresponding to the first participation information 511 by applying a hash function to the first participation information 511 . For example, the first hash value 512 may be “DKFIOW83”. The electronic device 20 may obtain the first encryption information 513 in which the digital signature of the first user is applied to the first participation information by encrypting the first hash value with the private key of the first user. For example, the first encryption information 513 may be “CJSIWK&3”.

한편, 전자 장치(20)는 제1 노드(10-1)로 제1 암호화 정보(513)를 전송할 수 있다. 또한, 전자 장치(20)는 제1 암호화 정보(513)와 함께 제1 참여 정보(511)를 제1 노드(10-1)로 전송할 수 있다.Meanwhile, the electronic device 20 may transmit the first encryption information 513 to the first node 10 - 1 . Also, the electronic device 20 may transmit the first participation information 511 together with the first encryption information 513 to the first node 10 - 1 .

제1 노드(10-1)는 제1 참여 정보(511)에 해시 함수를 적용하여 임시 해시값을 획득할 수 있다. 또한, 제1 노드(10-1)는 제1 암호화 정보(513)를 제1 사용자의 복호화키로 복호화하여, 제1 해시값(512)을 획득할 수 있다. 제1 노드(10-1)는 제1 해시값(512)과 임시 해시값이 일치됨을 확인함으로써, 제1 암호화 정보(513)의 유효성을 검증할 수 있다. 즉, 제1 암호화 정보(513)의 유효성이 검증되면, 제1 참여 정보(511)의 유효성도 함께 검증된다.The first node 10 - 1 may obtain a temporary hash value by applying a hash function to the first participation information 511 . Also, the first node 10 - 1 may decrypt the first encryption information 513 with the decryption key of the first user to obtain the first hash value 512 . The first node 10 - 1 may verify the validity of the first encryption information 513 by confirming that the first hash value 512 and the temporary hash value match. That is, when the validity of the first encryption information 513 is verified, the validity of the first participation information 511 is also verified.

제1 노드(10-1)는 제1 참여 정보(511)에 대응되는 제1 해시값(512)을 미리 설정된 고유 코드들중 제1 고유 코드(522)에 할당할 수 있다. 예를 들면, 미리 설정된 고유 코드들은, 미리 설정된 범위 내의 문자들 또는 숫자들일 수 있다. 예를 들면, 제1 이벤트에 참여 가능한 사용자의 수 또는 참여 횟수는 5000일 수 있다. 이 경우, 미리 설정된 고유 코드들은 1부터 5000 이내의 숫자일 수 있다. 미리 설정된 고유 코드들 각각은, 복수의 참여 정보에 할당될 수 있고, 중복되지 않게 할당될 수 있다. 예를 들면, 제1 고유 코드(522)는 "237"일 수 있다. 제1 노드(10-1)는 제1 고유 코드(522)를 제1 해시값(512)으로 암호화하여, 제1 고유 정보(523)를 획득할 수 있다. 제1 고유 코드(522)를 암호화 하는 방식은 다른 방식으로 수행될 수도 있다. 예를 들면, 제1 고유 정보(523)는 "OWICI$@9"일 수 있다.The first node 10 - 1 may allocate a first hash value 512 corresponding to the first participation information 511 to a first unique code 522 among preset unique codes. For example, the preset unique codes may be letters or numbers within a preset range. For example, the number of users who can participate in the first event or the number of times of participation may be 5000. In this case, the preset unique codes may be numbers within the range of 1 to 5000. Each of the preset unique codes may be assigned to a plurality of participation information, and may be assigned non-overlapping. For example, the first unique code 522 may be “237”. The first node 10 - 1 may obtain the first unique information 523 by encrypting the first unique code 522 with the first hash value 512 . The method of encrypting the first unique code 522 may be performed in another manner. For example, the first unique information 523 may be “OWICI$@9”.

제1 노드(10-1)는 제1 암호화 정보(513)와 제1 고유 정보(523)를 결합하여, 결합 정보(530)를 획득할 수 있다. 제1 노드(10-1)는 결합 정보(530)를 후보 블록 내에 기록할 수 있다. 후보 블록 내에 복수의 결합 정보가 기록되면, 제1 노드(10-1)는 후보 블록의 작업 증명을 수행하여, 제1 노드(10-1)의 블록체인의 제1 원장에 후보 블록을 유효한 블록으로 추가할 수 있다. 또한, 제1 노드(10-1)는 결합 정보(530)를 제2 노드(10-2)로 전송할 수 있다.The first node 10 - 1 may obtain the combined information 530 by combining the first encryption information 513 and the first unique information 523 . The first node 10 - 1 may record the combination information 530 in the candidate block. When a plurality of binding information is recorded in the candidate block, the first node 10-1 performs proof of work of the candidate block, and the candidate block is a valid block in the first ledger of the block chain of the first node 10-1. can be added as Also, the first node 10 - 1 may transmit the combination information 530 to the second node 10 - 2 .

도 6은 일실시예에 따라, 전자 장치에서 사용자가 이벤트의 선정 결과를 확인하는 과정을 설명하기 위한 도면이다.6 is a diagram for explaining a process in which a user confirms a result of selecting an event in an electronic device, according to an exemplary embodiment.

도 6의 이미지(610)을 참고하면, 전자 장치(20)는 제1 이벤트에 대한 선정자 선정을 위한 투표를 가이드 하는 화면을 표시할 수 있다. 예를 들면, 제1 이벤트에 참여하게 되면, 제1 이벤트의 참여에 대한 고유 코드가 부여될 수 있다. 고유 코드는 1부터 5000까지의 임의의 숫자일 수 있다. 복수의 사용자에게 부여된 고유 코드는 중복되지 않도록 부여될 수 있다. 예를 들면, 제1 사용자가 제1 이벤트에 2번 참여하면, 제1 사용자는 서로 다른 2개의 고유 코드를 부여 받을 수 있다.Referring to the image 610 of FIG. 6 , the electronic device 20 may display a screen guiding voting for selecting a selector for the first event. For example, when participating in the first event, a unique code for participation in the first event may be assigned. The unique code can be any number from 1 to 5000. Unique codes assigned to a plurality of users may be assigned so as not to be duplicated. For example, if the first user participates in the first event twice, the first user may be given two different unique codes.

예를 들면, 전자 장치(20)는 "1부터 5000까지의 수 중 이벤트에 선정될 수를 선택해 보세요"라는 투표 가이드 메시지(611)를 표시할 수 있다. 제1 사용자는 전자 장치(20)에 표시된 투표란(612)에 소정 수를 입력할 수 있다.For example, the electronic device 20 may display a voting guide message 611 stating "Please select a number to be selected for an event from 1 to 5000." The first user may input a predetermined number into the voting box 612 displayed on the electronic device 20 .

도 6의 이미지(620)을 참고하면, 제1 이벤트에 대한 선정자 선정을 위한 투표가 완료되면, 전자 장치(20)는 제1 사용자에게 부여된 제1 고유 정보에 대한 제1 고유 코드 및 제1 사용자의 선정 여부의 정보를 표시할 수 있다. 예를 들면, 전자 장치(20)는 제1 사용자에게 부여된 제1 고유 정보인 " EIRDIO81"의 제1 고유 코드는 "48"임을 알리는 메시지(621)를 표시할 수 있다. 또한, 전자 장치(20)는 제1 사용자가 제1 이벤트에 선정되지 않은 결과를 알리는 메시지(622)를 표시할 수 있다.Referring to the image 620 of FIG. 6 , when voting for selecting a selector for the first event is completed, the electronic device 20 displays a first unique code and a first for the first unique information given to the first user. Information on whether the user is selected can be displayed. For example, the electronic device 20 may display a message 621 informing that the first unique code of “EIRDIO81”, which is the first unique information given to the first user, is “48”. Also, the electronic device 20 may display a message 622 informing that the first user is not selected for the first event.

도 6의 이미지(630)을 참고하면, 전자 장치(20)는 전자 장치(20)는 제1 이벤트의 선정 정보를 표시할 수 있다. 예를 들면, 전자 장치(20)는 제1 이벤트에 선정된 고유 코드 및 고유 코드로 투표된 집계 정보를 포함하는 선정 정보(631)를 표시할 수 있다.Referring to the image 630 of FIG. 6 , the electronic device 20 may display selection information of the first event. For example, the electronic device 20 may display the selection information 631 including the unique code selected for the first event and the aggregate information voted by the unique code.

도 7은 일실시예에 따라, 블록 및 블록체인의 구조를 설명하기 위한 도면이다.7 is a diagram for explaining the structure of a block and a block chain, according to an embodiment.

도 7에 도시된 바와 같이, 블록체인은 이벤트에 참여한 참여자의 참여 정보를 기록한 블록들이 연결되어 구성될 수 있다. 즉, 블록체인의 데이터 구조는 의료 정보를 기록한 블록들이 순서대로 정렬된 단위로 구성된 소정의 데이터 구조일 수 있다. 또한, 블록체인의 데이터 구조는 각 블록 헤더가 이전 블록 헤더를 참조하여 체인 형식으로 연결된 데이터 구조, 및 의료 정보의 데이터를 가리키는 해시 참조와 의료 정보의 데이터가 트리 형태로 연결된 머클 트리의 데이터 구조로 구성될 수 있다.As shown in FIG. 7 , the block chain may be configured by connecting blocks that record participation information of participants participating in the event. That is, the data structure of the block chain may be a predetermined data structure composed of units in which blocks in which medical information are recorded are arranged in order. In addition, the data structure of the block chain is a data structure in which each block header is linked in a chain form by referring to the previous block header, and a hash reference pointing to the data of medical information and a data structure of a Merkle tree in which the data of medical information is connected in a tree form. can be configured.

블록은 블록 해시, 블록 헤더, 참여 정보, 고유 정보 등을 포함할 수 있다. 블록 헤더는 현재 프로그램의 버전, 이전 블록 헤더의 해시값, 머클 트리의 루트, 타임스태프, 난이도 및 난스의 정보를 포함할 수 있다.A block may include a block hash, a block header, participation information, unique information, and the like. The block header may include information on the current program version, the hash value of the previous block header, the root of the merkle tree, timestamp, difficulty level, and nonce.

블록 해시는 현재 프로그램의 버전, 이전 블록 헤더의 해시값, 머클 트리의 루트, 타임스태프, 난이도 및 난스의 정보를 입력값으로 하여 적용된 해시 함수의 해시값일 수 있다. 즉, 블록 해시의 값은 블록 전체를 해시한 값이 아니라, 블록 헤더를 해시한 값일 수 있다.The block hash may be a hash value of a hash function applied with information on the current program version, the hash value of the previous block header, the root of the Merkle tree, timestamp, difficulty, and nonce as input values. That is, the value of the block hash may be a value obtained by hashing the block header, not a value obtained by hashing the entire block.

이전 블록 헤더의 해시값은 각 블록 헤더를 고유하게 식별하고, 이전 블록 헤더를 참조하기 위해 사용될 수 있다. 각 블록 헤더가 이전 블록 헤더를 참조하면, 개별 블록 헤더와 블록의 순서는 유지될 수 있다. 도 7을 참고하면, 제1 블록(710)은 최초 블록이어서 이전 블록이 없으므로, 이전 블록 헤더를 가리키는 어떠한 참조도 없다. 따라서, 제1 블록(710)의 이전 블록 헤더의 해시값은 0이다. 또한, 제2 블록(720)은 이전 블록인 제1 블록(710)이 있으므로, 제2 블록 헤더는 제1 블록 헤더를 가리키는 해시값을 갖는다. 마찬가지로, 제3 블록(730)은 이전 블록인 제2 블록(720)이 있으므로, 제3 블록 헤더는 제2 블록 헤더를 가리키는 해시값을 갖는다.The hash value of the previous block header uniquely identifies each block header and may be used to refer to the previous block header. If each block header refers to the previous block header, the order of individual block headers and blocks may be maintained. Referring to FIG. 7 , since the first block 710 is the first block, there is no previous block, so there is no reference to the previous block header. Accordingly, the hash value of the previous block header of the first block 710 is 0. Also, since the second block 720 has the first block 710 that is the previous block, the second block header has a hash value indicating the first block header. Similarly, since the third block 730 includes the previous block, the second block 720 , the third block header has a hash value indicating the second block header.

머클 트리는 해시 참조와 의료 정보의 데이터가 트리 형태로 연결되어 있는 구조를 의미할 수 있다. 해시 참조는 암호화 해시값을 이용하여 의료 정보의 데이터를 가리키는 것을 의미할 수 있다. 한편, 암호화 해시값은 데이터의 고유값이므로, 서로 다른 데이터들은 동일한 해시값을 갖지 않는다.The Merkle tree may refer to a structure in which a hash reference and data of medical information are connected in a tree form. The hash reference may mean pointing to data of medical information using a cryptographic hash value. On the other hand, since the cryptographic hash value is a unique value of data, different data do not have the same hash value.

타임스태프는 작업 증명을 위해 작업을 시작한 시각을 의미할 수 있다. 난이도는 작업 증명 또는 해시 퍼즐에서의 제약 조건을 의미할 수 있다. 난스는 작업 증명을 위해 블록해시의 값이 제약 조건을 만족하도록 조절되는 값을 의미할 수 있다.The timestamp may mean the time when the work started for proof of work. Difficulty can mean a constraint in a proof-of-work or hash puzzle. Nonce may mean a value adjusted so that the block hash value satisfies a constraint for proof of work.

참여 정보 및 고유 정보에는, 각 사용자가 이벤트에 참여한 방식 및 각 사용자에게 할당된 고유 코드의 정보가 포함될 수 있고, 각 정보는 암호화되어 저장될 수 있다.The participation information and unique information may include information on how each user participated in the event and a unique code assigned to each user, and each information may be encrypted and stored.

도 8은 일실시예에 따라, 소정 방식에 따라 이벤트에 참여하고, 블록체인 기반의 이벤트 선정자 투표를 진행하고, 선정 결과를 제공 받는 전자 장치의 동작을 설명하기 위한 흐름도이다.8 is a flowchart illustrating an operation of an electronic device that participates in an event according to a predetermined method, conducts a block chain-based event selector voting, and receives a selection result, according to an embodiment.

도 8을 참고하면, 단계 S810에서, 전자 장치(20)는 제1 이벤트에 참여하는 제1 참여 방식에 따라 제1 이벤트를 참여하는 사용자의 입력을 수신할 수 있다.Referring to FIG. 8 , in step S810 , the electronic device 20 may receive an input of a user participating in the first event according to the first participation method of participating in the first event.

단계 S820에서, 전자 장치(20)는 사용자의 개인키로 제1 이벤트를 참여한 정보를 나타내는 제1 참여 정보가 암호화된, 제1 암호화 정보를 획득할 수 있다.In operation S820 , the electronic device 20 may obtain the first encryption information obtained by encrypting the first participation information representing information participating in the first event with the user's private key.

단계 S830에서, 전자 장치(20)는 제1 암호화 정보를 소정 이벤트에 참여한 참여자의 참여 정보를 기록한 원장을 분산하여 관리하는 블록체인의 네트워크 상의 제1 노드(10-1)로 전송할 수 있다.In step S830, the electronic device 20 may transmit the first encryption information to the first node 10-1 on the network of the block chain that distributes and manages a ledger recording participation information of participants participating in a predetermined event.

단계 S840에서, 전자 장치(20)는 제1 노드(10-1)로부터, 제1 참여 정보에 대응되는 제1 고유 코드가 암호화된 제1 고유 정보를 수신할 수 있다. 여기서, 제1 고유 정보는 제1 이벤트에 대한 선정자 선정이 완료되고 복호화 가능하도록 설정될 수 있다.In operation S840 , the electronic device 20 may receive, from the first node 10 - 1 , the first unique information in which the first unique code corresponding to the first participation information is encrypted. Here, the first unique information may be set so that selection of a selector for the first event is completed and decoding is possible.

단계 S850에서, 전자 장치(20)는 제1 이벤트의복수의 고유 코드들에 대한 선정 정보를 입력한 사용자 정보를 수신할 수 있다.In operation S850, the electronic device 20 may receive user information inputting selection information for a plurality of unique codes of the first event.

단계 S860에서, 전자 장치(20)는 선정 정보로부터 선정된 선정자의 고유 코드의 정보 및 사용자의 선정 여부의 정보를 포함하는, 제1 이벤트의 선정 결과 정보를 제1 노드(10-1)로부터 수신할 수 있다. 전자 장치(20)는 제1 이벤트의 선정 결과 정보를 표시할 수 있다.In step S860 , the electronic device 20 receives, from the first node 10 - 1 , selection result information of the first event, including information on the unique code of the selector selected from the selection information and information on whether the user is selected. can do. The electronic device 20 may display selection result information of the first event.

도 9는 일실시예에 따라, 노드의 구성을 도시한 블록도이다.9 is a block diagram illustrating a configuration of a node, according to an embodiment.

도 9를 참고하면, 노드(10)는 통신 장치(910), 스토리지(920), 메모리(930), 및 프로세서(940)를 포함할 수 있다. 도시된 구성 요소보다 많은 구성 요소에 의해 노드(10)가 구현될 수 있고, 그보다 적은 구성 요소에 의해 노드(10)가 구현될 수 있다. 이하, 상기 구성 요소들에 대해 살펴본다.Referring to FIG. 9 , the node 10 may include a communication device 910 , a storage 920 , a memory 930 , and a processor 940 . The node 10 may be implemented by more components than the illustrated components, and the node 10 may be implemented by fewer components. Hereinafter, the components will be described.

통신 장치(910)는 외부 장치와 통신을 수행할 수 있다. 구체적으로, 통신 장치(910)는 유선 또는 무선으로 네트워크와 연결되어 외부 장치와 통신을 수행할 수 있다. 여기서, 외부 장치는 블록체인 네트워크 상의 노드들, 이벤트의 서비스를 제공하는 서버를 포함할 수 있다.The communication device 910 may communicate with an external device. Specifically, the communication device 910 may be connected to a network by wire or wirelessly to communicate with an external device. Here, the external device may include nodes on the blockchain network and servers that provide event services.

스토리지(920)는 노드(10)에서 보유한 원장을 저장할 수 있다. 원장은 블록들이 연결된 블록체인으로 구성될 수 있다.The storage 920 may store the ledger held by the node 10 . The ledger can be composed of a blockchain in which blocks are connected.

메모리(930)는 소정의 소프트웨어 및 또는 프로그램을 저장할 수 있다. 메모리(930)는 프로세서(940)에 의해 실행 가능한 명령어들을 저장할 수 있다.The memory 930 may store predetermined software and/or programs. The memory 930 may store instructions executable by the processor 940 .

프로세서(940)는 통신 장치(910)를 통해 제1 사용자의 전자 장치로부터, 제1 암호화 정보를 수신할 수 있다. 제1 암호화 정보는, 제1 사용자가 제1 참여 방식에 따라 제1 이벤트를 참여한 정보를 나타내는 제1 참여 정보가 암호화된 정보일 수 있다.The processor 940 may receive the first encryption information from the electronic device of the first user through the communication device 910 . The first encrypted information may be information in which the first participation information indicating information that the first user participated in the first event according to the first participation method is encrypted.

예를 들면, 프로세서(940)는 제1 사용자의 개인키로 제1 참여 정보에 대응되는 제1 해시값이 암호화된, 제1 암호화 정보를 획득할 수 있다.For example, the processor 940 may obtain the first encryption information in which the first hash value corresponding to the first participation information is encrypted with the first user's private key.

예를 들면, 제1 이벤트에 참여하는 참여 방식은, 제1 이벤트와 관련된 적어도 하나의 특정 아이템을 구매하면, 제1 이벤트의 참여권을 부여하는 참여 방식, 제1 이벤트를 주최하는 서비스 제공자와 관련된 광고 보기가 완료되면, 제1 이벤트의 참여권을 부여하는 참여 방식 중 적어도 하나의 방식일 수 있다.For example, the participation method of participating in the first event includes a participation method that grants the right to participate in the first event when at least one specific item related to the first event is purchased, and an advertisement related to a service provider hosting the first event When the viewing is completed, it may be at least one of the participation methods for granting the right to participate in the first event.

프로세서(940)는 제1 암호화 정보의 유효성이 검증되면, 제1 참여 정보에 대응되는 제1 고유 코드를 생성하고, 제1 고유 코드가 암호화된 제1 고유 정보가 포함된 제1 블록을 원장에 추가할 수 있다.When the validity of the first encryption information is verified, the processor 940 generates a first unique code corresponding to the first participation information, and stores the first block including the encrypted first unique information in the ledger. can be added

예를 들면, 제1 암호화 정보의 유효성이 검증되면, 프로세서(940)는 제1 참여 정보에 대응되는 제1 해시값을, 미리 설정된 고유 코드들 중 제1 고유 코드에 할당할 수 있다. 프로세서(940)는 제1 해시값을 제1 고유 코드를 암호화하여, 제1 고유 정보를 생성하고, 제1 고유 정보가 포함된 제1 블록을 원장에 추가할 수 있다.For example, when the validity of the first encryption information is verified, the processor 940 may allocate a first hash value corresponding to the first participation information to a first unique code among preset unique codes. The processor 940 may encrypt the first unique code with the first hash value, generate first unique information, and add the first block including the first unique information to the ledger.

한편, 제1 고유 정보가 포함된 제1 블록이 원장에 추가되면, 프로세서(940)는 제1 이벤트에 대한 선정자의 선정이 완료되고 복호화 가능하도록 설정된 제1 고유 정보를 생성할 수 있다. 통신 장치(910)는 제1 고유 정보를 제1 사용자의 전자 장치로 전송할 수 있다.Meanwhile, when the first block including the first unique information is added to the ledger, the processor 940 may generate the first unique information set so that the selection of the selector for the first event is completed and decoding is possible. The communication device 910 may transmit the first unique information to the electronic device of the first user.

프로세서(940)는 제1 이벤트에 대한 복수의 참여 정보 각각에 대응되는 고유 코드에 기초하여 실행된 소정의 선정 방식으로부터, 제1 이벤트의 선정자를 선정할 수 있다.The processor 940 may select a selector of the first event from a predetermined selection method executed based on a unique code corresponding to each of a plurality of pieces of participation information for the first event.

예를 들면, 소정의 선정 방식은, 소정 투표에 의해 제1 이벤트의 혜택을 받는 선정자를 결정하는 방식, 소정 게임에 의해 제1 이벤트의 혜택을 받는 선정자를 결정하는 방식일 수 있고, 상기 예시에 한정되지 않는다.For example, the predetermined selection method may be a method of determining a selector receiving the benefits of the first event by a predetermined vote, a method of determining a selector receiving the benefit of the first event by a predetermined game, and in the example above not limited

예를 들면, 소정의 선정 방식은, 이벤트에 참여한 복수의 사용자들이 참여하여 이벤트의 혜택을 받는 선정자를 선정하는 방식일 수 있다.For example, the predetermined selection method may be a method in which a plurality of users participating in the event participate and select a selector who receives the benefits of the event.

예를 들면, 통신 장치(910)는 복수의 참여 정보를 발생시킨 복수의 사용자의 전자 장치로부터, 미리 설정된 고유 코드들 중 하나의 코드를 선택하는 투표 정보를 수신할 수 있다. 프로세서(940)는 노드(10)에서 수집된 투표 정보로부터 투표 결과 정보를 획득할 수 있다. 또한, 통신 장치(910)는 이벤트의 서비스를 제공하는 서버로부터 제1 이벤트에 대한 투표 결과 정보를 수신할 수 있다. For example, the communication device 910 may receive voting information for selecting one code among preset unique codes from electronic devices of a plurality of users who have generated a plurality of pieces of participation information. The processor 940 may obtain voting result information from the voting information collected in the node 10 . Also, the communication device 910 may receive voting result information for the first event from a server that provides an event service.

프로세서(940)는 노드(10)에서 획득된 투표 결과 정보 및 서버로부터 획득된 투표 결과 정보를 비교함으로써, 투표 결과 정보를 확인할 수 있다. 노드(10)에서 획득된 투표 결과 정보 및 서버로부터 획득된 투표 결과 정보가 일치되면, 프로세서(940)는 투표 결과 정보에 기초하여, 최대로 선택된 순서로 적어도 하나의 선정 고유 코드를 결정하고, 적어도 하나의 선정 고유 코드를 보유한 제1 이벤트의 적어도 하나의 선정자를 선정할 수 있다.The processor 940 may check the voting result information by comparing the voting result information obtained from the node 10 with the voting result information obtained from the server. If the voting result information obtained from the node 10 and the voting result information obtained from the server match, the processor 940 determines at least one selection unique code in the order of the maximum selection based on the voting result information, and at least At least one selector of the first event having one selection unique code may be selected.

프로세서(940)는 선정자의 고유 코드의 정보 및 제1 사용자의 선정 여부의 정보를 포함하는 제1 이벤트의 선정 결과 정보를 획득할 수 있다. 통신 장치(910)는 제1 이벤트의 선정 결과정보를 제1 사용자의 전자 장치로 전송할 수 있다.The processor 940 may obtain selection result information of the first event including information on the unique code of the selector and information on whether the first user is selected. The communication device 910 may transmit selection result information of the first event to the electronic device of the first user.

한편, 프로세서(940)는 선정 고유 코드가 제1 이벤트를 주최하는 서비스 제공자의 개인키로 암호화된, 선정 고유 정보가 포함된 블록을 원장에 추가할 수 있다.Meanwhile, the processor 940 may add a block including the selection-specific information, in which the selection-specific code is encrypted with the private key of the service provider hosting the first event, to the ledger.

상술한 노드(10), 전자 장치 (20), 서버(30)의 동작 방법은 컴퓨터 또는 프로세서에 의하여 실행 가능한 명령어 또는 데이터를 저장하는 컴퓨터 판독 가능 저장매체의 형태로 구현될 수 있다. 컴퓨터에서 실행될 수 있는 프로그램으로 작성가능하고, 컴퓨터 판독 가능 저장매체를 이용하여 이와 같은 프로그램을 동작시키는 범용 디지털 컴퓨터에서 구현될 수 있다. 이와 같은 컴퓨터 판독 가능 저장매체는 ROM, RAM, flash memory, CD, DVD 마그네틱 테이프, 플로피 디스크, 광자기 데이터 저장 장치, 광학 데이터 저장 장치, 하드 디스크, 솔리드-스테이트 디스크(SSD), 그리고 명령어 또는 소프트웨어, 관련 데이터, 데이터 파일, 및 데이터 구조들을 저장할 수 있다.The above-described method of operating the node 10 , the electronic device 20 , and the server 30 may be implemented in the form of a computer-readable storage medium that stores instructions or data executable by a computer or processor. It can be written as a program that can be executed on a computer, and can be implemented in a general-purpose digital computer that operates such a program using a computer-readable storage medium. Such computer-readable storage media include ROM, RAM, flash memory, CD, DVD magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid-state disk (SSD), and instructions or software. , related data, data files, and data structures.

이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.As described above, although the embodiments have been described with reference to the limited embodiments and drawings, various modifications and variations are possible from the above description by those skilled in the art. For example, the described techniques are performed in a different order than the described method, and/or the described components of the system, structure, apparatus, circuit, etc. are combined or combined in a different form than the described method, or other components Or substituted or substituted by equivalents may achieve an appropriate result.

그러므로, 본 발명의 범위는 설명된 실시예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.Therefore, the scope of the present invention should not be limited to the described embodiments, and should be defined by the following claims as well as the claims and equivalents.

Claims (10)

이벤트에 참여한 참여자의 참여 정보를 기록한 원장을 분산하여 관리하는 블록체인의 네트워크 상의 노드의 동작 방법에 있어서,
제1 사용자의 전자 장치로부터, 상기 제1 사용자가 제1 참여 방식에 따라 제1 이벤트를 참여한 정보를 나타내는 제1 참여 정보가 암호화된, 제1 암호화 정보를 획득하는 단계;
상기 제1 암호화 정보의 유효성이 검증되면, 상기 제1 참여 정보에 대응되는 제1 고유 코드를 생성하고, 상기 제1 고유 코드가 암호화된 제1 고유 정보가 포함된 제1 블록을 상기 원장에 추가하는 단계;
상기 제1 이벤트에 대한 복수의 참여 정보 각각에 대응되는 고유 코드에 기초하여 실행된 소정의 선정 방식으로부터, 상기 제1 이벤트의 선정자를 선정하는 단계; 및
상기 선정자의 고유 코드의 정보 및 상기 제1 사용자의 선정 여부의 정보를 포함하는 상기 제1 이벤트의 선정 결과 정보를 상기 제1 사용자의 전자 장치로 전송하는 단계를 포함하는, 노드의 동작 방법.
In a method of operating a node on a network of a blockchain that distributes and manages a ledger that records participation information of participants participating in an event,
obtaining, from an electronic device of a first user, first encrypted information in which first participation information indicating information that the first user participated in a first event according to a first participation method is encrypted;
When the validity of the first encryption information is verified, a first unique code corresponding to the first participation information is generated, and a first block including the first unique information encrypted with the first unique code is added to the ledger to do;
selecting a selector of the first event from a predetermined selection method executed based on a unique code corresponding to each of a plurality of participation information for the first event; and
and transmitting, to the electronic device of the first user, selection result information of the first event including information on the unique code of the selector and information on whether the first user has been selected.
제1항에 있어서,
상기 제1 암호화 정보를 획득하는 단계는,
상기 제1 사용자의 개인키로 상기 제1 참여 정보에 대응되는 제1 해시값이 암호화된, 상기 제1 암호화 정보를 획득하는 단계를 포함하는, 노드의 동작 방법.
According to claim 1,
The step of obtaining the first encryption information includes:
and obtaining the first encryption information, in which a first hash value corresponding to the first participation information is encrypted with the private key of the first user.
제2항에 있어서,
상기 제1 고유 정보가 포함된 제1 블록을 상기 원장에 추가하는 단계는,
상기 제1 암호화 정보의 유효성이 검증되면, 상기 제1 참여 정보에 대응되는 상기 제1 해시값을, 미리 설정된 고유 코드들 중 제1 고유 코드에 할당하는 단계; 및
상기 제1 해시값으로 상기 제1 고유 코드를 암호화하여, 상기 제1 고유 정보를 생성하고, 상기 제1 고유 정보가 포함된 상기 제1 블록을 상기 원장에 추가하는 단계를 포함하는, 노드의 동작 방법.
3. The method of claim 2,
Adding the first block including the first unique information to the ledger comprises:
allocating the first hash value corresponding to the first participation information to a first unique code among preset unique codes when the validity of the first encryption information is verified; and
Encrypting the first unique code with the first hash value, generating the first unique information, and adding the first block including the first unique information to the ledger. Way.
제1항에 있어서,
상기 제1 이벤트에 대한 복수의 참여 정보 각각에 대응되는 고유 코드에 기초하여 실행된 소정의 선정 방식으로부터, 상기 제1 이벤트의 선정자를 선정하는 단계는,
상기 복수의 참여 정보를 발생시킨 복수의 사용자의 전자 장치로부터, 미리 설정된 고유 코드들 중 하나의 코드를 선택하는 투표 정보를 수신하는 단계; 및
상기 투표 정보에 기초하여, 최대로 선택된 선정 고유 코드를 결정하고, 상기 선정 고유 코드를 보유한 제1 이벤트의 선정자를 선정하는 단계를 포함하는, 노드의 동작 방법.
According to claim 1,
The step of selecting a selector of the first event from a predetermined selection method executed based on a unique code corresponding to each of the plurality of participation information for the first event,
receiving voting information for selecting one code from among preset unique codes from the electronic devices of a plurality of users who have generated the plurality of participation information; and
Based on the voting information, determining the maximum selected selection unique code, and comprising the step of selecting a selector of the first event having the selection unique code, the operating method of the node.
제1항에 있어서,
상기 제1 고유 정보가 포함된 상기 제1 블록이 상기 원장에 추가되면, 상기 제1 이벤트에 대한 선정자 결정이 완료되고 복호화 가능하도록 설정된 상기 제1 고유 정보를 상기 제1 사용자의 전자 장치로 전송하는 단계를 더 포함하는, 노드의 동작 방법.
According to claim 1,
When the first block including the first unique information is added to the ledger, the selection of a selector for the first event is completed and the first unique information set to be decryptable is transmitted to the electronic device of the first user A method of operation of a node, further comprising a step.
제1항에 있어서,
상기 제1 이벤트에 참여하는 참여 방식은, 상기 제1 이벤트와 관련된 적어도 하나의 특정 아이템을 구매하면, 상기 제1 이벤트의 참여권을 부여하는 참여 방식, 상기 제1 이벤트를 주최하는 서비스 제공자와 관련된 광고 보기가 완료되면, 상기 제1 이벤트의 참여권을 부여하는 참여 방식 중 적어도 하나의 방식인, 노드의 동작 방법.
According to claim 1,
The participation method for participating in the first event includes a participation method that grants the right to participate in the first event when at least one specific item related to the first event is purchased, and an advertisement related to a service provider hosting the first event When the viewing is completed, at least one of the participation methods for granting the right to participate in the first event, the node operating method.
제1항에 있어서,
상기 선정 고유 코드가 상기 제1 이벤트를 주최하는 서비스 제공자의 개인키로 암호화된, 선정 고유 정보가 포함된 블록을 상기 원장에 추가하는 단계를 더 포함하는, 노드의 동작 방법.
According to claim 1,
The method of operating a node, further comprising the step of adding to the ledger a block containing the selection-specific information, in which the selection-specific code is encrypted with the private key of the service provider hosting the first event.
제1 이벤트에 참여하는 제1 참여 방식에 따라, 상기 제1 이벤트를 참여하는 단계;
사용자의 개인키로 상기 제1 이벤트를 참여한 정보를 나타내는 제1 참여 정보가 암호화된, 제1 암호화 정보를 획득하는 단계;
상기 제1 암호화 정보를 소정 이벤트에 참여한 참여자의 참여 정보를 기록한 원장을 분산하여 관리하는 블록체인의 네트워크 상의 제1 노드로 전송하는 단계;
상기 제1 노드로부터, 상기 제1 참여 정보에 대응되는 제1 고유 코드가 암호화된 제1 고유 정보를 수신하는 단계 - 상기 제1 고유 정보는 상기 제1 이벤트에 대한 선정자의 선정이 완료되고 복호화 가능하도록 설정됨-;
상기 제1 이벤트의 복수의 고유 코드들에 대한 선정 정보를 입력한 사용자 정보를 수신하는 단계; 및
상기 선정 정보로부터 선정된 상기 선정자의 고유 코드의 정보 및 상기 사용자의 선정 여부의 정보를 포함하는, 제1 이벤트의 선정 결과 정보를 상기 제1 노드로부터 수신하는 단계를 포함하는, 전자 장치의 동작 방법.
participating in the first event according to a first participation method of participating in the first event;
obtaining first encrypted information in which first participation information indicating information participating in the first event is encrypted with the user's private key;
transmitting the first encryption information to a first node on a network of a blockchain that distributes and manages a ledger recording participation information of participants participating in a predetermined event;
Receiving, from the first node, first unique information in which a first unique code corresponding to the first participation information is encrypted - The first unique information can be decrypted after selection of a selector for the first event is completed set to-;
receiving user information inputting selection information for a plurality of unique codes of the first event; and
and receiving, from the first node, selection result information of a first event including information on the unique code of the selector selected from the selection information and information on whether the user is selected. .
제8항에 있어서,
상기 제1 이벤트에 대한 선정자의 선정이 완료되면, 상기 제1 참여 정보에 대응되는 제1 해시값을 획득하는 단계;
상기 제1 해시값으로 상기 제1 고유 정보를 복호화하여, 상기 제1 고유 코드를 획득하는 단계; 및
상기 제1 고유 코드와 상기 선정자의 고유 코드가 일치하는지 여부를 나타내는 정보를 표시하는 단계를 더 포함하는, 전자 장치의 동작 방법.
9. The method of claim 8,
obtaining a first hash value corresponding to the first participation information when selection of a selector for the first event is completed;
decoding the first unique information with the first hash value to obtain the first unique code; and
The method of operating an electronic device, further comprising: displaying information indicating whether the first unique code and the selector's unique code match.
제8항에 있어서,
상기 제1 이벤트에 참여하는 참여 방식은, 상기 제1 이벤트와 관련된 적어도 하나의 특정 아이템을 구매하면, 상기 제1 이벤트의 참여권을 부여하는 참여 방식, 상기 제1 이벤트를 주최하는 서비스 제공자와 관련된 광고 보기가 완료되면, 상기 제1 이벤트의 참여권을 부여하는 참여 방식 중 적어도 하나의 방식인, 전자 장치의 동작 방법.
9. The method of claim 8,
The participation method for participating in the first event includes a participation method that grants the right to participate in the first event when at least one specific item related to the first event is purchased, and an advertisement related to a service provider hosting the first event When viewing is completed, the method of operating the electronic device is at least one of the participation methods for granting the right to participate in the first event.
KR1020200020814A 2020-02-20 2020-02-20 System for providing event based on blockchain KR102360329B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200020814A KR102360329B1 (en) 2020-02-20 2020-02-20 System for providing event based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200020814A KR102360329B1 (en) 2020-02-20 2020-02-20 System for providing event based on blockchain

Publications (2)

Publication Number Publication Date
KR20210106104A true KR20210106104A (en) 2021-08-30
KR102360329B1 KR102360329B1 (en) 2022-02-09

Family

ID=77502064

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200020814A KR102360329B1 (en) 2020-02-20 2020-02-20 System for providing event based on blockchain

Country Status (1)

Country Link
KR (1) KR102360329B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017157910A (en) * 2016-02-29 2017-09-07 日本電気株式会社 Electronic lottery system and electronic lottery method
KR20190124612A (en) * 2018-04-26 2019-11-05 이장형 Block Chain based Event Drawing Method
KR102051062B1 (en) * 2019-03-06 2020-01-08 신현구 Method for providing block chain based prize lottery service by deadline anticipation per prize

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017157910A (en) * 2016-02-29 2017-09-07 日本電気株式会社 Electronic lottery system and electronic lottery method
KR20190124612A (en) * 2018-04-26 2019-11-05 이장형 Block Chain based Event Drawing Method
KR102051062B1 (en) * 2019-03-06 2020-01-08 신현구 Method for providing block chain based prize lottery service by deadline anticipation per prize

Also Published As

Publication number Publication date
KR102360329B1 (en) 2022-02-09

Similar Documents

Publication Publication Date Title
KR102240939B1 (en) Blockchain system with consensus algorithm based on proof-of -transaction and method there of
US11599901B2 (en) Methods and system for serving targeted advertisements to a consumer device
JP7203829B2 (en) Systems and methods for communicating, storing, and processing data provided by entities on a blockchain
US20190220836A1 (en) Methods and Systems for Media Distribution Employing Contracts Implemented in a Distributed Ledger
US11030841B2 (en) Decentralized talent discovery via blockchain
KR20200106130A (en) Method and device for protecting sensitive data of transaction activity based on smart contract in blockchain
US20030120611A1 (en) Content distribution system and content distribution method
CN110796449B (en) Transaction processing method, system, medium and computing device
CN108370320A (en) Protect the multimedia content player of privacy of user simultaneously with digital copyright management
KR20190124468A (en) Apparatus and method for providing transaction service of crypto currency using electronic wallet
WO2018104728A1 (en) Random number generation
CN107145768A (en) Copyright managing method and system
US20210125282A1 (en) Information Processing Method, Information Processing Apparatus and Non-Transitory Computer-Readable Storage Medium
CN110675149A (en) Data processing method, device and equipment based on block chain and storage medium
JP6404435B1 (en) Item transaction system and item transaction program
WO2021073190A1 (en) Television information pushing method and system based on blockchain
JP2022532886A (en) Transactional adaptability for inclusion in the blockchain
EP4203383A1 (en) Multi-input transactions
KR20150077538A (en) Crypto Currency deal system and Method thereof
KR102360329B1 (en) System for providing event based on blockchain
JP2002140534A (en) System and method for contents distribution with log management constitution
KR102128874B1 (en) Method and system for managing project results generated by a specialist based on contribution information
KR102128875B1 (en) Method and system for distributing revenue on project results generated by a specialist based on contribution information
Paduraru et al. Enhancing the security of gaming transactions using blockchain technology
CN112734455B (en) Method, device and equipment for generating prize exchanging result and readable storage medium

Legal Events

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