The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Oct. 10, 2023

Filed:

May. 10, 2022
Applicant:

Tencent Technology (Shenzhen) Company Limited, Shenzhen, CN;

Inventors:

Maocai Li, Shenzhen, CN;

Changqing Yang, Shenzhen, CN;

Kaiban Zhou, Shenzhen, CN;

Qucheng Liu, Shenzhen, CN;

Gengliang Zhu, Shenzhen, CN;

Jinsong Zhang, Shenzhen, CN;

Huankun Huang, Shenzhen, CN;

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 16/20 (2019.01); G06F 11/14 (2006.01); G06F 16/27 (2019.01); G06Q 20/38 (2012.01);
U.S. Cl.
CPC ...
G06F 11/1446 (2013.01); G06F 16/27 (2019.01); G06F 2201/84 (2013.01); G06Q 20/389 (2013.01);
Abstract

A blockchain-based data snapshot method, performed by a consensus node in a blockchain network, includes: obtaining a snapshot trigger instruction and a trigger moment of the snapshot trigger instruction; performing snapshot processing on one or more transaction blocks in a ledger at the trigger moment, to obtain a snapshot account state of a transaction account, the snapshot account state being account data related to transaction data in the transaction blocks; obtaining a write-ahead logging (WAL) log of a target block, the target block being a block with a highest block height in the transaction blocks, the WAL log including a log of account data corresponding to the target block; and correcting dirty data in the snapshot account state according to the WAL log, to obtain a corrected snapshot account state, the dirty data being generated based on incomplete transaction data in the target block included in the ledger.


Find Patent Forward Citations

Loading…