摘要
This paper introduces a decentralized ride-sharing system called BRIP that utilizes blockchain technology. BRIP addresses various issues commonly associated with centralized ride-sharing such as single points of failure, privacy violations, lack of security and transparency, and distributed denial of service (DDoS) attacks, by utilizing the blockchain. It also integrates the Interplanetary File System (IPFS) with blockchain to move ride-sharing data from the blockchain to the IPFS and retaining only a compact IPFS hash for storage. This integration resolves the scalability challenges associated with storing and handling large volumes of ride-sharing data on the blockchain. However, the use of blockchain technology alone, even with IPFS integration, does not guarantee complete solutions for privacy, security, transparency, and trust. Therefore, to ensure security and privacy in BRIP, ride-sharing data is encrypted before being stored in the IPFS and blockchain, as well as processing these data. This paper also implements pseudonyms, unlinkability, and encryption techniques to protect users' privacy. To establish trust among users and ensure transparency of all ride-sharing transactions, we proposed an enhanced methodology by leveraging the capabilities of blockchain technology and smart contracts. This methodology is also designed in a way that helps in privacy-preservation, trust, and transparency. Furthermore, the trade-off between privacy-preservation is still a challenge in blockchain-based ride-sharing systems, which is resolved through semantic matching. Therefore, the paper proposes two semantic models, COR2Vec and customized Time2Vec, to accurately and semantically match, spatially and temporarily respectively, users while preserving their privacy. Finally, experimental results demonstrate the effectiveness and efficiency of the proposed BRIP system.