Synchronization can be understood to keep data consistent across multiple devices

Source: Internet
Author: User
Tags file upload functions backup

Article Description: the application trend of synchronization technology.

In the year, Apple released the Icoud, based on the original MobileMe features of a new rewrite, providing the original mail, calendar and contact person synchronization functions. It can be seen that the important function is synchronization, more and more mobile phones and applications in the application of synchronization, the synchronization of the technical principles and future application trends?

synchronization can be understood to keep data consistent across multiple devices , and requirements may originate from the following common scenarios:

1. Users frequently use USB to import and export data, such as pictures, movies and music, and other file data.

2. Users need to ensure the consistency of data between devices, at any time to call the latest data. Multiple people can also collaborate to edit the same file.

3. After the device is lost or updated, the data may also be lost. Data synchronization to the network server, you can guarantee the security of data.

As the data itself and the user's multiple devices increase, the need for synchronization is becoming more and more intense. But the data synchronization is not a simple data transmission process, involves the complex algorithm. The key point of data synchronization algorithm is to improve the efficiency and save the website broadband. For a single file synchronization is easy to achieve, only the file upload and download, when the file is increased and the file itself editable, the data can not be processed in the whole block.

Its technical principle is briefly described as:

1. File segmentation, will be divided into consecutive non-overlapping blocks of fixed size data.

2. Segmentation data Block Information Description, the segmentation of the data to form a description file.

3. Differential coding, the difference between the two ends of the file.

4. Differential coding information Description, translate the difference into a file.

5. File synchronization, transmission of different data according to the difference description file.

Data synchronization can be divided into pull and push two kinds of application modes. Pull is to synchronize remote data to local, while push is to synchronize local data to remote. With the use of the data can be automatic synchronization, such as icloud itself and no complex operations, not like a database backup to form multiple versions, automation to maintain the data consistency of all terminals.

Synchronization can serve as a function of the application, such as Calendar synchronization, the platform to open its own interface, so that developers on this basis to make more and richer applications. Synchronization can also be used as a separate product.

According to user needs and functional focus, the individual will sync products as long as the following several:

1. The application of data synchronization, and then gradually developed into platform-type products, such as icloud.

Early synchronization is only a function of iOS applications, ios5 after the synchronization function of multiple messages, mailboxes and pictures, such as the extraction of applications, forming a unified product image icloud, first meet the user's media files and terminal data synchronization needs: Music, photos, applications, calendars and documents, Then strengthen the cloud storage and other functions, for the future of cloud computing to do bedding. icloud can open developers to do data backup and archiving, such as transaction data, log data and user access data.

2. while Evernote, Mancuso and Youdao notes take note of the main information, fast capture the life and work of fragmented information. Such products provide a rich and fast input method, the data itself is not small, such as site interception, photo, handwriting and manual input. Expand into work notes, information memos, and knowledge management tools, depending on how users are used.

[1] [2] Next page



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.