| In recent years,the number of cars has been increasing,but the construction of parking lots has lagged behind,making it difficult for drivers to park.The intelligent parking system provided hardware equipment,management platform and user service,which greatly improved the parking efficiency of the driver and the management efficiency of the parking administrator,and effectively alleviated the parking problem.The conventional intelligent parking system achieved efficiency and convenience,but there were problems of centralized storage and data security.The centralized storage method of the system leaded to single point of failure and information asymmetry.The system platforms were independent and highly open,and the security risk of data was high.Based on the blockchain technology,this thesis designs and develops an intelligent parking system with decentralized storage and mutual supervision of multi-party alliances: the intelligent parking system based on blockchain.The design and development of the system adopts the basic strategy of hierarchical design and modular development.The specific contents include:(1)Hierarchical design.The data layer is based on the Hyperledger Fabric platform for the design of on-chain information,blockchain architecture and smart contracts.Based on the design of on-chain information,user privacy information adopts asymmetric encryption,and only public key information is disclosed for on-chain transactions,which can avoid the leakage of user privacy information;user permission information,as the access permission of the blockchain,can prevent a certain degree of open attack.Based on the multi-organization and multi-node design in the blockchain architecture,it can prevent the ledger from being tampered with and solve the single point of failure problem.Based on the smart contract design,the update of the ledger is completed to realize the business requirements of the parking system.The service layer is based on the Express framework for the design of server-side scripts.The application layer is based on the Vue framework for the design of the client interface.(2)Modular development.The development of the data layer includes the construction of the Fabric platform,the configuration of the Fabric network architecture of the parking system,and the writing and deployment of smart contracts;the development of the service layer includes the registration of authority information,and the writing and deployment of server-side scripts;the development of the application layer includes the configuration of interactive information,writing client code.Through the step-by-step test and overall operation of the system,the parking system developed in this thesis can meet the user requirements of three objects.Among them,the functions of the driver include querying,reserving and leaving the parking space;the functions of the parking lot administrator include querying,creating and deleting parking spaces,and updating the number and price of parking spaces;and the functions of the traffic management department include querying parking spaces,updating the number and price of parking spaces.The intelligent parking system based on blockchain,designed and developed in this thesis,has certain practical value for the research and development of intelligent parking system. |