| Blockchain technology is developing very rapidly.As a decentralized distributed technology,it has become one of the most promising Internet applications.The application of blockchain technology in the energy Internet has also received extensive attention.In the power network transaction mode,each distributed power source joins the blockchain network,transfers transaction information in a decentralized distributed network architecture,and completes transaction logic decisions through smart contracts;and the power surplus trading platform emphasizes information interaction and rapid decision making.This can use blockchain technology to ensure mutual trust and information interaction between various entities.Therefore,research on blockchain-based power trading platform has important research value.We focus on the application of blockchain technology in the energy Internet.Based on the research of power surplus trading,we design a power trading platform based on blockchain,and realize the power trading business by using Ethereum smart contract.Finally,we designed The blockchain-based power safety surplus trading mechanism,and the main work carried out is as follows:(1)Based on the Ethereum architecture,this paper designs a power-room trading platform based on blockchain.Firstly,the whole operation principle of Ethereum smart contract is studied.The Ettafang block structure,data information transfer process and consensus mechanism are used to analyze the deployment and interaction mechanism of Ethereum smart contract.Then it describes the specific trading mode of the remaining power,analyzes the market trading cycle of the power surplus,and designs the specific process of the single power trading.Finally,using the smart contract technology,the power balance trading contract is proposed according to the power trading process.(2)Based on the designed power trading platform,there is information asymmetry between the trading center and the surplus trading users in the power balance trading platform,it is difficult to ensure the fairness of the transaction and affect the actual income of the production consumers.This paper constructs a power trading fair trading mechanism by using the blockchain.Firstly,the trading mechanism of the power surplus market is analyzed.Then the intelligent contract of multi-party bidding power resources based on blockchain technology is designed.The decentralized power trading decision is completed to ensure the information is symmetric and fair.At the same time,the credibility model is established by analyzing the user’s recent transaction records,and the corresponding punishment mechanism is designed to strengthen the constraint on the execution of offline point-to-point power transactions.Finally,the power balance fair trading mechanism based on blockchain smart contract is simulated and tested,and the performance is designed. |