| With consensus algorithm and encryption algorithm technology,blockchain can realize decentralization,data security and data trustworthiness of the system.The blockchain-based housing rental system is proposed to address the current problems of unsecured user privacy and malicious price increases in the housing rental market.The system uses blockchain technology to secure user privacy,provide credible data and establish a credit system in the system.The system was analyzed in the context of the housing rental business,and the general architecture and network topology combined with blockchain system were designed.A data storage model and data operation model are proposed for the system to solve the data storage problem in multi-storage system scenario.The main functional modules are designed,including user authentication function,house management function,comment management function,account management function and history traceability function.The user authentication function provides access control to the system,which is realized by using two mechanisms: digital signature and token.The house management function provides users with various operations and interactions for houses,including posting,viewing,reserving,signing and defaulting.The comment management function provides the ability for users to comment on each other.The account management function provides the ability for users to make rent payments using their accounts on blockchain.The history traceability function records user default history and house modification history.Users perform important business operations and access sensitive personal data through digital signatures,no longer giving private information to untrustworthy databases nakedly.The rental contract information of the signed houses is stored in the blockchain system.The strict implementation of consensus algorithm ensures that malicious attackers cannot tamper with the contents of the contract,and digital signature guarantees the trustworthiness of the respective identities of house owners and tenants.The security,trustworthiness and non-tamperability of the blockchain system guarantee the privacy and safety of users and enhance the trustworthiness of transactions.The results of functional and performance tests illustrate that the system can meet the needs of housing rental business and further solve the problems of privacy leakage. |