Cross-institutional financial privacy data sharing method and device, storage medium

Through elliptic curve encryption and homomorphic encryption solutions, the lack of cross-institutional data sharing and analysis in the financial and insurance industry is solved, the secure sharing and accurate analysis of private data is achieved, and the protection of customer privacy is ensured.

CN117579272BActive Publication Date: 2024-09-20JINAN UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311873236.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-29
Publication Date
2024-09-20
Estimated Expiration
2043-12-29

AI Technical Summary

Technical Problem

In the financial and insurance industry, there is a lack of customer data within a single institution, resulting in inaccurate group analysis. Moreover, traditional methods may expose customer privacy when processing personal privacy data, and cannot effectively share and analyze financial privacy data across institutions.

Method used

Adopt elliptic curve encryption and homomorphic encryption schemes, generate public and private keys and public and private key vectors through the key center, perform customer identity identifier mapping and private data encryption, realize cross-organizational private data sharing and calculation, and ensure that the data will not be disclosed. Analyze the situation and protect customer privacy.

Benefits of technology

Without exposing customers' personal information, it achieves cross-institutional financial privacy data sharing and analysis, improves data operability and analysis accuracy, and ensures the confidentiality and high security of financial data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117579272B
    Figure CN117579272B
Patent Text Reader

Abstract

The present invention discloses a cross-institutional financial privacy data sharing method and device, and storage medium. Without disclosing the customer list and privacy data held by any institution, the common customer group among the participating institutions is calculated, and the secure sharing of privacy data is realized, providing a new solution to the shortage of data volume of a single institution. The analysis of common customers also improves the accuracy and credibility of the calculation. At the same time, privacy calculation is performed based on ciphertext, which protects the customer's personal privacy data while realizing customer group analysis and formulating more accurate insurance product strategies, and has high security and privacy protection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of data security technology, and in particular relates to a method and device for sharing financial privacy data across institutions, and a storage medium. Background Art

[0002] In the financial insurance industry, group analysis of insurance customers is an important task, which can help insurance companies understand the characteristics and needs of customer groups, so as to develop more effective insurance strategies and products. Since customer data within a single financial institution may lack universality, group analysis of insurance customers often requires the integration of multi-source data and joint calculation and analysis between different institutions to improve the accuracy and credibility of the analysis. In addition, the personal information of insurance customers often involves sensitive privacy data, such as health status, family background, detailed income, etc. Insurance companies hope to gain valuable insights from these privacy data to conduct customer group analysis and develop more accurate insurance strategies. However, traditional customer group analysis methods often process customers' personal data through statistical methods, posing a threat to customers' personal privacy. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a cross-institutional financial privacy data sharing method and device, and storage medium, which can realize the sharing of customer lists and personal privacy data across institutions, solve the problem of data scarcity within a single institution, and effectively improve the operability of heterogeneous data; in addition, without exposing the customer's personal privacy information, the ciphertext data of the joint customer group can be calculated and analyzed, and ultimately the overall characteristics or trends of the customer group can be obtained, while ensuring the confidentiality of the financial privacy data.

[0004] To achieve the above object, the present invention adopts the following technical solution:

[0005] A cross-institutional financial privacy data sharing method includes the following steps:

[0006] The key center generates the public and private keys and public and private key vectors required for calculation, and at the same time calculates the elliptic curve exponent generated by the participating institutions;

[0007] The data requesting organization maps its customer identity identifiers into coordinates on the elliptic curve and rearranges them before sending them to the data sharing organization;

[0008] The data sharing agency remaps the coordinates of the customer identity identifier sent by the data requesting agency and sends them to the data requesting party;

[0009] The data sharing agency maps its customer identity identifiers to coordinates on the elliptic curve, encrypts the multi-dimensional privacy data to generate aggregated ciphertext, rearranges it, and sends it to the data requesting agency;

[0010] The data requesting organization remaps all the coordinates of the identity identifiers sent by the data sharing organization and retrieves two sets of coordinates to identify the common customer groups;

[0011] The data requesting agency calculates the aggregated ciphertext of all customer-associated private data values ​​and randomizes them, and sends the randomized results to the data sharing agency for decryption;

[0012] The data sharing organization calls the private key from the key center, decrypts the aggregated ciphertext, splits the decryption result, and sends the split result to the data requesting organization;

[0013] The data requester removes the random number and obtains the plaintext of the sum of all private data of the customer group to complete the privacy calculation.

[0014] As a preference, the data requesting agency P 1 Holds the dataset S 1 =(u 1 ,u 2 , ...., u m ), containing m customer identifiers u i (1≤i≤m), where u 1 ,u 2 , ...., u m The unique identifier representing the customer, that is, each identifier u i (1≤i≤m) uniquely corresponds to a customer.

[0015] Preferably, the data sharing organization holds the dataset S 2 =((u 1 , D 1 ),....,(u n , D n )), containing the identifiers u of n customers j (1≤j≤n) and the associated multi-dimensional privacy data D j , D j There are l types of customer privacy data d jk (1≤k≤l), expressed as D j =(d j1 , d j2 , ..., d jl ), where d j1 , d j2 , ..., d jl Represents different types of private data of customers, e.g., salary, loan.

[0016] The present invention also provides a method for sharing and calculating financial privacy data across institutions, comprising the following steps:

[0017] The key center performs the key generation process of the additive homomorphic encryption scheme Generate a pair of global keys for encrypting the customer's multi-dimensional private data, namely the public key pk D and the public key vector vector Private key sk D and the private key vector And send the public key and public key vector to the data requesting agency P 1 and data sharing agency P 2 The private key and private key vector are securely stored in the device inside the key center and can only be called by the data sharing organization; the data requesting organization P 1 and data sharing agency P 2 Execute the elliptic curve exponent generation process Gen(λ) respectively to generate the elliptic curve exponent e 1 and e 2 ;

[0018] For all 1≤i≤m, the data requesting agency calculates the customer identifier u i The hash function value H(u i ); Next, the data requesting agency performs the elliptic curve mapping process to calculate u i '=Map(e 1 ,H(u i )) to form the coordinate set of the identifier on the elliptic curve (u 1 ',u 2 ', ...., u m '); Finally, the data requesting agency uses the random permutation function to calculate Rearrange all encrypted identifiers and send them to the data sharing organization;

[0019] For the coordinate set of the identity identifier sent by the data requesting agency, the data sharing agency performs the elliptic curve mapping process to calculate Perform secondary mapping on the coordinates of the identifier to form a secondary mapping coordinate set of the identifier and sent to the data requesting agency;

[0020] For all 1≤j≤n, the data sharing organization calculates the customer identifier u j The hash function value H(p j ); the data sharing organization executes the elliptic curve mapping process and calculates u j '=Map(e2,H(u j)) to form the coordinate set of the customer identity identifier on the elliptic curve (u 1 ',u 2 ', ...., u m '); for the associated private data value D j , the data sharing organization performs the aggregate encryption process of the homomorphic encryption algorithm, computing The ciphertext set {u j '||E j} j∈[n] ; Data sharing institutions use random permutation functions to calculate Rearrange the ciphertext of all customer identifier coordinates and aggregated privacy data and send them to the data requesting agency;

[0021] For the ciphertext set of the customer identity identifier coordinates and aggregated privacy data sent by the data sharing organization, the data requesting organization performs the elliptic curve mapping process to calculate Perform secondary mapping on the coordinates of the identifier to form a secondary mapping coordinate set of the identifier Next, the data requesting agency retrieves the coordinates of the same customer identity identifier, obtains the subscript j and forms a set J; then, based on the subscript set J, the encrypted identity identifier and privacy data E corresponding to the subscript are filtered out. j , forming the customer group set to be analyzed

[0022] The data requesting agency calculates the product E=Π of the ciphertext of the common customer through the homomorphic addition property. j∈J E j , and then randomly select a random array containing 1 random number r = (r 1 , r 2 , ..., r 1 ), randomize the ciphertext product E, and get The final data requesting agency will Send to data sharing agency to request decryption;

[0023] The data sharing organization calls the homomorphically encrypted private key and private key vector from the key center, and then performs the homomorphically encrypted decryption process. Decrypt to get the randomized aggregate data plaintext Res', and then perform the data splitting process Split the customer's multiple private data to obtain the calculation results of each data (Res 1 ', Res 2 ', ...., Res l '), and send the split results to the data requesting agency;

[0024] The data requesting agency removes the random number Res for each data item k =Res k '-r k (1≤k≤l), and the sum of all privacy data of the common customer group is obtained (Res 1 ,Res 2 , ..., Res l ), the organization can calculate the average value of customer group data based on the summed data of multiple dimensions and analyze it to complete the privacy calculation; where r k (1≤k≤l) is l random numbers generated by the data requesting organization, which are used to randomize the product of the ciphertext of the common customers to prevent the data sharing organization from directly obtaining the calculation result during decryption.

[0025] As a preference, the data requesting agency P 1 Holds the dataset S 1 =(u 1 ,u 2 , ...., u m ), containing m customer identifiers u i (1≤i≤m), where u 1 ,u 2 , ..., u m The unique identifier representing the customer, that is, each identifier u i (1≤i≤m) can uniquely correspond to a customer; the data sharing organization holds the data set S 2 =((u 1 , D 1 ),...,(u n , D n )), containing the identifiers u of n customers j (1≤j≤n) and the associated multi-dimensional privacy data D j , D j There are l types of customer privacy data d jk (1≤k≤l), expressed as D j =(d j1 , d j2 , ..., d jl ), where d j1 , d j2 , ..., d jl Represents different types of private data of customers, e.g., salary, loan, etc.

[0026] The present invention also provides a cross-institutional financial privacy data sharing device, comprising:

[0027] The first calculation module is used for the key center to generate the public and private keys and public and private key vectors required for calculation, and at the same time calculate the elliptic curve exponent generated by the participating institutions;

[0028] The second computing module is used for the data requesting institution to map the customer identity identifier it owns into coordinates on the elliptic curve and rearrange them before sending them to the data sharing institution;

[0029] The third calculation module is used for the data sharing organization to perform secondary mapping on the coordinates of the customer identity identifier sent by the data requesting organization and then send the result to the data requesting party;

[0030] The fourth computing module is used for the data sharing institution to map the customer identity identifier it owns to the coordinates on the elliptic curve, encrypt the multi-dimensional privacy data to generate an aggregated ciphertext, and send it to the data requesting institution after rearranging;

[0031] A fifth calculation module is used for the data requesting organization to perform secondary mapping on all identity identifier coordinates sent by the data sharing organization, and retrieve two coordinate sets to identify common customer groups;

[0032] The sixth calculation module is used for the data requesting agency to calculate the aggregated ciphertext of the private data values ​​associated with all customers and perform randomization, and send the randomization result to the data sharing agency for decryption;

[0033] The seventh computing module is used for the data sharing organization to call the private key from the key center, decrypt the aggregated ciphertext and split the decryption result, and send the split result to the data requesting organization;

[0034] The eighth calculation module is used for the data requester to remove the random number and obtain the plain text of the sum of various privacy data of the customer group to complete the privacy calculation.

[0035] As a preference, the data requesting agency P 1 Holds the dataset S 1 =(u 1 ,u 2 , ..., u m ), containing m customer identifiers u i (1≤i≤m), where u 1 ,u 2 , ..., u m The unique identifier representing the customer, that is, each identifier u i (1≤i≤m) can uniquely correspond to a customer.

[0036] As a preference, the data sharing organization P 2 Holds the dataset S 2 =((u 1 , D 1),...,(u n , D n )), containing the identifiers u of n customers j (1≤j≤n) and the associated multi-dimensional privacy data D j , D j There are l types of customer privacy data d jk (1≤k≤l), expressed as D j =(d j1 , d j2 , ..., d jl ), where d j1 , d j2 , ..., d jl Represents different types of private data of customers, e.g., salary, loan, etc.

[0037] The present invention also provides a storage medium storing machine executable instructions. When the machine executable instructions are called and executed by a processor, the machine executable instructions prompt the processor to implement a cross-institutional financial privacy data sharing method.

[0038] Beneficial effects of the present invention:

[0039] (1) In the present invention, without disclosing the customer list and privacy data held by any institution, the common customer group among the participating institutions is calculated, and the secure sharing of privacy data is achieved, which provides a new solution to the lack of data volume of a single institution. The analysis of common customers also improves the accuracy and credibility of the calculation.

[0040] (2) The present invention confirms the privacy data indicators required for calculation through negotiation among the computing participating institutions, and interacts through ciphertext data in a unified format, thereby improving the operability of heterogeneous data during cross-domain intercommunication.

[0041] (3) The present invention performs privacy computing based on ciphertext, which protects the customer's personal privacy data while realizing customer group analysis and formulating more accurate insurance product strategies, and has high security and privacy protection. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0043] Figure 1 is a flow chart of a method for sharing financial privacy data across institutions according to an embodiment of the present invention;

[0044] Figure 2 It is a schematic diagram of the overall architecture of the cross-institutional financial privacy data sharing method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0045] 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.

[0046] 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.

[0047] Embodiment 1:

[0048] The embodiment of the present invention provides a method for sharing financial privacy data across institutions. In the embodiment of the present invention, there are two institutions participating in the calculation, namely, the data requesting institution P and the data requesting institution P. 1 and data sharing agency P 2 , data requesting agency P 1 Holds the dataset S 1 =(u 1 ,u 2 , ..., u m ), containing m customer identifiers u i (1≤i≤m), where u 1 ,u 2 , ..., u m The unique identifier representing the customer, that is, each identifier u i (1≤i≤m) can uniquely correspond to a customer; the data sharing organization holds the data set S 2 =((u 1 , D 1 ),...,(u n , D n )), containing the identifiers u of n customers j (1≤j≤n) and the associated multi-dimensional privacy data D j , D j There are l types of customer privacy data d jk (1≤k≤l), expressed as D j =(d j1 , d j2 , ..., d jl ), where d j1 , d j2, ..., d jl Represents different types of private data of customers, e.g., salary, loan. is the key generation process of an additive homomorphic encryption scheme, κ is the security parameter, ε(pk, m) is the encryption process of the encryption scheme, is the aggregate encryption process of the encryption scheme. is the decryption process of the encryption scheme, is the aggregate data splitting process of the encryption scheme, where pk and sk are the public key and private key of the additive homomorphic encryption scheme, respectively. and are the public key vector and private key vector respectively, m and c are the plaintext to be encrypted and the ciphertext to be decrypted respectively, and M is the aggregated plaintext of multiple data to be split. Gen(λ) is a process of generating an elliptic curve index, λ is a security parameter, and Map(k, m) is the mapping process of the elliptic curve, which can map the plaintext data to the coordinates on the elliptic curve, where m is the plaintext data to be mapped and k is the index mapped by the elliptic curve.

[0049] like Figure 1 , 2 As shown, an embodiment of the present invention provides a method for sharing financial privacy data across institutions, comprising the following steps:

[0050] S1. The two computing participating institutions negotiate the target customer groups and the privacy data indicators that need to be analyzed to ensure the correctness of the data set format when sharing data;

[0051] S2. The key center performs the key generation process of the additive homomorphic encryption scheme Generate a pair of global keys for encrypting the customer's multi-dimensional private data, namely the public key pk D and the public key vector vector Private key sk D and the private key vector The public key and the public key vector are made public to the two participating institutions, and the private key and the private key vector are securely stored in the device inside the key center and can only be called by the data sharing institution. Then, the two computing participating institutions respectively execute the elliptic curve exponent generation process Gen(λ) to generate the elliptic curve exponent e 1 and e 2 ;

[0052] Furthermore, in the embodiment of the present invention, the additive homomorphic encryption scheme adopts the Paillier construction. In practical applications, the security parameter κ can be set to 1024 or higher to achieve a security strength that meets actual needs. The elliptic curve encryption scheme is constructed based on the Curve25519 curve, and the security parameter λ is set to 256.

[0053] The process of generating the required key and key vector is as follows:

[0054] S21. The key center performs the key generation process Randomly select two large prime numbers p and q of length κ bits, and calculate N = pq and λ = lcm(p-1, q-1), where lcm(p-1, q-1) is a function for calculating the least common multiple;

[0055] S22. The key center randomly selects an integer Then the public key pk of the homomorphic encryption scheme is (N, g), and the private key sk is λ;

[0056] S23. Based on the customer size and the value range of the data item, the key center generates a private key vector Where l is the number of types of privacy data items to be analyzed; a i The following conditions need to be met: for all 2≤i≤l, a i is a large prime number and satisfies w is the maximum number of customers between the two parties, i.e., Max(m, n), and d is the privacy data item of all customers. k (1≤k≤l) the maximum value of the value;

[0057] S24. Finally, the public key vector is calculated based on the generated private key vector

[0058] The process of generating elliptic curve exponents by participating institutions is as follows:

[0059] S25. The data sharing agency and the data requesting agency each randomly select an integer e in [1, n-1] 1 and e 2 As the elliptic curve exponent, where n is the order of the chosen elliptic curve;

[0060] S3. For all 1≤i≤m, the data requesting agency calculates the customer identity identifier u i The hash function value H(u i ); Next, the data requesting agency performs the elliptic curve mapping process to calculate u i '=Map(e 1 ,H(u i )) to form the coordinate set of the identifier on the elliptic curve (u 1 ',u 2 ', ...., u mm '); Finally, the data requesting agency uses the random permutation function to calculate Rearrange all encrypted identifiers and send them to the data sharing organization;

[0061] Furthermore, the hash function in the embodiment of the present invention is also called a hash function or a hash function, which is an irreversible one-way mapping, and can map an input message M of any length into a shorter fixed-length hash value, also called a hash value or a hash value, and can use algorithms such as SHA256;

[0062] The customer identifier u i The hash function value H(u i ) is mapped to elliptic curve coordinates as follows:

[0063] Calculate H(u i )e on the selected elliptic curve 1 Double point, that is, e 1 ·H(u i ), the coordinates of this point are H(u i ) is mapped to the coordinates of the elliptic curve;

[0064] S4. For the coordinate set of the identity identifier sent by the data requesting agency, the data sharing agency performs the elliptic curve mapping process to calculate Perform secondary mapping on the coordinates of the identifier to form a secondary mapping coordinate set of the identifier and sent to the data requesting agency;

[0065] Furthermore, the coordinates of the identifier The process of secondary mapping is as follows:

[0066] Data Sharing Institutional Computing e on the selected curve 2 Double point, that is The coordinates of this point are H(u i ) quadratically mapped to elliptic curve coordinates;

[0067] S5. For all 1≤j≤n, the data sharing organization calculates the customer identifier u j The hash function value H(p j ); Next, the data sharing organization performs the elliptic curve mapping process to calculate u j '=Map(e 2 ,H(u j )) to form the coordinate set of the customer identity identifier on the elliptic curve (u 1 ',u 2 ', ...., u m '); for the associated private data value D j , the data sharing organization performs the aggregate encryption process of the homomorphic encryption algorithm, computing The ciphertext set {u j '||E j} j∈[n] ; Finally, the data sharing agency uses the random permutation function to calculate Rearrange the ciphertext of all customer identifier coordinates and aggregated privacy data and send them to the data requesting agency;

[0068] Furthermore, for the associated private data value D j The encryption process is as follows:

[0069] Data sharing institutions are randomly selected Using Public Key Vectors Calculate ciphertext

[0070] S6. The ciphertext set of the customer identifier coordinates and aggregated privacy data sent by the data sharing organization The data requesting agency performs the elliptic curve mapping process and calculates Perform secondary mapping on the coordinates of the identifier to form a secondary mapping coordinate set of the identifier Next, the data requesting agency retrieves the coordinates of the same customer identity identifier, obtains the subscript j and forms a set J; then, based on the subscript set J, the encrypted identity identifier and privacy data E corresponding to the subscript are filtered out. j , forming the customer group set to be analyzed

[0071] Furthermore, the process of the data requesting agency retrieving the common customer identity identifier ciphertext index is as follows:

[0072] For all 1≤j≤n, the data calculation party retrieves all The subscript j of , constitutes the set J;

[0073] S7. The data requesting agency calculates the product E=Π of the ciphertext of the common customer through the homomorphic addition property j∈J E j , and then randomly select a random array containing l random numbers r = (r 1 , r 2 , ..., r l ), randomize the ciphertext product E, and get The final data requesting agency will Send to data sharing agency to request decryption;

[0074] Furthermore, the homomorphic addition property is as follows:

[0075] For encrypted collections All the associated private data ciphertexts in The data requesting agency calculates the product of the ciphertext The homomorphic addition property satisfies the decryption E, and the plaintext of the sum of all private data can be obtained, that is,

[0076] S8. The data sharing organization calls the homomorphically encrypted private key and private key vector from the key center, and then performs the homomorphically encrypted decryption process. Decrypt to get the randomized aggregate data plaintext Res', and then perform the data splitting process Split the customer's multiple private data to obtain the calculation results of each data (Res 1 ', Res 2 ', ..., Res l '), and send the split results to the data requesting agency;

[0077] Furthermore, the decryption process of the ciphertext data E is as follows:

[0078] The key center uses the private key sk D , decrypted to get the aggregate plaintext in

[0079] Split the aggregate plaintext Res' to get the sum of each privacy data Res i The process is as follows:

[0080] S81. Set the aggregate plaintext Res′ to X l ;

[0081] S82. For subscripts from 1 to 2, the data sharing agency uses the private key vector in descending order of the subscripts. Calculate X in sequence j-1 =X j mod a j , and then further calculate the ciphertext of the calculation results of each privacy data

[0082] S83. The last remaining X 1 This is the ciphertext Res′ of the calculation result of the first private data 1 ,Right now

[0083] S84. The data sharing agency shall submit the calculation results of each data (Res 1 ', Res 2', ...., Res l ') sent to the data requesting agency;

[0084] S9. The data requesting agency uses the random array r in S7 = (r 1 , r 2 , ..., r 1 ), remove the random number Res of each data k =Res k '-r k (1≤k≤l), and the sum of all privacy data of the common customer group is obtained (Res 1 ,Res 2 , ..., Res l ), based on the summed data of multiple dimensions and the base number of customer groups, the data requesting agency calculates the average value of the customer group data and analyzes it to complete the privacy calculation.

[0085] Embodiment 2:

[0086] The embodiment of the present invention also provides a cross-institution financial privacy data sharing device, including:

[0087] The first calculation module is used for the key center to generate the public and private keys and public and private key vectors required for calculation, and at the same time calculate the elliptic curve exponent generated by the participating institutions;

[0088] The second computing module is used for the data requesting institution to map the customer identity identifier it owns into coordinates on the elliptic curve and rearrange them before sending them to the data sharing institution;

[0089] The third calculation module is used for the data sharing organization to perform secondary mapping on the coordinates of the customer identity identifier sent by the data requesting organization and then send the result to the data requesting party;

[0090] The fourth computing module is used for the data sharing institution to map the customer identity identifier it owns to the coordinates on the elliptic curve, encrypt the multi-dimensional privacy data to generate an aggregated ciphertext, and send it to the data requesting institution after rearranging;

[0091] A fifth calculation module is used for the data requesting organization to perform secondary mapping on all identity identifier coordinates sent by the data sharing organization, and retrieve two coordinate sets to identify common customer groups;

[0092] The sixth calculation module is used for the data requesting agency to calculate the aggregated ciphertext of the private data values ​​associated with all customers and perform randomization, and send the randomization result to the data sharing agency for decryption;

[0093] The seventh computing module is used for the data sharing organization to call the private key from the key center, decrypt the aggregated ciphertext and split the decryption result, and send the split result to the data requesting organization;

[0094] The eighth calculation module is used for the data requester to remove the random number and obtain the plain text of the sum of various privacy data of the customer group to complete the privacy calculation.

[0095] As an implementation method of the present invention, the data requesting mechanism P 1 Holds the dataset S 1 =(u 1 ,u 2 , ..., u m ), containing m customer identifiers u i (1≤i≤m); data sharing organization holds data set S 2 =((u 1 , D 1 ),...,(u n , D n )), containing the identifiers u of n customers j (1≤j≤n) and the associated multi-dimensional privacy data D j , D j It is composed of l types of customer privacy data, represented by D j =(d j1 , d j2 , ..., d jl ), where d j1 , d j2 , ..., d jl Represents different types of private data of customers, e.g., salary, loan, etc.

[0096] Embodiment 3:

[0097] An embodiment of the present invention also provides a storage medium, which stores machine-executable instructions. When the machine-executable instructions are called and executed by a processor, the machine-executable instructions prompt the processor to implement a cross-institutional financial privacy data sharing method.

[0098] 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 method for sharing financial privacy data across institutions, characterized in that: The following steps are involved: The key center generates the public and private keys and public and private key vectors required for calculation, and calculates the elliptic curve exponent at the same time; The data requesting organization maps its customer identity identifiers into coordinates on the elliptic curve and rearranges them before sending them to the data sharing organization; The data sharing agency remaps the coordinates of the customer identity identifier sent by the data requesting agency and sends them to the data requesting agency; The data sharing agency maps its customer identity identifiers to coordinates on the elliptic curve, encrypts the multi-dimensional privacy data to generate aggregated ciphertext, rearranges it, and sends it to the data requesting agency; The data requesting organization remaps the coordinates of all customer identifiers sent by the data sharing organization and retrieves two coordinate sets to identify common customer groups; The data requesting agency calculates the aggregated ciphertext of the private data values ​​associated with the common customer group and performs randomization, and sends the randomization result to the data sharing agency for decryption; The data sharing organization calls the private key from the key center, decrypts the aggregated ciphertext, splits the decryption result, and sends the split result to the data requesting organization; The data requesting agency removes the random number and obtains the plaintext of the sum of all private data of the common customer group to complete the privacy calculation.

2. The cross-institutional financial privacy data sharing method according to claim 1, characterized in that: The data requesting organization P1 holds the data set S1=(u1,u2,...,u m ), containing m customer identifiers u i ; Among them, 1≤i≤m, u1,u2,...,u m A unique identifier for a customer.

3. The cross-institutional financial privacy data sharing method according to claim 2, characterized in that: The data sharing organization holds the data set S2 = ((u1, D1),..., (u n ,D n )), containing the identifiers u of n customers j and the associated multi-dimensional privacy data D j , where 1≤j≤n, D j There are l types of customer privacy data d jk Composition, represented by D j =(d j1 ,d j2 ,...,d jl ), where 1≤k≤l, d j1 ,d j2 ,...,d jl Represents different types of private data of customers.

4. A method for sharing financial privacy data across institutions, characterized in that: The following steps are involved: The key center performs the key generation process of the additive homomorphic encryption scheme Generate a pair of global keys for encrypting the customer's multi-dimensional private data, namely the public key pk D and the public key vector Private key sk D and the private key vector The public key and the public key vector are disclosed to the data requesting agency P1 and the data sharing agency P2, and the private key and the private key vector are securely stored in the device inside the key center and can only be called by the data sharing agency; the data requesting agency P1 and the data sharing agency P2 respectively execute the elliptic curve exponent generation process Gen(λ) to generate the exponents e1 and e2 of the elliptic curve; For all 1≤i≤m, the data requesting agency calculates the customer identifier u i The hash function value H(u i ); Next, the data requesting agency performs the elliptic curve mapping process to calculate u i ’ =Map(e1,H(u i )) to form the coordinate set of the customer identity identifier on the elliptic curve (u1 ’ ,u2 ’ ,...,u m ’ ); Finally, the data requesting agency uses the random permutation function to calculate Rearrange all encrypted customer identifiers and send them to the data sharing organization; For the coordinate set of the customer identity identifier sent by the data requesting agency, the data sharing agency performs the elliptic curve mapping process to calculate Perform secondary mapping on the coordinates of the customer identity identifier to form a secondary mapping coordinate set of the customer identity identifier and sent to the data requesting agency; For all 1≤j≤n, the data sharing organization calculates the customer identifier u j The hash function value H(p j ); The data sharing organization performs the elliptic curve mapping process and calculates u j ’ =Map(e2,H(u j )) to form the coordinate set of the customer identity identifier on the elliptic curve (u1 ’ ,u2 ’ ,...,u n ’ ), where 1≤j≤n; for the associated private data value D j , the data sharing organization performs the aggregate encryption process of the homomorphic encryption algorithm, computing Constructing the customer identifier coordinates and the ciphertext set of aggregated private data {u j ’ ||E j } j∈[n] ; Data sharing institutions use random permutation functions to calculate Coordinates of all customer identifiers The ciphertext of the aggregated private data is rearranged and sent to the data requesting agency; For the ciphertext set of the customer identity identifier coordinates and aggregated privacy data sent by the data sharing organization, the data requesting organization performs the elliptic curve mapping process to calculate Perform secondary mapping on the coordinates of the customer identity identifier to form a secondary mapping coordinate set of the customer identity identifier Next, the data requesting agency retrieves the same customer identifier coordinates Get the subscript j and form a set J; then filter out the encrypted customer identity identifier and privacy data E corresponding to the subscript according to the subscript set J j , forming a common customer group set to be analyzed The data requesting agency calculates the product of the ciphertext of the common customer E=∏ through the homomorphic addition property j∈J E j , and then randomly select a random array r containing l random numbers = (r1, r2, ..., r l ), randomize the ciphertext product E, and get The final data requesting agency will Send to data sharing agency to request decryption; The data sharing organization calls the homomorphically encrypted private key and private key vector from the key center, and then performs the homomorphically encrypted decryption process. Decrypt to get the randomized aggregate data plaintext Res', and then perform the data splitting process The multiple private data of the common customer group are split to obtain the calculation results of each data (Res1', Res2', ..., Res l '), and send the split results to the data requesting agency; The data requesting agency removes the random number Res for each data item k =Res k '-r k , and obtain the sum of all private data of the common customer group (Res1, Res2, ..., Res l ), based on the summed data of multiple dimensions and the base number of common customer groups, the data requesting agency calculates the average value of the common customer group data and performs analysis to complete the privacy calculation; where, for 1≤k≤l, r k l random numbers generated by the data requesting agency, Res k 'The randomized calculation result of a single item of data is obtained by splitting multiple private data of a common customer group.

5. The cross-institutional financial privacy data sharing method according to claim 4, characterized in that: The data requesting organization P1 holds the data set S1=(u1,u2,...,u m ), containing m customer identifiers u i , where 1≤i≤m, u1,u2,...,u m The unique identifier representing the customer, that is, each identifier u i can uniquely correspond to a customer; the data sharing organization holds the data set S2 = ((u1, D1),..., (u n ,D n )), containing the identifiers u of n customers j and the associated multi-dimensional privacy data D j , D j There are l types of customer privacy data d jk Composition, represented by D j =(d j1 ,d j2 ,...,d jl ), where 1≤j≤n, 1≤k≤l, d j1 ,d j2 ,...,d jl Represents different types of private data of a customer, such as salary or loan.

6. A cross-institutional financial privacy data sharing device, characterized in that: include: The first calculation module is used for the key center to generate the public and private keys and public and private key vectors required for calculation, and at the same time calculate the elliptic curve exponent generated by the participating institutions; The second computing module is used for the data requesting institution to map the customer identity identifier it owns into coordinates on the elliptic curve and rearrange them before sending them to the data sharing institution; The third calculation module is used for the data sharing institution to perform secondary mapping on the coordinates of the customer identity identifier sent by the data requesting institution and then send the result to the data requesting institution; The fourth computing module is used for the data sharing institution to map the customer identity identifier it owns to the coordinates on the elliptic curve, encrypt the multi-dimensional privacy data to generate an aggregated ciphertext, and send it to the data requesting institution after rearranging; A fifth calculation module is used for the data requesting organization to perform secondary mapping on all identity identifier coordinates sent by the data sharing organization, and retrieve two coordinate sets to identify common customer groups; The sixth calculation module is used for the data requesting agency to calculate the aggregated ciphertext of the private data values ​​associated with all customers and perform randomization, and send the randomization result to the data sharing agency for decryption; The seventh computing module is used for the data sharing organization to call the private key from the key center, decrypt the aggregated ciphertext and split the decryption result, and send the split result to the data requesting organization; The eighth calculation module is used for the data requesting agency to remove the random number and obtain the plain text of the sum of various privacy data of the common customer group to complete the privacy calculation.

7. The cross-institutional financial privacy data sharing device according to claim 6, characterized in that: The data requesting organization P1 holds the data set S1=(u1,u2,...,u m ), containing m customer identifiers u i , where 1≤i≤m, u1,u2,...,u m The unique identifier representing the customer, that is, each identifier u i can uniquely correspond to a customer; the data sharing organization holds the data set S2 = ((u1, D1),..., (u n ,D n )), containing the identifiers u of n customers j and the associated multi-dimensional privacy data D j , D j There are l types of customer privacy data d jk Composition, represented by D j =(d j1 ,d j2 ,...,d jl ), where 1≤j≤n, 1≤k≤l, d j1 ,d j2 ,...,d jl Represents different types of private data of a customer, such as salary or loan.

8. A storage medium, characterized in that: The storage medium stores machine executable instructions, and when the machine executable instructions are called and executed by the processor, the machine executable instructions prompt the processor to implement the cross-institutional financial privacy data sharing method described in any one of claims 4 to 5.