WO2007097846A1 - Synchronization peer participant model - Google Patents

Synchronization peer participant model Download PDF

Info

Publication number
WO2007097846A1
WO2007097846A1 PCT/US2007/001394 US2007001394W WO2007097846A1 WO 2007097846 A1 WO2007097846 A1 WO 2007097846A1 US 2007001394 W US2007001394 W US 2007001394W WO 2007097846 A1 WO2007097846 A1 WO 2007097846A1
Authority
WO
WIPO (PCT)
Prior art keywords
participant
knowledge
replica
change
data
Prior art date
Application number
PCT/US2007/001394
Other languages
French (fr)
Inventor
Moe Khosravy
Jorg-Thomas Pfenning
Lev Novik
Michael S. Beckeman
Myron C. Thomas
Vladimir Sadovsky
Marc Levy
Original Assignee
Microsoft Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Microsoft Corporation filed Critical Microsoft Corporation
Priority to KR1020087019515A priority Critical patent/KR101319767B1/en
Priority to AU2007218127A priority patent/AU2007218127B2/en
Priority to CN2007800056429A priority patent/CN101385030B/en
Priority to CA2634467A priority patent/CA2634467C/en
Priority to EP07748983.9A priority patent/EP1989646B1/en
Priority to JP2008555238A priority patent/JP5289063B2/en
Priority to ES07748983.9T priority patent/ES2635719T3/en
Priority to BRPI0706518-3A priority patent/BRPI0706518A2/en
Publication of WO2007097846A1 publication Critical patent/WO2007097846A1/en
Priority to IL192722A priority patent/IL192722A0/en
Priority to NO20083156A priority patent/NO20083156L/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/40Data acquisition and logging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/275Synchronous replication

Definitions

  • a user may maintain an electronic address book in a variety of different devices or locations.
  • the user may maintain the address book, for example, on a personal information manager stored on their desktop computer, on their laptop computer, in a personal digital assistant (PDA), in an on-line contacts manager, and the like.
  • PDA personal digital assistant
  • the user can modify the electronic address books in each location by, for example, adding a contact, deleting a contact, or changing contact information.
  • Replication is used to ensure that the change made on a particular device is ultimately reflected in the data stores of the user's other devices.
  • a full participant device or service receives a request from another device or service to perform a synchronization operation using a synchronization engine.
  • the other device or service communicates with the synchronization engine of the full participant through an implementation of a handler interface.
  • the synchronization engine orchestrates the communication between the various installed handlers on a system to drive synchronization between end points.
  • the handlers are inspected to determine the synchronization scenarios they are able to take part in, or simply, their participation levels as defined in a peer participant model.
  • the synchronization engine determines whether the device or service is a full participant, a partial participant, or a simple participant.
  • the device or service is a simple participant if it has a data store for synchronized data and no knowledge store. The simple participant is not responsible for tracking what changes it makes to the data.
  • the device or service is a partial participant if it has a data store for synchronized data and a knowledge store, but may not understand the knowledge.
  • the partial participant is responsible for tracking what changes it makes to the data.
  • the device or service is a full participant type if it has a data store for synchronized data and a knowledge store and understands the knowledge and some or all operations on it. Knowledge refers to "synchronization metadata".
  • the synchronization engine performs the synchronization operation with the device using a set of logic that is appropriate for the type of device or service.
  • This architecture provides a multi-master 2-way synchronization community, and allows devices and/or services with limited processing and/or storage capabilities (such as thumb drives, some personal digital assistants and/or phones, etc.) to participate at some level in the synchronization process.
  • Multiple master synchronization means allowing two or more participants each having writeable replicas of the same data to come together and synchronize whether or not they have ever communicated before.
  • a partial participant device or service can participate in a multi-master two-way synchronization operation in one implementation because of the knowledge stored on the partial participant, even though the partial participant does not even understand the knowledge.
  • a simple participant that has a data store for storing replicated data but no knowledge can participate in a synchronization process with a full participant in one implementation.
  • FIG. 1 is a diagrammatic view of a synchronization peer participant model of one implementation showing a graphical representation of a full participant, partial participant, and simple participant.
  • FIG. 2 is a diagrammatic view of a synchronization peer participant model of one implementation showing a tabular representation of a full participant, partial participant, and simple participant.
  • FIG. 3 is a diagrammatic view of a synchronization system of one implementation with handlers for interfacing with participant devices.
  • FIG. 4 illustrates an exemplary computer system that is a suitable operating environment for one or more implementations, such as for operating a synchronization application on a full participant device.
  • FIG. 5 is a diagrammatic view of a synchronization application of one implementation.
  • FIG. 6 is a high-level process flow diagram for one implementation of the system.
  • FIG. 7 is a process flow diagram for one implementation illustrating the stages involved in updating and synchronizing data using a partial participant device.
  • FIG. 8 is a process flow diagram for one implementation illustrating the stages involved in having the partial participant device track changes to the data by updating the record with a new tick count or other identifier.
  • FIG. 9 is a process flow diagram for one implementation illustrating the stages involved in having the partial participant device track changes it made to the data by separately storing a record identifier and date/time for the change.
  • FIGS. 10-11 illustrate an example record on a partial participant device prior to modification and after modification by the partial participant device.
  • FIG. 12 illustrates an example record on a partial participant device prior to modification.
  • FIG. 13 illustrates an example change tracking record on a partial participant device to track changes made to the record of FIG. 12.
  • FIG. 14 illustrates the example record of FIG. 12 that is updated by a foil participant device after determining that the partial participant modified the data as described in the change tracking record of FIG. 13.
  • FIG. 15 is an example of a knowledge record stored on a partial participant device or full participant device for one implementation.
  • FIG. 16 is a process flow diagram for one implementation illustrating the stages involved in updating and synchronizing data using a simple participant device.
  • FIG. 17 is a diagrammatic view of an exemplary synchronization community for one implementation having multiple devices and handlers.
  • FIG. 18 illustrates an example of a sync community for one implementation.
  • FIG. 19 illustrates a participant and a timewise illustration of one implementation showing a change being added to the participant and the knowledge of the participant being updated to include the change.
  • FIG. 20 illustrates one implementation of a timewise replication scenario between two participants.
  • FIG. 21 illustrates one implementation of a timewise conflict detection scenario.
  • FIG. 22 illustrates an example of assigning change IDs to changes in a participant in one implementation.
  • FIG. 23 illustrates one implementation of a timewise replication scenario using knowledge vectors.
  • FIG. 24A illustrates one implementation of updating knowledge in a participant subsequent to a replication using an exception list.
  • FIG. 24B illustrates one implementation of updating knowledge in a participant subsequent to a replication using a pairwise maximum of knowledge vectors.
  • FIG. 24C illustrates one implementation of updating knowledge in a participant subsequent to a replication where exceptions exist in the updated knowledge.
  • FIG. 25 illustrates a hub-and-spoke topology of one implementation for implementing replication including surrogate replication.
  • FIG. 26A illustrates examples of conflict resolution scenarios in one implementation.
  • FIG. 26B illustrates other conflict resolution scenarios in one implementation.
  • one or more of the techniques described herein can be implemented as features within a synchronization program such as MICROSOFT® ACTIVESYNC®, or from any other type of program or service that participates in a synchronization process between devices.
  • a synchronization program such as MICROSOFT® ACTIVESYNC®
  • one or more of the techniques described herein are implemented as features with other applications that deal with synchronizing data across devices and/or services.
  • the term mobile device as used herein is meant to include cellular phones, personal digital assistants, portable media players, voice-over-IP phones, and numerous other types of mobile devices of varying levels of capabilities.
  • Figure 1 is a diagrammatic view of a synchronization peer participant model of one implementation showing a graphical representation of a full participant 10, a partial participant 20, and a simple participant 30.
  • the term participant is also referred to herein as "replica”.
  • Participant and replica refer to devices and/or services that participate in a synchronization community.
  • Full participant 10 has a knowledge data store 12 and an ability to understand the knowledge 14. It also has a synchronization data store 16 for storing the actual data that was synchronized, such as contact information or other information being synchronized among devices.
  • a few non-limiting examples of full participants include personal computers, some PDA's, some phones, some other mobile devices, and/or other devices capable of storing and understanding knowledge.
  • knowledge is metadata that describes the changes that are known to a given participant.
  • Knowledge may be represented as a vector of pairs or change IDs where each pair or change ID represents a replica ID and a maximum version (replica ID, max version).
  • the number of pairs in a particular knowledge vector may change as participants are added to or removed from the sync community. While the knowledge vector may also be expressed differently, it is advantageous to concisely. represent the changes of which a particular participant is aware. There is no requirement that the particular knowledge specifically contain a change ID for each participant in the sync community. Participants are relieved from tracking what other participants already know, as this information is effectively represented by the knowledge of the participant.
  • partial participant 20 also contains a knowledge data store 22. Unlike full participant 10, however, partial participant 20 has no ability (or a limited ability) to understand the knowledge 24.
  • Partial participant includes a synchronization data store 26 for storing the synchronized data.
  • Partial participant includes a version data store 25 for storing information related to changes it makes to the synchronization data store 26.
  • Non-limiting examples of partial participants can include some personal digital assistants, phones, some other mobile devices, and/or other types of devices capable of operating a simple program that tracks changes made to the synchronization data store 26.
  • Simple participant 30 has a synchronization data store 36, and no knowledge store.
  • Examples of simple participants can include, but are not limited to, some thumb drives, some memory cards, and/or other devices that are not capable of operating a simple program that tracks changes made to synchronization data store 36.
  • Simple participant 52 has one or more characteristics. Some of these characteristics were described in the discussion of Figure 1.
  • Simple participant 52 for example, is unable to store knowledge 58.
  • Simple participant is capable of synchronizing 60 with a single full participant through a handler.
  • Partial participant 54 stores but does not understand knowledge 62.
  • Partial participant 54 is capable of participating in a multi-master 2-way synchronization 64.
  • partial participant 54 is capable of synchronizing 66 through a handler on a full participant. In this fashion, partial participant 54 is capable of participating in a managed peer-to-peer scenario through one or more full participant devices.
  • Full participant 56 understands and stores knowledge 68, can participate in a multi-master 2-way synchronization target 70, and can perform peer to peer synchronizations 72.
  • FIG. 3 is a diagrammatic view of a synchronization system 80 of one implementation with handlers for interfacing with one or more participant devices.
  • Synchronization application 82 includes a synchronization orchestration engine 84 that is responsible for completing the synchronization loop among participants and transferring updated changes between other connected participants.
  • Various handlers 86, 88, and 90 are used for allowing the other participants in the synchronization community to communicate with the synchronization engine 84.
  • the synchronization engine 84 communicates with handlers 86, 88, and 90 through handler interfaces 91, 92 and 97, respectively.
  • Handlers 86, 88, and 90 then communicate with the knowledge stores 93 and 95, local synchronization data store 94, and remote synchronization data store 96 to access data, if applicable.
  • one or more of the data stores shown in Figure 1, such as remote synchronization data store 96 are located on one or more separate computers or devices.
  • an exemplary computer system to use for implementing one or more parts of the system includes a computing device, such as personal computing device 100.
  • computing device 100 typically includes at least one processing unit 102 and memory 104.
  • memory 104 may be volatile (such as RAM), non- volatile (such as ROM, flash memory, etc.) or some combination of the two.
  • This most basic configuration is illustrated in Figure 4 by dashed line 106.
  • device 100 may also have additional features/functionality.
  • device 100 may also include additional storage (removable and/or non-removable) including, but not limited to, magnetic or optical disks or tape.
  • Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data.
  • Memory 104, removable storage 108 and non-removable storage 110 are all examples of computer storage media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by device 100. Any such computer storage media may be part of device 100.
  • Computing device 100 includes one or more communication connections 114 that allow computing device 100 to communicate with other devices 115, such as full participants, partial participants, and/or simple participants. Computing device 100 may also communicate with other computers and/or applications 113. Device 100 may also have input device(s) 112 such as keyboard, mouse, pen, voice input device, touch input device, etc. Output device(s) 111 such as a display, speakers, printer, etc. may also be included. These devices are well known in the art and need not be discussed at length here.
  • computing device 100 serves as a full participant device for implementing one or more of the techniques discussed herein.
  • computing device 100 contains a synchronization application 122 with a synchronization orchestration engine 124, as well as a knowledge data store 125, and a synchronization data store 126.
  • knowledge data store 125 and/or synchronization data store 126 are included as part of computer storage media as described herein, such as memory 104, removable storage 108, non-removable storage 110, and/or other computer storage media.
  • synchronization application 122 is the same as synchronization application 82 shown on Figure 3.
  • synchronization application 200 is one of the application programs that reside on computing device 100.
  • one or more parts of synchronization application 200 can be part of system memory 104, on other computers and/or applications 113, or other such variations as would occur to one in the computer software art.
  • Synchronization application 200 includes program logic 204, which is responsible for carrying out some or all of the techniques described herein.
  • Program logic 204 includes logic for registering handlers for each device and/or service to participate in the synchronization process 206; logic for detecting the type of device and/or service connected (simple, partial, or full participant) 208; logic for receiving knowledge from a partial participant, making modifications in event of exceptions, and transferring knowledge back to the partial participant 210; logic for detecting changes on simple participants and storing conflicts in its own local data store 212; logic for working with other full participant(s) to synchronize changed sets of data using knowledge 214; logic for performing orchestration to complete the synchronization loop and pull updated changes between other connected devices and/or services 216; and other logic for operating the application 220.
  • program logic 204 is operable to be called programmatically from another program, such as using a single call to a procedure in program logic 204.
  • program logic 204 can alternatively or additionally be embodied as computer- executable instructions on one or more computers and/or in different variations than shown on Figure 4.
  • Figure 6 is a high level process flow diagram for synchronization application 200.
  • the process of Figure 6 is at least partially implemented in the operating logic of computing device 100, other computers/applications 113, and/or other participant devices 115.
  • the procedure begins at start point 240 with the participant device or service connecting to a full participant (such as computing device 100 or some mobile devices) with the synchronization engine (stage 242).
  • the device or service registers a handler or otherwise communicates with the synchronization engine on the full participant (stage 244).
  • the synchronization engine detects the type of device or service (stage 246), and executes the appropriate synchronization logic based on the type of participant: simple (decision point 248), partial (decision point 250), or full (decision point 252).
  • the synchronization engine detects changes on the simple participant and stores any conflicts in its own local data store on the full participant (stage 254).
  • the device or service is a partial participant that has a synchronization data store and stored-but-not understood knowledge (decision point 250)
  • the device or service provides its knowledge store to the synchronization engine on the foil participant (stage 258).
  • the full participant makes modifications to the knowledge, such as in the event of exceptions (stage 260), and the full participant transfers the changed knowledge back to the partial participant (stage 262).
  • the knowledge carried on the partial participant device or service allows it to safely synchronize with multiple masters, even when exceptions occur (stage 264). If the device or service is a full participant that has a synchronization data store and also stores and understands knowledge (decision point 252), then both participants know how to optimally synchronize changed sets of data using knowledge (stage 266).
  • stage 266 One or more implementations for synchronizing data between full participants are described in detail in the discussion on Figures 18-26.
  • the synchronization engine After determining the type of participant the device or service is and handling changes and conflicts accordingly, the synchronization engine then follows orchestration to complete the synchronization loop and pull in updated changes between other connected participant devices and/or services (stage 256). The process ends at end point 268.
  • Figure 7 is a process flow diagram illustrating the stages involved in updating and synchronizing data using a partial participant device.
  • the process of Figure 7 is at least partially implemented in the operating logic of computing device 100, other computers/applications 113, and/or other participant devices 115.
  • the procedure begins at start point 280 with providing a partial participant device or service with a data store for storing data retrieved during a synchronization process and a version data store for storing information regarding changes made to the data (e.g. in a vector, string, and/or other fashion for tracking changes the foil participant(s)/master(s) have seen) (stage 282).
  • partial participants include some web services, some thumb drives, some mobile devices such as some PDA's and/or some phones, and/or other devices or services that can store knowledge but not understand it.
  • the partial participant does not know how to understand the knowledge, but simply stores it (stage 284).
  • the partial participant receives a request from a user to change some or all of the data in the synchronization data store (stage 286).
  • the partial participant changes the data in the data store as requested by the user (stage 288).
  • the partial participant is responsible for tracking what changes it made to the data, and thus stores information related to the changes that it made based on the user's request (stage 290).
  • the synchronization takes place from full to partial and partial to full (stage 292). In one implementation, these are two separate one-way synchronizations. In other implementations, other orders and/or synchronization scenarios are also possible, such as a single one-way synchronization.
  • any changes that are made by the partial participant are retrieved by the full participant (stage 294).
  • the full participant updates the data store and knowledge on the partial participant after resolving any conflicts (stage 296). The process ends at end point 298.
  • Figure 8 is a process flow diagram for one implementation illustrating the stages involved in having the partial participant track changes to the data by updating the record with a new tick count or other identifier.
  • the process of Figure 8 is at least partially implemented in the operating logic of computing device 100, other computers/applications 113, and/or other participant devices 115.
  • the procedure begins at start point 300 with the partial participant being responsible for tracking what changes it makes to the data (stage 302).
  • the partial participant updates the version data store record to indicate that a change occurred (stage 304).
  • the version data store can be updated with a new tick count, version, or other identifier that identifies that the record changed and/or that identifies the last device or service that made the change.
  • Figure 9 is a process flow diagram illustrating the stages involved in one implementation where the partial participant tracks changes it made to the data by separately storing a record identifier and date/time for the change.
  • the process of Figure 9 is at least partially implemented in the operating logic of computing device 100, other computers/applications 113, and/or other participant devices 115.
  • the procedure begins at start point 310 with the partial participant being responsible for tracking what changes it makes to the data (stage 312).
  • the partial participant tracks a unique identifier that identifies the replica record and a date/time stamp indicating the date/time of when the record was changed (stage 314).
  • the full participant reads the unique identifier and the date/time stamp to know that the particular record changed (stage 316).
  • the full participant updates the tick count or other identifier that identifies the last device or service to change the record, which in this case is the partial participant (stage 318).
  • the process ends at end point 320.
  • Figures 10-11 illustrate an example record on a partial participant device prior to modification and after modification by the partial participant device according to the stages described in Figure 8.
  • record 330 of Figure 10 includes a replica ID field 332, a tick count field 334 of the last participant that changed the record, and a local tick count field for when the record came from the full participant 336.
  • the respective values 338, 340, and 342 in fields 332, 334, and 336, respectively can be stored in a string, vector, and/or any other type of representation suitable for storing on devices or services having limited storage capacity and/or resources.
  • numerous other variations can also be used to indicate that a particular record on the partial participant has been changed.
  • record 343 shows the data after it has been revised by and on the partial participant.
  • Replica ID field 332 has remained a value of "Xl" (350), since that is a unique identifier for the record.
  • the tick count field 334 of the last computer that changed the record has been modified from a value of "G66" (340 on Figure 10) to a value of "G67” (352).
  • the "G” represents the participant that made. the change, and the "67” is the next higher number available in the tick counter sequence.
  • the local tick count when it came from the full participant field 336 remains the same value of "34" (354).
  • Figure 12 illustrates an example record on a partial participant device prior to modification according to the stages described in Figure 9.
  • the record 360 includes a value 368 for Replica ID field 362, a value 370 for tick count field 364 of the last participant that changed the record, and a value 372 for local tick count field 366 from when it came from the full participant.
  • the partial participant updates a separate change tracking record instead of the record with the, tick count.
  • Record 360 shows the record with the tick count prior to modification of the underlying data by the partial participant.
  • Record 375 of Figure 13 illustrates an example change tracking record on a partial participant device that is to track changes made to the record of Figure 12 according to the stages described in Figure 9.
  • the replica ID field 374 and date/time field 376 for when the record changed are stored on partial participant.
  • value "Xl" 378 is stored for the Replica ED 374, and "01-26-06-12:32PM" 380 is stored for the date/time field 376.
  • the full participant retrieves and interprets record 375 to determine that the partial participant made changes to the underlying data in the synchronization data store.
  • the full participant updates the tick count field 390 of record 381 of the last participant that changed the record, which in this case is "G67" to represent the partial participant and the next higher tick count number.
  • the local tick count field 366 is revised to an updated value 392, if appropriate.
  • the value 388 for the replica ID field 362 remains the same.
  • Figure 15 is an example of a knowledge record stored on a partial participant device or ' full participant device for one implementation.
  • the knowledge record 396 is represented as a string vector as described herein, with values 398, 400, 402, and 404 indicating the participant identifier and sequence number for the last changes that have been seen for that particular device. For example, value "GlOO" (398) means that this participant has seen all of the changes for device G through record 100.
  • GlOO 398
  • the process of Figure 16 is at least partially implemented in the operating logic of computing device 100, other computers/applications 113, and/or other participant devices 115.
  • the procedure begins at start point 420 with providing a simple participant device or service that has a data store for storing synchronized data but has no knowledge (stage 424).
  • a few non-limiting examples of simple devices include some thumb drives, some memory sticks/cards, some PDA's, some cell phones, and/or other devices or services that cannot store and understand knowledge.
  • the simple participant cannot store or understand knowledge (stage 426), because of device or service limitations or user settings.
  • the simple participant receives a request from a user to change some or all of the data in the synchronization date store (stage 428).
  • the simple participant changes the data in the synchronization data store as requested by the user (stage 430).
  • One non-limiting example of how the user can change the synchronization data store includes modifying the data in a file browser from another device such as a personal computer, such as inserting a thumb drive into a personal computer and then changing the contents of the thumb drive.
  • the simple participant is not responsible for tracking what changes it made to the data, because it is assumed to know nothing (stage 432).
  • the simple participant synchronizes with the full participant, the synchronization takes place from the full participant to the simple and then the simple to the full (stage 434).
  • any changes made by the simple participant to the synchronization data store are retrieved by the full participant (stage 436).
  • the full participant updates the synchronization data store on the simple participant after resolving any conflicts (stage 438).
  • the process ends at end point 440.
  • Figure 17 is a diagrammatic view of an exemplary synchronization community for one implementation having multiple devices and handlers.
  • Figure 17 illustrates a full participant 500 called personal computer 1, or "PCl” (506); a simple participant called device 1 (514); a partial participant 502 called “Servicel”; and a second full participant 504 called personal computer 2, or "PC2".
  • PCl personal computer 1
  • service 1 is a music service located on a web server
  • PCl and PC2 are personal computers, similar to computing device 100.
  • Full participant 500 has handlers 508, 510, and 512
  • full participant 504 has handlers 516, 518, and 520.
  • Figure 18-26 one or more implementations for synchronizing data between full participants (e.g. two personal computers such as device 100) are described.
  • One or more of the examples discussed in Figures 18-26 could also apply at least in some part to a partial participant scenario or other scenarios described in the previous figures.
  • one or more of the techniques discussed in Figures 18-26 can be implemented on a device such as computing device 100 of Figure 4.
  • the term "replica” as used in the following discussion also means “participant”.
  • the replicas/participants in a sync community replicate by providing their own knowledge with the replica with which they replicate.
  • the knowledge may be expressed as a knowledge vector as previously described.
  • the knowledge that is sent between the replicas does not need to include every change ID, but may be in the form of a vector that represents a number of change IDs.
  • the replica might send a knowledge vector A10B5 indicating that the replica is aware of all changes corresponding to change IDs Al to AlO and all changes corresponding to change IDs Bl to B5.
  • the knowledge may be expressed as a knowledge vector
  • other implementations of the invention contemplate other expressions of knowledge as well.
  • some implementations of the invention express knowledge using any expression of knowledge in which one can (1) add a change to the expression of knowledge, (2) check whether a change is included in the expression of knowledge, and (3) merge two expressions of knowledge together.
  • FIG 18 illustrates one example of a sync community 1100 with the illustrated topology.
  • the sync community 1100 includes a number of replicas and is one example of an environment for implementing implementations of the present invention.
  • the replicas in the sync community 1100 represent various data stores or devices that may include, but are not limited to, computers, notebook computers, personal digital assistants, cellular telephones,- other wireless devices, server computers, online services, and the like or any combination thereof.
  • a replica A 1102 may be electronically coupled to a replica B 1104 through a communication link 1106.
  • the replica A 1102 may be connected through a communication link 1108 to a replica C 1110.
  • Replica C l I lO may be connected to replica B 1104 through a communication link 1112.
  • Replica C l I lO may further be connected to a replica D 1114 through a communication link 1116.
  • this sync community 1100 although not all of the replicas are directly connected through communication links, changes in any of the replicas can be replicated to any of the other replicas within the sync community 1100.
  • replicas A 1102 and C l IlO may be replicated through the communication link 1108.
  • replica C 1110 includes changes made on replica A 1102.
  • Replicas C and D then replicate through the communication link 1116, and as such replica D 1114 includes changes from replica A 1102.
  • replica A 1102 can replicate with replica D 1114 without any sort of direct link.
  • replicas A 1102 and D 1114 may not even be aware of each other's existence within the sync community 1100.
  • the illustrated communication links can be wired and/or wireless links.
  • Figure 19 shows a time wise progression of a replica A 1200.
  • Replica A 1200 includes knowledge 1202, in this case labeled K A , and changes 1204 in this case labeled ⁇ A .
  • Each change in the changes 1204 is the current data content of an item.
  • a change may be a new item added to a replica even though no item was changed per se, the deletion of an item, and the like.
  • Each of the changes 1204 is associated with a version that in one implementation of the invention is a change ID.
  • one advantageous aspect of the invention is that there is no need to maintain a change log including information about previous changes. Rather, each replica includes knowledge and a database of changes (i.e. current items) where each change has a corresponding version.
  • replica A 1200 is in a steady state.
  • a user inputs a change labeled X into replica A 1200.
  • Figure 19 shows the change X being added as a member of the changes 1204.
  • the knowledge 1202 is updated to include a change ID, ChangeID(X), that is associated with the change X and identifies the addition of the change X to the changes 1204.
  • This implementation illustrates one way in which changes to the replica are associated with specific change IDs.
  • the knowledge 1202 may be a knowledge vector and represents the changes that the replica A 1200 is aware of.
  • versions or change IDs are maintained for items or objects in a database and the versions can be used to identify what needs to be replicated. Alternatively, a log of changes may also be maintained.
  • Figure 20 illustrates the use of knowledge to enumerate changes during replication.
  • Figure 20 shows two replicas, namely replica A 1302 and a replica B 1304.
  • Replica A 1302 includes a set of changes 1306 in this example labeled ⁇ A .
  • Replica A 1302 further includes knowledge 1308, in this example labeled K A .
  • the knowledge 1308 includes a list of change IDs such as those described above.
  • replica B 1304 includes a set of changes 1310 each associated with a version that is a change ID.
  • replica A 1302 sends a synch request to replica B 1304 that includes the knowledge 1308.
  • Replica B 1304 by comparing the knowledge 1308 to the versions associated with each of the changes in the set of changes 1310, can make decisions regarding which of replica B's changes 1310 replica A 1302 already has in its changes 1306 and changes about which replica A is aware of. Alternatively, the replica B 1304 compares the knowledge 1308 to the each item's version. Thus, replica B 1304 sends to replica A 1302 at time (2) only that portion of Replica B's changes 1310 that are associated with versions that are not included in the knowledge 1308 of replica A 1302 as illustrated by changes 1314.
  • replica A was A3B12 and replica B has current changes associated with versions that are change IDs B13 and B 14, then the changes sent to the replica A would include those associated with the change IDs B13 and B 14. In one implementation, only B14 is sent if B13 and B14 were made to the same item.
  • replica B 1304 also sends replica B's knowledge 1312 to replica A 1302. Because replica B 1304 has sent all of the changes 1310 available in replica B 1304 not already in Replica A 1302 to replica A 1302, replica A 1302 now has all of the changes 1306 that were originally in replica A 1302, insofar as those changes 1310 have not been superceded by the changes sent by replica B 1304, in addition to the changes 1310 that were originally in replica B 1304. Replica A 1302 further has information about all of the changes that replica B 1304 was aware of. Therefore, replica A 1302 can update its knowledge 1308 to reflect the addition of the changes 1310. This is done simply by adding replica A's knowledge 1308 to replica B's knowledge 1312 and defining that value as replica A's knowledge 1308 such as is shown at time (3) in Figure 20.
  • Replica A 1402 includes knowledge 1408 and a set of changes 1406. As with the example in Figure 20, the knowledge 1408 includes a collection of change IDs associated with the changes 1406 and associated with previous changes. Replica A 1402 further includes, for purposes of this example, a change to an item made in replica A 1402. The change is labeled X and X is a member of the changes 1406. Similarly, replica B 1404 includes knowledge 1412, a collection of items 1410, each with its current version (change ID). Illustratively, at time (1) replica A 1402 sends change X to replica B 1404.
  • Associated and sent with change X are two other values, namely the change ID associated with change X, labeled Change ⁇ D(X), and a made-with- knowledge value, labeled K A (X).
  • the made- with-know ledge value is the knowledge that existed in replica A 1402 at the time change X was made to replica A 1402.
  • the made-with- knowledge may be the knowledge that existed in a replica when a change is sent.
  • Replica A's current knowledge 1408 may also be sent to replica B 1404. As shown in time (2), replica B 1404 compares the item changed by change X with the item changed by change Y to determine whether A's change (X) may conflict with B's state.
  • Replica B 1404 then checks to see if change X was known to replica B 1404 when change Y was made in replica B 1404.
  • Change Y has a change ID, ChangeID(Y) and a made-with-knowledge value, K B (Y), associated with it. If ChangeID(X) is a member of change Y's made-with- knowledge, K B (Y), then there is no conflict.
  • change Y was made in replica B 1404 with knowledge of the change X made in Replica A 1402. As such, the change Y now represents the most current and valid data for the replicas A and B.
  • change Y will likely be sent to replica A 1402 and the item associated with changes X and Y updated to change Y on the replica A 1402 in a fashion described in Figure 20.
  • Figure 22 shows a replica 1502.
  • the replica 1502 includes a collection of changes 1506 and knowledge 1508.
  • the collection of changes 1506 includes several individual changes 1510 in this example illustrated as X, Y and Z.
  • the present state of the knowledge of the replica is denoted by a knowledge vector 1512 that in this case is A4.
  • the knowledge vector 1512 represents all of replica A's knowledge 1508.
  • Also represented in Figure 22 is a number of change IDs 1514.
  • replica A 1502 includes three changed items 1516, I x , I ⁇ , and Iz, corresponding to the changes 1510.
  • the knowledge vector A4 signifies that replica A's knowledge 1508 includes the changes corresponding to the change IDs labeled A4, A3, A2 and Al.
  • a knowledge vector includes the change represented by the change ID 1518 that is equal to the knowledge vector as well as all changes with the same replica ID that were made previous to the change ID 1518 represented in the knowledge vector.
  • the change ID 1518 labeled A4 only represents the change Z made to item I z .
  • Replica A 1602 contains a set of changes 1604, knowledge 1606 and a knowledge vector 1608 that is a short hand representation of the knowledge 1606.
  • the knowledge vector 1608 of replica A 1602, A5B3C1D10 shows that replica A's knowledge 1606 includes changes made up to a fifth change in replica A 1602, knowledge up to a third change in a replica B 1610, knowledge up to a first change in a replica C and knowledge up to a tenth change in a replica D.
  • Replica B 1610 in the example of Figure 23, includes a set of changes 1612, knowledge 1614 and a knowledge vector 1616 that is a shorthand representation, of replica B's knowledge 1614.
  • Replica B's knowledge vector 1616 A3B3C5D8, illustrates that replica B has knowledge including knowledge up to a third change made by replica A 1602, knowledge up to a third change made by replica B 1610, knowledge up to a fifth change made by replica C and knowledge up to an eighth change made by replica D.
  • the knowledge vectors set forth above include a continuous representation of change enumerations made by a replica from a first change to some subsequent change.
  • a knowledge vector may also include a beginning point that is some other change enumeration than the first change enumeration made by a replica.
  • FIG. 23 A time wise illustration of the replication of replica A 1602 with replica B 1610 is illustrated in Figure 23.
  • replica A 1602 sends a synch request 1618 along with replica A's knowledge 1606, that may be represented by replica A's knowledge vector 1608, to replica B 1610.
  • Replica B 1610 at time (2) examines replica A's knowledge 1606 by comparing it to change IDs associated with the changes in Replica B.
  • Replica B 1610 discovers that replica A is not aware of changes made by replica C that are labeled with the change IDs C2, C3, C4 and C5.
  • replica B sends replica B's changes 1612 corresponding to these change IDs so long as the changes labeled with those change IDs are the current changes applicable to items in Replica B 1610. If a change ID corresponds to a previous outdated change, no change corresponding to that ED is sent. For example, if an item that had a version C3 was updated and assigned a new version, the change associated with C3 no longer exists in replica B 1610 and is not sent to replica A. Subsequently or simultaneously as illustrated in time (3) replica B 1610 sends to replica A 1602 replica B's knowledge 1614 that may be represented as a knowledge vector 1616.
  • replica A 1602 examines the knowledge 1614 sent by replica B by comparing it to the change ID's corresponding to changes in replica A 1602. Replica A 1602 discovers that replica B does not have either the changes represented by the change IDs A4, A5, D9 and DlO, or knowledge about those changes. Thus, replica A 1602 sends any current changes existing in replica A's changes 1604 corresponding to those change IDs (except when the change ID represents an outdated change such that no change is sent). Replica A 1602 may subsequently send a message to replica B 1610 indicating that all changes have been sent such that replica A 1602 and replica B 1610 can now update their knowledge vectors 1608 and 1616 respectively to include the recently replicated changes.
  • replica A's knowledge vector, A5B3C5D10 is equal to replica B's knowledge vector which includes all changes made by replica A up to a fifth change enumeration, all changes made by replica B up to a third change enumeration, all changes made by replica C up to a fifth change enumeration and all changes made by replica D up to a tenth change enumeration.
  • Figure 24A illustrates a method for updating the knowledge vectors using an exception list 1702 stored on a replica.
  • an exception list 1702 As changes are sent between replicas, the changes are sent with a change ID associated with the change.
  • the change ID When the change is added to a replica, the change ID is added as an exception to an exception list 1702.
  • the knowledge for replica A in Figure 24A the knowledge includes a knowledge vector 1608 and an exception list 1702 which includes the exceptions C2, C3, C4 and C5.
  • An examination of the exception list 1702 in conjunction with the knowledge vector 1608 reveals that including the change IDs from the exception list 1702, the knowledge of Replica A includes all changes up to a fifth change made by replica C.
  • the exceptions can be removed from the knowledge of Replica A 1602 and the knowledge vector updated to include an element C5 as shown in the updated knowledge vector 1704.
  • a similar analysis can be performed on the knowledge 1614 of replica B 1610.
  • the original knowledge vector 1616 combined with the exceptions A4, A5, D9 and DlO in the exception list 1703 allows the knowledge vector 1616 to be updated to an updated knowledge vector 1706.
  • Figure 24B illustrates another method of updating the knowledge vectors 1608 and 1616 to reflect the replication shown in Figure 23.
  • the knowledge vectors are updated using an element-wise maximum for each of the elements in the original knowledge vectors 1608 and 1616 to form an updated knowledge vector 1708.
  • the first element of each of the knowledge vectors 1608 and 1616 corresponds to a set of change IDs labeling changes made in replica A.
  • A5 is the element-wise maximum element of the two knowledge vectors 1608 and 1616
  • the updated knowledge vector 1708 includes an element A5.
  • the vector elements B3, C5 and DlO each represent an element-wise maximum element corresponding to the changes on the particular replicas to which each of the elements correspond.
  • each of the updated knowledge vectors 1704, 1706 and 1708 reveals that by either method, the same updated knowledge vector is obtained.
  • the element-wise maximum method of knowledge vector updating is typically used when a complete replication has been performed whereas as an exception list method of updating the knowledge vector may be useful when it is not certain that a complete replication has occurred (a user may cancel the replication,, a device may crash, etc.).
  • the exception list method may need to be used such that exceptions can continue to comprise a portion of the knowledge of a particular replica when the full knowledge of the replica cannot be represented in simple vector form.
  • Figure 24C an example of updating knowledge is shown for a replica that has information from an incomplete replication.
  • Figure ' 24C includes an original knowledge vector 1710, an original exception list 1712, an updated knowledge vector 1714, and an updated exception list 1716.
  • the replica shown after the partial replication, the replica has all of the change
  • the updated exception list 1716 can be shortened to indicate inclusion of all elements from A7 to AlO such as by the expression (A7:A10) shown in Figure 24C.
  • This expression is simply a vector such as those that have been previously discussed herein except that the beginning point of the vector is some other point than the first change enumeration for replica A.
  • the representation of the replica's knowledge as it relates to A is represented by the vector element A5 and the exception vector (A7:A10).
  • the knowledge vector 1710 can be updated to include the continuous change IDs subsequent to the change IDs included in the vector element for replica B.
  • the vector element Bl includes only the change ID Bl. Because change IDs B2, B3 and B4 exist in the exception list 1712, and they are continuous with the change ID Bl included in the knowledge vector 1710, the vector element for replica B can be updated to B4 in the updated knowledge vector 1714 which represents the inclusion of elements Bl through B4. Because the change ID B5 is missing from the exception list, the exception B6 must remain in the exception list 1716 in the updated knowledge.
  • the original knowledge vector 1710 includes C5.
  • the original exception list includes C6, C7 and C8. Because the original knowledge vector element C5 includes change IDs Cl through C5, and C5 is continuous with the change IDs in the original exception list 1712, the updated knowledge vector element for replica C can be updated to C8.
  • the server 1802 can assign a change ID that includes the server 1802 as the replica ID.
  • AU changes made within the individual clients 1804 through 1810 remain within the respective client in which the change was made without the assignment of a change ID until a replication is performed.
  • the knowledge vector includes a single element that comprises the replica ID and change ID of the server 1802.
  • the server 1802 assigns a change enumeration of Sl to the change.
  • a change made in replica B 1806 is replicated with the server 1802.
  • This change is assigned a change enumeration by the server of S2.
  • the server 1802 assigns all change enumerations
  • other implementations may exist where the server 1802 assigns some change enumerations and other replicas assign other change enumerations.
  • Implementations of the invention are adaptable to optimize the knowledge vector in other topologies as well.
  • replica D 1114 only replicates with replica C 1110.
  • changes made by C and D can be enumerated using change enumerations that have a single replica ID.
  • the replica ID of replica C is chosen to be part of the change enumeration for all changes by either replica C 1110 or replica D 1114, a first change in replica C would be labeled with the change enumeration Cl.
  • a subsequent change in replica D 1114 is labeled C2, and so forth.
  • the replica creating the change ID may be referred to as a surrogate author.
  • conflict resolution typically requires that there be certain rules for determining which item version should be chosen as the valid item. Examples of some of these rules include selecting the item change that was made last or selecting item changes that are made by particular types of replicas such as preferring changes made by servers over changes made by other types of replicas. Alternatively, all conflicts could be logged for manual resolution. Manual resolution is accomplished by a user providing a new value for the item in conflict that will replace the conflicting changes.
  • Figure 26A shows a replica D 1902.
  • Replica D 1902 receives a change ID corresponding to a change in an item I x wherein the change ID is A4.
  • replica D 1902 receives a change ID for the same item I x wherein the change ID is B5.
  • Replica D 1902 has conflict resolution rules to choose which of the changes to item I x is the preferred change.
  • replica D chooses the change to item I x labeled by the change ID A4.
  • a new change ID is assigned to the item I x that includes both the results of the conflict resolution and a new change ID assigned by the particular replica that made the conflict resolution.
  • the new change ID includes the next sequential change enumeration for the replica that made the conflict resolution.
  • the new change ID is labeled A4 (D7) to indicate that the change labeled A4 was chosen in the conflict resolution and that the conflict was resolved by replica D 1902.
  • Figure 26B illustrates an example where conflicts are resolved differently by different replicas within a topology.
  • replica D 1902 resolves the conflict in one way and assigns a new change ID to the items that illustrate the resolution of the conflict, B5, and the replica that that made the change, (D7).
  • replica C 1904 resolves the same conflict in a different way shown by the new change ID assigned by replica C 1904, A4 (C3).
  • replica D 1902 receives replica Cs resolution of the conflict.
  • Replica D 1902 at this point recognizes that this particular conflict has been resolved in two different ways. Some implementations of the present invention therefore specify that a deterministic resolution be made between the conflicting changes to the item I x .
  • the particular deterministic resolution illustrated by Figure 26B causes the change with the lowest value replica ID to be selected as the deterministic result.
  • A is a lower value replica ID than replica B the deterministic resolution of the conflict is selected to be the change labeled by the change ID A4.
  • Replica D 1902 thus changes the change ID associated with the change to item I to be A4 (D7).
  • D7 change enumeration associated with the replica making the change is the same in the deterministic result 1906 as in the original resolution of the conflict 1908.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Various technologies and techniques are disclosed that improve synchronization of data between varying types of devices and/or services. A full participant receives a request from another participant to perform a synchronization operation. The synchronization engine determines whether the device or service is a full, partial, or simple participant. The device or service is a simple participant if it has a data store for synchronized data and no knowledge store. The device or service is a partial participant if it has a data store for synchronized data and a knowledge store, but does not understand the knowledge. The device or service is a full participant type if it has a data store for synchronized data and a knowledge store and understands the knowledge. The synchronization engine performs the synchronization operation with the device or service using a set of logic that is appropriate for the type of device or service.

Description

SYNCHRONIZATION PEER PARTICIPANT MODEL
BACKGROUND
[001] In today's world of technology and digital information handling, individuals may store information or data in a variety of different devices and locations. Often the user stores the same information in more than one device and/or location. The user would like all of the various data stores to have the same information without having to manually input the same changes to each data store. Replication is one process used to ensure that each data store has the same information. [002] For example, a user may maintain an electronic address book in a variety of different devices or locations. The user may maintain the address book, for example, on a personal information manager stored on their desktop computer, on their laptop computer, in a personal digital assistant (PDA), in an on-line contacts manager, and the like. The user can modify the electronic address books in each location by, for example, adding a contact, deleting a contact, or changing contact information. Replication is used to ensure that the change made on a particular device is ultimately reflected in the data stores of the user's other devices.
[003] Replication becomes increasingly more complicated as the number of devices and/or services a particular user uses increases and/or the size or processing capabilities of those devices decreases. For example, many users have thumb drives, removable memory, PDA's, phones, portable music devices, and so on. Information such as contacts records would be useful to have on many of those devices and/or synchronized among those devices, yet many of those types of devices do not even have a computer processor that is often required to participate in a typical synchronization process. These synchronization problems can be further compounded when group sharing of data is involved, such as multiple users sharing a group calendar.
SUMMARY [004] Various technologies and techniques are disclosed that improve synchronization of data between varying types of devices and/or services. A full participant device or service receives a request from another device or service to perform a synchronization operation using a synchronization engine. The other device or service communicates with the synchronization engine of the full participant through an implementation of a handler interface. The synchronization engine orchestrates the communication between the various installed handlers on a system to drive synchronization between end points. Once connected to the synchronization engine, the handlers are inspected to determine the synchronization scenarios they are able to take part in, or simply, their participation levels as defined in a peer participant model. [005] In one implementation, the synchronization engine determines whether the device or service is a full participant, a partial participant, or a simple participant. The device or service is a simple participant if it has a data store for synchronized data and no knowledge store. The simple participant is not responsible for tracking what changes it makes to the data. The device or service is a partial participant if it has a data store for synchronized data and a knowledge store, but may not understand the knowledge. The partial participant is responsible for tracking what changes it makes to the data. The device or service is a full participant type if it has a data store for synchronized data and a knowledge store and understands the knowledge and some or all operations on it. Knowledge refers to "synchronization metadata". The synchronization engine performs the synchronization operation with the device using a set of logic that is appropriate for the type of device or service. One implementation of this architecture provides a multi-master 2-way synchronization community, and allows devices and/or services with limited processing and/or storage capabilities (such as thumb drives, some personal digital assistants and/or phones, etc.) to participate at some level in the synchronization process. Multiple master synchronization means allowing two or more participants each having writeable replicas of the same data to come together and synchronize whether or not they have ever communicated before.
[006] As one non-limiting example, a partial participant device or service can participate in a multi-master two-way synchronization operation in one implementation because of the knowledge stored on the partial participant, even though the partial participant does not even understand the knowledge. As another non-limiting example, a simple participant that has a data store for storing replicated data but no knowledge (such as a thumb drive) can participate in a synchronization process with a full participant in one implementation. [007] This Summary was provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter. BRIEF DESCRIPTION OF THE DRAWINGS
1008] FIG. 1 is a diagrammatic view of a synchronization peer participant model of one implementation showing a graphical representation of a full participant, partial participant, and simple participant.
[009] FIG. 2 is a diagrammatic view of a synchronization peer participant model of one implementation showing a tabular representation of a full participant, partial participant, and simple participant.
[010] FIG. 3 is a diagrammatic view of a synchronization system of one implementation with handlers for interfacing with participant devices.
[011] FIG. 4 illustrates an exemplary computer system that is a suitable operating environment for one or more implementations, such as for operating a synchronization application on a full participant device.
[012] FIG. 5 is a diagrammatic view of a synchronization application of one implementation.
[013] FIG. 6 is a high-level process flow diagram for one implementation of the system.
[014] FIG. 7 is a process flow diagram for one implementation illustrating the stages involved in updating and synchronizing data using a partial participant device.
[015] FIG. 8 is a process flow diagram for one implementation illustrating the stages involved in having the partial participant device track changes to the data by updating the record with a new tick count or other identifier. [016] FIG. 9 is a process flow diagram for one implementation illustrating the stages involved in having the partial participant device track changes it made to the data by separately storing a record identifier and date/time for the change.
[017] FIGS. 10-11 illustrate an example record on a partial participant device prior to modification and after modification by the partial participant device.
[018] FIG. 12 illustrates an example record on a partial participant device prior to modification.
[019] FIG. 13 illustrates an example change tracking record on a partial participant device to track changes made to the record of FIG. 12. [020] FIG. 14 illustrates the example record of FIG. 12 that is updated by a foil participant device after determining that the partial participant modified the data as described in the change tracking record of FIG. 13.
[021] FIG. 15 is an example of a knowledge record stored on a partial participant device or full participant device for one implementation. [022] FIG. 16 is a process flow diagram for one implementation illustrating the stages involved in updating and synchronizing data using a simple participant device.
[023] FIG. 17 is a diagrammatic view of an exemplary synchronization community for one implementation having multiple devices and handlers. [024] FIG. 18 illustrates an example of a sync community for one implementation.
[025] FIG. 19 illustrates a participant and a timewise illustration of one implementation showing a change being added to the participant and the knowledge of the participant being updated to include the change. [026] FIG. 20 illustrates one implementation of a timewise replication scenario between two participants.
[027] FIG. 21 illustrates one implementation of a timewise conflict detection scenario.
[028] FIG. 22 illustrates an example of assigning change IDs to changes in a participant in one implementation. [029] FIG. 23 illustrates one implementation of a timewise replication scenario using knowledge vectors.
[030] FIG. 24A illustrates one implementation of updating knowledge in a participant subsequent to a replication using an exception list. [031] FIG. 24B illustrates one implementation of updating knowledge in a participant subsequent to a replication using a pairwise maximum of knowledge vectors.
[032] FIG. 24C illustrates one implementation of updating knowledge in a participant subsequent to a replication where exceptions exist in the updated knowledge.
[033] FIG. 25 illustrates a hub-and-spoke topology of one implementation for implementing replication including surrogate replication.
[034] FIG. 26A illustrates examples of conflict resolution scenarios in one implementation. [035] FIG. 26B illustrates other conflict resolution scenarios in one implementation.
DETAILED DESCRIPTION
[036] For the purposes of promoting an understanding of the principles of the invention, reference will now be made to the embodiments illustrated in the drawings and specific language will be used to describe the same. It will nevertheless be understood that no limitation of the scope is thereby intended. Any alterations and further modifications in the described embodiments, and any further applications of the principles as described herein are contemplated as would normally occur to one skilled in the art. [037] The system may be described in the general context as one or more techniques that improve synchronization of data between various devices having various capabilities, but the system also serves other purposes in addition to these. In one implementation, one or more of the techniques described herein can be implemented as features within a synchronization program such as MICROSOFT® ACTIVESYNC®, or from any other type of program or service that participates in a synchronization process between devices. In another implementation, one or more of the techniques described herein are implemented as features with other applications that deal with synchronizing data across devices and/or services. The term mobile device as used herein is meant to include cellular phones, personal digital assistants, portable media players, voice-over-IP phones, and numerous other types of mobile devices of varying levels of capabilities.
[038] Figure 1 is a diagrammatic view of a synchronization peer participant model of one implementation showing a graphical representation of a full participant 10, a partial participant 20, and a simple participant 30. The term participant is also referred to herein as "replica". Participant and replica refer to devices and/or services that participate in a synchronization community. Full participant 10 has a knowledge data store 12 and an ability to understand the knowledge 14. It also has a synchronization data store 16 for storing the actual data that was synchronized, such as contact information or other information being synchronized among devices. A few non-limiting examples of full participants include personal computers, some PDA's, some phones, some other mobile devices, and/or other devices capable of storing and understanding knowledge.
[039] Each full participant maintains "knowledge" in a knowledge data store that facilitates efficient and improved replication. In one implementation, knowledge is metadata that describes the changes that are known to a given participant. Knowledge may be represented as a vector of pairs or change IDs where each pair or change ID represents a replica ID and a maximum version (replica ID, max version). The number of pairs in a particular knowledge vector may change as participants are added to or removed from the sync community. While the knowledge vector may also be expressed differently, it is advantageous to concisely. represent the changes of which a particular participant is aware. There is no requirement that the particular knowledge specifically contain a change ID for each participant in the sync community. Participants are relieved from tracking what other participants already know, as this information is effectively represented by the knowledge of the participant. [040] Similarly to full participant 10, partial participant 20 also contains a knowledge data store 22. Unlike full participant 10, however, partial participant 20 has no ability (or a limited ability) to understand the knowledge 24. Partial participant includes a synchronization data store 26 for storing the synchronized data. Partial participant includes a version data store 25 for storing information related to changes it makes to the synchronization data store 26. Non-limiting examples of partial participants can include some personal digital assistants, phones, some other mobile devices, and/or other types of devices capable of operating a simple program that tracks changes made to the synchronization data store 26.
[041] Simple participant 30 has a synchronization data store 36, and no knowledge store. Examples of simple participants can include, but are not limited to, some thumb drives, some memory cards, and/or other devices that are not capable of operating a simple program that tracks changes made to synchronization data store 36.
[042] Turning now to Figure 2, a tabular representation 50 of the peer participant model is shown. Simple participant 52, partial participant 54, and full participant 56 have one or more characteristics. Some of these characteristics were described in the discussion of Figure 1. Simple participant 52, for example, is unable to store knowledge 58. Simple participant is capable of synchronizing 60 with a single full participant through a handler. Partial participant 54 stores but does not understand knowledge 62. Partial participant 54 is capable of participating in a multi-master 2-way synchronization 64. Alternatively or additionally, partial participant 54 is capable of synchronizing 66 through a handler on a full participant. In this fashion, partial participant 54 is capable of participating in a managed peer-to-peer scenario through one or more full participant devices. Thus, partial participants can synchronize with each other through the use of a full participant. Full participant 56 understands and stores knowledge 68, can participate in a multi-master 2-way synchronization target 70, and can perform peer to peer synchronizations 72.
[043] Figure 3 is a diagrammatic view of a synchronization system 80 of one implementation with handlers for interfacing with one or more participant devices. Synchronization application 82 includes a synchronization orchestration engine 84 that is responsible for completing the synchronization loop among participants and transferring updated changes between other connected participants. Various handlers 86, 88, and 90 are used for allowing the other participants in the synchronization community to communicate with the synchronization engine 84. The synchronization engine 84 communicates with handlers 86, 88, and 90 through handler interfaces 91, 92 and 97, respectively. Handlers 86, 88, and 90 then communicate with the knowledge stores 93 and 95, local synchronization data store 94, and remote synchronization data store 96 to access data, if applicable. In one implementation, one or more of the data stores shown in Figure 1, such as remote synchronization data store 96, are located on one or more separate computers or devices.
[044] As shown in Figure 4, an exemplary computer system to use for implementing one or more parts of the system includes a computing device, such as personal computing device 100. In its most basic configuration, computing device 100 typically includes at least one processing unit 102 and memory 104. Depending on the exact configuration and type of computing device, memory 104 may be volatile (such as RAM), non- volatile (such as ROM, flash memory, etc.) or some combination of the two. This most basic configuration is illustrated in Figure 4 by dashed line 106. [045] Additionally, device 100 may also have additional features/functionality. For example, device 100 may also include additional storage (removable and/or non-removable) including, but not limited to, magnetic or optical disks or tape. Such additional storage is illustrated in Figure 4 by removable storage 108 and non-removable storage 110. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Memory 104, removable storage 108 and non-removable storage 110 are all examples of computer storage media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by device 100. Any such computer storage media may be part of device 100.
[046] Computing device 100 includes one or more communication connections 114 that allow computing device 100 to communicate with other devices 115, such as full participants, partial participants, and/or simple participants. Computing device 100 may also communicate with other computers and/or applications 113. Device 100 may also have input device(s) 112 such as keyboard, mouse, pen, voice input device, touch input device, etc. Output device(s) 111 such as a display, speakers, printer, etc. may also be included. These devices are well known in the art and need not be discussed at length here.
[047] In one implementation, computing device 100 serves as a full participant device for implementing one or more of the techniques discussed herein. In such an implementation, computing device 100 contains a synchronization application 122 with a synchronization orchestration engine 124, as well as a knowledge data store 125, and a synchronization data store 126. In one implementation, knowledge data store 125 and/or synchronization data store 126 are included as part of computer storage media as described herein, such as memory 104, removable storage 108, non-removable storage 110, and/or other computer storage media. In one implementation, synchronization application 122 is the same as synchronization application 82 shown on Figure 3.
[048] Turning now to Figure 5 with continued reference to Figure 4, a synchronization application 200 of one implementation is illustrated. In one implementation, synchronization application 200 is one of the application programs that reside on computing device 100. Alternatively or additionally, one or more parts of synchronization application 200 can be part of system memory 104, on other computers and/or applications 113, or other such variations as would occur to one in the computer software art.
[049] Synchronization application 200 includes program logic 204, which is responsible for carrying out some or all of the techniques described herein. Program logic 204 includes logic for registering handlers for each device and/or service to participate in the synchronization process 206; logic for detecting the type of device and/or service connected (simple, partial, or full participant) 208; logic for receiving knowledge from a partial participant, making modifications in event of exceptions, and transferring knowledge back to the partial participant 210; logic for detecting changes on simple participants and storing conflicts in its own local data store 212; logic for working with other full participant(s) to synchronize changed sets of data using knowledge 214; logic for performing orchestration to complete the synchronization loop and pull updated changes between other connected devices and/or services 216; and other logic for operating the application 220.
[050] In one implementation, program logic 204 is operable to be called programmatically from another program, such as using a single call to a procedure in program logic 204. Alternatively or additionally, it will be understood that program logic 204 can alternatively or additionally be embodied as computer- executable instructions on one or more computers and/or in different variations than shown on Figure 4.
[051] Figure 6 is a high level process flow diagram for synchronization application 200. In one form, the process of Figure 6 is at least partially implemented in the operating logic of computing device 100, other computers/applications 113, and/or other participant devices 115. The procedure begins at start point 240 with the participant device or service connecting to a full participant (such as computing device 100 or some mobile devices) with the synchronization engine (stage 242). The device or service registers a handler or otherwise communicates with the synchronization engine on the full participant (stage 244). The synchronization engine detects the type of device or service (stage 246), and executes the appropriate synchronization logic based on the type of participant: simple (decision point 248), partial (decision point 250), or full (decision point 252). For example, if the device or service is a simple participant that has a synchronization data store but no knowledge (decision point 248), the synchronization engine detects changes on the simple participant and stores any conflicts in its own local data store on the full participant (stage 254). [052] If the device or service is a partial participant that has a synchronization data store and stored-but-not understood knowledge (decision point 250), then the device or service provides its knowledge store to the synchronization engine on the foil participant (stage 258). The full participant makes modifications to the knowledge, such as in the event of exceptions (stage 260), and the full participant transfers the changed knowledge back to the partial participant (stage 262). The knowledge carried on the partial participant device or service allows it to safely synchronize with multiple masters, even when exceptions occur (stage 264). If the device or service is a full participant that has a synchronization data store and also stores and understands knowledge (decision point 252), then both participants know how to optimally synchronize changed sets of data using knowledge (stage 266). One or more implementations for synchronizing data between full participants are described in detail in the discussion on Figures 18-26. [053] After determining the type of participant the device or service is and handling changes and conflicts accordingly, the synchronization engine then follows orchestration to complete the synchronization loop and pull in updated changes between other connected participant devices and/or services (stage 256). The process ends at end point 268. [054] Figure 7 is a process flow diagram illustrating the stages involved in updating and synchronizing data using a partial participant device. In one form, the process of Figure 7 is at least partially implemented in the operating logic of computing device 100, other computers/applications 113, and/or other participant devices 115. The procedure begins at start point 280 with providing a partial participant device or service with a data store for storing data retrieved during a synchronization process and a version data store for storing information regarding changes made to the data (e.g. in a vector, string, and/or other fashion for tracking changes the foil participant(s)/master(s) have seen) (stage 282). A few non-limiting examples of partial participants include some web services, some thumb drives, some mobile devices such as some PDA's and/or some phones, and/or other devices or services that can store knowledge but not understand it. [055] The partial participant does not know how to understand the knowledge, but simply stores it (stage 284). The partial participant receives a request from a user to change some or all of the data in the synchronization data store (stage 286). The partial participant changes the data in the data store as requested by the user (stage 288). The partial participant is responsible for tracking what changes it made to the data, and thus stores information related to the changes that it made based on the user's request (stage 290). In one implementation, when the partial participant synchronizes with a foil participant, the synchronization takes place from full to partial and partial to full (stage 292). In one implementation, these are two separate one-way synchronizations. In other implementations, other orders and/or synchronization scenarios are also possible, such as a single one-way synchronization. During synchronization, any changes that are made by the partial participant are retrieved by the full participant (stage 294). The full participant updates the data store and knowledge on the partial participant after resolving any conflicts (stage 296). The process ends at end point 298.
[056] Figure 8 is a process flow diagram for one implementation illustrating the stages involved in having the partial participant track changes to the data by updating the record with a new tick count or other identifier. In one form, the process of Figure 8 is at least partially implemented in the operating logic of computing device 100, other computers/applications 113, and/or other participant devices 115. The procedure begins at start point 300 with the partial participant being responsible for tracking what changes it makes to the data (stage 302). The partial participant updates the version data store record to indicate that a change occurred (stage 304). As a few non-limiting examples, the version data store can be updated with a new tick count, version, or other identifier that identifies that the record changed and/or that identifies the last device or service that made the change. The full participant reads the changed tick count or other identifier to know that the particular record was changed by the partial participant (stage 306). The process ends at end point 308. [0571 Figure 9 is a process flow diagram illustrating the stages involved in one implementation where the partial participant tracks changes it made to the data by separately storing a record identifier and date/time for the change. In one form, the process of Figure 9 is at least partially implemented in the operating logic of computing device 100, other computers/applications 113, and/or other participant devices 115. The procedure begins at start point 310 with the partial participant being responsible for tracking what changes it makes to the data (stage 312). The partial participant tracks a unique identifier that identifies the replica record and a date/time stamp indicating the date/time of when the record was changed (stage 314). The full participant reads the unique identifier and the date/time stamp to know that the particular record changed (stage 316). The full participant updates the tick count or other identifier that identifies the last device or service to change the record, which in this case is the partial participant (stage 318). The process ends at end point 320.
[058] Figures 10-11 illustrate an example record on a partial participant device prior to modification and after modification by the partial participant device according to the stages described in Figure 8. In one implementation, record 330 of Figure 10 includes a replica ID field 332, a tick count field 334 of the last participant that changed the record, and a local tick count field for when the record came from the full participant 336. The respective values 338, 340, and 342 in fields 332, 334, and 336, respectively can be stored in a string, vector, and/or any other type of representation suitable for storing on devices or services having limited storage capacity and/or resources. As described previously, numerous other variations can also be used to indicate that a particular record on the partial participant has been changed.
[059] Turning now to Figure 11, record 343 shows the data after it has been revised by and on the partial participant. Replica ID field 332 has remained a value of "Xl" (350), since that is a unique identifier for the record. The tick count field 334 of the last computer that changed the record has been modified from a value of "G66" (340 on Figure 10) to a value of "G67" (352). The "G" represents the participant that made. the change, and the "67" is the next higher number available in the tick counter sequence. The local tick count when it came from the full participant field 336 remains the same value of "34" (354). [060] Figure 12 illustrates an example record on a partial participant device prior to modification according to the stages described in Figure 9. Similar to the example of Figures 10 and 11, the record 360 includes a value 368 for Replica ID field 362, a value 370 for tick count field 364 of the last participant that changed the record, and a value 372 for local tick count field 366 from when it came from the full participant. In this implementation, the partial participant updates a separate change tracking record instead of the record with the, tick count. Record 360 shows the record with the tick count prior to modification of the underlying data by the partial participant. Record 375 of Figure 13 illustrates an example change tracking record on a partial participant device that is to track changes made to the record of Figure 12 according to the stages described in Figure 9. The replica ID field 374 and date/time field 376 for when the record changed are stored on partial participant. In this example, value "Xl" 378 is stored for the Replica ED 374, and "01-26-06-12:32PM" 380 is stored for the date/time field 376. When the partial participant next connects to a full participant, the full participant retrieves and interprets record 375 to determine that the partial participant made changes to the underlying data in the synchronization data store. Turning now to Figure 14, the full participant then updates the tick count field 390 of record 381 of the last participant that changed the record, which in this case is "G67" to represent the partial participant and the next higher tick count number. The local tick count field 366 is revised to an updated value 392, if appropriate. The value 388 for the replica ID field 362 remains the same.
[061] Figure 15 is an example of a knowledge record stored on a partial participant device or 'full participant device for one implementation. In the example shown, the knowledge record 396 is represented as a string vector as described herein, with values 398, 400, 402, and 404 indicating the participant identifier and sequence number for the last changes that have been seen for that particular device. For example, value "GlOO" (398) means that this participant has seen all of the changes for device G through record 100. These knowledge vectors are described in great detail in the discussion on Figure 18-26. [062] Turning now to Figure 16, a process flow diagram illustrating the stages involved in updating- and synchronizing data using a simple participant device is shown. In one form, the process of Figure 16 is at least partially implemented in the operating logic of computing device 100, other computers/applications 113, and/or other participant devices 115. The procedure begins at start point 420 with providing a simple participant device or service that has a data store for storing synchronized data but has no knowledge (stage 424). A few non-limiting examples of simple devices include some thumb drives, some memory sticks/cards, some PDA's, some cell phones, and/or other devices or services that cannot store and understand knowledge. The simple participant cannot store or understand knowledge (stage 426), because of device or service limitations or user settings. The simple participant receives a request from a user to change some or all of the data in the synchronization date store (stage 428).
[063] The simple participant changes the data in the synchronization data store as requested by the user (stage 430). One non-limiting example of how the user can change the synchronization data store includes modifying the data in a file browser from another device such as a personal computer, such as inserting a thumb drive into a personal computer and then changing the contents of the thumb drive. The simple participant is not responsible for tracking what changes it made to the data, because it is assumed to know nothing (stage 432). When the simple participant synchronizes with the full participant, the synchronization takes place from the full participant to the simple and then the simple to the full (stage 434). During synchronization, any changes made by the simple participant to the synchronization data store are retrieved by the full participant (stage 436). The full participant updates the synchronization data store on the simple participant after resolving any conflicts (stage 438). The process ends at end point 440.
[064] Figure 17 is a diagrammatic view of an exemplary synchronization community for one implementation having multiple devices and handlers. Figure 17 illustrates a full participant 500 called personal computer 1, or "PCl" (506); a simple participant called device 1 (514); a partial participant 502 called "Servicel"; and a second full participant 504 called personal computer 2, or "PC2". For the sake of illustration, assume that device 1 (514) is a thumb drive or other memory card, service 1 is a music service located on a web server, and PCl and PC2 are personal computers, similar to computing device 100. Full participant 500 has handlers 508, 510, and 512, and full participant 504 has handlers 516, 518, and 520. These handlers are responsible for interfacing with the various participants that are part of the synchronization community. When devicel (514) connects to PCl (506), the synchronization process described in Figure 6 executes. The type of participant is determined, which in this case is simple, and then the synchronization takes place between device 1 (514), and PCl (506) of full participant 500. Once the synchronization is completed between these two participants (500 and 514), orchestration will cause the other participants (502 and 504) to be updated if they are connected and/or next time they connect to PCl (506) or Device 1 (514).
[065] Turning now to Figure 18-26, one or more implementations for synchronizing data between full participants (e.g. two personal computers such as device 100) are described. One or more of the examples discussed in Figures 18-26 could also apply at least in some part to a partial participant scenario or other scenarios described in the previous figures. Alternatively or additionally, one or more of the techniques discussed in Figures 18-26 can be implemented on a device such as computing device 100 of Figure 4. The term "replica" as used in the following discussion also means "participant".
[066] The replicas/participants in a sync community replicate by providing their own knowledge with the replica with which they replicate. To reduce the amount of data representing knowledge that must be sent between replicating replicas, the knowledge may be expressed as a knowledge vector as previously described. Thus, the knowledge that is sent between the replicas does not need to include every change ID, but may be in the form of a vector that represents a number of change IDs. For example, if a replica is aware of all changes made by a replica A from a first change to a tenth change, and all changes made by a replica labeled B from a first change to a fifth change, the replica might send a knowledge vector A10B5 indicating that the replica is aware of all changes corresponding to change IDs Al to AlO and all changes corresponding to change IDs Bl to B5. While the knowledge may be expressed as a knowledge vector, other implementations of the invention contemplate other expressions of knowledge as well. For example, some implementations of the invention express knowledge using any expression of knowledge in which one can (1) add a change to the expression of knowledge, (2) check whether a change is included in the expression of knowledge, and (3) merge two expressions of knowledge together.
[067] Figure 18 illustrates one example of a sync community 1100 with the illustrated topology. The sync community 1100 includes a number of replicas and is one example of an environment for implementing implementations of the present invention. The replicas in the sync community 1100 represent various data stores or devices that may include, but are not limited to, computers, notebook computers, personal digital assistants, cellular telephones,- other wireless devices, server computers, online services, and the like or any combination thereof.
[068] In Figure 18, a replica A 1102 may be electronically coupled to a replica B 1104 through a communication link 1106. The replica A 1102 may be connected through a communication link 1108 to a replica C 1110. Replica C l I lO may be connected to replica B 1104 through a communication link 1112. Replica C l I lO may further be connected to a replica D 1114 through a communication link 1116. In this sync community 1100, although not all of the replicas are directly connected through communication links, changes in any of the replicas can be replicated to any of the other replicas within the sync community 1100.
[069] For example, for the replica A 1102 to be replicated with the replica D 1114, replicas A 1102 and C l IlO may be replicated through the communication link 1108. Thus, replica C 1110 includes changes made on replica A 1102. Replicas C and D then replicate through the communication link 1116, and as such replica D 1114 includes changes from replica A 1102. In this way, replica A 1102 can replicate with replica D 1114 without any sort of direct link. In fact, replicas A 1102 and D 1114 may not even be aware of each other's existence within the sync community 1100. The illustrated communication links can be wired and/or wireless links. [070] Referring now to Figure 19, one implementation of the invention illustrates how changes are managed in a replica. Figure 19 shows a time wise progression of a replica A 1200. Replica A 1200 includes knowledge 1202, in this case labeled KA, and changes 1204 in this case labeled ΔA. Each change in the changes 1204 is the current data content of an item. A change may be a new item added to a replica even though no item was changed per se, the deletion of an item, and the like. Each of the changes 1204 is associated with a version that in one implementation of the invention is a change ID. Notably, one advantageous aspect of the invention is that there is no need to maintain a change log including information about previous changes. Rather, each replica includes knowledge and a database of changes (i.e. current items) where each change has a corresponding version. At time (1), replica A 1200 is in a steady state. At time (2), a user inputs a change labeled X into replica A 1200. Figure 19 shows the change X being added as a member of the changes 1204. The knowledge 1202 is updated to include a change ID, ChangeID(X), that is associated with the change X and identifies the addition of the change X to the changes 1204. This implementation illustrates one way in which changes to the replica are associated with specific change IDs. The knowledge 1202 may be a knowledge vector and represents the changes that the replica A 1200 is aware of. In one implementation of the present invention, versions or change IDs are maintained for items or objects in a database and the versions can be used to identify what needs to be replicated. Alternatively, a log of changes may also be maintained.
[071] Figure 20 illustrates the use of knowledge to enumerate changes during replication. Figure 20 shows two replicas, namely replica A 1302 and a replica B 1304. Replica A 1302 includes a set of changes 1306 in this example labeled ΔA. Replica A 1302 further includes knowledge 1308, in this example labeled KA. The knowledge 1308 includes a list of change IDs such as those described above. Similarly, replica B 1304 includes a set of changes 1310 each associated with a version that is a change ID. To begin the replication, at time (1) replica A 1302 sends a synch request to replica B 1304 that includes the knowledge 1308. Replica B 1304, by comparing the knowledge 1308 to the versions associated with each of the changes in the set of changes 1310, can make decisions regarding which of replica B's changes 1310 replica A 1302 already has in its changes 1306 and changes about which replica A is aware of. Alternatively, the replica B 1304 compares the knowledge 1308 to the each item's version. Thus, replica B 1304 sends to replica A 1302 at time (2) only that portion of Replica B's changes 1310 that are associated with versions that are not included in the knowledge 1308 of replica A 1302 as illustrated by changes 1314. For example, if the knowledge vector of replica A was A3B12 and replica B has current changes associated with versions that are change IDs B13 and B 14, then the changes sent to the replica A would include those associated with the change IDs B13 and B 14. In one implementation, only B14 is sent if B13 and B14 were made to the same item.
[072] In addition, replica B 1304 also sends replica B's knowledge 1312 to replica A 1302. Because replica B 1304 has sent all of the changes 1310 available in replica B 1304 not already in Replica A 1302 to replica A 1302, replica A 1302 now has all of the changes 1306 that were originally in replica A 1302, insofar as those changes 1310 have not been superceded by the changes sent by replica B 1304, in addition to the changes 1310 that were originally in replica B 1304. Replica A 1302 further has information about all of the changes that replica B 1304 was aware of. Therefore, replica A 1302 can update its knowledge 1308 to reflect the addition of the changes 1310. This is done simply by adding replica A's knowledge 1308 to replica B's knowledge 1312 and defining that value as replica A's knowledge 1308 such as is shown at time (3) in Figure 20.
[073] As such, an efficient replication is performed wherein only the needed changes are replicated and wherein the individual replicas replicating only need to maintain information regarding the changes that reside within the particular replica and previous changes about which it is aware of. While this example shows a complete replication of all of the changes on replica B to replica A, cases exist where only portions of the changes are replicated. As such, only change IDs that correspond to changes that are replicated are added to the knowledge of the replica receiving updates. [074] In. addition to enumerating changes, knowledge of a replica can also be used in conflict detection. Referring now to Figure 21, one implementation of the present invention illustrates how conflict detection can be accomplished. Figure 21 shows two replicas connected by an electronic link (wireless and/or wired) for communication and replication. Replica A 1402 includes knowledge 1408 and a set of changes 1406. As with the example in Figure 20, the knowledge 1408 includes a collection of change IDs associated with the changes 1406 and associated with previous changes. Replica A 1402 further includes, for purposes of this example, a change to an item made in replica A 1402. The change is labeled X and X is a member of the changes 1406. Similarly, replica B 1404 includes knowledge 1412, a collection of items 1410, each with its current version (change ID). Illustratively, at time (1) replica A 1402 sends change X to replica B 1404.
[075] Associated and sent with change X are two other values, namely the change ID associated with change X, labeled ChangeΙD(X), and a made-with- knowledge value, labeled KA(X). The made- with-know ledge value is the knowledge that existed in replica A 1402 at the time change X was made to replica A 1402. Alternatively, in some implementations of the invention the made-with- knowledge may be the knowledge that existed in a replica when a change is sent. Replica A's current knowledge 1408 may also be sent to replica B 1404. As shown in time (2), replica B 1404 compares the item changed by change X with the item changed by change Y to determine whether A's change (X) may conflict with B's state.
[076] If the changes refer to different versions of the same item, then further analysis is required. Replica B 1404 then checks to see if change X was known to replica B 1404 when change Y was made in replica B 1404. Change Y has a change ID, ChangeID(Y) and a made-with-knowledge value, KB(Y), associated with it. If ChangeID(X) is a member of change Y's made-with- knowledge, KB(Y), then there is no conflict. In other words, change Y was made in replica B 1404 with knowledge of the change X made in Replica A 1402. As such, the change Y now represents the most current and valid data for the replicas A and B. Although not shown in the example illustrated by Figure 21, at a subsequent time, change Y will likely be sent to replica A 1402 and the item associated with changes X and Y updated to change Y on the replica A 1402 in a fashion described in Figure 20.
[077] If the changes X and Y are for the same item, and ChangeID(X) does not appear in KB(Y), then as shown at time (4), a check is done to see if change Y was known by replica A 1402 when change X was made. This is typically done by checking to see if the change enumeration for change Y, illustrated as ChangeED(Y), is included in replica A's knowledge 1408 at the time change X was made, KA(X). If ChangeID(Y) is a member of KA(X), then change X was made- with-knowledge of change Y and there is no conflict. Change X is the most current and valid change for the particular item. As such, replica B 1404 will likely be updated with change X in a fashion as described in Figure 20.
[078] If the changes X and Y are for the same item, the ChangeID(Y) does not appear in KA(X) and ChangeID(X) does not appear in KB(Y)5 then a true conflict exists. In other words, change X and change Y were made independent of each other. In this case, a conflict will be reported and various conflict resolution rules may be applied to determine which change, X or Y, is the most current and valid change. Such rules may include checking time stamps to determine which change was made most recently, always resolving conflicts in favor of certain type of replicas (such as those stored on servers) and/or any other suitable conflict resolution. Alternatively, in one form of conflict resolution, an item with conflicting changes may be updated such that conflicting changes are merged to form a new change.
[079] Referring now to Figure 22, one exemplary implementation of Change IDs and knowledge tracking is shown. Figure 22 shows a replica 1502. The replica 1502 includes a collection of changes 1506 and knowledge 1508. The collection of changes 1506 includes several individual changes 1510 in this example illustrated as X, Y and Z. In the example shown in Figure 22, the present state of the knowledge of the replica is denoted by a knowledge vector 1512 that in this case is A4. The knowledge vector 1512 represents all of replica A's knowledge 1508. [080] Also represented in Figure 22 is a number of change IDs 1514. In the example of Figure 22, replica A 1502 includes three changed items 1516, Ix, Iγ, and Iz, corresponding to the changes 1510. Using the change IDs, one can discern that the item Ix1 with change ID Al, was made in replica A 1502 at a first time. Change Iy, with change ID A2, was made in replica A 1502 at a time subsequent to the item Iχ. And the item Iz, with change ID A4, was made in replica A 1502 at a time subsequent to when the item Iy was made. A3, though not illustrated directly in Figure 22, may correspond to a previous change such as in one example, a change that is superseded by the change to item Iz labeled A4. [081J There is a difference between the change ID A4 and replica A's knowledge vector 1512 that is also labeled A4. In this example, the knowledge vector A4 signifies that replica A's knowledge 1508 includes the changes corresponding to the change IDs labeled A4, A3, A2 and Al. Said differently, a knowledge vector includes the change represented by the change ID 1518 that is equal to the knowledge vector as well as all changes with the same replica ID that were made previous to the change ID 1518 represented in the knowledge vector. On the other hand, in the present example the change ID 1518 labeled A4 only represents the change Z made to item Iz.
[082] Referring now to Figure 23, an example of two replicas replicating in a topology containing a number of replicas is shown. Replica A 1602 contains a set of changes 1604, knowledge 1606 and a knowledge vector 1608 that is a short hand representation of the knowledge 1606. Illustratively, the knowledge vector 1608 of replica A 1602, A5B3C1D10, shows that replica A's knowledge 1606 includes changes made up to a fifth change in replica A 1602, knowledge up to a third change in a replica B 1610, knowledge up to a first change in a replica C and knowledge up to a tenth change in a replica D. Replica B 1610, in the example of Figure 23, includes a set of changes 1612, knowledge 1614 and a knowledge vector 1616 that is a shorthand representation, of replica B's knowledge 1614. Replica B's knowledge vector 1616, A3B3C5D8, illustrates that replica B has knowledge including knowledge up to a third change made by replica A 1602, knowledge up to a third change made by replica B 1610, knowledge up to a fifth change made by replica C and knowledge up to an eighth change made by replica D. The knowledge vectors set forth above include a continuous representation of change enumerations made by a replica from a first change to some subsequent change. As will explained in more detail later herein, a knowledge vector may also include a beginning point that is some other change enumeration than the first change enumeration made by a replica.
[083] . A time wise illustration of the replication of replica A 1602 with replica B 1610 is illustrated in Figure 23. At time (1), replica A 1602 sends a synch request 1618 along with replica A's knowledge 1606, that may be represented by replica A's knowledge vector 1608, to replica B 1610. Replica B 1610 at time (2) examines replica A's knowledge 1606 by comparing it to change IDs associated with the changes in Replica B. Replica B 1610 discovers that replica A is not aware of changes made by replica C that are labeled with the change IDs C2, C3, C4 and C5. Thus, replica B sends replica B's changes 1612 corresponding to these change IDs so long as the changes labeled with those change IDs are the current changes applicable to items in Replica B 1610. If a change ID corresponds to a previous outdated change, no change corresponding to that ED is sent. For example, if an item that had a version C3 was updated and assigned a new version, the change associated with C3 no longer exists in replica B 1610 and is not sent to replica A. Subsequently or simultaneously as illustrated in time (3) replica B 1610 sends to replica A 1602 replica B's knowledge 1614 that may be represented as a knowledge vector 1616.
[084] At time (4) replica A 1602 examines the knowledge 1614 sent by replica B by comparing it to the change ID's corresponding to changes in replica A 1602. Replica A 1602 discovers that replica B does not have either the changes represented by the change IDs A4, A5, D9 and DlO, or knowledge about those changes. Thus, replica A 1602 sends any current changes existing in replica A's changes 1604 corresponding to those change IDs (except when the change ID represents an outdated change such that no change is sent). Replica A 1602 may subsequently send a message to replica B 1610 indicating that all changes have been sent such that replica A 1602 and replica B 1610 can now update their knowledge vectors 1608 and 1616 respectively to include the recently replicated changes. As shown in Figure 23 at time (5), replica A's knowledge vector, A5B3C5D10, is equal to replica B's knowledge vector which includes all changes made by replica A up to a fifth change enumeration, all changes made by replica B up to a third change enumeration, all changes made by replica C up to a fifth change enumeration and all changes made by replica D up to a tenth change enumeration.
[085] Referring now Figures 24A and 24B, two methods of updating the knowledge vectors following a complete replication such as that represented in Figure 23 are shown. Specifically, Figure 24A illustrates a method for updating the knowledge vectors using an exception list 1702 stored on a replica. To create an exception list 1702, as changes are sent between replicas, the changes are sent with a change ID associated with the change. When the change is added to a replica, the change ID is added as an exception to an exception list 1702. Examining now the knowledge for replica A in Figure 24A; the knowledge includes a knowledge vector 1608 and an exception list 1702 which includes the exceptions C2, C3, C4 and C5. An examination of the exception list 1702 in conjunction with the knowledge vector 1608 reveals that including the change IDs from the exception list 1702, the knowledge of Replica A includes all changes up to a fifth change made by replica C. Thus, the exceptions can be removed from the knowledge of Replica A 1602 and the knowledge vector updated to include an element C5 as shown in the updated knowledge vector 1704. A similar analysis can be performed on the knowledge 1614 of replica B 1610. The original knowledge vector 1616 combined with the exceptions A4, A5, D9 and DlO in the exception list 1703 allows the knowledge vector 1616 to be updated to an updated knowledge vector 1706.
[086] Notably, if only a partial replication was performed, such as for example if the changes corresponding to the change IDs A4 and D9 were not sent in a replication such as that represented by Figure 23, then the knowledge 1614 of replica B 1610 would need to maintain the exceptions A5 and DlO until a subsequent replication with another replica that transfers the changes represented by the change IDs A4 and D9 to replica B 1610.
[087] Figure 24B illustrates another method of updating the knowledge vectors 1608 and 1616 to reflect the replication shown in Figure 23. In this example, the knowledge vectors are updated using an element-wise maximum for each of the elements in the original knowledge vectors 1608 and 1616 to form an updated knowledge vector 1708. The first element of each of the knowledge vectors 1608 and 1616 corresponds to a set of change IDs labeling changes made in replica A. Because A5 is the element-wise maximum element of the two knowledge vectors 1608 and 1616, the updated knowledge vector 1708 includes an element A5. Likewise, the vector elements B3, C5 and DlO each represent an element-wise maximum element corresponding to the changes on the particular replicas to which each of the elements correspond. Examination of each of the updated knowledge vectors 1704, 1706 and 1708 reveals that by either method, the same updated knowledge vector is obtained. The element-wise maximum method of knowledge vector updating is typically used when a complete replication has been performed whereas as an exception list method of updating the knowledge vector may be useful when it is not certain that a complete replication has occurred (a user may cancel the replication,, a device may crash, etc.). Namely, the exception list method may need to be used such that exceptions can continue to comprise a portion of the knowledge of a particular replica when the full knowledge of the replica cannot be represented in simple vector form.
[088] Referring now to Figure 24C, an example of updating knowledge is shown for a replica that has information from an incomplete replication. Figure ' 24C includes an original knowledge vector 1710, an original exception list 1712, an updated knowledge vector 1714, and an updated exception list 1716. With regard to the replica shown, after the partial replication, the replica has all of the change
. IDs labeled Al through A5, represented by the vector element A5, and all of the change IDs labeled A7 through AlO represented by the list of exceptions including A7, A8, A9 and AlO. As shown in Figure 24C, in an updated version of the knowledge, the updated exception list 1716 can be shortened to indicate inclusion of all elements from A7 to AlO such as by the expression (A7:A10) shown in Figure 24C. This expression is simply a vector such as those that have been previously discussed herein except that the beginning point of the vector is some other point than the first change enumeration for replica A. Thus the representation of the replica's knowledge as it relates to A is represented by the vector element A5 and the exception vector (A7:A10).
[089] In the case of the knowledge of the replica regarding replica B, the knowledge vector 1710 can be updated to include the continuous change IDs subsequent to the change IDs included in the vector element for replica B. The vector element Bl includes only the change ID Bl. Because change IDs B2, B3 and B4 exist in the exception list 1712, and they are continuous with the change ID Bl included in the knowledge vector 1710, the vector element for replica B can be updated to B4 in the updated knowledge vector 1714 which represents the inclusion of elements Bl through B4. Because the change ID B5 is missing from the exception list, the exception B6 must remain in the exception list 1716 in the updated knowledge.
[090] A similar analysis can be performed regarding the replica of Figure 24Cs knowledge regarding changes made by replica C. The original knowledge vector 1710 includes C5. The original exception list includes C6, C7 and C8. Because the original knowledge vector element C5 includes change IDs Cl through C5, and C5 is continuous with the change IDs in the original exception list 1712, the updated knowledge vector element for replica C can be updated to C8.
[091] One challenge that may arise with respect to the size of knowledge vectors is especially prevalent when the number of replicas in a sync community is great. In a topology where the knowledge vector includes a change ID or other vector element for each and every replica within the sync community, the knowledge vector increases with each replica that is added to the sync community. One optimization is to recognize that in some sync communities not every replica needs to be represented in the knowledge vector. One illustration of such a case is the sync community shown in Figure 25 which represents a hub and spoke server topology. Figure 25 shows a server 1802 connected to a number of clients including replica A 1804 replica B 1806 replica C 1808 and replica D 1810. In this example, all replication paths 1812-1818 between the clients are through the server 1802 and thus the server 1802 can assign a change ID that includes the server 1802 as the replica ID. AU changes made within the individual clients 1804 through 1810 remain within the respective client in which the change was made without the assignment of a change ID until a replication is performed. Thus, in this example, the knowledge vector includes a single element that comprises the replica ID and change ID of the server 1802. Illustratively, if a change is made in replica A 1804 and replicated with the server 1802 at a first time, the server 1802 assigns a change enumeration of Sl to the change. At a subsequent time, a change made in replica B 1806 is replicated with the server 1802. This change is assigned a change enumeration by the server of S2. Notably, while in this example, the server 1802 assigns all change enumerations, other implementations may exist where the server 1802 assigns some change enumerations and other replicas assign other change enumerations.
[092] Implementations of the invention are adaptable to optimize the knowledge vector in other topologies as well. For example, in Figure 18, replica D 1114 only replicates with replica C 1110. Thus, changes made by C and D can be enumerated using change enumerations that have a single replica ID. In one example, if the replica ID of replica C is chosen to be part of the change enumeration for all changes by either replica C 1110 or replica D 1114, a first change in replica C would be labeled with the change enumeration Cl. A subsequent change in replica D 1114 is labeled C2, and so forth. When one replica creates a change ID for changes made on a different replica, the replica creating the change ID may be referred to as a surrogate author.
[093] By optimizing the knowledge vector for the particular topology or sync community, resources used for storing the knowledge vector can be conserved in topologies that approach hub and spoke server-client topologies such as that shown in Figure 25. In topologies more like peer-to-peer networks, a larger knowledge vector is required, but the individual replicas can effectively and independently replicate with a larger number of other replicas while avoiding problems such as synch loops, false conflicts, and the like.
[094] When different replicas are allowed to make changes to items independent of one another, conflicts between the independently made changes may result that should be resolved. Conflict resolution typically requires that there be certain rules for determining which item version should be chosen as the valid item. Examples of some of these rules include selecting the item change that was made last or selecting item changes that are made by particular types of replicas such as preferring changes made by servers over changes made by other types of replicas. Alternatively, all conflicts could be logged for manual resolution. Manual resolution is accomplished by a user providing a new value for the item in conflict that will replace the conflicting changes.
[095] If all replicas within a sync community or topology resolve conflicts in the same way, no other resolution rules or resolution systems are typically required as all replicas within the system will migrate to a replicated resolution of any conflicts. While the replicas within the sync community may not be specifically designed to resolve conflicts in exactly the same way, the replicas within a sync community may nonetheless resolve conflicts in exactly the same way. Such an example of this is shown in Figure 26A. Figure 26A shows a replica D 1902. Replica D 1902 receives a change ID corresponding to a change in an item Ix wherein the change ID is A4. Subsequently replica D 1902 receives a change ID for the same item Ix wherein the change ID is B5. Replica D 1902 has conflict resolution rules to choose which of the changes to item Ix is the preferred change. In this case replica D chooses the change to item Ix labeled by the change ID A4. To indicate that a conflict was resolved by replica D 1902 and how the conflict was resolved, a new change ID is assigned to the item Ix that includes both the results of the conflict resolution and a new change ID assigned by the particular replica that made the conflict resolution. The new change ID includes the next sequential change enumeration for the replica that made the conflict resolution. In this case, the new change ID is labeled A4 (D7) to indicate that the change labeled A4 was chosen in the conflict resolution and that the conflict was resolved by replica D 1902. As shown in Figure 26A, a similar process occurs when a conflict in changes is detected by a replica C 1904. Replica C 1904 resolves the conflict in the same manner as replica D 1902. Thus a new change DD labeled A4 (C3) is assigned to the change of the item Ix. In this case, the conflict between the changes to item Ix labeled with the change IDs A4 and B5 will eventually be resolved in the same way in all of the replicas within the topology.
[096] Figure 26B illustrates an example where conflicts are resolved differently by different replicas within a topology. In Figure 26B, at time (1) replica D 1902 resolves the conflict in one way and assigns a new change ID to the items that illustrate the resolution of the conflict, B5, and the replica that that made the change, (D7). At time (2) replica C 1904 resolves the same conflict in a different way shown by the new change ID assigned by replica C 1904, A4 (C3). At time (3), replica D 1902 receives replica Cs resolution of the conflict. Replica D 1902 at this point recognizes that this particular conflict has been resolved in two different ways. Some implementations of the present invention therefore specify that a deterministic resolution be made between the conflicting changes to the item Ix. The particular deterministic resolution illustrated by Figure 26B causes the change with the lowest value replica ID to be selected as the deterministic result. Thus, because A is a lower value replica ID than replica B the deterministic resolution of the conflict is selected to be the change labeled by the change ID A4. Replica D 1902 thus changes the change ID associated with the change to item I to be A4 (D7). Note that to avoid replication loops or other conflict problems the change enumeration (i.e. D7) associated with the replica making the change is the same in the deterministic result 1906 as in the original resolution of the conflict 1908.
[097] Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims. All equivalents, changes, and modifications that come within the spirit of the implementations as described herein and/or by the following claims are desired to be protected.
[098] For example, a person of ordinary skill in the computer software art will recognize that the client and/or server arrangements, user interface screen content, and/or data layouts as described in the examples discussed herein could be organized differently on one or more computers to include fewer or additional options or features than as portrayed in the examples.

Claims

CLAIMSWhat is claimed is:
1. A method for synchronizing data comprising the steps of: providing a partial participant, the partial participant having a data store and a knowledge store, the data store being operable to store a set of data retrieved during a synchronization process with a first full participant, the knowledge store being operable to store a set of knowledge about the data in the data store, wherein the set of knowledge represents changes to the data that the first full participant is aware of (282), wherein the partial participant does not understand the set of knowledge (284), and wherein the partial participant is responsible for tracking what changes the partial participant makes to the set of data in the data store (290); receiving a request from a user of the partial participant to change a particular record in the set of data in the data store (286); and updating the particular record in the data store upon receiving the request from the user (288), wherein the updating includes storing information identifying a • source of the change as the partial participant (290).
2. The method of claim 1, wherein the partial participant is operable to synchronize with a second full participant (66).
3. The method of claim 1, wherein the partial participant is synchronized with the first full participant through a handler on the first full participant (66).
4. The method of claim 1, wherein the first full participant is a personal computer (242).
5. The method of claim 1, wherein the first full participant is a mobile device (242).
6. The method of claim 1, wherein the partial participant is a mobile device (282).
7. The method of claim 1, wherein the partial participant is a web service (282).
8. The method of claim 1, wherein the information identifying the source of the change is a version (304).
9. The method of claim 8, wherein a first portion of the version includes an identifier that uniquely identifies the partial participant and wherein a second portion of the version includes a number that indicates a record version (304).
10. . The method of claim 1, wherein the information identifying the source of the change is a unique identifier for the record and a date and time identifier to indicate when the record changed (314).
11. The method of claim 1, further comprising: receiving an updated set of knowledge from the first full participant after the first full participant updates the set of knowledge after the synchronization process (296).
12. A computer-readable medium having computer-executable instructions for causing a computer to perform the steps recited in claim 1 (200).
13. A computer-readable medium having computer-executable instructions for causing a computer to perform steps comprising: receive a request from a participant to perform a synchronization operation using a synchronization engine (244); determine a type for the participant, the type being selected from the group consisting of a full participant type, a partial participant type, and a simple participant type (246); wherein the participant is determined to be the simple participant type if it has a simple participant data store and no knowledge (248); wherein the participant is determined to be the partial participant type if it has a partial participant data store and stored-but-not-understood knowledge (250); wherein the participant is determined to be the full participant type if it has a full participant data store and stored-and-understood knowledge (252); and wherein the synchronization engine performs the synchronization operation with the participant using a set of logic that is appropriate for the type of participant (256).
14. The computer-readable medium of claim 13, wherein if the type for the participant is determined to be the simple participant type, then the synchronization engine is operable to synchronize a set of data in the simple participant data store by detecting changes to the set of data in the simple participant data store and storing any conflicts in a local data store (254).
15. The computer-readable medium of claim 13, if the type for the participant is determined to be the partial participant type, then the synchronization engine receives the stored-but-not-understood knowledge from the participant (258) and updates the stored-but-not-understood knowledge on the participant if exceptions occur (260).
16. The computer-readable medium of claim 15, wherein the synchronization engine updates the stored-but-not-understood knowledge on the participant by modifying a local copy and then transferring the local copy to the participant (262).
17. The computer-readable medium of claim 13, wherein if the type for the participant is determined to be the partial participant type, then the participant is operable to participate in a multi-master two-way synchronization operation because of the stored-but-not-understood knowledge on the participant (264).
18. The computer-readable medium of claim 13, wherein the synchronization engine receives a request from the participant to register a handler for the synchronization operation (244).
19. A method for synchronizing data comprising the steps of: providing a simple participant, the simple participant having a data store and no knowledge store, the data store being operable to store a set of data provided during a synchronization process with a full participant, and wherein the simple participant is not responsible for tracking what changes the simple participant makes to the set of data in the data store (424); receiving a request from a user of the simple participant to change a particular record in the set of data in the data store (428); and updating the particular record in the data store upon receiving the request from the user (430).
20. A computer-readable medium having computer-executable instructions for causing a computer to perform the steps recited in claim 19 (200).
PCT/US2007/001394 2006-02-15 2007-01-19 Synchronization peer participant model WO2007097846A1 (en)

Priority Applications (10)

Application Number Priority Date Filing Date Title
KR1020087019515A KR101319767B1 (en) 2006-02-15 2007-01-19 Synchronization peer participant model
AU2007218127A AU2007218127B2 (en) 2006-02-15 2007-01-19 Synchronization peer participant model
CN2007800056429A CN101385030B (en) 2006-02-15 2007-01-19 Synchronization peer participant model
CA2634467A CA2634467C (en) 2006-02-15 2007-01-19 Synchronization peer participant model
EP07748983.9A EP1989646B1 (en) 2006-02-15 2007-01-19 Synchronization peer participant model
JP2008555238A JP5289063B2 (en) 2006-02-15 2007-01-19 Synchronous peer participation model
ES07748983.9T ES2635719T3 (en) 2006-02-15 2007-01-19 Peer Participant Synchronization Model
BRPI0706518-3A BRPI0706518A2 (en) 2006-02-15 2007-04-19 nonhierarchical network participant synchronization model
IL192722A IL192722A0 (en) 2006-02-15 2008-07-09 Synchronization peer participant model
NO20083156A NO20083156L (en) 2006-02-15 2008-07-17 Model for synchronization of equal participants

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US11/354,677 2006-02-15
US11/354,677 US7756825B2 (en) 2003-07-31 2006-02-15 Synchronization peer participant model

Publications (1)

Publication Number Publication Date
WO2007097846A1 true WO2007097846A1 (en) 2007-08-30

Family

ID=38437695

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2007/001394 WO2007097846A1 (en) 2006-02-15 2007-01-19 Synchronization peer participant model

Country Status (15)

Country Link
US (1) US7756825B2 (en)
EP (1) EP1989646B1 (en)
JP (1) JP5289063B2 (en)
KR (1) KR101319767B1 (en)
CN (1) CN101385030B (en)
AU (1) AU2007218127B2 (en)
BR (1) BRPI0706518A2 (en)
CA (1) CA2634467C (en)
ES (1) ES2635719T3 (en)
IL (1) IL192722A0 (en)
NO (1) NO20083156L (en)
RU (1) RU2419865C2 (en)
TW (1) TW200805094A (en)
WO (1) WO2007097846A1 (en)
ZA (1) ZA200805394B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010539604A (en) * 2007-09-14 2010-12-16 マイクロソフト コーポレーション Knowledge base synchronization of subsets of data with migration prohibition conditions
JP2011503678A (en) * 2007-09-24 2011-01-27 マイクロソフト コーポレーション Web service endpoint synchronization in a multi-master synchronization environment

Families Citing this family (52)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7739363B1 (en) * 2003-05-09 2010-06-15 Apple Inc. Configurable offline data store
US7401103B2 (en) * 2003-07-31 2008-07-15 Microsoft Corporation Replication protocol for data stores
US8131739B2 (en) 2003-08-21 2012-03-06 Microsoft Corporation Systems and methods for interfacing application programs with an item-based storage platform
US8238696B2 (en) 2003-08-21 2012-08-07 Microsoft Corporation Systems and methods for the implementation of a digital images schema for organizing units of information manageable by a hardware/software interface system
US7401104B2 (en) * 2003-08-21 2008-07-15 Microsoft Corporation Systems and methods for synchronizing computer systems through an intermediary file system share or device
US8166101B2 (en) 2003-08-21 2012-04-24 Microsoft Corporation Systems and methods for the implementation of a synchronization schemas for units of information manageable by a hardware/software interface system
US20060242277A1 (en) 2005-03-31 2006-10-26 Tripwire, Inc. Automated change approval
US7689593B2 (en) * 2005-12-30 2010-03-30 Sap Ag Systems and methods for accessing a shared space in a provider-tenant environment
US7917607B2 (en) * 2005-12-30 2011-03-29 Sap Ag Software management systems and methods, including use of such systems and methods in a provider-tenant environment
US7890646B2 (en) * 2006-04-27 2011-02-15 Microsoft Corporation Synchronization orchestration
US20080104206A1 (en) * 2006-10-31 2008-05-01 Microsoft Corporation Efficient knowledge representation in data synchronization systems
US20080103977A1 (en) * 2006-10-31 2008-05-01 Microsoft Corporation Digital rights management for distributed devices
US7933869B2 (en) * 2006-12-29 2011-04-26 Sap Ag Method and system for cloning a tenant database in a multi-tenant system
US20080162589A1 (en) * 2006-12-29 2008-07-03 Microsoft Corporation Weakly-consistent distributed collection compromised replica recovery
US8069184B2 (en) * 2006-12-29 2011-11-29 Sap Ag Systems and methods to implement extensibility of tenant content in a provider-tenant environment
US20080162587A1 (en) * 2006-12-29 2008-07-03 Ulrich Auer Server synchronization for maintenance activities
US7620659B2 (en) * 2007-02-09 2009-11-17 Microsoft Corporation Efficient knowledge representation in data synchronization systems
US8966032B2 (en) * 2007-03-14 2015-02-24 Amdocs Software Systems Limited System and method for propagating personal identification information to communication devices
US20080294701A1 (en) * 2007-05-21 2008-11-27 Microsoft Corporation Item-set knowledge for partial replica synchronization
US8505065B2 (en) * 2007-06-20 2013-08-06 Microsoft Corporation Access control policy in a weakly-coherent distributed collection
US20090006489A1 (en) * 2007-06-29 2009-01-01 Microsoft Corporation Hierarchical synchronization of replicas
US7685185B2 (en) * 2007-06-29 2010-03-23 Microsoft Corporation Move-in/move-out notification for partial replica synchronization
US8095495B2 (en) * 2007-09-25 2012-01-10 Microsoft Corporation Exchange of syncronization data and metadata
JP5090149B2 (en) * 2007-12-13 2012-12-05 インターナショナル・ビジネス・マシーンズ・コーポレーション Method, apparatus and system for managing database
US8078749B2 (en) * 2008-01-30 2011-12-13 Microsoft Corporation Synchronization of multidimensional data in a multimaster synchronization environment with prediction
US20090196311A1 (en) * 2008-01-31 2009-08-06 Microsoft Corporation Initiation and expiration of objects in a knowledge based framework for a multi-master synchronization environment
US8185495B2 (en) * 2008-02-01 2012-05-22 Microsoft Corporation Representation of qualitative object changes in a knowledge based framework for a multi-master synchronization environment
US9135321B2 (en) * 2008-02-06 2015-09-15 Microsoft Technology Licensing, Llc Synchronization infrastructure for networked devices, applications and services in a loosely coupled multi-master synchronization environment
US8700301B2 (en) 2008-06-19 2014-04-15 Microsoft Corporation Mobile computing devices, architecture and user interfaces based on dynamic direction information
US20090315766A1 (en) 2008-06-19 2009-12-24 Microsoft Corporation Source switching for devices supporting dynamic direction information
US8467991B2 (en) 2008-06-20 2013-06-18 Microsoft Corporation Data services based on gesture and location information of device
US8135670B2 (en) * 2008-07-22 2012-03-13 International Business Machines Corporation Embedded change logging for data synchronization
US8458128B2 (en) 2008-08-26 2013-06-04 Microsoft Corporation Minimal extensions required for multi-master offline and collaboration for devices and web services
US9240015B2 (en) * 2009-05-08 2016-01-19 A2Zlogix, Inc. Method and system for synchronizing delivery of promotional material to computing devices
US8872767B2 (en) 2009-07-07 2014-10-28 Microsoft Corporation System and method for converting gestures into digital graffiti
US20110016100A1 (en) * 2009-07-16 2011-01-20 Microsoft Corporation Multiple fidelity level item replication and integration
US8341099B2 (en) * 2010-03-12 2012-12-25 Microsoft Corporation Semantics update and adaptive interfaces in connection with information as a service
US8805924B2 (en) 2010-05-26 2014-08-12 Microsoft Corporation Optimistic concurrency utilizing distributed constraint enforcement
JP5630190B2 (en) * 2010-10-06 2014-11-26 富士通株式会社 Update management apparatus, update management method, and update management program
US8868500B2 (en) * 2011-01-14 2014-10-21 Apple Inc. Data synchronization
US10395762B1 (en) 2011-06-14 2019-08-27 Merge Healthcare Solutions Inc. Customized presentation of data
US8867807B1 (en) 2011-09-23 2014-10-21 Dr Systems, Inc. Intelligent dynamic preloading and processing
US9836770B2 (en) 2012-02-24 2017-12-05 Ad Persistence, Llc Data capture for user interaction with promotional materials
US8756194B1 (en) * 2012-05-04 2014-06-17 Sencha, Inc. Cloud-based data replication for web applications with replica identifier reassignment feature
JP6041991B2 (en) * 2012-09-18 2016-12-14 ノキア テクノロジーズ オーユー Method, apparatus, and computer program for providing protocol for resolving synchronization collision during synchronization between multiple devices
US8635373B1 (en) 2012-09-22 2014-01-21 Nest Labs, Inc. Subscription-Notification mechanisms for synchronization of distributed states
CN104035944B (en) * 2013-03-08 2018-11-09 南京中兴新软件有限责任公司 Property synchronization control method, the device and system of file system
US20150120662A1 (en) * 2013-10-29 2015-04-30 Microsoft Corporation Synchronizing event history for multiple clients
US10025628B1 (en) * 2015-06-26 2018-07-17 Amazon Technologies, Inc. Highly available distributed queue using replicated messages
US11887157B2 (en) * 2019-07-02 2024-01-30 Bsi Business Systems Integration Ag Campaign management system—migration
US11201918B2 (en) * 2020-03-03 2021-12-14 Snap Inc. Minimizing number of synchs
CN113744037B (en) * 2021-08-16 2023-09-29 同盾科技有限公司 Method and device for communication of participants in knowledge federation, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6240416B1 (en) * 1998-09-11 2001-05-29 Ambeo, Inc. Distributed metadata system and method
US6493720B1 (en) * 1998-01-26 2002-12-10 International Business Machines Corporation Method and system for synchronization of metadata in an information catalog
EP1267283A2 (en) * 2001-06-15 2002-12-18 Nokia Corporation Selecting data for synchronization
EP1369791A2 (en) 2002-06-05 2003-12-10 Fujitsu Limited Portable terminal supporting apparatus, data synchronizing method, and portable terminal apparatus

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4078260A (en) * 1976-05-12 1978-03-07 International Business Machines Corporation Apparatus for transposition sorting of equal length records in overlap relation with record loading and extraction
US5185886A (en) * 1989-06-30 1993-02-09 Digital Equipment Corporation Multiple record group rebound sorter
US5893116A (en) * 1996-09-30 1999-04-06 Novell, Inc. Accessing network resources using network resource replicator and captured login script for use when the computer is disconnected from the network
US6405049B2 (en) * 1997-08-05 2002-06-11 Symbol Technologies, Inc. Portable data terminal and cradle
US6189007B1 (en) * 1998-08-28 2001-02-13 International Business Machines Corporation Method and apparatus for conducting a high performance locking facility in a loosely coupled environment
US6507845B1 (en) * 1998-09-14 2003-01-14 International Business Machines Corporation Method and software for supporting improved awareness of and collaboration among users involved in a task
US6243715B1 (en) * 1998-11-09 2001-06-05 Lucent Technologies Inc. Replicated database synchronization method whereby primary database is selected queries to secondary databases are referred to primary database, primary database is updated, then secondary databases are updated
US6401104B1 (en) * 1999-07-03 2002-06-04 Starfish Software, Inc. System and methods for synchronizing datasets using cooperation among multiple synchronization engines
US6560614B1 (en) * 1999-11-12 2003-05-06 Xosoft Inc. Nonintrusive update of files
JP3963417B2 (en) * 1999-11-19 2007-08-22 株式会社東芝 Communication method and electronic device for data synchronization processing
US6738766B2 (en) * 2000-02-02 2004-05-18 Doongo Technologies, Inc. Apparatus and methods for providing personalized application search results for wireless devices based on user profiles
US6873987B1 (en) * 2000-05-31 2005-03-29 International Business Machines Corporation Method, system and program products for recovering from failures within a shared nothing distributed computing environment
EP1187421A3 (en) * 2000-08-17 2004-04-14 FusionOne, Inc. Base rolling engine for data transfer and synchronization system
US6876995B1 (en) * 2000-10-04 2005-04-05 Microsoft Corporation Web store events
JP2004528621A (en) * 2001-01-03 2004-09-16 シンクロロジック インコーポレイテッド System and method for data synchronization between remote devices
US7636776B2 (en) 2003-07-31 2009-12-22 Microsoft Corporation Systems and methods for synchronizing with multiple data stores
US7440981B2 (en) 2003-07-31 2008-10-21 Microsoft Corporation Systems and methods for replicating data stores
US8166101B2 (en) 2003-08-21 2012-04-24 Microsoft Corporation Systems and methods for the implementation of a synchronization schemas for units of information manageable by a hardware/software interface system
US7512638B2 (en) 2003-08-21 2009-03-31 Microsoft Corporation Systems and methods for providing conflict handling for peer-to-peer synchronization of units of information manageable by a hardware/software interface system
US7111139B2 (en) 2004-03-02 2006-09-19 Hitachi, Ltd. Data synchronization of multiple remote storage
KR100557192B1 (en) 2004-04-06 2006-03-03 삼성전자주식회사 Method for sending data in case of irregularity completion in data synchronization between server and client and system therefor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6493720B1 (en) * 1998-01-26 2002-12-10 International Business Machines Corporation Method and system for synchronization of metadata in an information catalog
US6240416B1 (en) * 1998-09-11 2001-05-29 Ambeo, Inc. Distributed metadata system and method
EP1267283A2 (en) * 2001-06-15 2002-12-18 Nokia Corporation Selecting data for synchronization
EP1369791A2 (en) 2002-06-05 2003-12-10 Fujitsu Limited Portable terminal supporting apparatus, data synchronizing method, and portable terminal apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1989646A4

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010539604A (en) * 2007-09-14 2010-12-16 マイクロソフト コーポレーション Knowledge base synchronization of subsets of data with migration prohibition conditions
JP2011503678A (en) * 2007-09-24 2011-01-27 マイクロソフト コーポレーション Web service endpoint synchronization in a multi-master synchronization environment
JP2014089719A (en) * 2007-09-24 2014-05-15 Microsoft Corp Synchronization of web service endpoints in multi-master synchronization environment
KR101564471B1 (en) 2007-09-24 2015-10-29 마이크로소프트 테크놀로지 라이센싱, 엘엘씨 Synchronization of web service endpoints in a multi-master synchronization environment
US9648101B2 (en) 2007-09-24 2017-05-09 Microsoft Technology Licensing, Llc Synchronization of web service endpoints in a multi-master synchronization environment

Also Published As

Publication number Publication date
CN101385030B (en) 2011-11-16
ES2635719T3 (en) 2017-10-04
CA2634467A1 (en) 2007-08-30
KR20080113347A (en) 2008-12-30
JP2009527055A (en) 2009-07-23
CN101385030A (en) 2009-03-11
RU2008133417A (en) 2010-02-20
ZA200805394B (en) 2010-04-28
EP1989646A1 (en) 2008-11-12
US20060215569A1 (en) 2006-09-28
BRPI0706518A2 (en) 2011-03-29
CA2634467C (en) 2014-07-08
US7756825B2 (en) 2010-07-13
AU2007218127B2 (en) 2011-03-31
JP5289063B2 (en) 2013-09-11
RU2419865C2 (en) 2011-05-27
EP1989646A4 (en) 2011-11-23
EP1989646B1 (en) 2017-05-10
NO20083156L (en) 2008-08-27
TW200805094A (en) 2008-01-16
KR101319767B1 (en) 2013-10-22
IL192722A0 (en) 2009-02-11
AU2007218127A1 (en) 2007-08-30

Similar Documents

Publication Publication Date Title
CA2634467C (en) Synchronization peer participant model
US7440985B2 (en) Filtered replication of data stores
US7440981B2 (en) Systems and methods for replicating data stores
US7778282B2 (en) Propagation of conflict knowledge
US7401103B2 (en) Replication protocol for data stores
US10755234B2 (en) System and method for offline synchronization of exception items of shared services for client applications
US7636776B2 (en) Systems and methods for synchronizing with multiple data stores
US8412676B2 (en) Forgetting items with knowledge based synchronization
US20140250074A1 (en) Forgetting items with knowledge based synchronization
Ramasubramanian et al. Fidelity-aware replication for mobile devices
US20110016100A1 (en) Multiple fidelity level item replication and integration

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2634467

Country of ref document: CA

WWE Wipo information: entry into national phase

Ref document number: 192722

Country of ref document: IL

WWE Wipo information: entry into national phase

Ref document number: 2007218127

Country of ref document: AU

WWE Wipo information: entry into national phase

Ref document number: 2008555238

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: MX/a/2008/009273

Country of ref document: MX

WWE Wipo information: entry into national phase

Ref document number: 3801/CHENP/2008

Country of ref document: IN

ENP Entry into the national phase

Ref document number: 2007218127

Country of ref document: AU

Date of ref document: 20070119

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 1020087019515

Country of ref document: KR

ENP Entry into the national phase

Ref document number: 2008133417

Country of ref document: RU

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 200780005642.9

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2007748983

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2007748983

Country of ref document: EP

ENP Entry into the national phase

Ref document number: PI0706518

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20080714