US 12,079,201 B2
Blockchain-based data storage method, related device and storage medium
Yinhui Tang, Chongqing (CN)
Assigned to SIMPLECREDIT MICRO-LENDING CO., LTD., Chongqing (CN)
Appl. No. 17/282,312
Filed by SIMPLECREDIT MICRO-LENDING CO., LTD., Chongqing (CN)
PCT Filed Jun. 20, 2019, PCT No. PCT/CN2019/092086
§ 371(c)(1), (2) Date Apr. 1, 2021,
PCT Pub. No. WO2020/133962, PCT Pub. Date Jul. 2, 2020.
Claims priority of application No. 201811616630.6 (CN), filed on Dec. 27, 2018.
Prior Publication US 2021/0382872 A1, Dec. 9, 2021
Int. Cl. G06F 16/23 (2019.01); G06F 16/27 (2019.01); H04L 65/40 (2022.01)
CPC G06F 16/2379 (2019.01) 24 Claims
OG exemplary drawing
 
1. A data storage method, applied to a blockchain system, the blockchain system comprising a plurality of nodes, the method comprising:
acquiring, by a target node, a serial number of a newly generated first block broadcasted in the blockchain system, wherein the target node is any one of the plurality of nodes, the first block comprises block data and a block head, and the block head comprises the serial number of the first block and summary data of the first block, and the first block is a newly generated block in any node in the blockchain system;
acquiring, by the target node, a first token seed, wherein the first token seed is generated according to a number of nodes of the blockchain system;
determining, by the target node, a first serial number range where the first block is located on a basis of the first token seed and the serial number of the first block; and
determining, by the target node, to store the first block or store the block head of the first block on a basis of the first serial number range and a first token value of the target node, wherein the first token value of the target node is generated based on the first token seed.