The invention discloses a medical
data sharing method and device based on a block chain technology,
electronic equipment and a storage medium. The method is applied to a medical alliance chain systemand comprises the steps: S1, receiving a user registration request, allocating a unique account Account (a user ID, a user type and user permission) to a user, generating a secret key K {k1, k2} for the user, k1 being a public key of the user in the medical alliance
chain system, and k2 being a private key of the user; s2, receiving a data operation request; s3, reading the unique account Accountof the user according to the operation request, and performing
verification matching with the user permission corresponding to the Account; and s4, after
verification is passed, performing corresponding operation according to the data operation request, and sending, by the access node, the public key to a
blockchain node. By means of the
blockchain technology, a doctor is the only user capable ofmodifying the medical
data content, the real reliability of data on the alliance
blockchain is guaranteed, and the consistency of shared data is guaranteed; a patient has the authority of acquiring medical data and setting privacy, so that the safety of privacy information of the patient is ensured, and various problems caused by privacy leakage are avoided; and after the third-party institution passes the alliance
authentication, the reliable medical data can be conveniently obtained, and the convenience is greatly improved.