Secure storage and sharing method of DNA sequences based on Fabric

The construction of a distributed storage platform through Fabric blockchain technology solves the security problem of traditional centralized databases storing DNA sequences, achieves efficient and safe storage and sharing of DNA sequences, and ensures data security and collaboration between biological research units.

CN113343249BActive Publication Date: 2024-10-29SMIC FUTURE (BEIJING) TECH CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202010094960.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-18
Publication Date
2024-10-29
Estimated Expiration
2040-02-18

AI Technical Summary

Technical Problem

There are security issues when storing DNA sequences in traditional centralized databases, such as the risk of data destruction, theft and tampering, and the efficiency of sharing DNA sequences between different units is low and there are hidden dangers of hacker theft and tampering.

Method used

Fabric blockchain technology is used for distributed storage, and an equal network platform is built through CA nodes, DNA sequence storage and sharing application nodes, Orderer nodes and Peer nodes to achieve safe storage and sharing of DNA sequences, ensuring that only authorized users can access and shared DNA sequences.

Benefits of technology

It effectively avoids the security risks of centralized databases, improves the storage security and sharing efficiency of DNA sequences, ensures the security and non-tamperability of data on the network, and promotes collaboration between biological research units.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113343249B_ABST
    Figure CN113343249B_ABST
Patent Text Reader

Abstract

This application aims at the problem of lack of security guarantee for the storage and sharing of DNA sequences, and proposes a secure storage and sharing method of DNA sequences based on Fabric. The distributed storage, non-tamperability, and trustworthiness of the Fabric platform are used to realize the secure storage and sharing of DNA sequences, including the following steps: the user inputs the DNA sequence and keywords to be stored in the Web interface of the application node and initiates a request to upload the DNA sequence; the application node calls the chain code that implements the DNA sequence upload function in Fabric; each node in the Fabric platform writes the DNA sequence into its own local account book after reaching a consensus; the user inputs the keywords of the shared DNA sequence in the Web interface of the application node and initiates a request to query the DNA sequence; the application node calls the chain code that implements the DNA sequence query function in Fabric; the Fabric platform returns the queried DNA sequence to the user. This application provides a security guarantee for the safe development of the field of DNA-related bioinformatics, and can also promote data sharing between related biological research units.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a Fabric-based DNA sequence secure storage and sharing method, which is mainly used for secure storage and sharing of DNA sequences in the field of bioinformatics. Background Art

[0002] DNA synthesis and sequencing technology provides a lot of help for human health and life, including disease diagnosis, research and development of new drugs, etc. If a DNA sequence comes from artificial synthesis and is used in a high-value commercial drug, the commercial value of the DNA sequence needs to be protected when storing the DNA sequence; if a DNA sequence comes from human blood and is used for disease prediction and diagnosis, the storage of the DNA sequence needs to focus on privacy protection. In addition, when different units jointly conduct biological research, they need to constantly share DNA sequences with each other. How to securely share DNA sequences on the Internet is crucial to the protection of research results. This application will focus on providing a solution for how to securely store DNA sequences online and securely share them between different units.

[0003] Blockchain technology is a method of generating and storing data in blocks, which are connected in chronological order to form a chain structure. Cryptographic algorithms are used to ensure that data cannot be tampered with; distributed consensus algorithms are used between different participating computing nodes to ensure data consistency. Blockchains are mainly divided into three types: public chains, alliance chains, and private chains. Alliance chains are chains composed of certain organizations or institutions. Access to alliance chains requires license authentication, and some of the nodes need to be pre-designated as accounting nodes. The generation of blocks requires the joint decision of all accounting nodes, and other nodes in the alliance chain do not have accounting rights. Fabric is the most important type of alliance chain. Only authorized computing nodes are allowed to participate in data maintenance, and the nodes recognize each other. All data will be discovered and tracked by each other, providing users with a trusted blockchain platform. It has been successfully applied in scenarios such as copyright protection, digital invoices, and supply chain management, providing efficient technical means for the secure storage and sharing of data.

[0004] Among the means of storing DNA sequences, the traditional centralized database storage method has great security issues. Once the central database is attacked and destroyed, there is a serious risk of losing all DNA sequences. Moreover, the DNA sequences stored in the central database are also subject to hidden dangers such as theft and malicious tampering. When different units jointly carry out biological research, sharing DNA sequences through offline express delivery is extremely inefficient, which seriously affects the research progress. Sharing DNA sequences with other units on the Internet has major security risks such as data being stolen by hackers and tampered with during transmission. The Fabric-based DNA sequence security storage and sharing method proposed in this application can effectively solve the above problems, provide a security guarantee for the development of the bioinformatics field, and also promote the sharing of DNA sequence data between related biological research units. Summary of the invention

[0005] The purpose of this application is to propose a method for secure storage and sharing of DNA sequences based on Fabric, which uses blockchain technology to distribute the storage of DNA sequences, avoiding the risk of data being destroyed when the DNA sequences are stored in a centralized database. In addition, the sharing of DNA sequences between different users is more efficient due to distributed storage. This application includes steps for implementing secure storage of DNA sequences based on Fabric, and steps for implementing a user accessing DNA sequences uploaded by other users based on Fabric.

[0006] To achieve the above purpose, this application constructs the computing nodes of different units into a Fabric blockchain platform through a network. Each computing node has an equal status and there is no central node. The Fabric blockchain platform contains a total of 4 types of nodes: CA (Certificate Authority) node, DNA sequence storage and sharing application node, Orderer node and Peer node. These 4 types of nodes are connected through a network.

[0007] The CA node provides identity information based on digital certificates for application nodes using the Fabric blockchain platform, and can generate or cancel identity certificates for application nodes. All operations of application nodes on the Fabric blockchain platform require identity authentication.

[0008] The DNA sequence storage and sharing application node is an application node that specifically implements the functions of uploading DNA sequences and reading arbitrary DNA sequences. After obtaining a legal identity certificate from the CA node, it interacts with the Fabric blockchain platform. The application node submits a transaction proposal to the endorsement node. After collecting enough endorsement results, it constructs a legal transaction request based on the endorsement results and sends it to the Orderer node for sorting. The application node learns whether the transaction is successfully received by monitoring messages in the network.

[0009] The Orderer node sorts all legal transactions sent by each node in the Fabric blockchain platform. In concurrent situations, the order of transactions of each node needs to be determined and agreed upon by the sorting node, and then a batch of sorted transactions are combined to generate a block structure.

[0010] The Peer node is a peer node in the Fabric blockchain platform, which is divided into endorsement nodes, accounting nodes and master nodes according to their functions. The endorsement node mainly verifies, simulates execution and endorses transaction proposals; the accounting node is mainly responsible for verifying the legitimacy of transactions, and updating and maintaining the data and account status in the Fabric blockchain platform; the master node is responsible for communicating with the sorting node, obtaining the latest blocks from the sorting node and synchronizing them within the organization.

[0011] After the Fabric blockchain platform is built, the DNA sequence is securely stored and shared on the Fabric blockchain platform. A Web service function is implemented on the DNA sequence storage and sharing application node to help users input or import the DNA sequence to be stored through a browser on any computer, or obtain the shared DNA sequence through keywords.

[0012] This application requires management and control of the storage and sharing of DNA sequences, and does not allow any user to upload or read DNA sequence data. New users need to register first to use the Fabric blockchain platform to store and share DNA sequences.

[0013] The new user sets relevant registration information such as user name and password on the DNA sequence storage and sharing application node, and then initiates a request to register a new user.

[0014] The application node verifies whether the registration request is legal before processing it. If it is illegal, it directly returns the error reason. If it is legal, it initiates a request to the CA node through the SDK registration service interface of the CA node.

[0015] The CA node writes the new user registration information into the certificate library, generates a corresponding certificate, updates the certificate library, and returns the certificate result to the application node.

[0016] After the new user successfully registers, he can log in. After successful login, he can store the DNA sequence in the Fabric blockchain platform or access the DNA sequence shared by others.

[0017] After the user successfully registers, he / she inputs the user name, password and other related login information on the DNA sequence storage and sharing application node and then initiates a login request.

[0018] The application node first verifies whether the login request is legal. If not, it directly returns the error reason. If legal, it initiates a request to the CA node through the CA node's SDK certificate query service interface.

[0019] The CA node queries the certificate library to see whether the certificate exists. If not, an error message is returned. If so, the certificate query result is returned to the application node.

[0020] The application node processes the return result of the CA node, and prompts the user that the login fails if the user does not exist. If the user exists, a TOKEN for the user's access is generated, and the user is prompted that the login is successful.

[0021] After the user successfully logs in to the application node, the user inputs the DNA sequence by manually entering the DNA sequence or importing the DNA sequence from an external file. At the same time, a unique keyword is assigned to the DNA sequence to be uploaded, and the keyword and the DNA sequence are constructed into key-value pair data. At the same time, the user's personal certificate information is constructed together as a request to upload the DNA sequence.

[0022] The application node verifies the legitimacy of the DNA sequence upload request, including whether the DNA sequence format is correct and whether the keywords are unique. If the verification is illegal, an error message is returned. If the verification is legal, the DNA sequence is encrypted and the encrypted data is signed using the user's personal certificate information.

[0023] The application node sends a data write request to the Peer node in the Fabric blockchain platform, that is, sends the encrypted and signed DNA sequence to the Peer node.

[0024] The Peer node extracts the certificate information from the data writing request and requests the CA node to verify the certificate information.

[0025] After receiving the certificate verification request from the Peer node, the CA node searches the certificate library and returns the result to the Peer node.

[0026] If the Peer node receives a result indicating that the certificate is illegal, it returns an error message. If the Peer node receives a result indicating that the certificate is legal, it continues to verify the signature of the DNA sequence. If the verification is invalid, it returns an error message. If the verification is valid, it simulates the execution of the write operation and endorses the write result according to the set endorsement policy to obtain the endorsement result.

[0027] The endorsement result is returned to the application node.

[0028] The application node collects the endorsement results sent by multiple Peer nodes, and then sends the endorsement results to the Orderer node, that is, initiates a transaction request to update the ledgers on each Peer node.

[0029] After receiving multiple transaction requests from the Peer node, the Orderer node sorts them, packages them into a block, and then sends the packaged block to all Peer nodes.

[0030] The Peer node writes the block sent from the Orderer node into the local ledger and notifies the application node that the DNA sequence has been successfully uploaded.

[0031] The application node notifies the user that the DNA sequence has been successfully uploaded.

[0032] Since the Fabric blockchain platform will automatically synchronize the DNA sequence data on each node, the DNA sequence is stored securely. When other users need to obtain the DNA sequence, they only need to upload the keywords corresponding to the DNA sequence to complete the acquisition operation.

[0033] After successfully logging into the application node, the other users initiate a request to obtain the DNA sequence through keywords, keyword signature information and personal certificate information.

[0034] The application node verifies whether the request for obtaining the DNA sequence is legal, including whether the keyword format is correct. If the verification is illegal, an error message is returned to the other user. If the verification is legal, the next step is executed.

[0035] The application node sends a data read request to the Fabric blockchain platform, that is, sends the keyword and personal certificate information to the Peer node.

[0036] The Peer node extracts the certificate information from the data reading request, and requests the CA node to verify the certificate information.

[0037] After receiving the certificate verification request from the Peer node, the CA node searches the certificate library and returns the result to the Peer node.

[0038] If the Peer node receives a result that the certificate is illegal, it returns an error message. If it receives a result that the certificate is legal, it continues to verify the signature of the keyword. If the verification is invalid, it returns an error message. If the verification is valid, it queries the status database to obtain the encrypted DNA sequence corresponding to the keyword.

[0039] The Peer node returns the encrypted DNA sequence to the application node.

[0040] The application node returns the encrypted DNA sequence to the web interface of the other user.

[0041] The other users input the decryption password on the Web interface, decrypt the encrypted DNA sequence, and obtain the shared DNA sequence.

[0042] The beneficial effect of this application is to provide a new method for the secure storage and sharing of DNA sequences by applying the Fabric blockchain platform's safe and reliable, data-immutable, trustworthy and other characteristics, solving the security issues of DNA sequence data being tampered with, destroyed, deleted, etc. in traditional centralized database storage, and ensuring that only authorized users can read DNA sequences shared by other users through the CA node authentication mechanism, avoiding the problem of DNA sequences being arbitrarily read by any user. This application can provide technical support for the development of the bioinformatics field, and help DNA sequence research units collaborate with each other to jointly complete biological research. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] Figure 1 Schematic diagram of secure storage and sharing of DNA sequences based on Fabric;

[0044] Figure 2 A diagram of the steps to register a new user;

[0045] Figure 3 A diagram of the steps for user login;

[0046] Figure 4 A diagram of the steps for users to securely store DNA sequences on the Fabric blockchain platform;

[0047] Figure 5 Diagram of the steps for a user to query the DNA sequences uploaded by other users from the Fabric blockchain platform. DETAILED DESCRIPTION

[0048] In order to better describe how to implement the Fabric-based DNA sequence secure storage and sharing method in the present application, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings.

[0049] The method for secure storage and sharing of DNA sequences implemented in this application is based on the Fabric blockchain platform. Fabric is a type of consortium chain in blockchain technology, and its construction requires the use of a distributed network. This application is implemented on the basis of the Fabric blockchain platform. The constructed distributed network contains a total of 4 types of nodes. The network connection diagram between these 4 types of nodes is as follows: Figure 1As shown, in the specific implementation, corresponding adjustments can be made according to the scale of DNA sequences and application requirements, that is, the number of Orderer node clusters and Peer node clusters can be adjusted according to the specific user scale.

[0050] The functions of CA nodes, Orderer nodes and Peer nodes in the Fabric blockchain platform can all be directly implemented by the modules implemented by Fabric, but a chain code for writing and reading DNA sequences needs to be implemented and deployed to the Fabric blockchain platform. The DNA sequence storage and sharing application node needs to provide a friendly interactive method in the form of a Web interface, where users can perform four types of operations: registration, login, uploading DNA sequences, and reading DNA sequences shared by others. The input box, import, view, download and other options corresponding to the four types of operations must also be included.

[0051] This application then describes in detail the specific implementation methods of the four types of operations, namely, new user registration, user login, uploading DNA sequences, and reading DNA sequences shared by others, in combination with the accompanying drawings.

[0052] In order to ensure that the DNA sequence is not accessed by any user, or to prevent irrelevant users from uploading the DNA sequence, this application needs to perform authorization management on users who use the secure storage and sharing of DNA sequences, that is, only authorized users are allowed to upload or read DNA sequence data. This application describes the registration steps for new users who need to use it, and the specific implementation method is as follows Figure 2 As shown, the specific steps are:

[0053] (1) The new user sets the username, password and other relevant registration information on the DNA sequence storage and sharing application node, and then initiates a request to register a new user;

[0054] (2) Before processing the registration request, the application node verifies whether it is legal. If it is not legal, it directly returns the error reason to the user. If it is legal, it executes the next step.

[0055] (3) The application node initiates a request to the CA node through the SDK registration service interface provided by the CA node;

[0056] (4) The CA node writes the new user registration data into the certificate library, generates the corresponding certificate, and updates the certificate library;

[0057] (5) The CA node returns the certificate result to the application node.

[0058] This application requires users to log in successfully before they can store DNA sequences in the Fabric blockchain platform or access DNA sequences shared by others. The specific implementation method is as follows Figure 3 As shown, the steps for user login are:

[0059] (1) The user enters the username, password and other relevant login information on the DNA sequence storage and sharing application node and initiates a login request;

[0060] (2) The application node first verifies whether the login request is legal. If not, it directly returns the error reason to the user. If legal, it executes the next step.

[0061] (3) The application node initiates a request to the CA node through the SDK certificate query service interface provided by the CA node;

[0062] (4) The CA node queries the certificate library to see whether the certificate exists;

[0063] (5) The CA node returns the certificate query result to the application node;

[0064] (6) The application node processes the return result of the CA node. If the user does not exist, it prompts the user that the login failed. If the user exists, it generates a token for the user's access and prompts the user that the login is successful.

[0065] This application mainly uses the Fabric blockchain platform's characteristics of secure data storage, non-tamperability, and trustworthiness to achieve secure storage of DNA sequences and efficient sharing among different users. Figure 4 The process of users securely storing DNA sequences on the Fabric blockchain platform is given, where the DNA sequences are distributed and stored on each node in the Fabric blockchain platform. The process of how the data is distributed and stored on each node is provided by the Fabric platform itself, and this application does not describe the process in detail. The specific steps for uploading DNA sequences are as follows:

[0066] (1) After successfully logging in, the user enters the DNA sequence to be uploaded to the Fabric blockchain platform on the web page by manually entering the DNA sequence on the application node or importing the DNA sequence through an external file. At the same time, a unique keyword is assigned to the DNA sequence to be uploaded, and the keyword and DNA sequence are combined into key-value pair data. At the same time, the user's personal certificate information is also combined to construct a DNA sequence upload request and submit it;

[0067] (2) The application node verifies whether the user's request to upload a DNA sequence is legal, including whether the DNA sequence format is correct and whether the keywords are legal. If the verification is illegal, an error message is displayed on the web interface to prompt the user. If the verification is legal, the next step is executed.

[0068] (3) The application node encrypts the DNA sequence uploaded by the user and signs the encrypted data with the user’s personal certificate information;

[0069] (4) The application node sends a data write request to the Peer node in the Fabric blockchain platform, that is, the encrypted and signed DNA sequence, as well as the keyword and user certificate information, is sent to the Peer node;

[0070] (5) The Peer node extracts the certificate information from the data write request of the application node and requests the CA node to verify the certificate information;

[0071] (6) After receiving the certificate verification request from the Peer node, the CA node searches the certificate library and returns the result to the Peer node. If the certificate verification fails, the Peer node prompts the user on the Web interface through the application node;

[0072] (7) The Peer node verifies the signature of the DNA sequence sent by the application node. If there is an abnormality, the application node prompts the user on the web interface. If it is normal, the next step is executed;

[0073] (8) The Peer node simulates the write operation and endorses the write result according to the set endorsement policy;

[0074] (9) The Peer node returns the endorsement result to the application node;

[0075] (10) The application node collects the endorsement results sent by multiple peer nodes;

[0076] (11) The application node sends the endorsement result to the Orderer node, which initiates a transaction request to update the ledger on each Peer node;

[0077] (12) After receiving multiple transaction requests from the Peer node, the Orderer node sorts them and packages them into a block;

[0078] (13) The Orderer node sends the packaged blocks to all Peer nodes;

[0079] (14) The Peer node writes the block received from the Orderer node into the local ledger;

[0080] (15) The Peer node notifies the application node that the DNA sequence has been successfully stored in the Fabric blockchain platform;

[0081] (16) The application node notifies the user on the web interface that the DNA sequence has been successfully stored.

[0082] This application implements consistent storage of DNA sequences on multiple computing nodes based on the Fabric blockchain platform, providing a platform for mutual resource sharing for relevant scientific research institutes, medical institutions, etc. that generate DNA sequences. In the DNA sequence storage platform implemented based on Fabric, units can access each other's uploaded DNA sequences, but units need to pass CA certification to access the platform, which prevents DNA sequences from being illegally accessed by unrelated units. The process of sharing DNA sequences is a process in which users query DNA sequences uploaded by other users. Users query the complete DNA sequences uploaded by other users based on the keywords of a DNA sequence to be queried. The keywords can be shared between different units through other channels, such as by informing the shared units through emails or text messages. Only after the user has the keywords can he query the specific DNA sequence in the Fabric platform. The specific steps are as follows: Figure 5 As shown:

[0083] (1) After successfully logging in, the user enters the keyword of the DNA sequence to be queried through the web page on the application node, signs the keyword with the user's personal certificate information, and combines the user's personal certificate information to form a DNA sequence query request;

[0084] (2) The application node verifies whether the user's request to query the DNA sequence is legal, including whether the keyword format is correct. If the verification is illegal, an error message is displayed on the web interface to prompt the user. If the verification is legal, the next step is executed;

[0085] (3) The application node signs the keyword using the user certificate information, and then submits a data read request to the Peer node in the Fabric blockchain platform, that is, sending the keyword, signature information, and user certificate information to the Peer node;

[0086] (4) The Peer node extracts the certificate information from the data reading request of the application node and requests the CA node to verify the certificate information;

[0087] (5) After receiving the certificate verification request from the Peer node, the CA node searches the certificate library and returns the result to the Peer node. If the certificate verification fails, the Peer node prompts the user on the Web interface through the application node. If the certificate verification is normal, the next step is executed.

[0088] (6) The Peer node verifies the signature of the keyword sent by the application node. If there is an abnormality, the application node prompts the user on the Web interface. If it is normal, the next step is executed;

[0089] (7) The peer node queries the status database to obtain the encrypted DNA sequence corresponding to the keyword;

[0090] (8) The Peer node returns the query results to the application node;

[0091] (9) The application node sends the query results returned by the peer node to the web page;

[0092] (10) The user enters a decryption password on the web page to decrypt the queried encrypted DNA sequence, and finally obtains the DNA sequence shared by other users; the decryption password is shared between users through other channels, such as text messages or phone calls.

Claims

1. A method for secure storage and sharing of DNA sequences based on Fabric, characterized in that: The method is implemented based on the Fabric blockchain platform. The Fabric blockchain platform includes a CA node, an Orderer node and a Peer node, which are connected to a DNA sequence storage and sharing application node through a network to achieve secure storage and sharing of DNA sequences. Specifically, the DNA sequence storage and sharing application node obtains a legal identity certificate from the CA node and then interacts with the Fabric blockchain platform. The user first completes the registration of a new user by setting a user name and password, and then the user successfully logs in by entering the user name and password. After the user makes a request to upload a DNA sequence, the DNA sequence is uploaded to the Fabric blockchain platform through the DNA sequence storage and sharing application node, including: The user inputs the DNA sequence by manually entering the DNA sequence or importing the DNA sequence from an external file, and also specifies a unique keyword for the DNA sequence to be uploaded, and forms a key-value pair data with the keyword and the DNA sequence, and constructs a request to upload the DNA sequence together with the user's personal certificate information; The application node verifies the legitimacy of the DNA sequence upload request. If the verification is not legal, an error message is returned. If the verification is legal, the DNA sequence is encrypted and the encrypted data is signed with the user's personal certificate information. The application node sends a request for data writing to the Peer node in the Fabric blockchain platform; The Peer node extracts the certificate information from the data writing request and requests the CA node to verify the certificate information; After receiving the certificate verification request from the Peer node, the CA node searches the certificate library and returns the result to the Peer node; If the Peer node receives a result indicating that the certificate is illegal, it returns an error message. If the Peer node receives a result indicating that the certificate is legal, it continues to verify the signature of the DNA sequence. If the verification is invalid, it returns an error message. If the verification is valid, it simulates the execution of the write operation and endorses the write result according to the set endorsement policy to obtain the endorsement result, and returns the endorsement result to the application node. The application node collects the endorsement results sent by multiple peer nodes, and then sends the endorsement results to the orderer node, that is, initiates a transaction request to update the ledger on each peer node; After receiving multiple transaction requests from the Peer node, the Orderer node sorts them, packages them into a block, and then sends the packaged block to all Peer nodes; The Peer node writes the block received from the Orderer node into the local account book and notifies the application node that the DNA sequence has been successfully uploaded. The application node then notifies the user that the DNA sequence has been successfully uploaded. After a user makes a request to obtain a DNA sequence shared by other users, the user reads the DNA sequence data from the Fabric blockchain platform through the DNA sequence storage and sharing application node, including: The user enters a keyword in the application node, signs it, and initiates a request to obtain a DNA sequence together with the user certificate information; The application node verifies whether the request to obtain the DNA sequence is legal. If the verification is not legal, an error message is returned to the user. If the verification is legal, the next step is executed; The application node sends a data reading request to the Peer node in the Fabric blockchain platform; The Peer node extracts the certificate information from the data reading request and requests the CA node to verify the certificate information; After receiving the certificate verification request from the Peer node, the CA node searches the certificate library and returns the result to the Peer node; If the Peer node receives a result indicating that the certificate is illegal, it returns an error message. If the Peer node receives a result indicating that the certificate is legal, it continues to verify the signature of the keyword. If the verification is invalid, it returns an error message. If the verification is valid, it queries the status database to obtain the encrypted DNA sequence corresponding to the keyword. The Peer node returns the encrypted DNA sequence to the application node; The application node decrypts the encrypted DNA sequence according to the password input by the user to obtain the shared DNA sequence.

2. The Fabric-based DNA sequence secure storage and sharing method according to claim 1, characterized in that: The DNA sequence storage and sharing application node obtains a legitimate identity certificate from the CA node and then interacts with the Fabric blockchain platform, submitting a transaction proposal to the endorsement node in the Peer node. After collecting enough endorsement results, it constructs a legitimate transaction request using the endorsement and sends it to the Orderer node for sorting. The application node learns whether the transaction is successfully received by monitoring the messages in the Fabric blockchain platform.

3. The Fabric-based DNA sequence secure storage and sharing method according to claim 1, characterized in that: Before uploading a DNA sequence or obtaining a DNA sequence shared by other users, users must first complete the registration of a new user. The registration steps include: The new user sets the registration information of the user name and password on the application node, and then initiates a request to register a new user; The application node verifies whether the registration request is legal before processing it. If it is illegal, it directly returns the error reason. If it is legal, it initiates a request to the CA node through the CA node's SDK registration service interface; The CA node writes the new user registration information into the certificate library, generates the corresponding certificate, updates the certificate library, and returns the certificate result to the application node; After the new user successfully registers, he can log in.

4. The Fabric-based DNA sequence secure storage and sharing method according to claim 1, characterized in that: Before uploading a DNA sequence or obtaining a DNA sequence shared by other users, users must first successfully log in. The login steps include: The user initiates a login request after inputting the user name and password on the application node; The application node first verifies whether the login request is legal. If not, it directly returns the error reason. If legal, it initiates a request to the CA node through the CA node's SDK certificate query service interface. The CA node queries the certificate library to see whether the certificate exists. If not, an error message is returned. If so, the certificate query result is returned to the application node. The application node processes the return result of the CA node, and prompts the user that the login fails if the user does not exist. If the user exists, a TOKEN for the user's access is generated, and the user is prompted that the login is successful.

Citation Information

Patent Citations

  • Method for storing and sharing secure files based on blockchain

    CN108462568A

  • Blockchain-based DNA data storage method and system, and device

    CN108737501A

  • Data storage security protection method and system based on DNA features and / or block chains and computer readable storage medium

    CN109784074A

  • Internet of Things data sharing method and system based on block chain

    CN110012015A

  • Medical data transaction and sharing method based on block chain technology

    CN110135186A