Journal of Computer Applications ›› 2024, Vol. 44 ›› Issue (12): 3751-3758.DOI: 10.11772/j.issn.1001-9081.2023121821

• 2023 CCF China Blockchain Conference (CCF CBCC 2023) • Previous Articles     Next Articles

Traceability storage model of charity system oriented to master-slave chain

Jing LIANG1,2,3, Wunan WAN1,2,3(), Shibin ZHANG1,2,3, Jinquan ZHANG1,2,3, Zhi QIN1,2,3   

  1. 1.School of Cybersecurity,Chengdu University of Information Technology,Chengdu Sichuan 610225,China
    2.Advanced Cryptography and System Security Key Laboratory of Sichuan Province (Chengdu University of Information Technology) Chengdu Sichuan 610225,China
    3.Industrial College of Cyberspace Security,Chengdu University of Information Technology,Chengdu Sichuan 610203,China
  • Received:2023-12-28 Revised:2024-02-15 Accepted:2024-02-26 Online:2024-03-11 Published:2024-12-10
  • Contact: Wunan WAN
  • About author:LIANG Jing, born in 1998, M. S. candidate. Her research interests include blockchain.
    ZHANG Shibin, born in 1971, Ph. D., professor. His research interests include network and information security, blockchain, artificial intelligence security.
    ZHANG Jinquan, born in 1974, Ph. D., associate professor. His research interests include cryptology, blockchain.
    QIN Zhi, born in 1977, M. S., associate professor. His research interests include network and information security, blockchain, internet of things.
  • Supported by:
    National Key Research and Development Program on Cyberspace Security Governance(2022YFB3103103);Key Research and Development Program of Sichuan Province(2022YFS0571);Key Supporting Program of Chengdu Science and Technology Bureau(2023-XT00-00002-GX)

面向主从链的慈善系统溯源存储模型

梁静1,2,3, 万武南1,2,3(), 张仕斌1,2,3, 张金全1,2,3, 秦智1,2,3   

  1. 1.成都信息工程大学 网络空间安全学院,成都 610225
    2.先进密码技术与系统安全四川省重点实验室(成都信息工程大学),成都 610225
    3.成都信息工程大学 网络空间安全产业学院,成都 610203
  • 通讯作者: 万武南
  • 作者简介:梁静(1998—),女,四川江油人,硕士研究生,CCF会员,主要研究方向:区块链
    张仕斌(1971—),男,重庆人,教授,博士,CCF高级会员,主要研究方向:网络与信息安全、区块链、人工智能安全
    张金全(1974—),男,四川邻水人,副教授,博士,主要研究方向:密码学、区块链
    秦智(1977—),男,四川资阳人,副教授,硕士,主要研究方向:网络与信息安全、区块链、物联网。
  • 基金资助:
    国家重点研发计划“网络空间安全治理”重点专项(2022YFB3103103);四川省科技计划项目(2022YFS0571);成都市科技局重点研发支撑计划项目(2023?XT00?00002?GX)

Abstract:

The traceability data of single-chain storage charity system have huge storage pressure, and the charity data need to be shared, may leading to the problem of privacy leakage. Therefore, a charity system traceability storage model oriented to master-slave chain was proposed. Firstly, a master chain and several slave chains were designed in the model. The master chain was mainly responsible for the query of charity traceability data and the supervision of slave chains, and the slave chains were responsible for the storage of a large number of charity traceability data. Then, an intelligent contract for the classification of charity traceability data was designed to classify charity data into public data and private data according to privacy requirements. The public data were stored in the master chain directly, while the private data were encrypted with Ciphertext-Policy Attribute-Based Encryption (CP-ABE) and stored in the slave chains, which ensured data privacy, thus achieving storage scalability and intelligence. Finally, the storage structure of Merkle tree was improved. By designing a smart contract to mark duplicate data, the same block detection and duplicate data deletion of blockchain system were completed, which avoided data redundancy and reduced storage consumption. Experimental results show that compared to the single-chain model, with the increase of total number of data, the proposed model has the response time of the master-slave chain stabilized at 0.53 s and the throughput stabilized at 149 B. It can be seen that the master-slave chain model improves search efficiency, optimizes storage space, and realizes data privacy protection.

Key words: traceability, charity, master-slave chain, Attribute-Based Encryption (ABE), data redundancy, privacy protection

摘要:

针对单链存储慈善系统溯源数据存在巨大的存储压力,同时慈善数据需要共享,可能会造成隐私泄露的问题,提出一种面向主从链的慈善系统溯源存储模型。首先,在模型中设计一条主链和多条从链,主链主要负责查询慈善溯源数据和监管从链,而从链负责存储大量慈善溯源数据;其次,设计慈善溯源数据分类智能合约将慈善数据按照隐私性需求分为公开数据和隐私数据两大类,公开数据直接存储于主链,而隐私数据采用密文策略属性基加密(CP-ABE)加密后存储在从链,从而保证数据隐私,并实现存储的可扩展性和智能性;最后,改进Merkle tree的存储结构,通过设计一个智能合约标记重复数据,完成对区块链系统相同块的检测和重复数据的删除,从而避免数据冗余,减少存储消耗。实验结果表明,与单链模型相比,随着数据总量的增大,所提模型的主从链的响应时间稳定在0.53 s,吞吐量稳定在149 B。可见,主从链模型提高了查找效率,优化了存储空间,并实现了数据隐私保护。

关键词: 溯源, 慈善, 主从链, 属性基加密, 数据冗余, 隐私保护

CLC Number: