Font Size: a A A

Design And Implementation Of Social Platform Based On Blockchain

Posted on:2022-05-16Degree:MasterType:Thesis
Country:ChinaCandidate:Q RuanFull Text:PDF
GTID:2518306494981119Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the rapid development of the mobile internet,online social network has become an important way of communication.Especially in recent years,social network platforms such as Weibo,Twitter,and Facebook have gained huge commercial value thanks to numerous users.However,active users and publishers of high-quality content who have contributed to the platform have not received the benefits they deserve.In addition,in traditional online social platforms,the data generated by users on the platform is stored by the central server,and the platform can obtain all the user's information.This centralized data storage method has the hidden danger of user information leakage and malicious data tampering.Based on the above issues,the blockchain technology is applied to the field of social networks in this paper.We hope to use the technology of peer-to-peer network,consensus mechanism,asymmetric encryption of blockchain to compensate for the malicious tampering of user data,untraceable information,user information leakage,and lack of reward mechanisms in traditional social networks.This paper designs and implements a social platform based on blockchain technology.In terms of functions,the system mainly includes four modules: user personal information management module,blog module,time capsule module,and wallet management module.In addition,the system also introduces a reward mechanism,which is divided into promotion rewards and reward rewards.Users give rewards to their favorite content,so that outstanding original authors can get their due rewards,and more users are willing to join social platforms to share high-quality original content.In terms of performance,considering that the blockchain has low storage efficiency and high cost compared to local databases such as My SQL and SQL Server.So this paper combines local database My SQL,blockchain database and IPFS technology to design a hybrid storage solution.The solution fully retains the advantages of various databases,which not only ensures the credibility of the data,but also ensures the efficiency of data read and write.The business logic of each module of the system is written in smart contracts and then deployed on blockchain.Because the smart contract has the characteristics of automatic execution,no third-party supervision,and once deployed,it can no longer be modified.Therefore,in order to avoid deploying smart contracts with vulnerabilities on blockchain,it is very necessary to verify the security of smart contracts before deployment.This paper also conducts related research and experiments on smart contract security verification,which mainly includes two aspects.They are smart contract business process verification based on Petri net technology and smart contract code vulnerability detection based on symbolic execution technology.Through the double-layer verification at the business logic level and the high-level language level,the probability of security vulnerabilities in smart contracts is greatly reduced.
Keywords/Search Tags:blockchain, social network, smart contract security, hybrid storage
PDF Full Text Request
Related items