Systems and methods for flexible synchronization
Abstract
A method for managing data synchronization for a database having a dynamic schema, the method comprising: generating, at a first client device, a first changeset that is representative of an operation on a data object in a database; transmitting a synchronization request for synchronizing the database with one or more changesets generated by a second client device; receiving a second changeset that is representative of an operation performed by the second client device on the data object, wherein the database is shared between the first client device and the second client device; and merging, at the first client device, the first changeset and the second changeset to update the data object, wherein the merging is performed based on data received from a plurality of the one or more servers operating in parallel to each other.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 37 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A database system comprising: a database having a dynamic schema; and at least one processor configured to: generate, at a first client device, a first changeset that is representative of an operation on a data object in a database; transmit, from the first client device and to one or more servers, a synchronization request for synchronizing the database with one or more changesets generated by a second client device; receive, at the first client device and from the one or more servers in response to the synchronization request, a second changeset that is representative of an operation performed by the second client device on the data object, wherein the database is shared between the first client device and the second client device; and merge, at the first client device, the first changeset and the second changeset to update the data object, wherein the merging is performed based on data received from a plurality of the one or more servers operating in parallel to each other, the merg
- Claim 2Depends on #1
The database system of claim 1, wherein permissions to access the database are controlled at a document level.
- Claim 3Depends on #2
The database system of claim 2, wherein the permissions are controlled at a field level.
- Claim 4Depends on #1
The database system of claim 1, wherein data transmitted between the first client device, the second client device, or the one or more servers is limited to the first changeset or the second changeset.
- Claim 5Depends on #1
The database system of claim 1, wherein permissions to access the database change across sessions.
- Claim 6Depends on #1
The database system of claim 1, wherein data to be synchronized via the synchronization request is decided via a language-native query.
- Claim 7Depends on #6
The database system of claim 6, wherein the language-native query is processed on the one or more servers.
- Claim 8Depends on #6
The database system of claim 6, wherein the language-native query is in a first query language of the first client device or the second client device and is translated to a second query language of the one or more servers.
Technical Overview & Description
RELATED APPLICATIONS This application claims priority under 35 U.S.C. § 119(e) to U.S. Provisional Application Ser. No. 63/349,533, entitled “ SYSTEMS AND METHODS FOR FLEXIBLE SYNCHRONIZATION, ” filed on Jun. 6, 2022. This application claims priority under 35 U.S.C. § 120 to and is a continuation in part of U.S. patent application Ser. No. 17/712,711, entitled “ CONFLICT RESOLUTION IN DISTRIBUTED COMPUTING ” , filed Apr. 4, 2022, which claims priority under 35 U.S.C. § 120 to and is a continuation of U.S. patent application Ser. No. 16/412,264, entitled “ CONFLICT RESOLUTION IN DISTRIBUTED COMPUTING ” , filed May 14, 2019, which claims priority under 35 U.S.C. § 119(e) to U.S. Provisional Application Ser. No. 62/671,931, entitled “ METHOD AND APPARATUS FOR CONFLICT RESOLUTION ” , filed May 15, 2018, each of which is incorporated by reference in their entirety. BACKGROUND One of the defining features of mobile devices is the fact that one can never count on being online. Loss of connectivity is a fact of life, and so are slow networks and choppy connections. However, users still expect their apps to work. This means that there may be two or more users making changes to the same piece of data independently, thus creating conflicts. This can happen even with perfect connectivity because the latency of communicating between the mobile device and the server may be slow enough that two or more mobile devices can end up creating conflicting changes at the same time. SUMMARY Some embodiments are directed to resolving conflicts that arise in changes made to data by multiple computing devices. Some embodiments resolve a data conflict through the application of rules to the data manipulation operations performed by the computing devices. In some embodiments, although the data is shared among multiple computing devices, each computing device may have a copy of the shared data. The rules ensure that data at each of the multiple computing devices will eventually be consistent. In
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (37)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (2)
- International Preliminary Report on Patentability dated Nov. 26, 2020, in connection with International Application No. PCT/US2019/032483.
- International Search Report and Written Opinion dated Jul. 24, 2019, in connection with International Application No. PCT/US2019/032483.