Ranging positioning privacy protection method and system based on inner product function encryption in cloud environment

By using inner product function encryption and transformation technology in the cloud environment, the problem of privacy leakage in indoor positioning services in the cloud environment is solved, efficient privacy protection and real-time positioning are achieved, and the security of user and service provider information is ensured.

CN118764294AActive Publication Date: 2024-10-11WUHAN UNIV
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411039620.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-31
Publication Date
2024-10-11
Estimated Expiration
2044-07-31

Smart Images

  • Figure CN118764294A_ABST
    Figure CN118764294A_ABST
Patent Text Reader

Abstract

The invention belongs to the field of information security protection, and particularly relates to a ranging and positioning privacy protection method and system based on inner product function encryption, which can be used for providing a safe and efficient ranging-based indoor positioning service in a cloud environment. A ranging positioning algorithm in indoor positioning is converted into an inner product calculation process between anchor point information of a positioning service provider and measurement information of a user, and an inner product function is used for encryption to realize a positioning process under protection of an anchor point database and the measurement information. And meanwhile, protection of a positioning result is realized by utilizing number multiplication transformation and translation transformation, and the problem of privacy leakage in indoor positioning service in a cloud environment is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of information security protection, and specifically relates to a ranging and positioning privacy protection method and system based on inner product function encryption, which can be used to provide safe and efficient ranging-based indoor positioning services in a cloud environment. Background Art

[0002] Indoor positioning technology has entered a stage of rapid development. As a common technical means in indoor positioning services, ranging positioning technology has also been increasingly widely used. In addition, with the development of cloud computing, outsourcing positioning resources and positioning algorithms to cloud environments for positioning has gradually become the mainstream development direction of indoor positioning. Cloud positioning can not only reduce the deployment and maintenance costs of positioning service providers (IPSPs), provide continuous, seamless, flexible and scalable positioning services, but also reduce the computing and storage overhead of users. However, the highly open cloud environment makes the privacy leakage problem of cloud positioning more prominent. The cloud service provider (CSP) that undertakes positioning calculations is essentially an "honest and curious" untrusted entity. In the process of providing positioning services, it will not only obtain user location information and measurement information, resulting in the leakage of more personal privacy information such as the user's age, hobbies, and income level, but also may steal important positioning resources stored in the cloud by the positioning service provider, resulting in significant economic losses to the service provider. Data privacy leakage has become a prominent security threat in cloud positioning, so it is necessary to solve the privacy leakage problem of indoor positioning services in the cloud environment.

[0003] In cloud-based indoor positioning service scenarios, it is crucial to protect user location information, measurement information, and positioning service provider's positioning database information. Encryption is an effective data security protection method, but encryption operations affect data availability, resulting in the cloud service provider (CSP) being unable to perform positioning calculations. At present, research on indoor positioning privacy protection mainly focuses on the traditional two-party architecture of user-positioning service provider, usually using homomorphic encryption, secure multi-party computing and other methods, which have relatively low computational efficiency and are not applicable to indoor positioning scenarios in cloud environments. Inner Product Encryption (IPE) is a new encryption system that can accurately control the amount of ciphertext information revealed by the decryptor, while ensuring data security, while ensuring that the ciphertext data has a certain availability, and has high computational efficiency, so it is suitable for privacy-protected indoor positioning services in cloud environments. However, there is currently no research on ranging positioning privacy protection based on inner product encryption in cloud environments. Summary of the invention

[0004] In order to solve the above technical problems, the present invention proposes a ranging positioning privacy protection method based on inner product function encryption in a cloud environment. This method converts the ranging positioning algorithm in indoor positioning into the inner product calculation process between anchor point information and measurement information, and uses inner product function encryption to realize the positioning process under the protection of anchor point database and measurement information. At the same time, multiplication transformation and translation transformation are used to protect the positioning results, solving the problem of privacy leakage in indoor positioning services in cloud environments.

[0005] The present invention aims to propose a privacy protection method for ranging and positioning based on inner product function encryption, so as to realize indoor positioning services supporting privacy protection in a cloud environment. The present invention decomposes the least square positioning process of ranging and positioning into the process of inner product calculation, and uses the inner product encryption mechanism to encrypt and protect the anchor point information of the positioning service provider and the measurement information of the user. The cloud service provider decrypts the ciphertext data to obtain the required inner product result, and completes the position estimation process. At the same time, the cloud service provider is enabled to obtain the transformed positioning result by using multiplication transformation and translation transformation, thereby hiding the user's real location from the cloud service provider. While realizing positioning by using the cloud service provider, the privacy information of all parties is not disclosed, and the real-time requirements of online positioning are met.

[0006] The solution of the present invention is as follows: in the offline stage, the positioning service provider performs a multiplication transformation on the positioning anchor point information, generates a ciphertext of the anchor point information using an inner product function encryption algorithm, and uploads it to the cloud service provider. In the online stage, after the mobile terminal measures the distance vector of each anchor point, it performs a multiplication transformation and a translation transformation, generates a ciphertext of the transformed measurement information using an inner product function encryption mechanism, and sends it to the CSP to request positioning. The CSP executes a positioning algorithm on the encrypted measurement information and the encrypted anchor point information, obtains the inner product of the vector using a decryption algorithm of the inner product function encryption mechanism, completes the position estimation process, and obtains the transformed positioning result. The user obtains the real positioning result through inverse transformation. Since the inner product function encryption has the property of not leaking any information except the inner product, the encrypted measurement information and anchor point information can complete the positioning calculation without leaking the original information. In addition, the cloud service provider performs a positioning calculation on the transformed data to obtain the transformed positioning result, thereby realizing the hiding of the positioning result from the cloud service provider. Therefore, this solution realizes the privacy protection of information of all parties in the indoor positioning service under the cloud environment.

[0007] The present invention provides a ranging and positioning privacy protection method based on inner product function encryption in a cloud environment, which involves three parties: users, positioning service providers and CSPs, and specifically includes the following three stages:

[0008] In the initialization phase, the positioning service provider generates the parameter information required by the system, including the public parameter pp and two keys msk1 and msk2 of the inner product function encryption mechanism, as well as the pre-transformation factor r used for multiplication transformation;

[0009] In the offline phase, the positioning service provider transforms and encrypts the anchor point information, and uploads the generated ciphertext and key encrypted by the inner product function, as well as the public parameter pp to the cloud service provider;

[0010] In the online stage, after the mobile terminal measures the distance vector to each anchor point, it performs multiplication and translation transformations, and uses the inner product function encryption mechanism to generate ciphertext for the transformed measurement information, which is sent to the cloud service provider to request positioning. The cloud service provider executes the positioning algorithm on the encrypted measurement information and the encrypted anchor point information, and uses the decryption algorithm of the inner product function encryption mechanism to obtain the inner product of the vector, completing the position estimation process and obtaining the transformed positioning result. The user obtains the real positioning result through inverse transformation.

[0011] Furthermore, the initialization phase specifically includes:

[0012] The positioning service provider generates a bilinear group (G1, G2, G T ,e), where G1,G2,G T is a cyclic group, g1 and g2 are the generators of G1 and G2 respectively, and e represents the transition from group G1 and G2 to G T The bilinear map is randomly sampled twice from the universal linear group to obtain n-level and m-1 reversible matrices B1 and B2, and the adjoint matrices of B1 and B2 are calculated respectively. and Finally, the public parameters pp and master keys msk1 and msk2 are obtained as follows:

[0013] pp=(G1,G2,G T ,e)

[0014]

[0015] The positioning service provider randomly generates a real number as the pre-transformation factor r.

[0016] Furthermore, in step 2, it is assumed that the positioning database of the positioning service provider is DB={X i =[x i1 ,x i2 ,…,x in ] T |i=1,2,…,m}, where X i is the position coordinate of the i-th anchor point, X m is the coordinate of the reference anchor point, x ij,i=1,2,…,m,j=1,2,…,n is the jth coordinate component of the i-th anchor point coordinate, n is the spatial dimension of the coordinate, and m is the number of anchor points;

[0017] The positioning service provider uses the pre-transformation factor r to multiply the position coordinates of each anchor point to obtain X′i=rX i ,i=1,2,…,m;

[0018] The positioning service provider calculates the coordinate difference vector D of the first m-1 positioning anchor points relative to the reference anchor point i ,i=1,2,…,m-1, component difference vector C of the positioning anchor point relative to the reference anchor point j ,j=1,2,…,n, the 2-norm square vectors U and V of the anchor point coordinates are calculated as:

[0019] D i =X i ′ -X ′ m

[0020] C j =[D1(j),D2(j),…D m-1 (j)] T

[0021]

[0022] Where D i (j) represents the vector D i The jth element in .

[0023] Furthermore, the positioning service provider uses the key generation algorithm of the inner product function mechanism and the encryption algorithm to generate the vector D i The key and ciphertext, where for the vector D i Use the master key msk1 to generate the key sk encrypted by the inner product function Di and ciphertext ct Di ,Right now

[0024]

[0025] Among them, det represents the rank of the matrix, the superscript * represents the adjoint matrix of the matrix, IPE.KeyGen is the key generation algorithm, and IPE.Encrypt is the encryption algorithm;

[0026] Using the same method, for vector C j ,U and V generate the corresponding key sk Cj ,sk U ,sk V and ciphertext ct Cj ,ctU ,ct V ;Right now:

[0027]

[0028] The positioning service provider generates the key and ciphertext {sk encrypted by the inner product function Di ,ct Di ,sk Cj ,ct Cj ,sk U ,ct U ,sk V ,ct V |i=1,2,…,m-1,j=1,2,…,n}, and the public parameter pp encrypted by the inner product function are uploaded to CSP.

[0029] Furthermore, the specific processing process of the online stage is as follows:

[0030] Step 3.1, the user requests a positioning service from the positioning service provider. After being authenticated by the positioning service provider, the user obtains the parameters pp, msk1, msk2 of the inner product encryption mechanism and the pre-transformation factor r of the multiplication transformation;

[0031] Step 3.2, the user obtains the measurement vector W by time measurement or time difference measurement, and generates a random multiplication transformation factor k;

[0032] Step 3.3, the cloud service provider sends sk to the user Di , i = 1, 2, ..., m-1, at the same time, the user randomly generates a coordinate translation vector X t =[x t1 ,x t2 ,…,x tn ] T , and use msk1 to generate X t The ciphertext ct of the inner product function confidentiality mechanism Xt ;

[0033] Step 3.4, user decrypts sk Di and ct Xt , get the inner product of the vectors associated with the two, and construct the offset vector S = [s1, s2, ..., s m-1 ] T ;

[0034] The user then uses the offset vector S and the multiplication factor k to correct the measurement vector W and obtain the corrected measurement vector W t for:

[0035] W t =k 2 W-2

[0036] in

[0037]

[0038] Step 3.5: User W t Use msk2 to calculate the key of the inner product function encryption mechanism and get:

[0039]

[0040] And sk Wt and q are sent to CSP to request online location service;

[0041] Step 3.6, CSP uses the inner product function decryption algorithm to calculate the inner product of the vector decomposed by the least squares positioning formula. The least squares calculation formula is:

[0042]

[0043] in represents the least squares positioning result. Matrix A contains the anchor point information, and vector b contains the user's measurement information. CSP performs T A and A T b. Perform matrix decomposition and express the result in the form of vector inner product. Then use the inner product function encryption decryption algorithm to calculate the required inner product value, complete the positioning calculation, and return the positioning result to the user.

[0044] Step 3.7: After receiving the positioning result, the user performs multiplication transformation and inverse transformation of translation transformation to obtain the real positioning result.

[0045] Furthermore, in step 3.3, the ciphertext ct Xt The calculation formula is as follows:

[0046]

[0047] Furthermore, the user uses the following inner product function encryption and decryption algorithm to decrypt sk Di and ct Xt , get the inner product of the vectors associated with the two <D i ,X t >,i=1,2,…,m-1;

[0048] s i = <D i ,X t > = dlog(e(sk Di _K1,ct Xt _C1),e(sk Di _K2,ct Xt _C2))

[0049] Where e(g1,g2) represents a bilinear mapping operation, and dlog(g,h) represents a discrete logarithm operation, that is, finding an integer z such that g z =h holds true.

[0050] Furthermore, in step 3.6, A T The decomposition and calculation method of A is:

[0051] A T A=[a ij ],i,j=1,2,…n

[0052] a ij =q 2 *dlog(e(sk Ci _K1,ct Cj _C1),e(sk Ci _K2,ct cj _C2))

[0053] A T The decomposition and calculation method of b is:

[0054] A T b=B1-B2-B3

[0055] where B1∈R n , the calculation method of the j-th element B1(j), j=1,2,…,n in B1 is:

[0056] B1(j)=q 3 *dlog(e(sk Cj _K1,ct U _C1),e(sk Cj _K2,ct U _C2))

[0057] B2∈R n , the j-th element B2(j), j=1,2,…,n in B2 is calculated as:

[0058] B2(j)=q 3 *dlog(e(sk cj _K1,ct V _C1),e(sk Cj _K2,ct V _C2))

[0059] B3∈R n , the j-th element B3(j) in B3, j=1,2,…,n is calculated as follows:

[0060] B3(j)=q*dlog(e(skWt _K1,ct Cj _C1),e(sk Wt _K2,ct Cj _C2))

[0061] The cloud service provider calculates A through the above decomposition and decryption process T A and A T b. Complete positioning calculation.

[0062] Further, in step 3.7, the user receives the location result returned by the cloud service provider After that, the following inverse transformation is performed to obtain the true position X u :

[0063]

[0064] The present invention also provides a ranging and positioning privacy protection system based on inner product function encryption in a cloud environment, including a processor and a memory, the memory is used to store program instructions, and the processor is used to call the stored instructions in the memory to execute a ranging and positioning privacy protection method based on inner product function encryption in a cloud environment as described in the above scheme.

[0065] Compared with other methods, the present invention has the advantages of:

[0066] First, the present invention designs a ranging and positioning scheme that supports privacy protection in a cloud environment. Compared with the ranging scheme based on the user-server, the present invention can effectively utilize the rich computing resources of the cloud environment to reduce the computing overhead of the user end and the deployment and maintenance cost of the positioning service provider. Secondly, the present invention proposes a privacy protection positioning method based on inner product function encryption and transformation. The least squares positioning algorithm is decomposed into the basic form of inner product calculation between measurement information and anchor point information through matrix decomposition, and the inner product function encryption mechanism is used for encryption protection. The cloud service provider uses the decryption algorithm to complete the positioning without leaking any information except the inner product, thereby protecting the security of the measurement information and anchor point information. At the same time, the anchor point information and the measurement information are transformed, so that the cloud service provider can only obtain the transformed positioning result, but cannot know the real location of the user, thereby realizing the privacy protection of the user's positioning result. Compared with methods such as homomorphic encryption and secure multi-party computing, the inner product function encryption mechanism ensures security while reducing the computing and communication overhead. Compared with the location privacy protection method based on k-anonymity, the transformation-based method has the security of "one-time one-key" and does not require k-times of repeated calculation, thereby realizing a safe and efficient indoor positioning scheme in a cloud environment. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 is a general schematic diagram of privacy protection indoor positioning according to an embodiment of the present invention;

[0068] Figure 2 is a specific processing flow chart of the offline stage of an embodiment of the present invention;

[0069] Figure 3 is a specific processing flow chart of measurement information in the online stage according to an embodiment of the present invention;

[0070] Figure 4 It is a specific processing flow chart of the cloud service provider in the online stage of an embodiment of the present invention. DETAILED DESCRIPTION

[0071] The technical solution of the present invention is further described below in conjunction with the accompanying drawings.

[0072] An indoor positioning method based on inner product function encryption in a cloud environment provided by an embodiment of the present invention is specifically implemented in three stages. The overall schematic diagram of the scheme is as follows: Figure 1 As shown, the present invention involves three parties: users, positioning service providers (IPSP) and cloud service providers (CSP), and specifically includes the following three stages:

[0073] In the initialization phase, the positioning service provider generates the parameter information required by the system, including the public parameter pp and two keys msk1 and msk2 of the inner product function encryption mechanism, as well as the pre-transformation factor r used for multiplication transformation;

[0074] In the offline phase, the positioning service provider transforms and encrypts the anchor point information, and uploads the generated ciphertext and key encrypted by the inner product function, as well as the public parameter pp to the cloud service provider;

[0075] In the online stage, after the mobile terminal measures the distance vector to each anchor point, it performs multiplication and translation transformations, and uses the inner product function encryption mechanism to generate ciphertext for the transformed measurement information, which is sent to the cloud service provider to request positioning. The cloud service provider executes the positioning algorithm on the encrypted measurement information and the encrypted anchor point information, and uses the decryption algorithm of the inner product function encryption mechanism to obtain the inner product of the vector, completing the position estimation process and obtaining the transformed positioning result. The user obtains the real positioning result through inverse transformation.

[0076] The specific implementation process of the three stages is described in detail below.

[0077] Phase 1: Initialization phase.

[0078] Step 1.1: The positioning service provider generates a bilinear group (G1, G2, G T ,e), where G1,G2,G T is a cyclic group, g1 and g2 are the generators of G1 and G2 respectively, and e represents the transition from group G1 and G2 to G TAccording to the dimension n of the positioning space and the number of anchor points m of the positioning service provider, we randomly sample the n-level and m-1-level reversible matrices B1 and B2 from the universal linear group, and calculate their adjoint matrices respectively. and Finally, the public parameter pp = (G1, G2, G T ,e) and the master key

[0079]

[0080] Step 1.2: The positioning service provider randomly generates a real number as the pre-transformation factor r.

[0081] Phase 2: Offline phase, the positioning service provider transforms and encrypts the anchor information. The specific processing flow of the offline phase is as follows: Figure 2 Assume that the positioning database of the positioning service provider is DB = {X i =[x i1 ,x i2 ,…,x in ] T |i=1,2,…,m}. X i is the position coordinate of the i-th anchor point, X m is the coordinate of the reference anchor point, x ij ,i=1,2,…,m,j=1,2,…,n is the jth coordinate component of the i-th anchor point coordinate, n is the spatial dimension of the coordinate, and m is the number of anchor points.

[0082] Step 2.1: The positioning service provider uses the pre-transformation factor r to multiply the position coordinates of each anchor point to obtain X′ i =rX i ,i=1,2,…,m.

[0083] Step 2.2: The positioning service provider calculates the coordinate difference vector D of the first m-1 positioning anchor points relative to the reference anchor point on the transformed anchor point coordinates. i =X′ i -X′ m ,i=1,2,…,m-1, component difference vector C of the positioning anchor point relative to the reference anchor point j =[D1(j),D2(j),…D m-1 (j)] T ,j=1,2,…,n, 2-norm square vector of anchor point coordinates and

[0085] Step 2.3, use the key generation algorithm IPE.KeyGen and encryption algorithm IPE.Encrypt of the inner product function encryption mechanism to obtain the key and ciphertext of the vector in step 2.2, where det represents the rank of the matrix and the superscript * represents the adjoint matrix of the matrix.

[0086]

[0087] in,

[0088] (sk Di _K1,sk Di _K2), (ct Di _C1,ct Di _C2), (sk Cj _K1,sk Cj _K2), (ct Cj _C1,ct Cj _C2), (sk U _K1,sk U _K2), (ct U _C1,ct U _C2), (sk V _K1,sk V _K2), (ct V _C1,ct V _C2) are the first and second parts in the right brackets respectively;

[0089] Step 2.4, the positioning service provider generates the encrypted key and ciphertext {sk Di ,ct Di ,sk Cj ,ct Cj ,sk U ,ct U ,sk V ,ct V |i=1,2,…,m-1,j=1,2,…,n}, and the public parameters pp encrypted by the inner product function are uploaded to CSP.

[0090] Phase 3: Online phase.

[0091] Step 3.1: The positioning service provider sends the parameters pp, msk1, msk2 of the inner product encryption mechanism and the pre-transformation factor r of the multiplication transformation to the authenticated trusted user.

[0092] Step 3.2: The user measures the distance d between each anchor point i ,i=1,2,…,m, construct the distance vector And generate a random real number as the multiplication factor k. Next, the user transforms and encrypts the measurement information. The specific processing flow is as follows: Figure 3 shown.

[0093] Step 3.3, the cloud service provider sends sk to the user Di , i=1,2,…,m-1. At the same time, the user generates an n-dimensional real vector as the coordinate translation vector X t =[x t1 ,x t2 ,…,x tn ] T , and use msk1 to generate X t The ciphertext ct of the inner product function confidentiality mechanism Xt ,Right now:

[0094]

[0095] Step 3.4, the user uses the decryption algorithm encrypted by the inner product function to decrypt sk Di and ct Xt , get the inner product of the vectors associated with the two <D i ,X t >, i = 1, 2, ..., m-1, construct the offset vector S = [s1, s2, ..., s m-1 ] T ,in:

[0096] s i = <D i ,X t > = dlog(e(sk Di _K1,ct Xt _C1),e(sk Di _K2,ct Xt _C2))

[0097] Where e(g1,g2) represents a bilinear mapping operation, and dlog(g,h) represents a discrete logarithm operation, that is, finding an integer z such that g z =h holds; due to the nature of inner product function encryption, the decryption algorithm can only obtain the inner product of the ciphertext and the vector associated with the key, but cannot obtain any other information. Therefore, the user cannot obtain any information about the anchor point position from the inner product function ciphertext of the anchor point information.

[0098] The user uses the offset vector S and the multiplication factor k to correct the measurement vector W and obtain the corrected measurement vector W t for:

[0099] W t =k 2 W-2

[0100] in

[0101]

[0102] Step 3.5: User W t Use msk2 to calculate the key of the inner product function encryption mechanism and get:

[0103]

[0104] Then sk Wt and q are sent to CSP to request online location service.

[0105] Step 3.6: The cloud service provider uses the decryption algorithm of the inner product function encryption mechanism to calculate A by calculating the inner product of the decomposed vector. T A and A T b, and then get the positioning result The specific processing flow is as follows Figure 4 As shown. Among them:

[0106] A T A=[a ij ],i,j=1,2,…n

[0107] a ij =q 2 *dlog(e(sk Ci _K1,ct Cj _C1),e(sk Ci _K2,ct Cj _C2))

[0108] A T b=B1-B2-B3

[0109] Where B1,B2,B3∈R n , the calculation method of its j-th element B1(j), B2(j), B3(j), j=1,2,…,n is:

[0110] B1(j)=q 3 *dlog(e(sk Cj _K1,ct U _C1),e(sk Cj _K2,ct U _C2))

[0111] B2(j)=q 3 *dlog(e(sk Cj _K1,ct V _C1),e(sk cj _K2,ct V _C2))

[0112] B3(j)=q*dlog(e(sk Wt _K1,ct cj _C1),e(sk Wt _K2,ct Cj _C2))

[0113] The least squares estimation result of the cloud service provider calculating the user's location And return it to the user. Using the inner product function encryption mechanism, the cloud service provider can calculate the vector inner product to complete the positioning without leaking the user's measurement information and the anchor database information of the positioning service provider. At the same time, the location obtained by the cloud service provider is the result of multiplication and translation transformation, so the privacy protection of the user's positioning results is also achieved.

[0114] Step 3.7: The user receives the location result returned by the cloud service provider After that, the following inverse transformation is performed to obtain the true position X u :

[0115]

[0116] After the above steps, compared with the method based on homomorphic encryption, the present invention reduces the calculation time by 87.72%, the communication overhead by 94.95%, and the positioning error by 17.61%.

[0117] On the other hand, an embodiment of the present invention also provides a ranging and positioning privacy protection system based on inner product function encryption in a cloud environment, including a processor and a memory, the memory is used to store program instructions, and the processor is used to call the stored instructions in the memory to execute a ranging and positioning privacy protection method based on inner product function encryption in a cloud environment as described in the above scheme.

[0118] The above contents are further detailed descriptions of the present invention in combination with the best implementation scheme, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. It should be understood by those skilled in the art that various modifications can be made to the details without departing from the scope of the appended claims, and all should be deemed to belong to the protection scope of the present invention.

Claims

1. A ranging and positioning privacy protection method based on inner product function encryption in a cloud environment, characterized by: Involving three parties: users, positioning service providers IPSP and cloud service providers CSP, specifically including the following three stages: In the initialization phase, the positioning service provider generates the parameter information required by the system, including the public parameter pp and two keys msk1 and msk2 of the inner product function encryption mechanism, as well as the pre-transformation factor r used for multiplication transformation; In the offline phase, the positioning service provider transforms and encrypts the anchor point information, and uploads the generated ciphertext and key encrypted by the inner product function, as well as the public parameter pp to the cloud service provider; In the online stage, after the mobile terminal measures the distance vector to each anchor point, it performs multiplication and translation transformations, and uses the inner product function encryption mechanism to generate ciphertext for the transformed measurement information, which is sent to the cloud service provider to request positioning. The cloud service provider executes the positioning algorithm on the encrypted measurement information and the encrypted anchor point information, and uses the decryption algorithm of the inner product function encryption mechanism to obtain the inner product of the vector, completing the position estimation process and obtaining the transformed positioning result. The user obtains the real positioning result through inverse transformation.

2. The privacy protection method for ranging and positioning based on inner product function encryption in a cloud environment according to claim 1, characterized in that: The initialization phase specifically includes: The positioning service provider generates a bilinear group (G1, G2, G T ,e), where G1,G2,G T is a cyclic group, g1 and g2 are the generators of G1 and G2 respectively, and e represents the transition from group G1 and G2 to G T The bilinear map is randomly sampled twice from the universal linear group to obtain n-level and m-1 reversible matrices B1 and B2, and the adjoint matrices of B1 and B2 are calculated respectively. and Finally, the public parameters pp and master keys msk1 and msk2 are obtained as follows: pp=(G1,G2,G T ,e) The positioning service provider randomly generates a real number as the pre-transformation factor r.

3. The privacy protection method for ranging and positioning based on inner product function encryption in a cloud environment as claimed in claim 1, characterized in that: In step 2, it is assumed that the positioning database of the positioning service provider is DB = {X i =[x i1 ,x i2 ,…,x in ] T |i=1,2,…,m}, where X i is the position coordinate of the i-th anchor point, X m is the coordinate of the reference anchor point, x ij ,i=1,2,…,m,j=1,2,…,n is the jth coordinate component of the i-th anchor point coordinate, n is the spatial dimension of the coordinate, and m is the number of anchor points; The positioning service provider uses the pre-transformation factor r to multiply the position coordinates of each anchor point to obtain X′ i =rX i ,i=1,2,…,m; The positioning service provider calculates the coordinate difference vector D of the first m-1 positioning anchor points relative to the reference anchor point i ,i=1,2,…,m-1, component difference vector C of the positioning anchor point relative to the reference anchor point j ,j=1,2,…,n, the 2-normal square vectors U and V of the anchor point coordinates are calculated as: D i =X′ i -X′ m C j =[D1(j),D2(j),...D m-1 (j)] T Where D i (j) represents the vector D i The jth element in .

4. The privacy protection method for ranging and positioning based on inner product function encryption in a cloud environment as claimed in claim 3, characterized in that: The positioning service provider uses the key generation algorithm of the inner product function mechanism and the encryption algorithm to generate the vector D i The key and ciphertext, where for the vector D i Use the master key msk1 to generate the key sk encrypted by the inner product function Di and ciphertext ct Di ,Right now Among them, det represents the rank of the matrix, the superscript * represents the adjoint matrix of the matrix, IPE.KeyGen is the key generation algorithm, and IPE.Encrypt is the encryption algorithm; Using the same method, for vector C j ,U and V generate the corresponding key sk Cj ,sk U ,sk V and ciphertext ct Cj ,ct U ,ct V ;Right now: The positioning service provider generates the key and ciphertext {sk encrypted by the inner product function Di ,ct Di ,sk Cj ,ct Cj ,sk U ,ct U ,sk V ,ct V |i=1,2,…,m-1,j=1,2,…,n}, and the public parameter pp encrypted by the inner product function are uploaded to CSP.

5. The privacy protection method for ranging and positioning based on inner product function encryption in a cloud environment as claimed in claim 4, characterized in that: The specific processing process of the online stage is as follows: Step 3.1, the user requests a positioning service from the positioning service provider. After being authenticated by the positioning service provider, the user obtains the parameters pp, msk1, msk2 of the inner product encryption mechanism and the pre-transformation factor r of the multiplication transformation; Step 3.2, the user obtains the measurement vector W by time measurement or time difference measurement, and generates a random multiplication transformation factor k; Step 3.3, the cloud service provider sends sk to the user Di , i = 1, 2, ..., m-1, at the same time, the user randomly generates a coordinate translation vector X t =[x t1 ,x t2 ,…,x tn ] T , and use msk1 to generate X t The ciphertext ct of the inner product function confidentiality mechanism Xt ; Step 3.4, user decrypts sk Di and ct xt , get the inner product of the vectors associated with the two, and construct the offset vector S = [s1, s2, ..., s m-1 ] T ; The user then uses the offset vector S and the multiplication factor k to correct the measurement vector W and obtain the corrected measurement vector W t for: Wt=k2W-2qS in Step 3.5: User W t Use msk2 to calculate the key of the inner product function encryption mechanism and get: And sk Wt and q are sent to CSP to request online location service; Step 3.6, CSP uses the inner product function decryption algorithm to calculate the inner product of the vector decomposed by the least squares positioning formula. The least squares calculation formula is: in represents the least squares positioning result. Matrix A contains the anchor point information, and vector b contains the user's measurement information. CSP performs T A and A T b. Perform matrix decomposition and express the result in the form of vector inner product. Then use the inner product function encryption decryption algorithm to calculate the required inner product value, complete the positioning calculation, and return the positioning result to the user. Step 3.7: After receiving the positioning result, the user performs multiplication transformation and inverse transformation of translation transformation to obtain the real positioning result.

6. A ranging and positioning privacy protection method based on inner product function encryption in a cloud environment as claimed in claim 5, characterized in that: In step 3.3, the ciphertext ct Xt The calculation formula is as follows:

7. The privacy protection method for ranging and positioning based on inner product function encryption in a cloud environment as claimed in claim 5, characterized in that: In step 3.4, the user uses the following inner product function encryption decryption algorithm to decrypt sk Di and ct Xt , get the inner product of the vectors associated with the two <D i ,X t >, i = 1, 2, ..., m-1; s i = <D i ,X t >=dlog(e(sk Di- K1,ct Xt- C1), e(sk Di- K2,ct Xt- C2)) Where e(g1, g2) represents a bilinear mapping operation, and dlog(g, h) represents a discrete logarithm operation, that is, finding an integer z such that g z =h holds true.

8. The method for protecting privacy of ranging and positioning based on inner product function encryption in a cloud environment according to claim 5, characterized in that: In step 3.6, A T The decomposition and calculation method of A is: A T A=[a ij ],i,j=1,2,...n yes ij =q 2 *dlog(e(sk Ci- K1,ct Cj- C1), e(sk Ci- K2,ct Cj- C2)) A T The decomposition and calculation method of b is: <h2 style=";text-align:left;direction:ltr">A<h2 style=";text-align:left;direction:ltr"> T <h2 style=";text-align:left;direction:ltr"> b=B1-B2-B3 where B1∈R n , the j-th element B1(j) in B1, j=1,2,..., n is calculated as: B1(j)=q 3 *dlogg(e(sk Cj- K1,ct U- C1),e(sk Cj- K2,ct U- C2)) B2∈R n , the j-th element B2(j) in B2, j=1,2,..., n is calculated as: B2(j)=q 3 *dlog(e(sk Cj- K1,ct V- C1),e(sk Cj- K2,ct V- C2)) B3∈R n , the j-th element B3(j) in B3, j=1,2,..., n is calculated as: B3(j)=q*dlog(e(sk Wt- K1,ct Cj- C1), e(sk Wt- K2,ct Cj- C2)) The cloud service provider calculates A through the above decomposition and decryption process T A and A T b. Complete positioning calculation.

9. The method for protecting privacy of ranging and positioning based on inner product function encryption in a cloud environment according to claim 5, characterized in that: In step 3.7, the user receives the location result returned by the cloud service provider After that, the following inverse transformation is performed to obtain the true position X u :

10. A ranging and positioning privacy protection system based on inner product function encryption in a cloud environment, characterized by: It includes a processor and a memory, the memory is used to store program instructions, and the processor is used to call the stored instructions in the memory to execute a ranging and positioning privacy protection method based on inner product function encryption in a cloud environment as described in any one of claims 1 to 9.

Citation Information

Patent Citations

  • Efficient privacy protection method for ranging and locating of anchor node

    CN105828432A

  • Privacy-protecting multi-party deep learning computation proxy method under cloud environment

    CN108712260A

  • Circular range query method and system in cloud environment based on position privacy protection

    CN111555861A

  • Random anchor position privacy protection method and system based on homomorphic encryption

    CN113613243A

  • Methods and systems for privacy preserving evaluation of machine learning models

    US20220247551A1