Data uplink method and device for block chain

The invention provides a data uplink method and device for a block chain. The data chaining device used for the block chain uses a preset data contract relation table to query a contract corresponding to the specified table; analyzes the contract to obtain a corresponding uplink field name; queries...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LI SHUTING, WU YUNZHEN, LIU ZHIQIONG, ZHOU JINGYU, YU KEFENG, HUA ZHUXUAN, ZHANG JINJUAN, CHI WEICHENG, XU NAN, CHEN NA, ZHU MINGYING
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a data uplink method and device for a block chain. The data chaining device used for the block chain uses a preset data contract relation table to query a contract corresponding to the specified table; analyzes the contract to obtain a corresponding uplink field name; queries the obtained uplink field name in a database to obtain uplink data; and calls a corresponding contract write-in function so as to complete the uplink operation on the uplink data. According to the invention, data of different sources and formats can be quickly linked, and the working efficiency is improved. 本公开提供一种用于区块链的数据上链方法和装置。用于区块链的数据上链装置利用预设的数据合约关系表,查询与指定表相对应的合约;对合约进行解析,以得到对应的上链字段名;在数据库中对所得到的上链字段名进行查询,以得到上链数据;调用相应的合约写入函数,以便对上链数据完成上链操作。本公开实现不同来源、格式的数据快速上链,提升工作效率。