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

Block chain data storage method and device

A data storage and blockchain technology, applied in the blockchain field, can solve the problems of privacy protection and data privacy.

Pending Publication Date: 2021-09-03
续科天下(北京)科技有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In addition, no matter whether it is stored in a block or in a centralized database, it faces the problem of data privacy. Anyone can obtain plaintext data, which cannot meet the actual needs of privacy protection.

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
  • Block chain data storage method and device
  • Block chain data storage method and device
  • Block chain data storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] figure 1 It is a flow chart of a block chain data storage according to an embodiment of the present application. See figure 1 This method includes:

[0042] 101: Generate an account for the current user in the block chain, create an asset under the account, the asset corresponding to any type of data;

[0043] In this embodiment, optional, created assets refers to any valuable asset, including, but not limited to, text, pictures, video and virtual currency, etc., such as original articles, photographs, etc.

[0044] 102: Randomly generate a pair of keys for encrypted decryption, including first public key and first private key;

[0045] 103: Using the first public key encrypted data, generate the corresponding hash value by the hash algorithm for encrypted data, and encrypt the first private key using the current user's personal key;

[0046] 104: Store the encrypted data in a distributed file system, store the hash value and the encrypted first private key as the transact...

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 discloses a block chain data storage method and device, and relates to the technical field of block chains. The method comprises: generating an account for a current user in a block chain, and creating assets under the account, wherein the assets correspond to any type of data; randomly generating a pair of secret keys for encryption and decryption for the data, wherein the secret keys comprise a first public key and a first private key; encrypting the data by using the first public key, generating a corresponding hash value for the encrypted data through a hash algorithm, and encrypting the first private key by using the personal public key of the current user; and storing the encrypted data in a distributed file system, and storing the hash value and the encrypted first private key as transaction information in a block chain. The device comprises a creation module, a generation module, an encryption module and a storage module. The problems of low-efficiency and high-cost storage of the block chain and transfer of complex assets are solved, and the application is wider.

Description

Technical field [0001] The present application relates to the field of block chains, and in particular, to a method and apparatus for block chain data storage. Background technique [0002] Current block chain data storage, usually stored directly to blocks, or only stores hash values ​​in blocks, and stores information requested to the centering database. [0003] However, there are some defects in the above storage mode. When the data is stored directly to the block, the storage efficiency is low, high cost, the same data requires repeated storage in all or part of the node in the network, which will seriously limit the data size and type of the block chain to store, such as cannot Store larger pictures, videos, etc. When the data to be stored is stored to the centering database, storage is also a short board in the detrimentary application, such as single point failure, demand for detrimenting. In addition, no matter whether it is stored to block or storage to the centering da...

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/27G06F21/60H04L9/06H04L9/08
CPCG06F16/2255G06F16/27G06F21/602H04L9/0643H04L9/0819
Inventor 方建陈乐旋
Owner 续科天下(北京)科技有限公司
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