A privacy information retrieval method based on blind signature and oblivious transfer extension

Through RSA blind signature and inadvertent transmission extension technology, the problem of intermediate data leakage and computing overhead in multi-data server scenarios is solved, efficient private information retrieval and batch query are achieved, and privacy and efficiency are ensured.

CN118520024BActive Publication Date: 2024-10-15SHENZHEN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410969556.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-10-15
Estimated Expiration
2044-07-19

AI Technical Summary

Technical Problem

The existing keyword PIR method has the problem of intermediate data leakage in multi-data server scenarios, and cannot perform batch queries, resulting in increased computing and communication overhead.

Method used

Using the privacy set intersection protocol and oblivious transmission extension technology based on RSA blind signature, private information retrieval is performed between the data user and multiple data servers, index information is obtained through RSA blind signature, and oblivious transmission extension is used for encryption and decryption. Implement chain query and batch retrieval.

Benefits of technology

It realizes chain queries without intermediate data leakage in multi-data server scenarios, reduces computing overhead, supports batch keyword retrieval, and improves the efficiency of private information retrieval.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118520024B_ABST
    Figure CN118520024B_ABST
Patent Text Reader

Abstract

The present invention discloses a privacy information retrieval method realized by combining blind signature and oblivious transmission extension, which belongs to the field of database and information technology, and comprises the following steps: S1. A data user executes a privacy set intersection protocol based on RSA blind signature with a first data service provider and a second data service provider to obtain index information corresponding to a keyword; S2. The data user uses the index information to initiate a search to the second data service provider, and obtains the index information corresponding to a keyword by using the oblivious transmission extension. l A random string instance is used to encrypt the second data service provider's l The data user decrypts the data information of the index information corresponding to the second data service provider to complete the private information retrieval.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of database and information technology, and in particular relates to a privacy information retrieval method implemented by combining blind signature and oblivious transmission extension. Background Art

[0002] Private Information Retrieval (PIR) is a solution for protecting the query privacy of data users (users), ensuring that the data service provider (server) does not know the query request and query results of the data user when the data user initiates a query request in the server database and obtains the result data. Currently, private information retrieval is divided into two categories according to user needs. One is index matching private information retrieval (index PIR). Index matching private information retrieval requires the data user to have the location information of the data in the database, but this is impractical in real scenarios; the other is keyword matching private information retrieval (keyword PIR). This type of protocol requires the data user to have keyword information and initiate a search to the data service provider's database through keyword information.

[0003] The existing keyword PIR method is mainly used in the two-party scenario of data service provider and data user. In the application scenario with two or more data service providers, the use of the existing keyword PIR for chained query will cause the problem of intermediate data leakage. Three-party chained query means that the result data obtained by the data user from the query to data service provider 1 is used as the request information for the next query, and then the query to data service provider 2 is obtained. In addition, the existing keyword PIR method cannot perform batch queries, and can only achieve the purpose of initiating multiple query requests by executing the PIR method multiple times, which will lead to additional computing and communication overhead. Summary of the invention

[0004] The present invention aims to solve the deficiencies of the prior art and provides the following solutions:

[0005] The privacy information retrieval method implemented by combining blind signature and oblivious transfer extension includes the following steps:

[0006] S1. The data user, the first data service provider, and the second data service provider execute a privacy set intersection protocol based on RSA blind signature to obtain index information corresponding to the keyword;

[0007] S2. The data user uses the index information to initiate a search to the second data service provider, and uses the oblivious transfer extension to obtain l random string instances to encrypt l information of the second data service provider. The data user decrypts the data information of the index information corresponding to the second data service provider to complete the private information retrieval.

[0008] Preferably, the S1 comprises:

[0009] S1.1. The first data service provider generates RSA public key information and RSA private key information used to encrypt the keyword set, sends the RSA private key information to the second data service provider, sends the RSA public key information to the data user, and encrypts the keyword set of the data user to obtain its own keyword set information;

[0010] S1.2. The data user uses the own keyword set information to interact with the first data service provider to obtain the encrypted set information of the own keyword set information, namely, the index information.

[0011] Preferably, the S1.1 includes:

[0012] S1.1.1. The first data service provider generates RSA public and private keys used to encrypt the keyword set , where p represents the RSA modulus, e represents the RSA public key, and d represents the RSA private key;

[0013] S1.1.2. The first data service provider sends the RSA private key information To the second data service provider, and send the RSA public key information To the data user;

[0014] S1.1.3. The first data service provider calculates rx i and rxd i :

[0015] ,

[0016] in, represents a keyword set of the first data service provider, represents the associated data set of the first data service provider, i represents the corresponding row of the data in the keyword set of the first data service provider, n represents the size of the keyword set of the first data service provider, H represents the hash function, rx i Represents x i The encrypted value of rxd i Indicates xd i The encrypted value of , mod represents the modulus operation;

[0017] S1.1.4. The second data service provider calculates rz i :

[0018] ,

[0019] in, is a keyword set of the second data service provider, is the associated data set of the second data service provider, l represents the size of the keyword set of the second data service provider, rz i Indicates z i The encrypted value of .

[0020] Preferably, S1.2 includes:

[0021] S1.2.1. The data user receives the RSA public key information Then, generate a large random integer R and calculate y j ':

[0022] ,

[0023] in, is the keyword set of the data user, R represents a large integer randomly selected from the modular finite field, m represents the size of the keyword set of the data user, j represents the corresponding row of the data in the keyword set of the data user, and y j ' indicates y j The first encrypted value of the data is sent by the data user To the first data service provider;

[0024] S1.2.2. The first data service provider calculates y j '':

[0025] ,

[0026] Among them, y j '' means y j The second encrypted value is sent , and To the data user;

[0027] S1.2.3. The second data service provider sends To the data user;

[0028] S1.2.4. The data user calculates y j ''':

[0029] ,

[0030] Among them, yj ''' means y j The third encrypted value, R -1 represents the inverse element of R;

[0031] S1.2.5. Finally, the calculation index information ID is:

[0032] ,

[0033] Among them, o represents any value within the range of l, rz o Indicates z o The encrypted value of .

[0034] Preferably, S2 includes:

[0035] S2.1. The data user uses the index information ID to initiate a search to the second data service provider;

[0036] S2.2. The data user and the second data service provider execute the oblivious transfer extension protocol , where k represents the number of bits of the random string, and l represents the size of the keyword set of the second data service provider;

[0037] S2.3. The second data service provider sends the encrypted information to the data user, and the data user decrypts the data information of the index information corresponding to the second data service provider to complete the private information retrieval.

[0038] Preferably, the S2.1 includes:

[0039] S2.1.1. The second data service provider generates a k-bit random string ;

[0040] S2.1.2. The data user constructs two l×k dimensional matrices T and U, where k represents the number of bits of the random string and l represents the size of the keyword set of the second data service provider; in matrix T: t a represents the a-th row vector of matrix T, Represents the b-th column vector of matrix T; in matrix U: u a represents the a-th row vector of matrix U, represents the b-th column vector of the matrix U, and the matrix U satisfies:

[0041] ,

[0042] Where C represents a pseudo-random function, Represents an XOR operation, where α is the digital string converted from serial number a Represents the concatenated string z a With the string α, Indicates u a Select k bits randomly.

[0043] Preferably, the S2.2 includes:

[0044] S2.2.1. The second data service provider acts as the receiver, input ;

[0045] S2.2.2. The data user acts as the sender and inputs ,in, represents the c-th column vector of matrix T, represents the c-th column vector of matrix U;

[0046] S2.2.3. The second data service provider accepts the output ;

[0047] S2.2.4. The second data service provider constructs a l×k matrix Q, in which: is the c-th column of the matrix Q, , is the c-th row of the matrix Q, , where s represents a k-bit random string generated by the second data service provider, Represents the c-th value of s.

[0048] Preferably, the S2.3 includes:

[0049] S2.3.1. The second data service provider calculates

[0050] ,

[0051] Where s represents a k-bit random string generated by the second data service provider, λ represents a digital string corresponding to index i, Represents the string z i Concatenate with the numeric string λ;

[0052] S2.3.2. Split p in half i Get p i,1 and p i,2 , calculate the bigram , and sent to the data user, where Enc(zd i , p i,2 ) indicates the use of AES key p i,2 Encryption i The value obtained.

[0053] S2.3.3. Data User Segmentation i Get i,1 and t i,2, find matches , output , and get the final result , complete the private information retrieval, where Dec(Enc(zd i , p i,2 ),t i,2 ) indicates the use of AES key t i,2 Decrypt Enc(zd i , p i,2 ) to obtain the value.

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

[0055] First, the present invention realizes a chain query between two data service providers and one data user. By using the present invention, the final result can be obtained by executing the privacy information retrieval method only once, which solves the problem that two queries are required when using the existing privacy information retrieval method, and ensures that the intermediate query data will not be leaked.

[0056] Secondly, the present invention can perform batch keyword retrieval through RSA blind signature encryption and oblivious transfer extension;

[0057] Finally, the present invention allows the data service provider to encrypt the data in advance during the offline phase, ensuring that when the data user initiates keyword matching, only the keyword set sent by the data user needs to be encrypted and calculated, thereby reducing the calculation time when the data service provider executes the protocol. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solution of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0059] Figure 1 A schematic diagram of a flow chart of an embodiment of the present invention;

[0060] Figure 2 The following is a flowchart of keyword matching based on RSA blind signature according to an embodiment of the present invention;

[0061] Figure 3 This is a flow chart of implementing information transmission using oblivious transfer extension according to an embodiment of the present invention. DETAILED DESCRIPTION

[0062] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0063] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0064] In colleges and universities, users may violate regulations out of curiosity when using the campus network, such as visiting illegal websites, using tools to scan websites without authorization, etc. In order to maintain the school's network security, the network security team will authorize the information center administrator to conduct traceability queries. During the traceability process, the administrator needs to query the databases of multiple departments, and use the result data A retrieved from Department X as the query condition to initiate a query to Department Y. During the query process, the administrator hopes that other departments cannot know the administrator's query information. On the contrary, since the administrator is a staff member, the server requires that the administrator cannot obtain other data information except the query results during this query process; in this scenario, the information center administrator is the data user, Department X is the first data service provider, and Department Y is the second data service provider. In addition, in related fields such as medical care and banking, there are also similar scenarios.

[0065] In this embodiment, if Figure 1 As shown, the privacy information retrieval method implemented by combining blind signature and oblivious transfer extension includes the following steps:

[0066] S1. The data user executes the privacy set intersection protocol based on RSA blind signature with the first data service provider and the second data service provider to obtain the index information corresponding to the keyword. Figure 2 shown.

[0067] S1.1. The first data service provider generates RSA public key information and RSA private key information used to encrypt the keyword set, sends the RSA private key information to the second data service provider, sends the RSA public key information to the data user, and encrypts the keyword set of the data user to obtain its own keyword set information.

[0068] S1.1.1. The first data service provider generates RSA public and private keys for encrypting the keyword set , where p represents the RSA modulus, e represents the RSA public key, and d represents the RSA private key;

[0069] S1.1.2. The first data service provider sends RSA private key information To the second data service provider, and send the RSA public key information To the data user;

[0070] S1.1.3. The first data service provider calculates rx i and rxd i :

[0071] ,

[0072] in, represents a keyword set of the first data service provider, represents the associated data set of the first data service provider, i represents the corresponding row of the data in the keyword set of the first data service provider, n represents the size of the keyword set of the first data service provider, H represents the hash function, rx i Represents x i The encrypted value of rxd i Indicates xd i The encrypted value of , mod represents the modulus operation;

[0073] S1.1.4. The second data service provider calculates rz i :

[0074] ,

[0075] in, is a keyword set of the second data service provider, is the associated data set of the second data service provider, l represents the size of the keyword set of the second data service provider, rz i Indicates z i The encrypted value of .

[0076] S1.2. The data user uses its own keyword set information to interact with the first data service provider to obtain encrypted set information of its own keyword set information, namely, index information.

[0077] S1.2.1. The data user receives the RSA public key information Then, generate a large random integer R and calculate y j ':

[0078] ,

[0079] in, is the keyword set of the data user, R represents a large integer randomly selected from the modular finite field, m represents the size of the keyword set of the data user, j represents the corresponding row of the data in the keyword set of the data user, and y j ' indicates y j The first encrypted value of the data sent by the data consumer To the first data service provider;

[0080] S1.2.2. The first data service provider calculates y j '':

[0081] ,

[0082] Among them, y j '' means y j The second encrypted value is sent , and To the data user;

[0083] S1.2.3. The second data service provider sends To the data user;

[0084] S1.2.4. Data users calculate y j ''':

[0085] ,

[0086] Among them, y j ''' means y j The third encrypted value, R -1 represents the inverse element of R;

[0087] S1.2.5. Finally calculate the index information ID:

[0088] ,

[0089] Among them, o represents any value within the range of l, rz o Indicates z o The encrypted value of .

[0090] S2. The data user uses the index information to initiate a search to the second data service provider, and uses the oblivious transmission extension to obtain l random string instances to encrypt l information of the second data service provider. The data user decrypts the data information corresponding to the index information of the second data service provider to complete the private information retrieval. Figure 3 shown.

[0091] S2.1. The data user uses the index information ID to initiate a search to the second data service provider.

[0092] S2.1.1. The second data service provider generates a k-bit random string ;

[0093] S2.1.2. The data user constructs two l×k dimensional matrices T and U, where k represents the number of bits of the random string and l represents the size of the keyword set of the second data service provider; in matrix T: ta represents the a-th row vector of matrix T, represents the b-th column vector of matrix T. Each element value in matrix T is randomly generated. In matrix U: a represents the a-th row vector of matrix U, represents the b-th column vector of the matrix U, and the matrix U satisfies:

[0094] ,

[0095] Where C represents a pseudo-random function, Represents an XOR operation, where α is the digital string converted from serial number a Represents the concatenated string z a With the string α, Indicates u a Select k bits randomly.

[0096] S2.2. The data user and the second data service provider execute the oblivious transfer extension protocol , where k represents the number of bits of the random string, and l represents the size of the keyword set of the second data service provider.

[0097] S2.2.1. The second data service provider acts as the receiver and inputs ;

[0098] S2.2.2. The data user acts as the sender and inputs ,in, represents the c-th column vector of matrix T, represents the c-th column vector of matrix U;

[0099] S2.2.3. The second data server receives the output ;

[0100] S2.2.4. The second data service provider constructs an l×k matrix Q, in which: is the c-th column of the matrix Q, , is the c-th row of the matrix Q, , where s represents a k-bit random string generated by the second data service provider, represents the cth value of s. Since each column is , where s c represents the cth value of s, when s c With t c When XOR, s c will expand to a length equal to t c A consistent vector, and thus with t c XOR, then from the row vector we can get This is because each column corresponds to a row of s c The values ​​are combined to form the s vector.

[0101] S2.3. The second data service provider sends the encrypted information to the data user, and the data user decrypts the data information corresponding to the index information of the second data service provider to complete the private information retrieval.

[0102] S2.3.1. Second data service provider calculation

[0103] ,

[0104] Where s represents a k-bit random string generated by the second data service provider, λ represents a digital string corresponding to index i, Represents the string z i Concatenate with the numeric string λ;

[0105] S2.3.2. Split p in half i Get p i,1 and p i,2 , calculate the bigram , and sent to the data user, each p i can be used as an instance of an oblivious pseudo-random function, and the oblivious pseudo-random function instance owned by the data user is , where Enc(zd i , p i,2 ) indicates the use of AES key p i,2 Encryption i The value obtained;

[0106] S2.3.3. Data User Segmentation i Get i,1 and t i,2 , find matches , output , and get the final result , complete the private information retrieval, where Dec(Enc(zd i , p i,2 ),t i,2 ) indicates the use of AES key t i,2 Decrypt Enc(zd i , p i,2 ) to obtain the value.

[0107] The embodiments described above are only descriptions of the preferred embodiments of the present invention and are not intended to limit the scope of the present invention. Without departing from the design spirit of the present invention, various modifications and improvements made to the technical solutions of the present invention by ordinary technicians in this field should all fall within the protection scope determined by the claims of the present invention.

Claims

1. A privacy information retrieval method implemented by combining blind signatures and oblivious transfer extensions, characterized in that: The following steps are involved: S1. The data user, the first data service provider, and the second data service provider execute a privacy set intersection protocol based on RSA blind signatures to obtain index information corresponding to the keywords; S2. The data user uses the index information to initiate a search with the second data service provider. Using the oblivious transfer extension, the user obtains one random string instance to encrypt one piece of information from the second data service provider. The user then decrypts the data corresponding to the index information of the second data service provider, completing the private information retrieval. Said S1 comprises: S1.

1. The first data service provider generates RSA public key information and RSA private key information for encrypting the keyword set, sends the RSA private key information to the second data service provider, sends the RSA public key information to the data user, and encrypts the keyword set of the data user to obtain its own keyword set information; S1.

2. The data user uses the own keyword set information to interact with the first data service provider to obtain the encrypted set information of the own keyword set information, ie, the index information; The S1.1 includes: S1.1.

1. The first data service provider generates RSA public and private keys used to encrypt the keyword set , where p represents the RSA modulus, e represents the RSA public key, and d represents the RSA private key; S1.1.

2. The first data service provider sends the RSA private key information To the second data service provider, and send the RSA public key information To the data user; S1.1.

3. The first data service provider calculates rx i and rxd i : , in, represents the keyword set of the first data service provider, represents the associated data set of the first data service provider, i represents the corresponding row of the data in the keyword set of the first data service provider, n represents the size of the keyword set of the first data service provider, H represents the hash function, rx i Represents x i The encrypted value of rxd i Indicates xd i The encrypted value of , mod represents the modulo operation; S1.1.

4. The second data service provider calculates rz i : , in, is the keyword set of the second data service provider, is the associated data set of the second data service provider, l represents the size of the keyword set of the second data service provider, rz i represents z i The encrypted value of Said S1.2 includes: S1.2.

1. The data user receives the RSA public key information Then, generate a large random integer R and calculate y j ': , in, is the keyword set of the data user, R represents a large integer randomly selected from the modular finite field, m represents the size of the keyword set of the data user, j represents the corresponding row of the data in the keyword set of the data user, y j ' indicates y j The first encrypted value of the data used by the user is sent To the first data service provider; S1.2.

2. The first data service provider calculates y j '': , Among them, y j '' represents y j The second encrypted value is sent 、 and To the data user; S1.2.

3. The second data service provider sends To the data user; S1.2.

4. The data user calculates y j ''': , Among them, y j ''' represents y j The third encrypted value, R -1 represents the inverse element of R; S1.2.

5. Finally, calculate the index information ID: , Among them, o represents any value within the range of l, rz o represents z o The encrypted value of The S2 includes: S2.

1. The data user uses the index information ID to initiate a search to the second data service provider; S2.

2. The data user and the second data service provider execute the oblivious transfer extension protocol , where k represents the number of bits of the random string, and l represents the size of the keyword set of the second data service provider; S2.

3. The second data service sends the encrypted information to the data user, and the data user decrypts the data information of the index information corresponding to the second data service to complete the private information retrieval; The S2.1 includes: S2.1.

1. The second data service provider generates a k-bit random string ; S2.1.

2. The data user constructs two l×k-dimensional matrices T and U, where k represents the number of bits of the random string and l represents the size of the keyword set of the second data service provider; in matrix T: t a represents the a-th row vector of matrix T, Represents the b-th column vector of matrix T; in matrix U: u a represents the a-th row vector of matrix U, represents the b-th column vector of the matrix U, and the matrix U satisfies: , Where C represents a pseudo-random function, Represents an exclusive OR operation, where α is the digital string converted from serial number a. Represents the concatenated string z a With the string α, Indicates u a Randomly select k bits; Said S2.2 includes: S2.2.

1. The second data service provider acts as the receiver and inputs , where s represents a k-bit random string generated by the second data service provider, represents the cth value of s; S2.2.

2. The data user acts as the sender and enters ,in, represents the c-th column vector of matrix T, represents the c-th column vector of matrix U; S2.2.

3. The second data service provider accepts the output ; S2.2.

4. The second data service provider constructs an l×k matrix Q, in which: is the c-th column of matrix Q, , is the c-th row of matrix Q, , where s represents a k-bit random string generated by the second data service provider, represents the cth value of s; Said S2.3 includes: S2.3.

1. The second data service provider calculates , Where s represents a k-bit random string generated by the second data service provider, λ represents a numeric string corresponding to index i, Represents the string z i Concatenate with the numeric string λ; S2.3.

2. Split p in half i Get p i,1 and p i,2 , calculate the bigram , and sent to the data user, where Enc(zd i , p i,2 ) indicates the use of AES key p i,2 Encryption i The value obtained, A set of related data of the second data service provider; S2.3.

3. Data User Segmentation i Get t i,1 and t i,2 , find matches , output , and get the final result , complete the private information retrieval, where Dec(Enc(zd i , p i,2 ),t i,2 ) indicates the use of AES key t i,2 Decrypt Enc(zd i , p i,2 ) to obtain the value.