Font Size: a A A

Research On Blockchain Sharding Consensus Strategy Applicable To Regional Comprehensive Energy Trading

Posted on:2022-04-04Degree:MasterType:Thesis
Country:ChinaCandidate:M HuFull Text:PDF
GTID:2518306521990779Subject:Software engineering
Abstract/Summary:
With the rapid development of the Energy Internet,the weight of distributed energy transactions in the trading market is also increasing,but there are still some problems,mainly including the opacity and non-disclosure of user transaction information,and the asymmetry of user information and data.As an emerging technology,blockchain technology has the advantages of decentralization,open transactions,and data transparency,and has high compatibility with distributed energy transaction scenarios.Power data has the characteristics of real-time and has highperformance requirements for the consensus mechanism of the blockchain system.The so-called consensus mechanism is an algorithm that guarantees the consistency of the nodes in the blockchain system,which not only affects the security of the blockchain system but also determines the efficiency of the system.At present,mainstream consensus algorithms have problems such as low consensus efficiency and high resource consumption,which cannot meet the needs of the energy trading market based on blockchain.There are still areas for improvement in the performance of existing consensus algorithms.The purpose of this paper is to study the consensus algorithm to meet the demand of the regional comprehensive energy trading market.The main work of this paper is as follows.1.In this paper,a Consensus Resource Slice Method(CRSM),which is suitable for comprehensive energy transactions,is proposed to Slice the Consensus resources and divide the Consensus fields,so that multiple Consensus fields can concurrency the Consensus,which improves the efficiency of global block generation and optimizes the Consensus speed.In addition,according to the strict access and quasi-exit mechanism of the alliance chain,the consensus unit and storage unit in the blockchain system are creatively isolated and the communication pressure of the blockchain system is shared.2.To reduce the failure rate of the primary node in the CRSM system,a weightbased method for selecting the primary node is designed,which can effectively reduce the occurrence of the centralization problem of the primary node.In addition,to ensure the balance of each consensus domain,a weight-based consensus domain division method is designed.Before each round of consensus,the consensus domain is dynamically divided according to the node weight,so that the weight of the consensus node in each consensus domain is as consistent as possible.3.The throughput of the system and the rotation of the primary node under different conditions are verified by building an experimental platform.In different block sizes and the different numbers of nodes,the throughput of CRSM is increased by more than 100% compared with the comparison algorithm,and the failure rate of the primary node is reduced,which can meet the consensus efficiency requirements of energy trading scenarios.
Keywords/Search Tags:Blockchain, Consensus mechanism, Energy trading, Consensus domain, Storage domain
Related items