Data synchronization method, device and system

A data synchronization and data technology, applied in the Internet field, can solve problems such as difficult recovery and server data errors

Active Publication Date: 2013-12-04
HUAWEI TECH CO LTD
View PDF7 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Regardless of method 1 or method 2, the server’s data will be modified during data synchronization. If the server’s data item is the latest data item after the server synchronizes with other clients’ local data, or the client’s data item is tampered with After the wrong data item, and the corresponding server data item is the correct data item, because the server's data item is synchronized with the client's data item during this data synchronization process, the server's data is wrong, and it is difficult to recover

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data synchronization method, device and system
  • Data synchronization method, device and system
  • Data synchronization method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0118] The embodiment of the present invention provides a data synchronization method, and the method takes the server side as an example to describe the data synchronization method. see figure 1 , the method flow provided by the embodiment of the present invention includes:

[0119] 101: The server receives a data synchronization request uploaded by the client, and the data synchronization request carries a restoration identifier and data items of the client.

[0120] 102: Obtain a set of difference data items according to the recovery identifier and the data items of the client, where the set of difference data items includes modified data items and newly added data items in the data items of the server relative to the data items of the client.

[0121] Specifically, the data items of the client carried in the data synchronization request are all data items of the client, and a set of difference data items is obtained according to the recovery identifier and the data items ...

Embodiment 2

[0168] In order to avoid wrongly modifying data of the server during synchronization between the client and the server, the embodiment of the present invention provides a data synchronization method. In combination with the content of the first embodiment above, see image 3 , the method flow provided by the embodiment of the present invention includes:

[0169] 301: The client uploads a data synchronization request to the server, and the data synchronization request carries a recovery identifier and data items of the client.

[0170] Wherein, the client is usually installed on the terminal, and may also be installed on other devices. Terminals can include mobile phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, moving picture experts compression standard audio level 3), MP4 (Moving Picture Experts Group Audio Layer IV, moving picture experts compression standard Audio Level 4) Players, Laptops and Desktops etc.

[0171] Fo...

Embodiment 3

[0221] An embodiment of the present invention provides a server, and the server is configured to execute the data synchronization method provided in the first or second embodiment above. see Figure 5 , the server includes:

[0222] The receiving module 501 is configured to receive a data synchronization request uploaded by the client, and the data synchronization request carries a recovery identifier and a data item of the client;

[0223] An acquisition module 502, configured to acquire a set of difference data items according to the recovery identifier and the data items of the client, where the set of difference data items includes modified data items and newly added data items in the data items of the server relative to the data items of the client;

[0224] The sending module 503 is configured to send the set of difference data items acquired by the acquiring module 502 to the client, so that the client synchronizes the local data of the client according to the set of d...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a data synchronization method, device and system and belongs to the field of internet. The method comprises that a server receives data synchronization requirements uploaded by a client, obtains a discrepant data item set according to restoring identifiers and data items of the client and sends the discrepant data item set to the client, so that the client can synchronize local data of the client according to the discrepant data item set. According to the data synchronization method, device and system, the server obtains the discrepant data item set including modified data items and newly added data items relative to data items of the client in data items of the server according to the restoring identifiers and the data items of the clients, and data of the server are not modified, so that the client synchronizes the local data of the client according to the discrepant data item set sent by the server, the data synchronization mode is expanded, data of the server are not modified during data synchronization, the local data of the client can be restored through the data of the server, and mistaken modification of the data of the server is prevented.

Description

technical field [0001] The invention relates to the field of the Internet, in particular to a data synchronization method, device and system. Background technique [0002] With the development of Internet technology, users will use multiple clients to connect to the Internet in order to enjoy various convenient services of the Internet. Each client of the user will store certain data locally. In order to facilitate the user to manage the local data of different clients, the local data of different clients can be uploaded to the server and backed up by the server. The data of the server includes a plurality of data items, and each data item may contain user name, phone number, email address, QQ number, etc., and each data item of the server may correspond to a data item in the local data of the client. A client among the multiple clients can synchronize the data of the server to the local of the client. [0003] When performing data synchronization, the prior art provides a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08H04L29/06
Inventor 闵昕
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products