Font Size: a A A

Research On Secure House Leasing System Based On Smart Contract

Posted on:2020-08-25Degree:MasterType:Thesis
Country:ChinaCandidate:J J ZhongFull Text:PDF
GTID:2518305981952869Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
Blockchain technology was originally an underlying technology for Bitcoin.The blockchain technology is composed of a combination of consensus algorithms and modern cryptography techniques,which makes it decentralized,open,tamper-proof,anonymized,and traceable.Domestic Internet of Things technologies are becoming more and more mature,and smart devices have being applied to different fields.Especially in the mobile Internet of Things,the demand for controlling Io T devices through instant communication tools is increasing,and the requirements for security and privacy of communication control are increasing.In the housing rental scenario,the traditional way of renting a house is that the owner of the house usually entrusts a housing agent or a service center that provides rental of the house(such as chain home,Airbnb,etc.)to rent the house.The renting process is cumbersome,and the tenants leak information and are tampered with.Problems such as disputes over rental contracts occur frequently.On the other hand,with the popularity of Io T devices,smart door locks are controled by the rental system.In addition to the tenant,the intermediary or service center has the control of the room door lock,they can control the door locks arbitrarily,which means they have the right to force the tenants to move away,the tenant's right to use the room is subject to damage.Therefore,providing a de-intermediation,rental system that provides privacy protection and access control functions is an urgent need of tenants.This paper first studies the use of different computer programming languages to implement RSA,PBKDF2 and public key searchable encryption algorithms,and achieve cross-system encryption and decryption functions.Then configure the Ethereum operating environment and software development environment,respectively,use the Geth client to establish a private chain with Ganache,design a P2 P network,and analyze the functions of each node.Then combine the RBAC model and the Solidity language to write the system's smart contract,and deploy the smart contract through the Truffle framework,then use Remix to test and call the smart contract,and analyze and adjust the smart contract function according to the output.Blockchain technology,RSA public key encryption and digital signature technology,PBKDF2 technology and public key searchable encryption technology ensure data storage,transmission and verification security.In order to realize the basic functions of renting,renting and checking out,this paper designs an access control protocol for the landlord,the room and the tenant to coordinate the work for each of the three functions,and analyzes the scope of the permission use time in detail.In order to improve the user experience,this article also designed an Android App as the system client.The tenant can realize all the functions of renting through the App.Compared with the traditional house rental system,this system has the advantages of decentralization,preventing collusion attacks,preventing fraudulent illegal access,low maintenance cost,data privacy protection,efficient access control,and convenience.Aiming at the existing problems in the housing rental scenario,this paper designs a safe house rental system with access control,and this paper applies the experimental experiments to each device of the system.The experimental results presented in this paper show that the system designed in this paper successfully prevents the tenant data leakage,and at the same time realizes the access control function and the payment and checkout functions required for renting.In addition,according to the experimental results,this paper analyses the Gas cost of deploying and invoking the intelligent contract,and converts it into French currency according to the real-time market price,which proves that the system has the advantage of low maintenance cost.
Keywords/Search Tags:blockchain, smart contract, Ethereum, Internet of Things, leasing system, decentralization
PDF Full Text Request
Related items