With the development of cloud service technology,more and more enterprises and individuals are outsourcing data storage and computing services to cloud service providers.For all the convenience of cloud services in all their forms,there is in fact no fully trusted cloud service provider.In cloud service,the fairness between data users and cloud server is an important research topic.Fair payment in cloud service can effectively guarantee the fairness of both parties.De-duplication is one of the most important technologies to reduce th e cost of cloud storage.In a cloud storage system using de-duplication,the client can outsource the storage of data files to the cloud storage server for a fee.At present,a variety of secure de-duplication encryption schemes have been designed to protect the privacy of client data.However,most of the existing fair payment solutions adopt the form of payment token generated by the third party trusted authority,which will become the bottleneck of the payment system.Cloud servers do not guarantee the availability and integrity of data uploaded by data users.In order to prevent the user data resources from being maliciously tampered,the data integrity verification should be conducted regularly to ensure the availability and integrity of the data.Therefore,it is also a challenge to ensure the fairness of both sides of the integrity audit.To solve this problem,this paper focuses on the fair payment scheme based on block chain in cloud services.The main work is as follows:1)To solve the problem that the existing fair payment scheme based on de-duplication system in cloud storage relies on trusted third party authorities,a fair payment protocol based on block-chain in cloud storage system with de-duplication is proposed.Based on the upload of de-duplication erasable files,this agreement solves the problem of traditional payment solutions relying on trusted third parties to some extent by introducing ethereum block-chain technology,and realizes the decentralized fair payment agreement for cloud de-duplication storage system.In this scheme,the client side executes the payment contract to pay the cloud server.If the cloud server returns the correct file link information,the payment transaction is completed.If the cloud server is malicious and returns an error message,the client can run the penalty contract that the cloud server is deployed in the block-chain and receive the penalty.Moreover,fair payment using ethereum smart contract technology can achieve the role of supervision,tracking the behavior of data.2)Aiming at the unfair problem between data users and cloud servers in the existing cloud storage audit,a fair payment protocol based on block chain in the cloud storage audit is proposed.Based on the existing cloud storage integrity audit scheme,the agreement realizes the fairness of payment between both parties in the integrity audit process by introducing the ethereum block-chain technology.In the integrity audit process,the data user and the cloud server conduct interactive verification through the intelligent contract.If the verification result is correct,the data user executes the payment algorithm in the contract to pay the cloud server.Otherwise,the cloud server runs a compensation contract to compensate the data users.Smart contracts ensure that both parties’ operations are honest and cannot be tampered with.Finally,the safety analysis and experimental evaluation show that this scheme has more advantages than the original scheme. |