Data query method and device, electronic equipment and storage medium

The embodiment of the invention discloses a data query method and device, electronic equipment and a storage medium. According to the embodiment of the invention, a query request of target data can be initiated to a smart contract; receiving a target out-of-chain address and a verification strategy...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: DENG TAISHENG, LI GANGRUI
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 embodiment of the invention discloses a data query method and device, electronic equipment and a storage medium. According to the embodiment of the invention, a query request of target data can be initiated to a smart contract; receiving a target out-of-chain address and a verification strategy corresponding to the target data returned by the smart contract, wherein the target out-of-chain address is an address of the target data outside the block chain; obtaining to-be-verified data indicated by the query request from the target out-of-chain address; and verifying the to-be-verified data by adopting the verification strategy to obtain the credibility of the to-be-verified data as the target data. In the embodiment of the invention, the number of verification times in the data query process can be reduced. Therefore, according to the scheme, the data query efficiency can be improved. 本申请实施例公开了一种数据查询方法、装置、电子设备和存储介质;本申请实施例可以向智能合约发起目标数据的查询请求;接收智能合约返回的目标数据对应的目标链外地址和校验策略,目标链外地址为目标数据位于区块链外的地址;从目标链外地址中获取查询请求指示的待