System and method for blockchain-based data synchronization

US11429617B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11429617-B2
Application numberUS-202017128244-A
CountryUS
Kind codeB2
Filing dateDec 21, 2020
Priority dateNov 8, 2019
Publication dateAug 30, 2022
Grant dateAug 30, 2022

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, including computer programs encoded on computer storage media, for blockchain-based data synchronization, are provided. One of the methods includes: obtaining, from one or more blockchain nodes associated with a blockchain, data associated with a plurality of blockchain transactions recorded in one or more blocks of the blockchain; storing the obtained data in one or more data stores, wherein the storing comprises organizing the obtained data according to one or more schemas, at least one of the one or more schemas being different from a data structure of the blockchain; receiving, from a client device, a data query based on one of the one or more schemas; executing the data query on the data in the one or more data stores to obtain a result; and sending, to the client device, a response comprising the obtained result.

First claim

Opening claim text (preview).

The invention claimed is: 1. A computer-implemented method for blockchain-based data synchronization, comprising: obtaining, from one or more blockchain nodes associated with a blockchain, data associated with a plurality of blockchain transactions recorded in one or more blocks of the blockchain; storing the obtained data in one or more data stores, wherein the storing comprises organizing the obtained data according to one or more schemas, at least one of the one or more schemas being different from a data structure of the blockchain, and the organizing the obtained data comprises: obtaining interface definitions associated with one or more blockchain contracts invoked by a blockchain transaction, wherein one or more blockchain contracts each comprise instructions executable by a virtual machine associated with the blockchain and the interface definitions specify one or more input types and one or more output types associated with the one or more blockchain contracts; resolving the blockchain transaction based on the obtained interface definitions associated with the one or more blockchain contracts to obtain one or more inputs and one or more return values; and storing the one or more inputs and the one or more return values in association with the data associated with the blockchain transaction; receiving, from a client device, a data query based on one of the one or more schemas; executing the data query on the data in the one or more data stores to obtain a result; and sending, to the client device, a response comprising the obtained result. 2. A non-transitory computer-readable storage medium for blockchain-based data synchronization, configured with instructions executable by one or more processors to cause the one or more processors to perform operations comprising: obtaining, from one or more blockchain nodes associated with a blockchain, data associated with a plurality of blockchain transactions recorded in one or more blocks of the blockchain; storing the obtained data in one or more data stores, wherein the storing comprises organizing the obtained data according to one or more schemas, at least one of the one or more schemas being different from a data structure of the blockchain, and organizing the obtained data comprises: obtaining interface definitions associated with one or more blockchain contracts invoked by a blockchain transaction, wherein one or more blockchain contracts each comprise instructions executable by a virtual machine associated with the blockchain and the interface definitions specify one or more input types and one or more output types associated with the one or more blockchain contracts; resolving the blockchain transaction based on the obtained interface definitions associated with the one or more blockchain contracts to obtain one or more inputs and one or more return values; and storing the one or more inputs and the one or more return values in association with the data associated with the blockchain transaction; receiving, from a client device, a data query based on one of the one or more schemas; executing the data query on the data in the one or more data stores to obtain a result; and sending, to the client device, a response comprising the obtained result. 3. A system for blockchain-based data synchronization, comprising a processor and a non-transitory computer-readable storage medium storing instructions executable by the processor to cause the system to: obtain, from one or more blockchain nodes associated with a blockchain, data associated with a plurality of blockchain transactions recorded in one or more blocks of the blockchain; store the obtained data in one or more data stores, wherein the storing comprises organizing the obtained data according to one or more schemas, at least one of the one or more schemas being different from a data structure of the blockchain, and the organizing the obtained data comprises: obtaining interface definitions associated with one or more blockchain contracts invoked by a blockchain transaction, wherein one or more blockchain contracts each comprise instructions executable by a virtual machine associated with the blockchain and the interface definitions specify one or more input types and one or more output types associated with the one or more blockchain contracts; resolving the blockchain transaction based on the obtained interface definitions associated with the one or more blockchain contracts to obtain one or more inputs and one or more return values; and storing the one or more inputs and the one or more return values in association with the data associated with the blockchain transaction; receive, from a client device, a data query based on one of the one or more schemas; execute the data query on the data in the one or more data stores to obtain a result; and send, to the client device, a response comprising the obtained result. 4. The method of claim 1 , wherein the organizing the obtained data according to the one or more schemas comprises: ordering the data associated with the blockchain transactions based on a height of a block in the blockchain that records each of the blockchain transactions. 5. The method of claim 1 , wherein one or more of the blockchain transactions each invokes one or more blockchain contracts associated with the blockchain, and wherein the organizing the obtained data according to the one or more schemas comprises: categorizing data associated with the one or more blockchain transactions based on the one or more blockchain contracts. 6. The method of claim 1 , wherein one or more of the blockchain transactions each comprises one or more identifiers respectively associated with one or more blockchain accounts associated with the blockchain, and wherein the organizing the obtained data according to the one or more schemas comprises: categorizing the data associated with the one or more blockchain transactions based on the one or more identifiers in each of the blockchain transactions. 7. The method of claim 1 , wherein the organizing the obtained data according to the one or more schemas comprises: categorizing the data associated with the blockchain transactions based on a type of each of the blockchain transactions. 8. The method of claim 1 , further comprising: determining that a block is newly added to the blockchain; obtaining data associated with a plurality of blockchain transactions recorded in the newly-added block; and updating the one or more data stores based on the blockchain transactions recorded in the newly-added block. 9. The method of claim 1 , wherein the storing the obtained data in one or more data stores comprises: storing the obtained data redundantly according to a hierarchical structure. 10. The method of claim 1 , wherein the organizing the obtained data according to the one or more schemas comprises: generating one or more indices respectively associated with the one or more schemas; and storing the one or more indices in the one or more data stores. 11. The method of claim 1 , further comprising, before receiving the data query based on the one of the one or more schemas: receiving, from the client system, a request for the one of the one or more schemas; and sending, to the client system, a specification of the one of the one or more schemas. 12. The method of claim 1 , wherein the executing the data query on the data in the one or more data stores to obtain the result comprises: identifying a subset of the data in the one or more data stores based on the data query; performing one or more data operations on the identified subset of the data; and determining the result bas

Assignees

Inventors

Classifications

  • hash tables · CPC title

  • Remote procedure calls [RPC]; Web services · CPC title

  • Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange · CPC title

  • Transaction processing · CPC title

  • Details of conversion of file system types or formats · 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 US11429617B2 cover?
Methods, systems, and apparatus, including computer programs encoded on computer storage media, for blockchain-based data synchronization, are provided. One of the methods includes: obtaining, from one or more blockchain nodes associated with a blockchain, data associated with a plurality of blockchain transactions recorded in one or more blocks of the blockchain; storing the obtained data in o…
Who is the assignee on this patent?
Alipay Hangzhou Inf Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06Q20/3829. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Aug 30 2022 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).