CN111651525A - Block chain data storage method and device - Google Patents

Block chain data storage method and device Download PDF

Info

Publication number
CN111651525A
CN111651525A CN202010594279.6A CN202010594279A CN111651525A CN 111651525 A CN111651525 A CN 111651525A CN 202010594279 A CN202010594279 A CN 202010594279A CN 111651525 A CN111651525 A CN 111651525A
Authority
CN
China
Prior art keywords
transaction data
blockchain
node
data
block chain
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010594279.6A
Other languages
Chinese (zh)
Inventor
陈闻宇
李晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Mihong Technology Co ltd
Original Assignee
Beijing Mihong Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Mihong Technology Co ltd filed Critical Beijing Mihong Technology Co ltd
Priority to CN202010594279.6A priority Critical patent/CN111651525A/en
Publication of CN111651525A publication Critical patent/CN111651525A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2379Updates performed during online database operations; commit processing

Abstract

The application discloses a method and a device for storing blockchain data, wherein in response to transaction data obtained, a blockchain light node processes the transaction data, and submits the processed transaction data to a blockchain network through a data interface of the light node; responding to the data interface of the block chain whole node to receive transaction data, processing the transaction data by the block chain whole node, and sending the processed transaction data to a consensus verification node in the block chain; in response to the verification result of the block chain consensus verification node indicating that the verification is passed, the block chain full node stores and broadcasts the blocks passing the consensus verification; and updating the storage mode of the transaction data by the block chain light node. And further solve the technical problems of low data storage efficiency and low storage utilization rate of the block chain in the related technology.

Description

Block chain data storage method and device
Technical Field
The present application relates to the field of blockchain data storage, and in particular, to a method and an apparatus for blockchain data storage.
Background
One of the key factors of success and failure of big data application is how to break the existing data islands of all interest parties to form an open data sharing ecosystem. The block chain is used as a non-falsifiable and full-history recorded distributed database storage technology, a low-cost data interconnection and sharing solution is provided, complete, traceable and non-falsifiable data and multi-party trustable data history can be realized, and a multi-party trusted data chain is formed. At present, the maturity of the block chain technology is not enough to support business application, and the biggest problem is that the data storage 1) cannot bear large data processing capacity. Only profile information is stored on the chain, supporting basic block and transaction queries, 2) not enough to support fine-grained retrieval of data. 3) If the data is uplinked in the whole amount, the requirement on the storage capacity of each node is high, and the cost of realizing the whole chain is high. In addition, in the transaction-based key value storage, the associated information is dispersed in a plurality of transactions, and the query often needs to traverse a plurality of transactions, which results in 4) extremely low operation efficiency and slow query speed on the chain.
In the related art, no solution is provided at present for the technical problems of low data storage efficiency and low storage utilization rate of a block chain.
Disclosure of Invention
The present application mainly aims to provide a method and an apparatus for storing block chain data, so as to solve the technical problems of low data storage efficiency and low storage utilization rate of a block chain in the related art.
In order to achieve the above object, in a first aspect, the present application provides a method for storing blockchain data.
The block chain data storage method comprises the following steps: in response to the acquisition of the transaction data, the blockchain light node processes the transaction data and submits the processed transaction data to a blockchain network through a data interface of the light node; responding to the data interface of the whole blockchain node to receive the transaction data, processing the transaction data by the whole blockchain node, and sending the processed transaction data to a consensus verification node in the blockchain; in response to the verification result of the block chain consensus verification node indicating that the verification is passed, the block chain full node stores and broadcasts the blocks passing the consensus verification; and updating the storage mode of the transaction data by the block chain light node.
In some embodiments, the method further comprises: the block chain light node processes the transaction data, and submits the processed transaction data to the block chain network through a data interface of the light node comprises the following steps: in response to the acquisition of the transaction data, the blockchain light node performs key signature on the transaction data to generate a signature string and a signature address which need to be verified and are submitted to a blockchain network; and submitting the signed transaction data to the blockchain network through a data interface of the light node.
In some embodiments, in response to the data interface of the blockchain whole node receiving the transaction data, the blockchain whole node consensus-validating the transaction data comprises: in response to the data interface of the blockchain whole node receiving the transaction data, the blockchain whole node packages the transaction data; and sending the packaged transaction data to a consensus verification node in a block chain.
In some embodiments, in response to the verification result of the blockchain consensus verification node indicating that the verification is passed, the blockchain full node storing and broadcasting blocks that pass the consensus verification comprises: extracting metadata of the transaction data of the block which passes the consensus verification, and storing the metadata into a block chain database; storing the processed transaction data into a block chain, and generating an access path; storing the metadata with a key value; and broadcasting the blocks which pass the consensus verification.
In some embodiments, the updating the storage of the transaction data by the blockchain light node includes: and updating the key value and the storage path of the transaction data by the block chain light node.
In a second aspect, the present application further provides a blockchain data storage device, including: the light node processing unit is configured to respond to the acquired transaction data, process the transaction data by the blockchain light node, and submit the processed transaction data to the blockchain network through a data interface of the light node; a full-node processing unit configured to respond to the transaction data received by the data interface of the blockchain full node, the blockchain full node processes the transaction data, and sends the processed transaction data to the consensus verification node in the blockchain; the consensus unit responds to the verification result of the block chain consensus verification node and indicates that the verification is passed, and the block chain full node stores and broadcasts the blocks passing the consensus verification; and the updating unit is used for updating the storage mode of the transaction data by the blockchain light node.
In some embodiments, the apparatus further comprises: the device still includes: a retrieval unit configured to obtain validated transaction data from the blockchain in response to receiving a data retrieval request.
In some embodiments, the full-node processing unit is further configured to: in response to the acquisition of the transaction data, the blockchain light node performs key signature on the transaction data to generate a signature string and a signature address which need to be verified and are submitted to a blockchain network; and submitting the signed transaction data to the blockchain network through a data interface of the light node.
In some embodiments, the consensus unit is further configured to: extracting metadata of the transaction data of the block which passes the consensus verification, and storing the metadata into a block chain database; storing the processed transaction data into a block chain, and generating an access path; storing the metadata with a key value; and broadcasting the blocks which pass the consensus verification.
In some embodiments, the update unit is further configured to: and updating the key value and the storage path of the transaction data by the block chain light node.
In the embodiment of the application, a method and a device for storing blockchain data are provided, wherein in response to acquisition of transaction data, a blockchain light node processes the transaction data, and submits the processed transaction data to a blockchain network through a data interface of the light node; responding to the data interface of the block chain whole node to receive transaction data, processing the transaction data by the block chain whole node, and sending the processed transaction data to a consensus verification node in the block chain; in response to the verification result of the block chain consensus verification node indicating that the verification is passed, the block chain full node stores and broadcasts the blocks passing the consensus verification; and updating the storage mode of the transaction data by the block chain light node. And then the technical problems of low data storage efficiency and low storage utilization rate of the block chain in the related technology are solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the application and to enable other features, objects, and advantages of the application to be more apparent. The drawings and their description illustrate the embodiments of the invention and do not limit it. In the drawings:
fig. 1 is a flowchart of a method for storing blockchain data according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a method for storing blockchain data according to another embodiment of the present application;
fig. 3 is a block diagram of a block chain data storage device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Moreover, some of the above terms may be used to indicate other meanings besides the orientation or positional relationship, for example, the term "on" may also be used to indicate some kind of attachment or connection relationship in some cases. The specific meaning of these terms in this application will be understood by those of ordinary skill in the art as appropriate.
In addition, the term "plurality" shall mean two as well as more than two.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an embodiment of a block chain data storage method, including:
step 101, in response to acquiring the transaction data, the blockchain light node processes the transaction data, and submits the processed transaction data to a blockchain network through a data interface of the light node.
In some optional implementations of this embodiment, the processing the transaction data by the blockchain light node, and submitting the processed transaction data to the blockchain network through a data interface of the light node includes: in response to the acquisition of the transaction data, the blockchain light node performs key signature on the transaction data to generate a signature string and a signature address which need to be verified and are submitted to a blockchain network; and submitting the signed transaction data to the blockchain network through a data interface of the light node.
In this embodiment, the light node may store the basic block information by using a key value, link the distributed file locations, and access the transaction data (ledger data) through the API data interface. The light nodes of the blockchain may submit transaction data to the blockchain network through the data interface and may access the authentication data through the query interface. And the light node acquires the transaction data, signs with the self secret key and submits the transaction data through a data interface. And after the light node is acquired, acquiring and generating a signature string and a signature address which need to be verified during submission through a data interface, signing the signature string by using a private key of the provided signature address, and putting a result into the interface for submission.
The execution main body or other processing devices may analyze the network probe result information to be agreed to obtain first attribute information of the network probe result information to be agreed to, for example, regional characteristic information indicating that a block chain region that may be divided in advance is processed, and then determine an agreement processing region according to the first attribute information.
And step 102, responding to the transaction data received by the data interface of the whole blockchain node, processing the transaction data by the whole blockchain node, and sending the processed transaction data to the consensus verification node in the blockchain.
As an optional implementation manner of this embodiment, in response to the data interface of the blockchain full node receiving the transaction data, the performing, by the blockchain full node, consensus verification on the transaction data includes: in response to the data interface of the blockchain whole node receiving the transaction data, the blockchain whole node packages the transaction data; and sending the packaged transaction data to a consensus verification node in a block chain.
In this embodiment, for data management on all nodes, the block header and transaction specific information may be managed by using a relational database, and efficient retrieval using a public key, a signature, a timestamp, a serial number, and the like is supported. And storing the management block, the transaction and the state serial number by adopting a key value, and maintaining the data of the block. And the full node receives data through a data interface and performs consensus verification by using a consensus mechanism. And storing the blocks, maintaining a full data account book, maintaining a distributed file system, providing a data query interface, and returning verification data.
103, responding to the verification result of the block chain consensus verification node indicating that the verification is passed, and storing and broadcasting the blocks passing the consensus verification by all the block chain nodes;
as an optional implementation manner of this embodiment, in response to that the verification result of the blockchain consensus verification node indicates that the verification is successful, the storing and broadcasting, by the blockchain full node, the block that passes the consensus verification includes: extracting metadata of transaction data of the block which passes the consensus verification, and storing the metadata into a block chain database; storing the processed transaction data into a block chain, and generating an access path; storing the metadata with a key value; and broadcasting the blocks which pass the consensus verification.
In this embodiment, the storing, by the full node, the block verified by consensus in the distributed file system includes: extracting detailed block metadata and storing the detailed block metadata in a relational database system; storing the transaction detailed data in a distributed file system, and generating a unique file access path; storing transaction metadata by adopting key values and maintaining account book information; and the broadcast block provides a data access interface.
And 104, updating the storage mode of the transaction data by the blockchain light node.
As an optional implementation manner of this embodiment, the updating, by the blockchain light node, the storage manner of the transaction data includes: and the block chain light node updates the key value and the storage path of the transaction data.
In this implementation, the light node obtains the broadcast block through the block chain network, and updates the local key value storage and file storage path.
In the method for storing blockchain data according to the embodiment, in response to the acquisition of the transaction data, a blockchain light node processes the transaction data, and submits the processed transaction data to a blockchain network through a data interface of the light node; responding to the data interface of the whole blockchain node to receive the transaction data, processing the transaction data by the whole blockchain node, and sending the processed transaction data to a consensus verification node in the blockchain; in response to the verification result of the block chain consensus verification node indicating that the verification is passed, the block chain full node stores and broadcasts the blocks passing the consensus verification; and updating the storage mode of the transaction data by the block chain light node. Therefore, all account book data do not need to be maintained by each node of the block chain, but all nodes with resources in the chain are subjected to full storage, so that the separation of account book storage and block storage is realized, and the problem of high storage cost of maintaining all account books by each node is solved; the data storage request is opened to each node through a service interface, so that the data access is more flexible; the data storage efficiency is greatly improved, and the storage utilization efficiency is improved.
Referring to fig. 2, fig. 2 illustrates an embodiment of a blockchain data storage method, including:
step 201, in response to acquiring the transaction data, the blockchain light node processes the transaction data, and submits the processed transaction data to the blockchain network through a data interface of the light node.
In some optional implementations of this embodiment, the processing the transaction data by the blockchain light node, and submitting the processed transaction data to the blockchain network through a data interface of the light node includes: in response to the acquisition of the transaction data, the blockchain light node performs key signature on the transaction data to generate a signature string and a signature address which need to be verified and are submitted to a blockchain network; and submitting the signed transaction data to the blockchain network through a data interface of the light node.
In this embodiment, the light node may store the basic block information by using a key value, link the distributed file locations, and access the transaction data (ledger data) through the API data interface. The light nodes of the blockchain may submit transaction data to the blockchain network through the data interface and may access the authentication data through the query interface. And the light node acquires the transaction data, signs with the self secret key and submits the transaction data through a data interface. And after the light node is acquired, acquiring and generating a signature string and a signature address which need to be verified during submission through a data interface, signing the signature string by using a private key of the provided signature address, and putting a result into the interface for submission.
The execution main body or other processing devices may analyze the network probe result information to be agreed to obtain first attribute information of the network probe result information to be agreed to, for example, regional characteristic information indicating that a block chain region that may be divided in advance is processed, and then determine an agreement processing region according to the first attribute information.
Step 202, in response to the data interface of the whole blockchain node receiving the transaction data, the whole blockchain node processes the transaction data and sends the processed transaction data to the consensus verification node in the blockchain.
As an optional implementation manner of this embodiment, in response to the data interface of the blockchain full node receiving the transaction data, the performing, by the blockchain full node, consensus verification on the transaction data includes: in response to the data interface of the blockchain whole node receiving the transaction data, the blockchain whole node packages the transaction data; and sending the packaged transaction data to a consensus verification node in a block chain.
In this embodiment, for data management on all nodes, the block header and transaction specific information may be managed by using a relational database, and efficient retrieval using a public key, a signature, a timestamp, a serial number, and the like is supported. And storing the management block, the transaction and the state serial number by adopting a key value, and maintaining the data of the block. And the full node receives data through a data interface and performs consensus verification by using a consensus mechanism. And storing the blocks, maintaining a full data account book, maintaining a distributed file system, providing a data query interface, and returning verification data.
Step 203, in response to the verification result of the block chain consensus verification node indicating that the verification is passed, the block chain full node stores and broadcasts the blocks passing the consensus verification;
as an optional implementation manner of this embodiment, in response to that the verification result of the blockchain consensus verification node indicates that the verification is successful, the storing and broadcasting, by the blockchain full node, the block that passes the consensus verification includes: extracting metadata of transaction data of the block which passes the consensus verification, and storing the metadata into a block chain database; storing the processed transaction data into a block chain, and generating an access path; storing the metadata with a key value; and broadcasting the blocks which pass the consensus verification.
In this embodiment, the storing, by the full node, the block verified by consensus in the distributed file system includes: extracting detailed block metadata and storing the detailed block metadata in a relational database system; storing the transaction detailed data in a distributed file system, and generating a unique file access path; storing transaction metadata by adopting key values and maintaining account book information; and the broadcast block provides a data access interface.
And step 204, updating the storage mode of the transaction data by the blockchain light node.
As an optional implementation manner of this embodiment, the updating, by the blockchain light node, the storage manner of the transaction data includes: and the block chain light node updates the key value and the storage path of the transaction data.
In this implementation, the light node obtains the broadcast block through the block chain network, and updates the local key value storage and file storage path.
In response to receiving the data retrieval request, validated transaction data is obtained from the blockchain, step 205.
In this embodiment, the blockchain may include or be external to a big data system, and then data may be retrieved through the blockchain data access interface. The application acquires and generates a signature string and a signature address which need to be verified when the data is submitted through the data interface, signs the signature string by using a private key of the provided signature address, and submits a data retrieval request in the interface. And the block chain storage responds to the retrieval requirement, retrieves the full data storage from the account book metadata based on the relational database, and acquires the distributed file system file. And pushing the data to a to-be-processed message queue of the big data platform in real time. And the application reads the message queue data to be processed through the message queue plug-in, reads the message queue data one by one, analyzes the read message queue data and provides the analyzed message queue data for the application. The block chain is supported to be used as a unified data structure and an interface of big data storage, the existing application architecture is not influenced, the architecture deployment mode is flexible, the data query efficiency is improved, the management of a service specific metadata mode is supported, and the combination efficiency of the block chain and the service is improved.
In view of the requirement for block chain data retrieval, the storage method in the embodiment adopts the design of the light node and the full node, realizes the separation of the storage logics of the account book storage and the block storage, can precisely and quickly retrieve the full data of the block chain in full, supports the block chain to serve as a unified data structure and an interface of the large data storage, and meets the requirements of specific applications on performance and functions.
Referring to fig. 3, fig. 3 illustrates an embodiment of a blockchain data storage device, the device comprising:
the light node processing unit 301 may be configured to, in response to acquiring the transaction data, process the transaction data by the blockchain light node, and submit the processed transaction data to the blockchain network through a data interface of the light node.
A full-node processing unit 302 configured to, in response to the data interface of the blockchain full node receiving the transaction data, process the transaction data by the blockchain full node and send the processed transaction data to the consensus verification node in the blockchain.
As an optional implementation manner of this embodiment, the full-node processing unit is further configured to: in response to the acquisition of the transaction data, the blockchain light node performs key signature on the transaction data to generate a signature string and a signature address which need to be verified and are submitted to a blockchain network; and submitting the signed transaction data to the blockchain network through a data interface of the light node.
A consensus unit 303 configured to store and broadcast the block passing the consensus verification in the blockchain full node in response to the verification result of the blockchain consensus verification node indicating that the verification passes.
As an optional implementation manner of this embodiment, the consensus unit is further configured to: extracting metadata of the transaction data of the block which passes the consensus verification, and storing the metadata into a block chain database; storing the processed transaction data into a block chain, and generating an access path; storing the metadata with a key value; and broadcasting the blocks which pass the consensus verification.
And the updating unit 304 is configured to update the storage mode of the transaction data by the blockchain light node.
As an optional implementation manner of this embodiment, the updating unit is further configured to: and updating the key value and the storage path of the transaction data by the block chain light node.
The storage device in the embodiment adopts the design of the light nodes and the full nodes, realizes the separation of the storage logics of the account book storage (transaction data) and the block storage, can precisely and quickly retrieve the full data of the block chain in full quantity, supports the block chain to serve as a unified data structure and an interface of the big data storage, and meets the requirements of specific application on performance and function.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method of blockchain data storage, comprising:
responding to the acquired transaction data, processing the transaction data by the blockchain light node, and submitting the processed transaction data to a blockchain network through a data interface of the light node;
responding to the data interface of the whole blockchain node to receive the transaction data, processing the transaction data by the whole blockchain node, and sending the processed transaction data to a consensus verification node in the blockchain;
in response to the verification result of the block chain consensus verification node indicating that the verification is passed, the block chain full node stores and broadcasts the blocks passing the consensus verification;
and updating the storage mode of the transaction data by the block chain light node.
2. The blockchain data storage method of claim 1, wherein the method further comprises:
in response to receiving the data retrieval request, validated transaction data is obtained from the blockchain.
3. The method of claim 1, wherein the processing the transaction data by the blockchain light node in response to obtaining the transaction data and submitting the processed transaction data to the blockchain network through a data interface of the light node comprises:
in response to the acquisition of the transaction data, the blockchain light node performs key signature on the transaction data to generate a signature string and a signature address which need to be verified and are submitted to a blockchain network;
and submitting the signed transaction data to the blockchain network through a data interface of the light node.
4. The method of claim 1, wherein the receiving the transaction data at the data interface of the blockchain-wide node in response to the transaction data, the blockchain-wide node performing consensus verification on the transaction data comprises:
in response to the data interface of the blockchain whole node receiving the transaction data, the blockchain whole node packages the transaction data;
and sending the packaged transaction data to a consensus verification node in a block chain.
5. The method according to claim 1, wherein the block chain-based network security information sharing method is characterized in that in response to the verification result of the block chain consensus verification node indicating that the verification is passed, the block chain complete node stores and broadcasts the blocks passing the consensus verification, and the method comprises:
extracting metadata of the transaction data of the block which passes the consensus verification, and storing the metadata into a block chain database;
storing the processed transaction data into a block chain, and generating an access path;
storing the metadata with a key value;
and broadcasting the blocks which pass the consensus verification.
6. The blockchain data storage method according to claim 1, wherein the updating of the storage manner of the transaction data by the blockchain light node comprises:
and updating the key value and the storage path of the transaction data by the block chain light node.
7. A blockchain data storage device, comprising:
the light node processing unit is configured to respond to the acquired transaction data, process the transaction data by the blockchain light node, and submit the processed transaction data to the blockchain network through a data interface of the light node;
a full-node processing unit configured to respond to the transaction data received by the data interface of the blockchain full node, the blockchain full node processes the transaction data, and sends the processed transaction data to the consensus verification node in the blockchain;
the consensus unit responds to the verification result of the block chain consensus verification node and indicates that the verification is passed, and the block chain full node stores and broadcasts the blocks passing the consensus verification;
and the updating unit is used for updating the storage mode of the transaction data by the blockchain light node.
8. The blockchain data storage device of claim 7, wherein the device further comprises:
a retrieval unit configured to obtain validated transaction data from the blockchain in response to receiving a data retrieval request.
9. The blockchain data storage device of claim 6, wherein the full-node processing unit is further configured to:
in response to the acquisition of the transaction data, the blockchain light node performs key signature on the transaction data to generate a signature string and a signature address which need to be verified and are submitted to a blockchain network;
and submitting the signed transaction data to the blockchain network through a data interface of the light node.
10. The blockchain data storage device of claim 7, wherein the consensus unit is further configured to:
extracting metadata of the transaction data of the block which passes the consensus verification, and storing the metadata into a block chain database;
storing the processed transaction data into a block chain, and generating an access path;
storing the metadata with a key value;
broadcasting the blocks which pass the consensus verification;
the update unit is further configured to: and updating the key value and the storage path of the transaction data by the block chain light node.
CN202010594279.6A 2020-06-24 2020-06-24 Block chain data storage method and device Pending CN111651525A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010594279.6A CN111651525A (en) 2020-06-24 2020-06-24 Block chain data storage method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010594279.6A CN111651525A (en) 2020-06-24 2020-06-24 Block chain data storage method and device

Publications (1)

Publication Number Publication Date
CN111651525A true CN111651525A (en) 2020-09-11

Family

ID=72347625

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010594279.6A Pending CN111651525A (en) 2020-06-24 2020-06-24 Block chain data storage method and device

Country Status (1)

Country Link
CN (1) CN111651525A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112182029A (en) * 2020-09-30 2021-01-05 杭州复杂美科技有限公司 Data query method, device and storage medium
CN112738178A (en) * 2020-12-23 2021-04-30 北京米弘科技有限公司 Block chain consensus method and device
WO2021113967A1 (en) * 2019-12-13 2021-06-17 DLT Global Inc. Blockchain transaction manager
CN113300851A (en) * 2021-05-18 2021-08-24 中国信息通信研究院 DHT-based block chain message broadcasting method, electronic equipment and storage medium
CN116090020A (en) * 2023-04-13 2023-05-09 中国人民解放军海军潜艇学院 Block chain-based information storage method and device, electronic equipment and storage medium
WO2024066012A1 (en) * 2022-09-30 2024-04-04 蚂蚁区块链科技(上海)有限公司 Method and apparatus for converting peer type in blockchain system, and blockchain system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108282539A (en) * 2018-02-06 2018-07-13 北京奇虎科技有限公司 Decentralization storage system based on double-layer network
CN109327528A (en) * 2018-10-31 2019-02-12 阿里巴巴集团控股有限公司 A kind of node administration method and device based on block chain
CN110099055A (en) * 2019-04-29 2019-08-06 北京工业大学 Internet of Things service architecture based on lightweight block chain node
WO2020015668A1 (en) * 2018-07-20 2020-01-23 北京航空航天大学 Block chain storage method and node of block chain

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108282539A (en) * 2018-02-06 2018-07-13 北京奇虎科技有限公司 Decentralization storage system based on double-layer network
WO2020015668A1 (en) * 2018-07-20 2020-01-23 北京航空航天大学 Block chain storage method and node of block chain
CN109327528A (en) * 2018-10-31 2019-02-12 阿里巴巴集团控股有限公司 A kind of node administration method and device based on block chain
CN110099055A (en) * 2019-04-29 2019-08-06 北京工业大学 Internet of Things service architecture based on lightweight block chain node

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021113967A1 (en) * 2019-12-13 2021-06-17 DLT Global Inc. Blockchain transaction manager
CN112182029A (en) * 2020-09-30 2021-01-05 杭州复杂美科技有限公司 Data query method, device and storage medium
CN112182029B (en) * 2020-09-30 2022-09-16 杭州复杂美科技有限公司 Data query method, device and storage medium
CN112738178A (en) * 2020-12-23 2021-04-30 北京米弘科技有限公司 Block chain consensus method and device
CN112738178B (en) * 2020-12-23 2023-04-07 北京米弘科技有限公司 Block chain consensus method and device
CN113300851A (en) * 2021-05-18 2021-08-24 中国信息通信研究院 DHT-based block chain message broadcasting method, electronic equipment and storage medium
CN113300851B (en) * 2021-05-18 2022-06-21 中国信息通信研究院 DHT-based block chain message broadcasting method, electronic equipment and storage medium
WO2024066012A1 (en) * 2022-09-30 2024-04-04 蚂蚁区块链科技(上海)有限公司 Method and apparatus for converting peer type in blockchain system, and blockchain system
CN116090020A (en) * 2023-04-13 2023-05-09 中国人民解放军海军潜艇学院 Block chain-based information storage method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN111651525A (en) Block chain data storage method and device
US11640474B2 (en) Method and apparatus for operating database
CN109885615B (en) Index-based block chain light client-oriented range query verifiable query method
CN111736775B (en) Multi-source storage method, device, computer system and storage medium
US20130191523A1 (en) Real-time analytics for large data sets
CN108683668B (en) Resource checking method, device, storage medium and equipment in content distribution network
CN104050276A (en) Cache processing method and system of distributed database
CN111241195B (en) Database processing method, device, equipment and storage medium of distributed system
CN112000730B (en) Tracing information writing and tracing information verification method and system based on block chain
CN104584524A (en) Aggregating data in a mediation system
CN111143382A (en) Data processing method, system and computer readable storage medium
CN113094334B (en) Digital service method, device, equipment and storage medium based on distributed storage
CN110109874A (en) A kind of non-stop layer distributed document retrieval method based on block chain
CN106649602A (en) Way, device and server of processing business object data
CN113885797B (en) Data storage method, device, equipment and storage medium
CN113765675B (en) Transaction data processing method, device, equipment and medium
CN112804359B (en) Method and apparatus for providing cross-chain messages
CN111414417B (en) Video copyright management method based on block chain
CN112866406A (en) Data storage method, system, device, equipment and storage medium
CN116542668A (en) Block chain-based data processing method, equipment and readable storage medium
CN110807203A (en) Data processing method, service operation center platform, system and storage medium
CN115129781A (en) Data processing method and device, electronic equipment and storage medium
CN104869056A (en) Institution personnel data synchronization method based on relational data separation
CN116760632B (en) Data processing method, device, equipment and readable storage medium
CN116804949B (en) Block chain-based data processing method, device, equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination