Data processing method and device, computer readable medium and electronic equipment

The invention provides a data processing method, a data processing device, a computer readable medium and electronic equipment, and relates to the technical field of block chains. The data processing method comprises the following steps: slicing file content data to obtain multiple pieces of slice d...

Full description

Saved in:
Bibliographic Details
Main Authors HAN ZHIJUN, NING YIJIAN, LEI YUCHUAN, FENG JING, YANG JUAN, LAN LIANG
Format Patent
LanguageChinese
English
Published 03.09.2021
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:The invention provides a data processing method, a data processing device, a computer readable medium and electronic equipment, and relates to the technical field of block chains. The data processing method comprises the following steps: slicing file content data to obtain multiple pieces of slice data; calculating a hash value of each slice data; generating a Merkel tree according to the hash value of each slice data; and storing the Merkel tree and the slice data to a distributed storage system, and uploading a root hash value of the Merkel tree to a block chain network. According to the invention, the size of the block of the block chain can be reduced, and the overall performance of the block chain can be improved. 本公开提供了一种数据处理方法、数据处理装置、计算机可读介质和电子设备,涉及区块链技术领域。数据处理方法包括:对文件内容数据进行切片,得到多个切片数据;计算各切片数据的哈希值;根据各切片数据的哈希值,生成默克尔树;将默克尔树和各切片数据存储至分布式存储系统,并将默克尔树的根哈希值上传至区块链网络。本公开可以减小区块链区块的大小,有助于提升区块链的整体性能。
Bibliography:Application Number: CN202110726718