CN102710661B - Cloud storage and aggregation architecture and data storage and aggregation method by using same - Google Patents
Cloud storage and aggregation architecture and data storage and aggregation method by using same Download PDFInfo
- Publication number
- CN102710661B CN102710661B CN201210211611.1A CN201210211611A CN102710661B CN 102710661 B CN102710661 B CN 102710661B CN 201210211611 A CN201210211611 A CN 201210211611A CN 102710661 B CN102710661 B CN 102710661B
- Authority
- CN
- China
- Prior art keywords
- data
- storage
- cloud
- polymerization
- aggregation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Storage Device Security (AREA)
- Computer And Data Communications (AREA)
Abstract
一种云存储与聚合架构及其数据存储与聚合方法,包括:用于对数据进行分割或者通过聚合服务器对数据进行加密的用户、用于对数据进行存储和本地聚合的互相独立的存储云、用于对存储云进行密钥分配的第三方可信服务器和用于对接收到的数据进行总聚合并对结果进行解密的数据聚合服务器及其数据存储与聚合方法。本发明保证用户在存储云的数据安全的同时,又可以保证在聚合服务器对数据进行聚合的时候无法得知存储云端的数据情况。
A cloud storage and aggregation architecture and a data storage and aggregation method thereof, comprising: a user for dividing data or encrypting data through an aggregation server, a mutually independent storage cloud for storing and locally aggregating data, A third-party trusted server for key distribution to storage clouds, a data aggregation server for total aggregation of received data and decryption results, and a data storage and aggregation method thereof. The present invention guarantees the security of the data stored in the cloud while ensuring that the user cannot know the data situation stored in the cloud when the aggregation server aggregates the data.
Description
技术领域 technical field
本发明属于计算机领域,涉及网络数据存在技术,具体是涉及一种云存储与聚合架构及其数据存储与聚合方法。The invention belongs to the field of computers and relates to network data storage technology, in particular to a cloud storage and aggregation architecture and a data storage and aggregation method thereof.
背景技术 Background technique
目前,数据的云存储与数据聚合技术在科研与实际应用中都变得越来越重要。而在数据云存储应用中,不可避免的会遇到隐私泄露问题的挑战。传统上,当个人用户在本地服务器上存储敏感信息时,个人用户必须相信服务器的硬件和软件是安全可靠的。在保护数据安全方面,已经存在着许多成熟的技术,比如访问控制,入侵检测和数据访问策略等等。然而,目前存在的这些技术都不能够保证数据库的绝对安全和入侵的免疫。比如Google Docs所暴露的越权限访问文档问题。At present, data cloud storage and data aggregation technologies are becoming more and more important in scientific research and practical applications. In data cloud storage applications, it is inevitable to encounter the challenge of privacy leakage. Traditionally, when an individual user stores sensitive information on a local server, the individual user must trust that the server's hardware and software are safe and reliable. In terms of data security protection, there are already many mature technologies, such as access control, intrusion detection and data access policy and so on. However, none of these existing technologies can guarantee the absolute security and intrusion immunity of the database. For example, the problem of unauthorized access to documents exposed by Google Docs.
发明内容 Contents of the invention
为了解决上述对数据安全保护和数据聚合技术的不足,本发明提供了一种云存储与聚合架构及其数据存储与聚合方法,不仅能保证数据的安全和用户的隐私,而且能方便的让数据聚合服务器能够通过存储云来进行数据聚合。In order to solve the above-mentioned deficiencies in data security protection and data aggregation technology, the present invention provides a cloud storage and aggregation architecture and its data storage and aggregation method, which can not only ensure data security and user privacy, but also allow data The aggregation server can perform data aggregation through the storage cloud.
本发明的技术解决方案如下:Technical solution of the present invention is as follows:
一种云存储与聚合架构,其特点是,包括:用户、多个互相独立的存储云、第三方可信服务器和数据聚合服务器,其中:A cloud storage and aggregation architecture, characterized by including: users, multiple independent storage clouds, third-party trusted servers, and data aggregation servers, wherein:
所述的用户,用于对数据进行分割或者通过聚合服务器对数据进行加密;The user is used to divide the data or encrypt the data through the aggregation server;
所述的存储云,用于对数据进行存储和本地聚合;The storage cloud is used for storing and locally aggregating data;
所述的第三方可信服务器,用于对存储云进行密钥分配;和The third-party trusted server is used for key distribution to the storage cloud; and
所述的聚合服务器,用于对接收到的数据进行总聚合和/或对数据进行加密。The aggregation server is configured to aggregate the received data and/or encrypt the data.
一种利用云存储与聚合架构的数据存储与聚合方法,其特点是,该方法包括如下步骤:A data storage and aggregation method using cloud storage and aggregation architecture, characterized in that the method includes the following steps:
第三方可信服务器对存储云进行密钥分配,每个存储云获得一个密钥,所有的密钥加起来和为零;The third-party trusted server distributes the key to the storage cloud, and each storage cloud obtains a key, and the sum of all the keys is zero;
在存储数据时,用户将数据分割成多个数据块,并将数据块分别存储在不同的存储云上;各存储云获得每一用户的一个数据块;各个存储云彼此相互独立,不允许互相通信合谋探测用户的数据信息,因此各个云端都无法得知完整的用户数据。When storing data, the user divides the data into multiple data blocks and stores the data blocks on different storage clouds; each storage cloud obtains one data block for each user; each storage cloud is independent of each other and does not allow each other The communication colludes to detect the user's data information, so each cloud cannot know the complete user data.
在聚合数据时,聚合服务器发送请求给每个存储云,同时聚合服务器产生满秩矩阵,并发送给每个存储云;When aggregating data, the aggregation server sends a request to each storage cloud, and at the same time, the aggregation server generates a full-rank matrix and sends it to each storage cloud;
存储云在本地聚合所有需要聚合用户的数据块,然后对本地聚合结果通过满秩矩阵进行数据变换后,发送给聚合服务器;The storage cloud aggregates all the data blocks that need to be aggregated locally, and then performs data transformation on the local aggregation result through a full-rank matrix, and then sends it to the aggregation server;
聚合服务器将接收到的数据进行的总聚合。The total aggregation of the data received by the aggregation server.
一种利用云存储与聚合架构的数据存储与聚合方法,其特点是,该方法包括如下步骤:A data storage and aggregation method using cloud storage and aggregation architecture, characterized in that the method includes the following steps:
第三方可信服务器对存储云进行密钥分配,每个存储云获得一个密钥,所有的密钥加起来和为零;The third-party trusted server distributes the key to the storage cloud, and each storage cloud obtains a key, and the sum of all the keys is zero;
在存储数据时,用户通过聚合服务器的公钥对数据进行同态加密,然后存储在任意一个存储云上;存储云无法知道聚合服务器的私钥,所以无法得知用户的明文数据。When storing data, the user performs homomorphic encryption on the data through the public key of the aggregation server, and then stores it on any storage cloud; the storage cloud cannot know the private key of the aggregation server, so it cannot know the user's plaintext data.
在聚合数据时,聚合服务器发送请求给每个存储云;When aggregating data, the aggregation server sends a request to each storage cloud;
存储云对所有需要聚合用户的数据块进行本地连乘操作,并将本地连乘操作结果发送给聚合服务器;The storage cloud performs local multiplication operations on all data blocks that need to be aggregated, and sends the local multiplication operation results to the aggregation server;
聚合服务器对接收到的数据进行连乘聚合,然后就对连乘聚合结果解密。The aggregation server performs multiplication and aggregation on the received data, and then decrypts the multiplication and aggregation results.
与现有技术相比,本发明的有益效果是保证用户在存储云的数据安全的同时,又可以保证在聚合服务器对数据进行聚合的时候无法得知存储云端的数据情况。Compared with the prior art, the beneficial effect of the present invention is that while ensuring the security of the data stored in the cloud, the user can also ensure that the aggregation server cannot know the status of the data stored in the cloud when the aggregation server aggregates the data.
附图说明 Description of drawings
图1是本发明云存储与聚合架构的结构示意图。FIG. 1 is a schematic structural diagram of the cloud storage and aggregation architecture of the present invention.
具体实施方式 Detailed ways
下面结合附图和实施例对本发明进一步说明,但不应以此限制本发明的保护范围。The present invention will be further described below in conjunction with the accompanying drawings and embodiments, but the protection scope of the present invention should not be limited thereby.
第一种方案:在图1中,左边的用户把用户的数据经过用户分割后存储在多个不同的存储云端(中间部分)。每个存储云获得一个用户的数据块。各个存储云彼此相互独立,不允许互相通信合谋探测用户的数据信息,因此各个云端都无法得知完整的用户数据。The first solution: In Figure 1, the user on the left stores the user's data in multiple different storage clouds (the middle part) after being divided by the user. Each storage cloud gets a user's data block. Each storage cloud is independent of each other, and it is not allowed to communicate with each other to conspire to detect user data information, so each cloud cannot know the complete user data.
在数据聚合方面:在这种架构中有一个独立可信的第三方服务器(右边部分)为各个存储云端分配密钥(r1,r2,...,rn)。每个存储云获得一个密钥,所有的密钥加起来的和为零,用cim来表示各个私钥。In terms of data aggregation: In this architecture, there is an independent and trusted third-party server (right part) that distributes keys (r 1 , r 2 , ..., r n ) for each storage cloud. Each storage cloud obtains a key, and the sum of all keys is zero, and c im is used to represent each private key.
其中n表示存储云的个数。Where n represents the number of storage clouds.
第一步:在聚合服务器需要聚合的时候,发送一个请求给各个存储云,并且数据聚合服务器产生一个满秩矩阵,维数为m,xij为矩阵的元素。Step 1: When the aggregation server needs to aggregate, it sends a request to each storage cloud, and the data aggregation server generates a full-rank matrix with dimension m, and x ij is the element of the matrix.
然后发给各个存储云,存储云先在本地聚合所有参与聚合的用户数据块。Then it is sent to each storage cloud, and the storage cloud first aggregates all user data blocks participating in the aggregation locally.
其中k是参与聚合的本地用户个数,ui是用户的数据。Among them, k is the number of local users participating in the aggregation, and u i is the user's data.
然后存储云把本地聚合的数据结果Ri分解成m+1分。Then the storage cloud decomposes the locally aggregated data result R i into m+1 points.
ci0+ci1+ci2+…+cim ←Ri c i0 +c i1 +c i2 +…+c im ←R i
然后把本地聚合结果通过满秩矩阵对数据进行变换。Then the local aggregation results are transformed through the full-rank matrix to the data.
再把变换后的数据yi1,yi2,…,yim发送给数据聚合服务器,最后数据聚合服务器把所有的变换后数据加和:Then send the transformed data y i1 , y i2 , ..., y im to the data aggregation server, and finally the data aggregation server adds up all the transformed data:
因为所以以上公式的最后一项可以消去,正好m个方程m个未知数。because Therefore, the last term of the above formula can be eliminated, exactly m equations and m unknowns.
通过解方程组获得把所有的解加起来得到最后的聚合结果就是在这个过程中数据聚合服务器无法探测个人数据。Obtained by solving the system of equations Adding up all the solutions to get the final aggregated result is The data aggregation server cannot detect personal data during this process.
第二种方案:在图1中,用户的数据不进行分割,而是通过聚合服务器的公钥进行加密,加密算法是Paillier同态加密。加密之后存储到任意一个存储云,存储云无法知道聚合服务器的私钥,所以无法得知用户的明文数据。用户的加密数据记为P(ui)。其中ui为每个用户的明文数据。The second solution: In Figure 1, the user's data is not divided, but encrypted with the public key of the aggregation server, and the encryption algorithm is Paillier homomorphic encryption. After encryption, it is stored in any storage cloud. The storage cloud cannot know the private key of the aggregation server, so it cannot know the user's plaintext data. The user's encrypted data is denoted as P(u i ). Where u i is the plaintext data of each user.
在数据聚合方面:在这种架构中有一个独立可信的第三方服务器(右边部分)为各个存储云分配密钥(sk1,sk2,...,skn)。每个存储云获得一个密钥,所有的密钥加起来的和为零。In terms of data aggregation: In this architecture, there is an independent and trusted third-party server (right part) that distributes keys (sk 1 , sk 2 , ..., sk n ) for each storage cloud. Each storage cloud gets a key, and the sum of all keys is zero.
其中n为存储云的个数。Where n is the number of storage clouds.
当聚合服务器进行聚合时,发送一个请求给所有的存储云,每个存储云在接收到聚合服务器发送的请求之后,先对参与聚合运算的用户进行本地连乘操作。操作结果记为AI When the aggregation server performs aggregation, it sends a request to all storage clouds. After each storage cloud receives the request sent by the aggregation server, it first performs a local multiplication operation for the users participating in the aggregation operation. The result of the operation is recorded as A I
其中k为参与运算的本地用户个数,H为哈希函数,t为当前的时间戳,Ri为连乘结果,Ai为加入时间戳后的存储云加密结果。Where k is the number of local users participating in the operation, H is the hash function, t is the current timestamp, R i is the multiplication result, and A i is the storage cloud encryption result after adding the timestamp.
然后存储云把Ai发送给聚合服务器,当聚合服务器收到所有存储云发来的Ai之后,聚合服务器进行以下连乘聚合:Then the storage cloud sends A i to the aggregation server. After the aggregation server receives A i from all the storage clouds, the aggregation server performs the following multiplication and aggregation:
因为sk1+sk2+…+skn=0,所以中间结果 Since sk 1 +sk 2 +…+sk n = 0, the intermediate result
因为操作过程是Paillier同态加密,所以聚合服务器直接对Res′解密得到最后的结果:Because the operation process is Paillier homomorphic encryption, the aggregation server directly decrypts Res' to get the final result:
其中m为所有参与聚合运算的用户数,Res为最终聚合结果。Among them, m is the number of users participating in the aggregation operation, and Res is the final aggregation result.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210211611.1A CN102710661B (en) | 2012-06-25 | 2012-06-25 | Cloud storage and aggregation architecture and data storage and aggregation method by using same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210211611.1A CN102710661B (en) | 2012-06-25 | 2012-06-25 | Cloud storage and aggregation architecture and data storage and aggregation method by using same |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102710661A CN102710661A (en) | 2012-10-03 |
CN102710661B true CN102710661B (en) | 2014-10-15 |
Family
ID=46903215
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210211611.1A Expired - Fee Related CN102710661B (en) | 2012-06-25 | 2012-06-25 | Cloud storage and aggregation architecture and data storage and aggregation method by using same |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102710661B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103036884B (en) * | 2012-12-14 | 2015-09-16 | 中国科学院上海微系统与信息技术研究所 | A kind of data guard method based on homomorphic cryptography and system |
CN104135534B (en) * | 2014-08-13 | 2018-02-13 | 宇龙计算机通信科技(深圳)有限公司 | Upload, processing and the acquisition methods of perception data, terminal and server |
CN105006128A (en) * | 2015-07-17 | 2015-10-28 | 上海电力学院 | Data acquisition method of smart electric network |
CN109361510B (en) * | 2018-11-07 | 2021-06-11 | 西安电子科技大学 | Information processing method supporting overflow detection and large integer operation and application |
CN110557361B (en) * | 2019-03-14 | 2022-04-26 | 深圳市丰浩达工程项目管理有限公司 | Method and system for dynamically managing overall process cost |
CN110691071A (en) * | 2019-09-11 | 2020-01-14 | 湖北工业大学 | Mass data processing system and method with privacy protection |
CN111931253B (en) * | 2020-09-15 | 2021-01-15 | 腾讯科技(深圳)有限公司 | Data processing method, system, device and medium based on node group |
CN116388987B (en) * | 2023-06-06 | 2023-08-25 | 北京原语科技有限公司 | Privacy data aggregation method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102045356A (en) * | 2010-12-14 | 2011-05-04 | 中国科学院软件研究所 | Cloud-storage-oriented trusted storage verification method and system |
CN102318263A (en) * | 2009-02-16 | 2012-01-11 | 微软公司 | Trusted cloud computing and services framework |
CN102428686A (en) * | 2009-05-19 | 2012-04-25 | 安全第一公司 | Systems and methods for securing data in the cloud |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100332530A1 (en) * | 2009-06-26 | 2010-12-30 | Microsoft Corporation | Islands of data |
-
2012
- 2012-06-25 CN CN201210211611.1A patent/CN102710661B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102318263A (en) * | 2009-02-16 | 2012-01-11 | 微软公司 | Trusted cloud computing and services framework |
CN102428686A (en) * | 2009-05-19 | 2012-04-25 | 安全第一公司 | Systems and methods for securing data in the cloud |
CN102045356A (en) * | 2010-12-14 | 2011-05-04 | 中国科学院软件研究所 | Cloud-storage-oriented trusted storage verification method and system |
Non-Patent Citations (1)
Title |
---|
Weiwei Jia等.SDSM: A Secure Data Service Mechanism in Mobile Cloud Computing.《computer communications workshops(INFOCOM WKSHPS),2011 IEEE conference on》.2011,第1061页右栏倒数第8行-第1064页左栏倒数第4行. * |
Also Published As
Publication number | Publication date |
---|---|
CN102710661A (en) | 2012-10-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102710661B (en) | Cloud storage and aggregation architecture and data storage and aggregation method by using same | |
CN115242555B (en) | A supervisable cross-chain privacy data sharing method and device | |
Chandu et al. | Design and implementation of hybrid encryption for security of IOT data | |
CN103107992B (en) | Multistage authority management method for cloud storage enciphered data sharing | |
EP3375129B1 (en) | Method for re-keying an encrypted data file | |
US11316671B2 (en) | Accelerated encryption and decryption of files with shared secret and method therefor | |
WO2019080281A1 (en) | Health record access control system and method in electronic medical cloud | |
CN109361510B (en) | Information processing method supporting overflow detection and large integer operation and application | |
CN104038349A (en) | Effective and verifiable public key searching encryption method based on KP-ABE | |
CN104168108A (en) | Attribute-based hybrid encryption method capable of tracing leaked secret key | |
CN107086912B (en) | Ciphertext conversion method, decryption method and system in heterogeneous storage system | |
Sasi et al. | A general comparison of symmetric and asymmetric cryptosystems for WSNs and an overview of location based encryption technique for improving security | |
Murugesan et al. | Analysis on homomorphic technique for data security in fog computing | |
CN104967693A (en) | Document similarity calculation method facing cloud storage based on fully homomorphic password technology | |
CN107204997A (en) | The method and apparatus for managing cloud storage data | |
CN104158880A (en) | User-end cloud data sharing solution | |
Chang et al. | Secure medical data management with privacy-preservation and authentication properties in smart healthcare system | |
Hong et al. | A fine-grained attribute based data retrieval with proxy re-encryption scheme for data outsourcing systems | |
CN102907041B (en) | A kind of data-sharing systems, data distribution systems and data guard method | |
Xu et al. | Secure deduplication for big data with efficient dynamic ownership updates | |
Dutta et al. | Hybrid Encryption Technique to Enhance Security of Health Data in Cloud Environment | |
CN104135495B (en) | The attribute base encryption method of the ciphertext policy of the without authority with secret protection | |
Chavan et al. | Secure CRM cloud service using RC5 algorithm | |
CN116894268A (en) | High-performance privacy exchange method, system and related equipment for mass data | |
CN112637233B (en) | Safe averaging method based on multi-user data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20141015 Termination date: 20170625 |
|
CF01 | Termination of patent right due to non-payment of annual fee |