Blockchain-based data synchronizing and data block parsing method and device
AssigneeAdvanced New Technologies Co., Ltd.
InventorJiyuan Wang
Life of this patent
Estimating the term…
Abstract
One or more implementations of the present specification provide a blockchain-based data processing method and device. Block data in a blockchain is synchronized by a data center to a local database of the data center. The data center is connect to the blockchain and a target application. A data usage request sent by the target application is received by the data center. In response to the data usage request, the local database is queried, by the data center, for requested data corresponding to the data usage request. The requested data is returned, by the data center, to the target application.
Claims15
A computer-implemented method, comprising:
- synchronizing, by a data center, block data in a blockchain to a local database of the data center, wherein the data center is connected to the blockchain and a target application, the synchronizing includes obtaining parsed block data by parsing the block data based on a parsing rule associated with a service type of the target application, and storing the parsed block data in the local database based on a storage format associated with the service type of the target application;
- receiving, by the data center, a data usage request sent by the target application;
- in response to the data usage request, querying, by the data center, the local database for requested data corresponding to the data usage request;
- and
- returning, by the data center, the requested data to the target application.
A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
- synchronizing, by a data center, block data in a blockchain to a local database of the data center, wherein the data center is connected to the blockchain and a target application, the synchronizing includes obtaining parsed block data by parsing the block data based on a parsing rule associated with a service type of the target application, and storing the parsed block data in the local database based on a storage format associated with the service type of the target application;
- receiving, by the data center, a data usage request sent by the target application;
- in response to the data usage request, querying, by the data center, the local database for requested data corresponding to the data usage request;
- and
- returning, by the data center, the requested data to the target application.
A computer-implemented system, comprising:
- one or more computers;
- and
- one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform one or more operations comprising:
- synchronizing, by a data center, block data in a blockchain to a local database of the data center, wherein the data center is connected to the blockchain and a target application, the synchronizing includes obtaining parsed block data by parsing the block data based on a parsing rule associated with a service type of the target application, and storing the parsed block data in the local database based on a storage format associated with the service type of the target application;
- receiving, by the data center, a data usage request sent by the target application;
- in response to the data usage request, querying, by the data center, the local database for requested data corresponding to the data usage request;
- and
- returning, by the data center, the requested data to the target application.
Dependencies are inferred from the claim text.