Font Size: a A A

Smart Contract Performance Analysis And Application Research For Trusted Data Interaction

Posted on:2024-06-18Degree:MasterType:Thesis
Country:ChinaCandidate:Y N YanFull Text:PDF
GTID:2568306944462164Subject:Communications Engineering (Broadband Networks, Mobile Communications, etc.) (Professional Degree)
Abstract/Summary:
Smart contracts are the key technology of blockchain,which with their flexibility and scalability,expand the scope of blockchain beyond the financial sector and enable its application in various fields such as the Internet of Things and Industrial Internet.In recent years,smart contract technology has gradually played a role in scenarios such as Smart Grids and Smart Cities,addressing issues of decentralization,privacy,security,and providing a trusted environment for interaction.However,existing smart contract applications still face the following problems:(1)current research mainly focuses on the performance of smart contract virtual machines,lacking analysis and comparison of the overall performance of smart contract platforms.The performance of the same smart contract may vary greatly on different platforms.(2)In the field of trusted data interaction,developers need to design special smart contracts to store data and execute algorithms,and develop dedicated software for data uploading,lacking a universal way of data transmission and storage.To address the aforementioned issues,this paper proposes a performance comparison method to test the mainstream smart contract platforms and analyze the performance differences between them.Additionally,a blockchain-based trusted data transmission system is designed and implemented,which is capable of providing trusted representation for different types of data.The main contributions of this paper are as follows:1.The performance analysis and testing of mainstream smart contract platforms are conducted.Firstly,the factors that affect the performance of smart contracts,including virtual machine,consensus mechanism,and contract billing mechanism are analyzed.Through experiments,the contract billing mechanism of the Ethereum client is removed,and the client’s performance is improved by about 10%.Secondly,this paper designs several benchmark contracts,and uses testing tools to perform unified standard performance analysis on each platform.The test results show that in the private chain platform,Fisco BCOS has better performance than Hyperledger Fabric,while in the public chain platform,ETH has better performance than Besu.2.Based on the above test results,this paper selects Fisco and ETH platforms to design and implement a blockchain-based trusted data transfer system to solve the problems of data sharing and safe storage in practical applications.The system uses the Socks protocol for transparent proxying of data,and performs automatic on-chain encryption,using blockchain consensus mechanisms and cryptography mechanisms to make data safe,credible and non-tamperable,and realize the functions of privacy protection and data credibility.
Keywords/Search Tags:blockchain, smart contract, information sharing, privacy protection, performance analysis
Related items