The invention relates to a DID identity-based block chain zero-knowledge proof anonymous
certificate verification method and
system. The method comprises the steps of obtaining DID distributed digital
certificate identity information of a
certificate to-be-verified provider in a
Hash chain; obtaining DID distributed digital
verification identity information written by a
certificate verification party based on the block chain; then, on the basis of a cross-
system anonymous
certificate verification library pre-stored in a block chain, carrying out
certificate verification comparison on the acquired DID distributed digital certificate identity information and the DID distributed digital
verification identity information, and generating a certificate verification comparison result; finally, according to the
voucher verification comparison result, generating a
voucher verification comparison result verification data code, and sending the
voucher verification comparison result verification data code to the voucher to-be-verified provider and the voucher verification party. According to the method, the problem of
data consistency of a distributed
system in the prior art is solved, the personal identification information is protected, and tampering is prevented.