A cloud data location public verification method and system based on CPOR model

By introducing atomic evidence and double random challenges in cloud data location verification, combined with the shortest-nearest method of threshold, the problems of excessive delay and low accuracy in cloud data location verification are solved, and efficient and accurate location verification is achieved. .

CN111859412BInactive Publication Date: 2024-10-01INSTITUTE OF INFORMATION ENGINEERING CHINESE ACADEMY OF SCIENCES
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010529956.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-11
Publication Date
2024-10-01
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing cloud data geographical location verification solutions have large computing delays, resulting in long response delays and low accuracy, and cannot effectively detect the data storage location of cloud service providers.

Method used

A public verification method for cloud data location based on the CPOR model is designed. It reduces the computational overhead of response delay through atomic evidence and double random challenges, and determines the data storage location through the shortest-nearest method of threshold to ensure the accuracy of verification.

Benefits of technology

Significantly reduces the computational overhead of response delay, improves the accuracy and practicality of cloud data geographical location verification, enhances verification security, and solves the bottleneck of excessive delay and low accuracy in existing solutions. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111859412B_ABST
    Figure CN111859412B_ABST
Patent Text Reader

Abstract

The present invention provides a cloud data location public verification method and system based on the CPOR model. The data owner uploads the segmented user files and file block tag sets to the cloud service provider, and sends a request containing a random public key and a user file tag to each selected third-party audit; each third-party audit box generates a number of random challenge messages and sends them to the cloud service provider, and records the timestamp; the cloud service provider generates corresponding atomic evidence based on the random challenge information and returns it to each third-party audit; each third-party audit records the local timestamp of receiving the atomic evidence, calculates the response delay of each third-party audit to the data center storing the user data, and determines whether the user data is stored in the data center promised by the cloud service provider. The present invention solves the problem of excessive response delay caused by large calculation delay in the existing cloud data geographic location verification scheme, and breaks through the bottleneck of low accuracy of geographic location verification in the existing scheme.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of cloud service security attribute verification, and mainly relates to a cloud data location public verification method and system based on the CPOR model. Background Art

[0002] Due to the outstanding advantages of cloud services such as low cost and rapid deployment, more and more consumers are migrating their data from local to cloud. However, while cloud services bring low economic costs and low IT management costs to users, they also bring risks to the security of users' outsourced data. Among them, the geographical location of cloud data storage has received widespread attention from countries to individuals. First, the location information of data in cloud services plays an important role in practical applications. For example, online advertisers customize their content according to the location of customers and limit content distribution to specific geographic areas. Video network content providers, such as Hulu and Pandora, limit their content distribution to specific geographic areas. Customers store data off-site to resist regional power outages or natural disasters. Secondly, it is the user's right to accurately grasp the actual storage location of outsourced data, which is provided by cloud service providers (Cloud Service Provider, referred to as CSP) in the form of service level agreement (Service Level Agreement, referred to as SLA). Thirdly, the laws and directives of different countries and regions regulate the storage and processing of data across administrative jurisdictions, which also prompts users to pay attention to the storage location of outsourced data. For example, the USA PATRIOT Act, the EU General Data Protection Regulation (GDPR), and China's Measures for the Security Assessment of the Transfer of Personal Information and Important Data Abroad (Draft for Comments) all have clear requirements for the storage location of data within administrative jurisdictions.

[0003] Although CSPs provide location information in SLAs, such as Amazon's EC2 service, improper behavior of CSPs cannot be detected by relying solely on contracts and agreements. Because users only need to deploy data on the CSP's infrastructure without maintaining hardware facilities, this opacity makes it impossible for users to obtain the true location of data in cloud services. Secondly, CSPs have the ability to quickly migrate storage resources and computing resources, and CSPs can enable remote hosts to respond to storage challenges with the same IP address. Therefore, verifying the geographic location of cloud data is a very challenging research.

[0004] Chinese patent application CN110808953A discloses a location-aware verifiable backup method for cloud data. However, when using this method, a ReliableBox plug-in needs to be installed, which increases the complexity of the system.

[0005] For the convenience of describing this patent application, some background knowledge related to this patent application will be introduced below.

[0006] 1. Bilinear Map

[0007] Assume that G and G T is a multiplicative cyclic group with the same prime order p, and g is a generator of G. If the following conditions are met, then it is a bilinear map e:G*G→G T :

[0008] 1. Bilinear: For as well as

[0009] 2. Non-degeneracy: there exists u∈G,υ∈G such that e(u,υ)≠1;

[0010] 3. Computability: There exists an efficient algorithm that can calculate e for all elements in G.

[0011] 2. Compacted Data Recoverability Proof

[0012] Compact Proofs of Retrievability (CPOR) is a data integrity proof method that allows any entity to detect the behavior of cloud service providers in storing data through a challenge-response protocol. Data owners or third-party auditors can send a random challenge containing multiple file block numbers to the cloud service provider at any time. The cloud service provider uses the stored data and homomorphic labels to generate corresponding evidence to prove the integrity of the stored data. The CPOR scheme mainly includes five algorithms: key generation algorithm, file block label generation algorithm, challenge generation algorithm, evidence generation algorithm and verification. The specific algorithm content is as follows:

[0013] 1. Key generation algorithm KeyGen(1 λ )→(sk,pk), the data owner executes the key generation algorithm, the input of KeyGen(·) is the security parameter λ, and the output is the private key sk and the public key pk. The specific process of generating the public-private key pair is as follows: 1) The data owner generates a random signature key pair (spk,ssk); 2) Select a random element , calculate the element v←g α ; 3) Private key sk = (α, ssk), public key pk = (v, spk).

[0014] 2. File block tag generation algorithm SigGen(sk,F)→(t,Φ), which is executed by the data owner to generate the verification tag of file F. The input parameters of SigGen(·) are the private key sk and file F, where F is an ordered file block combination {mi},1≤i≤n, the output includes the file label t and the file block label set Φ.

[0015] 3. Challenge generation algorithm GenChal(pk,t)→chal, which is run by TPA. The input parameters of GenChal(·) include the public key pk and the file label t, and its output is the challenge chal.

[0016] 4. Evidence generation algorithm GenProof(F,Φ,chal)→proof, which is run by CSP to generate the corresponding evidence. The input parameters of GenProof(·) include file F, signature set Φ and challenge chal. Its output is the evidence corresponding to challenge chal.

[0017] 5. VerifyProof(pk, chal, proof) → {0, 1}, which is executed by TPA to verify the security and integrity of the challenged file. The input of VerifyProof(·) is the public key pk, the challenge chal and the proof. If the verification is successful, it outputs 1, otherwise it outputs 0. Summary of the invention

[0018] According to the characteristics of the existing cloud infrastructure, the present invention proposes a cloud data location public verification method and system based on the CPOR model, so that users can remotely verify whether the cloud data is truly stored in the geographic location promised by the cloud service provider. The present invention breaks through the bottleneck of the existing cloud data geographic location public verification scheme, in which the response delay is too large due to the delay in evidence calculation, resulting in low accuracy of geographic location verification. By designing atomic evidence, the present invention reduces the computational overhead of response delay to the level of conventional operations while retaining the advantages of homomorphic operations.

[0019] The technical solution of the present invention is as follows:

[0020] A cloud data location public verification method based on the CPOR model, the steps of which include:

[0021] 1) The data owner generates a random public-private key pair, divides the user file into several file blocks, generates a user file tag and a file block tag set, and uploads the divided user file and file block tag set to the cloud service provider;

[0022] 2) The data owner selects at least three reliable landmark hosts with known locations as third-party auditors and sends a request containing a random public key and user file label to each third-party auditor;

[0023] 3) Each third-party auditor generates a number of random challenge messages, sends the random challenge messages to the cloud service provider, and records the timestamp of sending each random challenge message;

[0024] 4) The cloud service provider generates corresponding atomic evidence based on the random challenge information and returns the atomic evidence to each third-party audit;

[0025] 5) Each third-party auditor records the local timestamp of receiving the atomic evidence one by one, and combines it with the timestamp of sending the corresponding random challenge information to calculate the response delay of each third-party auditor to the data center storing the user data. It also determines whether the user data is stored in the data center promised by the cloud service provider through the geographical location of the data center in the service level agreement, the geographical location of each third-party auditor and the response delay.

[0026] Furthermore, the following strategies are used to select reliable landmark hosts:

[0027] 1) Located in the geographical vicinity of the committed data center;

[0028] 2) Ability to send and receive data packets;

[0029] 3) Ability to send random challenge messages and verify the correctness of atomic proofs.

[0030] Furthermore, a random public-private key pair is generated by the following steps:

[0031] 1) The data owner generates a random signature key pair (spk, ssk);

[0032] 2) Select a random element Calculate the element v←g α ;

[0033] 3) Generate a random public key pk = (v, spk) and a random private key sk = (α, ssk).

[0034] Furthermore, the user file label and the user file block label set are obtained through the following steps:

[0035] 1) Split user file F = (m 11 ,…,m ij ,…m ns ), n is the number of file blocks, s is the number of sectors contained in each file block, 1≤i≤n, 1≤j≤s;

[0036] 2) Select s random elements u 1 ,u 2 ,…u s ←G, where G is a multiplicative cyclic group with prime order p;

[0037] 3) Calculate the user file label t = name||n||u 1 ||u 2 ||…||us ||SSig ssk (name||n||u 1 ||u 2 ||…||u s ), where name is the file name, n is the number of file blocks, SSig ssk (·) is the signature of the private key ssk;

[0038] 4) Calculate the set m of file blocks in the same sector i Tags H(·) is a hash function;

[0039] 5) Mark the user file block tag set Φ = {σ i}.

[0040] Furthermore, the third-party audit verifies the request through the following steps:

[0041] 1) Parse the random public key pk into (v, spk);

[0042] 2) Use spk to verify the user's file tag. If the verification passes, the request is considered legal.

[0043] Furthermore, several random challenge messages are generated through the following steps:

[0044] 1) Recover the number of file blocks n and random element u through the user file tag 1 ,u 2 ,…u s ;

[0045] 2) Randomly select c file block indexes and generate the first element set I = {n 1 ,n 2 ,…,n c}, c∈[1,n];

[0046] 3) For each challenge element i∈I, generate a random value p is a large prime number;

[0047] 4) Randomly select q sector elements to generate the second element set Ω = {s 1 ,…,s q}, q∈[1,s];

[0048] 5) Get random challenge information chal = {{(i,v i )},Ω}.

[0049] Furthermore, by calculating the median value of the response delay of each random challenge message of a third-party audit, the response delay from the third-party audit to the data center storing the user data is obtained.

[0050] Further, the following steps are used to determine whether the user data is stored in the data center promised by the cloud service provider:

[0051] 1) Using the threshold-based shortest-closest method, the third-party audit geographic location with the shortest delay is estimated as the storage location of the user data;

[0052] 2) Determine whether the user data is stored in the data center promised by the cloud service provider through the geographical location of the data center in the service level agreement and the third-party audit geographical location with the shortest latency.

[0053] Furthermore, the shortest delay is less than a set threshold.

[0054] A cloud data location public verification system based on the CPOR model, comprising:

[0055] The user end is used to generate a random public-private key pair, split the user file into several file blocks, generate a user file tag and a set of file block tags, upload the split user file and the set of file block tags to the cloud service provider, select at least three reliable landmark hosts with known locations as third-party audits, and send a request containing the random public key and the user file tag to each third-party audit;

[0056] The cloud service provider, which stores user data in the data center in the service level agreement, generates corresponding evidence based on the random challenge information sent by the third-party auditor and returns the evidence to each third-party auditor;

[0057] Third-party audit is used to generate a number of random challenge messages and send the random challenge messages to the cloud service provider. It records the timestamp of sending each random challenge message and the local timestamp of receiving the atomic evidence. It combines the timestamp of sending the corresponding random challenge message to calculate the response delay of each third-party audit to the data center storing the user data. It also determines whether the user data is stored in the data center promised by the cloud service provider through the geographical location of the data center in the service level agreement, the geographical location of each third-party audit and the response delay.

[0058] Compared with the prior art, the present invention has the following beneficial effects:

[0059] The present invention solves the problem of excessive response delay due to large computational delay in existing cloud data geolocation public verification schemes, and breaks through the bottleneck of low accuracy of geolocation verification in existing schemes. According to the characteristics of homomorphic labels and homomorphic evidence generation algorithms in data integrity verification methods, the present invention designs an atomic evidence in a public verification scheme. While retaining the characteristics of low communication overhead, no backup, no state, and unlimited times of homomorphic verification, atomic evidence significantly reduces the computational overhead in response delay through limited conventional calculations (addition and multiplication), thereby obtaining accurate response delay. The present invention expands the scope of application of cloud data geolocation verification through a threshold-based shortest-closest method, which is not limited to whether the delay is strongly linearly related to the distance. Through double random challenges, the present invention greatly improves the practicality and security of cloud data geolocation verification. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] Figure 1 It is a schematic diagram of evidence generation.

[0061] Figure 2 It is a system model diagram.

[0062] Figure 3 It is a scheme framework diagram. DETAILED DESCRIPTION

[0063] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below through embodiments and drawings.

[0064] Figure 2 This is a system model diagram of the present invention. The system model of the present invention is mainly composed of a user end, a CSP and a TPA.

[0065] 1) User side: that is, the data owner, stores the data in the CSP's data center (not locally). The user side initiates a cloud data geolocation verification request and entrusts the TPA to carry out the cloud data geolocation verification work.

[0066] 2) CSP: Provides computing resources, network resources, and storage resources. Promises to store user data in data centers in designated geographic locations. However, it may migrate user data to overseas data centers with lower IT costs for its own benefit.

[0067] 3) TPA (Third Party Auditor): After user authorization, it initiates verification to CSP on behalf of the user through the "challenge-response" method.

[0068] Specifically, the technical solution adopted by the present invention is as follows:

[0069] The present invention can be divided into four stages, namely, setup, selection and parsing, challenge-response, and verification. Figure 3 As shown, each stage contains multiple polynomial time algorithms.

[0070] First, we assume that: 1) File F is erasure coded and divided into n file blocks m 1 ,m 2 ,…,m n ,in is a large prime number; 2) Each file block contains s sectors, that is, F = (m 11 ,m 12 ,…,m ns );3)e:G×G→G T is a bilinear mapping; 4) H:{0,1} * →G, hash function; 5) g is the generator of G. The specific algorithm involved in the present invention is as follows:

[0071] 1. Key generation algorithm KeyGen(1 λ )→(sk,pk), the data owner executes the key generation algorithm, the input parameter of KeyGen(·) is λ, and the output is the private key sk and the public key pk, where the random signature key pair (spk,ssk) is generated by the data owner, and a random element is selected Calculate the element v←g α Therefore, the private key sk = (α, ssk) and the public key pk = (v, spk).

[0072] 2. File block tag generation algorithm SigGen(sk,F)→(t,Φ), which is executed by the data owner to generate the verification tag of file F. The input parameters of SigGen(·) are the private key sk and file F, where F is an ordered file block combination {m i},1≤i≤n. The output of SigGen(·) includes the file label t and the file block label set Φ.

[0073] 3. Challenge generation algorithm GenChal(pk,t)→chal, which is run by TPA. The input parameters of GenChal(·) include the public key pk and the file label t, and its output is the challenge chal.

[0074] 4. Evidence generation algorithm GenProof(F,Φ,chal)→proof, which is run by CSP to generate the corresponding evidence. The input parameters of GenProof(·) include file F, signature set Φ and challenge chal, and its output is the evidence corresponding to challenge chal.

[0075] 5. Delay calculation algorithm ComDelay(D)→delay, which is run by TPA to calculate the response delay. The input of ComDelay(·) is the set of response delays of the atomic evidences collected by the specified TPA, and the output is the median delay between the TPA and the CSP.

[0076] 6. VerifyProof(pk, chal, proof) → {0, 1}, which is executed by TPA to verify the security and integrity of the challenged file. The input of VerifyProof(·) is the public key pk, the challenge chal and the proof. If the verification is successful, it outputs 1, otherwise it outputs 0.

[0077] 7. Location verification algorithm VerifyGeo(delay, region) → {0, 1}, which is executed by the data owner or TPA. The input of VerifyGeo(·) is the response delay corresponding to the TPA participating in the verification and the location promised by the CSP in the SLA. If the verification is successful, the output is 1, otherwise the output is 0.

[0078] In the present invention, the main tasks of each stage are as follows:

[0079] 1. In the setup phase, the data owner first generates a random key pair (sk, pk) through KeyGen(·), and then executes SigGen(·) to generate a data signature. Specifically, 1) the data owner splits the given file F = (m 11 ,m 22 …m ns ). 2) The user selects s ​​random elements u 1 ,u 2 ,…u s ←G, and calculate the label of file F as t=name||n||u 1 ||u 2 ||…||u s ||SSig ssk (name||n||u 1 ||u 2 ||…||u s ), where name is the file name, SSig ssk (·) is the signature of the private key ssk. 3) Next, calculate each file block mi The label σ of (1,2,…,n) i , Mark all the labels set Φ={σ i},1≤i≤n; 4) The data owner sends {F,Φ} to the CSP and deletes the local copy.

[0080] 2. In the Selecting-Parsing stage, first, the data owner selects the optimal TPA to verify the data location. As described in the system model, TPA plays the dual roles of a verifier and an active landmark. As an active landmark, TPA requires the ability to send and receive request data packets. In addition, TPA also requires that the location is known and close to the location promised by the SLA. It should be pointed out that the closer the number of landmarks is to the target, the higher the accuracy is. Then, the data owner sends {t, pk} to TPA. As a verifier, upon receiving the request, each selected TPA parses the file tag t. Specifically, upon receiving {t, pk}, TPA parses pk as (v, spk), and then uses the spk user file tag t. If the signature is invalid, the verification fails, otherwise TPA recovers n and u 1 ,u 2 ,…u s , where n is the number of file blocks contained in the file, u 1 ,u 2 ,…u s s random values ​​(s is the number of sectors contained in each file block) selected for the data owner are used to verify the correctness of the evidence.

[0081] 3. In the Challenge-Response phase, once the parsing is successful, each selected TPA performs the following operations: 1) randomly selects c file block index elements, i.e., I = {n 1 ,n 2 ,…,n c}, c∈[1,n]; 2) For each element i∈I, generate a random value 3) Select q sector index elements, q∈[1,s], that is, Ω={s 1 ,…,s q}, note that Ω is not arranged in order of size; 4) Send challenge chal = {{(i,v i )},Ω} to CSP, and the timestamp of TPA record sending is t 0 Once a challenge is received from TPA, chal={{(i,v i )},Ω}, CSP immediately executes GenProof(·) to generate the corresponding proof, such as Figure 1As shown, the evidence includes σ and {μ j}, j∈[1,s]. The specific operation is as follows: 1) Calculate by formula (1) And send to TPA, where is atomic evidence; 2) CSP repeats the above steps q times, where s j and j are both sector index numbers, and q sets Ω={s 1 ,…,s q} is a subset of sector elements; 3) CSP calculates the remaining μ and σ through formula (1) and sends them to TPA.

[0082]

[0083] 4. In the Verification phase, Received, TPA runs ComDelay(·) to record the timestamp Then, we can calculate by formula (2) The corresponding delay will finally be (Right now ) is taken as the delay between the specified TPA and CSP.

[0084]

[0085] Next, TPA executes VerifyProof(·) and verifies the evidence through formula (3). If the verification fails, it outputs 0. Otherwise, TPA verifies the geographic location of the cloud data through the threshold-based closest-closest method. Specifically: 1) Several reliable landmark hosts are selected near the location promised by the SLA as third-party audits; 2) The location of the landmark with the shortest latency is estimated as the storage location of the cloud data, and the latency is less than the specified threshold. The threshold-based closest-shortest method is not limited to whether the network latency and distance are strongly linearly related, that is, the threshold-based closest-shortest method can be applied not only to areas with rich network connections, but also to areas with weak network connections.

[0086] Finally, the geographic location of the target cloud data is compared with the geographic location in the SLA. If they are the same, the output of VerifyGeo(·) is 1, which means the verification is successful. Otherwise, the output is 0, which means the verification fails.

[0087]

[0088] The above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit the same. A person skilled in the art may modify or make equivalent substitutions for the technical solutions of the present invention without departing from the spirit and scope of the present invention. The protection scope of the present invention shall be subject to the claims.

Claims

1. A cloud data location public verification method based on the CPOR model, the steps of which are include: 1) The data owner generates a random public-private key pair, divides the user file into several file blocks, generates a user file tag and a file block tag set, and uploads the user file and the file block tag set to the cloud service provider; The data owner generates a random public-private key pair, including: The data owner generates a random signing key pair (spk, ssk); Select a random element Calculate the element v←g α , p is a large prime number, g is the generator of G, G×G→G T is a bilinear map, G is a multiplicative cyclic group with prime order p; Generate a random public key pk = (v, spk) and a random private key sk = (α, ssk); The step of dividing the user file into a plurality of file blocks and generating a user file tag and a set of file block tags includes: Split user file F = (m 11 ,…,m ij ,…m ns ), n is the number of file blocks, s is the number of sectors contained in each file block, 1≤i≤n, 1≤j≤s, m ij Indicates the file corresponding to the jth sector in the i-th file block; Select s random elements u 1 ,u 2 ,…u s ←G; Calculate user file label t = name||n||u 1 ||u 2 ||…||u s ||ssig ssk (name||n||u 1 ||u 2 ||…||u s ), where name is the file name, n is the number of file blocks, SSig ssk (·) is the signature of the private key ssk; Calculate the set m of file blocks in the same sector i Tags H(·) is a hash function; The tag set of user file blocks Φ = {σ i }; 2) The data owner selects at least three reliable landmark hosts with known locations as third-party auditors and sends a request containing a random public key and user file label to each third-party auditor; 3) Each third-party auditor generates a number of random challenge messages and sends them to the cloud service provider, recording the timestamp t of sending each random challenge message. 0 ; Wherein, each third-party audit generates a number of random challenge information, including: Recover the number of file blocks n and random element u through the user file tag 1 ,u 2 ,…u s ; Randomly select c file block indexes to generate the first element set I = {n 1 ,n 2 ,…,n c }, c∈[1,n]; For each challenge element i∈I, generate a random value Randomly select q sector elements to generate the second element set Ω = {s 1 ,…,s q }, q∈[1,s]; Get random challenge information chal = {{(i,v i )},Ω}; 4) The cloud service provider generates q atomic proofs based on the random challenge information And q atomic evidence Return to each third-party audit; where s j ∈[1,q], 5) Each third-party audit records the receipt of each atomic evidence The local timestamp of Combined with the timestamp t of sending the corresponding random challenge information 0 ,calculate The corresponding delay And will collect The median value of is used as the response delay from the corresponding third-party audit to the data center storing the user data; 6) Third-party audits determine whether user data is stored in the data center promised by the cloud service provider through the geographical location of the data center in the service level agreement, the geographical location of each third-party audit, and the response delay.

2. The method according to claim 1, It is characterized in that Reliable landmark hosts are selected using the following strategy: 1) Located in the geographical vicinity of the committed data center; 2) Ability to send and receive data packets; 3) Ability to send random challenge messages and verify the correctness of atomic proofs.

3. The method according to claim 1, It is characterized in that The third-party audit verifies the request through the following steps: 1) Parse the random public key pk into (v, spk); 2) Use spk to verify the user's file tag. If the verification passes, the request is considered legal.

4. The method according to claim 1, It is characterized in that Use the following steps to determine whether user data is stored in the data center promised by the cloud service provider: 1) Using the threshold-based shortest-closest method, the third-party audit geographic location with the shortest delay is estimated as the storage location of the user data; 2) Determine whether the user data is stored in the data center promised by the cloud service provider through the geographical location of the data center in the service level agreement and the third-party audit geographical location with the shortest latency.

5. The method according to claim 4, It is characterized in that The shortest delay is less than the set threshold.

6. A cloud data location public verification system based on the CPOR model, include: The user end is used to generate a random public-private key pair, divide the user file into several file blocks, generate a user file tag and a set of file block tags, upload the user file and the set of file block tags to the cloud service provider, select at least three reliable landmark hosts with known locations as third-party audits, and send a request containing a random public key and a user file tag to each third-party audit; wherein, The generating of a random public-private key pair comprises: The data owner generates a random signing key pair (spk, ssk); Select a random element Calculate the element v←g α , p is a large prime number, g is the generator of G, G×G→G T is a bilinear map, G is a multiplicative cyclic group with prime order p; Generate a random public key pk = (v, spk) and a random private key sk = (α, ssk); The step of dividing the user file into a plurality of file blocks and generating a user file tag and a set of file block tags includes: Split user file F = (m 11 ,…,m ij ,…m ns ), n is the number of file blocks, s is the number of sectors contained in each file block, 1≤i≤n, 1≤j≤s, m ij Indicates the file content corresponding to the hth sector in the uth file block; Select s random elements u 1 ,u 2 ,…u s ←G; Calculate user file label t = name||n||u 1 ||u 2 ||…||u s ||SSig ssk (name||n||u 1 ||u 2 ||…||u s ), where name is the file name, n is the number of file blocks, SSig ssk (·) is the signature of the private key ssk; Calculate the set m of file blocks in the same sector i Tags H(·) is a hash function; The tag set of user file blocks Φ = {σ i }; Third-party audit, used to generate several random challenge messages, send the random challenge messages to the cloud service provider, and record the timestamp t of sending each random challenge message 0 , record the receipt of each atomic evidence The local timestamp of Combined with the timestamp t of sending the corresponding random challenge information 0 ,calculate The corresponding delay And will collect The median value of is used as the response delay of each corresponding third-party audit to the data center storing the user data; through the geographical location of the data center in the service level agreement, the geographical location of each third-party audit and each response delay, it is determined whether the user data is stored in the data center promised by the cloud service provider; wherein, the generating of a number of random challenge information includes: Recover the number of file blocks n and random element u through the user file tag 1 ,u 2 ,…n s ; Randomly select c file block indexes to generate the first element set I = {n 1 ,n 2 ,…,n c }, c∈[1,n]; For each challenge element i∈I, generate a random value Randomly select q sector elements to generate the second element set Ω = {s 1 ,…,s q }, q∈[1,s]; Get random challenge information chal = {{(i,v i )},Ω}; The cloud service provider, which stores user data in the data center in the service level agreement, generates q atomic proofs based on the random challenge information. And q atomic evidence Return to each third-party audit; where s j ∈[1,q],