Binary tree storage method and system
AssigneeHuawei Technologies Co., Ltd.
InventorsYi YI, Rongfeng HONG, Jian WANG
Life of this patent
Estimating the term…
Loading patent…
AssigneeHuawei Technologies Co., Ltd.
InventorsYi YI, Rongfeng HONG, Jian WANG
Estimating the term…
The present invention is applicable to the field of computer technologies and provides a binary tree storage method and system. The method includes: dividing a binary tree into a root tree and a plurality of subtrees, where the plurality of subtrees is layered and stored in N levels of storages; partitioning the plurality of subtrees into M types according to a preset rule, so that the plurality of subtrees is partitioned into N×M data blocks; and adjusting storage positions of the N×M data blocks in the storages, so that a storage at each level occupies the same number of storage units. In the present invention, storage spaces for nodes at each level, which are spaces of non-uniform sizes, are normalized into spaces of the same size, thereby increasing a space utilization rate of storages.
A binary tree storage method, comprising:
A binary tree storage control apparatus, the apparatus comprising:
A binary tree storage system, comprising;
Dependencies are inferred from the claim text.