Design and Implementation of Personal Cloud Synchronization System Server
- Author
- YangJinBin
- Advisor
- ShangYanLei
- School
- Beijing University of Posts and Telecommunications
- Major
- Computer Science and Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 29
- Citations
- 0
Abstract
With the rapid development of the Internet and the popularity of mobile intelligent terminal, cloud synchronization and storage is gradually integrated with people’s work lives, people gradually realized that it is not enough to rely on a PC to store and backup huge personal information and materials; meanwhile, the diversity of devices (PC, laptop, smartphone, etc.) brings people the demand of synchronization of resources which include data synchronization and file synchronization, so the term of cloud synchronization is produced. The meaning of cloud synchronization can be understood as a cloud (server), the cloud data and documents people uploaded in different devices can be shared mutually, the server saved users’data permanently in the cloud so that users no longer have to worry about losing phone or deleting data mistakenly.In this thesis, we designed and implemented a way to maintain synchronization and consistency of service in a variety of equipments or devices and the cloud system. The mobile client and the PC client of the cloud service system interacts with the main sysnchronization module via HTTP POST message, the interactive content exists in JSON or XML form and it is placed in the message body of the HTTP POST. Users can access to data anytime, anywhere through the cloud, they can view, delete and edit data or documents with the cloud service system and the clients, the cloud saved multiple versions of files which can be recovered within a certain time. For example:Editing documents is the most commonly used, people can view it on the mobile phone or the pad client with the same account of the synchronization system any time.The main content and contribution are listed below. First of all, we introduce the synchronization algorithms and strategies. Secondly, a brief introduction to the architecture of the system is introduced. Then, the whole system architecture is shown, and then each module is introduced separately in detail. Futher more, the problems, such as how to keep the client with the server’s version consistent, algorithms and strategies about data synchronization and file synchronization, are solved. In addition, several function test cases are used to test the demo system. At last, we summarize our work and also take a further view of both the aim and the research content.
Table of contents
Summary 4-5
ABSTRACT 5-9
first chapter 9-11
1.1 Background 9-10
1.2 research 10
1.3 thesis structure 10-11
end of the second chapter of cloud synchronization services related to technical brief 11-22 <br / > 2.1 PYTHON Overview 11-12
2.1.1 development history 11
2.1.2 programming Features 11-12
2.2 JSON Overview 12-14
2.3 differential synchronization algorithms and strategies 14-15
2.4 version synchronization algorithms and strategies 15-17
Update 2.5 cloud master node collision detection algorithm and behavioral another client behavior 17-21
2.5.1 receive synchronization updates 18-20
solving strategies nbsp 2.5.2 synchronization conflicts ; 20-21
2.6 Summary 21-22
Chapter cloud synchronization server system design 22-32
3.1 system analysis 22 - 25
3.1.1 server location in a synchronous system 22-23
3.1.2 Requirements Analysis 23-25 ??
3.2 overall system design 25-27
3.2.1 server system architecture of 25-26
3.2.2 logically divided Description 26-27
runtime Environment 3.2.3 service side and development environment 27
3.3 typical use case flow chart 27-31
3.3.1 data Synchronization total flow 27-29
3.3.2 file synchronization of the total flow 29-31
3.4 Summary detailed design and implementation of Chapter IV 31-32
system 32-62
4.1 service end of the main synchronization module file description 32-34
4.2 device Manager 34-36
registration message definition 4.2.1 equipment 35-36
4.2 .2 device registration process 36
4.3 user Management 36-42
4.3.1 registered users and push messages defined 38-40
4.3. 2 users log message definition 40-41
4.3.3 user Registration login process 41-42
4.4 cloud sync PUSH notification 42-43
4.5 data sync Manager 43-50
4.5.1 data synchronization message definition 43-46
4.5.2 data synchronization process 46-50
4.6 file synchronization Manager separation 50-61
4.6.1 logical file and the physical file principle storage strategy nbsp 50-51
4.6.2 upload files ; 51
4.6.3 file synchronization message server operating atomic 51
4.6.4 file conflicts policy 51-52
4.6.5 file Synchronization message definition 52-58
4.6.6 file Synchronization message flow 58-60
4.6.7 file HTTP message flow 60-61
4.7 of this chapter Summary 61-62
Chapter testing and verification 62-68
5.1 deployment test environment 62-64
5.1.1 PYTHON and related installation and configuration dependencies installation and Configuration 62-63
5.1.2 REDIS SERVER is 63-64
5.2 test 64-67
5.3 summary 67-68
Chapter VI summary and Outlook 68-70
6.1 summary 68
6.2 next research 68-70
References published during 70-72
pursue a degree academic 72-73
Thanks 73
Related dissertations
- Full of old files from the old Manchuria file \
- Synchronization between China and Global Stock Index
- The Research on China’ Sregional Commodity Market Cycle and Its Synchronization
- Concurrent Design of Product and Supply Chain
- HK Pharmaceutical Companies E-business Patterns for Marketing of Service
- The Business Cycle of Chinese Urban Agglomerations
- Synchronization Control of Ephaptic Coupled Neurons Based on Unscented Kalman Filter (UKF)
- Analysis of State Characteristics of Several Classes of Neural Networks Based on Differential Inclusions
- Synchronization Analysis of a Class of Complex Biological Neural Network
- Analysis and Control of the Synchronization of Neuron Networks
- Guaranteed Cost Control of Synchronization for Complex Delayed Networks
- Study on the Synchronization Analysis and Control of the Complex Dynamical Networks with Switching Topology
- Study on Stable Theorem and Control of Fractional Nonlinear Systems with Delay
- Applied to the Construction of Campus Network Research
- Design and Implementation on Microblog Data Collection System
- Design and Implementation of Multi-channel Audio Playback System Based on Streaming Media
- Research on Mechanism of Thread ofμ-Kernel Operating System VTOS
- Research on Java’s Synchronization Optimization Based on Soot Framwork
- Xinjiang Telecom Data Audit System Design and Implementation
- Design and Implementation of a Medium-sized Supermarket Management System