Bone marrow matching method and device, electronic device, and storage medium based on blockchain

By signing and broadcasting the gene hash values ​​of recipients and donors in the blockchain network, the problems of long bone marrow matching time and gene information leakage are solved, and an efficient and safe bone marrow matching process is achieved.

CN114297683BActive Publication Date: 2025-03-18CHINA UNITED NETWORK COMM GRP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111626325.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-28
Publication Date
2025-03-18
Estimated Expiration
2041-12-28

AI Technical Summary

Technical Problem

In the prior art, bone marrow matching time is long and the risk of gene information leakage is higher.

Method used

The blockchain-based bone marrow matching method is adopted to ensure the safety and efficiency of the matching process by obtaining the gene point information of recipients and donors, calculating hash values, and signing and broadcasting in the blockchain network.

Benefits of technology

The bone marrow matching process is simplified, the matching time is shortened, the efficiency is improved, and the privacy of genetic information is protected through blockchain technology and information leakage is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114297683B_ABST
    Figure CN114297683B_ABST
Patent Text Reader

Abstract

The present invention discloses a bone marrow matching method and device based on blockchain, an electronic device, and a storage medium, and belongs to the field of blockchain technology. The method includes: obtaining the gene position information of the recipient, and obtaining the recipient hash value based on the gene position information of the recipient; signing the recipient hash value with the private key of the recipient node to obtain the first recipient node broadcast information; broadcasting the first recipient node broadcast information in the blockchain network; receiving the first donation node broadcast message broadcasted by the target donation node in the blockchain; wherein the first donation node broadcast message includes the donor hash value; wherein the donor hash value is obtained by hash calculation based on the donor's gene position information; comparing the donor hash value and the recipient hash value, and determining that the bone marrow matching is successful when the donor hash value and the recipient hash value are consistent. The method avoids the risk of genetic information being leaked and improves the efficiency of bone marrow matching.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, and in particular to a bone marrow matching method and device, electronic equipment, and storage medium based on blockchain. Background Art

[0002] Bone marrow matching is the key to bone marrow transplantation. Fully matched bone marrow matching is less likely to cause rejection in the later stage, while half-matched matching is more likely to cause rejection. Rejection can easily cause a large number of recipients to suffer from illness or transplant failure, and may be so serious that it is uncontrollable and cause death. Therefore, for the recipient, finding a fully matched bone marrow matching is the most ideal result.

[0003] Currently, during the bone marrow matching stage, the recipient needs to go through a cumbersome process from submitting a bone type matching application to receiving the target donation node. The waiting time for bone marrow matching is long, and it is easy to miss the best time for surgery. Moreover, during the bone marrow matching process, there is a risk of the genetic information of the recipient and the donor being leaked. Summary of the invention

[0004] To this end, the present invention provides a blockchain-based bone marrow matching method and device, electronic device, and storage medium to solve the problems of long bone marrow matching time and leakage of genetic information in the prior art.

[0005] In order to achieve the above-mentioned object, the first aspect of the present invention provides a bone marrow matching method based on blockchain, which is applied to a recipient node, comprising:

[0006] Acquire the gene locus information of the recipient, and obtain the recipient's hash value based on the gene locus information of the recipient;

[0007] Sign the recipient hash value using the private key of the recipient node to obtain the first recipient node broadcast information;

[0008] Send the first recipient node broadcast information to the blockchain network for broadcasting, so that the bone marrow bank node can obtain the target donation node based on the recipient hash value;

[0009] Receiving a first donation node broadcast message broadcasted by the target donation node in the blockchain; wherein the first donation node broadcast message includes a donor hash value; wherein the donor hash value is obtained by hash calculation based on the donor's gene point information;

[0010] The donor hash value and the recipient hash value are compared, and if the donor hash value and the recipient hash value are consistent, it is determined that the bone marrow matching is successful.

[0011] The step of obtaining the gene locus information of the recipient and obtaining the recipient's hash value based on the gene locus information of the recipient includes:

[0012] Acquiring multiple gene locus information of the recipient;

[0013] Sorting the multiple gene loci information of the recipient according to a pre-agreed order to obtain the gene loci sorting result of the recipient;

[0014] The recipient hash value is obtained by hash calculation based on the gene locus sorting result of the recipient.

[0015] Wherein, the first donation node broadcast message also includes donation expectations;

[0016] After the bone marrow matching is successful, the following steps are also included:

[0017] When the donation expectation is within a preset range, a second recipient node broadcast message is generated; wherein the second recipient node broadcast message includes information about the expected donation.

[0018] Wherein, when the donation expectation is within a preset range, after generating the second recipient node broadcast message, the method further includes:

[0019] Receiving a second donation node broadcast message; wherein the second donation node broadcast message is obtained by the donation node encrypting the donor's physical examination report using the recipient node's private key and in accordance with a pre-agreed algorithm, and then signing the encrypted physical examination report using its own private key;

[0020] Verifying the donation node in the second donation node broadcast message using the donation node public key;

[0021] If the verification is successful, the encrypted medical examination report is decrypted using the user's own private key and in accordance with a pre-agreed algorithm to obtain the medical examination report;

[0022] When the physical examination report meets the preset conditions, a smart contract is generated, and the smart contract is signed with its own private key to obtain a broadcast message from the third recipient node;

[0023] Broadcast the third recipient node broadcast message on the blockchain.

[0024] Wherein, after the blockchain broadcasts the third donated node broadcast message, the method further includes:

[0025] In the event that the bone marrow donation is concluded, the terms in the smart contract are executed.

[0026] In order to achieve the above-mentioned object, the second aspect of the present invention provides a bone marrow matching method based on blockchain, which is applied to a donation node and comprises:

[0027] In response to the online message, the gene locus information of the donor is obtained, and the donor hash value is obtained based on the gene locus information of the donor; wherein the online message is a message sent by the bone marrow bank node to the donor corresponding to the donor hash value when the bone marrow bank node obtains the donor hash value corresponding to the recipient hash value;

[0028] The donor hash value is signed using the private key of the donor node to obtain a first donor node broadcast message, and the first donor node broadcast message is broadcast in the blockchain so that the recipient node can determine that the bone marrow matching is successful when the donor hash value and the recipient hash value are consistent.

[0029] The step of obtaining the donor's gene locus information and obtaining the donor's hash value based on the donor's gene locus information includes:

[0030] Acquiring multiple gene locus information of multiple donors;

[0031] Sorting the donor's gene locus information according to a pre-agreed order to obtain the donor's gene sequencing result;

[0032] A hash calculation is performed on the donor gene sequencing result to obtain a donor hash value.

[0033] After broadcasting the first donation node broadcast message in the blockchain, the method further includes:

[0034] Receiving a second donated node broadcast message; wherein the second donated node broadcast message includes information about the expected donation;

[0035] Obtaining the donor's medical examination report; wherein the medical examination report is obtained through a medical examination with the donor's consent to donation;

[0036] Sign the physical examination report using the private key of the donation node to obtain a second donation node broadcast message;

[0037] Broadcast the second donation node broadcast message in the blockchain.

[0038] Wherein, after broadcasting the second donation node broadcast message in the blockchain, the method further comprises:

[0039] Receiving a third recipient node broadcast message; wherein the third recipient node broadcast message is obtained after the recipient node determines that the physical examination report meets the preset conditions, generates a smart contract, and signs the smart contract using the private key of the recipient node;

[0040] In the case of agreeing to the smart contract, the smart contract is signed using the private key of the donation node to generate a third donation node broadcast message.

[0041] In order to achieve the above-mentioned object, the third aspect of the present invention provides a bone marrow matching method based on blockchain, which is applied to a bone marrow bank node, comprising:

[0042] Receive the first recipient node broadcast information; wherein the first recipient node broadcast information is obtained by the recipient node using its private key to sign the recipient hash value, and the recipient hash value is calculated based on the recipient's gene point information;

[0043] Verifying the private key signature of the donated node using the public key of the donated node;

[0044] If the verification is successful, query the database according to the recipient's hash value;

[0045] When a donor hash value corresponding to the recipient hash value is obtained in the database, an online message is sent to the donor corresponding to the donor hash value.

[0046] In order to achieve the above-mentioned purpose, the fourth aspect of the present invention provides a bone marrow matching device based on blockchain, which is applied to a recipient node, comprising:

[0047] A first acquisition module, used to acquire gene locus information of a recipient, and obtain a recipient hash value based on the gene locus information of the recipient;

[0048] A first signature module, used to sign the recipient hash value using the private key of the recipient node to obtain the first recipient node broadcast information;

[0049] A first broadcast module, used for sending the first recipient node broadcast information to the blockchain network for broadcasting, so that the bone marrow bank node can obtain the target donation node based on the recipient hash value;

[0050] A first receiving module, configured to receive a first donor node broadcast message; wherein the first donor node broadcast message includes a donor hash value; wherein the donor hash value is obtained by hash calculation based on the donor's gene point information;

[0051] The comparison module is used to compare whether the donor hash value and the recipient hash value are consistent, and determine that the bone marrow matching is successful if the donor hash value and the recipient hash value are consistent.

[0052] In order to achieve the above-mentioned object, the fifth aspect of the present invention provides a bone marrow matching device based on blockchain, which is applied to a donation node and includes:

[0053] A second acquisition module is used to obtain the gene locus information of the donor in response to the online message, and obtain the donor hash value based on the gene locus information of the donor; wherein the online message is a message sent by the bone marrow bank node to the donor corresponding to the donor hash value when the bone marrow bank node obtains the donor hash value corresponding to the recipient hash value;

[0054] The second signature module is used to sign the donor hash value using the private key of the donor node, obtain the first donor node broadcast message, and broadcast the first donor node broadcast message in the blockchain, so that the recipient node can determine that the bone marrow matching is successful when the donor hash value and the recipient hash value are consistent.

[0055] In order to achieve the above-mentioned purpose, the sixth aspect of the present invention provides a bone marrow matching device based on blockchain, which is applied to a bone marrow bank node, comprising:

[0056] A third receiving module is used to receive the first recipient node broadcast information; wherein the first recipient node broadcast information is obtained by the recipient node using its private key to sign the recipient hash value, and the recipient hash value is calculated based on the recipient's gene point information;

[0057] A third signature verification module, used to verify the private key signature of the recipient node using the public key of the recipient node;

[0058] A query module, used to query the database according to the recipient's hash value when the verification is passed;

[0059] The third acquisition module is used to obtain the contact information of the donor corresponding to the donor hash value when the donor hash value corresponding to the recipient hash value is obtained in the database.

[0060] In order to achieve the above-mentioned object, a seventh aspect of the present invention provides an electronic device, characterized in that it includes:

[0061] one or more processors;

[0062] A storage device having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any one of the first aspect, the second aspect, and the third aspect;

[0063] One or more I / O interfaces are connected between the processor and the memory and are configured to implement information interaction between the processor and the memory.

[0064] In order to achieve the above-mentioned purpose, the eighth aspect of the present invention provides a computer-readable medium having a computer program stored thereon, and when the program is executed by a processor, the method described in any one of the first aspect, the second aspect and the third aspect is implemented.

[0065] The present invention has the following advantages:

[0066] The blockchain-based bone marrow matching method provided by the embodiment of the present invention obtains a recipient hash value based on the gene locus information of the recipient, signs the recipient hash value with the private key of the recipient node to obtain the first recipient node broadcast information and broadcasts it on the blockchain network, receives the first donation node broadcast message broadcasted by the target donation node in the blockchain, compares the donor hash value and the recipient hash value, and determines that the bone marrow matching is successful when the donor hash value and the recipient hash value are consistent. Since the hash value determined based on the gene information is broadcasted in the blockchain, the gene locus information is not directly broadcasted, thereby avoiding the risk of gene information leakage. Moreover, the entire bone marrow matching process is completed by the donor node, the recipient node and the bone marrow bank node using the blockchain network, thereby simplifying the bone marrow matching process, shortening the bone marrow matching time and improving the bone marrow matching efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present invention, but do not constitute a limitation of the present invention.

[0068] Figure 1 An application scenario diagram of a blockchain-based bone marrow matching method provided in an embodiment of the present application;

[0069] Figure 2 A flowchart of a blockchain-based bone marrow matching method provided in an embodiment of the present application;

[0070] Figure 3 This is a flowchart after the second recipient node broadcast message is generated in an embodiment of the present application;

[0071] Figure 4 A flowchart of a blockchain-based bone marrow matching method provided in an embodiment of the present application;

[0072] Figure 5 A flowchart of a blockchain-based bone marrow matching method provided in an embodiment of the present application;

[0073] Figure 6 A block diagram of a bone marrow matching device based on blockchain provided in an embodiment of the present application;

[0074] Figure 7A block diagram of a blockchain-based bone marrow matching device provided in an embodiment of the present application;

[0075] Figure 8 A block diagram of a blockchain-based bone marrow matching device provided in an embodiment of the present application;

[0076] Fig. 9 A flowchart of a blockchain-based bone marrow matching method provided in an embodiment of the present application;

[0077] Fig.10 A functional block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0078] The specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present invention, and is not used to limit the present invention.

[0079] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0080] The terms used in the present invention are only used to describe specific embodiments and are not intended to limit the present invention. As used in the present invention, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.

[0081] When the terms “comprising” and / or “made of…” are used in the present invention, it specifies the existence of the stated features, integers, steps, operations, elements and / or components, but does not exclude the existence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

[0082] Unless otherwise defined, all terms (including technical and scientific terms) used in the present invention have the same meaning as those commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and the present invention, and will not be interpreted as having an idealized or overly formal meaning unless the present invention clearly defines it as such.

[0083] Figure 1 This is an application scenario diagram of a blockchain-based bone marrow matching method provided in an embodiment of the present application. Figure 1As shown, the blockchain-based bone marrow matching method involves a recipient node 11, a donor node 12 and a bone marrow bank node 13, wherein the recipient node 11 is a node used by the recipient, the recipient sends messages to or receives messages from the blockchain network 14 through the recipient node 11, and the donor sends messages to or receives messages from the blockchain network 14 through the donor node 12.

[0084] The bone marrow bank node 13 stores multiple gene locus information of the donor, or pre-sorts the multiple gene locus information of the donor in an agreed order and calculates the corresponding donor hash value. The bone marrow bank node 13 can also store blood type information, age and gender, etc.

[0085] The bone marrow bank node 13 maintains and updates the bone marrow donor list information in real time, excludes donors whose age exceeds a preset age threshold, or removes the donor from the bone marrow donor list when the donor's physical condition does not allow or subjective will does not agree to donate.

[0086] In this embodiment, each node has its own blockchain public key and blockchain private key. For the sake of ease of description, this embodiment refers to the blockchain network as a blockchain, the blockchain public key as a public key, and the blockchain private key as a private key.

[0087] On the first aspect, the embodiments of the present application provide a blockchain-based bone marrow matching method, which is applied to the recipient node, can improve the efficiency of bone marrow matching and avoid the leakage of gene locus information of the recipient and the donor.

[0088] Figure 2 A flowchart of a blockchain-based bone marrow matching method provided in an embodiment of the present application. Figure 2 As shown, the blockchain-based bone marrow matching method includes:

[0089] Step S201, obtaining the gene locus information of the recipient, and obtaining the recipient's hash value based on the gene locus information of the recipient.

[0090] The gene locus information of the recipient is obtained after the recipient undergoes a special examination in a professional institution (such as a hospital). The gene locus information of the recipient is obtained for the purpose of achieving bone marrow matching, and multiple important gene locus information, such as obtaining ten gene locus information, is obtained.

[0091] This embodiment obtains the recipient's hash value based on the recipient's gene locus information and according to a preset hash algorithm, and broadcasts it in the blockchain network.

[0092] Step S202: Use the private key of the recipient node to sign the recipient hash value to obtain the first recipient node broadcast information.

[0093] Among them, the private key of the recipient node and the public key of the recipient node are both the secret keys of the recipient node. The signature of the private key of the recipient node can be verified using the public key of the recipient node.

[0094] In some embodiments, the recipient's hash value is signed using the recipient's private key to obtain the first recipient node broadcast information, that is, the information broadcast in the blockchain is the recipient's hash value, rather than the recipient's gene locus information, which can prevent the recipient's gene locus information from being leaked.

[0095] Step S203, sending the first recipient node broadcast information to the blockchain network for broadcasting, so that the bone marrow bank node can obtain the target donation node based on the recipient hash value.

[0096] After receiving the broadcast information of the first recipient node, the bone marrow bank node uses the blockchain identifier of the recipient node to query the public key of the recipient node in the blockchain account book, and then uses the public key of the recipient node to verify the private key signature of the recipient node in the first recipient node broadcast information. If the verification is successful, the recipient hash value is obtained, and then the database of the bone marrow bank node is queried to see if there is a record in the database that is consistent with the recipient hash value. If there is, the donor node corresponding to the record is used as the target donor node, and the donor corresponding to the record is used as the target donor.

[0097] In some embodiments, after receiving the broadcast information of the first recipient node, multiple bone marrow bank nodes query their own databases respectively, and if there is no record with the same hash value of the recipient in the database, the subsequent steps are terminated. If there is a record with the same hash value of the recipient in the database, the subsequent steps are performed.

[0098] In some embodiments, after the bone marrow bank node determines the donation node, it sends a message to the donor to notify the donor to go online. For example, the bone marrow bank node searches for the target donor's phone number and other communication information, and notifies the donor to go online by phone. Among them, the bone marrow bank node can automatically dial the donor's phone or the staff of the bone marrow bank node can notify the donor to go online by phone. Among them, the communication method such as telephone, the hash value of the donor's gene point information and other information are pre-stored in the bone marrow bank by the donor.

[0099] Step S204: receiving a first donation node broadcast message broadcasted by the target donation node in the blockchain.

[0100] The first donation node broadcast message includes a donor hash value, and the donor hash value is obtained through hash calculation based on the donor's gene site information.

[0101] After receiving the online notification, the target donor obtains the donor hash value based on his / her own gene site information and the preset hash algorithm. Then he / she uses his / her own private key to sign the donor hash value, the identification of consent to donation and the donation expectation, obtains the first donation node broadcast message, and broadcasts the first donation node broadcast message in the blockchain.

[0102] Step S205, comparing the donor's hash value and the recipient's hash value, and determining that the bone marrow matching is successful if the donor's hash value and the recipient's hash value are consistent.

[0103] After receiving the broadcast message from the first donor node, the recipient node verifies the private key signature of the donor node using the donor node public key. If the verification is successful, the donor hash value is obtained. The donor hash value is compared with the recipient hash value. If the donor hash value and the recipient hash value are consistent, the bone marrow matching is determined to be successful.

[0104] In some embodiments, step S201 obtains the gene locus information of the recipient, and obtains the recipient hash value based on the gene locus information of the recipient, including: obtaining the gene locus information of multiple recipients; sorting the gene locus information of the multiple recipients in a pre-agreed order to obtain the recipient gene locus sorting result; and obtaining the recipient hash value based on the recipient gene locus sorting result.

[0105] For example, the donation node obtains the gene locus information of the recipients of ten donors, sorts the gene locus information of the ten recipients in a pre-agreed order, and obtains the recipient gene locus sorting result; based on the recipient gene locus sorting result, the recipient hash value is obtained through hash calculation.

[0106] In some embodiments, the donation node uses its own private key to sign the donor hash value, donation expectation and donation consent information to obtain the first donation node broadcast message.

[0107] After the bone marrow matching is successful, step S205 further includes: generating a second recipient node broadcast message when the donation expectation is within a preset range.

[0108] After the bone marrow matching is successful, the donor node also needs to determine whether the donation expectation is within the preset range. If the donation expectation is accepted, a second recipient node broadcast message is generated; if the donation expectation is not accepted, the bone marrow matching procedure is terminated. The second recipient node broadcast message includes information that the recipient clearly expects to receive bone marrow donations.

[0109] In some embodiments, the recipient node signs a message of its expectation to accept the donation using its own private key, and obtains a second recipient node broadcast message so that the donor node can prepare for subsequent procedures, such as a physical examination, after knowing that the donation has been received.

[0110] like Figure 3 As shown, when the recipient node determines that the donation expectation is within a preset range, after generating a second recipient node broadcast message, it also includes:

[0111] Step S301: receiving a broadcast message from a second donation node.

[0112] The second donation node broadcast message is obtained by the donation node using the recipient node's private key to encrypt the donor's medical examination report according to a pre-agreed algorithm, and then signing the encrypted medical examination report using its own private key.

[0113] Step S302: Use the public key of the donation node to verify the private key signature of the donation node in the second donation node broadcast message.

[0114] After receiving the broadcast message from the second donation node, the recipient node uses the public key of the donation node to verify the donation node in the broadcast message from the second donation node.

[0115] Step S303: if the verification is successful, the encrypted physical examination report is decrypted using the private key of the recipient node and according to a pre-agreed algorithm to obtain the physical examination report.

[0116] Step S304: When the physical examination report meets the preset conditions, a smart contract is generated, and the smart contract is signed using the private key of the recipient node to obtain a broadcast message from the third recipient node.

[0117] The terms of the smart contract include, but are not limited to, the blockchain identifier of the donation node, the blockchain identifier of the recipient node, donation expectations, and liquidated damages. Liquidated damages are the compensation that the donor needs to pay to the recipient for non-physical reasons that lead to a donation breach, and the compensation can be a fixed amount. This embodiment does not limit the amount of compensation.

[0118] During the bone marrow donation process, if the donor does not donate after a certain period of time (such as a few hours) after the recipient enters the warehouse to start chemotherapy and myeloablation, the recipient's life is in great danger. Therefore, it is necessary to stipulate the default time in the smart contract. Different default events are set according to different situations to constrain both the donor and the recipient. If the bone marrow donation cannot be carried out due to the donor's reasons, the donor needs to pay a penalty to the recipient. If the bone marrow donation is successful, the default deposit will be returned to the donor. Among them, the payment method can be transfer, remittance, etc.

[0119] Step S305, broadcasting a message to the third recipient node on the blockchain.

[0120] After receiving the broadcast message from the third recipient node, the donor node first uses the public key of the recipient node to verify the private key of the recipient node. After the verification is passed, the terms in the smart contract are obtained. If the donor agrees to the terms in the smart contract, the smart contract is signed twice with his own private key. That is, the smart contract is signed by the private key of the donor node and the private key of the recipient node, and the broadcast message of the third donor node is obtained. Then, the broadcast message of the third donor node is broadcast in the blockchain.

[0121] In some embodiments, after the blockchain broadcasts the third recipient node broadcast message, step S305 also includes: executing the terms in the smart contract when the bone marrow donation is completed.

[0122] The blockchain-based bone marrow matching method provided in this embodiment obtains a recipient hash value based on the gene locus information of the recipient, signs the recipient hash value with the private key of the recipient node to obtain the first recipient node broadcast information and broadcasts it on the blockchain network, receives the first donor node broadcast message broadcasted by the target donor node in the blockchain, compares the donor hash value with the recipient hash value, and determines that the bone marrow matching is successful when the donor hash value and the recipient hash value are consistent. Since what is broadcast in the blockchain is the hash value determined based on the gene information, not the gene locus information directly, the risk of gene information leakage is avoided. Moreover, the entire bone marrow matching process is completed by the donor node, the recipient node and the bone marrow bank node using the blockchain network, which simplifies the bone marrow matching process, shortens the bone marrow matching time, and improves the efficiency of bone marrow matching.

[0123] On the second aspect, the embodiment of the present application provides a blockchain-based bone marrow matching method, which is applied to donation nodes to improve the efficiency of bone marrow matching and avoid the leakage of gene locus information of recipients and donors.

[0124] Figure 4 A flowchart of a blockchain-based bone marrow matching method provided in an embodiment of the present application. Figure 4 As shown, the blockchain-based bone marrow matching method includes:

[0125] Step S401, in response to an online message, obtaining the gene locus information of the donor, and obtaining the donor hash value based on the gene locus information of the donor.

[0126] The online message is a message sent by the bone marrow bank node to the donor corresponding to the donor hash value when the bone marrow bank node obtains the donor hash value corresponding to the recipient hash value.

[0127] The online message of the bone marrow node is a message sent by the bone marrow bank node. The bone marrow node queries its own database based on the recipient's hash value. If there is a record that matches the recipient's hash value, the donation node corresponding to the record is used as the target donation node, and the online message is sent to the target donation node, or to the donor corresponding to the target donation node. The online message can be a phone notification or an email notification.

[0128] For example, the bone marrow bank node searches for the target donor's phone number and other communication information, and notifies the donor to go online by phone. The bone marrow bank node can automatically dial the donor's phone number or the staff of the bone marrow bank node can notify the donor to go online by phone. The communication method such as phone number, the hash value of the donor's gene locus information and other information are pre-stored in the bone marrow bank by the donor.

[0129] In some embodiments, after receiving the broadcast information of the first recipient node, multiple bone marrow bank nodes query their own databases respectively, and if there is no record with the same hash value of the recipient in the database, the subsequent steps are terminated. If there is a record with the same hash value of the recipient in the database, the subsequent steps are performed.

[0130] Step S402, use the private key of the donor node to sign the donor hash value, obtain the first donor node broadcast message, and broadcast the first donor node broadcast message in the blockchain, so that the recipient node can determine that the bone marrow matching is successful when the donor hash value and the recipient hash value are consistent.

[0131] Among them, the private key of the donation node and the public key of the donation node are both the secret keys of the donation node. The private key of the donation node is stored by the donation node itself, and the public key of the donation node is stored by other nodes or the founding node. The private key signature of the donation node can be verified using the public key of the donation node.

[0132] In some embodiments, the first donor node broadcast message includes at least a donor hash value, wherein the donor hash value is obtained by the donor node through hash calculation based on the donor's gene locus information.

[0133] In some embodiments, the first donation node broadcasts a message including a donor hash value, an identification of the donation agreement, and donation expectations.

[0134] The donation node uses its own private key to sign the donor hash value, the identification of consent to donation and the donation expectation, obtains the first donation node broadcast message, and broadcasts the first donation node broadcast message in the blockchain.

[0135] In some embodiments, step S401 obtains the gene locus information of the donor and obtains the donor hash value based on the gene locus information of the donor, including: obtaining multiple gene locus information of the donor; sorting the gene locus information of the donor in a pre-agreed order to obtain the donor gene sorting result; and performing hash calculation on the donor gene sorting result to obtain the donor hash value.

[0136] The pre-agreed order may be determined according to the importance of the gene locus information, and this embodiment does not limit the order of the gene locus information.

[0137] In some embodiments, after broadcasting the first donation node broadcast message in the blockchain, step S402 also includes: receiving a second recipient node broadcast message; wherein the second recipient node broadcast message includes information about the expected donation; obtaining the donor's physical examination report; wherein the physical examination report is obtained through a physical examination with the donor's consent to the donation; signing the physical examination report with the private key of the donation node to obtain a second donation node broadcast message; and broadcasting the second donation node broadcast message in the blockchain.

[0138] The medical examination report of the donor can be obtained from a professional organization. When sending the second recipient node broadcast message, the recipient node can also pay the medical examination fee to the target donor.

[0139] In some embodiments, the donation node desensitizes the donor's physical examination report, for example, desensitizes personal information such as name, ID number, contact information (such as mobile phone number, home address) in the physical examination report.

[0140] In some embodiments, after broadcasting the second donation node broadcast message in the blockchain, it includes: receiving a third recipient node broadcast message; wherein, the third recipient node broadcast message is obtained after the recipient node determines that the physical examination report meets the preset conditions, generates a smart contract, and uses the private key of the recipient node to sign the smart contract; when agreeing to the smart contract, the private key of the donation node is used to sign the smart contract to generate a third donation node broadcast message.

[0141] The blockchain-based bone marrow matching method provided in this embodiment avoids the risk of genetic information being leaked because what is broadcast in the blockchain is a hash value determined based on genetic information, and genetic locus information is not directly broadcast. Moreover, the entire bone marrow matching process is completed by the donor node, recipient node, and bone marrow bank node using the blockchain network, which simplifies the bone marrow matching process, shortens the bone marrow matching time, and improves the efficiency of bone marrow matching.

[0142] On the third aspect, the embodiment of the present application provides a blockchain-based bone marrow matching method, which is applied to the bone marrow bank node, can improve the efficiency of bone marrow matching and avoid the leakage of gene locus information of recipients and donors.

[0143] Figure 5 A flowchart of a blockchain-based bone marrow matching method provided in an embodiment of the present application. Figure 5 As shown, the blockchain-based bone marrow matching method includes:

[0144] Step S501: receiving broadcast information from a first recipient node.

[0145] The first recipient node broadcast information is obtained by signing the recipient's hash value using its private key, and the recipient's hash value is calculated based on the recipient's gene location information.

[0146] Among them, the private key of the recipient node and the public key of the recipient node are both the secret keys of the recipient node. The signature of the private key of the recipient node can be verified using the public key of the recipient node.

[0147] In some embodiments, the recipient's hash value is signed using the recipient's private key to obtain the first recipient node broadcast information, that is, the information broadcast in the blockchain is the recipient's hash value, rather than the recipient's gene locus information, which can prevent the recipient's gene locus information from being leaked.

[0148] Step S502: Use the public key of the recipient node to verify the private key signature of the recipient node.

[0149] In step S502, the bone marrow bank node verifies the private key signature of the recipient node using the public key of the recipient node.

[0150] Step S503: if the verification is successful, query the database according to the recipient's hash value.

[0151] When the private key signature of the recipient node is verified, the recipient hash value is obtained from the broadcast information of the first recipient node, and then the own database is queried based on the recipient hash value.

[0152] Step S504: When a donor hash value corresponding to the recipient hash value is obtained in the database, an online message is sent to the donor corresponding to the donor hash value.

[0153] For example, the bone marrow bank node searches for the target donor's phone number and other communication information, and notifies the donor to go online by phone. The bone marrow bank node can automatically dial the donor's phone number or the staff of the bone marrow bank node can notify the donor to go online by phone. The communication method such as phone number, the hash value of the donor's gene locus information and other information are pre-stored in the bone marrow bank by the donor.

[0154] The blockchain-based bone marrow matching method provided in this embodiment avoids the risk of genetic information being leaked because what is broadcast in the blockchain is a hash value determined based on genetic information, and genetic locus information is not directly broadcast. Moreover, the entire bone marrow matching process is completed by the donor node, recipient node, and bone marrow bank node using the blockchain network, which simplifies the bone marrow matching process, shortens the bone marrow matching time, and improves the efficiency of bone marrow matching.

[0155] The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.

[0156] Fourthly, the embodiment of the present application provides a blockchain-based bone marrow matching device, which is applied to the recipient node, can improve the efficiency of bone marrow matching and avoid the leakage of gene locus information of the recipient and the donor.

[0157] Figure 6 The following is a block diagram of a bone marrow matching device based on blockchain provided in the embodiment of the present application. Figure 6 As shown, the blockchain-based bone marrow matching device 600 includes:

[0158] The first acquisition module 601 is used to acquire the gene position information of the recipient, and obtain the recipient's hash value based on the gene position information of the recipient;

[0159] The first signature module 602 is used to sign the recipient hash value using the private key of the recipient node to obtain the first recipient node broadcast information;

[0160] The first broadcast module 603 is used to send the first recipient node broadcast information to the blockchain network for broadcasting, so that the bone marrow bank node can obtain the target donation node based on the recipient hash value;

[0161] A first receiving module 604 is used to receive a first donor node broadcast message; wherein the first donor node broadcast message includes a donor hash value; wherein the donor hash value is obtained by hash calculation based on the donor's gene point information;

[0162] The comparison module 605 is used to compare whether the donor's hash value is consistent with the recipient's hash value, and determine that the bone marrow matching is successful if the donor's hash value is consistent with the recipient's hash value.

[0163] The functions or modules included in the blockchain-based bone marrow matching device provided in the embodiments of the present application can be used to execute the method described in the method embodiment provided in the first aspect above. Its specific implementation and technical effects can refer to the description of the method embodiment above. For the sake of brevity, they will not be repeated here.

[0164] The embodiment of the present invention provides a blockchain-based bone marrow matching device, wherein the first acquisition module obtains a recipient hash value based on the gene locus information of the recipient, the first signature module signs the recipient hash value using the private key of the recipient node to obtain the first recipient node broadcast information, and uses the first broadcast module to broadcast the first recipient node broadcast information in the blockchain network, the first receiving module is used to receive the first donation node broadcast message broadcasted by the target donation node in the blockchain, and then the comparison module compares the donor hash value and the recipient hash value, and determines that the bone marrow matching is successful when the donor hash value and the recipient hash value are consistent. Since the hash value determined based on the gene information is broadcast in the blockchain, the gene locus information is not directly broadcast, thereby avoiding the risk of gene information leakage. Moreover, the entire bone marrow matching process is completed by the donor node, the recipient node and the bone marrow bank node using the blockchain network, thereby simplifying the bone marrow matching process, shortening the bone marrow matching time and improving the bone marrow matching efficiency.

[0165] In the fifth aspect, the embodiment of the present application provides a blockchain-based bone marrow matching device, which is applied to the donation node, can improve the efficiency of bone marrow matching and avoid the leakage of gene point information of the recipient and the donor.

[0166] Figure 7 The following is a block diagram of a bone marrow matching device based on blockchain provided in the embodiment of the present application. Figure 7 As shown, the blockchain-based bone marrow matching device 700 includes:

[0167] The second acquisition module 701 is used to obtain the gene locus information of the donor in response to the online message, and obtain the donor hash value based on the gene locus information of the donor.

[0168] The online message is a message sent by the bone marrow bank node to the donor corresponding to the donor hash value when the bone marrow bank node obtains the donor hash value corresponding to the recipient hash value.

[0169] The online message of the bone marrow node is a message sent by the bone marrow bank node. The bone marrow node queries its own database based on the recipient's hash value. If there is a record that matches the recipient's hash value, the donation node corresponding to the record is used as the target donation node, and the online message is sent to the target donation node, or to the donor corresponding to the target donation node. The online message can be a phone notification or an email notification.

[0170] For example, the bone marrow bank node searches for the target donor's phone number and other communication information, and notifies the donor to go online by phone. The bone marrow bank node can automatically dial the donor's phone number or the staff of the bone marrow bank node can notify the donor to go online by phone. The communication method such as phone number, the hash value of the donor's gene locus information and other information are pre-stored in the bone marrow bank by the donor.

[0171] In some embodiments, after receiving the broadcast information of the first recipient node, multiple bone marrow bank nodes query their own databases respectively, and if there is no record with the same hash value of the recipient in the database, the subsequent steps are terminated. If there is a record with the same hash value of the recipient in the database, the subsequent steps are performed.

[0172] The second signature module 702 is used to sign the donor hash value using the private key of the donor node, obtain the first donor node broadcast message, and broadcast the first donor node broadcast message in the blockchain, so that the recipient node can determine that the bone marrow matching is successful when the donor hash value and the recipient hash value are consistent.

[0173] Among them, the private key of the donation node and the public key of the donation node are both the secret keys of the donation node. The private key of the donation node is stored by the donation node itself, and the public key of the donation node is stored by other nodes or the founding node. The private key signature of the donation node can be verified using the public key of the donation node.

[0174] In some embodiments, the first donor node broadcast message includes at least a donor hash value, wherein the donor hash value is obtained by the donor node through hash calculation based on the donor's gene locus information.

[0175] In some embodiments, the first donation node broadcasts a message including a donor hash value, an identification of the donation agreement, and donation expectations.

[0176] The donation node uses its own private key to sign the donor hash value, the identification of consent to donation and the donation expectation, obtains the first donation node broadcast message, and broadcasts the first donation node broadcast message in the blockchain.

[0177] The functions or modules included in the blockchain-based bone marrow matching device provided in the embodiment of the present application can be used to execute the method described in the method embodiment provided in the second aspect above. Its specific implementation and technical effects can refer to the description of the method embodiment above. For the sake of brevity, they will not be repeated here.

[0178] The blockchain-based bone marrow matching device provided by the embodiment of the present invention avoids the risk of genetic information being leaked because what is broadcast in the blockchain is a hash value determined based on genetic information, and genetic locus information is not directly broadcast. Moreover, the entire bone marrow matching process is completed by the donor node, the recipient node, and the bone marrow bank node using the blockchain network, which simplifies the bone marrow matching process, shortens the bone marrow matching time, and improves the efficiency of bone marrow matching.

[0179] In the sixth aspect, the embodiment of the present application provides a blockchain-based bone marrow matching device, which is applied to the bone marrow bank node, can improve the efficiency of bone marrow matching and avoid the leakage of gene locus information of recipients and donors.

[0180] Figure 8 The following is a block diagram of a bone marrow matching device based on blockchain provided in the embodiment of the present application. Figure 8 As shown, the blockchain-based bone marrow matching device 800 includes:

[0181] The third receiving module 801 is used to receive the broadcast information of the first recipient node.

[0182] The first recipient node broadcast information is obtained by signing the recipient's hash value using its private key, and the recipient's hash value is calculated based on the recipient's gene location information.

[0183] Among them, the private key of the recipient node and the public key of the recipient node are both the secret keys of the recipient node. The signature of the private key of the recipient node can be verified using the public key of the recipient node.

[0184] In some embodiments, the recipient's hash value is signed using the recipient's private key to obtain the first recipient node broadcast information, that is, the information broadcast in the blockchain is the recipient's hash value, rather than the recipient's gene locus information, which can prevent the recipient's gene locus information from being leaked.

[0185] The third signature verification module 802 is used to verify the private key signature of the recipient node using the public key of the recipient node.

[0186] The query module 803 is used to query the database according to the recipient's hash value when the verification is passed.

[0187] When the private key signature of the recipient node is verified, the recipient hash value is obtained from the broadcast information of the first recipient node, and then the own database is queried based on the recipient hash value.

[0188] The third acquisition module 804 is used to obtain the contact information of the donor corresponding to the donor hash value when the donor hash value corresponding to the recipient hash value is obtained in the database.

[0189] For example, the bone marrow bank node searches for the target donor's phone number and other communication information, and notifies the donor to go online by phone. The bone marrow bank node can automatically dial the donor's phone number or the staff of the bone marrow bank node can notify the donor to go online by phone. The communication method such as phone number, the hash value of the donor's gene locus information and other information are pre-stored in the bone marrow bank by the donor.

[0190] The functions or modules included in the blockchain-based bone marrow matching device provided in the embodiment of the present application can be used to execute the method described in the method embodiment provided in the third aspect above. Its specific implementation and technical effects can refer to the description of the method embodiment above. For the sake of brevity, they will not be repeated here.

[0191] The blockchain-based bone marrow matching device provided in this embodiment broadcasts a hash value determined based on genetic information in the blockchain instead of directly broadcasting genetic locus information, thereby avoiding the risk of genetic information being leaked. Moreover, the entire bone marrow matching process is completed by the donor node, recipient node and bone marrow bank node using the blockchain network, which simplifies the bone marrow matching process, shortens the bone marrow matching time and improves the efficiency of bone marrow matching.

[0192] It should be noted that all modules involved in this embodiment are logic modules. In practical applications, a logic unit may be a physical unit, or a part of a physical unit, or may be implemented as a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.

[0193] In order to better understand the bone marrow matching method provided in the embodiment of the present application, the bone marrow matching method is described below using the donation node 901, the recipient node 902, the bone marrow bank node 903, and the founding node 904 as examples.

[0194] like Fig. 9 As shown, the blockchain-based bone marrow matching method includes:

[0195] Step S901: The recipient node obtains the recipient hash value of the recipient's gene locus information.

[0196] The gene locus information may be pre-specified important gene locus information, and the amount of gene locus information may be determined according to the matching resolution, with the ability to complete bone marrow matching as the standard. The embodiment of the present application does not limit the amount of gene locus information.

[0197] In some embodiments, the recipient obtains multiple gene locus information at a testing institution (such as a hospital), and sorts them in a predetermined order, and then calculates the recipient's hash value HASH-A1.

[0198] Step S902: The recipient node signs the recipient hash value HASH-A1 using its own private key to obtain the first recipient node broadcast information, and broadcasts the first recipient node broadcast information in the blockchain.

[0199] Among them, the private key of the recipient node and the public key of the recipient node are the identity keys of the recipient node. The private key of the recipient node is retained by the recipient node itself, and the public key of the recipient node can be retained by other nodes in the blockchain.

[0200] In this embodiment, the information broadcast on the blockchain is the recipient's hash value, rather than the recipient's gene location information, so as to protect the recipient's privacy and prevent the gene information from being obtained by criminals for biological gene research.

[0201] In some embodiments, the first recipient node broadcast information includes not only the recipient hash value HASH-A1, but also the recipient node blockchain identifier. The recipient node blockchain identifier is used to be the unique identifier of the recipient node in the blockchain, and the recipient node blockchain identifier can be used to accurately determine which node in the blockchain the recipient node is.

[0202] In this embodiment, each recipient corresponds to a recipient node, and the blockchain identifier of the recipient node can be obtained based on the recipient's identity information and calculated through a pre-determined hash algorithm.

[0203] Step S903, after receiving the broadcast information of the first recipient node, the bone marrow bank node queries the recipient node public key according to the recipient node blockchain identifier, and verifies the recipient node private key according to the recipient node public key. If the verification is successful, the recipient hash value HASH-A1 is obtained from the first recipient node broadcast message, and then the database of the bone marrow bank node is queried according to the recipient hash value HASH-A1 to obtain the donation record that matches the recipient hash value HASH-A1.

[0204] In some embodiments, there may be multiple bone marrow bank nodes. After receiving the broadcast message from the first recipient node, each bone marrow bank node may query its own database to obtain the donation record that matches the recipient's hash value HASH-A1.

[0205] Although the donor agreed to donate in the past, he or she is not willing to donate at the moment, or is not suitable for donation due to physical condition or other reasons. However, after the recipient enters the bone marrow transplant chamber for chemotherapy to clear the bone marrow, if the donor is destroyed, the recipient's original bone marrow has been cleared and will not be able to survive without bone marrow. Therefore, this extremely serious consequence should be avoided.

[0206] After obtaining the donation record that matches the recipient's hash value HASH-A1, the bone marrow bank node can contact the donor to confirm that the donor agrees to donate. If the donor disagrees with the donation, the donor's record can be deleted from the database. If the donor agrees to donate, the donor is connected to the blockchain network and serves as a donation node.

[0207] Step S904: The donation node signs the first donation node broadcast message and broadcasts it on the blockchain.

[0208] The first donation node broadcast message includes the donor hash value HASH-B1 calculated based on the donor's gene locus information, the identification of consent to donation, and the donation expectation. The donor's gene locus information is the same as the recipient's gene locus information. The amount of gene locus information can be determined according to the matching resolution, with the ability to complete bone marrow matching as the standard. The embodiment of the present application does not limit the amount of gene locus information.

[0209] The donor hash value HASH-B1 is obtained by sorting the multiple gene loci obtained by the donor node through testing in a predetermined order and then calculating the result through hashing.

[0210] Step S905: After receiving the first donation node broadcast message, the recipient node first verifies the private key signature of the first donation node broadcast message with the public key of the donor node. If the verification is successful, the recipient node compares the donor hash value with its own recipient hash value. If they are consistent and the donation expectation can be received, the recipient node signs the thank-you letter with its own private key, obtains the second recipient node broadcast message, and broadcasts the second recipient node broadcast message in the blockchain. At the same time, the donor's medical examination fee is paid.

[0211] Among them, the method of paying the donor's medical examination fees can be through bank transfer and other methods.

[0212] Step S906: After the donor has undergone a physical examination, he uses the public key of the recipient node to encrypt the physical examination report according to a pre-agreed algorithm, and uses his own private key to sign the encrypted physical examination report, obtains the second donation node broadcast message, and broadcasts the second donation node broadcast message on the blockchain.

[0213] In order to protect the privacy of donors and prevent donors and recipients from knowing each other, donors can desensitize the physical examination report in advance, such as deleting personal information such as name, ID number, contact information, address, etc. in the physical examination report.

[0214] Step S907, after receiving the broadcast message from the second donation node, the recipient node uses the public key of the donation node to verify the private key of the donation node in the broadcast message from the second donation node. If the verification is successful, the recipient node decrypts the physical examination report according to the pre-agreed algorithm and its own private key to obtain the content of the physical examination report.

[0215] In this embodiment, any node in the blockchain can obtain the public key of the donating node in the blockchain, and the recipient node can use the public key of the donating node to verify the information signed by its private key.

[0216] Step S908: If the physical examination report is qualified, the recipient node drafts a smart contract and signs the smart contract with its own private key to obtain a broadcast message from the third recipient node.

[0217] When the donor's various physical examination indicators meet the requirements of the bone marrow transplantation operation, the subsequent steps will be continued. If the physical examination report is unqualified, the donation will be terminated. In some embodiments, the recipient can ask a doctor or other professional to determine whether the physical examination report is qualified.

[0218] In some embodiments, the terms of the smart contract include, but are not limited to, the donor node blockchain identifier, the recipient node blockchain identifier, donation expectations, and liquidated damages. Liquidated damages are the amount of compensation that the donor needs to pay to the recipient if the donation is breached due to non-physical reasons. This embodiment does not limit the amount of compensation.

[0219] During the bone marrow donation process, if the donor does not donate after a certain period of time (such as a few hours) after the recipient enters the warehouse to start chemotherapy and myeloablation, the recipient's life is in great danger. Therefore, it is necessary to stipulate the default time in the smart contract. Different default events can be set for different situations to constrain both the donor and the recipient. If the bone marrow donation cannot be carried out due to the donor's reasons, the donor needs to pay a penalty to the recipient. If the bone marrow donation is successful, the default deposit will be returned to the donor. Among them, the payment method can be transfer, remittance, etc.

[0220] Step S909: After agreeing to the terms of the smart contract, the donor uses the private key of the donation node to sign the smart contract for a second time, obtains the third donation node broadcast message, and broadcasts the third donation node broadcast message in the blockchain.

[0221] After receiving the third donated node broadcast message, the donor node uses the public key of the donated node to verify the private key of the donated node. If the verification is successful, the smart contract is obtained. If the donor agrees to the terms in the smart contract, the private key of the donor node (the current donor node used by the donor) is used to sign the smart contract again to obtain the third donation node broadcast message. The third donation node broadcast message is a message signed by both the donor node and the recipient node.

[0222] Step S910, the founding node automatically executes the corresponding transfer processing of the subsequent deposit and penalty according to the mechanism code of the deposit processing of the smart contract and the set conditions.

[0223] Among them, the founding node is the leader and founder of the bone marrow matching blockchain network. The preset conditions are the conditions for executing the terms of the smart contract, such as the breach of contract clause mentioned above.

[0224] Step S911, when the donation node completes the bone marrow donation, the donation node uses its own private key to sign the bone marrow donation operation record and the stem cell extraction record, obtains the fourth donation broadcast message, and sends the fourth donation broadcast message to the blockchain network, so that the founding node can execute subsequent payment and deposit refund operations according to the smart contract.

[0225] Reference Fig.10 , an embodiment of the present invention provides an electronic device, comprising:

[0226] One or more processors 1001;

[0227] A memory 1002 having one or more programs stored thereon, and when the one or more programs are executed by one or more processors, the one or more processors implement any one of the above-mentioned blockchain-based bone marrow matching methods;

[0228] One or more I / O interfaces 1003 are connected between the processor and the memory and are configured to implement information exchange between the processor and the memory.

[0229] Among them, the processor 1001 is a device with data processing capabilities, including but not limited to a central processing unit (CPU); the memory 1002 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I / O interface (read-write interface) 1003 is connected between the processor 1001 and the memory 1002, and can realize information interaction between the processor 1001 and the memory 1002, including but not limited to a data bus (Bus), etc.

[0230] In some embodiments, the processor 1001 , the memory 1002 , and the I / O interface 1003 are connected to each other through a bus, and further connected to other components of the computing device.

[0231] This embodiment also provides a computer-readable medium on which a computer program is stored. When the program is executed by a processor, the blockchain-based bone marrow matching method provided in this embodiment is implemented. To avoid repeated description, the specific steps of the blockchain-based bone marrow matching method are not repeated here.

[0232] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the invented method described above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0233] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0234] Those skilled in the art will understand that although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features from different embodiments is meant to be within the scope of the present embodiment and to form different embodiments.

[0235] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.

Claims

1. A bone marrow matching method based on blockchain, characterized in that: Applicable to the donated nodes, including: Acquire the gene locus information of the recipient, and obtain the recipient's hash value based on the gene locus information of the recipient; Sign the recipient hash value using the private key of the recipient node to obtain the first recipient node broadcast information; Send the first recipient node broadcast information to the blockchain network for broadcasting, so that the bone marrow bank node can obtain the target donation node based on the recipient hash value; Receiving a first donation node broadcast message broadcasted by the target donation node in the blockchain; wherein the first donation node broadcast message includes a donor hash value; wherein the donor hash value is obtained by hash calculation based on the donor's gene point information; Comparing the donor hash value with the recipient hash value, and determining that the bone marrow matching is successful if the donor hash value and the recipient hash value are consistent; The step of obtaining the gene position information of the recipient and obtaining the recipient's hash value based on the gene position information of the recipient includes: Acquiring multiple gene locus information of the recipient; Sorting the plurality of gene locus information in a pre-agreed order to obtain a gene locus sorting result of the recipient; The recipient hash value is obtained by hash calculation based on the gene locus sorting result of the recipient.

2. The method according to claim 1, characterized in that The first donation node broadcast message also includes donation expectations; After the bone marrow matching is successful, the following steps are also included: When the donation expectation is within a preset range, a second recipient node broadcast message is generated; wherein the second recipient node broadcast message includes information about the donation that the recipient expects to receive.

3. The method according to claim 2, characterized in that When the donation expectation is within a preset range, after generating the second recipient node broadcast message, the method further includes: Receiving a second donation node broadcast message; wherein the second donation node broadcast message is obtained by the donation node encrypting the donor's physical examination report using the recipient node's private key and in accordance with a pre-agreed algorithm, and then signing the encrypted physical examination report using its own private key; Using the public key of the donation node to verify the private key signature of the donation node in the second donation node broadcast message; If the verification is successful, the encrypted physical examination report is decrypted using the private key of the recipient node and in accordance with a pre-agreed algorithm to obtain the physical examination report; When the physical examination report meets the preset conditions, a smart contract is generated, and the smart contract is signed with the private key of the recipient node to obtain a broadcast message from the third recipient node; Broadcast the third recipient node broadcast message on the blockchain.

4. The method according to claim 3, characterized in that After the blockchain broadcasts the third donated node broadcast message, the method further includes: In the event that the bone marrow donation is concluded, the terms in the smart contract are executed.

5. A bone marrow matching method based on blockchain, characterized in that: Applicable to donor nodes, including: In response to the online message, the gene locus information of the donor is obtained, and the donor hash value is obtained based on the gene locus information of the donor; wherein the online message is a message sent when the bone marrow bank node obtains the donor hash value corresponding to the recipient hash value; The donor hash value is signed using the private key of the donor node to obtain a first donor node broadcast message, and the first donor node broadcast message is broadcast in the blockchain, so that the recipient node can determine that the bone marrow matching is successful when the donor hash value and the recipient hash value are consistent; The step of obtaining the donor's gene locus information and obtaining the donor's hash value based on the donor's gene locus information includes: Acquiring multiple gene locus information of multiple donors; Sorting multiple gene locus information of the donor according to a pre-agreed order to obtain the donor gene sequencing result; A hash calculation is performed on the donor gene sequencing result to obtain a donor hash value.

6. The method according to claim 5, characterized in that After broadcasting the first donation node broadcast message in the blockchain, the method further includes: Receiving a second recipient node broadcast message; wherein the second recipient node broadcast message includes information that the recipient expects to receive donations; Obtaining the donor's medical examination report; wherein the medical examination report is obtained through a medical examination with the donor's consent to donation; Sign the physical examination report using the private key of the donation node to obtain a second donation node broadcast message; Broadcast the second donation node broadcast message in the blockchain.

7. The method according to claim 6, characterized in that After broadcasting the second donation node broadcast message in the blockchain, the method further comprises: Receiving a third recipient node broadcast message; wherein the third recipient node broadcast message is obtained after the recipient node determines that the physical examination report meets the preset conditions, generates a smart contract, and signs the smart contract using the private key of the recipient node; In the case of agreeing to the smart contract, the smart contract is signed using the private key of the donation node to generate a third donation node broadcast message.

8. A bone marrow matching method based on blockchain, characterized in that: Applied to bone marrow bank nodes, including: Receive the first recipient node broadcast information; wherein the first recipient node broadcast information is obtained by the recipient node using its private key to sign the recipient hash value, and the recipient hash value is calculated based on the recipient's gene point information; Verifying the private key signature of the donated node using the public key of the donated node; If the verification is successful, query the database according to the recipient's hash value; When a donor hash value corresponding to the recipient hash value is obtained in the database, an online message is sent to the donor corresponding to the donor hash value; The calculation based on the gene location information of the recipient specifically includes: Sorting the multiple gene loci information of the recipient in a pre-agreed order to obtain the gene loci sorting result of the recipient; performing hash calculation based on the gene loci sorting result of the recipient; The donor hash value is calculated in the following way: Acquiring multiple gene locus information of multiple donors; Sorting multiple gene locus information of the donor according to a pre-agreed order to obtain the donor gene sequencing result; A hash calculation is performed on the donor gene sequencing result to obtain a donor hash value.

9. A bone marrow matching device based on blockchain, characterized in that: Applicable to the donated nodes, including: A first acquisition module, used to acquire gene locus information of a recipient, and obtain a recipient hash value based on the gene locus information of the recipient; A first signature module, used to sign the recipient hash value using the private key of the recipient node to obtain the first recipient node broadcast information; A first broadcast module, used for sending the first recipient node broadcast information to the blockchain network for broadcasting, so that the bone marrow bank node can obtain the target donation node based on the recipient hash value; A first receiving module, configured to receive a first donor node broadcast message; wherein the first donor node broadcast message includes a donor hash value; wherein the donor hash value is obtained by hash calculation based on the donor's gene point information; A comparison module, used to compare whether the donor hash value is consistent with the recipient hash value, and determine that the bone marrow matching is successful if the donor hash value is consistent with the recipient hash value; The step of obtaining the gene position information of the recipient and obtaining the recipient's hash value based on the gene position information of the recipient includes: Acquiring multiple gene locus information of the recipient; Sorting the plurality of gene locus information in a pre-agreed order to obtain a gene locus sorting result of the recipient; The recipient hash value is obtained by hash calculation based on the gene locus sorting result of the recipient.

10. A bone marrow matching device based on blockchain, characterized in that: Applicable to donor nodes, including: The second acquisition module is used to obtain the gene locus information of the donor, and obtain the donor hash value based on the gene locus information of the donor; wherein the online message is a message sent to the donor corresponding to the donor hash value when the bone marrow bank node obtains the donor hash value corresponding to the recipient hash value; A second signature module is used to sign the donor hash value using the private key of the donor node, obtain a first donor node broadcast message, and broadcast the first donor node broadcast message in the blockchain, so that the recipient node can determine that the bone marrow matching is successful when the donor hash value and the recipient hash value are consistent; The step of obtaining the donor's gene locus information and obtaining the donor's hash value based on the donor's gene locus information includes: Acquiring multiple gene locus information of multiple donors; Sorting multiple gene locus information of the donor according to a pre-agreed order to obtain the donor gene sequencing result; A hash calculation is performed on the donor gene sequencing result to obtain a donor hash value.

11. A bone marrow matching device based on blockchain, characterized in that: Applied to bone marrow bank nodes, including: A third receiving module is used to receive the first recipient node broadcast information; wherein the first recipient node broadcast information is obtained by the recipient node using its private key to sign the recipient hash value, and the recipient hash value is calculated based on the recipient's gene point information; A third signature verification module, used to verify the private key signature of the recipient node using the public key of the recipient node; A query module, used to query the database according to the recipient's hash value when the verification is passed; A third acquisition module is used to obtain the contact information of the donor corresponding to the donor hash value when the donor hash value corresponding to the recipient hash value is obtained in the database; The calculation based on the gene location information of the recipient specifically includes: Sorting the multiple gene loci information of the recipient in a pre-agreed order to obtain the gene loci sorting result of the recipient; performing hash calculation based on the gene loci sorting result of the recipient; The donor hash value is calculated in the following way: Acquiring multiple gene locus information of multiple donors; Sorting multiple gene locus information of the donor according to a pre-agreed order to obtain the donor gene sequencing result; A hash calculation is performed on the donor gene sequencing result to obtain a donor hash value.

12. An electronic device, characterized in that: include: one or more processors; A storage device having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1-4, 5-7, and 8; One or more I / O interfaces are connected between the processor and the memory and are configured to implement information interaction between the processor and the memory.

13. A computer readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 1-4, 5-7, and 8 is implemented.

Citation Information

Patent Citations

  • Block-chain-based donated organ matching method, device and system

    CN110047581A

  • Method and system to register a multi media attachment of an electronic communication message

    IN202111044320A