A high storage efficiency cloud audit method supporting data transfer
By generating transfer keys and adjusting system parameters, it solves the problem that the cloud audit solution cannot use the new owner's public key verification during the data transfer process, implements a cloud audit method with high storage and audit efficiency, supports data transfer and dynamically adjusts storage and audit responses.
Patent Information
- Application Number
- CN202211268858.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-17
- Publication Date
- 2024-10-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing cloud audit solutions cannot use the new owner's public key for data integrity verification during the data transfer process, and the storage and auditing efficiency is not high and cannot be dynamically adjusted.
Allow third-party auditors to conduct data integrity audits using the transfer key and the new owner's public key by generating transfer keys, support data transfer, and achieve high storage and audit efficiency through parameter adjustment during system initialization and key generation phases .
It implements auditing using the new owner's public key after data transfer, which improves storage and audit efficiency without requiring changes or recalculations to data and tags. Audit challenges and responses are of fixed length, independent of the number of indexes.
Smart Images

Figure CN115622699B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of computer security, and in particular relates to a high storage efficiency cloud audit method supporting data transfer. Background Art
[0002] In order to protect the integrity of outsourced data in cloud storage, cloud auditing schemes are proposed. Considering the limited resources of users, many existing cloud auditing schemes rely on a third party (Third Party Auditor, TPA) to perform auditing. The auditing process is mainly that TPA selects certain indexes, generates challenges and sends the challenges to the cloud server; after receiving the challenges, the cloud server finds the data and tags stored in the corresponding position of the index, calculates the corresponding response and returns the response to TPA; after receiving the response, TPA verifies and determines whether the user's data is preserved intact. In order to conduct audits correctly, the cloud server needs to store data and tags at the same time; therefore, the storage efficiency is equal to the data size / (data size + tag size). Existing cloud auditing work can be mainly divided into RSA-based structure, which is characterized by a small tag size but a large response size during the audit process; based on the Homomorphic Linear Authenticator (HLA), which is characterized by a small response size during the audit process, but the size of data and tags is equal. In particular, the use of evolution tag technology can achieve small tags and responses at the same time.
[0003] In actual applications, there is usually a need to transfer data; for example, transfer user A's data to user B. Existing cloud audit solutions use evolutionary tags to ensure both audit efficiency and storage efficiency. However, the existence of evolutionary tags means that the data and tags generated by user A can only calculate the evolutionary tags corresponding to user A's public key, and cannot be verified using user B's public key. In other words, even if user A transfers the data to user B, user A's public key will still need to be used for auditing later, which is inconsistent with actual application scenarios.
[0004] In order to support data transfer, the present invention proposes a high storage efficiency cloud audit method that supports data transfer. The method has the following characteristics. 1. Supports user data transfer. The data of one user can be attributed to another user, and the integrity can be audited with the public key of another user; 2. The data and labels do not need to be changed or recalculated during the data transfer process. The original owner of the data can calculate a transfer key for the new owner of the data; 3. The data storage efficiency is high and can be dynamically adjusted through specific parameters; 4. The data audit efficiency is high. The audit challenge and response are both fixed-length in size, which is independent of the number of indexes selected for the audit. Summary of the invention
[0005] The present invention proposes a high storage efficiency cloud audit method that supports data transfer. The method allows a user to transfer his data to another user. By generating a transfer key, a third-party auditor can use the transfer key and the public key of the data transfer object to perform data integrity audit, thereby enriching the functions of the cloud audit solution.
[0006] In order to achieve the above object, the technical solution of the present invention is as follows: a high storage efficiency cloud audit method supporting data transfer, the method comprising the following steps:
[0007] Step 1: System initialization phase: The system operator enters a security parameter 1 κ And a parameter n, output system common parameters params, that is
[0008] Setup(1 κ ,n)→params;
[0009] Step 2: Key generation phase: The user inputs the system public parameters params and outputs a public-private key pair (pk, sk), that is
[0010] KeyGen(params)→(pk,sk);
[0011] Step 3: Transfer key generation phase: The user (original owner of the data) enters the system public parameters params and private key sk A and the public key pk of the data transfer object B , output transfer key tk A→B ,Right now
[0012] TransKeyGen(params,sk A ,pk B )→tk A→B ;
[0013] Step 4: Label generation phase: The user inputs the system public parameters params, private key sk and message M, and outputs the label t corresponding to the message, that is,
[0014] TagGen(params,sk,M)→t;
[0015] Step 5: Challenge phase: This phase can be divided into pre-data transfer audit and post-data transfer audit. The third-party auditor inputs the system public parameter params and challenges the selected index set I, where
[0016] The audit before data transfer also requires the input of the public key pk of the original owner of the data A ,
[0017] For post-data transfer audit, you also need to enter the transfer key tkA→B and the public key pk of the data transfer object B ,
[0018] Output the challenge chal and a secret value s for verification, that is,
[0019] Challenge(params,I,pk A / (tk A→B ,pk B ))→(chal,s);
[0020] Step 6: Response phase: The cloud server inputs the system public parameters params, the challenge chal, the message M and the tag t stored at the corresponding position of the index set specified in the challenge, and outputs the response res, that is,
[0021] Response(params,chal,M,t)→res;
[0022] Step 7: Verification phase: The third-party auditor inputs the system public parameters params, challenge chal, response res and the secret value s generated in the challenge phase, and outputs the verification result 1 or 0 (where 1 indicates that the audit verification passed and 0 indicates that the verification failed), that is,
[0023] Verify(params,chal,res,s)→1 / 0.
[0024] As a further improvement of the present invention, the initialization phase in step 1 requires an additional input parameter n for determining the storage efficiency of the data, thereby achieving a dynamic balance between the storage efficiency and the audit response calculation overhead.
[0025] As a further improvement of the present invention, the step 3 is specifically as follows: by generating a transfer key, the original data can be transferred to a new data owner, and the integrity audit is performed using the public key of the new data owner.
[0026] As a further improvement of the present invention, the challenge phase in step 5 is subdivided into pre-data transfer and post-data transfer audits, which are as follows:
[0027] Audit before data transfer: The third-party auditor inputs the system public parameters params, challenges the selected index set I and the public key pk of the original owner of the data A , output the challenge chal and a secret value s for verification, that is,
[0028] Challenge(params,I,pk A )→(chal,s);
[0029] Audit after data transfer: The third-party auditor inputs the system public parameters params, the challenge selected index set I, and the transfer key tk A→B and the public key pk of the data transfer object B , output the challenge chal and a secret value s for verification, that is,
[0030] Challenge(params,I,tk A→B ,pk B )→(chal,s);
[0031] During the data transfer process, only the input is slightly different in the challenge generation stage, and the original data and labels do not need to be updated or recalculated.
[0032] As a further improvement of the present invention, the step 6 is as follows: Similar to the traditional audit scheme, the intermediate results calculated in the response phase can be aggregated, and the final output response res consists of only two elements, which is independent of the number of audit selections.
[0033] As a further improvement of the present invention, the verification phase in step 7 uses the public key of the current owner of the data, which is in line with the data transfer scenario in actual applications.
[0034] Compared with the existing cloud auditing solution using evolutionary tag technology, the present invention has the following characteristics:
[0035] (1) Support data transfer and enrich the functions of existing cloud audit solutions;
[0036] (2) The overall structure uses homomorphic linear verification tools, and the response scale of cloud server calculations during the audit process is small.
[0037] (3) The storage efficiency is the same as that of the cloud audit solution using evolutionary labeling technology, and can be dynamically adjusted through a parameter n. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is a process framework diagram of the present invention. DETAILED DESCRIPTION
[0039] In order to deepen the recognition and understanding of the present invention, the technical solution is described in detail below with reference to the accompanying drawings.
[0040] Embodiment 1: According to the description of the accompanying drawings, the specific implementation method of the present invention is as follows.
[0041] The present invention consists of the following stages.
[0042] Step 1: System initialization phase: Assume that BG(1 κ )→(e,p,G 1 ,G 2,G T ) is a bilinear group generation algorithm. The algorithm inputs the security parameter 1 κ , output prime number p-order cyclic group G 1 ,G 2 ,G T , where e:G 1 ×G 2 →G T The system operator enters a security parameter 1 κ and a parameter n, running BG(1 κ )→(e,p,G 1 ,G 2 ,G T ), and then select the generator g 1 ∈G 1 ,h 2 ∈G 2 and two hash functions H:{0,1} * →G 1 ,H 2 :G T →{0,1} 2κ , where Z p is a cyclic group modulo p. The common parameters of the system are params = (e, p, G 1 ,G 2 ,G T ,g 1 ,h 2 ,H,H 2 ,n).
[0043] Step 2: Key generation phase: The user inputs public parameters params and randomly selects a∈Z p And calculate
[0044]
[0045] Output user public and private key pair:
[0046] Step 3: Transfer key generation phase: The original owner of the data enters the system public parameters params and private key sk A = a and the public key of the data transfer object Then calculate
[0047]
[0048] Output
[0049] Step 4: Label generation phase: The user inputs the system public parameters params, private key sk=a and message M, and first divides the message into Z pThe element M on 1 ,m 2 ,…),m i ∈Z p , assuming the file name of the message is f, calculate each message block m i The corresponding label t i as follows:
[0050]
[0051] Then, every n labels are aggregated (i.e., n labels are operated in sequence as aggregate labels, and recorded as
[0052]
[0053] User uploaded message M and corresponding label t={T j}.
[0054] Step 5: Challenge phase: The third-party auditor inputs the system public parameters params, selects the challenge index set I, and randomly selects an r for each index i∈I in the set I. i ∈Z p ;also,
[0055] If you audit data before transfer, you also need to enter the public key of the original owner of the data. Randomly select a c∈Z p And calculate Special attention The secret value used for verification is not included in the above tuple. Set the challenge chal and the secret value s respectively
[0056]
[0057] If you want to audit the data after transfer, you also need to enter the transfer key. and the public key of the object to which the data is transferred Randomly select a c∈Z p And calculate
[0058]
[0059] Please note The secret value used for verification is not included in the above tuple. Set the challenge chal and the secret value s respectively
[0060]
[0061] The third-party auditor sends the challenge chal to the cloud server.
[0062] Step 6: Response phase: The cloud server inputs the system public parameter params, challenges chal, and finds the message M and label t corresponding to the index selected in the challenge = {T j}, calculate the evolutionary label corresponding to index i as follows (note ):
[0063] For pre-transfer audits, calculate
[0064]
[0065] For post-transfer audits,
[0066] calculate
[0067]
[0068] Then calculate The cloud server will respond with res=(H 2 (E),u) is returned to the third-party auditor.
[0069] Step 7: Verification phase: The third-party auditor inputs the system public parameters params, challenge chal, response res and the secret value s generated in the challenge phase to determine whether the following equation holds:
[0070]
[0071] If true, output 1, indicating that the verification is successful; otherwise, output 0, indicating that the verification fails.
[0072] The above content is only one embodiment of the present invention, and its description is detailed, but it cannot be used as a limitation on the scope of the invention patent. Under the premise of those skilled in the art without creative work, through deformation or minor improvements, they are also included in the patent protection scope of the present invention.
Claims
1. A high storage efficiency cloud audit method supporting data transfer, characterized in that: The method comprises the following steps: Step 1: System initialization phase: The system operator enters a security parameter 1 κ And a parameter n, output system common parameters params, that is Setup(1 κ ,n)→params; Step 2: Key generation phase: The user inputs the system public parameters params and outputs a public-private key pair (pk, sk), that is KeyGen(params)→(pk,sk); Step 3: Transfer key generation phase: The user, i.e. the original owner of the data, inputs the system public parameters params and the private key sk of the original owner of the data A. A and the public key pk of the data transfer object B , output transfer key tk A→B ,Right now TransKeyGen(params,sk A ,pk B )→tk A→B ; Step 4: Label generation phase: The original data owner user inputs the system public parameters params, private key sk and message M, and outputs the label t corresponding to the message, that is, TagGen(params,sk,M)→t; Step 5: Challenge phase: This phase is divided into pre-data transfer audit and post-data transfer audit. The third-party auditor inputs the system public parameter params and challenges the selected index set I, where The audit before data transfer also requires the input of the public key pk of the original owner of the data A , For post-data transfer audit, you also need to enter the transfer key tk A→B and the public key pk of the data transfer object B , Output the challenge chal and a secret value s for verification, that is, Challenge(params,I,pk A / (tk A→B ,pk B ))→(chal,s); Step 6: Response phase: The cloud server inputs the system public parameters params, the challenge chal, the message M and the tag t stored at the corresponding position of the index set specified in the challenge, and outputs the response res, that is, Response(params,chal,M,t)→res; Step 7: Verification phase: The third-party auditor inputs the system public parameters params, challenge chal, response res and the secret value s generated in the challenge phase, and outputs the verification result 1 or 0, where 1 means the audit verification is passed and 0 means the verification fails. Verify(params,chal,res,s)→1 / 0; The challenge phase in step 5 is divided into pre-data transfer and post-data transfer audits, which are as follows: Audit before data transfer: The third-party auditor inputs the system public parameters params, challenges the selected index set I and the public key pk of the original owner of the data A , output the challenge chal and a secret value s for verification, that is, Challenge(params,I,pk A )→(chal,s); Audit after data transfer: The third-party auditor inputs the system public parameters params, the challenge selected index set I, and the transfer key tk A→B and the public key pk of the data transfer object B , output the challenge chal and a secret value s for verification, that is, Challenge(params,I,tk A→B ,pk B )→(chal,s); During the data transfer process, only the input is slightly different in the challenge generation stage, and the original data and labels do not need to be updated or recalculated.
2. A high storage efficiency cloud audit method supporting data transfer according to claim 1, characterized in that: The initialization phase in step 1 requires an additional input parameter n to determine the storage efficiency of the data, thereby achieving a dynamic balance between storage efficiency and audit response computing overhead.
3. A high storage efficiency cloud audit method supporting data transfer according to claim 1, characterized in that: The step 3 is specifically as follows: by generating a transfer key, the original data can be transferred to the new data owner, and the integrity audit is performed using the public key of the new data owner.
4. A high storage efficiency cloud audit method supporting data transfer according to claim 1, characterized in that: The step 6 is as follows: the intermediate results calculated in the response phase are aggregated, and the final output response res consists of only two elements, which is independent of the number of indexes selected by the audit.
