| In recent years,with the change of information dissemination mode,the data stored in the Internet is increasing day by day.The distributed cloud storage system based on cloud computing has become a hot research and implementation field.Many enterprises and institutions have developed and implemented cloud disk systems suitable for their own storage needs.Therefore,in the environment of cloud platform,the need to design and develop a cloud network disk system for enterprises arises.Because the moosefs distributed file system is suitable for the upload and download operation of massive small files and has fuse,the cloud disk system in this thesis is designed and implemented based on moosefs.In this thesis,a disk system is developed based on MooseFS under the cloud platform environment.Firstly,the concept of cloud disk technology is introduced,and then some key technologies associated with SkyDrive are introduced,mainly including cloud storage,cloud disk mount technology,encryption technology,file filter driver technology,moosefs architecture and its working principle,single point fault problem.Later,this thesis studies moosefs based on the source code,through the transformation of the moosefs source code,a hot standby metadata node is introduced to moosefs,and a metadata consistent with the primary metadata node is maintained in the memory of the standby metadata node.When the primary metadata node fails over to the standby metadata node,the standby metadata node does not need to load metadata locally,and can directly provide services to the external.The system performance is compared with the original algorithm.On this basis,the client module and encrypted transmission module are designed and implemented.The client module adopts the authentication mode of single sign on.The user only needs to carry out the authentication process once,and then the authentication tasks can all be handed over to the password system.This mode greatly simplifies the user's operation steps and improves the user experience.The encrypted transmission module uses Samba software based on SMB protocol to realize data sharing.After careful study of the transmission mechanism of SMB protocol,this thesis proposes a secure transmission module based on twice authentication and file encryption.Although the traditional Samba file sharing technology realizes file sharing in the local area network,there is still the risk that the file is stolen illegally.By using the above improved encryption transmission method,the security of the file in the transmission process is improved,and the file encryption and decryption operation is completely transparent to the user,and will not affect any operation of the user.Then,the cloud disk system which is developed based on the above three modules is tested in two aspects.According to the test results,the optimized network disk system has normal file operation function,more reliable and fast disaster recovery backup ability and more secure file transmission process,which is suitable for providing storage services for enterprises under the cloud platform. |