Unlock instant, AI-driven research and patent intelligence for your innovation.

Data query method and device, server and medium

A data query and data technology, applied in the computer field, can solve the problem of insufficient query efficiency, achieve the effect of fast query, improve efficiency, and improve accuracy

Pending Publication Date: 2021-04-02
HANGZHOU QULIAN TECH CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present application provides a data query method, device, server, and medium, aiming to solve the problem of insufficient query efficiency for querying data in the blockchain in related technologies

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data query method and device, server and medium
  • Data query method and device, server and medium
  • Data query method and device, server and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] read on figure 1 , the embodiment of the present application provides a data query method, including:

[0055] Step 101, in response to receiving a data query request including query requirement information sent by a data query party, search for associated information in which data description information matching the query requirement information is located from a pre-stored associated information set.

[0056] Wherein, the associated information in the associated information set includes the associated blockchain data, the data description information of the blockchain data, and the block position information of the block used to store the representation data of the blockchain data. Among them, the data description information of the blockchain data is generally information used to describe the blockchain data. The data description information may include but not limited to at least one of the following: source account name, source account ID, target account name, ta...

Embodiment 2

[0083] continue to refer figure 2 , is a schematic diagram of an application scenario of a data query method provided in an embodiment of the present application. exist figure 2 In the application scenario, the application of the data query method can be implemented through the following steps 201-206.

[0084] In step 201, the data storage party executes the operation of transferring 100 yuan from account A to account B, and the operation of transferring 200 yuan from account A to account C.

[0085] Step 202, the data storage party generates the transfer transaction information M1 for recording the transfer of 100 yuan from account A to account B, stores it in block 1 of the blockchain, and generates the transfer information M1 for recording the transfer of 200 yuan from account A to account C Transaction information M2 is stored in block N of the blockchain.

[0086] Step 203, the blockchain stores the transfer transaction information M1 and the block number 1 of the b...

Embodiment 3

[0094] read on image 3 , the embodiment of the present application provides a data query method, including:

[0095] Step 301 , in response to receiving a data query request including query requirement information sent by a data query party, search for relevant information in which data description information matching the query requirement information is located from a pre-stored related information set.

[0096] Among them, the relevant information in the relevant information set includes the data description information of the associated blockchain data, the identity of the data provider providing the blockchain data, and the area of ​​the block used to store the hash value of the blockchain data. Block location information. Among them, the data description information of the blockchain data is generally information used to describe the blockchain data. The data description information may include but not limited to at least one of the following: source account name, sou...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention is applicable to the technical field of computers, and provides a data query method, which comprises the following steps: in response to a received data query request which is sent by adata query party and comprises query demand information, searching associated information in which data description information matched with the query demand information is located from a pre-stored associated information set, wherein associated information in the associated information set comprises associated block chain data, data description information of the block chain data and block position information of blocks used for storing characterization data of the block chain data; acquiring characterization data of the block chain data from a block indicated by the block position information in the searched associated information; and in response to the fact that the obtained characterization data of the block chain data is matched with the block chain data in the searched associated information, sending the block chain data in the searched associated information to a data query party.

Description

technical field [0001] The present application belongs to the field of computer technology, and in particular relates to a data query method, device, server and medium. Background technique [0002] Blockchain is a distributed shared ledger and database, which has the characteristics of decentralization, non-tampering, traceability throughout the process, traceability, collective maintenance, and openness and transparency. The blockchain itself is a block chain data structure. In related technologies, when querying the data in the blockchain, it is usually necessary to traverse each block in the blockchain to find the block used to store the data, so as to find the data from the found block, resulting in the data Query efficiency is low. [0003] Therefore, in related technologies, it is necessary to improve the query efficiency of querying data in the blockchain. Contents of the invention [0004] The embodiment of the present application provides a data query method, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/2453G06F16/248G06F16/23G06F16/27G06F21/64
CPCG06F16/2453G06F16/248G06F16/2365G06F16/27G06F21/64
Inventor 李伟蔡亮匡立中曾磊师一帅
Owner HANGZHOU QULIAN TECH CO LTD