CN113343249A - Fabric-based DNA sequence safe storage and sharing method - Google Patents

Fabric-based DNA sequence safe storage and sharing method Download PDF

Info

Publication number
CN113343249A
CN113343249A CN202010094960.4A CN202010094960A CN113343249A CN 113343249 A CN113343249 A CN 113343249A CN 202010094960 A CN202010094960 A CN 202010094960A CN 113343249 A CN113343249 A CN 113343249A
Authority
CN
China
Prior art keywords
node
dna sequence
user
request
certificate
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
CN202010094960.4A
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.)
Smic Future Beijing Technology Co ltd
Original Assignee
Smic Future Beijing 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 Smic Future Beijing Technology Co ltd filed Critical Smic Future Beijing Technology Co ltd
Priority to CN202010094960.4A priority Critical patent/CN113343249A/en
Publication of CN113343249A publication Critical patent/CN113343249A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • 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
    • 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
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16BBIOINFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR GENETIC OR PROTEIN-RELATED DATA PROCESSING IN COMPUTATIONAL MOLECULAR BIOLOGY
    • G16B30/00ICT specially adapted for sequence analysis involving nucleotides or amino acids

Abstract

Aiming at the problem that the storage and sharing of the DNA sequence lack safety guarantee, the method for safely storing and sharing the DNA sequence based on the Fabric is provided, the safe storage and sharing of the DNA sequence are realized by using the characteristics of distributed storage, non-tampering, trustiness and the like of a Fabric platform, and the method comprises the following steps: a user inputs a DNA sequence to be stored and a keyword on a Web interface of an application node and then initiates a request for uploading the DNA sequence; calling a chain code for realizing a DNA sequence uploading function in the Fabric by using the application node; after forming consensus, each node in the Fabric platform writes DNA sequences into respective local accounts; a user inputs keywords of a shared DNA sequence on a Web interface of an application node and then initiates a request for inquiring the DNA sequence; calling a chain code for realizing a DNA sequence query function in the Fabric by using the application node; the Fabric platform returns the queried DNA sequence to the user. The application provides a safety guarantee means for the safety development in the field of DNA related biological information, and can promote the data sharing among related biological research units.

Description

Fabric-based DNA sequence safe storage and sharing method
Technical Field
The application relates to a method for safely storing and sharing a DNA sequence based on Fabric, which is mainly applied to the safe storage and sharing of the DNA sequence in the field of biological information.
Background
DNA synthesis and sequencing technologies provide a great deal of assistance to the healthy life of humans, including the diagnosis of diseases, the development of new drugs, and the like. If a DNA sequence is artificially synthesized and used in a high-value commercial drug, the commercial value of the DNA sequence needs to be protected by an overlap when the DNA sequence is stored; if a DNA sequence is derived from the blood of a human body and used for prediction and diagnosis of a disease, the storage of the DNA sequence is important for privacy protection. In addition, when different units jointly carry out biological research, DNA sequences need to be shared with each other continuously, and how to safely share the DNA sequences on the network is important for protecting research results. The application will focus on providing a solution to how DNA sequences are safely stored on line and safely shared between different units.
The block chain technology is characterized in that data are generated and stored by taking a block as a unit, and are connected in time sequence to form a chain structure, and a cryptographic algorithm is utilized to ensure that the data cannot be tampered; and the consistency of data among different participating computing nodes is ensured through a distributed consensus algorithm. The block chain is mainly divided into three types, namely a public chain, a alliance chain and a private chain. The alliance chain is a chain formed by some organizations or organizations, the access alliance chain needs to obtain permission authentication, some nodes in the access alliance chain need to be designated as accounting nodes in advance, the generation of the block needs to be determined by all the accounting nodes in common, and other nodes in the alliance chain do not have the accounting right. The Fabric is the most important one of the alliance chain, only authorized alliance computing nodes are allowed to participate in data maintenance, the nodes recognize each other, all data can be discovered and tracked, a credible blockchain platform is provided for users, the Fabric is successfully applied to scenes such as copyright protection, digital invoice and supply chain management, and efficient technical means is provided for safe storage and sharing of the data.
In the DNA sequence storage approach, the traditional centralized database storage method has a great safety problem, and once the central database is damaged by an attack, there is a serious risk that all DNA sequences are lost. Moreover, the DNA sequences stored in the central database are also hidden danger of being stolen and tampered with. When different units jointly develop biological research, the efficiency of sharing DNA sequences by means of offline express delivery is extremely low, the research progress is seriously influenced, and the DNA sequences shared with other units on the network have great potential safety hazards that data is stolen by hackers, and the data is tampered in the transmission process. The method for safely storing and sharing the DNA sequence based on the Fabric can effectively solve the problems, provides a safety guarantee means for the development of the field of biological information, and can promote the sharing of the DNA sequence data among related biological research units.
Disclosure of Invention
The application aims to provide a method for safely storing and sharing a DNA sequence based on Fabric, wherein the storage of the DNA sequence is distributed by adopting a block chain technology, so that the risk of damaging data in the process of storing the DNA sequence in a centralized database is avoided. In addition, it is more efficient because of distributed storage when sharing DNA sequences between different users. The method comprises the steps of realizing safe storage of the DNA sequence based on the Fabric and realizing that a certain user accesses the DNA sequence uploaded by other users based on the Fabric.
In order to achieve the purpose, the computing nodes of different units are constructed into a Fabric Block Link platform through a network, the position of each computing node is equal, and no central node exists. The Fabric blockchain platform comprises 4 types of nodes in total: CA (certificate authority) node, DNA sequence storage and sharing application node, Orderer node and Peer node. These 4 types of nodes are connected by a network.
The CA node provides identity information based on the digital certificate for the application node using the Fabric blockchain platform, the identity certificate of the application node can be generated or cancelled, and all operations of the application node on the Fabric blockchain platform need identity verification.
The DNA sequence storage and sharing application node is an application node which specifically realizes the functions of uploading DNA sequences and reading any DNA sequence, a legal identity card is acquired from a CA node and then is interacted with a Fabric block chain platform, the application node submits a transaction proposal to an endorsement node, after enough endorsement results are collected, a legal transaction request is constructed according to the endorsement results and sent to an Orderer node for sequencing, and the application node monitors messages in a network to know whether the transaction is successfully received.
The Orderer node sequences all legal transactions sent by each node in the Fabric Block Link platform, under the condition of concurrency, the sequence of the transactions of each node needs to be determined and agreed by the sequencing node, and then a batch of sequenced transactions are combined to generate a block structure.
The Peer node is a Peer node in the Fabric blockchain platform and is divided into an endorsement node, an accounting node and a main node according to functions. The endorsement node is mainly used for verifying, simulating and executing a transaction proposal and endorseing the transaction proposal; the accounting node is mainly responsible for verifying the legality of the transaction and updating and maintaining the data and account book states in the Fabric Block Link platform; the master node is responsible for communicating with the sequencing nodes, obtaining the latest block from the sequencing nodes and synchronizing within the organization.
And after the Fabric blockchain platform is constructed, the DNA sequence is safely stored and shared on the Fabric blockchain platform. And implementing a Web service function on the DNA sequence storage and sharing application node, and being used for helping a user to input or introduce the DNA sequence to be stored in any computer in a browser mode or acquiring the shared DNA sequence through keywords.
The application needs to manage and control the storage and sharing users of the DNA sequence, and does not allow any user to upload or read the DNA sequence data. The new user needs to register first to use the Fabric Block chain platform for the storage and sharing of DNA sequences.
And the new user sets the user name, password and other registration information on the DNA sequence storage and sharing application node, and then initiates a request for registering the new user.
Before the application node processes the registration request, whether the application node is legal or not is verified, if the application node is illegal, the application node directly returns an error reason, and if the application node is legal, the application node initiates a request to the CA node through an SDK registration service interface of the CA node.
And the CA node writes the new user registration information into the certificate library, generates a corresponding certificate, updates the certificate library and returns a certificate result to the application node.
And after the new user successfully registers, logging in, and storing a DNA sequence in the Fabric Block chain platform or accessing a DNA sequence shared by others.
And after the user successfully registers, the user initiates a login request after inputting related login information such as a user name and a password on the shared application node and storing the DNA sequence.
The application node verifies whether the login request is legal or not, if not, the error reason is directly returned, and if the login request is legal, the request is sent to the CA node through the SDK certificate inquiry service interface of the CA node.
And the CA node inquires whether the certificate exists in the certificate library, returns error information if the certificate does not exist, and returns a certificate inquiry result to the application node if the certificate exists.
And the application node processes the returned result of the CA node, prompts the user that the login fails if the user does not exist, generates the TOKEN accessed by the user at this time if the user exists, and prompts the user that the login is successful.
After the user successfully logs in the application node, the DNA sequence is input in a mode of manually inputting the DNA sequence or importing an external file into the DNA sequence, a unique keyword is assigned to the DNA sequence to be uploaded, the keyword and the DNA sequence form key value pair data, and personal certificate information of the user is constructed into a DNA sequence uploading request.
And the application node carries out validity verification on the request for uploading the DNA sequence, wherein the validity verification comprises whether the DNA sequence format is correct and whether the keyword is unique, if the verification is illegal, error information is returned, if the verification is legal, the data encryption processing is carried out on the DNA sequence, and meanwhile, the encrypted data is signed by adopting personal certificate information of a user.
And the application node sends a data writing request to the Peer node in the Fabric Block Link platform, namely, the encrypted and signed DNA sequence is sent to the Peer node.
The Peer node extracts the certificate information from the data writing request and requests the CA node for verifying the certificate information.
And after receiving the verification certificate request of the Peer node, the CA node inquires in a certificate library and returns a result to the Peer node.
And if the Peer node receives the result that the certificate is illegal, returning error information, if the Peer node receives the result that the certificate is legal, continuously verifying the signature of the DNA sequence, if the verification is invalid, returning the error information, if the verification is valid, simulating to execute the write-in operation, and endorsing the write-in result according to a set endorsing strategy to obtain an endorsing result.
And returning the endorsement result to the application node.
The application node collects endorsement results sent by the Peer nodes, and then sends the endorsement results to the Orderer node, namely, initiates a transaction request to update the ledger on each Peer node.
The order node sequences after receiving a plurality of transaction requests sent by the Peer node, packs the transaction requests into a block, and then sends the packed block to all Peer nodes.
And the Peer node writes the blocks sent from the Orderer node into a local account book and informs the application node of successfully uploading the DNA sequence.
The application node informs the user that the DNA sequence has been successfully uploaded.
The DNA sequence is securely stored because the Fabric blockchain platform will automatically synchronize the DNA sequence data on the various nodes. When other users need to obtain the DNA sequence, the obtaining operation can be completed only according to the keywords corresponding to the uploaded DNA sequence.
And after the other users successfully log in the application node, initiating a request for obtaining the DNA sequence through the keyword, the keyword signature information and the personal certificate information.
And the application node verifies whether the request for obtaining the DNA sequence is legal or not, including whether the keyword format is correct or not, if the verification is illegal, the application node returns error information to other users, and if the verification is legal, the application node executes the next step.
And the application node sends a data reading request to the Fabric blockchain platform, namely, the keyword and the personal certificate information are sent to the Peer node.
The Peer node extracts certificate information from the data reading request and requests a CA node for verifying the certificate information.
And after receiving the verification certificate request of the Peer node, the CA node inquires in a certificate library and returns a result to the Peer node.
And if the Peer node receives the result that the certificate is illegal, returning error information, if the Peer node receives the result that the certificate is legal, continuously verifying the signature of the keyword, if the verification is invalid, returning the error information, and if the verification is valid, inquiring a state database to obtain an encrypted DNA sequence corresponding to the keyword.
And the Peer node returns the encrypted DNA sequence to an application node.
And the application node returns the encrypted DNA sequence to the Web interfaces of other users.
And the other users input decryption passwords on the Web interface to decrypt the encrypted DNA sequence to obtain the shared DNA sequence.
The method has the advantages that a novel method is provided for safe storage and sharing of the DNA sequence by applying the characteristics of safety and reliability, irreparable data, credibility and the like of the Fabric Block chain platform, the safety problems of DNA sequence data tampering, damage, deletion and the like in the traditional centralized database storage are solved, the CA node authentication mechanism is used for ensuring that only authorized users can read the DNA sequence shared by other users, and the problem that the DNA sequence is randomly read by any user is avoided. The method and the device can provide technical support for the development of the field of biological information, help DNA sequence research units to cooperate with each other, and jointly complete biological research.
Drawings
FIG. 1 is a schematic diagram of secure storage and sharing of DNA sequences constructed based on Fabric;
FIG. 2 is a diagram of steps for new user registration;
FIG. 3 is a diagram of steps taken to log in by a user;
FIG. 4 is a diagram of the steps a user safely stores a DNA sequence to the Fabric blockchain platform;
FIG. 5 is a diagram of a user's steps in querying the Fabry blockchain platform for DNA sequences uploaded by other users.
Detailed Description
In order to better describe how the method for secure storage and sharing of a Fabric-based DNA sequence is implemented in the present application, the following detailed description of the embodiments of the present application is provided with reference to the accompanying drawings.
The safe storage and sharing method of the DNA sequence is realized based on a Fabric Block chain platform, the Fabric is one of union chains in the Block chain technology, and a distributed network is required to be adopted for construction. The method is realized on the basis of a Fabric blockchain platform, the constructed distributed network contains 4 types of nodes, a schematic diagram of network connection among the 4 types of nodes is shown in FIG. 1, and corresponding adjustment can be performed according to the scale of a DNA sequence and application requirements in specific implementation, namely the number of Orderer node clusters and the number of Peer node clusters can be adjusted according to specific user scale.
The functions of the CA node, the Orderer node and the Peer node in the Fabric blockchain platform can be directly realized by adopting modules realized by the Fabric, but a chain code for writing a DNA sequence and reading the DNA sequence is required to be realized and is deployed into the Fabric blockchain platform. The DNA sequence storage and sharing application node needs to provide a friendly interactive mode in a Web interface mode, a user performs 4 types of operations of registering, logging in, uploading DNA sequences and reading the DNA sequences shared by other people on the Web interface, and the user also needs to include options of input boxes, importing, viewing, downloading and the like corresponding to the 4 types of operations.
The present application will next describe in detail embodiments of 4 types of operations, i.e., new user registration, user login, DNA sequence upload, and DNA sequence sharing by others, with reference to the form of the accompanying drawings.
In order to ensure that the DNA sequence is not accessed by any user or to avoid the uploading of the DNA sequence by irrelevant users, the application needs to perform authorization management on users using the safe storage and sharing of the DNA sequence, namely, only authorized users are allowed to upload or read the DNA sequence data. The application performs a description of the registration steps for a new user to be used, and the specific implementation is shown in fig. 2, and the specific steps are as follows:
(1) setting user name and password and other related book information on a DNA sequence storage and sharing application node by a new user, and then initiating a request for registering the new user;
(2) before processing the registration request, the application node verifies whether the registration request is legal or not, if not, the application node directly returns the error reason to the user, and if the registration request is legal, the application node executes the next step;
(3) the application node sends a request to the CA node through an SDK registration service interface provided by the CA node;
(4) the CA node writes the new user registration data into the certificate bank, generates a corresponding certificate and updates the certificate bank;
(5) the CA node returns the certificate result to the application node.
According to the method, the user can store the DNA sequence or access the DNA sequence shared by other people in the Fabric Block chain platform only after logging successfully, the specific implementation mode is shown in FIG. 3, and the user logging steps are as follows:
(1) a user inputs related login information such as a user name and a password on a DNA sequence storage and sharing application node and then initiates a login request;
(2) the application node verifies whether the login request is legal or not, if not, the error reason is directly returned to the user, and if the login request is legal, the next step is executed;
(3) the application node sends a request to the CA node through an SDK certificate inquiry service interface provided by the CA node;
(4) the CA node inquires whether the certificate exists in a certificate bank;
(5) the CA node returns the certificate inquiry result to the application node;
(6) and the application node processes the returned result of the CA node, prompts the user that the login fails if the user does not exist, generates the TOKEN accessed by the user at this time if the user exists, and prompts the user that the login is successful.
The method mainly utilizes the characteristics that a Fabric blockchain platform has data safe storage, is not falsifiable and is trustable to realize the safe storage of the DNA sequence and efficiently share the DNA sequence among different users. FIG. 4 shows the process of a user securely storing a DNA sequence on the Fabric blockchain platform, wherein the DNA sequence is stored in a distributed manner on each node in the Fabric blockchain platform, and the process of how data is stored in a distributed manner on each node is provided by the Fabric platform itself, which is not described in detail herein. The specific steps of uploading the DNA sequence are as follows:
(1) under the condition that a user successfully logs in, inputting a DNA sequence to be uploaded to a Fabric Block chain platform on a Web page in a mode of manually inputting the DNA sequence on an application node or in a mode of introducing the DNA sequence through an external file, assigning a unique keyword to the DNA sequence to be uploaded, combining the keyword and the DNA sequence into key value pair data, and combining personal certificate information of the user together to form a DNA sequence uploading request and submit the DNA sequence;
(2) the application node verifies whether a DNA sequence request uploaded by a user is legal or not, wherein the DNA sequence request comprises whether a DNA sequence format is correct or not and whether a keyword is legal or not, if the verification is illegal, error information is displayed on a Web interface to prompt the user, and if the verification is legal, the next step is executed;
(3) the application node encrypts the data of the DNA sequence uploaded by the user and signs the encrypted data by adopting the personal certificate information of the user;
(4) an application node sends a data writing request to a Peer node in a Fabric Block Link platform, namely, a DNA sequence after encryption and signature, a keyword and user certificate information are sent to the Peer node;
(5) the Peer node extracts certificate information from the data writing request of the application node and requests the CA node for verifying the certificate information;
(6) after receiving a certificate verification request of the Peer node, the CA node inquires in a certificate library and returns a result to the Peer node, and if the certificate is verified wrongly, the Peer node can prompt a user on a Web interface through an application node;
(7) the Peer node verifies the signature of the DNA sequence sent by the application node, if the signature is abnormal, the Peer node prompts a user on a Web interface through the application node, and if the signature is normal, the Peer node executes the next step;
(8) the Peer node simulates and executes write-in operation and endorses a write-in result according to a set endorsement strategy;
(9) the Peer node returns the endorsement result to the application node;
(10) the application node collects endorsement results sent by a plurality of Peer nodes;
(11) the application node sends an endorsement result to the Orderer node, namely, a transaction request is initiated to update the account book on each Peer node;
(12) the Orderer node sequences and packs the transaction requests into a block after receiving the transaction requests sent by the Peer node;
(13) the Orderer node sends the packed blocks to all Peer nodes;
(14) the Peer node writes the blocks received from the Orderer node into a local account book;
(15) the Peer node informs the application node of successfully storing the DNA sequence into the Fabric Block Link platform;
(16) the application node informs the user on the Web interface that the DNA sequence was successfully stored.
The method realizes the consistent storage of the DNA sequence on a plurality of computing nodes based on the Fabric block chain platform, and provides a platform for mutually sharing resources for related scientific research institutions, medical institutions and the like generating the DNA sequence. In the DNA sequence storage platform realized based on Fabric, units can mutually access respective uploaded DNA sequences, but the access of the units to the platform needs to pass CA authentication, thereby avoiding the illegal access of the unrelated units to the DNA sequences. The process of sharing the DNA sequence is a process of inquiring the DNA sequences uploaded by other users by the users. A user queries a complete DNA sequence uploaded by other users according to a keyword of a DNA sequence to be queried, wherein the keyword can be shared among different units through other channels, for example, the unit informs the shared unit through an email or a short message, and the user can query a specific DNA sequence in a Fabric platform after having the keyword, and the specific steps are shown in FIG. 5;
(1) under the condition that a user successfully logs in, inputting a keyword of a DNA sequence to be queried on an application node through a Web page, signing the keyword by adopting personal certificate information of the user, and simultaneously combining the personal certificate information of the user together to form a DNA sequence query request;
(2) the application node verifies whether the request of the user for inquiring the DNA sequence is legal or not, including whether the keyword format is correct or not, if the verification is illegal, error information is displayed on a Web interface to prompt the user, and if the verification is legal, the next step is executed;
(3) the application node signs the keyword by using the user certificate information, and then submits a data reading request to the Peer node in the Fabric blockchain platform, namely, the keyword, the signature information and the user certificate information are sent to the Peer node;
(4) the Peer node extracts certificate information from the data reading request of the application node and requests the CA node for verifying the certificate information;
(5) after receiving a certificate verification request of the Peer node, the CA node inquires in a certificate library and returns a result to the Peer node, if the certificate is verified wrongly, the Peer node prompts a user on a Web interface through an application node, and if the certificate is verified normally, the CA node executes the next step;
(6) the Peer node verifies the signature of the keyword sent by the application node, if the signature is abnormal, the Peer node prompts a user on a Web interface through the application node, and if the signature is normal, the Peer node executes the next step;
(7) the Peer node queries a state database to obtain an encrypted DNA sequence corresponding to the keyword;
(8) the Peer node returns the result obtained by the query to the application node;
(9) the application node sends the query result returned by the Peer node to a Web page;
(10) a user inputs a decryption password on a Web page, and decrypts the inquired encrypted DNA sequence to finally obtain a DNA sequence shared by other users; the decryption password is shared among users through other channels, such as short message or telephone notification.

Claims (6)

1. A DNA sequence safe storage and sharing method based on Fabric is characterized in that the method is realized based on a Fabric block chain platform, the Fabric block chain platform comprises CA nodes, Orderer nodes and Peer nodes, and the CA nodes, the Orderer nodes and the Peer nodes are connected with a DNA sequence storage and sharing application node through a network to realize safe storage and sharing of DNA sequences.
2. The Fabric-based DNA sequence secure storage and sharing method of claim 1, wherein the DNA sequence storage and sharing application node interacts with the Fabric blockchain platform after acquiring the legal identity card from the CA node, submits a transaction proposal to the endorsement node in the Peer node, constructs a legal transaction request by the endorsement after collecting enough endorsement results, and sends the legal transaction request to the Orderer node for sorting, and the application node learns whether the transaction is successfully received by monitoring the message in the Fabric blockchain platform.
3. The method of claim 1, wherein the user has to complete registration of a new user before uploading a DNA sequence or obtaining a DNA sequence shared by other users, the registration step comprises:
the new user sets the user name and password and other related book information on the application node, and then initiates a request for registering the new user;
before the application node processes the registration request, whether the application node is legal or not is verified, if the application node is illegal, the application node directly returns an error reason, and if the application node is legal, the application node initiates a request to a CA node through an SDK registration service interface of the CA node;
the CA node writes the registration information of the new user into the certificate library, generates a corresponding certificate, updates the certificate library and returns a certificate result to the application node;
and after the new user is successfully registered, logging in can be carried out.
4. The method of claim 1, wherein the user successfully logs in before uploading the DNA sequence or obtaining the DNA sequence shared by other users, and the logging step comprises:
the user inputs related login information such as a user name and a password on an application node and then initiates a login request;
the application node verifies whether the login request is legal or not, if not, the error reason is directly returned, and if the login request is legal, the request is sent to the CA node through an SDK certificate inquiry service interface of the CA node;
the CA node inquires whether the certificate exists in a certificate library, if not, error information is returned, and if so, the certificate inquiry result is returned to the application node;
and the application node processes the returned result of the CA node, prompts the user that the login fails if the user does not exist, generates the TOKEN accessed by the user at this time if the user exists, and prompts the user that the login is successful.
5. The Fabric-based secure storage and sharing method of DNA sequences of claim 1, wherein the step of uploading DNA sequences by a user comprises:
the user inputs the DNA sequence by manually inputting the DNA sequence or importing an external file into the DNA sequence, and simultaneously appoints a unique keyword to the DNA sequence to be uploaded, forms key value pair data by the keyword and the DNA sequence, and constructs a DNA sequence uploading request together with personal certificate information of the user;
the application node carries out validity verification on the request for uploading the DNA sequence, if the verification is not legal, error information is returned, if the verification is legal, data encryption processing is carried out on the DNA sequence, and meanwhile, the encrypted data is signed by adopting personal certificate information of a user;
the application node sends a data writing request to a Peer node in a Fabric Block Link platform;
the Peer node extracts certificate information from the data writing request and requests the CA node for verifying the certificate information;
after the CA node receives a certificate verification request of the Peer node, inquiring in a certificate library and returning a result to the Peer node;
if the Peer node receives the result that the certificate is illegal, returning error information, if the Peer node receives the result that the certificate is legal, continuing to verify the signature of the DNA sequence, if the verification is invalid, returning error information, if the verification is valid, simulating to execute the writing operation, and endorsing the writing result according to a set endorsing strategy to obtain an endorsing result, and returning the endorsing result to the application node;
the application node collects endorsement results sent by the Peer nodes, and then sends the endorsement results to the Orderer node, namely initiates a transaction request to update the ledger on each Peer node;
the order node sequences after receiving a plurality of transaction requests sent by the Peer node, packs the transaction requests into a block, and then sends the packed block to all Peer nodes;
the Peer node writes the blocks received from the Orderer node into a local account book, and informs an application node of successful uploading of the DNA sequence, and the application node informs a user of successful uploading of the DNA sequence.
6. The method of claim 1, wherein the step of obtaining the DNA sequences uploaded by other users comprises:
the user inputs keywords at an application node, signs and initiates a request for obtaining a DNA sequence together with user certificate information;
the application node verifies whether the DNA sequence request is legal or not, if the DNA sequence request is not legal, error information is returned to the user, and if the DNA sequence request is legal, the next step is executed;
the application node sends a data reading request to a Peer node in a Fabric blockchain platform;
the Peer node extracts certificate information from the data reading request and requests the CA node for verifying the certificate information;
after the CA node receives a certificate verification request of the Peer node, inquiring in a certificate library and returning a result to the Peer node;
if the Peer node receives the result that the certificate is illegal, returning error information, if the Peer node receives the result that the certificate is legal, continuously verifying the signature of the keyword, if the verification is invalid, returning error information, and if the verification is valid, inquiring a state database to obtain an encrypted DNA sequence corresponding to the keyword;
the Peer node returns the encrypted DNA sequence to an application node;
and the application node decrypts the encrypted DNA sequence according to the password input by the user to obtain the shared DNA sequence.
CN202010094960.4A 2020-02-18 2020-02-18 Fabric-based DNA sequence safe storage and sharing method Pending CN113343249A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010094960.4A CN113343249A (en) 2020-02-18 2020-02-18 Fabric-based DNA sequence safe storage and sharing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010094960.4A CN113343249A (en) 2020-02-18 2020-02-18 Fabric-based DNA sequence safe storage and sharing method

Publications (1)

Publication Number Publication Date
CN113343249A true CN113343249A (en) 2021-09-03

Family

ID=77466950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010094960.4A Pending CN113343249A (en) 2020-02-18 2020-02-18 Fabric-based DNA sequence safe storage and sharing method

Country Status (1)

Country Link
CN (1) CN113343249A (en)

Similar Documents

Publication Publication Date Title
Namasudra et al. The revolution of blockchain: State-of-the-art and research challenges
Sharma et al. Blockchain technology for cloud storage: A systematic literature review
CN110519062B (en) Identity authentication method, authentication system and storage medium based on block chain
US20210409221A1 (en) Portable Biometric Identity on a Distributed Data Storage Layer
US11301845B2 (en) Cryptoasset custodial system with proof-of-stake blockchain support
US20220337411A1 (en) Cryptoasset custodial system with vault-specific rules governing different actions allowed for different vaults
CN108418680B (en) Block chain key recovery method and medium based on secure multi-party computing technology
CN111552955B (en) Personal identity authentication method and device based on block chain and IPFS
CN111914027B (en) Block chain transaction keyword searchable encryption method and system
CN111261250B (en) Medical data sharing method and device based on block chain technology, electronic equipment and storage medium
CN108389615A (en) A kind of pregnant baby retrospect deposit system and method based on block chain technology
CN108898389A (en) Based on the content verification method and device of block chain, electronic equipment
CN109246175B (en) Electronic voting system and control method
JP2021516004A (en) Distributed ledger for generating and validating random sequences
EP3997606B1 (en) Cryptoasset custodial system with custom logic
CN113487042B (en) Federal learning method, device and federal learning system
EP3785420A1 (en) Multi-decentralized private blockchains network
CN105518687A (en) Secure data storage
KR20190138389A (en) Blockchain for physical identity management using One-time-password
US20190392407A1 (en) Encrypted asset transfer system and method for facilitating transfer of digital assets
US11405198B2 (en) System and method for storing and managing keys for signing transactions using key of cluster managed in trusted execution environment
US11876915B2 (en) Method, apparatus, and computer-readable medium for authentication and authorization of networked data transactions
KR20190132052A (en) Smart Contract based on Blockchain for Cryptocurrency Trading Platform
KR20190132159A (en) Method for Providing Cryptocurrency Trading Platform based on Blockchain by using Smart Contract
CN114818010B (en) Block chain medical record safe storage and sharing method based on double-chain structure

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