Processing

Please wait...

Settings

Settings

Goto Application

1. CN111782656 - Data read-write method and device

Office
China
Application Number 202010623609.X
Application Date 30.06.2020
Publication Number 111782656
Publication Date 16.10.2020
Publication Kind A
IPC
G06F 16/22
GPHYSICS
06COMPUTING; CALCULATING OR COUNTING
FELECTRIC DIGITAL DATA PROCESSING
16Information retrieval; Database structures therefor; File system structures therefor
20of structured data, e.g. relational data
22Indexing; Data structures therefor; Storage structures
G06F 16/27
GPHYSICS
06COMPUTING; CALCULATING OR COUNTING
FELECTRIC DIGITAL DATA PROCESSING
16Information retrieval; Database structures therefor; File system structures therefor
20of structured data, e.g. relational data
27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
CPC
G06F 16/22
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
FELECTRIC DIGITAL DATA PROCESSING
16Information retrieval; Database structures therefor; File system structures therefor
20of structured data, e.g. relational data
22Indexing; Data structures therefor; Storage structures
G06F 16/27
GPHYSICS
06COMPUTING; CALCULATING; COUNTING
FELECTRIC DIGITAL DATA PROCESSING
16Information retrieval; Database structures therefor; File system structures therefor
20of structured data, e.g. relational data
27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
Applicants BEIJING HAIYI TONGZHAN INFORMATION TECHNOLOGY CO., LTD.
北京海益同展信息科技有限公司
JD DIGITS HOLDING CO., LTD.
京东数字科技控股有限公司
Inventors TANG ZHENTIAN
唐振田
Agents 北京华夏泰和知识产权代理有限公司 11662
北京华夏泰和知识产权代理有限公司 11662
Title
(EN) Data read-write method and device
(ZH) 数据读写方法及装置
Abstract
(EN) The embodiment of the invention relates to a data reading and writing method and device. The method comprises the following steps: determining a target data block cluster space to which a target datablock to be read and written belongs; determining a target storage address corresponding to the target data block according to the initial address of the target data block cluster space, the space size of a block node in the target data block cluster space and the block index of the target data block; and performing read operation or write operation on the target data block according to the targetstorage address. Therefore, rapid addressing can be realized, and the data storage and retrieval efficiency is improved. Furthermore, by applying the data read-write method provided by the embodimentof the invention in the blockchain scene, the storage and retrieval efficiency of the blockchain data can be improved.
(ZH) 本发明实施例涉及一种数据读写方法及装置,方法包括:确定待读写的目标数据块所属的目标数据块集群空间;根据所述目标数据块集群空间的起始地址、所述目标数据块集群空间中块节点的空间大小,以及所述目标数据块的块索引,确定所述目标数据块对应的目标存储地址;根据所述目标存储地址对所述目标数据块进行读操作或写操作。由此,可以实现快速寻址,提高数据存储和检索的效率。进一步地,在区块链场景下应用本申请实施例提供的数据读写方法,可以提高区块链数据的存储和检索效率。
Related patent documents