Font Size: a A A

Research And Implementation Of Network Diskbased On Version Control

Posted on:2019-04-14Degree:MasterType:Thesis
Country:ChinaCandidate:T WangFull Text:PDF
GTID:2348330563953982Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
With the development of Internet and cloud computing,the number of personal information such as videos,pictures and documents has exploded.In this context,personal network disk has developed rapidly.Traditional network disk needs the users make data synchronized manually,which has been unable to cope with the increasing of data.Many problems,such as data loss,version confusion,and the asynchrony of each client's data update,directly affect the efficiency of the user.Therefore,it is a new requirement for the individual network disk system to manage the data effectively in the multi terminal environment.Based on those demands,this thesis analyzed the implementation methods of existing personal network disk system,and combined with the key technologies of automatic synchronization and version control to design a personal network disk system based on version control.The main contents of this thesis are as follows:1.The research on the technologies applied to this system mainly includes the automatic synchronization method of multi terminal files and the version control technology.The automatic synchronization of multi terminal file technology uses client event triggering to detect local synchronization folder's changes in real time.After the modification synchronized to the server,the server initiatively pushes the operation to other clients,which reduce the system cost.The automatic synchronization method of multi terminal files is proposed to ensure the consistency between the server and the client data,and to compare the metadata information regularly to detect consistency.Version control technology used the rsync method to save different versions of the data so as to complete the data recovery and rollback.Analyzed the conflict problem of the same file which can be operated by multiple clients,and proposed the solution of conflict.2.This thesis analyzed the existing personal network disk system and designed the architecture of the network disk system based on version control.The system uses a layered model,which is composed of storage layer,control layer and performance layer.The storage layer is composed of the MySQL database and the Ceph distributed file system,in which the MySQL database is used to store the metadata,and the real data stored in the Ceph file system.This structure ensures the storage of massive data and improves the scalability of the system;the control layer and the performance layer adopt the B/S architecture based on the SSH framework.The control layer composed by Web application server cluster to ensure the performance of the system,and the performance layer is the browser terminal to improve universality of the system.3.According to the analysis and design of the network disk system based on version control,this thesis build the system environment,implement the whole system,and show some parts of the system functions.Through a variety of test cases,this thesis tests the performance and functions of the system.The results show that this system can not only realize the function of universal personal network disk,but also realize the automatic synchronization method of multi terminal files and version control to improve the efficiency of user.
Keywords/Search Tags:Network disk system, Automatic synchronization method of multi terminal files, Version control, Consistency
PDF Full Text Request
Related items