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

Data storage and reading method and electronic device

A data storage and data technology, applied in the field of data processing, can solve problems such as the inability to guarantee the security of private data, and achieve the effect of improving security and reducing the risk of leakage

Active Publication Date: 2020-02-07
LENOVO (BEIJING) CO LTD
View PDF8 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the consistency of the distributed ledger nodes of the blockchain technology and the characteristics of complete transparency to each node in the blockchain, some private data involved in the traceability have brought risks, so the security of some private data cannot be guaranteed.

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 and reading method and electronic device
  • Data storage and reading method and electronic device
  • Data storage and reading method and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] The solution of the embodiment of the present application is applicable to the storage and reading of data in the blockchain, so as to improve the security of some sensitive data stored in the blockchain, so that the sensitive data can be obtained by users of nodes with viewing authority as much as possible. Among them, sensitive data can be data related to privacy, or data that only wants to be disclosed to users of some nodes in the blockchain, etc.

[0068] like figure 1 As shown in , it shows a schematic diagram of a composition structure of a scenario to which this application applies.

[0069] Depend on figure 1 It can be seen that this scenario includes at least: a blockchain (also referred to as a blockchain network) 100, the blockchain 100 may be composed of multiple nodes 101, and each node may be an electronic device such as a server or a terminal.

[0070] Wherein, each node 101 in the block chain 100 is connected through a network.

[0071] Each node 101...

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 data storage and reading method and an electronic device, and the method comprises the steps: generating a secret key after obtaining first target data to be stored in a blockchain; storing a first secret key part of the secret key into a state database, wherein the state database has a set access permission; and encrypting sensitive data in the first target data by usingthe key, and storing the encrypted first target data in the blockchain; after obtaining the query instruction, reading the encrypted second target data from the blockchain based on the identificationnumber of the to-be-queried second target data carried by the query instruction; if the source node of the query instruction has the access permission of the state database, obtaining a first key part associated with the second target data from the state database; and decrypting the sensitive data in the encrypted second target data by using the key determined by the first key part to obtain decrypted second target data. According to the scheme, the security of the sensitive data in the blockchain can be improved.

Description

technical field [0001] The present application relates to the technical field of data processing, and more specifically, to a method for storing and reading data and an electronic device. Background technique [0002] During the production, circulation, and transmission of items or information, it is necessary to obtain key data of items or information through collection or storage, and store the acquired data in a certain format. data, the traceability of the item or information can be realized. [0003] Since blockchain technology can make data traceable and tamper-proof, blockchain technology is widely used in the field of traceability. However, due to the consistency of the distributed ledger nodes of blockchain technology and the characteristics of complete transparency to each node in the blockchain, some private data involved in traceability have brought risks, so the security of some private data cannot be guaranteed. For example, in traceability applications, some...

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
IPC IPC(8): G06F21/62G06F16/27G06F16/22
CPCG06F21/6245G06F16/22G06F16/27
Inventor 陈飞飞王云浩过晓冰杨四雄李永鹏
Owner LENOVO (BEIJING) CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More