Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification one or more, below will
In conjunction with the attached drawing in this specification one or more embodiment, to the technical solution in this specification one or more embodiment into
Row clearly and completely describes, it is clear that and described embodiment is only this specification one or more a part of the embodiment, and
The embodiment being not all of.Based on the embodiment in this specification one or more, those of ordinary skill in the art are not making
The model of this specification one or more protection all should belong in every other embodiment obtained under the premise of creative work out
It encloses.
This specification one or more embodiment provide a kind of donated organs matching process based on block chain, device and
System realizes donated organs Auto-matching using block chain technology, no matter organ donation information, organ demand's information or final
Matching result block chain is written, it is ensured that uplink communications can not tamper;And it can be automatically to upper using block chain technology
Chain information is encrypted, and improves the individual privacy confidentiality of donor and recipient, and utilize block chain technology energy
The two-way anonymous and decentralization matching for enough realizing donor and recipient, improves the matched fairness of organ.
Fig. 1 is the application for the donated organs matching system based on block chain that this specification one or more embodiment provides
Schematic diagram of a scenario, as shown in Figure 1, the system include: organ donation mechanism, multiple hospital institutions, donated organs coalignment and
Block chain, wherein the organ donation mechanism, hospital institution and donated organs coalignment access block chain, wherein be based on area
The matched detailed process of the donated organs of block chain are as follows:
(1) the donation information of organ donation side is uploaded in block chain by organ donation mechanism, so as to respectively save in block chain
Point carries out encryption storage to the donation information;Wherein, which can be the user for having determined donated organs, may be used also
To be the user for planning donated organs, which includes: the personal information of donation side and the organ attribute information of donation side
Deng;
(2) demand information of organ reciever is uploaded in block chain by hospital institution, so that each node pair in block chain
The demand information carries out encryption storage;Wherein, which can be the patient for waiting organ transplant, the demand information packet
It includes: personal information and the organ distribution type demand of party in request of party in request etc.;
(3) donated organs coalignment obtains the donation information of organ donation side and the need of organ reciever from block chain
Seek information, wherein since the donation information and demand information of cochain are stored with encrypted test mode, donated organs matching dress
It sets and gets that contribute information and demand information be ciphertext data, need first to obtain to information is contributed and demand information is decrypted
Clear data, then organ matching is carried out based on clear data;
(4) donated organs coalignment matches the demand information after the donation information and decryption after decryption, generates
For instructing the organ matching result of organ transplant, wherein the organ matching result include: organ recipient's information and with the organ
The organ donor information of receptor information matches;
(5) the organ matching result of generation is written in block chain donated organs coalignment, so as to respectively save in block chain
Point carries out encryption storage to the organ matching result;
(6) hospital institution and organ donation mechanism obtain required organ matching result from block chain, wherein due to upper
The organ matching result of chain is also to be stored with encrypted test mode, and therefore, hospital institution and organ donation mechanism get organ matching
The result is that ciphertext data, need that first organ matching result is decrypted, clear data is obtained, then be based on clear data spreader
Official transplants work.
In above-mentioned donated organs matching process, using block chain technology realize donated organs Auto-matching, no matter organ
It contributes information, organ demand's information or final matching result and block chain is written, it is ensured that uplink communications can not tamper;And
And uplink communications can be encrypted automatically using block chain technology, improve the individual privacy of donor and recipient
Confidentiality, and matched using the two-way anonymous and decentralization that block chain technology can be realized donor and recipient, it improves
Organ matched fairness.
Fig. 2 is the first of the donated organs matching process based on block chain that this specification one or more embodiment provides
Flow diagram is planted, the method in Fig. 2 can be executed by the donated organs coalignment accessed in block chain in Fig. 1, such as Fig. 2 institute
Show, this method at least includes the following steps:
S201 obtains the donation information of organ donation side and the demand information of organ reciever from block chain, wherein
The donation information is organ donation mechanism cochain to block chain, which is hospital institution cochain to block chain;
Wherein, organ donation mechanism and hospital institution access in designated blocks chain, and above-mentioned donation information includes: donation side
Personal information, physical examination information and the organ attribute information of donation side, the organ attribute information can be the organ of organ donor
Distribution type information;The demand information includes: the personal information of party in request and the organ distribution type demand of party in request, which needs
Asking includes: the required organ distribution type information of organ recipient, organ demand's urgency level, waiting time information, locating region have been believed
Breath;
Specifically, the donation information of organ donation side is uploaded in block chain by organ donation mechanism, block chain is right respectively
Organ donation side creates anonymous account, and carries out encryption storage to the donation information;Hospital institution is by the demand of organ demand side
Information is uploaded in block chain, and block chain creates anonymous account to organ reciever respectively, and encrypts to the demand information
Storage, donated organs coalignment obtain encrypted donation information and encrypted demand information from block chain;
Above-mentioned donation information is matched with the demand information, generates the organ for instructing organ transplant by S202
Matching result;
Specifically, since the donation information and demand information of cochain carry out encryption storage with ciphertext form, it contributes
The donation information and demand information that organ coalignment is got from block chain be ciphertext data, need first to contribute information and
Demand information is decrypted, the donation information after being decrypted and the demand information after decryption, then by the donation after decryption
Demand information after information and decryption is matched, and the organ matching result for instructing organ transplant is generated;
The organ matching result of generation is written in block chain S203, so that hospital institution and organ donation mechanism obtain
Corresponding organ matching result;
It is stored specifically, the organ matching result of generation is uploaded in block chain by donated organs coalignment, by
It is also that encryption storage is carried out with ciphertext form in the organ matching result of cochain, although the hospital institution of access block chain can obtain
All organ matching results are got, but since organ matching result is to store with ciphertext form, and each hospital institution only has
There is the decruption key of the corresponding organ matching result of the organ reciever being each responsible for, therefore, each hospital institution is merely able to lead to
It crosses the decruption key organ matching result information being each responsible for is decrypted, obtain for the organ reciever being each responsible for
Organ matching result generated.
In this specification one or more embodiment, using block chain technology realize donated organs Auto-matching, no matter device
Official contributes information, organ demand's information or final matching result and block chain is written, it is ensured that uplink communications can not tamper;
And uplink communications can be encrypted automatically using block chain technology, the individual for improving donor and recipient is hidden
Private confidentiality, and matched using the two-way anonymous and decentralization that block chain technology can be realized donor and recipient, it mentions
The high matched fairness of organ.
Wherein, since the uplink communications for being uploaded to block chain carry out encryption storage with ciphertext data, therefore, it is necessary to first will
Ciphertext data deciphering obtains clear data, then generates organ matching result based on clear data, this is based on, as shown in figure 3, above-mentioned
S202 matches above-mentioned donation information with the demand information, generates the organ matching result for instructing organ transplant,
It specifically includes:
S2021 is decrypted the donation information got using the first decruption key, the donation after being decrypted
Information;And
S2022 is decrypted the demand information got using the second decruption key, the demand after being decrypted
Information;
Demand information after donation information and decryption after decryption is matched, is generated for instructing organ to move by S2023
The organ matching result of plant;
Specifically, above-mentioned first decruption key and the second decruption key may be the same or different, it is being embodied
When, donation information and demand information can be encrypted using asymmetric encryption mode, i.e., donation believed using public key
Breath and demand information are encrypted, and obtain ciphertext data, recycle the corresponding private key of public key that ciphertext data are decrypted
Processing, obtain clear data, the corresponding private key of the public key only has donated organs coalignment that can get, and hospital institution and
Organ donation mechanism can not get the corresponding private key of the public key, therefore, take full advantage of the characteristic of the two-way anonymity of block chain, mention
The high matched fairness of organ.
Wherein, for the decrypting process for contributing information and demand information, in order to further prevent donation side and party in request
Leakage of personal information is based on this to further increase the fairness of organ transplant, and above-mentioned S2021 utilizes the first decruption key
The donation information got is decrypted, the donation information after being decrypted specifically includes:
Using the first decruption key to the first non-privacy information relevant to organ matching in the donation information got into
Row decryption processing, the donation information after being decrypted;
Specifically, when the donation information to organ donation side is encrypted, can will contribute information be divided into
Organ matches unrelated user privacy information and non-privacy information relevant to organ matching, and different public keys is respectively adopted to tax
It offers user privacy information and non-privacy information in information to be encrypted, and donated organs coalignment is only allowed to obtain and encrypt
The corresponding private key of public key (i.e. the first decruption key) used in non-privacy information in information is contributed, can be guaranteed so not to being related to
Donations side's archive information of privacy of user is decrypted, be merely able to organ match needed for can public information be decrypted, into
And the leakage of personal information of donation side is prevented, and avoid the potential impact caused by organ transplant fairness;
Corresponding, above-mentioned S2022 is decrypted the demand information got using the second decruption key, is solved
Demand information after close, specifically includes:
Using the second decruption key to the second non-privacy information relevant to organ matching in the demand information got into
Row decryption processing, the demand information after being decrypted;
Specifically, demand information can also be divided into when the demand information to organ reciever is encrypted
Unrelated user privacy information is matched to organ and matches relevant non-privacy information with organ, and different public keys pair is respectively adopted
User privacy information and non-privacy information are encrypted in demand information, and donated organs coalignment is only allowed to obtain and add
The corresponding private key of public key used in non-privacy information (i.e. the second decruption key) in close demand information can guarantee not in this way to relating to
And party in request's archive information of privacy of user is decrypted, be merely able to organ match needed for can public information be decrypted,
And then the leakage of personal information of party in request is prevented, and avoid the potential impact caused by organ transplant fairness.
Wherein, it for donated organs matching process, may be incorporated into intelligent contract, realize and contributed under multi-party witness
Organ matching generates as shown in figure 4, above-mentioned S202 matches above-mentioned donation information with the demand information for instructing
The organ matching result of organ transplant, specifically includes:
S2024 calls the intelligent contract disposed on block chain, is based on the intelligence contract for above-mentioned donation information and above-mentioned need
It asks information to be matched, generates the organ matching result for instructing organ transplant.
Wherein, intelligent contract is that is defined in digital form be capable of the contract of automatic implementation of the provisions.It is led in block chain technology
Domain, intelligent contract refer to the computer program for triggering based on scheduled event, can not distorting, executing automatically.It can using intelligent contract
To ensure the reliable execution being had an agreement, avoid distorting, deny and breaking a contract.Intelligent contract after distribution, needs in block chain
State machine on instantiated and come into force.
It include that automatic execute contributes device in the intelligence contract specifically, intelligent contract can be disposed on block chain in advance
The contract of official's matching operation passes through intelligent contract comprising meeting the relevant provision of medical organ's distribution type rule in the intelligence contract
Donated organs matching is carried out, can be realized that no manual intervention, whole process be transparent, multi-party witness.
Wherein, it for calling intelligent contract to carry out the matched process of donated organs, can specifically include:
For the demand information after each decryption, each decryption is determined based on the relevant provision for meeting medical organ's distribution type rule
The matching degree of donation information and the demand information afterwards;
Meet the donation information of preset condition according to the demand information and matching degree, generates for instructing organ transplant
Organ matching result;
Specifically, organ distribution type information, need based on the relevant provision for meeting medical organ's distribution type rule, in conjunction with donation side
The side of asking on the urgency level of organ demand, region shipping conditions, long-term effect and other may influence organ transplant success rate
With the factor of effect, optimal organ transplant matching scheme is obtained.
In addition, in order to improve donated organs matching efficiency, the case where preventing same donated organs from matching to multiple parties in request,
It can establish and contribute information aggregate and demand information set, the donation information after decryption is added to and is contributed in information aggregate, with
And the demand information after decryption is added in demand information set;
After matching corresponding donation information for a certain demand information, the demand information of successful matching is believed from demand
It is removed in breath set, and the donation information of successful matching is removed from donation information aggregate.
Further, when carrying out donated organs matching based on intelligent contract, using common recognition mechanism to organ matching result
Storage is verified and encrypted, this is based on, as shown in figure 5, above-mentioned S2024 calls the intelligent contract disposed on block chain, is based on
The intelligence contract matches above-mentioned donation information with the demand information, generates for instructing the organ of organ transplant to match
As a result, comprising:
S20241 calls the intelligent contract disposed on block chain, based on the intelligence contract by above-mentioned donation information with it is above-mentioned
Demand information is matched, and is generated organ matching and is executed data;
S20242 controls each node on block chain and carries out common recognition processing to above-mentioned organ matching execution data, by common recognition
Organ matching executes data and is determined as the organ matching result for instructing organ transplant;
Specifically, being carried out in donated organs matching process based on intelligent contract, each node both participates in intelligent conjunction on block chain
Automatic execution about, all execution data item (the status data and state parameter) area Jun Dui generated in intelligent contract implementation procedure
Each node is open and clear on block chain, and controls each node on block chain and know together to data item is executed, by what is known together
Organ matching executes data and stores as the encryption of organ matching result into block chain, i.e., generates in intelligent contract implementation procedure
All execute is stored under the common witness that data item is each node on block chain.
Wherein, due to block chain technology have can not tamper, and final organ matching result is by witnessing in many ways
Block chain is written afterwards, it may therefore be assured that the organ matching result being uploaded in block chain can not be tampered, to ensure that
The authenticity of data;And it is directed to the matched whole process of organ, is executed automatically by the intelligent contract disposed on block chain, respectively
A matching link no manual intervention, each link information that matches carries out depositing card on block chain, once subsequent need organ
Disclosure is carried out as notarization with process, all relevant information of organ matching process can be obtained directly from block chain as card
According to using.
Wherein, the efficiency of respectively required organ matching result is obtained in order to improve hospital institution or organ donation mechanism,
Based on this, the organ matching result of generation is written in block chain above-mentioned S203, so that hospital institution and organ donation mechanism obtain
Corresponding organ matching result is taken, is specifically included:
The organ matching result of generation and the notification information generated for the organ matching result are written in block chain, with
So that hospital institution and organ donation mechanism is based on the notification information and obtains corresponding organ matching result;
Alternatively,
Mark information is added to the organ matching result of generation, the organ matching result after label is written in block chain,
So that hospital institution and organ donation mechanism, which are based on the mark information, obtains corresponding organ matching result.
Specifically, need to only obtain organ matching knot relevant to its responsible patient in view of for hospital institution
Fruit, in order to improve the efficiency that hospital institution or organ donation mechanism obtain respectively required organ matching result, can using to
The mode of hospital institution transmission notice information, triggering hospital institution are got for its responsible patient organ matching generated
As a result, can also be born so that hospital institution is got by marker recognition for it using organ matching result is marked
The patient of duty organ matching result generated.
The donated organs matching process based on block chain in this specification one or more embodiment, is obtained from block chain
Take the donation information of organ donation side and the demand information of organ reciever;By the donation information and demand information progress
Match, generates organ matching result;The organ matching result is written in block chain, so that hospital institution and organ donation mechanism obtain
Take corresponding organ matching result.Using block chain technology realize donated organs Auto-matching, no matter organ donation information, organ
Block chain is written in demand information or final matching result, it is ensured that uplink communications can not tamper;And utilize block chain
Technology can automatically be encrypted uplink communications, improve the individual privacy confidentiality of donor and recipient, and
It is matched using the two-way anonymous and decentralization that block chain technology can be realized donor and recipient, it is matched to improve organ
Fairness.
The donated organs matching process based on block chain that corresponding above-mentioned Fig. 2 to Fig. 5 is described, is based on identical technology structure
Think, this specification one or more embodiment additionally provides a kind of donated organs coalignment based on block chain, and Fig. 6 is this theory
The module composition schematic diagram for the donated organs coalignment based on block chain that bright book one or more embodiment provides, the device
The donated organs matching process based on block chain described for executing Fig. 2 to Fig. 5, as shown in fig. 6, the device includes:
Data obtaining module 601, for obtaining the donation information and organ reciever of organ donation side from block chain
Demand information, wherein the donation information is organ donation mechanism cochain to the block chain, the demand information be doctor
Mechanism, institute cochain is to the block chain;
Organ matching module 602 is generated for matching the donation information with the demand information for instructing
The organ matching result of organ transplant;
Matching result writing module 603, for the organ matching result to be written in the block chain, so that the doctor
Mechanism, institute and the organ donation mechanism obtain the organ matching result.
In this specification one or more embodiment, using block chain technology realize donated organs Auto-matching, no matter device
Official contributes information, organ demand's information or final matching result and block chain is written, it is ensured that uplink communications can not tamper;
And uplink communications can be encrypted automatically using block chain technology, the individual for improving donor and recipient is hidden
Private confidentiality, and matched using the two-way anonymous and decentralization that block chain technology can be realized donor and recipient, it mentions
The high matched fairness of organ.
Optionally, the organ matching module 602, is specifically used for:
The donation information is decrypted using the first decruption key, the donation information after being decrypted;
And
The demand information is decrypted using the second decruption key, the demand information after being decrypted;
The demand information after the donation information and decryption after decryption is matched, is generated for instructing organ
The organ matching result of transplanting.
Optionally, the organ matching module 602, is further specifically used for:
The first non-privacy information relevant to organ matching in the donation information is solved using the first decruption key
Close processing, the donation information after being decrypted;
It is described that the demand information is decrypted using the second decruption key, the demand letter after being decrypted
Breath, comprising:
The second non-privacy information relevant to organ matching in the demand information is solved using the second decruption key
Close processing, the demand information after being decrypted.
Optionally, the organ matching module 602, also particularly useful for:
The intelligent contract disposed on the block chain is called, is based on the intelligent contract for the donation information and the need
It asks information to be matched, generates the organ matching result for instructing organ transplant.
Optionally, the organ matching module 602, is also further specifically used for:
The donation information is matched with the demand information based on the intelligent contract, organ matching is generated and executes
Data;
It controls each node on the block chain and common recognition processing is carried out to organ matching execution data, it will be described in common recognition
Organ matching executes data and is determined as the organ matching result for instructing organ transplant.
Optionally, the matching result writing module 603, is specifically used for:
The block chain is written into the organ matching result and the notification information generated for the organ matching result
In, so that the hospital institution and the organ donation mechanism are based on the notification information and obtain the corresponding organ matching knot
Fruit;
Alternatively,
Mark information is added to the organ matching result, the block is written into the organ matching result after label
In chain, so that the hospital institution and the organ donation mechanism are based on the mark information and obtain the corresponding organ matching
As a result.
The donated organs coalignment based on block chain in this specification one or more embodiment, is obtained from block chain
Take the donation information of organ donation side and the demand information of organ reciever;By the donation information and demand information progress
Match, generates organ matching result;The organ matching result is written in block chain, so that hospital institution and organ donation mechanism obtain
Take corresponding organ matching result.Using block chain technology realize donated organs Auto-matching, no matter organ donation information, organ
Block chain is written in demand information or final matching result, it is ensured that uplink communications can not tamper;And utilize block chain
Technology can automatically be encrypted uplink communications, improve the individual privacy confidentiality of donor and recipient, and
It is matched using the two-way anonymous and decentralization that block chain technology can be realized donor and recipient, it is matched to improve organ
Fairness.
It should be noted that about the embodiment of the donated organs coalignment based on block chain and this theory in this specification
In bright book based on the same inventive concept about the embodiment of the donated organs matching process based on block chain, therefore the embodiment
Specific implementation may refer to the implementation of the aforementioned corresponding donated organs matching process based on block chain, and it is no longer superfluous to repeat place
It states.
The donated organs matching process based on block chain that corresponding above-mentioned Fig. 2 to Fig. 5 is described, is based on identical technology structure
Think, this specification one or more embodiment additionally provides a kind of donated organs matching system based on block chain, and Fig. 7 is this theory
The structure composition schematic diagram for the donated organs matching system based on block chain that bright book one or more embodiment provides, such as Fig. 7
Shown, which includes: hospital institution 10, organ donation mechanism 20 and above-mentioned donated organs coalignment 30;
Wherein, above-mentioned hospital institution 10, above-mentioned organ donation mechanism 20 and above-mentioned donated organs coalignment 30 connect
Enter block chain;
Above-mentioned organ donation mechanism 20, for by the donation information cochain of organ donation side to block chain, and from the area
Block chain obtains corresponding organ matching result;
Above-mentioned hospital institution 10, for by the demand information cochain of organ reciever to block chain, and from the block chain
Obtain corresponding organ matching result.
Specifically, the donation information of organ donation side is uploaded in block chain by organ donation mechanism 20, so that block chain
In each node encryption storage is carried out to the donation information;Wherein, which can be the use for having determined donated organs
Family can also be the user of plan donated organs, which includes: the personal information of donation side and the organ genus of donation side
Property information etc.;
The demand information of organ reciever is uploaded in block chain by hospital institution 10, so that each node is to this in block chain
Demand information carries out encryption storage;Wherein, which can be the patient for waiting organ transplant, the demand information packet
It includes: personal information and the organ distribution type demand of party in request of party in request etc.;
Donated organs coalignment 30 obtains the donation information of organ donation side and the need of organ reciever from block chain
Seek information, wherein since the donation information and demand information of cochain are stored with encrypted test mode, donated organs matching dress
It sets 30 and gets that contribute information and demand information be ciphertext data, need first to obtain to information is contributed and demand information is decrypted
Organ matching is carried out to clear data, then based on clear data;
Donated organs coalignment 30 matches the demand information after the donation information and decryption after decryption, generates and uses
In the organ matching result for instructing organ transplant, wherein the organ matching result include: organ recipient's information and with the organ by
The organ donor information of body information matches;
The organ matching result of generation is written in block chain donated organs coalignment 30, so that each node in block chain
Encryption storage is carried out to the organ matching result;
Hospital institution 10 and organ donation mechanism 20 obtain required organ matching result from block chain, wherein due to
The organ matching result of cochain is also to be stored with encrypted test mode, and therefore, hospital institution 10 and organ donation mechanism 20 get device
Official's matching result is ciphertext data, needs that first organ matching result is decrypted, and obtains clear data, then be based on clear data
Work of Organ Transplantation is unfolded.
The donated organs matching system based on block chain in this specification one or more embodiment, is obtained from block chain
Take the donation information of organ donation side and the demand information of organ reciever;By the donation information and demand information progress
Match, generates organ matching result;The organ matching result is written in block chain, so that hospital institution and organ donation mechanism obtain
Take corresponding organ matching result.Using block chain technology realize donated organs Auto-matching, no matter organ donation information, organ
Block chain is written in demand information or final matching result, it is ensured that uplink communications can not tamper;And utilize block chain
Technology can automatically be encrypted uplink communications, improve the individual privacy confidentiality of donor and recipient, and
It is matched using the two-way anonymous and decentralization that block chain technology can be realized donor and recipient, it is matched to improve organ
Fairness.
It should be noted that about the embodiment of the donated organs matching system based on block chain and this theory in this specification
In bright book based on the same inventive concept about the embodiment of the donated organs matching process based on block chain, therefore the embodiment
Specific implementation may refer to the implementation of the aforementioned corresponding donated organs matching process based on block chain, and it is no longer superfluous to repeat place
It states.
Further, corresponding above-mentioned method shown in Fig. 2 to Fig. 5, based on the same technical idea, this specification one or
Multiple embodiments additionally provide a kind of donated organs matching unit based on block chain, and the equipment is above-mentioned based on area for executing
The donated organs matching process of block chain, as shown in Figure 8.
Donated organs matching unit based on block chain can generate bigger difference because configuration or performance are different, can be with
Including one or more processor 801 and memory 802, one or more are can store in memory 802
Store application program or data.Wherein, memory 802 can be of short duration storage or persistent storage.It is stored in answering for memory 802
It may include one or more modules (diagram is not shown) with program, each module may include to the tax based on block chain
Offer the series of computation machine executable instruction in organ matching unit.Further, processor 801 can be set to and store
Device 802 communicates, and the series of computation machine executed in memory 802 on the donated organs matching unit based on block chain is executable
Instruction.Donated organs matching unit based on block chain can also include one or more power supplys 803, one or one with
Upper wired or wireless network interface 804, one or more input/output interfaces 805, one or more keyboards 806
Deng.
In a specific embodiment, the donated organs matching unit based on block chain includes memory, Yi Jiyi
A or more than one program, one of them perhaps more than one program be stored in memory and one or more than one
Program may include one or more modules, and each module may include setting to the donated organs matching based on block chain
Series of computation machine executable instruction in standby, and be configured to be executed by one or more than one processor this or
More than one program includes for carrying out following computer executable instructions:
The donation information of organ donation side and the demand information of organ reciever are obtained from block chain, wherein described
Contributing information is organ donation mechanism cochain to the block chain, and the demand information is hospital institution cochain to the block
Chain;
The donation information is matched with the demand information, is generated for instructing the organ of organ transplant to match knot
Fruit;
The organ matching result is written in the block chain, so that the hospital institution and the organ donation mechanism
Obtain the organ matching result.
In this specification one or more embodiment, using block chain technology realize donated organs Auto-matching, no matter device
Official contributes information, organ demand's information or final matching result and block chain is written, it is ensured that uplink communications can not tamper;
And uplink communications can be encrypted automatically using block chain technology, the individual for improving donor and recipient is hidden
Private confidentiality, and matched using the two-way anonymous and decentralization that block chain technology can be realized donor and recipient, it mentions
The high matched fairness of organ.
Optionally, computer executable instructions when executed, it is described by the donation information and the demand information into
Row matching, generates the organ matching result for instructing organ transplant, comprising:
The donation information is decrypted using the first decruption key, the donation information after being decrypted;
And
The demand information is decrypted using the second decruption key, the demand information after being decrypted;
The demand information after the donation information and decryption after decryption is matched, is generated for instructing organ
The organ matching result of transplanting.
Optionally, computer executable instructions are when executed, described to utilize the first decruption key to the donation information
It is decrypted, the donation information after being decrypted, comprising:
The first non-privacy information relevant to organ matching in the donation information is solved using the first decruption key
Close processing, the donation information after being decrypted;
It is described that the demand information is decrypted using the second decruption key, the demand letter after being decrypted
Breath, comprising:
The second non-privacy information relevant to organ matching in the demand information is solved using the second decruption key
Close processing, the demand information after being decrypted.
Optionally, computer executable instructions when executed, it is described by the donation information and the demand information into
Row matching, generates the organ matching result for instructing organ transplant, comprising:
The intelligent contract disposed on the block chain is called, is based on the intelligent contract for the donation information and the need
It asks information to be matched, generates the organ matching result for instructing organ transplant.
Optionally, computer executable instructions are when executed, described to be based on the intelligent contract for the donation information
It is matched with the demand information, generates the organ matching result for instructing organ transplant, comprising:
The donation information is matched with the demand information based on the intelligent contract, organ matching is generated and executes
Data;
It controls each node on the block chain and common recognition processing is carried out to organ matching execution data, it will be described in common recognition
Organ matching executes data and is determined as the organ matching result for instructing organ transplant.
Optionally, computer executable instructions are when executed, described that the block is written in the organ matching result
In chain, so that the hospital institution and the organ donation mechanism obtain the organ matching result, comprising:
The block chain is written into the organ matching result and the notification information generated for the organ matching result
In, so that the hospital institution and the organ donation mechanism are based on the notification information and obtain the corresponding organ matching knot
Fruit;
Alternatively,
Mark information is added to the organ matching result, the block is written into the organ matching result after label
In chain, so that the hospital institution and the organ donation mechanism are based on the mark information and obtain the corresponding organ matching
As a result.
The donated organs matching unit based on block chain in this specification one or more embodiment, is obtained from block chain
Take the donation information of organ donation side and the demand information of organ reciever;By the donation information and demand information progress
Match, generates organ matching result;The organ matching result is written in block chain, so that hospital institution and organ donation mechanism obtain
Take corresponding organ matching result.Using block chain technology realize donated organs Auto-matching, no matter organ donation information, organ
Block chain is written in demand information or final matching result, it is ensured that uplink communications can not tamper;And utilize block chain
Technology can automatically be encrypted uplink communications, improve the individual privacy confidentiality of donor and recipient, and
It is matched using the two-way anonymous and decentralization that block chain technology can be realized donor and recipient, it is matched to improve organ
Fairness.
It should be noted that about the embodiment of the donated organs matching unit based on block chain and this theory in this specification
In bright book based on the same inventive concept about the embodiment of the donated organs matching process based on block chain, therefore the embodiment
Specific implementation may refer to the implementation of the aforementioned corresponding donated organs matching process based on block chain, and it is no longer superfluous to repeat place
It states.
Further, corresponding above-mentioned method shown in Fig. 2 to Fig. 5, based on the same technical idea, this specification one or
Multiple embodiments additionally provide a kind of storage medium,, should in a kind of specific embodiment for storing computer executable instructions
Storage medium can be USB flash disk, CD, hard disk etc., and the computer executable instructions of storage medium storage are being executed by processor
When, it is able to achieve following below scheme:
The donation information of organ donation side and the demand information of organ reciever are obtained from block chain, wherein described
Contributing information is organ donation mechanism cochain to the block chain, and the demand information is hospital institution cochain to the block
Chain;
The donation information is matched with the demand information, is generated for instructing the organ of organ transplant to match knot
Fruit;
The organ matching result is written in the block chain, so that the hospital institution and the organ donation mechanism
Obtain the organ matching result.
In this specification one or more embodiment, using block chain technology realize donated organs Auto-matching, no matter device
Official contributes information, organ demand's information or final matching result and block chain is written, it is ensured that uplink communications can not tamper;
And uplink communications can be encrypted automatically using block chain technology, the individual for improving donor and recipient is hidden
Private confidentiality, and matched using the two-way anonymous and decentralization that block chain technology can be realized donor and recipient, it mentions
The high matched fairness of organ.
Optionally, the computer executable instructions of storage medium storage are described by the tax when being executed by processor
It offers information to be matched with the demand information, generates the organ matching result for instructing organ transplant, comprising:
The donation information is decrypted using the first decruption key, the donation information after being decrypted;
And
The demand information is decrypted using the second decruption key, the demand information after being decrypted;
The demand information after the donation information and decryption after decryption is matched, is generated for instructing organ
The organ matching result of transplanting.
Optionally, the computer executable instructions of storage medium storage are described to utilize first when being executed by processor
The donation information is decrypted in decruption key, the donation information after being decrypted, comprising:
The first non-privacy information relevant to organ matching in the donation information is solved using the first decruption key
Close processing, the donation information after being decrypted;
It is described that the demand information is decrypted using the second decruption key, the demand letter after being decrypted
Breath, comprising:
The second non-privacy information relevant to organ matching in the demand information is solved using the second decruption key
Close processing, the demand information after being decrypted.
Optionally, the computer executable instructions of storage medium storage are described by the tax when being executed by processor
It offers information to be matched with the demand information, generates the organ matching result for instructing organ transplant, comprising:
The intelligent contract disposed on the block chain is called, is based on the intelligent contract for the donation information and the need
It asks information to be matched, generates the organ matching result for instructing organ transplant.
Optionally, the computer executable instructions of storage medium storage are described based on described when being executed by processor
Intelligent contract matches the donation information with the demand information, generates for instructing the organ of organ transplant to match knot
Fruit, comprising:
The donation information is matched with the demand information based on the intelligent contract, organ matching is generated and executes
Data;
It controls each node on the block chain and common recognition processing is carried out to organ matching execution data, it will be described in common recognition
Organ matching executes data and is determined as the organ matching result for instructing organ transplant.
Optionally, the computer executable instructions of storage medium storage are described by the device when being executed by processor
Official's matching result is written in the block chain, so that the hospital institution and the organ donation mechanism obtain the organ matching
As a result, comprising:
The block chain is written into the organ matching result and the notification information generated for the organ matching result
In, so that the hospital institution and the organ donation mechanism are based on the notification information and obtain the corresponding organ matching knot
Fruit;
Alternatively,
Mark information is added to the organ matching result, the block is written into the organ matching result after label
In chain, so that the hospital institution and the organ donation mechanism are based on the mark information and obtain the corresponding organ matching
As a result.
The computer executable instructions of storage medium storage in this specification one or more embodiment are by processor
When execution, the donation information of organ donation side and the demand information of organ reciever are obtained from block chain;The donation is believed
Breath is matched with demand information, generates organ matching result;The organ matching result is written in block chain, so that hospital's machine
Structure and organ donation mechanism obtain corresponding organ matching result.Donated organs Auto-matching, nothing are realized using block chain technology
Block chain is written by organ donation information, organ demand's information or final matching result, it is ensured that uplink communications can not usurp
It is modified;And uplink communications can be encrypted automatically using block chain technology, improve donor and recipient
Individual privacy confidentiality, and can be realized using block chain technology the two-way anonymous and decentralization of donor and recipient
Match, improves the matched fairness of organ.
It should be noted that in this specification about in the embodiment of storage medium and this specification about be based on block chain
Donated organs matching process embodiment based on the same inventive concept, therefore the specific implementation of the embodiment may refer to it is aforementioned
The implementation of the corresponding donated organs matching process based on block chain, overlaps will not be repeated.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker
Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HD Cal、
JHDL(Java Hardware Description Language)、Lava、Lola、My HDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present
Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer
This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages,
The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing
The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can
Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit,
ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller
Device: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited
Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to
Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic
Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc.
Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it
The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions
For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity,
Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used
Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play
It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment
The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when specification one or more.
It should be understood by those skilled in the art that, the embodiment of this specification one or more can provide for method, system,
Or computer program product.Therefore, this specification one or more can be used complete hardware embodiment, complete software embodiment,
Or the form of embodiment combining software and hardware aspects.Moreover, this specification one or more can be used in one or more
It wherein include computer-usable storage medium (the including but not limited to magnetic disk storage, CD- of computer usable program code
ROM, optical memory etc.) on the form of computer program product implemented.
This specification one or more is referring to (being according to method, the equipment of this specification one or more embodiment
System) and the flowchart and/or the block diagram of computer program product describe.It should be understood that can be realized by computer program instructions
The process and/or box in each flow and/or block and flowchart and/or the block diagram in flowchart and/or the block diagram
Combination.Can provide these computer program instructions to general purpose computer, special purpose computer, Embedded Processor or other can compile
The processor of journey data processing equipment is to generate a machine, so that passing through computer or other programmable data processing devices
The instruction that processor executes generates for realizing in one box of one or more flows of the flowchart and/or block diagram or more
The device for the function of being specified in a box.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net
Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices
Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates
Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability
It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap
Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want
There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that the embodiment of this specification one or more can provide as method, system or meter
Calculation machine program product.Therefore, complete hardware embodiment, complete software embodiment or combination can be used in this specification one or more
The form of embodiment in terms of software and hardware.It is wherein wrapped moreover, this specification one or more can be used in one or more
Computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optics containing computer usable program code
Memory etc.) on the form of computer program product implemented.
This specification one or more can be in the general context of computer-executable instructions executed by a computer
Description, such as program module.Generally, program module includes the example for executing particular task or realizing particular abstract data type
Journey, programs, objects, component, data structure etc..This specification one or more can also be practiced in a distributed computing environment
It is a, in these distributed computing environments, by executing task by the connected remote processing devices of communication network.Dividing
Cloth calculates in environment, and program module can be located in the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality
For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method
Part explanation.
The foregoing is merely the embodiment of this specification one or more, be not limited to this specification one or
It is multiple.To those skilled in the art, this specification one or more can have various modifications and variations.It is all in this explanation
Any modification, equivalent replacement, improvement and so within book one or more spirit and principle, should be included in this specification
Within one or more scopes of the claims.