An efficient and reliable storage method for germplasm resource data based on blockchain

Through a distributed point-to-point data storage network based on blockchain, the problems of high storage costs, weak robustness and insufficient tamper-proof capabilities of germplasm resource data are solved, and the low-cost, efficient and trusted storage of germplasm resource data is achieved. , and provides fine-grained redundant storage solutions.

CN116016569BActive Publication Date: 2024-11-22BEIJING FORESTRY UNIVERSITY
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211660909.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-23
Publication Date
2024-11-22
Estimated Expiration
2042-12-23

AI Technical Summary

Technical Problem

The existing germplasm resource data storage methods have problems such as high cost, weak robustness, insufficient tamper-proof capability and extensive storage granularity, especially in the case of backup storage, where there is a risk of loss in extreme cases such as natural disasters.

Method used

Adopt a distributed point-to-point data storage network based on blockchain, and realize the low data by dividing germplasm resource data into data blocks for distributed storage, and using the blockchain chain data structure to store and verify data block messages. Cost, efficient, trustworthy storage, and adjust redundancy according to the importance of data.

Benefits of technology

It realizes low-cost, efficient and trustworthy storage of germplasm resource data, enhances the robustness and tamper-proof capabilities of data, reduces storage costs, and provides fine-grained redundant storage solutions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116016569B_ABST
    Figure CN116016569B_ABST
Patent Text Reader

Abstract

The present invention provides an efficient and reliable storage method for germplasm resource data based on blockchain, which belongs to the technical field of germplasm resource data preservation, and solves the problems of high germplasm resource data storage cost, weak robustness, weak anti-tampering ability, extensive storage granularity, and difficulty in adjusting storage redundancy. The method includes: using existing germplasm resource libraries to distribute and store germplasm resource data. Germplasm resource data is stored in units of germplasm data blocks, and the belonging node can adjust the storage redundancy of the germplasm data blocks as needed. The germplasm data block is described using a germplasm data block message, and the germplasm data block message is stored in a blockchain chain data structure. The belonging node sends the germplasm data block related information to the storage node in the storage location list in a unicast form, and the storage node verifies the germplasm data block; after the verification is passed, the storage node stores the germplasm data block and sends confirmation information to the belonging node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of germplasm resource data preservation, and in particular to an efficient and reliable storage method for germplasm resource data based on blockchain. Background Art

[0002] Germplasm refers to the genetic material passed from parents to offspring during the reproduction of species. Germplasm resources are also called genetic resources. Germplasm resources are the material basis of biological species diversity. Germplasm resource banks are the infrastructure for protecting germplasm resources. Once climate change and other factors lead to the extinction of wild species on Earth, humans can use the germplasm resources in germplasm resource banks to restore species and rebuild the ecology. Therefore, germplasm resource banks are also called the "Noah's Ark" of species on Earth.

[0003] Given the importance of germplasm resources, many countries around the world have established germplasm resource banks.

[0004] The germplasm resource bank needs to preserve the germplasm resource entity and germplasm resource data. The existence forms of germplasm resource entities include plant plants, seeds, tissues and organs, genes (DNA) and other forms. Germplasm resource data refers to electronic information related to germplasm resource entities, such as the genetic information, origin, quantity, morphology and habits of germplasm resources. This invention focuses on the preservation of germplasm resource data.

[0005] In order to safely and reliably preserve germplasm resource data, in addition to conventional storage of germplasm resource data, germplasm resource banks also need to back up and store germplasm resource data. If the germplasm resource data is backed up and stored locally (in the same geographical location as conventional storage), there is still a high risk of loss of backup data in the event of extreme situations such as natural disasters. If the germplasm resource data is backed up and stored off-site (backup data and original data are stored in different geographical locations), new storage facilities need to be built in other geographical locations outside the germplasm resource bank, which will increase costs. At present, my country has built many germplasm resource banks, and there are still many germplasm resource banks under construction or planning. If the existing germplasm resource banks can be fully utilized to back up and store germplasm resource data, costs will be reduced. In addition, the existing germplasm resource data storage adopts a centralized storage method, which is less robust. Moreover, the existing germplasm resource data storage method is insufficient in data tamper-proofing and cannot ensure that germplasm resource data cannot be tampered with.

[0006] Currently, there is no efficient and reliable storage method for distributed germplasm resource data in the existing technology. Summary of the invention

[0007] The embodiments of the present invention provide an efficient and reliable storage method for germplasm resource data based on blockchain to overcome the problems of the prior art.

[0008] An efficient and reliable storage method for germplasm resource data based on blockchain, comprising:

[0009] Germplasm resource data needs to be stored locally and backed up, and existing germplasm resource banks should be used to back up and store germplasm resource data rather than building new data storage infrastructure.

[0010] Preferably, the method further comprises:

[0011] All existing germplasm resource banks form a distributed peer-to-peer data storage network to store germplasm resource data in a distributed manner; new germplasm resource banks can join the network in the future.

[0012] Preferably, the method further comprises:

[0013] The attribution node divides the germplasm resource data according to the rules to form germplasm data blocks, and the germplasm resource data is stored in units of germplasm data blocks;

[0014] The home node can adjust the storage redundancy of germplasm data blocks as needed;

[0015] The storage location of the germplasm data block is determined by the decision of the belonging node. Only the germplasm repository node is designated to store the germplasm data block. Different germplasm resource data blocks can be stored in different germplasm resource repositories.

[0016] Preferably, the method further comprises:

[0017] The germplasm data block message is used to describe the information of the germplasm data block, and the germplasm data block message includes fields such as data block identification, ciphertext summary, occupied space, storage quantity, storage location, message signature, etc.;

[0018] The germplasm data block messages are stored using a blockchain chain data structure, the germplasm data block messages are packaged in blocks, and all germplasm resource banks store the blocks.

[0019] Preferably, the method further comprises:

[0020] The home node sends the germplasm data block ciphertext data and the germplasm data block identifier to the storage nodes in the storage location list in a unicast form;

[0021] After receiving the germplasm data block, the storage node starts the verification work, including whether the germplasm data block message is added to the block, whether the storage node itself is located in the storage location field list in the germplasm data block message, and whether the ciphertext summary field in the germplasm data block message matches;

[0022] After verification, the storage node stores the germplasm data block and sends a confirmation message to the home node.

[0023] It can be seen from the technical solutions provided by the above embodiments of the present invention that the method of the embodiment of the present invention can be used as an important technology for germplasm resource data storage, providing effective technical support for germplasm resource protection. The method of the embodiment of the present invention can realize low-cost, efficient and reliable storage of germplasm resource data, and provides a method for fine-grained redundant storage of germplasm resource data. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0025] Figure 1 A simplified workflow diagram of an efficient and reliable storage method for germplasm resource data based on blockchain provided in an embodiment of the present invention.

[0026] Figure 2 A schematic diagram of a germplasm data block message format provided by an embodiment of the present invention.

[0027] Figure 3 A schematic diagram of a block structure provided by an embodiment of the present invention.

[0028] Figure 4 A schematic diagram of a block header provided by an embodiment of the present invention.

[0029] Figure 5 A germplasm data block verification flow chart provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0030] To facilitate understanding of the embodiments of the present invention, several specific embodiments will be further explained below with reference to the accompanying drawings, and each embodiment does not constitute a limitation on the embodiments of the present invention.

[0031] The embodiment of the present invention aims to design a distributed data storage method to solve the problems of high cost, weak robustness, weak anti-tampering ability, rough storage granularity, and difficulty in adjusting storage redundancy of germplasm resource data. Based on blockchain technology, the present invention makes full use of existing germplasm resource libraries to perform block-based distributed storage of germplasm resource data, which can achieve low cost, high efficiency and credibility of germplasm resource data storage, and provides a method for redundant storage of data according to the importance of the data.

[0032] The embodiment of the present invention interconnects all germplasm resource banks in a peer-to-peer (P2P) manner to form a network, and each germplasm resource bank is a node in the network. For convenience, this article will refer to the germplasm resource bank node as a "germplasm bank node". The germplasm bank node needs to store its own germplasm resource data. In order to ensure the reliability of data storage, the germplasm bank node also needs to back up and store its own germplasm resource data. The germplasm bank node chooses to back up its own germplasm resource data and store it in other germplasm bank nodes.

[0033] The germplasm repository node divides the germplasm resource data into germplasm resource data blocks (referred to as "germplasm data blocks") to achieve fine-grained storage of the germplasm resource data. In the present invention, the germplasm resource data is backed up and stored in units of germplasm data blocks. The present invention does not impose any constraints on the size of the data blocks. In the present invention, the germplasm repository node that generates the germplasm data block is called the belonging node, and the germplasm repository node that stores the germplasm data block is called the storage node. The belonging node determines the number of backup copies of the germplasm data block, and one or more copies can be backed up. If multiple copies are backed up, the same germplasm data block needs to be backed up to different storage nodes. The storage location of the germplasm data block is determined by the decision of the belonging node.

[0034] In the embodiment of the present invention, the message used to store information related to germplasm data blocks (such as data block ownership information, storage location information, and summary information) is called a germplasm data block message. The format of the germplasm data block message will be described in detail later. All quality library nodes form a blockchain network, and the present invention stores the germplasm data block messages on the blockchain. The blockchain network formed by the quality library nodes adopts a consensus mechanism to reach a consensus. In the present invention, the same quality library node may have triple identity attributes: 1) an ownership node that generates germplasm data blocks; 2) a storage node that stores germplasm data blocks of other quality libraries; 3) a consensus node in the blockchain network.

[0035] The following is a brief workflow of the efficient and reliable storage method for germplasm resource data based on blockchain provided by the embodiment of the present invention: Figure 1 As shown. When the germplasm storage node (belonging node) has new germplasm resource data to be stored, first, the belonging node generates a germplasm data block. Secondly, the belonging node generates a germplasm data block message and broadcasts the generated message to the blockchain network. Then, the consensus node in the blockchain network verifies the germplasm data block message; after verification, the germplasm data block message is added to the block, and the generated block is broadcast to all germplasm storage nodes. After receiving the block, the belonging node unicasts the germplasm data block to the storage node. Finally, the storage node verifies the germplasm data block; after verification, the storage node stores the germplasm data block and returns confirmation information to the belonging node. At this point, the germplasm resource data storage process is completed.

[0036] The embodiments of the present invention relate to three data structures: germplasm data block message, block and block header.

[0037] 1) Germplasm data block message

[0038] The germplasm data block message is generated by the germplasm data block to which the node belongs, and contains fields such as data block identification, ciphertext summary, occupied space, storage quantity, storage location, message signature, etc. The format of the germplasm data block message is as follows: Figure 2 shown.

[0039] The data block identification field stores the data block identification information, which is unique and can be used to distinguish germplasm data blocks in the entire network. The ciphertext summary field stores the encrypted digital summary information of the germplasm data block, which can be used to verify the data integrity of the germplasm data block. The occupied space field stores the size of the disk space required for the data block. The storage quantity field indicates the storage quantity of the germplasm data block. The storage location field indicates the specific backup storage location of the germplasm data block, and the number of storage location fields is determined by the storage quantity. The message signature field stores the signature information of the home node on the germplasm data block message.

[0040] 2) Block

[0041] The germplasm data block message is packaged into the block by the consensus node for storage. The block consists of two parts: the block header and the block body. The block body is a message set consisting of multiple germplasm data block messages. The block data structure is as follows: Figure 3 In this block, a total of M germplasm data block messages are stored.

[0042] 3) Block header

[0043] The block header includes four fields: parent block hash, block height, Merkle root hash, and digital signature. The parent block hash is the hash value of the block header of the previous block. The parent block hash field is the physical carrier of the blockchain chain data structure. The block height represents the position of the block on the blockchain and can uniquely identify a block. The Merkle root hash is the hash result of the Merkle hash operation of all germplasm data block messages in the block body of this block. The Merkle root hash field can ensure that the content of the germplasm data block message is not tampered with. The digital signature is the digital signature result of the consensus node on the header of this block. The block header data structure is as follows: Figure 4 shown.

[0044] The germplasm resource data storage process in the embodiment of the present invention is specifically as follows.

[0045] 1) The germplasm library node generates a germplasm data block message

[0046] When the quality library node has germplasm resource data to store, the quality library node divides the germplasm resource data into germplasm data blocks, stores a copy locally, and then performs backup storage. The first task of the quality library node for backup storage is to generate germplasm data block messages.

[0047] First, the quality repository node determines the storage quantity and storage location of the germplasm data block. The quality repository node independently decides the storage quantity of the germplasm data block as needed (such as according to the importance of the data). After determining the backup storage quantity, the quality repository node needs to select a corresponding number of quality repository nodes from all other quality repository nodes except itself as the physical storage location of the germplasm data block. The selection of the storage location of the germplasm data block needs to consider factors such as geographical location, natural disasters, and war. After determining the backup storage quantity and physical storage location, the quality repository node fills the above two data into the backup quantity field and storage location field of the germplasm data block message respectively.

[0048] The identification field is filled with the germplasm data block identification. The germplasm data block identification consists of the germplasm bank number and the germplasm data block number. The data block numbers of the same germplasm bank node are continuous.

[0049] The ciphertext summary field is filled with the ciphertext summary information of the germplasm data block. First, the germplasm data block is encrypted; then, a digital summary of the encrypted ciphertext is generated.

[0050] The occupied space field is filled with the storage space occupied by the germplasm data block, specifically the size of the physical disk space occupied by the encrypted ciphertext data of the germplasm data block.

[0051] The message signature field is filled with the signature information of the germplasm data block message by the quality library node. The quality library node uses its own private key to digitally sign the field set consisting of the identification, ciphertext summary, occupied space, storage quantity, and storage location fields, and the signature result is filled in the message signature field.

[0052] 2) Consensus nodes generate blocks

[0053] After the germplasm data block message is generated, the germplasm library node broadcasts the germplasm data block message to the blockchain network. In the blockchain network, the consensus node verifies the integrity of the germplasm data block message. After the verification, the consensus node adds the germplasm data block message to the block body message set. Block generation must follow the following principles: the size of a single block does not exceed the upper limit of the block capacity, and the waiting time of the germplasm data block message at the consensus node does not exceed the upper limit of the waiting time. The specific values ​​of the upper limit of the block capacity and the upper limit of the waiting time of the germplasm data block message can be set according to actual needs. After the block body is determined, the corresponding fields are filled according to the definitions of each field in the block header to generate the block header.

[0054] After the block is generated, the consensus node broadcasts the block to all the quality library nodes in the network in a timely manner. Each quality library node verifies the integrity of the block and stores the block locally after the verification.

[0055] 3) Storage nodes store germplasm data blocks

[0056] The germplasm storage node (home node) sends the germplasm data block ciphertext data and the germplasm data block identifier to the germplasm storage nodes (storage nodes) in the storage location list in the form of unicast. After receiving the germplasm data block, the storage node starts the verification work. The verification content includes whether the germplasm data block message is added to the block, whether the storage node itself is located in the storage location field list in the germplasm data block message, and whether the ciphertext summary field in the germplasm data block message matches.

[0057] The process of germplasm data block verification is as follows Figure 5 As shown. First, according to the germplasm data block identifier, check whether the germplasm data block message has been added to the block stored locally. If not added, continue waiting; if the waiting times out, discard the data block. The waiting timeout can be set as needed, and the present invention does not stipulate it. If it has been added, the storage location quality library node continues to verify whether it is located in the storage location list; otherwise, discard the germplasm data block. If it is located in the storage location list, perform a hash operation on the germplasm data block to obtain its summary information. If the calculation result matches the ciphertext summary field of the germplasm data block message, the verification is passed; otherwise, the germplasm data block is discarded.

[0058] After the verification is passed, the storage node stores the germplasm data block and sends a confirmation message to the home node. At this point, the germplasm data block storage process ends.

[0059] In summary, the embodiment of the present invention provides an efficient and reliable storage method for germplasm resource data based on blockchain. The method brings the following six beneficial effects.

[0060] 1: The method of the embodiment of the present invention makes full use of the existing germplasm resource bank to back up and store germplasm resource data. The method does not require the construction of new data storage infrastructure, thereby reducing data storage costs.

[0061] 2: The method of the embodiment of the present invention uses blockchain technology to store germplasm resource data, so that the germplasm resource data has the ability to resist tampering and enhances the credibility of germplasm resource data storage.

[0062] 3: The method of the embodiment of the present invention does not store all germplasm resource data on the blockchain, but only stores the digital summary information of the germplasm resource data on the blockchain, thereby achieving the high efficiency of trusted storage.

[0063] 4: The method of the embodiment of the present invention adopts a distributed data storage method, which enhances the robustness of germplasm resource data storage. When a germplasm resource bank fails, other germplasm resource banks can still store the germplasm resource data normally.

[0064] 5: The method of the embodiment of the present invention adopts a data block storage method, so that the germplasm resource library can store germplasm resource data in a fine-grained manner.

[0065] 6: The method of the embodiment of the present invention provides a method for adjusting the storage redundancy of germplasm resource data. The germplasm resource library can independently decide the redundancy of germplasm resource data as needed (such as according to the importance of the data).

[0066] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. An efficient and reliable storage method for germplasm resource data based on blockchain, characterized in that: include: Germplasm resource data needs to be stored locally and backed up, and existing germplasm resource banks should be used to back up germplasm resource data rather than building new data storage infrastructure; The existing germplasm resource bank is a distributed data storage network established in a point-to-point manner; Each germplasm resource bank node in the existing germplasm resource bank includes at least two identity attributes; The at least two identity attributes are a home node and a storage node respectively; When the target quality library node is a home node, the target quality library node is used to split the germplasm resource data corresponding to the target quality library node, and send the split germplasm resource data to quality library nodes other than the target quality library node for storage and backup; When the target quality storage node is a storage node, the target quality storage node is used to store the germplasm resource data corresponding to the target quality storage node, and receive the germplasm resource data sent by the quality storage nodes other than the target quality storage node for storage and backup; The target germplasm resource bank node is any germplasm resource bank node in the existing germplasm resource bank.

2. The method according to claim 1, characterized in that The method further comprises: All existing germplasm resource banks form a distributed peer-to-peer data storage network to store germplasm resource data in a distributed manner; new germplasm resource banks can join the network in the future.

3. The method according to claim 1, characterized in that The method further comprises: The attribution node divides the germplasm resource data according to the rules to form germplasm data blocks, and the germplasm resource data is stored in units of germplasm data blocks; The home node can adjust the storage redundancy of germplasm data blocks as needed; The storage location of the germplasm data block is determined by the decision of the belonging node. Only the germplasm repository node is designated to store the germplasm data block. Different germplasm resource data blocks can be stored in different germplasm resource repositories.

4. The method according to claim 1, characterized in that: The method further comprises: The germplasm data block message is used to describe the information of the germplasm data block, and the germplasm data block message includes fields such as data block identification, ciphertext summary, occupied space, storage quantity, storage location, message signature, etc.; The germplasm data block messages are stored using a blockchain chain data structure, the germplasm data block messages are packaged in blocks, and all germplasm resource banks store the blocks.

5. The method according to claim 1, characterized in that The method further comprises: The home node sends the germplasm data block ciphertext data and the germplasm data block identifier to the storage nodes in the storage location list in a unicast form; After receiving the germplasm data block, the storage node starts the verification work, including whether the germplasm data block message is added to the block, whether the storage node itself is located in the storage location field list in the germplasm data block message, and whether the ciphertext summary field in the germplasm data block message matches; After verification, the storage node stores the germplasm data block and sends a confirmation message to the home node.

Citation Information

Patent Citations

  • Method for implementing distributed storage of files based on blockchain

    CN109587253A

  • Tracking data transfers

    CN111949651A

  • High-performance distributed storage block data, timestamp, cross-chain communication and data collaboration method

    CN114079660A

  • Block chain-based germplasm resource data security sharing method and system

    CN115208665A