Shared DID enables users to log in uniformly and protect identity privacy. Based on the blockchain, a distributed identity service conforming to the W3C standard is established, which enables users to reclaim the ownership, control and use rights of data, and realizes the autonomous control of identity privacy data, secure storage of information data, controllable and traceable authorization sharing, selective disclosure of privacy information and other scenarios.