计算机应用 ›› 2018, Vol. 38 ›› Issue (8): 2280-2286.DOI: 10.11772/j.issn.1001-9081.2018010279

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

面向云数据库的属性基加密和查询转换中间件

江炳城1,2, 何倩1,2, 陈亦婷1,3, 刘鹏1,2   

  1. 1. 认知无线电与信息处理教育部重点实验室(桂林电子科技大学), 广西 桂林 541004;
    2. 广西密码学与信息安全重点实验室(桂林电子科技大学), 广西 桂林 541004;
    3. 桂林电子科技大学 广西云计算与大数据协同创新中心, 广西 桂林 541004
  • 收稿日期:2018-01-29 修回日期:2018-03-27 出版日期:2018-08-10 发布日期:2018-08-11
  • 通讯作者: 何倩
  • 作者简介:江炳城(1990-),男,广东汕尾人,硕士研究生,主要研究方向:云数据库、数据安全;何倩(1979-),男,湖南郴州人,教授,博士,CCF高级会员,主要研究方向:云服务、分布式计算、信息安全;陈亦婷(1992-),女,湖南郴州人,硕士,主要研究方向:大数据、数据中心网络;刘鹏(1990-),男,河南驻马店人,硕士研究生,CCF会员,主要研究方向:分布式计算、数据安全。
  • 基金资助:
    国家自然科学基金资助项目(61661015);认知无线电与信息处理教育部重点实验室主任基金资助项目(CRKL160101);广西云计算与大数据协同创新基金资助项目(YD16801,C77KYS02SX18);广西密码学与信息安全重点实验室基金资助项目(GCIS201701)。

Cloud database oriented attribute based encryption and query translation middleware

JIANG Bingcheng1,2, HE Qian1,2, CHEN Yiting1,3, LIU Peng1,2   

  1. 1. Key Laboratory of Cognitive Radio and Information Processing of the Ministry of Education(Guilin University of Electronic Technology), Guilin Guangxi 541004, China;
    2. Key Laboratory of Cryptography and Information Security(Guilin University of Electronic Technology), Guilin Guangxi 541004, China;
    3. Guangxi Collaborative Innovation Center of Cloud Computing and Big Data, Guilin University of Electronic Technology, Guilin Guangxi 541004, China
  • Received:2018-01-29 Revised:2018-03-27 Online:2018-08-10 Published:2018-08-11
  • Supported by:
    This work is partially supported by the National Natural Science Foundation of China (61661015), the Key Laboratory of Cognitive Radio and Information Processing Director Fund, Ministry of Education (CRKL160101), the Guangxi Collaborative Innovation Center of Cloud Computing and Big Data Fund (YD16801, C77KYS02SX18), the Guangxi Key Laboratory of Cryptography and Information Security Fund (GCIS201701).

摘要: 针对云数据库租户隐私数据的加密和查询问题,提出并实现了一种面向云数据库的属性基加密(ABE)和查询转换服务中间件。首先,服务中间件的加解密部件对租户的对称密钥进行属性基加密,生成密文并保存;其次,服务中间件的查询转换部件对查询语句进行转换,使其可在加密后的数据库上正确执行;最后,租户的隐私数据经过对称加密后保存到云数据库。实验结果表明,与未加密数据库的数据写入和查询时间相比,加密数据库的写入时间与其相当,按照查询语句的复杂程度,查询时长增加10%~150%不等。理论分析表明,所采用的代理解密方案是安全的,与传统的基于密钥策略的属性基加密(CP-ABE)方案相比,代理解密方案在时间复杂度上更具优势。

关键词: 多租户, 云数据库, 属性基加密, 查询转换, 服务中间件

Abstract: Focusing on the problem of encryption and querying of tenant private data on cloud database, a cloud database oriented Attribute Based Encryption (ABE) and query transform service middleware was proposed and realized. Firstly, the tenant symmetric keys were encrypted in the encryption and decryption component of the service middleware through attribute based encryption, and the ciphertext was generated and saved. Secondly, the query statements were translated in the query translation component so that they can be correctly executed on the encrypted database. Finally, the tenant privacy data was stored in the cloud database after symmetric encryption. The experimental results show that compared with the unencrypted database, the write time of the encrypted database is equivalent, while the querying time is increased by 10% to 150% according to the complexity of the query statement. The theoretical analysis shows that the proposed proxy decryption method is secure, and it has superiority over traditional Key Policy Attribute Based Encryption (KP-ABE) algorithm in time complexity.

Key words: multi-tenant, cloud database, Attribute Based Encryption (ABE), query translation, service middleware

中图分类号: