Safe intersection solving method, system and device and computer readable storage medium
By detecting and saving the current steps and data in network communication problems in real time, the resource waste caused by network problems during the intercom process is solved, and the function of restarting calculation at the interrupt is realized, which improves the efficiency of intercom tasks.
Patent Information
- Application Number
- CN202410919553.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-11-01
AI Technical Summary
During the secure submission process, network problems lead to calculation interruption, and recalculation is required after restarting submission, resulting in waste of resources. The existing technology lacks effective solutions.
By detecting network communication problems in real time, saving the current steps and corresponding status data, so that after restarting the submission, you can complete the submission according to the steps during interruption, use the judgment module to judge the task type, load the corresponding data and continue to execute from the interruption, record and save Current steps and data are restored directly during restart.
It improves the efficiency of task assignment, avoids waste of resources, ensures that task assignment assignment can be restarted at interrupts, and reduces the need for recalculation after restart.
Smart Images

Figure CN118890300A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of privacy computing, and in particular to a secure intersection method, system, device and computer-readable storage medium. Background Art
[0002] In the process of secure intersection, both parties need to exchange data through network communication many times. During the calculation process, if one party encounters a network problem, the calculation will be interrupted. To initiate the calculation again, both parties need to start the calculation again, which is time-consuming and wastes resources.
[0003] There is currently no effective solution to the above problems in the prior art. Summary of the invention
[0004] To solve the above problems, the present invention provides a safe intersection method, system, device and computer-readable storage medium, which detects network communication problems in real time and saves the current steps and corresponding status data when problems occur, so that after restarting the intersection, the intersection can be completed according to the steps at the time of interruption, so as to solve the problem of resource waste caused by recalculation after restarting the intersection in the prior art.
[0005] To achieve the above-mentioned purpose, the present invention provides a safe intersection method, including: in the preparation stage, judging whether the current intersection task is an interruption and restart intersection task according to the task identifier; if not, after the preparation stage is completed, the first participant executes the intersection steps in the first calculation process in sequence, and the second participant executes the intersection steps in the second calculation process in sequence; if so, querying the first intersection step of the first participant in the first calculation process according to the task identifier, and loading the first related data, taking the first intersection step as the starting intersection step, and executing the subsequent intersection steps according to the first related data to obtain data intersection; querying the second intersection step of the second participant in the second calculation process according to the task identifier, loading the second related data, and taking the second intersection step as the starting intersection step, and executing the subsequent intersection steps according to the second related data; when executing the intersection step and the first participant detects a communication problem, recording the current step as the first intersection step, and storing the corresponding data as the first related data; when executing the intersection step and the second participant detects a communication problem, recording the current step as the second intersection step, and storing the corresponding data as the second related data.
[0006] Further optionally, the sequential execution of the intersection steps in the first calculation process includes: processing the local first original data set to obtain a first processed data set, and sending the first processed data set to the second participant; receiving the second processed data set sent by the second participant; receiving the third processed data set sent by the second participant; processing the third processed data set to obtain a fourth processed data set; comparing the data of the second processed data set with the fourth processed data set to obtain a data intersection.
[0007] Further optionally, the sequential execution of the intersection steps in the second calculation process includes: receiving the first processed data set sent by the first participant; processing the first processed data set to obtain the second processed data set, and sending the second processed data set to the first participant; processing the local second original data set to obtain a third processed data set, and sending the third processed data set to the first participant.
[0008] Further optionally, the subsequent intersection step is performed according to the first relevant data to obtain the data intersection, including: the first intersection step and the first relevant data of the first participant's cleaning record; the second intersection step and the second relevant data of the second participant's cleaning record.
[0009] On the other hand, the present invention also provides a safe intersection set system, including: a judgment module, used to judge whether the current intersection task is an interrupted restart intersection task according to the task identifier in the preparation stage; a first intersection module, used to, if not, after the preparation stage is completed, the first participant sequentially executes the intersection steps in the first calculation process, and the second participant sequentially executes the intersection steps in the second calculation process; the second intersection module, used to, if yes, query the first intersection step of the first participant in the first calculation process according to the task identifier, and load the first related data, take the first intersection step as the starting intersection step, and according to the first related The data executes subsequent intersection steps to obtain a data intersection; queries the second intersection step of the second participant in the second calculation process according to the task identifier, loads the second related data, and takes the second intersection step as the starting intersection step, and executes subsequent intersection steps according to the second related data; a saving module is used to record the current step as the first intersection step when the first participant detects a communication problem during the execution of the intersection step, and store the corresponding data as the first related data; when the intersection step is executed and the second participant detects a communication problem, record the current step as the second intersection step, and store the corresponding data as the second related data.
[0010] Further optionally, the first intersection module includes: a first data processing submodule, used to process the local first original data set to obtain a first processed data set, and send the first processed data set to the second participant; a first data receiving submodule, used to receive the second processed data set sent by the second participant; a second data receiving submodule, used to receive the third processed data set sent by the second participant; a second data processing submodule, used to process the third processed data set to obtain a fourth processed data set; and a calculation submodule, used to compare the data of the second processed data set with the fourth processed data set to obtain a data intersection.
[0011] Further optionally, the first intersection module includes: a third data receiving submodule, used to receive the first processed data set sent by the first participant; a third data processing submodule, used to process the first processed data set to obtain the second processed data set, and send the second processed data set to the first participant; a fourth data processing submodule, used to process the local second original data set to obtain a third processed data set, and send the third processed data set to the first participant.
[0012] Further optionally, the system also includes: a first cleaning module, used for the first participant to clean up the first intersection step and first related data of the record; a second cleaning module, used for the second participant to clean up the second intersection step and second related data of the record.
[0013] On the other hand, the present invention further provides a safe intersection finding device, comprising the safe intersection finding system mentioned above.
[0014] On the other hand, the present invention further provides a computer-readable storage medium, and when the program is executed by a processor, the secure intersection method as described above is implemented.
[0015] The above technical solution has the following beneficial effects: during the intersection process, if a network problem occurs, the data in data exchange and calculation is saved in steps, so as to ensure that after the intersection task is restarted, all parties can recalculate from the interruption point according to the steps and data they are in, thereby improving the efficiency of the intersection task and avoiding waste of resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] 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 some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 is a flow chart of a secure intersection method provided by an embodiment of the present invention;
[0018] Figure 2 is a flowchart of the intersection step in the first calculation process provided by an embodiment of the present invention;
[0019] Figure 3 is a flowchart of the intersection step in the second calculation process provided by an embodiment of the present invention;
[0020] Figure 4 is a flow chart of a data cleaning method provided by an embodiment of the present invention;
[0021] Figure 5 is a schematic diagram of the structure of a secure intersection finding system provided by an embodiment of the present invention;
[0022] Figure 6 It is a structural schematic diagram of a submodule of the first intersection module provided in an embodiment of the present invention for the first participant to intersect;
[0023] Figure 7 It is a structural diagram of a submodule of the first intersection module provided in an embodiment of the present invention for the second participant to intersect;
[0024] Figure 8 It is a structural diagram of a model for data cleaning provided by an embodiment of the present invention.
[0025] Figure markings: 100-judgment module; 1001-first data processing submodule; 1002-first data receiving submodule; 1003-second data receiving submodule; 1004-second data processing submodule; 1005-calculation submodule; 1006-third data receiving submodule; 1007-third data processing submodule; 1008-fourth data processing submodule; 200-first intersection module; 300-second intersection module; 400-saving module; 500-first cleaning module; 600-second cleaning module. DETAILED DESCRIPTION
[0026] 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.
[0027] In order to solve the problem in the prior art that intersection needs to be re-intersected after the intersection is interrupted, an embodiment of the present invention provides a safe intersection method. Figure 1 is a flow chart of a secure intersection method provided by an embodiment of the present invention. Figure 1 As shown, the method includes:
[0028] S1. In the preparation phase, determine whether the current intersection task is an interruption and restart intersection task according to the task identifier;
[0029] When the intersection task is started, the task-id, that is, the task identifier, of the current intersection task is checked in the preparation stage, and it is determined whether the task identifier is in the execution library. If the task identifier exists in the execution library, it means that the current intersection task is an interrupt restart task. Otherwise, if the task identifier does not exist in the execution library, it means that the current intersection task is a new task.
[0030] S2. If not, after the preparation phase is completed, the first participant sequentially executes the intersection steps in the first calculation process, and the second participant sequentially executes the intersection steps in the second calculation process;
[0031] If it is determined that the current intersection task is not an interruption restart task, then after the preparation phase is completed, the first participant initiates the intersection task, so that the first participant and the second participant perform multiple rounds of data interaction and calculation to obtain data intersection.
[0032] Specifically, the second participant executes all intersection steps in its second calculation process, and the first participant executes all intersection steps in its first calculation process to obtain data intersection.
[0033] S3. If so, query the first intersection step of the first participant in the first calculation process according to the task identifier, load the first relevant data, take the first intersection step as the starting intersection step, execute the subsequent intersection steps according to the first relevant data, and obtain the data intersection; query the second intersection step of the second participant in the second calculation process according to the task identifier, load the second relevant data, take the second intersection step as the starting intersection step, and execute the subsequent intersection steps according to the second relevant data;
[0034] If the current intersection task is determined to be an interruption restart task, the first participant directly queries the step where the first participant was last interrupted according to the task identifier of the current intersection task, that is, the first intersection step, and loads the input and output data of the last interruption, that is, the first relevant data. The first participant starts from the first intersection step and executes subsequent intersection steps based on the first relevant data.
[0035] Similarly, the second participant queries the step where the second participant was last interrupted, i.e., the second intersection step, based on the task identifier of the current intersection task, and loads the input and output data at the last interruption, i.e., the second related data. The second participant starts from the second intersection step and executes subsequent intersection steps based on the second related data.
[0036] S4. When the intersection step is executed and the first participant detects a communication problem, the current step is recorded as the first intersection step, and the corresponding data is stored as the first related data; when the intersection step is executed and the second participant detects a communication problem, the current step is recorded as the second intersection step, and the corresponding data is stored as the second related data.
[0037] Regardless of whether the current intersection task is an interrupted and restarted intersection task, as long as there is a communication problem in the intersection stage, all parties will record the current step and save the input and output data corresponding to the current step. In this way, after the task is restarted, the steps and related data of the participants corresponding to the task can be queried according to the task identifier, and the intersection steps can be executed based on this.
[0038] As an optional implementation, Figure 2 is a flowchart of the intersection step in the first calculation process provided by an embodiment of the present invention, such as Figure 2 As shown, the intersection steps in the first calculation process are sequentially executed including:
[0039] S201, processing a local first original data set to obtain a first processed data set, and sending the first processed data set to a second participant;
[0040] S202, receiving a second processed data set sent by a second participant;
[0041] S203, receiving a third processed data set sent by the second participant;
[0042] S204, performing data processing on the third processed data set to obtain a fourth processed data set;
[0043] S205 . Compare the data of the second processed data set with the data of the fourth processed data set to obtain a data intersection.
[0044] Taking the ecdh algorithm as an example, all the intersection steps in the first calculation process corresponding to the first participant Alice include:
[0045] The first participant Alice processes the first original data set A to obtain a first processed data set F(A) and sends it to the second participant Bob. The data processing method in this step is to perform hash processing on the elements in the first original data set A and perform exponential operation using the key α to obtain the first processed data set F(A).
[0046] Receive the second processed data set G(F(A)) sent by the second participant Bob;
[0047] Receive the third processed data set G(B) sent by the second participant Bob;
[0048] The third processed data set G(B) is processed to obtain a fourth processed data set F(G(B)); wherein the data processing method in this step is to perform an exponential operation on the third processed data set G(B) using a key α to obtain a fourth processed data set F(G(B));
[0049] An intersection calculation is performed on the second processed data set G(F(A)) and the fourth processed data set F(G(B)) to obtain a data intersection.
[0050] As an optional implementation, Figure 3 is a flowchart of the intersection step in the second calculation process provided by an embodiment of the present invention, such as Figure 3 As shown, the intersection steps in the second calculation process are sequentially executed including:
[0051] S206, receiving a first processed data set sent by a first participant;
[0052] S207, processing the first processed data set to obtain a second processed data set, and sending the second processed data set to the first participant;
[0053] S208: Process the local second original data set to obtain a third processed data set, and send the third processed data set to the first participant.
[0054] Taking the ecdh algorithm as an example, the intersection steps in the second calculation process corresponding to the second participant Bob include:
[0055] Receive a first processed data set F(A) sent by the first participant Alice;
[0056] The first processed data set F(A) is processed to obtain a second processed data set G(F(A)); wherein the data processing method in this step is to use the key β to perform exponential calculation on the first processed data set F(A) to obtain the second processed data set G(F(A));
[0057] Send the second processed data set G(F(A)) to the first party Alice;
[0058] The second original data set B is processed to obtain a third processed data set G(B); wherein the data processing method in this step is to perform hash processing on the elements in the second original data set B and perform exponential operation using the key β to obtain the third processed data set G(B);
[0059] The third processed data set G(B) is sent to the first party Alice.
[0060] As an optional implementation, Figure 4is a flow chart of a data cleaning method provided by an embodiment of the present invention, such as Figure 4 As shown, after performing subsequent intersection steps according to the first related data to obtain the data intersection, the following steps are performed:
[0061] S5, the first participant cleans up the first intersection step and the first related data recorded;
[0062] S6. The second participant cleans up the second intersection step and the second related data recorded.
[0063] After the first participant calculates the data intersection, it means that the intersection task has been completed normally. Then both the first participant and the second participant need to clean up the relevant data of each party and the steps recorded to avoid occupying storage space.
[0064] The embodiment of the present invention also provides a safe intersection finding system. Figure 5 is a schematic diagram of the structure of a secure intersection finding system provided by an embodiment of the invention, such as Figure 5 As shown, the system includes:
[0065] The judging module 100 is used to judge whether the current intersection task is an interruption and restart intersection task according to the task identifier in the preparation stage;
[0066] When the intersection task is started, the task-id, that is, the task identifier, of the current intersection task is checked in the preparation stage, and it is determined whether the task identifier is in the execution library. If the task identifier exists in the execution library, it means that the current intersection task is an interrupt restart task. Otherwise, if the task identifier does not exist in the execution library, it means that the current intersection task is a new task.
[0067] A first intersection module 200, for if no, after the preparation phase is completed, the first participant sequentially executes the intersection steps in the first calculation process, and the second participant sequentially executes the intersection steps in the second calculation process;
[0068] If it is determined that the current intersection task is not an interruption restart task, then after the preparation phase is completed, the first participant initiates the intersection task, so that the first participant and the second participant perform multiple rounds of data interaction and calculation to obtain data intersection.
[0069] Specifically, the second participant executes all intersection steps in its second calculation process, and the first participant executes all intersection steps in its first calculation process to obtain data intersection.
[0070] The second intersection module 300 is used for, if yes, querying the first intersection step of the first participant in the first calculation process according to the task identifier, loading the first relevant data, taking the first intersection step as the starting intersection step, executing the subsequent intersection steps according to the first relevant data, and obtaining the data intersection; querying the second intersection step of the second participant in the second calculation process according to the task identifier, loading the second relevant data, taking the second intersection step as the starting intersection step, and executing the subsequent intersection steps according to the second relevant data;
[0071] If the current intersection task is determined to be an interruption restart task, the first participant directly queries the step where the first participant was last interrupted according to the task identifier of the current intersection task, that is, the first intersection step, and loads the input and output data of the last interruption, that is, the first relevant data. The first participant starts from the first intersection step and executes subsequent intersection steps based on the first relevant data.
[0072] Similarly, the second participant queries the step where the second participant was last interrupted, i.e., the second intersection step, based on the task identifier of the current intersection task, and loads the input and output data at the last interruption, i.e., the second related data. The second participant starts from the second intersection step and executes subsequent intersection steps based on the second related data.
[0073] The saving module 400 is used to record the current step as the first intersection step and store the corresponding data as the first related data when the intersection step is executed and the first participant detects a communication problem; when the intersection step is executed and the second participant detects a communication problem, record the current step as the second intersection step and store the corresponding data as the second related data.
[0074] Regardless of whether the current intersection task is an interrupted and restarted intersection task, as long as there is a communication problem in the intersection stage, all parties will record the current step and save the input and output data corresponding to the current step. In this way, after the task is restarted, the steps and related data of the participants corresponding to the task can be queried according to the task identifier, and the intersection steps can be executed based on this.
[0075] As an optional implementation, Figure 6 is a schematic diagram of the structure of a submodule of the first intersection module provided in an embodiment of the present invention for the first participant to intersect, such as Figure 6 As shown, the first intersection module 100 includes:
[0076] The first data processing submodule 1001 is used to process the local first original data set to obtain a first processed data set, and send the first processed data set to the second participant;
[0077] The first data receiving submodule 1002 is used to receive a second processed data set sent by a second participant;
[0078] The second data receiving submodule 1003 is used to receive a third processed data set sent by the second participant;
[0079] The second data processing submodule 1004 is used to process the third processed data set to obtain a fourth processed data set;
[0080] The calculation submodule 1005 is used to compare the data of the second processed data set with the data of the fourth processed data set to obtain a data intersection.
[0081] Taking the ecdh algorithm as an example, all the intersection steps in the first calculation process corresponding to the first participant Alice include:
[0082] The first participant Alice processes the first original data set A to obtain a first processed data set F(A) and sends it to the second participant Bob. The data processing method in this step is to perform hash processing on the elements in the first original data set A and perform exponential operation using the key α to obtain the first processed data set F(A).
[0083] Receive the second processed data set G(F(A)) sent by the second participant Bob;
[0084] Receive the third processed data set G(B) sent by the second participant Bob;
[0085] The third processed data set G(B) is processed to obtain a fourth processed data set F(G(B)); wherein the data processing method in this step is to perform an exponential operation on the third processed data set G(B) using a key α to obtain a fourth processed data set F(G(B));
[0086] An intersection calculation is performed on the second processed data set G(F(A)) and the fourth processed data set F(G(B)) to obtain a data intersection.
[0087] As an optional implementation, Figure 7 FIG. 1 is a schematic diagram of a submodule of the first intersection module provided in an embodiment of the present invention for the second participant to intersect. Figure 7 As shown, the first intersection module 100 includes:
[0088] The third data receiving submodule 1006 is used to receive a first processed data set sent by a first participant;
[0089] The third data processing submodule 1007 is used to process the first processed data set to obtain a second processed data set, and send the second processed data set to the first participant;
[0090] The fourth data processing submodule 1008 is used to process the local second original data set to obtain a third processed data set, and send the third processed data set to the first participant.
[0091] Taking the ecdh algorithm as an example, the intersection steps in the second calculation process corresponding to the second participant Bob include:
[0092] Receive a first processed data set F(A) sent by the first participant Alice;
[0093] The first processed data set F(A) is processed to obtain a second processed data set G(F(A)); wherein the data processing method in this step is to use the key β to perform exponential calculation on the first processed data set F(A) to obtain the second processed data set G(F(A));
[0094] Send the second processed data set G(F(A)) to the first party Alice;
[0095] The second original data set B is processed to obtain a third processed data set G(B); wherein the data processing method in this step is to perform hash processing on the elements in the second original data set B and perform exponential operation using the key β to obtain the third processed data set G(B);
[0096] The third processed data set G(B) is sent to the first party Alice.
[0097] As an optional implementation, Figure 8 is a schematic diagram of the structure of a model for data cleaning provided by an embodiment of the present invention, such as Figure 8 As shown, the system also includes:
[0098] A first cleaning module 500 is used by a first participant to clean up the first intersection step and first related data recorded;
[0099] The second cleaning module 600 is used for the second participant to clean up the second intersection step and the second related data recorded.
[0100] After the first participant calculates the data intersection, it means that the intersection task has been completed normally. Then both the first participant and the second participant need to clean up the relevant data of each party and the steps recorded to avoid occupying storage space.
[0101] The embodiment of the present invention further provides a safe intersection finding device, including the safe intersection finding system mentioned above.
[0102] The embodiment of the present invention further provides a computer-readable storage medium, and when the program is executed by a processor, the above-mentioned secure intersection method is implemented.
[0103] The above storage media include but are not limited to: CDs, floppy disks, hard disks, erasable memory, etc.
[0104] The above technical solution has the following beneficial effects: during the intersection process, if a network problem occurs, the data in data exchange and calculation is saved in steps, so as to ensure that after the intersection task is restarted, all parties can recalculate from the interruption point according to the steps and data they are in, thereby improving the efficiency of the intersection task and avoiding waste of resources.
[0105] The specific implementation methods of the above invention further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above content is only the specific implementation methods of the present invention and is not intended to limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A safe intersection method, It is characterized in that include: In the preparation stage, it is determined according to the task identifier whether the current intersection task is an interruption and restart intersection task; If not, after the preparation phase is completed, the first participant sequentially executes the intersection steps in the first calculation process, and the second participant sequentially executes the intersection steps in the second calculation process; If so, query the first intersection step of the first participant in the first calculation process according to the task identifier, load the first relevant data, take the first intersection step as the starting intersection step, execute the subsequent intersection steps according to the first relevant data, and obtain the data intersection; query the second intersection step of the second participant in the second calculation process according to the task identifier, load the second relevant data, take the second intersection step as the starting intersection step, and execute the subsequent intersection steps according to the second relevant data; When the intersection step is executed and the first participant detects a communication problem, the current step is recorded as the first intersection step, and the corresponding data is stored as the first related data; when the intersection step is executed and the second participant detects a communication problem, the current step is recorded as the second intersection step, and the corresponding data is stored as the second related data.
2. The safe intersection method according to claim 1, It is characterized in that The sequentially executing the intersection steps in the first calculation process includes: Processing a local first original data set to obtain a first processed data set, and sending the first processed data set to a second participant; receiving a second processed data set sent by the second participant; receiving a third processed data set sent by the second participant; Processing the third processed data set to obtain a fourth processed data set; Compare the data of the second processed data set with the data of the fourth processed data set to obtain a data intersection.
3. The safe intersection method according to claim 2, It is characterized in that The sequentially executing the intersection steps in the second calculation process includes: receiving the first processed data set sent by the first participant; Processing the first processed data set to obtain the second processed data set, and sending the second processed data set to the first participant; The local second original data set is processed to obtain a third processed data set, and the third processed data set is sent to the first participant.
4. The safe intersection method according to claim 1, It is characterized in that After performing the subsequent intersection step according to the first related data to obtain the data intersection, the method includes: The first participant cleans up the first intersection step and the first related data recorded; The second participant cleans up the recorded second intersection step and second related data.
5. A safe intersection system, It is characterized in that include: A judgment module, used to judge whether the current intersection task is an interruption and restart intersection task according to the task identifier in the preparation stage; A first intersection module, for if no, after the preparation phase is completed, the first participant sequentially executes the intersection steps in the first calculation process, and the second participant sequentially executes the intersection steps in the second calculation process; A second intersection module is used for, if yes, querying the first intersection step of the first participant in the first calculation process according to the task identifier, and loading the first relevant data, taking the first intersection step as the starting intersection step, and executing the subsequent intersection steps according to the first relevant data to obtain the data intersection; querying the second intersection step of the second participant in the second calculation process according to the task identifier, loading the second relevant data, and taking the second intersection step as the starting intersection step, and executing the subsequent intersection steps according to the second relevant data; The saving module is used to record the current step as the first intersection step and store the corresponding data as the first related data when the intersection step is executed and the first participant detects a communication problem; when the intersection step is executed and the second participant detects a communication problem, record the current step as the second intersection step and store the corresponding data as the second related data.
6. The secure intersection system according to claim 5, It is characterized in that The first intersection module comprises: A first data processing submodule, configured to process a local first original data set to obtain a first processed data set, and send the first processed data set to a second participant; A first data receiving submodule, configured to receive a second processed data set sent by the second participant; A second data receiving submodule, configured to receive a third processed data set sent by the second participant; A second data processing submodule is used to process the third processed data set to obtain a fourth processed data set; The calculation submodule is used to compare the data of the second processed data set with the data of the fourth processed data set to obtain a data intersection.
7. The secure intersection system according to claim 6, It is characterized in that The first intersection module comprises: A third data receiving submodule, configured to receive the first processed data set sent by the first participant; a third data processing submodule, configured to process the first processed data set to obtain the second processed data set, and send the second processed data set to the first participant; The fourth data processing submodule is used to process the local second original data set to obtain a third processed data set, and send the third processed data set to the first participant.
8. The secure intersection system according to claim 5, It is characterized in that Also includes: A first cleaning module, used for a first participant to clean up a first intersection step and first related data recorded; The second cleaning module is used for the second participant to clean up the second intersection step and second related data recorded.
9. A safe intersection finding device, It is characterized in that It comprises a secure intersection system as described in any one of claims 5-8.
10. A computer-readable storage medium, It is characterized in that When the program is executed by a processor, the secure intersection method according to any one of claims 1 to 4 is implemented.
