Invention Grant
- Patent Title: Performing map iterations in a blockchain-based system
-
Application No.: US17082756Application Date: 2020-10-28
-
Publication No.: US11251969B2Publication Date: 2022-02-15
- Inventor: Jiahua He , Benquan Yu
- Applicant: ALIPAY (HANGZHOU) INFORMATION TECHNOLOGY CO., LTD.
- Applicant Address: CN Zhejiang
- Assignee: ALIPAY (HANGZHOU) INFORMATION TECHNOLOGY CO., LTD.
- Current Assignee: ALIPAY (HANGZHOU) INFORMATION TECHNOLOGY CO., LTD.
- Current Assignee Address: CN Zhejiang
- Agency: Fish & Richardson P.C.
- Main IPC: H04L9/32
- IPC: H04L9/32 ; H04L9/08 ; H04L9/14

Abstract:
Disclosed herein are methods, systems, and apparatus, including computer programs encoded on computer storage media, for performing a map iteration by a network node of a blockchain network. One of the methods includes receiving a request to obtain a number of keys included in a map by the network node, the map storing a number of key-value pairs that include the number of keys and a number of values corresponding to the number of keys. The network node maintains data representing a forest that stores the number of keys that are stored in the map. The forest includes a number of trees, each tree includes up to a respective number of storage nodes, and each storage node stores a subset of the number of keys. The network node traverses the forest to retrieve the number of keys stored in the forest, and return the number of keys.
Public/Granted literature
- US20210119806A1 PERFORMING MAP ITERATIONS IN A BLOCKCHAIN-BASED SYSTEM Public/Granted day:2021-04-22
Information query