Patent ID: 11899689
Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A blockchain-based data synchronization method, executed by a first service node, the method comprising:
acquiring target block data of a target block having a minimum block height that is greater than a first local block height, wherein the first local block height is a maximum block height of local block data of the first service node before the first service node acquires the target block data, the target block being one of a plurality of blocks in a blockchain system, the plurality of blocks including information about one or more network transactions for verifying information validity and for generating a next block;
adding a maximum block height among block heights carried in the target block data to the maximum block height queue, the maximum block height queue comprising maximum block heights of block data pulled by the first service node in block data pulling operations;
determining a block height of missing block data according to a block height of the target block data and the first local block height, the block height of the missing block data being less than the minimum block height of the target block data and greater than the first local block height;
adding the block height of the missing block data to a missing block queue; and
requesting a target service node to synchronize the missing block data according to the block height of the missing block data in the missing block queue.