IP Library Granted Patent US 10,949,447
Granted Patent B2
US 10,949,447 · App. 16/888,614 · Granted Mar 16, 2021

Blockchain-based data synchronizing and data block parsing method and device

Inventor: Jiyuan Wang (Hangzhou, CN)
Assignee: Advanced New Technologies Co., Ltd.
G06F16/27G06F21/64H04L9/0643H04L69/22H04L2209/38
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,949,447
App. No.
16/888,614
Granted
Mar 16, 2021
Kind
B2
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.

Claims (38)

1. 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.

2. The computer-implemented method of claim 1 , wherein parsing the block data based on the parsing rule is implemented as a plug-in to an executable program.

3. The computer-implemented method of claim 1 , wherein the parsing rule comprises one or more of a service scenario parsing rule, a data filtering rule, and an index field parsing rule.

4. The computer-implemented method of claim 1 , wherein the storage format comprises a JSON format.

5. The computer-implemented method of claim 1 , wherein synchronizing the block data in the blockchain to the local database comprises:

generating a query index for the parsed block data;

creating an index table based on a mapping relationship between the query index and the parsed block data; and

storing the index table in the local database.

6. 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.

7. The non-transitory, computer-readable medium of claim 6 , wherein parsing the block data based on the parsing rule is implemented as a plug-in to an executable program.

8. The non-transitory, computer-readable medium of claim 6 , wherein the parsing rule comprises one or more of a service scenario parsing rule, a data filtering rule, and an index field parsing rule.

9. The non-transitory, computer-readable medium of claim 6 , wherein the storage format comprises a JSON format.

10. The non-transitory, computer-readable medium of claim 6 , wherein synchronizing the block data in the blockchain to the local database comprises:

generating a query index for the parsed block data;

creating an index table based on a mapping relationship between the query index and the parsed block data; and

storing the index table in the local database.

11. 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.

12. The computer-implemented system of claim 11 , wherein parsing the block data based on the parsing rule is implemented as a plug-in to an executable program.

13. The computer-implemented system of claim 11 , wherein the parsing rule comprises one or more of a service scenario parsing rule, a data filtering rule, and an index field parsing rule.

14. The computer-implemented system of claim 11 , wherein synchronizing the block data in the blockchain to the local database comprises:

generating a query index for the parsed block data;

creating an index table based on a mapping relationship between the query index and the parsed block data; and

storing the index table in the local database.

15. The computer-implemented system of claim 11 , wherein the storage format comprises a JSON format.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 10, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053754/0625 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 31, 2020
From: WANG, JIYUAN
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 053647/0456 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 31, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053743/0464 →
Priority Claims (1)
CN 201810713472.X · Jun 29, 2018 · national
Continuity (2)
Continuation PCTCN2019080032 · Mar 28, 2019
Related Publication 20200293549A1 · Sep 17, 2020
Cited By (2)
US 12,387,265 US 12,685,059