The invention belongs to the technical field of
Internet of Things big data, and provides a medical
Internet of Things oriented multi-role anonymous
data sharing access method, which comprises the following steps: S1,
system initialization: a PKG performs
system initialization and generates
system public parameters and private keys; s2,
data processing and uploading: the patient terminal device performs initial
encryption on
patient data, and the
edge node generates a corresponding signature and uploads the signature to the
cloud server; s3,
data access: when the authorized user accesses, the patient
terminal equipment initiates a re-
encryption request to the
cloud server; s4, data deletion: a plurality of cloud servers delete all copies and generate aggregation proof, and submit integrity proof and deletion proof to the
edge node for
verification; s5, updating the secret key: when the secret key is leaked, marking that the original secret key is invalid, updating the secret key and carrying out re-
encryption processing; and S6, expiration disclosure: if the
patient data expires, the secret key automatically loses
efficacy, and the data are disclosed. The method ensures that the data is really deleted and not tampered, and meets the requirement of high reliability.