《计算机应用》唯一官方网站 ›› 2026, Vol. 46 ›› Issue (4): 1171-1181.DOI: 10.11772/j.issn.1001-9081.2025040462

• 网络空间安全 • 上一篇    

按需披露的区块链数字身份认证机制DCIdentity

王诗雨1,2, 贾林鹏1, 金键3(), 李忠诚1,2(), 周继华4, 孙毅1,2   

  1. 1.中国科学院 计算技术研究所,北京 100190
    2.中国科学院大学 计算机科学与技术学院,北京 100049
    3.中国信息通信研究院,北京 100191
    4.航天新通科技有限公司,重庆 401332
  • 收稿日期:2025-04-28 修回日期:2025-08-21 接受日期:2025-08-22 发布日期:2025-09-09 出版日期:2026-04-10
  • 通讯作者: 金键,李忠诚
  • 作者简介:王诗雨(1999—),女,安徽六安人,硕士,主要研究方向:区块链、分布式数字身份
    贾林鹏(1995—),男,河北沧州人,助理研究员,博士,CCF会员,主要研究方向:区块链
    周继华(1979—),男,重庆人,研究员,博士,主要研究方向:通信网络
    孙毅(1979—),男,山东青岛人,研究员,博士,CCF杰出会员,主要研究方向:区块链、泛在智能、分布式应用。
  • 基金资助:
    国家重点研发计划项目(2022YFB2703403);国家自然科学基金资助项目(U22B2032)

DCIdentity: on-demand disclosure blockchain digital identity authentication mechanism

Shiyu WANG1,2, Linpeng JIA1, Jian JIN3(), Zhongcheng LI1,2(), Jihua ZHOU4, Yi SUN1,2   

  1. 1.Institute of Computing Technology,Chinese Academy of Sciences,Beijing 100190,China
    2.School of Computer Science and Technology,University of Chinese Academy of Sciences,Beijing 100049,China
    3.China Academy of Information and Communications Technology,Beijing 100191,China
    4.Aerospace New Generation Communications Company Limited,Chongqing 401332,China
  • Received:2025-04-28 Revised:2025-08-21 Accepted:2025-08-22 Online:2025-09-09 Published:2026-04-10
  • Contact: Jian JIN, Zhongcheng LI
  • About author:WANG Shiyu, born in 1999, M. S. Her research interests include blockchain, distributed identity.
    JIA Linpeng, born in 1995, Ph. D., assistant research fellow. His research interests include blockchain.
    ZHOU Jihua, born in 1979, Ph. D., research fellow. His research interests include communication network.
    SUN Yi, born in 1979, Ph. D., research fellow. His research interests include blockchain, ubiquitous intelligence, distributed applications.
  • Supported by:
    National Key Research and Development Program of China(2022YFB2703403);National Natural Science Foundation of China(U22B2032)

摘要:

针对现有分布式数字身份(DID)认证方案中,可验证声明(VC)在链下客户端明文存储导致的用户与客户端强耦合和隐私安全易受威胁的问题,提出一种按需披露的区块链数字身份认证机制DCIdentity。首先,基于万维网联盟去中心化标识标准(W3C DID),将用户身份的VC在链上加密存储,降低用户对客户端的依赖,实现认证过程与客户端的松耦合;然后,设计VC分层加密机制支持用户信息的按需披露,提升多主体认证效率并降低相关开销。实验结果表明,与链下存储方案相比,所提机制有效降低了客户端与用户身份认证过程的耦合程度,同时实现了用户身份信息的按需披露;与密文策略属性基加密(CP-ABE)方案相比,所提机制的加密处理时延与链上存储开销分别降低了91.5%和84.1%。可见,所提机制为多领域、多应用场景下的身份统一认证提供了高效解决方案,在保障用户信息隐私的同时,显著提高了认证效率,可有力支撑DID在实际场景中的落地应用。

关键词: 分布式数字身份, 客户端松耦合, 按需披露, 密文策略属性基加密, 身份认证

Abstract:

To solve the problems of strong coupling between users and clients and the vulnerability of privacy security due to the plaintext storage of Verifiable Credentials (VCs) in the off-chain clients in the existing Decentralized IDentity (DID) authentication schemes, an on-demand disclosure blockchain digital identity authentication mechanism was proposed, namely DCIdentity. Firstly, based on the World Wide Web Consortium Decentralized IDentifier (W3C DID), user identities’ VCs were encrypted and stored on the blockchain, which reduced users’ dependency on clients and realized loose coupling between the authentication process and the clients. Secondly, a hierarchical encryption mechanism for VCs was designed to support on-demand disclosure of user information, which enhanced efficiency in multi-party authentication and reduced the associated overhead. Experimental results show that compared with the off-chain storage scheme, the proposed mechanism reduces the degree of coupling between the clients and the user authentication process effectively, and achieves the on-demand disclosure of user identity information; compared with the Ciphertext-Policy Attribute-Based Encryption (CP-ABE) scheme, the proposed mechanism has the encryption processing delay and the on-chain storage overhead decreased by 91.5% and 84.1%, respectively. It can be seen that the proposed mechanism provides an efficient solution for unified identity authentication in multi-domain multi-application scenarios, which improves the authentication efficiency significantly while ensuring the privacy of user information, and can support the landing application of DID in actual scenarios strongly.

Key words: Decentralized IDentity (DID), client-side loose coupling, on-demand disclosure, Ciphertext-Policy Attribute-Based Encryption (CP-ABE), identity authentication

中图分类号: