Fully anonymous obfuscated intersection data sharing method, system, device and medium

Through the method of fully anonymous obfuscation intersecting data sharing, homomorphic fragment hybrid rearrangement and secret sharing technology, the problems of ID leakage and differential attacks in the existing technology are solved, and the secure sharing of intersection and non-intersection is realized, and the calculation is reduced. meets the privacy and efficiency needs of commercial operations.

CN118590236BActive Publication Date: 2024-11-01FORTUNE TECH (SHANGHAI) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411073968.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-11-01
Estimated Expiration
2044-08-07

AI Technical Summary

Technical Problem

The prior art cannot simultaneously protect the non-intersection ID and intersection ID of both parties from being leaked, and is vulnerable to differential attacks or information retorts, with large amounts of calculation but low returns.

Method used

Using the method of sharing the full anonymous obfuscation interception data, the data is obtained by obtaining the encrypted interception result data, and performing low-bandwidth reordering of homomorphic fragmentation and secret sharing, generating fully anonymous unordered data, and performing dense obfuscation doping , ensure the secure sharing of target obfuscation sets.

Benefits of technology

It realizes privacy protection that protects intersection and non-intersections, prevents data from being cracked by differential attacks, reduces the amount of computing, and meets the privacy and efficiency needs of data processing in commercial operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590236B_ABST
    Figure CN118590236B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method, system, device and medium for sharing fully-anonymous obfuscated intersection data. The sharing method includes: obtaining encrypted intersection result data of a first data set and a second data set; generating first encrypted data corresponding to the first participant and second encrypted data corresponding to the second participant based on homomorphic fragment mixing and rearrangement; performing low-bandwidth rearrangement of the first encrypted data, the second encrypted data and the encrypted intersection result data based on secret sharing to obtain first fully-anonymous random data held by the first participant and second fully-anonymous random data held by the second participant; performing secret-state obfuscation doping based on the first fully-anonymous random data and the second fully-anonymous random data to obtain a target obfuscated set of the first data set and the second data set, and the first participant and the second participant respectively hold one of the fragment data of the target obfuscated set. Based on the fully-anonymous obfuscated intersection processing, the intersection and non-intersection of the two participants are protected from being leaked, and the data processing process has a low computational level.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing technology, and in particular to a method, system, device and medium for sharing fully anonymous obfuscated intersection data. Background Art

[0002] Traffic is one of the foundations of business operations. A large amount of traffic can be converted into commercial value such as advertising revenue and product sales. Therefore, traffic is very important for the development of an organization. In order to acquire customers, organizations are willing to spend a lot of money on advertising, but the results are average. Banks, insurance companies, and securities companies have tried to cooperate to a certain extent in fund or insurance agency sales, fund custody and other businesses, but due to the fragmentation of data between institutions, it is difficult to form a scale that meets expectations.

[0003] The existing data processing methods to solve data fragmentation are mainly used to protect the non-intersection IDs of the two parties from being leaked. The IDs of the intersection parts are assumed to be known by both parties. However, such data processing methods cannot cope with data attacks such as differential attacks or information inversion, and are prone to exposing individual private information. On the other hand, the existing data processing methods need to protect both the non-intersection IDs and the intersection IDs of the two parties from being leaked, which requires huge amount of calculation and low calculation benefits. Summary of the invention

[0004] The technical problem to be solved by the present invention is to overcome the defects in the prior art that the non-intersection IDs and intersection IDs of the two parties cannot be protected from leakage at the same time, and that differential attacks or information reverse inference cannot be dealt with, and a method, system, device, medium and computer program product for sharing fully anonymous and obfuscated intersection data is provided.

[0005] The present invention solves the above technical problems through the following technical solutions:

[0006] In a first aspect, a method for sharing fully anonymized obfuscated intersection data is provided, wherein a first participant holds a first data set, and a second participant holds a second data set, wherein both the first data set and the second data set include associated data of the same target identifier, and the method comprises:

[0007] Obtaining encrypted intersection result data of the first data set and the second data set based on the associated data;

[0008] Rearrange the encrypted intersection result data based on homomorphic fragment mixing to generate first encrypted data corresponding to the first participant and second encrypted data corresponding to the second participant;

[0009] The first encrypted data, the second encrypted data and the encrypted intersection result data are rearranged with low bandwidth based on secret sharing to obtain first fully-anonymous random data held by the first participant and second fully-anonymous random data held by the second participant;

[0010] The low-bandwidth rearrangement based on secret sharing is consistent with the rearrangement order of the homomorphic fragmentation hybrid rearrangement;

[0011] Based on the first fully anonymous scrambled data and the second fully anonymous scrambled data, dense state obfuscation is performed to obtain target obfuscation sets of the first data set and the second data set, and the first participant and the second participant respectively hold part of the target obfuscation set for sharing.

[0012] Preferably, the step of generating the first encrypted data corresponding to the first participant and the second encrypted data corresponding to the second participant based on the homomorphic fragment mixing and rearrangement includes:

[0013] Randomly generate the first confusion matrix of the first participant and the second confusion matrix of the second participant , the first confusion matrix With the second confusion matrix The size of is the same, and the confusion matrix set ;

[0014] The first confusion matrix With the second confusion matrix Based on homomorphic encryption calculation and random processing, the first secret shared data of the first participant is obtained. and the first random index performed by the first participant , and the second secret shared data of the second party and the second participant performs a second out-of-order index ;

[0015] Among them, the first secret sharing data Share data with the second secret The sum is equal to the confusion matrix set Based on the first random index and the second out-of-order index The result of out-of-order processing;

[0016] The first confusion matrix The first secret shared data and the first random index As the first encrypted data, the second confusion matrix , the second secret shared data and the second out-of-order index as the second encrypted data.

[0017] Preferably, the step of performing low-bandwidth rearrangement based on secret sharing on the first encrypted data, the second encrypted data and the encrypted intersection result data to obtain first fully-anonymous random data held by the first participant and second fully-anonymous random data held by the second participant comprises:

[0018] dividing the encrypted intersection result data into first intersection data held by the first participant and second intersection data held by the second participant;

[0019] Generate a third confusion matrix held by the first participant and a fourth confusion matrix held by the second participant, wherein the third confusion matrix and the fourth confusion matrix have the same size;

[0020] The first participant calculates first fragment data based on the first intersection data, the first encrypted data and the third confusion matrix, and sends the first fragment data to the second participant;

[0021] The second participant calculates second fragment data based on the first fragment data, the fourth confusion matrix and the second encrypted data, and sends the second fragment data to the first participant;

[0022] The first participant calculates the first fully anonymous random data based on the second fragmented data, and the second participant calculates the second fully anonymous random data based on the fourth confusion matrix and the second encrypted data.

[0023] Preferably, the step of obtaining encrypted intersection result data of the first data set and the second data set based on the associated data includes:

[0024] Acquire the first data set and the second data set;

[0025] The first data set includes first sample features, and the second data set includes second sample features;

[0026] Performing a fully-anonymous and secure intersection of the first data set and the second data set to obtain indication result data and feature result data;

[0027] The indication result data indicates whether the corresponding data belongs to the associated data, and the feature result data is the alignment result of the first sample feature and the second sample feature;

[0028] The indication result data and the characteristic result data are concatenated to obtain the encrypted intersection result data.

[0029] Preferably, the step of concatenating the indication result data and the characteristic result data to obtain the encrypted intersection result data comprises:

[0030] dividing the feature result data into first feature result data held by the first participant and second feature result data held by the second participant;

[0031] Among them, the first feature result data is The second feature result data is a matrix of size Matrix of size;

[0032] The first feature result data, the second feature result data and the indication result data are horizontally spliced ​​to obtain a size of The matrix is ​​used as the encrypted intersection result data;

[0033] Wherein, N=P+Q+1, M, N, P and Q are positive integers.

[0034] Preferably, the target confusion set includes the indication result data, and the sharing method further includes:

[0035] Restoring the indication result data in the target confusion set to obtain the indication result corresponding to the data in the target confusion set;

[0036] The first participant screens part of the target confusion set held by the first participant based on the indication result to obtain a first target sample belonging to the associated data in the first data set;

[0037] Obtaining a target index corresponding to the first target sample, and sending the target index to the second participant;

[0038] The second participant screens another part of the target confusion set held by the second participant based on the target index to obtain a second target sample in the second data set corresponding to the first target sample.

[0039] Preferably, the first data set is user consumption data, the second data set is user property data, the target identifier is user identity information, and the sharing method further comprises:

[0040] The first target sample and the second target sample are screened based on preset screening information to obtain target consumption data and target property data corresponding to the user identity information.

[0041] In a second aspect, a sharing system for fully-anonymous obfuscated intersection data is provided, wherein a first participant holds a first data set, and a second participant holds a second data set, wherein both the first data set and the second data set include associated data of the same target identifier, and the sharing system includes a data intersection module, a homomorphic rearrangement module, a fully-anonymous shuffle module, and a dense-state obfuscation doping module;

[0042] The data intersection module is used to obtain encrypted intersection result data of the first data set and the second data set based on the associated data;

[0043] The homomorphic rearrangement module is used to rearrange the encrypted intersection result data based on homomorphic fragment mixing to generate first encrypted data corresponding to the first participant and second encrypted data corresponding to the second participant;

[0044] The fully anonymous shuffle module is used to perform low-bandwidth rearrangement based on secret sharing on the first encrypted data, the second encrypted data and the encrypted intersection result data to obtain first fully anonymous shuffled data held by the first participant and second fully anonymous shuffled data held by the second participant; wherein the low-bandwidth rearrangement based on secret sharing is consistent with the rearrangement order of the homomorphic fragmentation hybrid rearrangement;

[0045] The dense state obfuscation and doping module is used to perform dense state obfuscation and doping based on the first fully anonymous random data and the second fully anonymous random data to obtain target obfuscation sets of the first data set and the second data set, and the first participant and the second participant respectively hold part of the target obfuscation set for sharing.

[0046] According to a third aspect, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and used to run on the processor, wherein when the processor executes the computer program, the method for sharing the fully anonymous obfuscated intersection data described in the first aspect is implemented.

[0047] In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the method for sharing the fully anonymous obfuscated intersection data described in the first aspect is implemented.

[0048] In a fifth aspect, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the method for sharing the fully anonymous obfuscated intersection data as described in the first aspect.

[0049] On the basis of being in accordance with the common sense in the art, the above-mentioned preferred conditions can be arbitrarily combined to obtain the preferred embodiments of the present disclosure.

[0050] The positive and progressive effect of the present disclosure is that: based on the data processing flow of fully anonymous obfuscated intersection, the intersection and non-intersection of the two parties are protected from being leaked, and the data is prevented from being cracked by differential attacks. In addition, no individual information use authorization is required in data processing, and the calculation level of the data processing process is low. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1A first flow chart of a method for sharing fully-anonymous obfuscated intersection data provided by an exemplary embodiment of the present disclosure;

[0052] Figure 2 A flowchart of step S101 in a method for sharing fully-anonymous obfuscated intersection data provided by an exemplary embodiment of the present disclosure;

[0053] Figure 3 A flowchart of step S103 in a method for sharing fully-anonymous obfuscated intersection data provided by an exemplary embodiment of the present disclosure;

[0054] Figure 4 A second flow chart of a method for sharing fully-anonymous obfuscated intersection data provided by an exemplary embodiment of the present disclosure;

[0055] Figure 5 A schematic diagram of intersection data in a method for sharing fully-anonymous obfuscated intersection data provided by an exemplary embodiment of the present disclosure;

[0056] Figure 6 A schematic diagram of a module of a sharing system of fully-anonymous obfuscated intersection data provided by an exemplary embodiment of the present disclosure;

[0057] Figure 7 A schematic diagram of the hardware structure of an electronic device provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0058] The present disclosure is further described below by way of examples, but the present disclosure is not limited to the scope of the examples.

[0059] Prefixes such as "first" and "second" are used in the embodiments of the present disclosure only to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of prefixes such as ordinal numbers to distinguish description objects in the embodiments of the present disclosure does not constitute a limitation on the described objects. For the statement of the described objects, please refer to the description in the context of the claims or embodiments, and no unnecessary limitation should be constituted due to the use of such prefixes. In addition, in the description of the present embodiment, unless otherwise specified, the meaning of "plurality" is two or more.

[0060] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0061] In the disclosed embodiment, Shuffling with Homomorphic Encryption and Secret Sharing is a data protection technology that uses homomorphic encryption technology to encrypt secret sharing data fragments and shuffles the order of these fragments in the encrypted state.

[0062] Low Bandwidth-friendly Shuffling Based on Secret Sharing is a data protection technology that uses secret sharing technology to split data into two fragments and distribute them to each participant, and then uses auxiliary shuffling factor information to shuffle the order of these data fragments.

[0063] Example 1

[0064] In this embodiment, Figure 1 As shown, a method for sharing fully anonymized obfuscated intersection data is provided, wherein a first participant holds a first data set, and a second participant holds a second data set, wherein both the first data set and the second data set include associated data of the same target identifier, and the method comprises:

[0065] S101, obtaining encrypted intersection result data of the first data set and the second data set based on the associated data;

[0066] S102, re-arranging the encrypted intersection result data based on homomorphic fragment mixing to generate first encrypted data corresponding to the first participant and second encrypted data corresponding to the second participant;

[0067] S103, performing low-bandwidth rearrangement based on secret sharing on the first encrypted data, the second encrypted data, and the encrypted intersection result data to obtain first fully-anonymous random data held by the first participant and second fully-anonymous random data held by the second participant;

[0068] The low-bandwidth rearrangement based on secret sharing is consistent with the rearrangement order of the homomorphic fragmentation hybrid rearrangement;

[0069] S104: Perform dense-state obfuscation and doping based on the first fully anonymous shuffled data and the second fully anonymous shuffled data to obtain target obfuscation sets of the first data set and the second data set, and the first participant and the second participant respectively hold part of the target obfuscation sets for sharing.

[0070] As a feasible approach, Figure 2 As shown, step S101 includes:

[0071] S1011. Acquire the first data set and the second data set;

[0072] The first data set includes first sample features, and the second data set includes second sample features;

[0073] S1012, performing a fully anonymous and secure intersection of the first data set and the second data set to obtain indication result data and feature result data;

[0074] S1013: The indication result data indicates whether the corresponding data belongs to the associated data, and the feature result data is an alignment result of the first sample feature and the second sample feature;

[0075] S1014. Concatenate the indication result data and the characteristic result data to obtain the encrypted intersection result data.

[0076] As an implementable manner, step package S1014 includes:

[0077] dividing the feature result data into first feature result data held by the first participant and second feature result data held by the second participant;

[0078] Among them, the first feature result data is The second feature result data is a matrix of size Matrix of size;

[0079] The first feature result data, the second feature result data and the indication result data are horizontally spliced ​​to obtain a size of The matrix is ​​used as the encrypted intersection result data;

[0080] Wherein, N=P+Q+1, M, N, P and Q are positive integers.

[0081] In this solution, full anonymity means that neither the intersection information including the intersection samples and the intersection magnitude is exposed during the data processing, nor the non-intersection information is exposed, and at the same time, it is impossible to locate the information of personal granularity in the data.

[0082] In step S101, a circuit-based private set intersection (Circuit-PSI) is performed on the first data set and the second data set to calculate the associated data associated with the same target identifier in the first data set and the second data set held by the first participant and the second participant. The first data set and the second data set may include unique identifiers such as telephone numbers, ID numbers, bank card numbers, etc. as target identifiers, and the first data set and the second data set respectively include corresponding first feature result data and second feature result data, such as age, gender, deposits, consumption behavior, etc. The result output by the secure intersection includes two parts. The first part is the indication result data indicating whether the set is an intersection. , the indication result data is fragmented data, and the corresponding plaintext result is 1 or 0, where 1 indicates intersection and 0 indicates non-intersection. The other part is the feature result data after the first data set and the second data set are aligned. <fx>and <fy>When calculating the output, , <fx> 、 <fy>The three types of data are distributed and horizontally spliced ​​to obtain feature wide table data <ff>, where all three types of data are fragmented data. The first participant holds the first intersection data FF0, and the second participant holds the second intersection data FF1. Since the first participant and the second participant are in a peer relationship, the first participant can also hold the second intersection data FF1, and the second participant can hold the first intersection data FF0, FF1+FF0= <ff> 。 <ff>The sample size is reduced to the sample size of the intersection size * (1+P), which provides objective computational benefits for subsequent population characteristic calculations.

[0083] As an implementable manner, step S102 includes:

[0084] Randomly generate the first confusion matrix of the first participant and the second confusion matrix of the second participant , the first confusion matrix With the second confusion matrix The size of is the same, and the confusion matrix set ;

[0085] The first confusion matrix With the second confusion matrix Based on homomorphic encryption calculation and random processing, the first secret shared data of the first participant is obtained. and the first random index performed by the first participant , and the second secret shared data of the second party and the second participant performs a second out-of-order index ;

[0086] Among them, the first secret sharing data Share data with the second secret The sum is equal to the confusion matrix set Based on the first random index and the second out-of-order index The result of out-of-order processing;

[0087] The first confusion matrix The first secret shared data and the first random index As the first encrypted data, the second confusion matrix , the second secret shared data and the second out-of-order index as the second encrypted data.

[0088] In this scheme, the first participant is used as the Receiver, the second participant is used as the Sender, and the first confusion matrix (m*1) is randomly generated. and the second confusion matrix , that is, the confusion matrix , and each generates a homomorphic first encryption public key held by the corresponding first participant , the homomorphic second encryption public key held by the second participant .

[0089] Specifically, two rounds of shuffle processes are performed.

[0090] The first step in the first round of reordering is to convert the secret shared fragments into homomorphic encryption, that is, the Receiver uses the first encryption public key encryption Get the first encrypted confusion matrix , and send it to the sender;

[0091] In the second step, the sender calculates the encrypted confusion matrix , the second party locally encrypts the confusion matrix Perform random shuffle to get random encrypted confusion matrix , and save the shuffled second random index , and generate a second random matrix , perform the first encryption confusion matrix , and send it to the Receiver;

[0092] In the third step, the Receiver uses the first encryption private key Decrypting the First Encrypted Confusion Matrix Get the first confusion matrix , and generate the first random matrix , perform the rearrangement confusion matrix , and send it to the Sender side; and execute the first temporary data ;

[0093] In the fourth step: the sender receives the rearranged confusion matrix , remove noise , execute the second temporary data , , and get a random confusion matrix .

[0094] In the first step of the second round of reordering, the sender uses the second encryption public key Encrypting the Second Temporary Data Get encrypted temporary data , and send it to the Receiver;

[0095] In the second step, the Receiver calculates and encrypts temporary data , encrypt temporary data locally on the first party Perform random shuffle to obtain random encrypted temporary data , Encrypt the confusion matrix for the second shuffle and save the shuffled first shuffle index , and generate a third random matrix , perform the third encryption temporary data , and send it to the Sender;

[0096] In the third step, the sender uses the second encrypted private key Decrypt the first encrypted temporary data Get the third temporary data , and generate the fourth random matrix , perform reordering to confuse temporary data , and send it to the Receiver; and execute the second output data ;

[0097] In the fourth step, the Receiver receives the re-arranged and obfuscated temporary data. , remove noise , execute the first output data ; Get output data , is the quadratic shuffle confusion matrix.

[0098] Let's use a specific simulation example to explain:

[0099] : [0, 88, 96, -17, 53], : [31, -67, -4, 41, 17], :[4, 0,2, 1, 3];

[0100] : [-42, -79, 66, -89, -22], : [-137, 229, 35, -32, -59], :[4, 2, 0, 3, 1];

[0101] :[-42, 9, 162, -106, 31];

[0102] : [-106, 162, 31, 9, -42];

[0103] ;

[0104] After the first round of shuffle, [31, -42, 162, 9, -106], obtained after the second round of shuffle [-106, 162, 31, 9, -42];

[0105] Right now .

[0106] In this solution, by combining the secret sharing shard data in step S102 with the semi-homomorphic encryption algorithm, the number of communications for calculation can be greatly reduced compared to the pure use of multi-party secure computing technology, and only the ciphertext addition calculation is performed on a single column of the confusion matrix, and the communication volume and calculation time are low. It does not rely on specific actual business data, and can be calculated offline in advance and used directly when calculating the actual business data, saving the online calculation time of this step. Through the optimization of this scheduling strategy, the execution efficiency of this disordered solution is further improved.

[0107] As a feasible approach, Figure 3 As shown, step S103 includes:

[0108] S1031, dividing the encrypted intersection result data into first intersection data FF0 held by the first participant and second intersection data FF1 held by the second participant;

[0109] S1032: Generate a third confusion matrix held by the first participant and the fourth confusion matrix held by the second participant , the third confusion matrix and the fourth confusion matrix The size is consistent;

[0110] S1033: The first participant obtains the first intersection data FF0, the first encrypted data and the third confusion matrix based on the first intersection data FF0, the first encrypted data and the third confusion matrix Calculate the first fragment data , and the first fragment data sending to the second party;

[0111] S1034: The second participant uses the first fragment data , the fourth confusion matrix and the second encrypted data to obtain the second fragment data and the second fragment data Sending to the first party;

[0112] S1035: The first participant uses the second fragment data The first completely anonymous random data is calculated , the second participant is based on the fourth confusion matrix and the second encrypted data to obtain the second fully-anonymous random data .

[0113] In this solution, the first participant is still the Receiver, and the second participant is the Sender, and a round of random reordering process is carried out;

[0114] In the first step of the first round, the Receiver randomly generates a (1*n) third confusion matrix , send the first fragment data To the Sender; among them, is the first confusion matrix in the first encrypted data. Meanwhile, the third confusion matrix The third temporary data ;

[0115] In the second step, the sender receives the fragmented data , calculate the fourth temporary data ; Among them, the Sender side passes Unable to reverse ;

[0116] In the third step, the sender uses the second random index in the second encrypted data Execution is done locally out of order on the second participant, ; At the same time, the confusion matrix of the receiver does not need to be synchronized out of order, that is ;

[0117] In the fourth step, the Sender randomly generates a fourth confusion matrix of size (1*n) , send the second fragment data Give it to the sender, and the fourth confusion matrix That is ;

[0118] In the fifth step, the Receiver receives the second fragment data ,calculate ; Receiver side through Unable to reverse ;

[0119] In step 6, the Receiver uses the first random index Execute the first participant's local reordering, ; At the same time, the confusion matrix of the sender does not need to be reordered synchronously, that is, ;

[0120] In the seventh step, the Receiver calculates the first fully anonymized out-of-order data ; The sender calculates the second fully-anonymous random data ;Right now .

[0121] In this scheme, the low-bandwidth rearrangement phase based on secret sharing only involves obfuscated numerical data, not homomorphically encrypted data, so its communication volume is small, usually 64-bit numerical data. Since the intermediate dependent data required in the low-bandwidth rearrangement phase based on secret sharing has been pre-calculated in the homomorphic fragment rearrangement phase, only two communications are required in this phase, and the communication volume is very small to output the final original fragment data. >The dense state rearrangement result <z>, neither party can independently infer the original sample order.

[0122] In step S104, the dense state rearrangement result output in step S103 is <z>, based on the indicated result data , perform dense obfuscation and generate the final target obfuscation set <psidiffusion>Among them, the indicated result data of the samples retained by the confusion set is obtained<B’> , the indicator result data of this sample is fragmented data, and the corresponding plaintext result is 1 or 0, where 1 indicates the specific data selected in the confusion set (real intersection + part of the doped non-intersection), and 0 indicates that it must be non-intersection. Since it has been completely anonymized and shuffled, it is impossible to infer which original sample corresponds to the non-intersection.

[0123] As a feasible approach, Figure 4 As shown, the target confusion set includes the indication result data, and the sharing method further includes:

[0124] S105, restoring the indication result data in the target confusion set to obtain the indication result corresponding to the data in the target confusion set;

[0125] S106. The first participant screens part of the target confusion set held by the first participant based on the indication result to obtain a first target sample belonging to the associated data in the first data set;

[0126] S107: Obtain a target index corresponding to the first target sample, and send the target index to the second participant;

[0127] S108: The second participant screens another part of the target confusion set held by the second participant based on the target index to obtain a second target sample in the second data set corresponding to the first target sample.

[0128] In this scheme, based on the output target confusion set, a partial target confusion set held by the first participant and another partial target confusion set held by the second participant are obtained, and the indicator result data of the retained results of the confusion set are restored. The first participant retains the samples indicating that the result is 1, and the retained sample indexes are synchronously given to party S for corresponding screening to obtain the final result.

[0129] As an implementable manner, the first data set is user consumption data, the second data set is user property data, the target identifier is user identity information, and the sharing method further includes:

[0130] The first target sample and the second target sample are screened based on preset screening information to obtain target consumption data and target property data corresponding to the user identity information.

[0131] In this solution, in high-density business computing scenarios, users hope to complete the calculation of business-related data indicators while protecting the original data (including intersection data and non-intersection data) throughout the entire process, to help marketing operations, advertising and other businesses screen out target audiences.

[0132] Take the screening needs of user groups who have used their credit cards more than 5 times in the past week in a shopping mall as an example. The business entities involved are the bank's card operation department as the first participant and the shopping mall as the second participant. The first participant hopes to further find out the credit card user group (Gn) with similar characteristics but without a valid number of card swipe records by digging out the characteristics of the user group (Gm) who swipes the card more than 5 times in a week in the shopping mall, and conduct coupon stimulation marketing to activate this group of inactive credit card user groups. At the same time, the second participant on the merchant side does not want to disclose the identity information of this group of high-value users, on the one hand to avoid competition, and on the other hand to meet the requirements of data protection compliance.

[0133] like Figure 5 As shown, the bank user as the first participant and the mall user as the second participant perform the full-anonymous intersection algorithm to calculate the characteristic large-width table data <ff>, the first participant holds the first intersection data The first intersection data FF0 includes the intersection identifier B, the number of credit card swipes in the past week, the amount of consumption in the past week, age, gender, monthly income, deposit amount, marriage, occupation level, social security payment, provident fund and hobby level, etc. The second participant holds the second intersection data The second intersection data FF1 includes data that are homomorphically distributed with the first intersection data, such as the intersection identifier B, the number of credit card swipes in the past week, the consumption amount in the past week, age, gender, monthly income, deposit amount, marriage, occupational level, social security payment, provident fund and hobby level from left to right in the first column of the figure. Indicates the result data indicating whether it is an intersection. <1> means "is an intersection", <0> Indicates "not an intersection". The large width table of indicator fragments and attribute fragments obtained after the full hidden trace intersection algorithm The sharded data will enter into a completely anonymous and disordered order.

[0134] The subsequent homomorphic fragment mixing rearrangement and secret sharing-based low-bandwidth rearrangement processes have been described in detail in the aforementioned steps S102 and S103, and the output results enter the obfuscation doping to obtain the target obfuscation set.

[0135] Finally, the selected target obfuscated data is subjected to the secret state calculation according to the preset screening conditions. For example, in the task description listed in the first part, the characteristics of the user group "who swipes the card for consumption in the mall more than 5 times in the past week" need to be characterized. Then it is necessary to conditionally filter the B-side features to filter out the users who swipe the card for consumption more than 5 times, that is, based on the output results of the partial target obfuscated set held by the second participant, the population with more than 5 times of swiping the card is counted. In this way, we use the B-side features to filter out the target population G that the bank wants on the full anonymous obfuscated intersection fragment state data. Based on the target population G, the characteristics of the bank side of the A side are counted, such as the bank deposit asset level in the past 30 days, the past 3 months, and the past 6 months, the age distribution characteristics of the group, the bank side turnover amount data distribution and other group characteristic information of the target group G. Based on this, the inactive credit card population that needs targeted incentives is selected, and the existing credit card users with similar characteristics are activated to achieve the goal of effective operation. The above group characteristic statistics are obtained by executing multi-party secure calculations in a fragmented state. Therefore, no intersection or non-intersection information is exposed, truly achieving the purpose of full-process and fully anonymous data processing.

[0136] In this solution, the privacy protection of the entire process of intersection data and non-intersection data is achieved, and it is impossible to locate the private information of an individual through differential attacks or information reverse inference. The business needs of Party A and Party B are met, and the computing performance can meet the performance requirements of a real production environment.

[0137] The method for sharing fully-anonymous obfuscated intersection data provided in this embodiment is based on the data processing flow of fully-anonymous obfuscated intersection, so as to protect the intersection and non-intersection of the two parties from being leaked and prevent the data from being cracked by differential attacks. In addition, no individual information use authorization is required in data processing, and the computational level of the data processing process is low.

[0138] Example 2

[0139] This embodiment provides a sharing system 100 for fully anonymized obfuscated intersection data. A first participant holds a first data set, and a second participant holds a second data set. Both the first data set and the second data set include associated data of the same target identifier, such as Figure 6 As shown, the sharing system includes a data intersection module 101, a homomorphic rearrangement module 102, a full-anonymous disorder module 103 and a dense-state confusion doping module 104;

[0140] The data intersection module is used to obtain encrypted intersection result data of the first data set and the second data set based on the associated data;

[0141] The homomorphic rearrangement module is used to rearrange the encrypted intersection result data based on homomorphic fragment mixing to generate first encrypted data corresponding to the first participant and second encrypted data corresponding to the second participant;

[0142] The fully anonymous shuffle module is used to perform low-bandwidth rearrangement based on secret sharing on the first encrypted data, the second encrypted data and the encrypted intersection result data to obtain first fully anonymous shuffled data held by the first participant and second fully anonymous shuffled data held by the second participant; wherein the low-bandwidth rearrangement based on secret sharing is consistent with the rearrangement order of the homomorphic fragmentation hybrid rearrangement;

[0143] The dense state obfuscation and doping module is used to perform dense state obfuscation and doping based on the first fully anonymous random data and the second fully anonymous random data to obtain target obfuscation sets of the first data set and the second data set, and the first participant and the second participant respectively hold part of the target obfuscation set for sharing.

[0144] As an implementable manner, the homomorphic rearrangement module 102 includes a first confusion matrix generation unit, a homomorphic scrambling unit, and an encrypted data output unit;

[0145] The first confusion matrix generating unit is used to randomly generate a first confusion matrix of the first participant and the second confusion matrix of the second participant , the first confusion matrix With the second confusion matrix The size of is the same, and the confusion matrix set ;

[0146] The homomorphic scrambling unit is used to convert the first confusion matrix With the second confusion matrix Based on homomorphic encryption calculation and random processing, the first secret shared data of the first participant is obtained. and the first random index performed by the first participant , and the second secret shared data of the second party and the second participant performs a second out-of-order index ;

[0147] Among them, the first secret sharing data Share data with the second secret The sum is equal to the confusion matrix set Based on the first random index and the second out-of-order index The result of out-of-order processing;

[0148] The encrypted data output unit is used to output the first confusion matrix The first secret shared data and the first random index As the first encrypted data, the second confusion matrix , the second secret shared data and the second out-of-order index as the second encrypted data.

[0149] As an implementable manner, the fully anonymous disorder module 103 includes an intersection data allocation unit, a second confusion matrix generation unit, a first fragment calculation unit, a second fragment calculation unit and a fully anonymous disorder data output unit;

[0150] The intersection data distribution unit is used to divide the encrypted intersection result data into first intersection data held by the first participant and second intersection data held by the second participant;

[0151] The second confusion matrix generating unit is used to generate a third confusion matrix held by the first participant and a fourth confusion matrix held by the second participant, wherein the third confusion matrix and the fourth confusion matrix have the same size;

[0152] The first fragment calculation unit is used for the first participant to calculate the first fragment data based on the first intersection data, the first encrypted data and the third confusion matrix, and send the first fragment data to the second participant;

[0153] The second fragment calculation unit is used for the second participant to calculate the second fragment data based on the first fragment data, the fourth confusion matrix and the second encrypted data, and send the second fragment data to the first participant;

[0154] The fully anonymous random data output unit is used for the first participant to calculate the first fully anonymous random data based on the second fragmented data, and the second participant to calculate the second fully anonymous random data based on the fourth confusion matrix and the second encrypted data.

[0155] As an implementable manner, the intersection data allocation unit includes a data acquisition submodule, a safety intersection submodule and a splicing submodule;

[0156] The data acquisition submodule is used to acquire the first data set and the second data set;

[0157] The first data set includes first sample features, and the second data set includes second sample features;

[0158] The secure intersection submodule is used to perform a fully-anonymous secure intersection on the first data set and the second data set to obtain indication result data and feature result data;

[0159] The indication result data indicates whether the corresponding data belongs to the associated data, and the feature result data is the alignment result of the first sample feature and the second sample feature;

[0160] The splicing submodule is used to splice the indication result data and the characteristic result data to obtain the encrypted intersection result data.

[0161] As an implementable manner, the splicing submodule is further used to divide the feature result data into first feature result data held by the first participant and second feature result data held by the second participant;

[0162] Among them, the first feature result data is The second feature result data is a matrix of size Matrix of size;

[0163] The splicing submodule is also used to horizontally splice the first feature result data, the second feature result data and the indication result data to obtain a size of The matrix is ​​used as the encrypted intersection result data;

[0164] Wherein, N=P+Q+1, M, N, P and Q are positive integers.

[0165] As an implementable manner, the target confusion set includes the indication result data, and the sharing system further includes a filtering module and a screening module;

[0166] The filtering module is used to restore the indication result data in the target confusion set to obtain the indication result corresponding to the data in the target confusion set;

[0167] The screening module is used for the first participant to screen part of the target confusion set held by the first participant based on the indication result to obtain a first target sample belonging to the associated data in the first data set;

[0168] The screening module is further used to obtain a target index corresponding to the first target sample, and send the target index to the second participant;

[0169] The screening module is also used by the second participant to screen another part of the target confusion set held by the second participant based on the target index to obtain a second target sample in the second data set corresponding to the first target sample.

[0170] As an implementable manner, the first data set is user consumption data, the second data set is user property data, and the target identifier is user identity information;

[0171] The screening module is also used to screen the first target sample and the second target sample based on preset screening information to obtain target consumption data and target property data corresponding to the user identity information.

[0172] As for the system embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The system embodiment described above is only illustrative, wherein the units described as separate components may or may not be physically separated, and the components as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution.

[0173] The sharing system of the fully anonymous obfuscated intersection data provided in this embodiment is based on the data processing flow of the fully anonymous obfuscated intersection, so as to protect the intersection and non-intersection of the two parties from being leaked, prevent the data from being cracked by differential attacks, and no individual information use authorization is required in data processing, and the data processing process has a low computational level.

[0174] Example 3

[0175] Figure 7 This is a structural diagram of an electronic device shown in an example embodiment of the present disclosure, wherein the electronic device includes a memory, a processor, and a computer program stored in the memory and used to run on the processor, and when the processor executes the computer program, it implements the method for sharing the fully anonymous obfuscated intersection data described in any of the above embodiments. Figure 7 The electronic device 90 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0176] like Figure 7 As shown, the electronic device 90 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 90 may include, but are not limited to: at least one processor 91, at least one memory 92, and a bus 93 connecting different system components (including the memory 92 and the processor 91).

[0177] The bus 93 includes a data bus, an address bus, and a control bus.

[0178] The memory 92 may include a volatile memory, such as a random access memory (RAM) 921 and / or a cache memory 922 , and may further include a read-only memory (ROM) 923 .

[0179] The memory 92 may also include a program tool 925 (or utility) having a set (at least one) of program modules 924, such program modules 924 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0180] The processor 91 executes various functional applications and data processing by running the computer program stored in the memory 92, such as the sharing method of the fully anonymous obfuscated intersection data provided in any of the above embodiments.

[0181] The electronic device 90 may also communicate with one or more external devices 94 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 95. Furthermore, the electronic device 90 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 96. As shown, the network adapter 96 communicates with other modules of the electronic device 90 via a bus 93. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 90, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.

[0182] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.

[0183] Example 4

[0184] The embodiment of the present disclosure also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the method for sharing the fully-anonymous obfuscated intersection data provided by any of the above embodiments is implemented.

[0185] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.

[0186] Example 5

[0187] The embodiment of the present disclosure also provides a computer program product, including a computer program, which, when executed by a processor, implements any of the above-mentioned methods for sharing fully-anonymous obfuscated intersection data.

[0188] Among them, the program code for executing the computer program product of the present disclosure can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.

[0189] Although the specific embodiments of the present disclosure are described above, those skilled in the art should understand that this is only an example, and the protection scope of the present disclosure is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present disclosure, but these changes and modifications all fall within the protection scope of the present disclosure.< / ff> < / psidiffusion> < / z> < / z> < / ff> < / ff> < / ff> < / fy> < / fx> < / fy> < / fx>

Claims

1. A method for sharing fully anonymous obfuscated intersection data. It is characterized in that A first participant holds a first data set, and a second participant holds a second data set, wherein both the first data set and the second data set include associated data of the same target identifier, and the method includes: Obtaining encrypted intersection result data of the first data set and the second data set based on the associated data; Rearrange the encrypted intersection result data based on homomorphic fragment mixing to generate first encrypted data corresponding to the first participant and second encrypted data corresponding to the second participant; The first encrypted data, the second encrypted data and the encrypted intersection result data are rearranged with low bandwidth based on secret sharing to obtain first fully-anonymous random data held by the first participant and second fully-anonymous random data held by the second participant; The low-bandwidth rearrangement based on secret sharing is consistent with the rearrangement order of the homomorphic fragmentation hybrid rearrangement; Based on the first fully anonymous shuffled data and the second fully anonymous shuffled data, dense state obfuscation is performed to obtain target obfuscation sets of the first data set and the second data set, and the first participant and the second participant respectively hold part of the target obfuscation sets for sharing; The step of generating first encrypted data corresponding to the first participant and second encrypted data corresponding to the second participant based on homomorphic fragment mixing and rearrangement includes: Randomly generate the first confusion matrix of the first participant and the second confusion matrix of the second participant , the first confusion matrix With the second confusion matrix The size of is the same, and the confusion matrix set ; The first confusion matrix With the second confusion matrix Based on homomorphic encryption calculation and random processing, the first secret shared data of the first participant is obtained. and the first random index performed by the first participant , and the second secret shared data of the second party and the second participant performs a second out-of-order index ; Among them, the first secret sharing data Share data with the second secret The sum is equal to the confusion matrix set Based on the first random index and the second out-of-order index The result of out-of-order processing; The first confusion matrix The first secret shared data and the first random index As the first encrypted data, the second confusion matrix , the second secret sharing data and the second out-of-order index as the second encrypted data; The step of performing low-bandwidth rearrangement based on secret sharing on the first encrypted data, the second encrypted data, and the encrypted intersection result data to obtain first fully-anonymous random data held by the first participant and second fully-anonymous random data held by the second participant includes: dividing the encrypted intersection result data into first intersection data held by the first participant and second intersection data held by the second participant; Generate a third confusion matrix held by the first participant and a fourth confusion matrix held by the second participant, wherein the third confusion matrix and the fourth confusion matrix have the same size; The first participant calculates first fragment data based on the first intersection data, the first encrypted data and the third confusion matrix, and sends the first fragment data to the second participant; The second participant calculates second fragment data based on the first fragment data, the fourth confusion matrix and the second encrypted data, and sends the second fragment data to the first participant; The first participant calculates the first fully anonymous random data based on the second fragmented data, and the second participant calculates the second fully anonymous random data based on the fourth confusion matrix and the second encrypted data.

2. The method for sharing the fully anonymous obfuscated intersection data according to claim 1, It is characterized in that The step of obtaining encrypted intersection result data of the first data set and the second data set based on the associated data comprises: Acquire the first data set and the second data set; The first data set includes first sample features, and the second data set includes second sample features; Performing a fully-anonymous and secure intersection of the first data set and the second data set to obtain indication result data and feature result data; The indication result data indicates whether the corresponding data belongs to the associated data, and the feature result data is the alignment result of the first sample feature and the second sample feature; The indication result data and the characteristic result data are concatenated to obtain the encrypted intersection result data.

3. The method for sharing the fully anonymous obfuscated intersection data according to claim 2, It is characterized in that The step of splicing the indication result data and the characteristic result data to obtain the encrypted intersection result data comprises: dividing the feature result data into first feature result data held by the first participant and second feature result data held by the second participant; Among them, the first feature result data is The second feature result data is a matrix of size Matrix of size; The first feature result data, the second feature result data and the indication result data are horizontally spliced ​​to obtain a size of The matrix is ​​used as the encrypted intersection result data; Wherein, N=P+Q+1, M, N, P and Q are positive integers.

4. The method for sharing the fully anonymous obfuscated intersection data according to claim 2, It is characterized in that The target confusion set includes the indication result data, and the sharing method further includes: Restoring the indication result data in the target confusion set to obtain the indication result corresponding to the data in the target confusion set; The first participant screens part of the target confusion set held by the first participant based on the indication result to obtain a first target sample belonging to the associated data in the first data set; Obtaining a target index corresponding to the first target sample, and sending the target index to the second participant; The second participant screens another part of the target confusion set held by the second participant based on the target index to obtain a second target sample in the second data set corresponding to the first target sample.

5. The method for sharing the fully-anonymous obfuscated intersection data according to claim 4, It is characterized in that The first data set is user consumption data, the second data set is user property data, the target identifier is user identity information, and the sharing method further includes: The first target sample and the second target sample are screened based on preset screening information to obtain target consumption data and target property data corresponding to the user identity information.

6. A sharing system for fully anonymous obfuscated intersection data, It is characterized in that The first participant holds a first data set, and the second participant holds a second data set, wherein the first data set and the second data set both include associated data of the same target identifier, and the sharing system includes a data intersection module, a homomorphic rearrangement module, a full-anonymous disorder module, and a dense-state confusion and doping module; The data intersection module is used to obtain encrypted intersection result data of the first data set and the second data set based on the associated data; The homomorphic rearrangement module is used to rearrange the encrypted intersection result data based on homomorphic fragment mixing to generate first encrypted data corresponding to the first participant and second encrypted data corresponding to the second participant; The fully anonymous shuffle module is used to perform low-bandwidth rearrangement based on secret sharing on the first encrypted data, the second encrypted data and the encrypted intersection result data to obtain first fully anonymous shuffled data held by the first participant and second fully anonymous shuffled data held by the second participant; wherein the low-bandwidth rearrangement based on secret sharing is consistent with the rearrangement order of the homomorphic fragmentation hybrid rearrangement; The dense state obfuscation and doping module is used to perform dense state obfuscation and doping based on the first fully anonymous random data and the second fully anonymous random data to obtain target obfuscation sets of the first data set and the second data set, and the first participant and the second participant respectively hold part of the target obfuscation set for sharing; The homomorphic rearrangement module includes a first confusion matrix generation unit, a homomorphic scrambling unit and an encrypted data output unit; The first confusion matrix generating unit is used to randomly generate a first confusion matrix of the first participant and the second confusion matrix of the second participant , the first confusion matrix With the second confusion matrix The size of is the same, and the confusion matrix set ; The homomorphic scrambling unit is used to convert the first confusion matrix With the second confusion matrix Based on homomorphic encryption calculation and random processing, the first secret shared data of the first participant is obtained. and the first random index performed by the first participant , and the second secret shared data of the second party and the second participant performs a second out-of-order index ; Among them, the first secret sharing data Share data with the second secret The sum is equal to the confusion matrix set Based on the first random index and the second out-of-order index The result of out-of-order processing; The encrypted data output unit is used to output the first confusion matrix The first secret shared data and the first random index As the first encrypted data, the second confusion matrix , the second secret sharing data and the second out-of-order index as the second encrypted data; The fully anonymous disorder module includes an intersection data allocation unit, a second confusion matrix generation unit, a first fragment calculation unit, a second fragment calculation unit and a fully anonymous disorder data output unit; The intersection data distribution unit is used to divide the encrypted intersection result data into first intersection data held by the first participant and second intersection data held by the second participant; The second confusion matrix generating unit is used to generate a third confusion matrix held by the first participant and a fourth confusion matrix held by the second participant, wherein the third confusion matrix and the fourth confusion matrix have the same size; The first fragment calculation unit is used for the first participant to calculate the first fragment data based on the first intersection data, the first encrypted data and the third confusion matrix, and send the first fragment data to the second participant; The second fragment calculation unit is used for the second participant to calculate the second fragment data based on the first fragment data, the fourth confusion matrix and the second encrypted data, and send the second fragment data to the first participant; The fully anonymous random data output unit is used for the first participant to calculate the first fully anonymous random data based on the second fragmented data, and the second participant to calculate the second fully anonymous random data based on the fourth confusion matrix and the second encrypted data.

7. An electronic device comprising a memory, a processor and a computer program stored in the memory and for running on the processor, It is characterized in that When the processor executes the computer program, the method for sharing the fully-anonymous obfuscated intersection data according to any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method for sharing the fully-anonymous obfuscated intersection data according to any one of claims 1 to 5 is implemented.

9. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the method for sharing fully-anonymous obfuscated intersection data as described in any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Data processing method and system

    CN114462052A

  • Safety intersection solving and federated learning model training method and system, equipment and medium

    CN115392480A

  • Out-of-order secret sharing method and system and readable storage medium

    CN115941181A

  • Method and device for securely associating data

    CN117744154A

  • Protecting membership and data in a secure multi-party computation and / or communication

    US11886617B1