Privacy protection method and device based on multi-party secure computing
By performing key negotiation and encryption processing in multi-party secure calculations, the problem of low credibility of data processing results caused by semi-honest and malicious participants is solved, and the credibility and security of data transmission are improved.
Patent Information
- Application Number
- CN202211028263.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-25
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-08-25
AI Technical Summary
In multi-party secure computation, semi-honest and malicious participants may leak data, resulting in low credibility of data processing results and security challenges.
Through key negotiation between the central node and participant nodes, data packets are generated and encrypted, the number of participant nodes is counted, a participant list is generated, and data is broadcast based on the encrypted feedback information to ensure private data. protection and trustworthiness of data processing.
It improves the credibility of data transmission in multi-party secure calculations, prevents data leaks and malicious attacks, and enhances the reliability of data processing results.
Smart Images

Figure CN115378725B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data interaction technology, and in particular to a privacy protection method and device based on multi-party secure computing. Background Art
[0002] Secure Multi-Party Computation (MPC) is based on cryptographic principles to directly perform calculations on private data input by multiple participants without a trusted third party, ensuring the security of the private data of multiple participants. Currently, when performing secure multi-party computation, there are semi-honest participants and malicious participants. Semi-honest participants and malicious participants will leak data in secure multi-party computation to attackers, or even conduct malicious attacks, bringing security challenges and reducing the credibility of data processing results. Summary of the invention
[0003] In view of this, the embodiments of the present disclosure provide a privacy protection method and device based on multi-party secure computing to solve the problem of low credibility of data processing results of multi-party secure computing in the prior art.
[0004] According to a first aspect of an embodiment of the present disclosure, a privacy protection method based on multi-party secure computing is provided, which is applied to a central node and is characterized in that the method includes: broadcasting data according to a data packet sent by a participant node, wherein the data packet includes: a key negotiation private key and a key negotiation public key of the participant; in response to first feedback information of the participant node on the data broadcast, encrypting the first feedback information, and sending the encrypted first feedback information to the participant node, wherein the first feedback information includes: a privacy protection result obtained after the participant node encrypts the data packet; using the participant information uploaded by the participant node, counting the current number of the participant nodes to obtain a participant list, and sending the participant list to the participant node; in response to second feedback information of the participant node on the participant list, encrypting the second feedback information to broadcast data according to the encrypted second feedback information; performing data processing on the participant information and the processing result of the encrypted second feedback information uploaded by the participant node to obtain privacy data corresponding to the participant information, wherein the processing result of the encrypted second feedback information is related to the encrypted first feedback information.
[0005] According to a second aspect of an embodiment of the present disclosure, a privacy protection method based on multi-party secure computing is provided, which is applied to a participant node and is characterized in that the method includes: generating a key negotiation private key and a key negotiation public key, and generating a data packet based on the key negotiation private key and the key negotiation public key, and sending the data packet to a central node; in response to a data broadcast performed by the central node based on the data packet, determining first feedback information, and sending the first feedback information to the central node, wherein the first feedback information includes: a privacy protection result obtained after encrypting the data packet; determining participant information based on the privacy data, and sending the participant information to the central node; in response to a data broadcast performed by the central node based on a participant list obtained based on the participant information, determining second feedback information, and sending the second feedback information to the central node; after receiving the encrypted second feedback information sent by the central node, processing the encrypted second feedback information, and sending the processing result of the encrypted second feedback information to the central node, wherein the processing result of the encrypted second feedback information is related to the encrypted first feedback information.
[0006] According to a third aspect of the embodiments of the present disclosure, a privacy protection device based on multi-party secure computing is provided, which is applied to a central node and is characterized in that the device includes: a broadcast module, which is configured to broadcast data according to a data packet sent by a participating node, wherein the data packet includes: a key negotiation private key and a key negotiation public key of the participating node; a first encryption module, which is configured to respond to first feedback information of the participating node on the data broadcast, encrypt the first feedback information, and send the encrypted first feedback information to the participating node, wherein the first feedback information includes: a privacy protection result obtained after the participating node encrypts the data packet; a statistical module, which is configured In order to utilize the participant information uploaded by the participant node, the current number of the participant nodes is counted to obtain a participant list, and the participant list is sent to the participant node; the second encryption module is configured to respond to the second feedback information of the participant node on the participant list, encrypt the second feedback information, and broadcast data according to the encrypted second feedback information; the first processing module is configured to process the participant information and the processing result of the encrypted second feedback information uploaded by the participant node, and obtain the privacy data corresponding to the participant information, wherein the processing result of the encrypted second feedback information is related to the encrypted first feedback information.
[0007] According to a fourth aspect of the embodiments of the present disclosure, there is provided a privacy protection device based on multi-party secure computing, which is applied to a participant node, and is characterized in that the device comprises: a generation module, which is configured to generate a key negotiation private key and a key negotiation public key, and generate a data packet based on the key negotiation private key and the key negotiation public key, and send the data packet to a central node; a first determination module, which is configured to determine first feedback information in response to data broadcasting performed by the central node based on the data packet, and send the first feedback information to the central node, wherein the first feedback information includes: a privacy protection result obtained after encrypting the data packet; a second determination module, which is configured to determine participant information based on the privacy data, and send the participant information to the central node; a third determination module, which is configured to determine second feedback information in response to data broadcasting performed by the central node based on a participant list obtained based on the participant information, and send the second feedback information to the central node;
[0008] The second processing module is configured to process the encrypted second feedback information after receiving the encrypted second feedback information sent by the central node, and send the processing result of the encrypted second feedback information to the central node, wherein the processing result of the encrypted second feedback information is related to the encrypted first feedback information.
[0009] According to a fifth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0010] According to a sixth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0011] Compared with the prior art, the disclosed embodiment has the following beneficial effects: data broadcasting is performed according to the data packet sent by the participant node, wherein the data packet includes: the key negotiation private key and the key negotiation public key of the participant; in response to the first feedback information of the participant node on the data broadcasting, the first feedback information is encrypted, and the encrypted first feedback information is sent to the participant node, wherein the first feedback information includes: the privacy protection result obtained after the participant node encrypts the data packet; using the participant information uploaded by the participant node, the current number of the participant nodes is counted to obtain the participant list, and the participant list is sent to the participant node; in response to the second feedback information of the participant node on the participant list, the second feedback information is encrypted to perform data broadcasting according to the encrypted second feedback information; data processing is performed on the participant information and the processing result of the encrypted second feedback information uploaded by the participant node to obtain the privacy data corresponding to the participant information, wherein the processing result of the encrypted second feedback information is related to the encrypted first feedback information. Through the above technical means, the problem of low credibility of the data processing results of multi-party secure computing in the prior art is solved, thereby effectively improving the credibility of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, 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 disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0013] Figure 1 This is a flowchart of a privacy protection method based on multi-party secure computing provided by an embodiment of the present disclosure (I);
[0014] Figure 2 This is a flow chart of a privacy protection method based on multi-party secure computing provided by an embodiment of the present disclosure (II);
[0015] Figure 3 1 is a schematic diagram of a privacy protection device based on multi-party secure computing provided by an embodiment of the present disclosure (I);
[0016] Figure 4 This is a structural schematic diagram of a privacy protection device based on multi-party secure computing provided by an embodiment of the present disclosure (II);
[0017] Figure 5 It is a structural schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0018] In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present disclosure. However, it should be clear to those skilled in the art that the present disclosure may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obstructing the description of the present disclosure with unnecessary details.
[0019] A privacy protection method and device based on multi-party secure computing according to an embodiment of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0020] Figure 1 1 is a flowchart of a privacy protection method based on multi-party secure computing provided by an embodiment of the present disclosure (I). The privacy protection method based on multi-party secure computing includes:
[0021] S101, broadcasting data according to a data packet sent by a participant node, wherein the data packet includes: a key negotiation private key and a key negotiation public key of the participant;
[0022] S102, in response to first feedback information of the participant node on the data broadcast, encrypt the first feedback information, and send the encrypted first feedback information to the participant node, wherein the first feedback information includes: a privacy protection result obtained after the participant node encrypts the data packet;
[0023] S103, using the participant information uploaded by the participant node, counting the current number of the participant nodes to obtain a participant list, and sending the participant list to the participant node;
[0024] S104, in response to the second feedback information of the participant node on the participant list, encrypt the second feedback information to broadcast data according to the encrypted second feedback information;
[0025] S105, performing data processing on the processing result of the encrypted second feedback information uploaded by the participant information and the participant node to obtain the privacy data corresponding to the participant information, wherein the processing result of the encrypted second feedback information is related to the encrypted first feedback information.
[0026] Specifically, the participant node is the participant. The participant has private data, which is the data that is private to the participant and not shared with others. For example, it can be energy data. Each participant can be an energy manufacturer that has various energy data and intends to conduct multi-party interaction. The central node is the party that obtains private data from multiple participants. In order to ensure that the private data is not known by the central node and other participants, the participants will obfuscate the private data. The obfuscation is used to cover up the private data, and the central node needs to determine the original private data from the obfuscated private data through multiple interactions with the participants.
[0027] Data broadcast is performed according to the data packet sent by the participant node, wherein the data packet includes: the key negotiation private key and the key negotiation public key of the participant; in response to the first feedback information of the participant node on the data broadcast, the first feedback information is encrypted, and the encrypted first feedback information is sent to the participant node, wherein the first feedback information includes: the privacy protection result obtained after the participant node encrypts the data packet; using the participant information uploaded by the participant node, the current number of the participant nodes is counted to obtain the participant list, and the participant list is sent to the participant node; in response to the second feedback information of the participant node on the participant list, the second feedback information is encrypted to broadcast data according to the encrypted second feedback information; data processing is performed on the participant information and the processing result of the encrypted second feedback information uploaded by the participant node to obtain the privacy data corresponding to the participant information, wherein the processing result of the encrypted second feedback information is related to the encrypted first feedback information. Through the above technical means, the problem of low credibility of the data processing results of multi-party secure computing in the prior art is solved, thereby effectively improving the credibility of data transmission.
[0028] Utilize the participant information uploaded by the participant node to count the current number of the participant nodes to obtain a participant list, including: participant information, including: obfuscation processing result and a first verification value; perform hash transformation on the obfuscation processing result to obtain a second verification value; compare the first verification value and the second verification value for consistency, if not, terminate the current process, if consistent, count the current number of the participant nodes to collect the participant list.
[0029] The first verification value is obtained by the participant node performing a hash transformation on the obfuscation processing result, and the second verification value is obtained by the central node performing a hash transformation on the obfuscation processing result. If the first verification value and the second verification value are consistent, it means that the participant information uploaded by the participant node is correct, and the participant nodes that have uploaded correct participant information are collected into the participant list.
[0030] Data processing is performed on the participant information and the processing results of the encrypted second feedback information uploaded by the participant node to obtain the privacy data corresponding to the participant information, including: matrix addition of the matrices corresponding to the processing results of the participant information and the encrypted second feedback information uploaded by the participant node to obtain the privacy data corresponding to the participant information.
[0031] Figure 2 1 is a flow chart of a privacy protection method based on multi-party secure computing provided by an embodiment of the present disclosure (II). The privacy protection method based on multi-party secure computing includes:
[0032] S201, generating a key negotiation private key and a key negotiation public key, generating a data packet based on the key negotiation private key and the key negotiation public key, and sending the data packet to a central node;
[0033] S202, in response to the data broadcasting performed by the central node based on the data packet, determining first feedback information, and sending the first feedback information to the central node, wherein the first feedback information includes: a privacy protection result obtained after encrypting the data packet;
[0034] S203, determining the participant information based on the privacy data, and sending the participant information to the central node;
[0035] S204, in response to the data broadcasting of the participant list obtained by the central node based on the participant information, determining second feedback information, and sending the second feedback information to the central node;
[0036] S205, after receiving the encrypted second feedback information sent by the central node, process the encrypted second feedback information, and send the processing result of the encrypted second feedback information to the central node, wherein the processing result of the encrypted second feedback information is related to the encrypted first feedback information.
[0037] The privacy protection method based on multi-party secure computing applied to the participant nodes is a corresponding side solution of the privacy protection method based on multi-party secure computing applied to the central node.
[0038] Generate a key negotiation private key and a key negotiation public key, generate a data packet based on the key negotiation private key and the key negotiation public key, and send the data packet to the central node; in response to the data broadcasting performed by the central node based on the data packet, determine the first feedback information, and send the first feedback information to the central node, wherein the first feedback information includes: the privacy protection result obtained after encrypting the data packet; determine the participant information based on the privacy data, and send the participant information to the central node; in response to the data broadcasting performed by the central node based on the participant list obtained by the participant information, determine the second feedback information, and send the second feedback information to the central node; after receiving the encrypted second feedback information sent by the central node, process the encrypted second feedback information, and send the processing result of the encrypted second feedback information to the central node, wherein the processing result of the encrypted second feedback information is related to the encrypted first feedback information. Through the above technical means, the problem of low credibility of the data processing results of multi-party secure computing in the prior art is solved, thereby effectively improving the credibility of data transmission.
[0039] A data packet is generated based on a key negotiation private key and a key negotiation public key, including: the key negotiation private key includes a transmission private key and a perturbation private key, and the key negotiation public key includes a transmission public key and a perturbation public key; the transmission public key and the perturbation public key are digitally signed to determine a first signature processing result; and a data packet is generated based on the first signature processing result, the transmission public key and the perturbation public key.
[0040] The transmission public key is digitally signed using the transmission private key, the disturbance public key is digitally signed using the disturbance private key, and then the two signature results are concatenated to obtain a first signature processing result.
[0041] Determining the information of the participating party based on the privacy data includes: generating a first perturbation vector based on a key agreement private key and a key agreement public key; generating a second perturbation vector based on a randomly determined random number; and performing obfuscation processing on the privacy data based on the first perturbation vector and the second perturbation vector to determine the information of the participating party.
[0042] The privacy data is obfuscated based on the first perturbation vector and the second perturbation vector to obtain an obfuscation result. The participant node performs a hash transformation on the obfuscation result to obtain a first verification value. Then the obfuscation result and the first verification value constitute the participant information.
[0043] In an optional embodiment, the multi-party interaction system includes a central node and multiple participant nodes. The multi-party interaction system implements the following method to perform multi-party private data interaction, including:
[0044] Participant round0 (round0 represents the first round of interaction, and participant round0 represents the steps performed by the participant in the first round of interaction) generates two pairs of public and private keys (i.e., transmission public key and transmission private key, and perturbation public key and perturbation private key) through key negotiation, digitally signs the transmission public key with the transmission private key, digitally signs the perturbation public key with the perturbation private key, and then concatenates the two signature results to obtain the first signature processing result. The data packet consisting of the first signature processing result and the two public keys is uploaded to the designated queue (the queue is used to transmit data between the participant and the central node, and the participant uploading the data packet to the designated queue is equivalent to uploading the data packet to the central node).
[0045] The central node round0 initializes the dictionary to be broadcast (an operation that must be performed before data broadcasting), receives the information uploaded by the participants in the queue (that is, data packets), concatenates the initialized dictionary and data packets into a JSON string, broadcasts the data, and broadcasts the JSON string (that is, sends it to the participants).
[0046] Participant round1 verifies the correctness of the signature of the first signature processing result in the dictionary in the received JSON string, that is, whether the plaintext information signature verification result is consistent with the received first signature processing result. If not, the verification fails, and the information is broadcast so that all participants terminate the current process. If they are consistent, the verification passes, a random number is generated, and its own perturbed private key and random number are secretly shared. The secret fragment is determined (there are multiple secret fragments, and the secret fragment is a part of its own perturbed private key and random number. All secret fragments constitute its own perturbed private key and random number), and after symmetric encryption processing of the secret fragment, the encrypted information is obtained (the encrypted information is the first feedback information, and the privacy protection result is the secret fragment after symmetric encryption processing), and the encrypted information is transmitted to the queue.
[0047] Central node round1, the central node initializes the dictionary to be broadcast, receives the information in the queue (at this time, the queue is encrypted information), concatenates the initialized dictionary and encrypted information into a json string, and broadcasts it to the participants.
[0048] Participant round2, the participant receives the encrypted information in the broadcast JSON string and saves it. Then, the first perturbation vector and the second perturbation vector are generated, the private data is obfuscated, and the obfuscation result is determined. The obfuscation result is in the form of a matrix, and the hash value of the matrix corresponding to the obfuscation result, i.e., the first verification value, is generated and transmitted to the queue.
[0049] The central node round2 initializes the matrix dictionary, receives the queue information, obtains the obfuscation result and the first verification value, performs hash conversion on the matrix corresponding to the obfuscation result, obtains the second verification value, compares the first verification value and the second verification value for consistency, if not, the matrix changes, and the current process is terminated, if consistent, the matrix does not change, collects the participant list, and broadcasts the participant list to the queue.
[0050] Participant round3 encrypts the received participant list using the private key, obtains the second signature processing result (the second signature processing result is also the second feedback information), and transmits the second signature processing result to the queue.
[0051] The central node round3 initializes the dictionary to be broadcast, receives the second signature processing result in the queue, concatenates the second signature processing result and the initialized dictionary into a JSON string, and broadcasts the JSON string.
[0052] Participant round4 decrypts the received second signature processing result with the public key and performs consistency verification. If the participant lists corresponding to each participant are consistent, the verification is passed. If the participant lists corresponding to each participant are inconsistent, the current process is terminated. If the verification is passed, the encrypted information received by round2 is decrypted to obtain fragment information. If the participant is offline, the information related to the perturbed private key in the fragment information is used as the transmission data transmitted to the central node. If the participant is online, the information related to the random number in the fragment information is used as the transmission data transmitted to the central node, and the transmission data is uploaded to the list.
[0053] The central node round4 receives the transmission data, restores the transmission data, and performs matrix summation of the restored transmission data and the obfuscation processing result to obtain the private data.
[0054] For example, there is a participant u, which uses its own perturbed private key and the perturbed public key of any participant v to negotiate a key, and obtains a key negotiation result. The key negotiation result is sent to a pseudo-random number generator (PRG) as a seed to generate a first perturbation vector. The first perturbation vector of participant u to participant v can be recorded as p u,v The participant u determines a random number bu and sends it as a seed to PRG to generate a second perturbation vector. The second perturbation vector of the participant u can be recorded as p u The participant u performs obfuscation processing on the private data according to the first perturbation vector and the second perturbation vector, and determines the obfuscation processing result.
[0055] Not every participant will always be online. If a participant is offline, the information related to the disturbed private key in the fragment information will be used as the transmission data transmitted to the central node, so that the central node can recover the p according to the transmission data. u,v ; When the participants are online, the random number related information in the fragment information is used as the transmission data transmitted to the central node, so that the central node can recover p according to the transmission data u Then use this p u,v and p u The p in the obfuscation result u,v and p u Offset to obtain accurate privacy data.
[0056] According to the technical solution provided by the embodiment of the present disclosure, the encrypted information is decrypted using each participant's own transmission private key and the transmission public key of other participants to determine valid fragmented information, thereby ensuring that the determined transmission data can be accurately restored and ensuring the accuracy of the data aggregation results.
[0057] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.
[0058] The following are embodiments of the device disclosed herein, which can be used to execute the method embodiments disclosed herein. For details not disclosed in the device embodiments disclosed herein, please refer to the method embodiments disclosed herein.
[0059] Figure 3 1 is a schematic diagram of a privacy protection device based on multi-party secure computing provided by an embodiment of the present disclosure (I). The device includes:
[0060] The broadcast module 301 is configured to broadcast data according to a data packet sent by a participant node, wherein the data packet includes: a key negotiation private key and a key negotiation public key of the participant;
[0061] The first encryption module 302 is configured to encrypt the first feedback information of the participant node to the data broadcast in response to the first feedback information, and send the encrypted first feedback information to the participant node, wherein the first feedback information includes: the privacy protection result obtained after the participant node encrypts the data packet;
[0062] The statistics module 303 is configured to use the participant information uploaded by the participant node to count the current number of the participant nodes to obtain a participant list, and send the participant list to the participant node;
[0063] The second encryption module 304 is configured to encrypt the second feedback information of the participant node to the participant list in response to the second feedback information, so as to broadcast data according to the encrypted second feedback information;
[0064] The first processing module 305 is configured to perform data processing on the processing results of the participant information and the encrypted second feedback information uploaded by the participant node to obtain privacy data corresponding to the participant information, wherein the processing results of the encrypted second feedback information are related to the encrypted first feedback information.
[0065] Specifically, the participant node is the participant. The participant has private data, which is the data that is private to the participant and not shared with others. For example, it can be energy data. Each participant can be an energy manufacturer that has various energy data and intends to conduct multi-party interaction. The central node is the party that obtains private data from multiple participants. In order to ensure that the private data is not known by the central node and other participants, the participants will obfuscate the private data. The obfuscation is used to cover up the private data, and the central node needs to determine the original private data from the obfuscated private data through multiple interactions with the participants.
[0066] Data broadcast is performed according to the data packet sent by the participant node, wherein the data packet includes: the key negotiation private key and the key negotiation public key of the participant; in response to the first feedback information of the participant node on the data broadcast, the first feedback information is encrypted, and the encrypted first feedback information is sent to the participant node, wherein the first feedback information includes: the privacy protection result obtained after the participant node encrypts the data packet; using the participant information uploaded by the participant node, the current number of the participant nodes is counted to obtain the participant list, and the participant list is sent to the participant node; in response to the second feedback information of the participant node on the participant list, the second feedback information is encrypted to broadcast data according to the encrypted second feedback information; data processing is performed on the participant information and the processing result of the encrypted second feedback information uploaded by the participant node to obtain the privacy data corresponding to the participant information, wherein the processing result of the encrypted second feedback information is related to the encrypted first feedback information. Through the above technical means, the problem of low credibility of the data processing results of multi-party secure computing in the prior art is solved, thereby effectively improving the credibility of data transmission.
[0067] Optionally, the statistical module 303 is also configured to perform a hash transformation on the obfuscation processing result to obtain a second verification value; compare the first verification value and the second verification value to see if they are consistent. If they are inconsistent, the current process is terminated; if they are consistent, the current number of participating party nodes is counted to collect a list of participating parties.
[0068] The first verification value is obtained by the participant node performing a hash transformation on the obfuscation processing result, and the second verification value is obtained by the central node performing a hash transformation on the obfuscation processing result. If the first verification value and the second verification value are consistent, it means that the participant information uploaded by the participant node is correct, and the participant nodes that have uploaded correct participant information are collected into the participant list.
[0069] Optionally, the first processing module 305 is further configured to perform matrix addition on matrices corresponding to the participant information and the processing results of the encrypted second feedback information uploaded by the participant node to obtain privacy data corresponding to the participant information.
[0070] Figure 4 Schematic diagram (II) of a privacy protection device based on multi-party secure computing provided by an embodiment of the present disclosure. The device includes:
[0071] The generating module 401 is configured to generate a key negotiation private key and a key negotiation public key, generate a data packet based on the key negotiation private key and the key negotiation public key, and send the data packet to the central node;
[0072] The first determination module 402 is configured to determine first feedback information in response to the data broadcasting performed by the central node based on the data packet, and send the first feedback information to the central node, wherein the first feedback information includes: a privacy protection result obtained after encrypting the data packet;
[0073] The second determination module 403 is configured to determine the participant information based on the privacy data and send the participant information to the central node;
[0074] The third determination module 404 is configured to determine the second feedback information in response to the data broadcast of the participant list obtained by the central node based on the participant information, and send the second feedback information to the central node;
[0075] The second processing module 405 is configured to process the encrypted second feedback information after receiving the encrypted second feedback information sent by the central node, and send the processing result of the encrypted second feedback information to the central node, wherein the processing result of the encrypted second feedback information is related to the encrypted first feedback information.
[0076] The privacy protection method based on multi-party secure computing applied to the participant nodes is a corresponding side solution of the privacy protection method based on multi-party secure computing applied to the central node.
[0077] Generate a key negotiation private key and a key negotiation public key, generate a data packet based on the key negotiation private key and the key negotiation public key, and send the data packet to the central node; in response to the data broadcasting performed by the central node based on the data packet, determine the first feedback information, and send the first feedback information to the central node, wherein the first feedback information includes: the privacy protection result obtained after encrypting the data packet; determine the participant information based on the privacy data, and send the participant information to the central node; in response to the data broadcasting performed by the central node based on the participant list obtained by the participant information, determine the second feedback information, and send the second feedback information to the central node; after receiving the encrypted second feedback information sent by the central node, process the encrypted second feedback information, and send the processing result of the encrypted second feedback information to the central node, wherein the processing result of the encrypted second feedback information is related to the encrypted first feedback information. Through the above technical means, the problem of low credibility of the data processing results of multi-party secure computing in the prior art is solved, thereby effectively improving the credibility of data transmission.
[0078] Optionally, the generation module 401 is also configured such that the key negotiation private key includes a transmission private key and a perturbation private key, and the key negotiation public key includes a transmission public key and a perturbation public key; digitally sign the transmission public key and the perturbation public key to determine a first signature processing result; and generate a data packet based on the first signature processing result, the transmission public key and the perturbation public key.
[0079] The transmission public key is digitally signed using the transmission private key, the disturbance public key is digitally signed using the disturbance private key, and then the two signature results are concatenated to obtain a first signature processing result.
[0080] Optionally, the second determination module 403 is also configured to generate a first perturbation vector based on a key agreement private key and a key agreement public key; generate a second perturbation vector based on a randomly determined random number; and perform obfuscation processing on the privacy data based on the first perturbation vector and the second perturbation vector to determine the participant information.
[0081] The privacy data is obfuscated based on the first perturbation vector and the second perturbation vector to obtain an obfuscation result. The participant node performs a hash transformation on the obfuscation result to obtain a first verification value. Then the obfuscation result and the first verification value constitute the participant information.
[0082] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure.
[0083] Figure 5 Schematic diagram of an electronic device 5 provided in an embodiment of the present disclosure. Figure 5 As shown, the electronic device 5 of this embodiment includes: a processor 501, a memory 502, and a computer program 503 stored in the memory 502 and executable on the processor 501. When the processor 501 executes the computer program 503, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 501 executes the computer program 503, the functions of the modules / units in the above-mentioned device embodiments are implemented.
[0084] The electronic device 5 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 5 may include, but is not limited to, a processor 501 and a memory 502. Those skilled in the art will appreciate that Figure 5 The electronic device 5 is merely an example and does not limit the electronic device 5 , and may include more or less components than those shown in the figure, or different components.
[0085] The processor 501 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0086] The memory 502 may be an internal storage unit of the electronic device 5, for example, a hard disk or memory of the electronic device 5. The memory 502 may also be an external storage device of the electronic device 5, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 5. The memory 502 may also include both an internal storage unit of the electronic device 5 and an external storage device. The memory 502 is used to store computer programs and other programs and data required by the electronic device.
[0087] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.
[0088] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present disclosure implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, and the computer program code may be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.
[0089] The above embodiments are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should all be included in the protection scope of the present disclosure.
Claims
1. A privacy protection method based on multi-party secure computing, applied to the central node, It is characterized in that The method comprises: Broadcasting data according to a data packet sent by a participant node, wherein the data packet includes: a key negotiation private key and a key negotiation public key of the participant; In response to first feedback information of the participant node on the data broadcast, encrypt the first feedback information and send the encrypted first feedback information to the participant node, wherein the first feedback information includes: a privacy protection result obtained after the participant node performs the encryption process on the data packet; Using the participant information uploaded by the participant node, counting the current number of the participant nodes to obtain a participant list, and sending the participant list to the participant node; In response to the second feedback information of the participant node on the participant list, encrypting the second feedback information to broadcast the data according to the encrypted second feedback information; Data processing is performed on the participant information and the processing result of the encrypted second feedback information uploaded by the participant node to obtain private data corresponding to the participant information, wherein the processing result of the encrypted second feedback information is related to the encrypted first feedback information.
2. The method according to claim 1, It is characterized in that The method of using the participant information uploaded by the participant node to count the current number of the participant nodes to obtain a participant list includes: The participant information includes: an obfuscation processing result and a first verification value; Performing a hash transformation on the obfuscation processing result to obtain a second verification value; Compare the first verification value and the second verification value to see if they are consistent. If they are inconsistent, terminate the current process. If they are consistent, count the current number of the participant nodes to collect the participant list.
3. The method according to claim 1, It is characterized in that The step of performing data processing on the participant information and the processing result of the encrypted second feedback information uploaded by the participant node to obtain the privacy data corresponding to the participant information includes: The matrices corresponding to the participant information and the processing results of the encrypted second feedback information uploaded by the participant node are added together to obtain the privacy data corresponding to the participant information.
4. A privacy protection method based on multi-party secure computing, applied to participating nodes, It is characterized in that The method comprises: Generate a key negotiation private key and a key negotiation public key, generate a data packet based on the key negotiation private key and the key negotiation public key, and send the data packet to a central node; In response to the data broadcasting performed by the central node based on the data packet, first feedback information is determined, and the first feedback information is sent to the central node, wherein the first feedback information includes: a privacy protection result obtained after encrypting the data packet; Determine the participant information based on the privacy data, and send the participant information to the central node; In response to data broadcasting by the central node through a participant list obtained based on the participant information, determining second feedback information, and sending the second feedback information to the central node; After receiving the encrypted second feedback information sent by the central node, the encrypted second feedback information is processed, and the processing result of the encrypted second feedback information is sent to the central node, wherein the processing result of the encrypted second feedback information is related to the encrypted first feedback information.
5. The method according to claim 4, It is characterized in that Generating a data packet based on the key negotiation private key and the key negotiation public key includes: The key negotiation private key includes a transmission private key and a disturbance private key, and the key negotiation public key includes a transmission public key and a disturbance public key; Performing digital signature processing on the transmission public key and the disturbance public key to determine a first signature processing result; The data packet is generated based on the first signature processing result, the transmission public key and the perturbation public key.
6. The method according to claim 4, It is characterized in that The determining of the participant information based on the privacy data includes: Generate a first disturbance vector based on the key agreement private key and the key agreement public key; generating a second perturbation vector based on the randomly determined random number; The private data is obfuscated based on the first perturbation vector and the second perturbation vector to determine the participant information.
7. A privacy protection device based on multi-party secure computing, applied to the central node, It is characterized in that The device comprises: The broadcast module is configured to broadcast data according to the data packet sent by the participant node, wherein the data packet includes: the key negotiation private key and the key negotiation public key of the participant; A first encryption module is configured to, in response to first feedback information of the participant node on the data broadcast, encrypt the first feedback information and send the encrypted first feedback information to the participant node, wherein the first feedback information includes: a privacy protection result obtained after the participant node performs the encryption processing on the data packet; A statistics module is configured to use the participant information uploaded by the participant node to count the current number of the participant nodes to obtain a participant list, and send the participant list to the participant node; A second encryption module is configured to perform the encryption process on the second feedback information of the participant node to the participant list in response to the second feedback information of the participant node, so as to perform the data broadcast according to the encrypted second feedback information; The first processing module is configured to perform data processing on the participant information and the processing result of the encrypted second feedback information uploaded by the participant node to obtain privacy data corresponding to the participant information, wherein the processing result of the encrypted second feedback information is related to the encrypted first feedback information.
8. A privacy protection device based on multi-party secure computing, applied to the participating nodes, It is characterized in that The device comprises: A generation module is configured to generate a key negotiation private key and a key negotiation public key, generate a data packet based on the key negotiation private key and the key negotiation public key, and send the data packet to a central node; A first determination module is configured to determine first feedback information in response to data broadcasting by the central node based on the data packet, and send the first feedback information to the central node, wherein the first feedback information includes: a privacy protection result obtained after encrypting the data packet; A second determination module is configured to determine the participant information based on the privacy data and send the participant information to the central node; a third determining module, configured to determine second feedback information in response to data broadcasting by the central node based on the participant list obtained by the central node based on the participant information, and send the second feedback information to the central node; The second processing module is configured to process the encrypted second feedback information after receiving the encrypted second feedback information sent by the central node, and send the processing result of the encrypted second feedback information to the central node, wherein the processing result of the encrypted second feedback information is related to the encrypted first feedback information.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 or 4 to 6 are implemented.
10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 or 4 to 6 are implemented.
Citation Information
Patent Citations
Data processing method based on trusted execution environment and related device
CN113395159A
Bidding method and system based on privacy protection
CN113888292A
