《计算机应用》唯一官方网站 ›› 2024, Vol. 44 ›› Issue (3): 811-818.DOI: 10.11772/j.issn.1001-9081.2023040430

• 网络空间安全 • 上一篇    下一篇

基于区块链与CP-ABE策略隐藏的众包测试任务隐私保护方案

高改梅, 张瑾(), 刘春霞, 党伟超, 白尚旺   

  1. 太原科技大学 计算机科学与技术学院,太原 030024
  • 收稿日期:2023-04-18 修回日期:2023-08-01 接受日期:2023-08-07 发布日期:2023-12-04 出版日期:2024-03-10
  • 通讯作者: 张瑾
  • 作者简介:高改梅(1978—),女,山西吕梁人,副教授,博士,CCF会员,主要研究方向:区块链、网络安全、密码学
    刘春霞(1977—),女,山西大同人,副教授,硕士,CCF会员,主要研究方向:软件工程、数据库
    党伟超(1974—),男,山西运城人,副教授,博士,CCF会员,主要研究方向:智能计算、软件可靠性
    白尚旺(1964—),男,山西吕梁人,教授,硕士,主要研究方向:智能软件系统。
  • 基金资助:
    太原科技大学科研启动基金资助项目(20192062);太原科技大学研究生教育创新计划项目(JG2022010)

Privacy protection scheme for crowdsourced testing tasks based on blockchain and CP-ABE policy hiding

Gaimei GAO, Jin ZHANG(), Chunxia LIU, Weichao DANG, Shangwang BAI   

  1. College of Computer Science and Technology,Taiyuan University of Science and Technology,Taiyuan Shanxi 030024,China
  • Received:2023-04-18 Revised:2023-08-01 Accepted:2023-08-07 Online:2023-12-04 Published:2024-03-10
  • Contact: Jin ZHANG
  • About author:GAO Gaimei, born in 1978, Ph. D., associate professor. Her research interests include blockchain, network security, cryptography.
    LIU Chunxia, born in 1977, M. S., associate professor. Her research interests include software engineering, database.
    DANG Weichao, born in 1974, Ph. D., associate professor. His research interests include intelligent computing, software reliability.
    BAI Shangwang, born in 1964, M. S., professor. His research interests include intelligent software system.
  • Supported by:
    Scientific Research Start Fund of Taiyuan University of Science and Technology(20192062);Postgraduate Education Innovation Project of Taiyuan University of Science and Technology(JG2022010)

摘要:

为完善云环境下众测(众包测试)数据共享体系,解决众测领域存在的数据安全与隐私保护问题,提出基于区块链与基于密文策略的属性加密(CP-ABE)策略隐藏的众测任务隐私保护(CTTPP)方案。将区块链和属性基加密相结合,以提高众测数据共享的隐私性。首先,利用末端内部节点构造访问树表达访问策略,配合CP-ABE中的指数运算和双线性配对运算实现策略隐藏,以提高众测场景下数据共享的隐私保护能力;其次,调用区块链智能合约自动化验证数据访问者的合法性,与云服务器共同完成对任务密文访问权限的验证,进一步提高众测任务的安全性。性能测试结果表明,与同类型访问树策略隐藏算法相比,平均加密解密时间更短,加解密的计算开销更小;另外,当解密请求频率达到每秒1 000笔时,区块链的处理能力开始逐渐饱和,数据上链和数据查询的最大处理时延为0.80 s和0.12 s,适用于轻量级的商业化众测应用场景。

关键词: 隐私保护, 众包测试, 策略隐藏, 区块链, 属性基加密

Abstract:

In order to improve the crowdsourced testing data sharing system in the cloud environment and solve the problems of data security and privacy protection in the field of crowdsourced testing, a Crowdsourced Testing Task Privacy Protection (CTTPP) scheme based on blockchain and CP-ABE (Ciphertext-Policy Attribute-Based Encryption) policy hiding was proposed. Blockchain technology and attribute based encryption were combined to improve the privacy of crowdsourced testing data sharing by the proposed scheme. Firstly, the terminal internal nodes were used to construct an access tree to express the access policy, and the exponentiation operation and bilinear pairing operation in CP-ABE were used to realize policy hiding, so as to improve the privacy protection ability of data sharing in the crowdsourced testing scenarios. Secondly, the blockchain smart contract was called to automatically verify the legitimacy of data visitors, and completed the verification of task ciphertext access rights together with the cloud server to further improve the security of crowdsourced testing tasks. The performance test results show that the average encryption and decryption time is shorter, and the calculation overhead of encryption and decryption is lower than the same type of access tree policy hiding algorithm. In addition, when the frequency of decryption requests reaches 1 000 transactions per second, the processing capacity of blockchain is saturated gradually, and the maximum processing delay for data uplinking and data querying is 0.80 s and 0.12 s, so the proposed scheme is suitable for lightweight commercial crowdsourced testing application scenarios.

Key words: privacy protection, crowdsourced testing, policy hiding, blockchain, Attribute-Based Encryption (ABE)

中图分类号: