| With the rapid development of information technology,research on road management systems has started in China.However,most of the existing systems are managed in a centralized manner,which may lead to problems such as tampering of maintenance information.The system also faces phenomena such as data islands,missing data,and lack of supervision.Due to the large number of road networks in China,the work of various departments are prone to interface problems as well as the emergence of maintenance data flow is not smooth in the process of urban road maintenance.As a tamper-proof and open and transparent distributed database,blockchain technology can be effectively used in the scenario of data storage and sharing of road maintenance system.At the same time,the privacy protection method based on cryptography can keep the private data from being leaked.Therefore,this paper designs a privacy protection scheme for road maintenance based on blockchain technology.The main research elements are as follows:(1)The protection mechanism of hybrid encryption is designed for the insecurity of conservation data storage.The data information involving privacy in the uploaded data is encrypted with AES and ECC hybrid encryption scheme,AES encrypts data plaintext information,ECC encrypts AES key,ciphertext information is uploaded to IPFS,and the hash address and key ciphertext returned by IPFS are uploaded to the blockchain,and the enc ryption scheme is also analyzed and compared.(2)The D2SOC-IPFS scheme model based on blockchain and IPFS is designed to address the privacy leakage problem in the process of data storage and sharing Different departments are divided into federated nodes,attribute authority is assigned for each node user,use attribute encryption and proxy re-encryption algorithm is used to further protect data privacy by deploying smart contracts for data sharing,and users who do not pass the access policy do not have t he right to decrypt.(3)A blockchain-based road maintenance system was built i n this paper.We built an consortium blockchain environment as the underlying blockchain platform,used IPFS as the storage database,used Spring Boot framework for backend development,combined with smart contracts to realize the functions of road maintenance system user registration and login,encrypted storage of disease data and key information on the chain,data decryption view,and so on,and demonstrated through the front-end interface,and also tested the system functions,and the results showed that the system can realize the relevant functions and meet the expected requirements. |