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

Data storage method based on block chain

A data storage and blockchain technology, applied in the blockchain field, can solve the problem that data storage methods are difficult to meet, etc.

Pending Publication Date: 2020-08-11
丝链(常州)控股有限公司
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Storing data on the blockchain needs to meet the four requirements of non-tamperable modification, privacy, verifiability and high efficiency. Due to different data types, it is difficult for current data storage methods to meet the above four requirements.

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 storage method based on block chain
  • Data storage method based on block chain
  • Data storage method based on block chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0038] In describing the present invention, it should be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", " Back", "Left", "Right", "Vertical", "Horizontal", "Top", "Bottom", "Inner", "Outer", "Axial", "Radial", "Circumferential", etc. The indicated orientation or positional relationship is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description,...

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 provides a data storage method based on a block chain. The data storage method comprises the following steps: S1, compiling a structured data object according to a multi-layer nested JOSN data format; S2, carrying out flattening operation on the first JSON data; S3, sorting the second JSON data according to the hierarchical size and letter size of the Key value; S4, encoding the Keyvalue and the Value value by using an RLP encoding mode of the Ethereum; S5, taking the RLP (Key) and the RLP (Value) as leaf nodes, constructing a Merkel tree, and calculating a root hash; S6, takingthe root hash as a first Key, taking the first JSON data or the second JSON data as a first Value, and storing the first JSON data or the second JSON data in a K / V database under a chain; and S7, defining the data type of the first JSON data as a first type, and uploading the root hash and the first type to a block chain. The data storage method based on the block chain has the advantages of tamper resistance, privacy, verifiability, high efficiency and the like.

Description

technical field [0001] The invention relates to the technical field of block chains, in particular to a data storage method based on block chains. Background technique [0002] Storing data on the blockchain needs to meet the four requirements of non-tampering, privacy, verifiability, and high efficiency. Due to the different types of data, it is difficult for current data storage methods to meet the above four requirements. Contents of the invention [0003] The technical problem to be solved by the present invention is: in order to solve the existing problems of storing data on the block chain in the prior art, the present invention provides a data storage method based on the block chain to solve the above problems. [0004] The technical scheme that the present invention adopts to solve its technical problem is: a kind of data storage method based on block chain, comprises the following steps: [0005] S1. Write a structured data object according to the multi-layer nes...

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): G06F21/64G06F21/62G06F16/25G06F16/22
CPCG06F16/258G06F16/2255G06F16/2246G06F21/64G06F21/6227Y02D10/00
Inventor 徐骏
Owner 丝链(常州)控股有限公司
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