Cloud storage enables users not to care about the capacity of local storage devices,and can help users access their own data anytime and anywhere.Traditional cloud storage systems store files in the form of plain text,facing data security challenges,such as data leakage,data tampering,data loss,etc.,and traditional auditing technology cannot guarantee the credibility of traceable data,making cloud storage platforms difficult to track Illegal actions by users.In addition to data security,cloud storage also needs to consider data availability.Cloud storage is centralized storage,and there is a single point of failure problem.Technologies such as data backup,redundant storage,and load balancing need to be used to ensure high availability and high reliability of data.Aiming at these deficiencies in traditional cloud storage,this thesis proposes the design and implementation of a cloud network disk system based on distributed storage.The system aims to optimize the performance of cloud storage and solve data security problems at the same time.In this system:Aiming at data privacy and security issues,a targeted file encryption mechanism is designed,combining symmetric encryption and asymmetric encryption,and uploading encrypted files to cloud storage to avoid leakage of user privacy.Aiming at the waste of cloud storage resources,a data de-redundancy scheme based on convergent encryption technology is designed.This solution allows only one copy of the same file to be stored in the cloud,reducing the waste of storage resources and solving the conflict between data encryption and data redundancy.For file reading performance issues,combined with caching technology to speed up file reading efficiency.At the same time,the LRU elimination algorithm is improved,and the cold and hot chain data elimination algorithm is designed to improve the hit rate of files in the cache area and avoid cache pollution and other problems.Aiming at the problem that file metadata and traceability data are easy to be illegally tampered with,combined with blockchain technology,using on-chain and offchain collaborative storage,a data traceability solution based on blockchain is designed,which effectively guarantees the reliable storage of data and is credible.Traceability.Finally,the function and performance of the cloud network disk system are experimentally tested,which proves that the cloud network disk system can provide users with complete and safe file storage,guarantee user privacy and security,and provide effective and credible data traceability.The improved elimination algorithm can provide a higher caching effect,and the addition of the blockchain improves the protection strength of the data without causing too much impact on the performance of the system. |