Font Size: a A A

Research On Consortium Chain Consensus Algorithm Based On Credit Space

Posted on:2024-09-26Degree:MasterType:Thesis
Country:ChinaCandidate:Z Q LuoFull Text:PDF
GTID:2568307124471514Subject:Computer technology
Abstract/Summary:PDF Full Text Request
Blockchain is known as the core technology to realize the sustainable development of business and industry.Its characteristics of traceability,non-tampering and decentralization can solve many problems under centralized storage.It is a new generation of information technology in the current national key layout.As a key technology of blockchain,the consensus algorithm can ensure the consistency and legitimacy of data and whether the latest block is correctly added to the blockchain,which directly affects the system performance.In recent years,it has gradually become a hot topic in the academic and industrial circles.Consortium chain is the preferred framework for current blockchain applications.According to the different permissions of nodes,strict access control can be performed on the data stored in the consortium chain and applied to different scenarios.Therefore,it is of positive significance to study the consensus algorithm in the consortium chain for the innovative application of the consortium chain.The credit-based consortium chain consensus algorithm can select accounting nodes safely and efficiently and set a penalty mechanism for malicious nodes to improve the overall security.However,there are still some problems in the existing credit-based consortium chain consensus algorithms.For example,some algorithms are prone to generate “oligarchy” nodes,which affect the enthusiasm of consensus nodes and thus affect the overall consensus efficiency.At the same time,the punishment for malicious nodes is too serious,so that non-malicious nodes can no longer continue to participate in the consensus.To solve these problems,the corresponding credit mechanism can be set to avoid the generation of “oligarchy” nodes,and the corresponding punishment mechanism can be set to judge the nodes,so that the non-malicious nodes can participate in the consensus again.In this paper,the credit-based coalition chain consensus algorithm is deeply studied.The main work is as follows:(1)This paper summarizes the existing mainstream consensus algorithms of the consortium chain,especially the in-depth study of the consensus algorithm of the consortium chain based on the credit mechanism,understands the node credit evaluation index and calculation model,analyzes the current mainstream consensus algorithm based on credit,and points out that the current credit mechanism has insufficient incentive mechanism,prone to credit “oligarch” nodes and excessive punishment for non-malicious evil nodes.(2)Aiming at the problems of “oligarchy” nodes and excessive punishment for nodes in existing consensus algorithms based on credit,a semi-fragile consortium chain consensus algorithm based on credit space is proposed.Firstly,it proposed the “miner” node selection mechanism based on credit space.The mechanism calculated the credit value of nodes according to the established credit evaluation model,and then allocated the credit space of nodes according to the credit value,finally,used the random algorithm to select “miner” nodes in the credit space,which effectively inhibited the generation of “oligarchy” nodes and maintained the enthusiasm of nodes.Secondly,this paper proposed a semi-fragile hierarchical punishment mechanism,and designed the hierarchical punishment measures according to whether the node intentionally commits malicious acts,in addition the non-malicious node is given the opportunity to continue participating in the consensus while the malicious node is punished,which solved the problem of excessive punishment of nodes.The simulation results show that the consensus algorithm has randomness while ensuring credit incentive,and it is more reasonable for node punishment mechanism,as well as it has better security and performance,and can be well applied to consortium chain scenarios.(3)On the basis of the above,a power energy trading system based on consortium chain is designed and implemented.Firstly,the demand analysis is carried out for the problems existing in the current energy trading,and then the model,architecture and function of the system are designed.Using the Hyperledger Fabric framework,the semi-fragile consortium chain consensus algorithm based on the credit space proposed in this paper is introduced.The power energy trading system is successfully built and the functions of user registration,asset transfer,power energy trading are realized.At the same time,the system performance is tested to ensure that the system can meet the performance requirements of actual use.
Keywords/Search Tags:blockchain, consensus algorithm, credit space, consortium chain, energy trading
PDF Full Text Request
Related items