Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Blockchain-based key-value storage method, device, terminal equipment and medium

A blockchain and key-value technology, applied in the blockchain field, can solve problems such as low query efficiency and achieve high query efficiency.

Active Publication Date: 2022-05-31
HANGZHOU QULIAN TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The embodiment of the present application provides a blockchain-based key-value storage method, device, terminal device, and medium, which can solve the problem of low query efficiency caused by the existing out-of-order storage of key values

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
  • Blockchain-based key-value storage method, device, terminal equipment and medium
  • Blockchain-based key-value storage method, device, terminal equipment and medium
  • Blockchain-based key-value storage method, device, terminal equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In the following description, for purposes of illustration and not for limitation, features such as specific system structures, techniques, and the like are presented.

[0028] It should be understood that when used in the specification of this application and the appended claims, the term "comprising" refers to the

[0029] It should also be understood that, as used in this specification and the appended claims, the term "and / or" refers to the relevant

[0030] As used in the specification of this application and the appended claims, the term "if" can be

[0031] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third"

[0032] References to "one embodiment" or "some embodiments" or the like described in the specification of this application mean that

[0035] In order to illustrate the technical solutions of the application, the following specific examples will be described.

[0037] Step S101, obtain the ke...

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

This application is applicable to the field of blockchain technology, and in particular, relates to a method, device, terminal device and medium for key-value storage based on blockchain. The method searches the smart contract, compares the key value of each data node of the data layer determined by the search with the key value to be inserted, obtains the target data node that meets the preset conditions, inserts the data to be inserted into the empty data node, and Point the pointer of the empty data node to the node pointed to by the pointer of the target data node, and point the pointer of the target data node to the empty data node, so that the target data node, the empty data node and the node pointed to by the pointer of the target data node form an ordered linked list , stored in an ordered form can be used for subsequent queries. When querying, you can find the data node with the key value that is closer to the key value to be queried in the ordered linked list, and then find and confirm the query result according to the order of the data nodes. Traversing the entire smart contract, the query efficiency is high.

Description

Blockchain-based key-value storage method, device, terminal device and medium technical field The application belongs to the technical field of block chain, in particular to a kind of key-value storage method based on block chain, device, terminal end equipment and media. Background technique In the application of block chain technology, in order to ensure the non-tampering and traceability of data, all data and Calculations are placed in smart contracts. The existing smart contract storage is based on the key-value (Key-Value, K-V) hash map structure The storage method of the table, and because the K-V hash map structure table is an unordered structure, it is necessary to query a set of K-V Traversing the entire table, the query efficiency is low. SUMMARY OF THE INVENTION [0003] The embodiments of the present application provide a blockchain-based key-value storage method, device, terminal device and medium, which can In order to solve the problem of low quer...

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 Patents(China)
IPC IPC(8): G06F16/22G06F16/27G06F16/28G06F16/31G06F16/901
CPCG06F16/278G06F16/2282G06F16/28G06F16/31G06F16/9024
Inventor 李伟蔡亮匡立中曾磊边书豪
Owner HANGZHOU QULIAN TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products