| Under the social background of low-carbon travel and traffic congestion,with the advent of the era of big data,the field of transportation relying on the Internet is developing rapidly.Among them,shared bikes,as a product of the new era,are quietly affecting people’s way of travel.In recent years,the bike-sharing industry has shown a momentum of rapid development by the fast lane of the mobile Internet and its own advantages,and has spread all over the country.However,due to the lack of management system and technical support,various problems caused by shared bikes have ensued.First of all,the imperfect repair channels of users make damaged bikes pile up everywhere and no one handles them,which seriously leads to the idleness and waste of bike resources.Secondly,the phenomenon of disorderly parking of bikes seriously affects the appearance of the city and hinders traffic,and the existing system is difficult to ensure the reliability and traceability of bike data.Finally,due to the sensitivity of bike data,strict access control is needed to ensure the security of the data.Therefore,in this thesis,a bike-sharing system based on blockchain is proposed.In this system,all data of bikes,including bike riding data,repair data and report data,will be written into the blockchain in the form of transaction,so as to ensure the traceability and authenticity of the data.Any user’s repair request will be timely processed based on the repair data on the blockchain;and any user’s disorderly parking behavior will be based on the riding data in the blockchain as evidence,thus achieving the purpose of accountability.Because the blockchain faces with the problem of storing too much data,we also introduce cloud storage technology,which facilitates the storage and management of bike data.Meanwhile,attribute-based encryption is used to realize fine-grained access control of bike data in the cloud.Overall,the contributions of this thesis are as follows:(1)In view of the difficulty in maintenance and random parking in the development of shared bikes,a blockchain-based maintenance and accountability scheme for shared bikes is proposed.In this scheme,the characteristics of the blockchain are fully utilized to ensure the transparency and traceability of the various data of shared bikes.At the same time,the chain also provides a reasonable accountability channel for relevant departments.(2)Combining blockchain technology and cloud storage technology,taking blockchain as the underlying platform and cloud server as the storage support,using attribute-based encryption to achieve fine-grained access control.It can not only realize the privacy protection of bike data,but also realize one-to-many encrypted data sharing.(3)Designed and implemented a shared bike system based on blockchain,and carried out performance analysis at the same time,which preliminarily shows that the scheme has certain practical application significance. |