The invention relates to the field of
privacy protection, in particular to a multi-level dynamic smart home privacy
authentication method based on verifiable certificates. The method comprises the following steps: S1, receiving an access request of a user; the access request comprises a user decentralized identifier (DID) and a verifiable
voucher VC, and the verifiable
voucher VC is bound with the user DID and applies for signing and issuing from an
identity provider for the user; step S2, executing a DID identity
authentication step; step S21, extracting a signer DID, a signature and a to-be-verified message from the verifiable
voucher VC, and verifying whether the signature is correct or not; and step S22, if the signature
verification is correct, analyzing a DID document according to the user DID and obtaining a public key and a
verification path of the DID document, carrying out Hash
processing on the user DID and calculating whether the Hash is the same as Merkle root Hash stored on the block chain in advance according to the obtained
verification path, and if the Hash is the same as the Merkle root Hash stored on the block chain in advance, the user identity
authentication is successful. According to the invention, the problem of privacy leakage caused by malicious behaviors of internal personnel of a
service provider in an existing smart home scene can be solved.