Processing mutations for a remote database

US12174822B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12174822-B2
Application numberUS-202217821635-A
CountryUS
Kind codeB2
Filing dateAug 23, 2022
Priority dateJun 24, 2014
Publication dateDec 24, 2024
Grant dateDec 24, 2024

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Methods, systems, and apparatus are described for processing mutations for a remote database. In one aspect, a method includes receiving a log of database mutations from a client device, the log of database mutations indicating changes previously made to a client version of a database stored on the client device, and each database mutation specifying: an entity included in the database; an operation for the entity; and a client version number for the entity; identifying, in the log of database mutations, two or more database mutations that each specify a same client version number for a same entity; determining, based on a conflict resolution policy, that the two or more database mutations are eligible for collapsing; and collapsing the two or more database mutations into a single database mutation.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented method executed by data processing apparatus of a remote version of a database that causes the data processing apparatus to perform operations comprising: receiving, from a client device, a request requesting to update the remote version of the database with a client version of the database, the remote version of the database comprising a first value for an entity and the client version of the database comprising a second value for the entity that is greater than the first value for the entity, the remote version of the database remote from the client device and the client version of the database stored on the client device, wherein the request comprises: a client database version number representing a version of the client version of the database; and a client value to update a corresponding remote value of the remote version of the database; determining, based on the client database version number of the request and a remote database version number representing the version of the remote version of the database, a conflict; based on a conflict resolution policy specific to the database, determining that the second value for the entity is greater than the first value for the entity; based on determining that the second value for the entity is greater than the first value for the entity, determining not to perform the request; and providing, to the client device, conflict response data indicating that the request was not performed, the conflict response data configured to cause the client device to update the second value for the entity of the client version of the database with the first value for the entity, the conflict response data comprising: the remote database version number; and the first value for the entity of the remote version of the database. 2. The method of claim 1 , wherein the conflict resolution policy comprises a default resolution policy stored with the remote version of the database. 3. The method of claim 1 , wherein the conflict resolution policy further specifies to resolve the conflict in favor of the remote version of the database. 4. The method of claim 1 , wherein determining the conflict comprises determining that the client database version number is different than the remote database version number. 5. The method of claim 1 , wherein determining the conflict resolution policy comprises determining that the request does not specify a requested resolution policy. 6. The method of claim 1 , wherein the request comprises the conflict resolution policy. 7. The method of claim 1 , wherein the client database version number and the remote database version number comprise monotonically increasing values representing a number of updates to the database. 8. The method of claim 1 , wherein the database comprises a plurality of entities, each respective entity of the plurality of entities uniquely identified by a respective key. 9. The method of claim 8 , wherein the request comprises the respective key of an entity of the plurality of entities to update. 10. A system comprising: data processing hardware of a remote version of a database; and memory hardware in communication with the data processing hardware, the memory hardware storing instructions that when executed on the data processing hardware cause the data processing hardware to perform operations comprising: receiving, from a client device, a request requesting to update the remote version of the database with a client version of the database, the remote version of the database comprising a first value for an entity and the client version of the database comprising a second value for the entity that is greater than the first value for the entity, the remote version of the database remote from the client device and the client version of the database stored on the client device, wherein the request comprises: a client database version number representing a version of the client version of the database; and a client value to update a corresponding remote value of the remote version of the database; determining, based on the client database version number of the request and a remote database version number representing the version of the remote version of the database, a conflict; based on a conflict resolution policy specific to the database determining that the second value for the entity is greater than the first value for the entity; based on determining that the second value for the entity is greater than the first value for the entity, determining not to perform the request; and providing, to the client device, conflict response data indicating that the request was not performed, the conflict response data configured to cause the client device to update the second value for the entity of the client version of the database with the first value for the entity, the conflict response data comprising: the remote database version number; and the corresponding remote value of the remote version of the database. 11. The system of claim 10 , wherein the conflict resolution policy comprises a default resolution policy stored with the remote version of the database. 12. The system of claim 10 , wherein the conflict resolution policy further specifies to resolve the conflict in favor of the remote version of the database. 13. The system of claim 10 , wherein determining the conflict comprises determining that the client database version number is different than the remote database version number. 14. The system of claim 10 , wherein determining the conflict resolution policy comprises determining that the request does not specify a requested resolution policy. 15. The system of claim 10 , wherein the request comprises the conflict resolution policy. 16. The system of claim 10 , wherein the client database version number and the remote database version number comprise monotonically increasing values representing a number of updates to the database. 17. The system of claim 10 , wherein the database comprises a plurality of entities, each respective entity of the plurality of entities uniquely identified by a respective key. 18. The system of claim 17 , wherein the request comprises the respective key of an entity of the plurality of entities to update.

Assignees

Inventors

Classifications

  • Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor · CPC title

  • Sequence data queries, e.g. querying versioned data · CPC title

  • Change logging, detection, and notification (replication G06F16/27) · CPC title

  • using versioning · CPC title

  • Ensuring data consistency and integrity · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12174822B2 cover?
Methods, systems, and apparatus are described for processing mutations for a remote database. In one aspect, a method includes receiving a log of database mutations from a client device, the log of database mutations indicating changes previously made to a client version of a database stored on the client device, and each database mutation specifying: an entity included in the database; an oper…
Who is the assignee on this patent?
Google Llc
What technology area does this patent fall under?
Primary CPC classification G06F16/2358. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Dec 24 2024 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 12 related publications on this page (citations in our corpus or others sharing the same primary CPC).