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

Realizing method for detecting and resolving data synchronous conflict

An implementation method and technology for data synchronization, which are applied in data exchange networks, electrical digital data processing, special data processing applications, etc., can solve problems such as increasing network traffic, prolonging synchronization time, conflicts, etc., reducing network traffic and increasing flexibility. , the effect of saving synchronization time

Inactive Publication Date: 2007-07-25
HUAWEI TECH CO LTD
View PDF0 Cites 35 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0039] (1) In the synchronization phase, the client will wait for all the synchronized data to be sent to the server, and these modifications of the client may conflict with the modifications of the server. If the final result is that the modification of the server takes effect, the server will send its data Send it to the client, at this time the data sent by the client increases the network traffic and prolongs the synchronization time; this disadvantage is especially obvious when synchronizing large objects, such as the client needs to send multiple large music files
[0040] (2) In the prior art, conflict detection and resolution at the field level cannot be achieved
[0041] (3) In the existing technology, the conflict detection mechanism is not perfect. For example, the client modifies the "country" field in the vCard, and the server modifies the "street" field. This kind of fact does not conflict, and the two sides can be synchronized during synchronization. The result is merged, but is considered conflicting in the existing protocol
In the prior art, it is only judged that the two parties are in conflict based on the modification status, and ultimately the modification of the client and the server cannot be merged, and all vCard data must be transmitted even if only one field is modified, which increases network traffic

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
  • Realizing method for detecting and resolving data synchronous conflict
  • Realizing method for detecting and resolving data synchronous conflict
  • Realizing method for detecting and resolving data synchronous conflict

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0151] In this embodiment, the storage state of the client database is as shown in Table 6:

[0152] LUID

First Name

Last Name

Telephone

12

john

Done

+650 5050403

13

Mike

White

+13292662203

14

Vincent

Brown

+14694322045

15

Linyi

Pob

+12341122304

16

Guo

Da

+11223344556

[0153] Table six

[0154] The storage status of the server-side database is shown in Table 7:

[0155] GUID

First Name

Last Name

telephone

1012

john

Done

+16505050403

1013

Mike

White

+13292662203

1014

Vincent

Brown

+14694322045

1015

Linyi

Pob

+12341122304

1016

Guo

Da

+11223344556

[0156] Table Seven

[0157] At this time, the mapping table stored on the server side is as f...

Embodiment 2

[0286] In this embodiment, the client database is shown in Table 12, and the server database is shown in Table 13.

[0287] UID

First Name

Last Name

Telephone

parent directory

Status

11

Kent

Niny

+16515050503

Root directory

-

12

john

Done

+16505050403

Root directory

-

13

Mike

White

+13292662203

Root directory

-

14

Vincent

Brown

+14694322045

Root directory

-

15

Linyi

Pob

+12341122304

Root directory

-

16

Katy

Len

+12341122308

Root directory

-

[0288] Table 12

[0289] UID

First Name

Lasr Name

Telephone

parent directory

Status

11

Kent

Niny

+16515050503

Root directory

-

12

john

jao

+16505050403

Root directory

-

13

Kite

Smith

+14694322...

Embodiment 3

[0344] In this embodiment, the client revises the file named "data" with entry identifier LUID=11, the size of this file is 2M, and the time of its modification is 17:02 on November 26, 2005; the file on the server end The timestamp of is 18:30 on November 26, 2005. In this embodiment, the arbitration principle pre-configured on the server side is the time stamp principle, and it is stipulated that when a conflict occurs, data synchronization is performed according to the entry whose modification time is later.

[0345] Fig. 5 shows a flowchart of this embodiment. As shown in Figure 5, the method for detecting and resolving synchronization conflicts in this embodiment includes the following steps:

[0346] Steps 501 to 503 are similar to steps 301 to 303, except that in this embodiment, when the conflict detection data sent by the client to the server includes a timestamp indicating the modification time, but does not include modification status information of the entry...

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 client side and server side pre-detect the synchronous conflict of data, and according to the conflict detecting result get the conflict arbitration result; according to the conflict arbitration result, said client side and said server side make data synchronization. By the invention, the conflict detection can be made before the data synchronization between client side and server to decide which data needs to be transmitted and which data doesn't need to be transmitted.

Description

technical field [0001] The invention relates to data synchronization technology, in particular to a method for detecting and resolving data synchronization conflicts. Background technique [0002] In February 2000, the industry group SyncML initiative was established in order to formulate a standard specification that can realize the synchronization of personal information and enterprise data between multiple platforms and networks. Later, the SyncML specification was handed over to the OMA DS working group (Open Mobile Alliance, Data Synchronization WorkGroup). The purpose of developing SyncML is to enable end users, equipment developers, infrastructure developers, data providers, application software developers, and service providers to work together, so that any terminal device can be used to access any network data anytime, anywhere. [0003] A typical application of SyncML is data synchronization between mobile devices and web services. In addition, SyncML can also be...

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
IPC IPC(8): H04L12/413H04L7/04H04J3/06G06F17/30
CPCH04J3/0638H04L63/123H04L7/0004
Inventor 田林一康娇郭祥洲
Owner HUAWEI TECH CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More