# US 2014/0250243 A1 · System and Methods for Facilitating the Synchronization of Data

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2014/0250243 A1
- Document ID: US20140250243A1
- Status: Published application
- Kind: A1
- Application number: 14/275,124
- Filed: 2014-05-12
- Published: 2014-09-04
- Earliest claimed: 2011-03-04
- Assignees: Scribble Technologies Inc.
- Applicants: Scribble Technologies Inc.
- Inventors: Jonathan Keebler; Krzysztof Wiercioch
- Web page: https://patentgrep.com/patent/US20140250243A1

## CPC

- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- G06F 16/10: File systems; File servers
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F 16/273: {Asynchronous replication or reconciliation}
- G06F 16/275: {Synchronous replication}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Methods and systems for facilitating the synchronization of data on two or more user computers, where the data is maintained in a data structure as objects. The system assigns an index to one or more objects maintained in the data structure, wherein each index provides an address for an object within the data structure. The system detects at least one modification to the data, wherein said modification is initiated on a user computer. The system updates one or more objects in the data structure based on the modification. The system creates a representation of the at least one modification, wherein the representation comprises a reference to one or more indexes assigned to the one or more updated objects. The system transmits the representation, wherein the representation is for use in generating a corresponding modification to the data on other user computers.

## Claims

### Claim at position 1

1-42. (canceled)

### Claim 43

A method for facilitating synchronization of data on two or more user computers, the method comprising:
assigning an index to one or more objects maintained in a data structure, wherein each index provides an address for an object within the data structure and the object representing data on two or more user computers;
detecting at least one type of modification to the data initiated on one user computer;
updating one or more objects in the data structure based on the modification responsive to amount of the modification to the data exceeding a threshold value;
creating a representation of the detected type of modification, wherein the representation comprises a reference to one or more indexes assigned to the one or more updated objects representing a modified data structure, a modified data structure received from a computer server including an indication to replace the data structure maintained on the user computers by the modified data structure, the computer server adapted to modify the data structure by assigning an index to each object not previously assigned with an index; and
transmitting the representation for generating a corresponding modification to the data on other user computers.

### Claim 44 (depends on 43)

The method of claim 43, further comprising:
generating the corresponding modification to the data on the other user computers using the representation.

### Claim 45 (depends on 44)

The method of claim 44, wherein generating the corresponding modification to the data on the other user computers using the representation comprises:
displaying the data and modifications to the data on each of the two or more user computers, the data being editable and the modification indicated on the display on each of the user computers.
displaying a caret on each user computer displaying the editable data and storing a position of the caret within the editable data, wherein the caret is operable to move to different positions within the editable data;
for each of user computer, responsive to generating the corresponding modification to the data, displaying the caret at the stored position.

### Claim 46 (depends on 43)

The method of claim 43, further comprising:
determining at least one type of modification for the at least one modification; and
updating one or more objects in the data structure based on the at least one type of modification wherein the representation comprises a reference to the at least one type of modification.

### Claim 47 (depends on 43)

The method of claim 43, wherein the data is editable data.

### Claim 48 (depends on 43)

The method of claim 43, wherein the representation comprises data relating only to the at least one modification to the data.

### Claim 49 (depends on 43)

The method of claim 43, wherein the objects maintained in the data structure are organized in the data structure as a connected tree of nodes, each node in the tree corresponding to an object, wherein each node in the connected tree has zero or more parent nodes, zero or more sibling nodes, and zero or more children nodes, and wherein the connected tree comprises a root node having zero parent nodes.

### Claim 50 (depends on 49)

The method of claim 49, wherein the objects comprise text objects defining editable text data and wherein the objects comprise container objects defining a container for one or more objects, wherein the container objects are associated with a value, and the method further comprises:
traversing each node in the tree of nodes to identify all nodes that have more than one children nodes and at least one child node that is a text object;
for each identified node, for all children nodes that are text objects, add a new container object at the position of the text object, and define the text object as the child node to the new container object; and
indicating in the representation that the modification comprises adding one or more new container objects at the position of the text object and that the value associated with the new container node is the text object.

### Claim 51 (depends on 49)

The method of claim 49, further comprises:
identifying the root node of the data structure;
defining the root node as a container object;
identifying all children nodes to the root node that are text objects;
for each text object:
responsive to a text object being next to a container object in the data structure:
adding the editable text data defined by the text object as a value of the container object;
deleting the text object; and
indicating in the representation that the modification comprises appending the children nodes of the container object with the text data of the text object and
responsive to the text object being not next to a container object in the data structure, wrapping the text node in a container object assigned to a new index.

### Claim 52 (depends on 43)

The method of claim 43, wherein an index comprises a unique token.

### Claim 53 (depends on 43)

The method of claim 43, wherein the data structure maintains each object in a position in relation to other objects, and wherein an index of an object comprises a coordinate storing the position of the indexed object in relation to the other objects.

### Claim 54 (depends on 53)

The method of claim 53, wherein the coordinate of the assigned index for an object comprises a previous position and a current position, wherein the previous position is a position of the object in relation to other objects of the data before detecting the modification, and wherein the current position is a position of the object in relation to other objects of the editable data after detecting the modification, and wherein creating a representation of the at least one modification further comprises:
identifying one or more objects assigned to an index having a coordinate with a previous position that does not match a current position;
indicating in the representation that each of the one or more identified objects should be moved from the previous position to the current position.

### Claim 55 (depends on 54)

The method of claim 54, further comprising:
moving an object from a first position to a second position responsive to detected modification.

### Claim 56 (depends on 43)

The method of claim 43, where the at least one type of modification is selected from a group comprising of: deleting an object from the data, adding an object to the data, editing an object of the data, moving an object from a first position to a second position, and changing the data by more than a threshold amount of data.

### Claim 57 (depends on 43)

The method of claim 43, wherein creating a representation of the detected modification comprises:
retrieving a copy of the data structure maintaining the data on the user computer at which the modification was detected and initiated;
transmitting the copy of data structure to the computer server;
receiving a modified data structure from the computer server at the user computer at which the modification was detected, wherein the computer server modified the copy of the data structure by assigning an index to each object that was not previously assigned an index;
replacing the copy of the data structure transmitted to the server with the modified data structure;
transmitting a copy of the modified data structure; and
indicating in the representation that the modified data structure should replace the data structure maintaining the data on the other user computers.

### Claim 58 (depends on 57)

The method of claim 57, further comprising wrapping text objects that are not wrapped with associated container objects to generate the modified data structure.

### Claim 59 (depends on 57)

The method of claim 57, further comprising:
identifying one or more text objects defining text data that is longer than a threshold amount;
sub-dividing the identified text objects by sub-dividing the text data of each of the identified text objects into text objects defining text data that is that are less than the threshold amount; and
modifying the data structure to wrap the divided text objects with associated container objects.

### Claim 60 (depends on 43)

The method of claim 43, wherein creating a representation of the at least one modification further comprises:
identifying one or more objects that are not associated with an index;
for each of the identified one or more objects:
modifying the data structure to assign a new index to the object;
determining a position for the object relative to other objects of the editable data; and
indicating in the representation that the object should be added to the data at the determined position.

### Claim 61 (depends on 43)

The method of claim 43, wherein creating a representation of the at least one modification using further comprises:
identifying an index assigned to an object that no longer exists in the data structure; and
indicating in the representation that the object assigned to the identified index should be deleted from the editable data.

### Claim 62 (depends on 43)

The method of claim 43, wherein the data structure associates one or more objects with a previous value before detecting the modification and a current value after detecting the modification, and wherein creating a representation of the at least one modification further comprises:
identifying the one or more objects associated with a current value that does not match its previous value before detecting the modification; and
indicating in the representation that the identified object has been in edited from its previous value to its new value.

### Claim 63 (depends on 43)

The method of claim 43, wherein each of the objects is configured to be serialized into strings, and wherein the method further comprises:
before detecting the modification, storing a first version of each object's serialized string;
wherein creating a representation of the at least one modification further comprises:
determining a second version for each object's serialized string;
identifying an object having a first version of a serialized string that does not match a second version of a serialized string; and
indicating in the representation that the object should be changed to the second version of the serialized string.

### Claim 64 (depends on 43)

The method of claim 43, wherein creating a representation of the at least one modification further comprises:
identifying two or more objects assigned to the same index;
modifying the data structure to assign different indexes to each of the identified two or more objects;
indicating in the representation that the two or more identified elements assigned to the same index should be associated with the different indexes.

### Claim 65 (depends on 43)

The method of claim 43, further comprising:
detecting a plurality of modifications to the editable data;
generating a queue of representations by creating a representation for each modification of the plurality of modifications; and
sending the queue of representations to the other user computers, the queue of representations for use in generating a corresponding plurality of modifications to the data on the other user computers.

### Claim 66 (depends on 43)

The method of claim 43, wherein the data structure associates one or more objects with a style attribute, and wherein the method further comprises stripping style attributes from the one or more objects except those objects where the style attribute has been explicitly allowed.

### Claim 67 (depends on 43)

The method of claim 43, wherein the objects comprise an image object referencing image data and wherein the method further comprises:
determining that the image data referenced by the image object is stored on an external server;
storing a copy of the image data on an internal server;
modifying the image object to reference the copy of the image data stored on the internal server; and
indicating in the representation that the image object should be changed to reference the copy of the image data stored on the internal server.

### Claim 68 (depends on 43)

The method of claim 43, further comprising illustrating modified data displayed on one or more user computers, illustrating the modified data comprising:
storing a first version of data comprising a plurality of objects including textual objects and media objects;
detecting a modification to the first version of the data, wherein the data with the modification is a second version of the data;
receiving a request to publish the data;
determining a first set of differences between the first version of the data with the second version of the data; and
publishing a third version of the data illustrating the first set of differences.

### Claim 69 (depends on 68)

The method of claim 68, further comprising:
detecting an author of the modification to the data;
publishing the third version of the data indicating the author of the modification.

### Claim 70 (depends on 68)

The method of claim 68, further comprising:
storing the third version of the data;
detecting another modification to the data, wherein the data with the other modification is a fourth version of the data;
receiving a request to publish the fourth version of the data;
determining a second set of differences between the third version of the data with the fourth version of the data; and
publishing a fifth version of the data illustrating the second set of differences.

### Claim 71 (depends on 70)

The method of claim 70, further comprising:
publishing the fifth version of the publication illustrating the first set of differences and the second set of differences, wherein the first set of differences is illustrated differently than the second set of differences.

### Claim 72 (depends on 68)

The method of claim 68, further comprising:
detecting a first author of the modification to the first version of the data;
detecting a second author of the modification to the second version of the data; and
publishing a third version of the data illustrating the differences and the author of the modification, wherein a first set of differences indicates the first author and a second set of differences indicates the second author.

### Claim 73 (depends on 72)

The method of claim 72, further comprising animating to illustrate the first set of differences and indicating a description of the first set of differences.

### Claim 74

A method for illustrating modified data displayed on one or more user computers, comprising:
storing a first version of data comprising a plurality of objects including textual objects and media objects;
detecting a modification to the first version of the data, wherein the data with the modification is a second version of the data;
receiving a request to publish the data;
determining a first set of differences between the first version of the data with the second version of the data; and
publishing a third version of the data illustrating the first set of differences.

### Claim 75 (depends on 74)

The method of claim 74, further comprising:
storing the third version of the data;
detecting another modification to the data, wherein the data with the other modification is a fourth version of the data;
receiving a request to publish the fourth version of the data;
determining a second set of differences between the third version of the data with the fourth version of the data; and
publishing a fifth version of the data illustrating the second set of differences.

### Claim 76 (depends on 75)

The method of claim 75, further comprising:
publishing the fifth version of the publication illustrating the first set of differences and the second set of differences, wherein the first set of differences is illustrated differently than the second set of differences.

### Claim 77 (depends on 74)

The method of claim 74, further comprising:
detecting a first author of the modification to the first version of the data;
detecting a second author of the modification to the second version of the data;
publishing a third version of the data illustrating the differences and the first author of the modification and the second author of the modification.

### Claim 78

A system for facilitating synchronization of data on two or more user computers, the system comprising:
a modification module for:
assigning an index to one or more objects maintained in a data structure, wherein each index provides an address for an object within the data structure and the object representing data on two or more user computers;
detecting at least one type of modification to the data initiated on one user computer;
updating one or more objects in the data structure based on the modification responsive to amount of the modification to the data exceeding a threshold value;
creating a representation of the detected type of modification, wherein the representation comprises a reference to one or more indexes assigned to the one or more updated objects representing a modified data structure, a modified data structure received from a computer server including an indication to replace the data structure maintained on the user computers by the modified data structure, the computer server adapted to modify the data structure by assigning an index to each object not previously assigned with an index; and
an output module for transmitting the representation for generating a corresponding modification to the data on other user computers.

### Claim 79

A non-transitory computer-readable storage medium storing computer program instructions executed by a computer processor for facilitating synchronization of data on two or more user computers, the computer program instructions comprising instructions for:
assigning an index to one or more objects maintained in a data structure, wherein each index provides an address for an object within the data structure and the object representing data on two or more user computers;
detecting at least one type of modification to the data initiated on one user computer;
updating one or more objects in the data structure based on the modification responsive to amount of the modification to the data exceeding a threshold value;
creating a representation of the detected type of modification, wherein the representation comprises a reference to one or more indexes assigned to the one or more updated objects representing a modified data structure, a modified data structure received from a computer server including an indication to replace the data structure maintained on the user computers by the modified data structure, the computer server adapted to modify the data structure by assigning an index to each object not previously assigned with an index; and
transmitting the representation for generating a corresponding modification to the data on other user computers.
