Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data synchronization method, client and server

A data synchronization and server technology, applied in the field of communication, can solve problems such as reducing the interaction between the server and the client

Active Publication Date: 2011-07-20
HUAWEI DEVICE CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the embodiments of the present invention is to provide a data synchronization method, a client and a server to solve the problem of blindly sending fingerprints for comparison, reduce the interaction between the server and the client, and save wireless resources

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, client and server
  • Data synchronization method, client and server
  • Data synchronization method, client and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] figure 1 It is a flow chart of the data synchronization method in Embodiment 1 of the present invention. Such as figure 1 As shown, the method includes:

[0026] Step S101: receiving server data change information sent by the server;

[0027] Step S102: comparing the client data change information with the server data change information to obtain the same data item identifier;

[0028] Step S103: Send the client data content and fingerprint corresponding to the same data item identifier to the server, for the server to modify the corresponding synchronization data in the server; or, receive the server data content corresponding to the same data item identifier , to make changes to the synchronization data corresponding to the client. If the synchronization data change standard is the client data change information, then the client data content and fingerprint corresponding to the same data item identifier are sent to the server for changing the corresponding synchro...

Embodiment 2

[0041] figure 2 It is a flow chart of the method in Embodiment 2 of the present invention. Such as figure 2 As shown, the method includes:

[0042] Step S201: Send server data change information to the client, for the client to compare the data change information and obtain the same data item identifier;

[0043] Step S202: Receive the client data content and fingerprint corresponding to the same data item identifier, and modify the corresponding synchronization data in the server; or send the server data content corresponding to the same data item identifier to the client, and use and modifying the corresponding synchronization data on the client. If the synchronization data change standard is the client data change information, then receive the client data content and fingerprint corresponding to the same data item identification, and change the corresponding synchronization data in the server; if the synchronization data change standard is the above For server...

Embodiment 3

[0055] image 3 It is a schematic structural diagram of a data synchronization client according to Embodiment 3 of the present invention. Such as image 3 As shown, the client includes: a change information receiving unit 301 for receiving server data change information sent by the server; a change information comparison unit 302 for comparing the client data change information with the server data change information Compare to obtain the same data item identification; change information processing unit 303, send the client data content and fingerprint corresponding to the same data item identification to the server, for the server to change the corresponding synchronization data in the server; or, Receive the server data content corresponding to the same data item identifier, and modify the synchronization data corresponding to the client.

[0056] In a preferred embodiment, the change information processing unit includes: a standard judging subunit, configured to jud...

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 provides a data synchronization method, a client and a server. The data synchronization method comprises the following steps: receiving server data alteration information transmitted by a server; comparing the server data alteration information with client data alteration information to acquire the same data item identifier; transmitting the client data and fingerprint correspondingto the same data item identifier to the server for altering the synchronous data corresponding to the server; or receiving the server data content corresponding to the same data item identifier for altering the synchronous data corresponding to the client. The method can solve the problem of blindly transmitting and comparing the fingerprints, thereby reducing interaction and saving wireless resources.

Description

technical field [0001] The invention relates to the communication field, in particular to a data synchronization method, a client and a server. Background technique [0002] Data synchronization technology has been widely used. Using data synchronization technology, users can receive and send information anytime and anywhere, use a handheld device to execute the application program of the device, and store the results of data interaction and execution of the application program in the handheld device. , and remain consistent with this type of data in other data devices. [0003] In the prior art, a data synchronization (Data Synchronization DS) technology uses a method called fingerprint (Fingerprint), and a fingerprint is a numerical value obtained by processing a set of data through a certain algorithm. Any change in the data will result in a different fingerprint, so the fingerprint can effectively identify the data. The purpose of the fingerprint is for the server (Ser...

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 Patents(China)
IPC IPC(8): H04L29/06H04L9/32
Inventor 刘海涛王睿宋悦
Owner HUAWEI DEVICE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products