Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Key value storage method and device based on block chain, terminal equipment and medium

A blockchain and key-value technology, applied in the blockchain field, can solve the problem of low query efficiency and achieve high query efficiency

Active Publication Date: 2021-05-07
HANGZHOU QULIAN TECH CO LTD
View PDF6 Cites 1 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
  • Key value storage method and device based on block chain, terminal equipment and medium
  • Key value storage method and device based on block chain, terminal equipment and medium
  • Key value storage method and device based on block chain, terminal equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In the following description, specific details such as specific system structures and technologies are presented for the purpose of illustration rather than limitation, so as to thoroughly understand the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.

[0028] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude one or more other Presence or addition of features, wholes, steps, operations, elements, components and / or collections thereof.

[0029] It should...

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 suitable for the technical field of block chains, and particularly relates to a key value storage method and device based on a block chain, terminal equipment and a medium. The method comprises the steps of searching an intelligent contract, comparing a key value of each data node of a data layer determined by searching with a to-be-inserted key value to obtain a target data node meeting a preset condition, inserting to-be-inserted data into an empty data node, and enabling a pointer of the empty data node to point to a node pointed by a pointer of the target data node. According to the method, the null data node is searched for, the pointer of the target data node points to the null data node, so that the target data node, the null data node and the node pointed by the pointer of the target data node form an ordered linked list, the ordered linked list is stored in an ordered form, subsequent query use can be facilitated, the data node with the key value close to the key value to be queried can be found in the ordered linked list during query, and the query efficiency is improved. And the query result is found and determined according to the sequence of the data nodes, the whole intelligent contract does not need to be traversed, and the query efficiency is relatively high.

Description

technical field [0001] The present application belongs to the technical field of block chains, and in particular relates to a block chain-based key-value storage method, device, terminal equipment and media. Background technique [0002] In the application of blockchain technology, in order to ensure the immutability and traceability of data, all data and calculations will be placed in smart contracts. The existing smart contract storage is based on the storage method of the key-value (Key-Value, K-V) hash map structure table, and because the K-V hash map structure table is an unordered structure, when querying a set of K-V The entire table needs to be traversed, and the query efficiency is low. Contents of the invention [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. ...

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/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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products