KR20190109914A - System and method for trading power based on blockchain smart contract - Google Patents

System and method for trading power based on blockchain smart contract Download PDF

Info

Publication number
KR20190109914A
KR20190109914A KR1020180031602A KR20180031602A KR20190109914A KR 20190109914 A KR20190109914 A KR 20190109914A KR 1020180031602 A KR1020180031602 A KR 1020180031602A KR 20180031602 A KR20180031602 A KR 20180031602A KR 20190109914 A KR20190109914 A KR 20190109914A
Authority
KR
South Korea
Prior art keywords
auction
blockchain
smart
bid
smart contract
Prior art date
Application number
KR1020180031602A
Other languages
Korean (ko)
Other versions
KR102128476B1 (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 KR1020180031602A priority Critical patent/KR102128476B1/en
Publication of KR20190109914A publication Critical patent/KR20190109914A/en
Application granted granted Critical
Publication of KR102128476B1 publication Critical patent/KR102128476B1/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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • 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/06Buying, selling or leasing transactions
    • G06Q30/08Auctions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S50/00Market activities related to the operation of systems integrating technologies related to power network operation or related to communication or information technologies
    • Y04S50/10Energy trading, including energy flowing from end-user application to grid
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S50/00Market activities related to the operation of systems integrating technologies related to power network operation or related to communication or information technologies
    • Y04S50/12Billing, invoicing, buying or selling transactions or other related activities, e.g. cost or usage evaluation

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Economics (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Tourism & Hospitality (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A power transaction system based on a blockchain smart contract includes a plurality of smart meters and a plurality of full node servers. The smart meters join a blockchain network as light nodes, and start an auction by transmitting and executing a smart contract with a set auction condition, which is created by a seller producing electric power, to a blockchain, or enable a purchaser, who is going to purchase the electric power, to try to bid by generating and transmitting a transaction to the blockchain network by confirming the auction condition and executing the smart contract. The full node servers maintain all the blockchain data by joining the blockchain network as full nodes, and add the transaction transmitted from the smart meters to the blockchain by executing an agreement algorithm on the transaction. Moreover, the full node servers generate a transaction related with the auction transmitted from the smart meters as a block, and add the transaction to the blockchain. Therefore, the power transaction system is capable of making power transactions transparent and decentered.

Description

블록체인 스마트 컨트랙트 기반의 전력 거래 시스템 및 그 방법{SYSTEM AND METHOD FOR TRADING POWER BASED ON BLOCKCHAIN SMART CONTRACT}Blockchain smart contract-based power trading system and method thereof {SYSTEM AND METHOD FOR TRADING POWER BASED ON BLOCKCHAIN SMART CONTRACT}

마이크로그리드 환경에서 전력을 거래하는 시스템으로, 블록체인 스마트 컨트랙트 기술로 구현된 경매를 통해 자동으로 전력거래가 이루어지는 시스템에 대한 발명이 개시된다.Disclosed is a system for trading power in a microgrid environment, and a system for automatically trading power through an auction implemented by blockchain smart contract technology.

기존의 전력 시스템은 전력생산자와 소비자의 정보교환 시스템의 부재로 수요와 공급에 대한 효율적인 관리가 불가능하다. 기존의 전력관리 방식은 전력생산자와 소비자가 구분되어 있고 전력에너지를 저장하기 위한 기술에 한계가 있기 때문에 생산과 동시에 소비가 이루어져야 하는 특징이 있다. 전력생산자와 소비자가 구분되어있는 단 방향(One way) 구조에서는 전력 수요에 대해 민감하게 반응할 수 없으므로 현재 수요량보다 많은 양을 생산해야 한다. 또한 전력 수요가 집중되는 최대(Peak)부하를 감당하기 위해 여분의 발전시설을 구축해야 하며, 최대부하가 아닌 경우 낭비로 이어지게 된다.Existing power systems are unable to efficiently manage supply and demand due to the absence of information exchange systems between power producers and consumers. The existing power management method is characterized by the fact that power producers and consumers are separated and the technology for storing power energy has to be limited at the same time as production. In a one-way structure, where power producers and consumers are separated, they cannot react sensitively to power demand, and must produce more than current demand. In addition, it is necessary to build an extra power plant to meet the peak load where power demand is concentrated. If it is not the maximum load, it leads to waste.

이러한 낭비를 해결하기 위해 스마트 그리드가 도입되고 있는 추세이다. 스마트 그리드는 전기 생산, 유통, 소비 과정에 정보통신기술(ICT)를 융합하여 전력공급자와 소비자가 양방향으로 실시간 전력 정보를 교환을 통해 효율적 전력 운용이 가능한 차세대 지능형 전력망이다. 스마트그리드가 등장하면서 고전적인 전력관리 방식보다 에너지의 낭비를 줄일 수 있었지만 중앙관리가 필수적이다.To solve this waste, smart grids are being introduced. Smart Grid is a next-generation intelligent power grid that converges information and communication technology (ICT) in the electricity production, distribution, and consumption processes, allowing power providers and consumers to exchange power information in real time in both directions. With the advent of smart grids, we have been able to reduce energy waste than classic power management, but central management is essential.

최근 효율적인 전력관리를 위해 공급자와 소비자가 나뉜 단 방향 구성에서 소비자가 공급자가 될 수 있는 프로슈머(Prosumer)의 개념이 포함된 마이크로그리드(Microgrid) 환경이 등장한다. 마이크로그리드 환경에서 사용자는 전력을 생산하고 필요에 의해 전력을 판매할 수 있으며, 또한 다른 사용자가 생산한 전력을 구매할 수 있다.Recently, a microgrid environment has emerged that includes the concept of a prosumer that enables a consumer to become a supplier in a unidirectional configuration in which a supplier and a consumer are divided for efficient power management. In a microgrid environment, users can generate power, sell power as needed, and purchase power produced by other users.

블록체인은 분산 네트워크 환경에서 신뢰할 수 있는 데이터 공유 기술로 각광받고 있다. 최초의 블록체인은 2009년 사토시 나카모토(Satoshi Nakamoto)의 논문에서 Bitcoin 암호화폐 거래를 실현시킬 수 있는 기술로 제안 되었다. 1 세대 블록체인 기술은 암호화폐(Cryptocurrency) 거래를 실현하기 위한 분산원장기술(DLT, Distribution Ledger Technology)로 발전하였다. 2세대에서 들어서면서 분산 네트워크 환경에서도 신뢰할 수 있는 코드실행 기술인 스마트 컨트랙트가 도입 되었다. 이를 통해 다양한 조건을 갖는 계약이 중앙 시스템이나 인간의 개입이 없이 실행되어 신뢰할 수 없는 개체가 스마트 컨트랙트를 신뢰하여 계약이 진행될 수 있도록 보장한다.Blockchain has been spotlighted as a reliable data sharing technology in a distributed network environment. The first blockchain was proposed in 2009 by Satoshi Nakamoto as a technology to realize Bitcoin cryptocurrency trading. The first generation blockchain technology has evolved into distribution ledger technology (DLT) to realize cryptocurrency transactions. Entering the second generation, smart contracts, a reliable code execution technology, were introduced in distributed network environments. This ensures that contracts with various conditions can be executed without central system or human intervention, so that untrusted entities can trust the smart contracts and proceed with the contract.

제안된 발명은 마이크로그리드 환경에서 전력을 생산한 사용자가 기존의 중앙 집중방식의 전력거래가 아닌 블록체인을 활용하여 사용자간에 탈 중앙화된 투명하고 안전한 전력거래를 할 수 있는 방법을 제공하는 것을 목적으로 한다.The proposed invention aims to provide a way for users who produce power in a microgrid environment to use decentralized, transparent and secure power transactions between users using blockchain rather than the existing centralized power transactions. .

또한 제안된 발명은 블록체인의 스마트 컨트랙트를 활용한 경매를 통하여 자동화된 방식으로 최선의 가격을 탐색하여 전력거래를 체결하고 거래 결과에 따라 사용자간 전력을 공급하는 방법을 제공하는 것을 목적으로 한다.In addition, the proposed invention aims to provide a method of searching for the best price in an automated manner through an auction using a smart contract of the blockchain to conclude a power transaction and supply power between users according to the transaction result.

일 양상에 따르면, 블록체인 스마트 컨트랙트 기반의 전력거래 시스템은 복수의 스마트 미터기와 복수의 풀 노드 서버를 포함한다.According to one aspect, a blockchain smart contract-based power trading system includes a plurality of smart meters and a plurality of full node servers.

스마트 미터기는 블록체인 네트워크에 라이트 노드로 참여하고, 전력을 생산한 판매자가 작성한 경매 조건이 설정된 스마트 컨트랙트를 블록체인에 전송하고 실행하여 경매를 개시하거나, 전력을 구매하려는 구매자가 경매 조건을 확인하고 스마트 컨트랙트를 실행하여 입찰을 위한 트랜잭션을 생성하여 블록체인 네트워크에 전송하여 입찰을 시도한다.The smart meter participates as a light node in the blockchain network, sends a smart contract with the auction conditions created by the seller who produced the power to the blockchain and starts the auction, or a buyer who wants to purchase power checks the auction conditions. A smart contract is executed to generate a transaction for a bid and send the bid to the blockchain network.

풀 노드 서버는 블록체인 네트워크에 풀 노드로 참여하여 모든 블록체인 데이터를 유지하고, 스마트 미터기가 전송한 트랜잭션을 합의 알고리즘을 수행하여 블록을 생성하고 블록체인에 추가한다. 또한, 스마트 미터기 전송하는 경매와 관련한 트랜잭션으로 블록으로 생성하고 블록체인에 추가한다.The full node server participates as a full node in the blockchain network to maintain all blockchain data, and generates blocks and adds them to the blockchain by performing a consensus algorithm on the transactions sent by the smart meter. In addition, transactions related to auctions sent by smart meters are generated as blocks and added to the blockchain.

일 양상에 따르면, 블록체인 스마트 컨트랙트 기반의 전력 경매 방법은 스마트 컨트랙트에 정의되어 실행되는 초기화 단계와, 입찰 단계와, 낙찰 단계와, 회수 단계를 포함한다.According to an aspect, a blockchain smart contract-based power auction method includes an initialization step, a bidding step, a successful bidding step, and a retrieval step that are defined and executed in a smart contract.

초기화 단계는 컨트랙트를 정의하는 트랜잭션을 블록체인에 전송하는 과정으로, 판매자의 스마트 미터기에서 경매 조건이 설정된 스마트 컨트랙트를 블록체인으로 전송한다.The initialization step is a process of transmitting a transaction defining a contract to the blockchain. The smart contract of the seller transmits a smart contract in which the auction conditions are set to the blockchain.

입찰 단계는 구매자의 스마트 미터기에서 블록체인 트랜잭션을 통해 스마트 컨트랙트의 입찰 모듈을 호출하여 입찰가를 제시한다.In the bidding step, a bidding module of a smart contract is called through a blockchain transaction in a buyer's smart meter to propose a bid.

낙찰 단계는 판매자의 스마트 미터기에서 경매 조건에 설정된 경매 시간이 종료되면 블록체인 트랜잭션을 통해 스마트 컨트랙트의 낙찰 모듈을 호출하여 낙찰자를 선정한다.The bidding step selects a successful bidder by calling the smart contract's successful bidding module through a blockchain transaction when the auction time set in the auction condition is terminated in the seller's smart meter.

회수 단계는 입찰을 한 구매자들의 스마트 미터기에서 블록체인 트랜잭션을 통해 스마트 컨트랙트의 회수 모듈을 호출하여 입찰금을 회수한다.The retrieval step retrieves the bidding amount by calling the retrieval module of the smart contract through a blockchain transaction in the smart meter of the buyer who made the bid.

발명의 추가적 양상에 따르면, 블록체인 스마트 컨트랙트 기반의 전력 경매 방법은 전력공급 단계를 더 포함한다.According to a further aspect of the invention, the blockchain smart contract based power auction method further comprises a power supply step.

전력공급 단계는 경매 종료 후 경매 조건에 설정된 공급시간과 공급량에 따라 판매자의 스마트 미터기에서 낙찰자의 스마트 미터기로 전력을 공급한다.The power supply stage supplies power from the seller's smart meter to the successful bidder's smart meter according to the supply time and supply amount set in the auction conditions after the auction ends.

발명의 또 다른 양상에 따르면, 블록체인 스마트 컨트랙트 기반의 전력 경매 방법은 복수의 판매자와 복수의 구매자에 의해 연속적으로 동시에 경매가 진행될 수 있다.According to another aspect of the invention, in the blockchain smart contract-based power auction method, auctions may be continuously performed simultaneously by a plurality of sellers and a plurality of buyers.

제안된 블록체인 스마트 컨트랙트 기반의 전력거래 시스템은 마이크로그리드 환경에서 전력을 생산한 사용자가 기존의 중앙 집중방식의 전력거래가 아닌 블록체인을 활용하여 사용자간에 탈 중앙화된 투명하고 안전한 전력거래를 할 수 있다.The proposed blockchain smart contract-based power trading system enables users who produce power in a microgrid environment to use decentralized, transparent and secure power trading between users by using blockchain rather than the existing centralized power trading. .

또한 제안된 블록체인 스마트 컨트랙트 기반의 전력거래 시스템은 블록체인의 스마트 컨트랙트를 활용한 경매를 통하여 자동화된 방식으로 최선의 가격을 탐색하여 전력거래를 체결하고 거래 결과에 따라 사용자간 전력을 공급할 수 있다.In addition, the proposed blockchain smart contract-based power trading system can find the best price through an auction utilizing the blockchain smart contract and conclude the electricity trade and supply power between users according to the transaction result. .

도 1은 이더리움 블록체인 네트워크 구조에 대한 개념도이다.
도 2는 경매의 유형 분류도이다.
도 3은 이더리움 블록체인 기반의 마이크로그리드 환경의 전력거래 시스템의 개념도이다.
도 4는 일 실시 예에 따른 경매 진행 절차에 대한 절차도이다.
도 5는 솔리디티로 작성된 스마트 컨트랙트의 예시 코드이다.
1 is a conceptual diagram of an Ethereum blockchain network structure.
2 is a classification diagram of types of auctions.
3 is a conceptual diagram of a power transaction system of an Ethereum blockchain-based microgrid environment.
4 is a flowchart illustrating an auction progress procedure according to an embodiment.
5 is an example code of a smart contract written in solidity.

전술한, 그리고 추가적인 양상들은 첨부된 도면을 참조하여 설명하는 실시 예들을 통해 구체화된다. 각 실시 예들의 구성 요소들은 다른 언급이나 상호간에 모순이 없는 한 실시 예 내에서 다양한 조합이 가능한 것으로 이해된다. 블록도의 각 블록은 어느 경우에 있어서 물리적인 부품을 표현할 수 있으나 또 다른 경우에 있어서 하나의 물리적인 부품의 기능의 일부 혹은 복수의 물리적인 부품에 걸친 기능의 논리적인 표현일 수 있다. 때로는 블록 혹은 그 일부의 실체는 프로그램 명령어들의 집합(set)일 수 있다. 이러한 블록들은 전부 혹은 일부가 하드웨어, 소프트웨어 혹은 이들의 결합에 의해 구현될 수 있다.The foregoing and further aspects are embodied through the embodiments described with reference to the accompanying drawings. It is to be understood that the components of the embodiments may be variously combined within the embodiments as long as there is no contradiction between each other and each other. Each block in the block diagram may in some cases represent a physical part, but in another case may be a logical representation of a part of the function of one physical part or a function across a plurality of physical parts. Sometimes an instance of a block or part of it may be a set of program instructions. These blocks may be implemented in whole or in part by hardware, software or a combination thereof.

마이크로그리드(Microgrid)는 스마트 그리드(Smart Grid)에서 에너지 프로슈머의 개념이 추가되는 탈 중앙화된 전력관리 방식이다. 에너지 프로슈머란 기반시설(예: 화력발전소, 원자력발전소, 수력발전소 등)을 통해 전력을 생산하는 기존의 전력생산자외에 소규모 발전(예: 태양광, 풍력 등)을 통해 전력을 생산하고 동시에 전력 소비가 가능한 사람을 의미한다. 에너지 프로슈머가 등장하면서 개인간 전력거래가 요구되고, 에너지 프로슈머간 실시간으로 전력 수요와 전력 공급에 대한 정보교환을 통한 전력공급으로 에너지 손실을 최소화할 수 있다. 하지만 개별 에너지 프로슈머가 중앙 신뢰기관에 의존하지 않고 자율적인 거래를 시행할 수 있는 환경이 없는 실정이다. Microgrid is a decentralized power management approach that adds the concept of energy prosumer to the smart grid. Energy prosumers are those that produce electricity through small-scale power generation (e.g. solar, wind, etc.) in addition to the existing power producers that generate power through infrastructure (e.g., thermal, nuclear, and hydro). Means possible person. With the emergence of energy prosumers, electricity trade between individuals is required, and energy loss can be minimized by supplying power through exchange of information on power demand and power supply in real time between energy prosumers. However, there is no environment for individual energy prosumers to conduct autonomous transactions without relying on central trust.

도 1은 이더리움 블록체인 네트워크 구조에 대한 개념도이다. 이더리움은 2015년 출시된 차세대 스마트 계약 분산 응용프로그램 기술이며 스위스를 거점으로 하는 Ethereum Foundation에서 개발이 진행되고 있는 오픈 소스 프로젝트이다. 이더리움은 가상 통화 이외의 영역에서 사용하기에 어려움이 있는 종래의 블록체인 기반 기술과는 달리 솔리디티 등의 튜링 완정성(Turing-Completeness)을 갖춘 확장용 언어를 갖추고 있어 스마트 컨트랙트를 쉽고 간단하게 프로그램으로 만들 수 있다.1 is a conceptual diagram of an Ethereum blockchain network structure. Ethereum is a next-generation smart contract distributed application technology launched in 2015 and is an open source project under development at the Swiss-based Ethereum Foundation. Unlike conventional blockchain-based technology, which is difficult to use in areas other than virtual currency, Ethereum has an extension language with Turing-Completeness such as Solidity, making smart contracts easy and simple. You can program it.

이더리움은 비트코인과 마찬가기로 P2P 네트워크 상에서 거래 이력을 블록체인에 기록하는 한편 스마트 컨트랙트 그 자체나 실행 이력 또한 기록할 수 있는 특징이 있다. Like Bitcoin, Ethereum records the transaction history on the P2P network on the blockchain, as well as the smart contract itself or execution history.

도 1에 도시된 퍼블릭 이더리움의 구조에 나타난 바와 같이 이더리움 블록체인을 구성하는 노드는 풀 노드(Full node)와 라이트 노드(Light node)로 구분된다. 풀 노드는 모든 블록체인 데이터를 유지하고, 합의알고리즘을 수행하여 이더리움 네트워크를 동작시키고 진행하는 역할을 통해 이익(블록 보상, 수수료)을 얻고, 라이트 노드는 분산 애플리케이션을 이더리움 플랫폼에서 실행하고 수수료를 지불한다.As shown in the structure of the public Ethereum illustrated in FIG. 1, nodes constituting the Ethereum blockchain are divided into a full node and a light node. Full nodes maintain all blockchain data and perform consensus algorithms to gain benefits (block rewards, fees) by operating and running the Ethereum network, and light nodes run distributed applications on the Ethereum platform To pay.

도 2는 경매의 유형 분류도이다. 경매의 유형은 도 2에 도시된 바와 같이 경매가 동시에 진행되는 수에 따라 단일경매(Single Auction)와 다중경매(Double Auction) 유형으로 구분되고, 경매 진행 정보의 공개 여부에 따라 비공개 입찰(Sealed Bid)과 공개 입찰(Outcry)방식으로 구분 된다2 is a classification diagram of types of auctions. Types of auctions are divided into single auction and double auction types according to the number of simultaneous auctions as shown in FIG. 2, and the closed bids according to whether auction progress information is disclosed or not. ) And open bid method

최고가 비공개 입찰 경매(First Price Sealed Bid Auction, FPSB)는 입찰자들이 비공개로 제시한 입찰 가격 중 최고 입찰가격을 제시한 입찰자가 낙찰자로 결정되는 단일 경매 방식이다.First Price Sealed Bid Auction (FPSB) is a single auction method in which the bidder who bids the highest bid price among the bidder's bids offered by the bidder is determined as the successful bidder.

네덜란드식 경매(Dutch Auction)는 판매자가 높은 가격에서 시작하여 경매가격을 점차 낮춰가는 방식으로, 입찰자 중 한명이 낙찰하는 방식이다.Dutch Auction is a way in which one of the bidders wins by the seller starting at a higher price and gradually lowering the auction price.

영국식 경매(English Auction)는 입찰자들은 서로 경쟁하며 더 높은 가격을 제시하고, 최종적으로 가장 높은 가격을 제시한 입찰자를 낙찰하는 방식이다.In English Auction, bidders compete with each other, offer a higher price, and finally bid the highest bidder.

비공개입찰 다중 경매(Sealed-bid Double Auction, SDA)는 일정한 시간동안 판매자와 구매자로부터 동시에 비공개 입찰을 받아 낙찰자와 낙찰가를 결정하는 다중경매 방식이다.Sealed-bid Double Auction (SDA) is a multi-auction method that determines the winning bidder and the winning bidder by receiving a closed bid from the seller and the buyer simultaneously for a certain time.

연속다중경매(Continuous Double Auction, CDA)는 다수의 판매자와 구매자가 임의로 원하는 시간에 입찰하고 낙찰하는 방식으로 계속 진행된다.Continuous Double Auction (CDA) continues by bidding and winning bids at the time desired by multiple sellers and buyers.

도 3은 이더리움 블록체인 기반의 마이크로그리드 환경의 전력거래 시스템의 개념도이다. 일 양상에 따른 블록체인 스마트 컨트랙트 기반의 전력거래 시스템은 복수의 스마트 미터기(100)와, 복수의 풀 노드 서버(200)를 포함하여 마이크로그리드환경에서의 전력 경매를 탈 중앙화된 애플리케이션 실행을 보장하는 블록체인의 스마트 컨트랙트 기술을 활용하여 경매를 실행한다. 3 is a conceptual diagram of a power transaction system of an Ethereum blockchain-based microgrid environment. The blockchain smart contract-based power trading system according to one aspect includes a plurality of smart meters 100 and a plurality of full node servers 200 to ensure decentralized application execution of power auctions in a microgrid environment. Auctions are conducted using blockchain smart contract technology.

스마트 미터기(100)는 마이크로그리드 환경에서 프로슈머가 사용하는 임베디드 장비로 전력의 공급량과 수요량 정보를 공유하여, 전력관리 시스템을 효율적으로 운영할 수 있도록 한다. 스마트 미터기(100)는 외부와 네트워크 통신을 할 수 있는 기능을 포함한다.Smart meter 100 is an embedded device used by prosumers in the microgrid environment to share the power supply and demand information, so that the power management system can be efficiently operated. The smart meter 100 includes a function for network communication with the outside.

또한 스마트 미터기(100)는 블록체인 네트워크에 라이트 노드로 참여한다. 즉, 블록체인 네트워크에 연결하되 모든 블록체인 데이터를 유지 관리하지 않고, 블록을 블록체인에 추가하기 위한 합의 알고리즘에도 관여하지 않는다. 다만, 블록체인 네트워크로 트랜잭션을 생성하여 전송하거나, 블록체인에 등록된 스마트 컨트랙트를 블록체인 클라이언트 소프트웨어에 포함된 블록체인 가상 머신에서 실행할 수 있다. 따라서, 스마트 미터기(100)는 블록체인 네트워크에 연결하기 위하여 블록체인 클라이언트 소프트웨어가 설치되어 있어야 한다. 발명의 양상에 따라서는 블록체인 기술로 이더리움이 사용될 수 있으며, 이더리움이 사용되는 경우에는 Go 언어로 개발된 go-etherium(geth)가 설치되어 실행될 수 있다. 이 경우 스마트 컨트랙트의 실행 환경은 이더리움 가상 머신(Ethereum Virtual Machine, EVM)이 되며 이더리움 클라이언트 소프트웨어에 포함되어 있다. 다만, 이에 한정되는 것은 아니며 이더리움 클라이언트가 C++, 파이썬 등 다른 언어로 개발된 것을 사용할 수 있으며, 다른 스마트 컨트랙트를 지원하는 블록체인 기술이 사용될 수 있다.In addition, the smart meter 100 participates in the blockchain network as a light node. That is, it connects to the blockchain network but does not maintain all blockchain data, nor does it participate in the consensus algorithm for adding blocks to the blockchain. However, a transaction can be created and transmitted to the blockchain network, or a smart contract registered in the blockchain can be executed in the blockchain virtual machine included in the blockchain client software. Therefore, the smart meter 100 must have blockchain client software installed in order to connect to the blockchain network. According to an aspect of the invention, Ethereum may be used as a blockchain technology, and when Ethereum is used, go-etherium (geth) developed in the Go language may be installed and executed. In this case, the execution environment of the smart contract will be the Ethereum Virtual Machine (EVM), which is included in the Ethereum client software. However, the present invention is not limited thereto, and the Ethereum client may be developed in another language such as C ++ or Python, and blockchain technology supporting other smart contracts may be used.

스마트 미터기(100)는 경매 조건과 경매 실행 코드가 정의된 스마트 컨트랙트를 실행하여 경매를 개시한다. 이 경우의 스마트 미터기(100)는 생산된 전력을 판매하려는 판매자의 스마트 미터기(100)이며, 경매 조건의 입력과 경매를 위한 스마트 컨트랙트 코드를 작성할 수 있는 유저 인터페이스를 제공한다. 발명의 양상에 따라서는, 스마트 미터기(100)가 터치 스크린을 포함하여, 조건 입력 UI와 스마트 컨트랙트 작성 UI를 제공할 수 있고, 사용자가 보유한 스마트 기기 또는 PC 등에서 실행되는 어플리케이션(또는 콘솔 어플리케이션)을 통해 스마트 미터기(100)에 접속하여 경매 조건과 스마트 컨트랙트 코드를 작성할 수 있다. 또 다른 양상으로는 스마트 미터기(100)에 웹 서버가 설치되어 웹 소켓을 통해 제공되는 UI를 통해 경매 조건의 입력 또는 스마트 컨트랙트 코드의 작성을 할 수 있다.The smart meter 100 executes a smart contract in which an auction condition and an auction execution code are defined to start an auction. In this case, the smart meter 100 is a smart meter 100 of a seller who wants to sell the produced power, and provides a user interface for inputting an auction condition and writing a smart contract code for auction. According to an aspect of the present invention, the smart meter 100 may provide a condition input UI and a smart contract creation UI, including a touch screen, and execute an application (or console application) that is executed on a smart device or a PC owned by a user. By connecting to the smart meter 100 through it can be written auction conditions and smart contract code. In another aspect, a web server may be installed in the smart meter 100 to input auction conditions or create smart contract codes through a UI provided through a web socket.

경매 조건은 판매전력량과, 전력 공급 시각, 최소가, 경매시작 시각을 포함할 수 있다. 경매 조건은 스마트 컨트랙트 코드에 대한 초기 설정 값으로도 사용될 수 있다. 아래의 <표 1>은 스마트 컨트랙트에서 사용되는 조건(변수)의 초기값의 예시를 보여준다.The auction conditions may include the amount of power sold, the power supply time, the minimum price, and the auction start time. The auction condition can also be used as an initial setting for the smart contract code. Table 1 below shows an example of the initial value of the condition (variable) used in the smart contract.

변수명Variable name 기능function value auctionTypeauctionType 컨트랙트의 경매유형Contract Auction Types 1 (공개형 경매)1 (public auction) beneficiarybeneficiary 수혜자Beneficiary 판매자의 주소Seller's Address auctionStartauctionStart 경매시작 시각Auction start time t1 (컨트랙트가 블록체인에 등록되는 시각)t 1 (the time when the contract is registered on the blockchain) biddingTimebiddingTime 경매진행 시간Auction run time t2(경매를 진행할 시간)t 2 (time to proceed auction) minmin 판매자 설정 최소가Merchant setting minimum price 30 ethers30 ethers powerpower 판매 전력량Sales power 100 kW100 kW powerStartpowerStart 전력공급 시작시각Power supply start time t3(판매자 지정 공급 시작시각)t 3 (seller start time) powerEndpowerEnd 전력공급 종료시각Power supply end time t4(판매자 지정 공급 종료시각)t 4 (supplier-specified end time) highestBidderhighestBidder 최고가 제시자Highest price presenter -- highestBidhighestBid 현재 최고 입찰가Current highest bid -- endedended 경매 종료 여부Auction Closed 0 (종료 시 1)0 (1 on exit)

<표 1>에 나타난 값으로 변수가 초기화되어 스마트 컨트랙트가 실행된다. 단, t1은 컨트랙트가 블록체인에 전송되어 합의 알고리즘을 거쳐 등록될 때 등록되는 시각이 설정될 수 있다. 이후 highestBidder, highestBid, ended 변수가 실행 중 변경되며, 입찰시 더 높은 입찰금을 제시한 구매자의 주소와 입찰 금액이 각각 highestBidder와 highestBid에 반영된다. ended는 낙찰 시에 판매자가 경매 종료를 명시하기 위하여 1로 설정한다.The variable is initialized with the values shown in Table 1 and the smart contract is executed. However, t 1 may be set when the contract is registered when the contract is transmitted to the blockchain and registered through a consensus algorithm. After that, the highestBidder, highestBid, and ended variables are changed during execution, and the bidder's address and the bidding amount which presented the higher bid at the time of bidding are reflected in the highestBidder and highestBid, respectively. ended is set to 1 to indicate the end of the auction at the time of auction.

또한 스마트 미터기(100)는 스마트 컨트랙트의 경매 조건을 확인하고 실행하여 입찰을 시도한다. 이 경우의 스마트 미터기(100)는 전력을 구매하려는 구매자의 스마트 미터이며, 원하는 조건을 입력하여 경매를 검색할 수 있는 유저 인터페이스와 검색된 경매에 입찰가를 제공하며 입찰을 시도할 수 있는 유저 인터페이스를 제공한다. 발명의 양상에 따라서는, 스마트 미터기(100)가 터치 스크린을 포함하여, 검색 UI와 입찰 UI를 제공할 수 있고, 사용자가 보유한 스마트 기기 또는 PC 등에서 실행되는 어플리케이션을 통해 스마트 미터기(100)에 접속하여 검색하거나 입찰가를 제공하며 입찰할 수 있다. 또 다른 양상으로는 스마트 미터기(100)에 웹 서버가 설치되어 웹 소켓을 통해 제공되는 UI를 통해 검색 또는 입찰을 할 수 있다.In addition, the smart meter 100 attempts to bid by checking and executing the auction conditions of the smart contract. In this case, the smart meter 100 is a smart meter of a purchaser who wants to purchase power, and provides a user interface for entering a desired condition to search for auctions and providing a bid to the searched auction and attempting to bid. do. According to an aspect of the present invention, the smart meter 100 may include a touch screen to provide a search UI and a bidding UI, and access the smart meter 100 through an application executed on a smart device or a PC owned by the user. Search, bid, and bid. In another aspect, a web server may be installed in the smart meter 100 to search or bid through a UI provided through a web socket.

블록체인 네트워크에 참여하는 스마트 미터기(100)의 수는 제한되지 않으며 마이크로그리드 환경에 포함되는 프로슈머의 수만큼 스마트 미터기(100) 또한 존재할 수 있다. 또한 스마트 미터기(100)는 판매자용과 구매자용이 구분되지 않는다. 동일한 장비이며 역할에 따라 해당 경매에서 실행되는 기능이 구분된다.The number of smart meters 100 participating in the blockchain network is not limited, and the smart meters 100 may also exist as many as the number of prosumers included in the microgrid environment. In addition, the smart meter 100 is not distinguished for sellers and buyers. The same equipment, and the roles distinguish which functions are run at that auction.

풀 노드(Full node) 서버는 블록체인 네트워크에 참여하여 모든 블록체인 데이터를 다운받아 유지하는 노드이다. 따라서, 다른 노드의 도움없이 스스로 거래의 검증이 가능하다. 또한 스마트 미터기(100)로부터 스마트 컨트랙트 및 트랜잭션들을 받아 이를 포함하는 블록을 생성하여 해당 블록을 블록체인에 추가하는 합의 알고리즘을 수행하여 블록체인 네트워크를 동작시키는 역할을 수행한다. 풀 노드 서버(200)는 전력거래 환경을 제공하는 환경 제공자가 컴퓨팅 파워를 제공하고 프로슈머들로부터 수수료를 받는다. 풀 노드 서버(200)는 블록체인 네트워크에 복수로 존재하여 합의 알고리즘을 수행하므로 적어도 2 이상 존재하여야 한다.A full node server is a node that participates in a blockchain network and downloads and maintains all blockchain data. Therefore, it is possible to verify the transaction by yourself without the help of other nodes. In addition, the smart meter 100 receives a smart contract and transactions, generates a block including the same, and performs a consensus algorithm for adding the block to the blockchain to operate a blockchain network. In a full node server 200, an environment provider providing a power trading environment provides computing power and receives fees from prosumers. Since the full node server 200 exists in a plurality in the blockchain network to perform a consensus algorithm, there must be at least two.

합의 알고리즘은 P2P 네트워크와 같이 정보 도달에 시간차가 있는 네트워크에서 참가자가 하나의 결과에 대한 합의를 얻기 위한 알고리즘이다. 블록체인은 각 노드에서 만든 블록의 정당성을 검토하고 네트워크 전체에서 공유하는 블록체인인에 반영하기 위해 합의 알고리즘을 사용한다.The consensus algorithm is an algorithm for obtaining a consensus on a result from a participant in a network having a time difference in information arrival such as a P2P network. Blockchain uses a consensus algorithm to examine the validity of the blocks created by each node and reflect them on the blockchain shared throughout the network.

합의 알고리즘은 작업 증명(Proof of Work, PoW) 또는 지분 증명(Proof of Stake, PoS)이 사용될 수 있다. 작업 증명은 블록체인 네트워크에 참여한 풀 노드들이 독자적으로 컴퓨팅 파워를 사용하여 새로운 블록에 대한 블록해시를 특정 목표보다 작거나 같게 계산하여 새로운 블록을 블록체인에 추가하는 작업을 완료했음을 증명하는 방식을 사용한다. 지분 증명은 컴퓨팅 파워가 아닌 자신이 가진 지분을 통해 블록을 생성하여 블록체인에 추가한다. 즉, 더 많은 지분을 가진 풀 노드 서버(200)에 의해 블록이 생성되어 블록체인에 추가될 확률이 높아진다.The consensus algorithm may be Proof of Work (PoW) or Proof of Stake (PoS). Proof of work demonstrates how full nodes participating in a blockchain network can independently use their computing power to compute a block hash for a new block that is less than or equal to a certain goal, adding that the new block has been added to the blockchain. use. Proof of stake generates blocks and adds them to the blockchain based on their stake, not computing power. That is, the probability that a block is generated and added to the blockchain by the full node server 200 having a larger stake is increased.

풀 노드 서버(200)는 블록체인 클라이언트 소프트웨어가 설치된 서버로 설치된 블록체인 클라이언트 소프트웨어가 풀 노드로 동작하도록 설정되어 있다.The full node server 200 is configured such that the blockchain client software installed as a server on which the blockchain client software is installed operates as a full node.

또 다른 양상에 따른 블록체인 스마트 컨트랙트 기반의 전력거래 시스템에서 사용되는 스마트 컨트랙트는 초기화 모듈과, 입찰 모듈과, 낙찰 모듈과, 회수 모듈을 포함할 수 있다.According to another aspect of the present invention, a smart contract used in a blockchain smart contract-based power trading system may include an initialization module, a bidding module, a successful bidding module, and a retrieval module.

초기화 모듈은 스마트 컨트랙트 형태의 경매 컨트랙트의 초기화 기능을 수행하는 함수로 구현된다. 초기화 모듈은 컨트랙트를 정의하고 블록체인에 전송한다. 초기화 모듈은 전력을 판매하는 프로슈머가 판매전력량과 공급 시각, 최소가, 경매 시간 등을 포함하는 경매조건을 명시하여 스마트 컨트랙트를 정의하고 경매를 시작하는 기능이다.The initialization module is implemented as a function that performs the initialization function of an auction contract in the form of a smart contract. The initialization module defines the contract and sends it to the blockchain. The initialization module is a function that allows a prosumer selling power to define a smart contract and start an auction by specifying an auction condition including selling power, supply time, minimum price, and auction time.

입찰 모듈은 스마트 컨트랙트 형태의 경매 컨트랙트에서 경매에 입찰하는 기능을 수행하는 함수로 구현된다. 입찰 모듈은 경매조건을 확인하고 입찰을 시도한다. 전력을 구매하려는 프로슈머들이 경매의 조건을 확인하고 입찰을 하는 기능이다.The bidding module is implemented as a function for performing a function of bidding on an auction in an auction contract in the form of a smart contract. The bid module checks the auction conditions and attempts to bid. Prosumers who want to buy power can check the auction conditions and make a bid.

낙찰 모듈은 스마트 컨트랙트 형태의 경매 컨트랙트에서 경매를 종료하는 기능을 수행하는 함수로 구현된다. 낙찰 모듈은 낙찰자를 선정하고 경매를 종료한다. 낙찰 모듈은 판매자가 지정한 경매 시간이 종료되면 최고가를 제시한 입찰자를 선정하고, 환경 제공자에게 수수료를 지급하고 경매 종료를 알린다.The auction module is implemented as a function that performs a function of closing an auction in an auction contract in the form of a smart contract. The winning bid module selects the winner and ends the auction. The auction module selects the bidder who gave the highest price when the auction time specified by the seller ends, pays a fee to the environmental provider and informs the end of the auction.

회수 모듈은 스마트 컨트랙트 형태의 경매 컨트랙트에서 경매 종료 후 입찰자들이 입찰금 잔액을 회수하는 기능을 수행하는 함수로 구현된다. 낙찰되지 않은 입찰자 각각이 회수 모듈을 통해 낙찰된 입찰에 대하여 입찰금 잔액을 회수한다.The retrieval module is implemented as a function for bidders to retrieve the bid balance after the auction ends in the smart contract type auction contract. Each non-successful bidder recovers the bid balance for the successful bid through the retrieval module.

스마트 컨트랙트가 포함하는 각각의 모듈들은 블록체인의 블록에 등록되어 각 프로슈머들의 스마트 미터기(100)들에 공유된다. 따라서, 스마트 컨트랙트를 작성한 스마트 미터기(100)가 다른 스마트 미터기(100)를 별도로 제공할 필요가 없다. 경매에 참여하는 각각의 구매자(입찰자)들은 자기의 스마트 미터기(100)에 설치된 블록체인 클라이언트 소프트웨어의 가상 실행환경을 통해 스마트 컨트랙트를 실행한다. 발명의 양상에 따라서는 블록체인 기술로 이더리움이 사용될 수 있으며, 이더리움이 사용되는 경우에는 스마트 미터기(100)에는 Go 언어로 개발된 go-etherium(geth)가 설치될 수 있다. 이 경우 스마트 컨트랙트의 실행 환경은 이더리움 가상 머신(Ethereum Virtual Machine, EVM)이 되며 이는 이더리움 클라이언트 소프트웨어에 포함되어 있다. 다만, 이에 한정되는 것은 아니며 이더리움 클라이언트가 C++, 파이썬 등 다른 언어로 개발된 것을 사용할 수 있으며, 다른 스마트 컨트랙트를 지원하는 블록체인 기술이 사용될 수 있다.Each module included in the smart contract is registered in a block of the blockchain and shared to the smart meters 100 of each prosumer. Therefore, the smart meter 100 having created the smart contract does not need to provide another smart meter 100 separately. Each buyer (bidder) participating in the auction executes the smart contract through a virtual execution environment of the blockchain client software installed in its smart meter 100. According to an aspect of the invention, Ethereum may be used as a blockchain technology, and when Ethereum is used, the go-etherium (geth) developed in the Go language may be installed in the smart meter 100. In this case, the execution environment of the smart contract will be the Ethereum Virtual Machine (EVM), which is included in the Ethereum client software. However, the present invention is not limited thereto, and the Ethereum client may be developed in another language such as C ++ or Python, and blockchain technology supporting other smart contracts may be used.

또 다른 양상에 따른 블록체인 스마트 컨트랙트 기반의 전력거래 시스템에서 사용되는 스마트 컨트랙트가 실행하는 경매는 구매자가 동일한 경매에 대하여 복수의 입찰 시도 시 각각의 입찰금이 경매에 동결된다.In an auction executed by a smart contract used in a blockchain smart contract-based power trading system according to another aspect, when a buyer attempts a plurality of bids for the same auction, each bid is frozen at the auction.

즉, 전력을 구매하려는 구매자인 입찰자가 동일한 경매에 대하여 복수의 입찰을 시도하는 경우 각각의 입찰에 해당하는 입찰금들의 합에 해당하는 금액을 입찰자가 보유하고 있어야 입찰이 가능해진다. 예를 들어, 동일한 입찰자가 동일한 경매에 대하여 50에 해당하는 입찰을 시도하고, 이후에 60에 해당하는 입찰을 다시 시도하기 위해서는 총 110에 해당하는 금액을 보유하고 있어야 한다. 이러한 동결 기능은 구매자들의 과도한 입찰 시도를 막아 경매가 과열되는 것을 방지할 수 있고, 입찰금 변화량을 소량으로하여 경매가 진행되어 과도한 트랜잭션이 발생되는 것을 완화할 수 있다.That is, when a bidder who is a buyer who wants to purchase power attempts a plurality of bids for the same auction, the bidder must have an amount corresponding to the sum of biddings corresponding to each bid. For example, if the same bidder tries to bid 50 for the same auction, and then tries to bid 60 again, he must have a total of 110. This freezing function can prevent excessive bidding by buyers to prevent the auction from overheating, and can reduce the excessive transaction occurs by the auction proceeding by making a small amount of bid changes.

또 다른 양상에 따른 블록체인 스마트 컨트랙트 기반의 전력거래 시스템은 경매 결과에 따라 판매자로부터 구매자에게 판매한 전력을 공급하는 전력 공급 기능을 포함한다.According to another aspect, a blockchain smart contract-based power trading system includes a power supply function for supplying power sold from a seller to a buyer according to an auction result.

전력 공급 기능은 스마트 컨트랙트를 정의하고 경매를 개시한 판매자의 스마트 미터기(100)가 경매 종료 후 판매한 전력 공급량을 공급 시간에 맞춰 낙찰자의 스마트 미터기(100)에 전력을 공급할 수 있다. 전력 공급 기능은 스마트 컨트랙트에 구현되지 않고 스마트 미터기(100)에 구현된다.The power supply function may supply power to the smart meter 100 of the successful bidder according to the supply time according to the supply time by defining the smart contract and starting the auction of the smart meter 100 of the seller who started the auction. The power supply function is not implemented in the smart contract but in the smart meter 100.

일 실시 예에 따른 블록체인 스마트 컨트랙트 기반의 전력 경매 방법은 초기화 단계와, 입찰 단계와, 낙찰 단계와, 회수 단계를 포함한다.A blockchain smart contract-based power auction method according to an embodiment includes an initialization step, a bidding step, a successful bidding step, and a recovery step.

초기화 단계는 판매자의 스마트 미터기(100)에서 경매 조건이 설정된 스마트 컨트랙트를 블록체인으로 전송하여 경매를 개시한다. 초기화 단계는 스마트 컨트랙트 형태의 경매 컨트랙트의 초기화 기능을 수행하는 함수(생성자 함수)를 호출하여 실행된다. 초기화 단계는 전력을 판매하는 프로슈머가 판매전력량과 공급 시각, 최소가, 경매 시간 등을 포함하는 경매조건을 명시하여 스마트 컨트랙트를 정의하고 경매를 시작하는 기능을 수행하는 단계이다.In the initialization step, the auction is initiated by transmitting the smart contract in which the auction conditions are set in the seller's smart meter 100 to the blockchain. The initialization step is executed by calling a function (creator function) that performs the initialization function of an auction contract in the form of a smart contract. The initialization step is a step in which a prosumer selling power defines a smart contract including a sale power, supply time, minimum price, and auction time to define a smart contract and start an auction.

입찰 단계는 구매자의 스마트 미터기(100)에서 블록체인 트랜잭션을 통해 스마트 컨트랙트의 입찰 모듈을 호출하여 입찰가를 제시한다. 입찰 단계는 스마트 컨트랙트 형태의 경매 컨트랙트에서 경매에 입찰하는 기능을 수행하는 함수를 호출하여 실행된다. 입찰 단계는 전력을 구매하려는 프로슈머들이 경매의 조건을 확인하고 입찰을 하는 기능을 수행하는 단계이다.The bidding step calls a bidding module of the smart contract through a blockchain transaction in the smart meter 100 of the buyer to propose a bid. The bidding step is executed by calling a function that performs a function of bidding on an auction in an auction contract in the form of a smart contract. In the bidding step, prosumers intending to purchase electric power check the auction conditions and perform a bidding function.

낙찰 단계는 판매자의 스마트 미터기(100)에서 경매 조건에 설정된 경매 시간이 종료되면 블록체인 트랜잭션을 통해 스마트 컨트랙트의 낙찰 모듈을 호출하여 낙찰자를 선정한다. 낙찰 단계는 스마트 컨트랙트 형태의 경매 컨트랙트에서 경매를 종료하는 기능을 수행하는 함수를 호출하여 실행된다. 낙찰 단계는 낙찰자를 선정하고 경매를 종료한다. 낙찰 단계는 판매자가 지정한 경매 시간이 종료되면 최고가를 제시한 입찰자를 선정하고, 환경 제공자에게 수수료를 지급하고 경매 종료를 알린다.The successful bidding step selects the successful bidder by calling the successful bidder module of the smart contract through a blockchain transaction when the auction time set in the auction condition is terminated in the smart meter 100 of the seller. The successful bidding step is executed by calling a function that performs a function of closing an auction in the smart contract type auction contract. The winning step selects the winner and ends the auction. At the end of the auction time specified by the seller, the bidder selects the bidder who gave the highest price, pays a fee to the environmental provider and informs the end of the auction.

회수 단계는 입찰을 한 구매자들의 스마트 미터기(100)에서 블록체인 트랜잭션을 통해 스마트 컨트랙트의 회수 모듈을 호출하여 입찰금을 회수한다. 회수 단계는 스마트 컨트랙트 형태의 경매 컨트랙트에서 경매 종료 후 입찰자들이 입찰금 잔액을 회수하는 기능을 수행하는 함수를 호출하여 실행된다. 낙찰되지 않은 입찰자 각각이 회수 단계에서 낙찰된 입찰에 대하여 입찰금 잔액을 회수한다.In the recovery step, the bidder is recovered by calling the recovery module of the smart contract through a blockchain transaction in the smart meter 100 of the buyer who made the bid. The retrieval step is executed by calling a function that performs a function for the bidders to retrieve the bid balance after the auction ends in the smart contract type auction contract. Each non-successful bidder recovers the balance of the bid for the successful bid in the recovery step.

스마트 미터기(100)는 마이크로그리드 환경에서 프로슈머가 사용하는 임베디드 장비로 전력의 공급량과 수요량 정보를 공유하여, 전력관리 시스템을 효율적으로 운영할 수 있도록 한다. 스마트 미터기(100)는 외부와 네트워크 통신을 할 수 있는 기능을 포함한다.Smart meter 100 is an embedded device used by prosumers in the microgrid environment to share the power supply and demand information, so that the power management system can be efficiently operated. The smart meter 100 includes a function for network communication with the outside.

또한 스마트 미터기(100)는 블록체인 네트워크에 라이트 노드로 참여하여 블록체인 네트워크로 트랜잭션을 생성하여 전송하거나, 블록체인에 등록된 스마트 컨트랙트를 블록체인 클라이언트 소프트웨어에 포함된 블록체인 가상 머신에서 실행할 수 있다. 따라서, 스마트 미터기(100)는 블록체인 네트워크에 연결하기 위하여 블록체인 클라이언트 소프트웨어가 설치되어 있다. 발명의 양상에 따라서는 블록체인 기술로 이더리움이 사용될 수 있으며, 이더리움이 사용되는 경우에는 Go 언어로 개발된 go-etherium(geth)가 설치되어 실행될 수 있다. 이 경우 스마트 컨트랙트의 실행 환경은 이더리움 가상 머신(Ethereum Virtual Machine, EVM)이 되며 이더리움 클라이언트 소프트웨어에 포함되어 있다. 다만, 이에 한정되는 것은 아니며 이더리움 클라이언트가 C++, 파이썬 등 다른 언어로 개발된 것을 사용할 수 있으며, 다른 스마트 컨트랙트를 지원하는 블록체인 기술이 사용될 수 있다.In addition, the smart meter 100 may participate in the blockchain network as a light node, create and transmit a transaction to the blockchain network, or execute a smart contract registered in the blockchain in a blockchain virtual machine included in the blockchain client software. . Therefore, the smart meter 100 is installed with blockchain client software to connect to the blockchain network. According to an aspect of the invention, Ethereum may be used as a blockchain technology, and when Ethereum is used, go-etherium (geth) developed in the Go language may be installed and executed. In this case, the execution environment of the smart contract will be the Ethereum Virtual Machine (EVM), which is included in the Ethereum client software. However, the present invention is not limited thereto, and the Ethereum client may be developed in another language such as C ++ or Python, and blockchain technology supporting other smart contracts may be used.

경매 조건은 판매전력량과, 전력 공급 시각, 최소가, 경매시작 시각을 포함할 수 있다. 경매 조건은 스마트 컨트랙트 코드에 대한 초기 설정 값으로도 사용될 수 있다. <표 1>은 스마트 컨트랙트에서 사용되는 조건(변수)의 초기값의 예시를 보여준다.The auction conditions may include the amount of power sold, the power supply time, the minimum price, and the auction start time. The auction condition can also be used as an initial setting for the smart contract code. Table 1 shows an example of initial values of conditions (variables) used in smart contracts.

또 다른 실시 예에 따른 블록체인 스마트 컨트랙트 기반의 전력 경매 방법은 초기화 단계와, 입찰 단계와, 낙찰 단계와, 회수 단계를 포함하고 전력공급 단계를 더 포함한다.The blockchain smart contract-based power auction method according to another embodiment includes an initialization step, a bidding step, a successful bidding step, a recovery step, and further includes a power supply step.

전력공급 단계는 경매 종료 후 경매 조건에 설정된 공급시간과 공급량에 따라 판매자의 스마트 미터기(100)에서 낙찰자의 스마트 미터기(100)로 전력을 공급한다.The power supply step supplies power from the seller's smart meter 100 to the successful bidder's smart meter 100 according to the supply time and the supply amount set in the auction conditions after the auction ends.

또 다른 실시 예에 따른 블록체인 스마트 컨트랙트 기반의 전력 경매 방법에서 스마트 컨트랙트에 설정되는 경매조건은 경매시작 시각과 경매진행 시간을 포함하고, 스마트 컨트랙트에 의해 실행되는 경매는 설정된 경매시작 시간에 경매가 시작되고 그로부터 설정된 경매진행 시간 경과 후 경매가 종료될 수 있다.In the blockchain smart contract-based power auction method according to another embodiment, the auction conditions set in the smart contract include an auction start time and an auction progress time, and the auction executed by the smart contract is auction started at the set auction start time. The auction may start after the auction run time has elapsed, which has been started and set therefrom.

스마트 컨트랙트에 의한 경매를 판매자가 지정한 시간에 시작되도록 할 수 있다. 발명의 양상에 따라서는 경매시작 시각 이전에 시도하는 입찰은 입찰이 되지 않게 하는 방법이 사용될 수 있다. 또 다른 발명의 양상에서는 경매를 시작하는 코드를 스마트 컨트랙트에 포함시켜 판매자가 경매를 시작하는 코드를 실행하는 트랜잭션을 발생시키면 그때부터 경매가 시작되는 방법이 사용될 수 있다. Auctions by smart contracts can be started at the time specified by the seller. According to an aspect of the invention, a method for preventing bidding that is attempted before the auction start time may be used. In another aspect of the invention, a method for starting an auction from there may be used if the seller initiates a transaction to execute the code for starting the auction by including the code to start the auction in the smart contract.

또 다른 실시 예에 따른 블록체인 스마트 컨트랙트 기반의 전력 경매 방법에서 스마트 컨트랙트가 실행하는 경매는 구매자가 동일한 경매에 대하여 복수의 입찰 시도 시 각각의 입찰금이 경매에 동결된다.In the blockchain smart contract-based power auction method according to another embodiment, in the auction executed by the smart contract, each bidding price is frozen in the auction when the buyer attempts a plurality of bids for the same auction.

즉, 전력을 구매하려는 구매자인 입찰자가 동일한 경매에 대하여 복수의 입찰을 시도하는 경우 각각의 입찰에 해당하는 입찰금들의 합에 해당하는 금액을 입찰자가 보유하고 있어야 입찰이 가능해진다. 예를 들어, 동일한 입찰자가 동일한 경매에 대하여 50에 해당하는 입찰을 시도하고, 이후에 60에 해당하는 입찰을 다시 시도하기 위해서는 총 110에 해당하는 금액을 보유하고 있어야 한다. 이러한 동결 기능은 구매자들의 과도한 입찰 시도를 막아 경매가 과열되는 것을 방지할 수 있고, 입찰금 변화량을 소량으로하여 경매가 진행되어 과도한 트랜잭션이 발생되는 것을 완화할 수 있다.That is, when a bidder who is a buyer who wants to purchase power attempts a plurality of bids for the same auction, the bidder must have an amount corresponding to the sum of biddings corresponding to each bid. For example, if the same bidder tries to bid 50 for the same auction, and then tries to bid 60 again, he must have a total of 110. This freezing function can prevent excessive bidding by buyers to prevent the auction from overheating, and can reduce the excessive transaction occurs by the auction proceeding by making a small amount of bid changes.

도 4는 일 실시 예에 따른 경매 진행 절차에 대한 절차도이다. 판매자가 스마트 미터기 (100-1)를 통해 경매조건을 설정하고(S1000) 경매 컨트랙트의 객체를 생성(생성자 호출)하는 초기화 과정을 통해 <표 1>에서 정의된 경매 A를 트랜잭션에 정의하여 블록체인에 알린다(S1100). 풀 노드 서버(200)에 의해 블록에 포함되고(S1110) 나면 모든 구매자가 경매정보를 확인하고 입찰을 시도할지 결정하게 된다. 도 4에서는 구매자 1과 구매자 2가 경매 조건을 적절한 조건으로 받아들이고 입찰을 시도하는 것(S1111, S1112)이 도시되어 있다. 그 외 구매자 N 은 경매 시작가, 판매 전력량, 공급시간 등의 경매 조건이 맞지 않아서 구매를 시도하지 않는다(S1113).4 is a flowchart illustrating an auction progress procedure according to an embodiment. The seller sets the auction conditions through the smart meter (100-1) (S1000) and defines the auction A defined in <Table 1> in the transaction through the initialization process of creating an object of the auction contract (creator call) to blockchain. Informed to (S1100). After being included in the block by the full node server 200 (S1110), all buyers check the auction information and decide whether to attempt to bid. In FIG. 4, buyers 1 and 2 accept the auction conditions as appropriate conditions and attempt to bid (S1111 and S1112). Other buyers N do not attempt to purchase because the auction conditions such as the auction start price, sales power, supply time, etc. do not match (S1113).

입찰 과정으로 세 번의 입찰시도가 도시 되어있다. 구매자 1이 스마트 미터기(100-2)를 통해 최소입찰금액(min) 30보다 높은 35로 입찰을 시도하고(S1200) 구매자 2는 스마트 미터기(100-3)를 통해 구매자 1의 입찰가보다 높은 40으로 입찰을 시도하고 있다(S1300). 다시 구매자 1이 스마트 미터기(100-2)를 통해 45로 입찰하는 시도(S1400)를 끝으로 구매자 2가 입찰시도를 포기한다. 입찰 시도 시 호출되는 함수 Bid()는 현재 highestBidder 변수와 highestBid 변수 값과 비교하여 입찰 시도에 대한 정보를 반영한다. 또한 함수 Bid()는 이더리움의 트랜잭션을 통해서 호출되므로 개별 입찰시도가 블록체인에 반영되기 위해서는 트랜잭션에 대한 풀 노드의 블록생성이 이루어진다(S1210, S1310, S1410).Three bid attempts are shown in the bidding process. Buyer 1 attempts to bid at 35 higher than the minimum bid amount (min) 30 through the smart meter (100-2) (S1200) Buyer 2 is 40 higher than the bid of Buyer 1 through the smart meter (100-3) Attempt to bid (S1300). The buyer 2 again abandons the bid attempt after the buyer 1 attempts to bid 45 through the smart meter 100-2 (S1400). The function Bid (), which is called when a bid is attempted, compares the values of the highestBidder variable and the highestBid variable to reflect the information on the bid attempt. In addition, since the function Bid () is called through the transaction of Ethereum, the block node of the full node for the transaction is generated in order for individual bid attempts to be reflected in the blockchain (S1210, S1310, and S1410).

낙찰 과정은 경매 시간이 끝나면서 판매자가 경매를 종료하고 입찰금을 획득하는 과정이다. 구매자 1의 입찰가 45가 최고가로 종료되면서 경매 A의 end변수가 1로 반영되고(S1500), 입찰을 시도했던 구매자들이 잔액 회수를 준비하며, 판매자는 풀 노드(환경 제공자)에게 수수료를 지급한다.The auction process is a process in which the seller ends the auction and obtains a bid at the end of the auction time. As the bid 45 of Buyer 1 ends at the highest price, the end variable of Auction A is reflected as 1 (S1500), and the buyer who attempts the bidding prepares the balance collection, and the seller pays a fee to the full node (environmental provider).

회수 과정에서 회수 함수는 두 번 호출 되었다. 구매자 1의 첫 입찰시도와 함께 동결 되었던 35에 해당하는 금액과 구매자 2가 낙찰 받지 못하며 경매가 끝날 때까지 동결되었던 금액 40에 해당하는 회수가 이루어진다(S1600, S1620).The recall function was called twice during the recall process. With the first bidding attempt of buyer 1, the amount corresponding to 35, which was frozen, and buyer 2 is not successful, and the amount corresponding to the amount of frozen 40 until the end of the auction is made (S1600 and S1620).

전력공급 과정은 경매 A의 초기화시에 지정하였던 공급시간과 공급량을 구매자에게 공급하는 과정이다(S1700). 본 기능은 블록체인이 아닌 스마트 미터기(100)에 구현되어야 하며, 블록체인에 유지되는 경매 결과에 따라 공급이 이루어진다.The power supply process is a process of supplying the buyer with the supply time and supply amount specified at the initialization of the auction A (S1700). This function should be implemented in the smart meter 100, not the blockchain, and the supply is made according to the auction result maintained in the blockchain.

도 5는 솔리디티로 작성된 스마트 컨트랙트의 예시 코드이다. 도 5에 도시된 솔리디티 코드의 주요 함수를 설명한다.5 is an example code of a smart contract written in solidity. The main functions of the solidity code shown in FIG. 5 will be described.

Auction 생성자는 스마트 컨트랙트를 전송 시 최초의 변수 필드를 설정하는 초기화 역할을 수행하는 함수이다.The Auction constructor is a function that initializes the first variable field when sending a smart contract.

Bid 함수는 호출 시 가상화폐를 전송한다. 전송 금액만큼 입찰을 시도하므로, 컨트랙트는 트랜잭션의 송금량을 확인하여 입찰을 받아들일지를 결정한다.The Bid function sends the cryptocurrency on the call. Since a bid is attempted for the transfer amount, the contract checks the amount of transfer in the transaction to determine whether to accept the bid.

Auctionend 함수는 경매 진행 시간을 확인하고 시간이 종료되면 함수를 호출하여 최고가를 제시한 프로슈머를 낙찰한다.The Auctionend function checks the auction progress time and calls the function when the time expires to win the prosumer with the highest price.

Withdraw 함수는 호출 시 구매자들의 낙찰되지 않은 입찰금을 회수한다.The Withdraw function retrieves the buyer's unsuccessful bid on the call.

이더리움에서 스마트 컨트랙트를 사용하기 위해서는 트랜잭션에 컴파일된 컨트랙트 코드를 포함하여 전송하고, 블록에 포함되어야 사용할 수 있다. 함수 Auction은 트랜잭션에 컨트랙트 코드를 포함시킬 때, 최초의 변수를 설정하는 생성자 역할을 한다. 이후 입찰 시도를 위해 Bid 함수와, 경매를 종료하고 낙찰을 위한 auctionEnd 함수와, 입찰되지 못한 금액을 회수하는 withdraw함수를 트랜잭션을 통해 호출할 수 있다.In order to use smart contracts in Ethereum, you must include the contract code compiled into a transaction and send it in a block to use it. Function Auction acts as a constructor that sets the first variable when including contract code in a transaction. After that, the bid function, the auctionEnd function for ending the auction and the successful bid, and the withdraw function for retrieving the unbidden amount can be called through a transaction for bidding attempt.

일 실시 예에 따른 블록체인 스마트 컨트랙트 기반의 전력 경매 방법은 복수의 판매자의 스마트 미터기(100)에서 경매 조건이 설정된 스마트 컨트랙트를 블록체인으로 각각 전송하여 복수의 경매가 개시될 수 있다. 즉, 하나의 경매가 진행되는 동안에 임의의 다른 경매 다수가 동시에 진행될 수 있으며, 각각의 구매자는 자신이 원하는 조건에 부합하는 경매를 찾아서 입찰을 시도할 수 있다.In the blockchain smart contract-based power auction method according to an embodiment, a plurality of auctions may be started by transmitting smart contracts having auction conditions set in the smart meters 100 of a plurality of sellers to the blockchain, respectively. That is, while one auction is in progress, any number of other auctions may be performed at the same time, and each buyer may attempt to bid by finding an auction meeting his or her desired condition.

이상에서 본 발명을 첨부된 도면을 참조하는 실시 예들을 통해 설명하였지만 이에 한정되는 것은 아니며, 이들로부터 당업자라면 자명하게 도출할 수 있는 다양한 변형 예들을 포괄하도록 해석되어야 한다. 특허청구범위는 이러한 변형 예들을 포괄하도록 의도되었다. Although the present invention has been described above with reference to the accompanying drawings, the present invention is not limited thereto, and it should be interpreted to cover various modifications that will be apparent to those skilled in the art. The claims are intended to cover these modifications.

100 : 스마트 미터기
200 : 풀 노드 서버
100: smart meter
200: full node server

Claims (9)

블록체인 네트워크에 라이트 노드(Light node)로 참여하여, 경매 조건과 경매 실행 코드가 정의된 스마트 컨트랙트를 실행하여 경매를 개시하거나 스마트 컨트랙트의 경매 조건을 확인하고 실행하여 입찰을 시도하는 복수의 스마트 미터기; 및
블록체인 네트워크에 참여하여 모든 블록체인 데이터를 유지하고, 스마트 컨트랙트를 포함하는 트랜잭션을 블록체인에 추가하는 합의 알고리즘을 수행하고 블록체인 네트워크를 동작시키는 복수의 풀 노드(Full node) 서버;
를 포함하는 블록체인 스마트 컨트랙트 기반의 전력거래 시스템.
A plurality of smart meters that participate in the blockchain network as light nodes, initiate auctions by executing smart contracts with defined auction conditions and auction execution code, or attempt to bid by checking and executing auction conditions of the smart contracts. ; And
A plurality of full node servers that participate in the blockchain network to maintain all blockchain data, perform consensus algorithms to add transactions including smart contracts to the blockchain, and operate the blockchain network;
Blockchain smart contract based power trading system comprising a.
제 1 항에 있어서,
스마트 컨트랙트는 컨트랙트를 정의하고 블록체인에 전송하는 초기화 모듈과, 경매조건을 확인하고 입찰을 시도하는 입찰 모듈과, 낙찰자를 선정하고 경매를 종료하는 낙찰 모듈과, 낙찰된 입찰에 대하여 입찰금 잔액을 회수하는 회수 모듈을 포함하는 블록체인 스마트 컨트랙트 기반의 전력거래 시스템.
The method of claim 1,
The smart contract includes an initialization module that defines a contract and sends it to the blockchain, a bid module that checks auction conditions and attempts to bid, a bid module that selects a successful bidder and ends the auction, and balances the bid amount for the successful bid. Blockchain smart contract-based power trading system comprising a recovery module for recovering.
제 1 항에 있어서,
스마트 컨트랙트가 실행하는 경매는 구매자가 동일한 경매에 대하여 복수의 입찰 시도 시 각각의 입찰금이 경매에 동결되는 블록체인 스마트 컨트랙트 기반의 전력거래 시스템.
The method of claim 1,
An auction executed by a smart contract is a blockchain smart contract-based power trading system in which each bid is frozen at the auction when a buyer attempts to bid on the same auction.
제 1 항에 있어서,
스마트 컨트랙트를 정의하고 경매를 개시한 판매자의 스마트 미터기가 판매한 전력 공급량을 공급 시간에 맞춰 낙찰자의 스마트 미터기에 공급하는 블록체인 스마트 컨트랙트 기반의 전력거래 시스템.
The method of claim 1,
Blockchain smart contract-based power trading system that defines the smart contract and supplies the power supply sold by the smart meter of the seller who started the auction to the smart meter of the successful bidder according to the supply time.
블록체인 스마트 컨트랙트 기반의 전력 경매 방법에 있어서,
판매자의 스마트 미터기에서 경매 조건이 설정된 스마트 컨트랙트를 블록체인으로 전송하여 경매를 개시하는 초기화 단계;
구매자의 스마트 미터기에서 블록체인 트랜잭션을 통해 스마트 컨트랙트의 입찰 모듈을 호출하여 입찰가를 제시하는 입찰 단계;
판매자의 스마트 미터기에서 경매 조건에 설정된 경매 시간이 종료되면 블록체인 트랜잭션을 통해 스마트 컨트랙트의 낙찰 모듈을 호출하여 낙찰자를 선정하는 낙찰 단계;
입찰을 한 구매자들의 스마트 미터기에서 블록체인 트랜잭션을 통해 스마트 컨트랙트의 회수 모듈을 호출하여 입찰금을 회수하는 회수 단계;
를 포함하는 전력 경매 방법.
In the blockchain smart contract-based power auction method,
An initialization step of transmitting the smart contract in which the auction conditions are set in the smart meter of the seller to the blockchain to start the auction;
A bidding step of calling a bidding module of the smart contract through the blockchain transaction in the smart meter of the buyer to present a bid;
A successful bidding step of selecting a successful bidder by calling the successful bidder module of the smart contract through a blockchain transaction when the auction time set in the auction condition is terminated in the smart meter of the seller;
A recovery step of recovering the bid amount by calling a recovery module of the smart contract through a blockchain transaction in the smart meter of the buyer who made the bid;
Power auction method comprising a.
제 5 항에 있어서, 상기 방법은 :
경매 종료 후 경매 조건에 설정된 공급시간과 공급량에 따라 판매자의 스마트 미터기에서 낙찰자의 스마트 미터기로 전력을 공급하는 전력공급 단계;
를 더 포함하는 전력 경매 방법.
The method of claim 5 wherein the method is:
A power supply step of supplying power from the seller's smart meter to the smart meter of the successful bidder according to the supply time and the supply amount set in the auction conditions after the auction is finished;
Power auction method further comprising.
제 5 항에 있어서,
스마트 컨트랙트에 설정되는 경매 조건은 경매시작 시각과 경매진행 시간을 포함하고, 스마트 컨트랙트에 의해 실행되는 경매는 설정된 경매시작 시간에 경매가 시작되고 그로부터 설정된 경매진행 시간 경과 후 경매가 종료되는 전력 경매 방법.
The method of claim 5,
The auction conditions set in the smart contract include the auction start time and the auction run time, and the auction executed by the smart contract starts the auction at the set auction start time and ends the auction after the set auction progress time therefrom. .
제 5 항에 있어서,
스마트 컨트랙트가 실행하는 경매는 구매자가 동일한 경매에 대하여 복수의 입찰 시도 시 각각의 입찰금이 경매에 동결되는 전력 경매 방법.
The method of claim 5,
An auction executed by a smart contract is a power auction method in which each bid is frozen at the auction when a buyer attempts to bid on the same auction.
제 5 항에 있어서,
복수의 판매자의 스마트 미터기에서 경매 조건이 설정된 스마트 컨트랙트를 각각 블록체인으로 전송하여 복수의 경매가 개시되는 전력 경매 방법.
The method of claim 5,
A power auction method in which a plurality of auctions are initiated by transmitting smart contracts having auction conditions set by a plurality of sellers to a blockchain, respectively.
KR1020180031602A 2018-03-19 2018-03-19 System and method for trading power based on blockchain smart contract KR102128476B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180031602A KR102128476B1 (en) 2018-03-19 2018-03-19 System and method for trading power based on blockchain smart contract

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180031602A KR102128476B1 (en) 2018-03-19 2018-03-19 System and method for trading power based on blockchain smart contract

Publications (2)

Publication Number Publication Date
KR20190109914A true KR20190109914A (en) 2019-09-27
KR102128476B1 KR102128476B1 (en) 2020-06-30

Family

ID=68097040

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180031602A KR102128476B1 (en) 2018-03-19 2018-03-19 System and method for trading power based on blockchain smart contract

Country Status (1)

Country Link
KR (1) KR102128476B1 (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110879897A (en) * 2019-12-03 2020-03-13 广东电网有限责任公司 Block chain-based power data security protection method
CN111131399A (en) * 2019-12-03 2020-05-08 北京海益同展信息科技有限公司 Method and device for dynamically increasing consensus nodes in block chain
US20200242595A1 (en) * 2019-01-30 2020-07-30 Salesforce.Com, Inc. Systems, methods, and apparatuses utilizing a blended blockchain ledger in a cloud service to address local storage
KR102171781B1 (en) 2019-10-31 2020-10-29 제주대학교 산학협력단 Method for trading power between vehicles using block-chain and electric vehicle for the same
CN111932293A (en) * 2020-07-15 2020-11-13 广东工业大学 Resource safety transaction method based on block chain
KR102193822B1 (en) * 2020-09-24 2020-12-22 넷마블 주식회사 Distributed compile system implementing blockchain rewards
CN112465290A (en) * 2020-10-13 2021-03-09 国网上海市电力公司 Block chain-based power consumption capacity balancing method
CN112561668A (en) * 2021-02-24 2021-03-26 国网电子商务有限公司 Electric power transaction bidding method and device between distributed power supply and aggregator
CN112950338A (en) * 2021-02-26 2021-06-11 浙江工商大学 Block chain-based sealed bidding domain name auction method
CN113259180A (en) * 2021-06-29 2021-08-13 北京航空航天大学 Alliance block chain consensus method and system based on timed auction mechanism
CN113298629A (en) * 2021-06-09 2021-08-24 哈尔滨工程大学 Data sharing method based on bidirectional auction theory and intelligent contract
WO2021215761A1 (en) * 2020-04-20 2021-10-28 주식회사 와이즈테크놀로지 Private blockchain platform-based power transaction data storage system, and method for verifying and distributively storing power transaction data by using same
CN113904794A (en) * 2021-08-26 2022-01-07 中国电力科学研究院有限公司 Method and system for fusing block chain and intelligent electric energy meter
WO2022060012A1 (en) * 2020-09-18 2022-03-24 주식회사 세수 Device and method for authenticating power consumption details on basis of blockchain
KR20220055295A (en) * 2020-10-26 2022-05-03 한전케이디엔주식회사 Apparatus and method for managing demand response based on block chain
CN114529376A (en) * 2022-04-21 2022-05-24 南方电网数字电网研究院有限公司 Energy exchange data processing method and device, computer equipment and storage medium
CN114626852A (en) * 2022-03-24 2022-06-14 国网智能电网研究院有限公司 Transaction method based on block chain and transaction block chain system
CN116862707A (en) * 2023-09-04 2023-10-10 广东工业大学 3D printing community manufacturing management system based on blockchain and multi-attribute auction
CN117745399A (en) * 2023-12-19 2024-03-22 北京拍链数字技术有限公司 Safe auction platform based on blockchain distributed account book technology
WO2024096166A1 (en) * 2022-11-04 2024-05-10 주식회사 커넥티드 Power transaction operation device for power transaction system using blockchain
KR102675562B1 (en) * 2023-08-14 2024-06-14 주식회사 해줌 Pv panel angle control device and method for bidding strategy
CN117745399B (en) * 2023-12-19 2024-06-28 北京拍链数字技术有限公司 Safe auction platform based on blockchain distributed account book technology

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102494873B1 (en) * 2020-10-27 2023-02-06 주식회사 온더 Transaction execution device to implement a virtual machine based on a zero-knowledge proof circuit for general operation verification

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160061572A (en) * 2014-11-21 2016-06-01 한국전력공사 Method for relaying electric power trading
US20170358041A1 (en) * 2012-07-31 2017-12-14 Causam Energy, Inc. Systems and methods for advanced energy settlements, network-based messaging, and applications supporting the same on a blockchain platform

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170358041A1 (en) * 2012-07-31 2017-12-14 Causam Energy, Inc. Systems and methods for advanced energy settlements, network-based messaging, and applications supporting the same on a blockchain platform
KR20160061572A (en) * 2014-11-21 2016-06-01 한국전력공사 Method for relaying electric power trading

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200242595A1 (en) * 2019-01-30 2020-07-30 Salesforce.Com, Inc. Systems, methods, and apparatuses utilizing a blended blockchain ledger in a cloud service to address local storage
KR102171781B1 (en) 2019-10-31 2020-10-29 제주대학교 산학협력단 Method for trading power between vehicles using block-chain and electric vehicle for the same
CN110879897B (en) * 2019-12-03 2021-09-17 广东电网有限责任公司 Block chain-based power data security protection method
CN111131399A (en) * 2019-12-03 2020-05-08 北京海益同展信息科技有限公司 Method and device for dynamically increasing consensus nodes in block chain
CN110879897A (en) * 2019-12-03 2020-03-13 广东电网有限责任公司 Block chain-based power data security protection method
CN111131399B (en) * 2019-12-03 2021-11-26 北京海益同展信息科技有限公司 Method and device for dynamically increasing consensus nodes in block chain
WO2021215761A1 (en) * 2020-04-20 2021-10-28 주식회사 와이즈테크놀로지 Private blockchain platform-based power transaction data storage system, and method for verifying and distributively storing power transaction data by using same
CN111932293A (en) * 2020-07-15 2020-11-13 广东工业大学 Resource safety transaction method based on block chain
WO2022060012A1 (en) * 2020-09-18 2022-03-24 주식회사 세수 Device and method for authenticating power consumption details on basis of blockchain
KR102193822B1 (en) * 2020-09-24 2020-12-22 넷마블 주식회사 Distributed compile system implementing blockchain rewards
CN112465290A (en) * 2020-10-13 2021-03-09 国网上海市电力公司 Block chain-based power consumption capacity balancing method
KR20220055295A (en) * 2020-10-26 2022-05-03 한전케이디엔주식회사 Apparatus and method for managing demand response based on block chain
CN112561668A (en) * 2021-02-24 2021-03-26 国网电子商务有限公司 Electric power transaction bidding method and device between distributed power supply and aggregator
CN112950338A (en) * 2021-02-26 2021-06-11 浙江工商大学 Block chain-based sealed bidding domain name auction method
CN113298629B (en) * 2021-06-09 2023-08-01 哈尔滨工程大学 Data sharing method based on two-way auction theory and intelligent contract
CN113298629A (en) * 2021-06-09 2021-08-24 哈尔滨工程大学 Data sharing method based on bidirectional auction theory and intelligent contract
CN113259180A (en) * 2021-06-29 2021-08-13 北京航空航天大学 Alliance block chain consensus method and system based on timed auction mechanism
CN113904794A (en) * 2021-08-26 2022-01-07 中国电力科学研究院有限公司 Method and system for fusing block chain and intelligent electric energy meter
CN113904794B (en) * 2021-08-26 2024-05-14 中国电力科学研究院有限公司 Method and system for fusing blockchain and intelligent electric energy meter
CN114626852A (en) * 2022-03-24 2022-06-14 国网智能电网研究院有限公司 Transaction method based on block chain and transaction block chain system
CN114529376A (en) * 2022-04-21 2022-05-24 南方电网数字电网研究院有限公司 Energy exchange data processing method and device, computer equipment and storage medium
WO2024096166A1 (en) * 2022-11-04 2024-05-10 주식회사 커넥티드 Power transaction operation device for power transaction system using blockchain
KR102675562B1 (en) * 2023-08-14 2024-06-14 주식회사 해줌 Pv panel angle control device and method for bidding strategy
CN116862707A (en) * 2023-09-04 2023-10-10 广东工业大学 3D printing community manufacturing management system based on blockchain and multi-attribute auction
CN116862707B (en) * 2023-09-04 2023-12-05 广东工业大学 3D printing community manufacturing management system based on blockchain and multi-attribute auction
CN117745399A (en) * 2023-12-19 2024-03-22 北京拍链数字技术有限公司 Safe auction platform based on blockchain distributed account book technology
CN117745399B (en) * 2023-12-19 2024-06-28 北京拍链数字技术有限公司 Safe auction platform based on blockchain distributed account book technology

Also Published As

Publication number Publication date
KR102128476B1 (en) 2020-06-30

Similar Documents

Publication Publication Date Title
KR102128476B1 (en) System and method for trading power based on blockchain smart contract
JP7413330B2 (en) energy resource network
KR102112288B1 (en) Server for creating content with cooperation based on blockcahin, server for distributing content and system there of
KR101954590B1 (en) P2p based electric power transaction intermediation system and method
EP4350600A2 (en) Digital asset exchange
Pipattanasomporn et al. A blockchain-based platform for exchange of solar energy: Laboratory-scale implementation
Baillo et al. Optimal offering strategies for generation companies operating in electricity spot markets
Myung et al. Ethereum smart contract-based automated power trading algorithm in a microgrid environment
Oprea et al. Two novel blockchain-based market settlement mechanisms embedded into smart contracts for securely trading renewable energy
Shahidehpour et al. Blockchain for peer-to-peer transactive energy trading in networked microgrids: Providing an effective and decentralized strategy
KR20210001896A (en) Power trading intermediation system of peer to peer type based on block chain technology
KR20220136998A (en) Blockchain-based green certificate transaction system
EP3736760A1 (en) Automated transaction protocol linking renewable energy generation assets to energy power consumers applying distributed digital ledger technology and iot energy meters
Ali et al. Blockchain-assisted decentralized virtual prosumer grouping for P2P energy trading
Suthar et al. Blockchain and smart contract based decentralized energy trading platform
CN115601175A (en) Carbon emission right trading method based on block chain and Bayesian game
KR20200093953A (en) System and method of financial instruments auction
CN112785429A (en) Local area multi-microgrid power transaction pairing method based on block chain technology
CN113643131A (en) Microgrid distributed energy trading method and system based on block chain
Karandikar et al. RenewLedger: Renewable energy management powered by Hyperledger Fabric
Kwak et al. Implementation of blockchain based P2P energy trading platform
US20210326984A1 (en) Power transaction data storage system based on private blockchain platform and method for verifying and distributedly storing power transaction data using the same
Yuen et al. An automated solution for improving the efficiency of cryptocurrency mining
Groß et al. enerdag–towards a dlt-based local energy trading platform
CN114529376A (en) Energy exchange data processing method and device, computer equipment and storage medium

Legal Events

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