| The sharing of medical data like electronic diagnosis records becomes more and more important.However,there are still great challenges in issues such as the effective exchange of data,reliability assurance and initiatives of medical institutions to share their data.Based on blockchain technology,this thesis explores the sharing of medical data and focuses on its distributed consensus mechanism especially.The specific work mainly includes:(1)A scheme of medical data sharing based on blockchain is propsoed.Focusing on improving the efficiency of data exchanging and mataining data reliability,a data storage and transmission scheme is proposed based on blockchain and IPFS,which forms a novel mode of on-chain transaction record and off-chain real data storage.Moreover,using the idea of cooperative game,a reasonable income distribution strategy based on Shapley value is proposed to enhance the long-term and stability of the system.(2)A blockchain consensus mechanism for medical data sharing is proposed.In order to improve the participation of medical sharing,a consensus mechanism is proposed,which introduces random guessing process into opportunity verification,and dynamically adjusts the influencing factors of nodes.Therefore,it can ensure that all nodes have the opportunity to pass the verification and fairly become the final consensus representative.So,the mechanism can improvs the initiatives of node participation.The experimental results show that the medical data sharing scheme proposed in this thesis is reliable.The proposed consensus mechanism has advantages in throughput,transaction confirmation cost,fault tolerance,fairness guarantees of node participation.Moreover,it is conducive to improve data sharing initiatives of data providers. |