Information transmission method, system and equipment based on multi-party security computing and medium

By using additive secret sharing processing and random transmission technology in multi-party secure information transmission, the data is divided into multiple shares and reorganized and summarized, which solves the problems of insufficient computing security and low encryption efficiency in the existing technology, and achieves a more efficient and secure multi-party secure information transmission.

CN118764185AActive Publication Date: 2024-10-11HAINAN JIKE TECH CO LTD

Patent Information

Application Number
CN202410958867.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-11
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

Existing multi-party secure information transmission technology cannot guarantee the security of the entire calculation process, and the encryption process is too complex, causing participants' data to be easily leaked and calculation efficiency to slow down.

Method used

By obtaining the number of participants, the submitted data of each participant is divided into parameter number allocation shares through additive secret sharing processing, and the allocation data is divided into several allocation single shares, which are transmitted to the corresponding participants through random transmission. , the participants will reorganize and summarize it after receiving it, and finally transmit it to the aggregator for calculation.

Benefits of technology

It improves the security and computing efficiency of multi-party secure information transmission, ensures the security of participants' private data during transmission, and reduces the impact of the encryption and decryption process on computing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118764185A_ABST
    Figure CN118764185A_ABST
Patent Text Reader

Abstract

The invention discloses an information transmission method, system and device based on multi-party security computing and a medium, and relates to the field of multi-party security information transmission, and the method comprises the following steps: dividing submitted data submitted by each participant into distribution shares of a parameter number through additive secret sharing processing; dividing the distribution data into a plurality of distribution list shares, and transmitting the distribution list shares to the corresponding participants through random transmission; recombining the allocated share to obtain a receiving share; the participant summarizes the received share received by the participant and then transmits the received share to the summarizing party for final calculation; the method is used for solving the problems that the existing multi-party security information transmission technology cannot guarantee the security of the whole calculation process and the encryption process is too complicated, so that data of participants is easy to leak, and the calculation efficiency is slowed down due to encryption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of multi-party secure information transmission, and specifically to an information transmission method, system, device and medium based on multi-party secure computing. Background Art

[0002] Multi-party secure information transmission technology refers to an encryption protocol and communication method that aims to achieve secure information transmission between multiple parties while protecting the privacy and data confidentiality of the participants. This technology is based on cryptography and security protocols and allows multiple parties to communicate and calculate without revealing private data to each other.

[0003] Existing multi-party secure information transmission technology is usually implemented through multi-party secure computing technology, and multi-party secure computing technology cannot guarantee the security of the entire process. Therefore, the transmitted data is encrypted, and the existing multi-party secure information transmission technology uses an overly complex encryption algorithm during encryption, which slows down the efficiency of multi-party secure computing. Multi-party secure computing itself has a certain degree of security, and only needs to ensure the security of data distribution between participants. For example, in the patent application publication number: CN117097468A, a data transmission method, device, equipment and medium based on multi-party secure computing are disclosed. This scheme only transmits information based on the most basic multi-party secure computing technology, and cannot guarantee the security of the entire process of calculation. If someone intercepts all the additive secret fragments, it will cause the private data of the participants to be leaked. The existing multi-party secure information transmission technology also has the problem of being unable to guarantee the security of the entire process of calculation and the encryption process is too complicated, which makes the data of the participants easy to leak and encryption slows down the calculation efficiency. Summary of the invention

[0004] The present invention aims to solve one of the technical problems in the prior art to at least a certain extent, by obtaining the number of participants and marking it as the number of participants, dividing the submitted data submitted by each participant into parameter number allocation shares through additive secret sharing processing, and then dividing the allocation data into several allocation single shares, and transmitting the allocation single shares to the corresponding participants through random transmission. After the participants receive the allocation single shares, they reorganize the allocation single shares to obtain the received shares. Finally, the participants summarize the received shares they receive and transmit them to the aggregating party for final calculation, so as to solve the problems that the existing multi-party secure information transmission technology still cannot guarantee the security of the entire calculation process and the encryption process is too complicated, which makes the data of the participants easy to leak and the encryption makes the calculation efficiency slow.

[0005] To achieve the above objectives, in a first aspect, the present application provides an information transmission method based on multi-party secure computing, comprising the following steps:

[0006] The number of participants is obtained, marked as the number of participants, and the submitted data submitted by each participant is divided into parameter number allocation shares through additive secret sharing;

[0007] Divide the allocation data into a number of allocation order shares, and transmit the allocation order shares to the corresponding participants through random transmission;

[0008] After receiving the allocation order shares, the participants reorganize the allocation order shares to obtain the received shares;

[0009] The participants summarize the shares they receive and transmit them to the aggregator for final calculation.

[0010] Further, the number of participants is obtained, marked as the number of participants, and the submitted data submitted by each participant is divided into parameter number allocation shares through additive secret sharing, including the following sub-steps:

[0011] Get the number of participants, mark it as the number of participants, number the participants, and use the symbol P n Indicates, where n is a positive integer and n is the serial number of P, 1≤n≤m, and m is the number of parameters;

[0012] Obtain the number of digits of the submitted data, and randomly generate (m-1) allocation shares, the number of digits of the allocation shares is equal to the number of digits, and the number of decimal places retained is the same as the submitted data;

[0013] The allocation shares are numbered by the symbol S n Indicates that n is the serial number of S, and only S1 to S exist. m-1 ;

[0014] By formula Calculate S m , where T is the submitted data, S m With S1 to S m-1 Together they constitute the distribution share.

[0015] Furthermore, dividing the allocation data into a plurality of allocation order shares, and transmitting the allocation order shares to corresponding participants by random transmission includes the following sub-steps:

[0016] S n Assign to P n , in S n Transfer to P n Before, first S n Divided into a number of allotment units;

[0017] By randomly transmitting S n Transfer to P n .

[0018] Furthermore, S n Assign to P n , in S n Transfer to P n Before, first S n The division into a number of allocation orders includes the following sub-steps:

[0019] S n The corresponding allocation share is marked as the share to be divided, and each digit in the share to be divided is numbered and represented as NUM in order from left to right. i , where i is a positive integer and i is the sequence number of NUM;

[0020] Starting from i=1, NUM i Convert the binary number to the number of digits, marked as E i , E i The number 0 in the string is randomly replaced by 0 or 1, and the number 1 is randomly replaced by 2 or 3. The resulting string is named the shallow encrypted string.

[0021] Increase the random i-bit number in the shallow encrypted string by 4, and assign a single share to the final string mark bit;

[0022] Increase i by 1 and continue analyzing the allocation order shares until all NUM i Stop after the analysis is completed and get the number of allocated single shares.

[0023] Furthermore, by randomly transmitting S n Transfer to P n The following sub-steps are included:

[0024] Get S n The corresponding allocation order share;

[0025] To P n During transmission, a distribution unit share is randomly selected for transmission each time, and the number of digital digits is transmitted continuously.

[0026] Furthermore, after receiving the allocation order shares, the participants reorganize the allocation order shares to obtain the received shares, including the following sub-steps:

[0027] P n After receiving the allocation order share, mark it as the received order share;

[0028] For any receiving order share, mark each digit in the receiving order share as the receiving judgment number, and use the symbol H j Indicates, where j is a positive integer and j is the serial number of H;

[0029] H jCompare with the first threshold and the second threshold. If H j is less than the first threshold, then the first processed signal is output; if H j If H is greater than or equal to the first threshold and less than the second threshold, the second processing signal is output; j is greater than or equal to the second threshold, outputting a third processing signal;

[0030] If the first processed signal is output, H j If the second processing signal is output, H j If the third processing signal is output, H j Decrease by 4 and compare with the first threshold and the second threshold again;

[0031] For all H j Perform analysis and count the number of times the third processing signal is output, marking it as the number of bit judgments;

[0032] Convert the modified receiving order share into a decimal number and mark it as the share to be grouped;

[0033] The same processing is performed on all receiving single shares to obtain a number of waiting-for-group shares, and the waiting-for-group shares are arranged and combined in order from small to large according to the number of digits judged to obtain the receiving shares.

[0034] Furthermore, the participants aggregate the received shares they receive and transmit them to the aggregator for final calculation, which includes the following sub-steps:

[0035] The participants will receive the number of shares they participated in, calculate the total of the received shares, and mark them as unilateral shares;

[0036] The participants send their unilateral shares to the aggregator, who aggregates and calculates all unilateral shares based on the calculation method preset by the participants to obtain the calculation result;

[0037] Feedback the calculation results to the participants.

[0038] In a second aspect, the present application provides an information transmission system based on multi-party secure computing, including a submission division module, a data allocation module, a receiving reorganization module and a data aggregation module; the submission division module, the data allocation module and the data aggregation module are respectively connected to the receiving reorganization module data;

[0039] The submission partitioning module is used to obtain the number of participants, marked as the number of participants, and divide the submission data submitted by each participant into parameter number allocation shares through additive secret sharing processing;

[0040] The data distribution module is used to divide the distribution data into a number of distribution order shares, and transmit the distribution order shares to the corresponding participants through random transmission;

[0041] The receiving and reorganizing module is used for the participant to reorganize the allocation order shares after receiving the allocation order shares to obtain the received shares;

[0042] The data aggregation module is used by the participants to aggregate the received shares they have received and then transmit them to the aggregation party for final calculation.

[0043] In a third aspect, the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the above method are performed.

[0044] In a fourth aspect, the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the above method are performed.

[0045] Beneficial effects of the present invention: The present invention obtains the number of participants, divides the submitted data submitted by each participant into parameter number allocation shares through additive secret sharing processing, and then divides the allocation data into a number of allocation single shares. The advantage is that in multi-party secure computing, numbers usually belong to the private information of the participants. The submitted data of the participants are first allocated based on the additive secret sharing method of multi-party secure computing. After the allocation is completed, it needs to be transmitted. During the transmission, the allocation shares are divided again and a certain simple encryption is performed. This can not only ensure the security of the private data of the participants during the transmission process, but also minimize the impact of the encryption and decryption process on the efficiency of multi-party secure computing, thereby improving the security of multi-party secure information transmission and the efficiency of multi-party secure computing.

[0046] The present invention transmits the distribution order shares to the corresponding participants through random transmission. After receiving the distribution order shares, the participants reorganize the distribution order shares to obtain the received shares. Finally, the participants summarize the received shares they have received and transmit them to the summarizing party for final calculation. The advantage is that since only the distribution shares are simply encrypted to obtain the distribution order shares, it is necessary to improve the security of the data again during the transmission process. The random transmission method can prevent others from cracking the distribution order shares, thereby further improving the security of multi-party security information transmission and the efficiency of multi-party secure calculation. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 is a functional block diagram of the system of the present invention;

[0048] Figure 2A flow chart of the steps of receiving share reorganization of the present invention;

[0049] Figure 3 A schematic diagram of the relationship between the participants and the aggregator of the present invention;

[0050] Figure 4 is a flow chart of the steps of the method of the present invention;

[0051] Figure 5 A schematic diagram of the structure of the electronic device of the present invention DETAILED DESCRIPTION

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

[0053] Example 1, please refer to Figure 1 As shown, the present application provides an information transmission system based on multi-party secure computing, including a submission division module, a data allocation module, a receiving reorganization module and a data aggregation module; the submission division module, the data allocation module and the data aggregation module are respectively connected to the receiving reorganization module data;

[0054] The submission partitioning module is used to obtain the number of participants, marked as the number of participants, and divide the submission data submitted by each participant into parameter number allocation shares through additive secret sharing processing;

[0055] The submission partitioning module is configured with a submission partitioning strategy, which includes:

[0056] Get the number of participants, mark it as the number of participants, number the participants, and use the symbol P n Indicates, where n is a positive integer and n is the serial number of P, 1≤n≤m, and m is the number of parameters;

[0057] In actual application, the number of participants obtained is 3, that is, m=3, and P1 to P3 are obtained by numbering, 1≤n≤3, which are participant A, participant B and participant C respectively; this embodiment takes the analysis process of participant A participating in multi-party secure computing as an example for illustration, and the analysis process of participant B and participant C is the same as that of participant A; for participant A, the submitted data of participant A obtained are "male proportion: 72.5%" and "female proportion: 27.5%", a total of two submitted data, and in multi-party secure computing, the text part is an interpretation of the data, which is usually not private information, so there is no need to be responsible for its security, and only the digital part is extracted, that is, the submitted data is "72.5" and "27.5";

[0058] Obtain the number of digits in the submitted data, and randomly generate (m-1) allocation shares. The number of digits in the allocation shares is equal to the number of digits, and the number of decimal places retained is the same as the submitted data;

[0059] The allocated shares are numbered by the symbol S n Indicates that n is the serial number of S, and only S1 to S exist. m-1 ;

[0060] By formula Calculate S m , where T is the submitted data, S m With S1 to S m-1 jointly constitute the distribution share;

[0061] In actual applications, only one submitted data is analyzed at a time. For "72.5", the number of digits must include the number of digits after the decimal point, that is, the number of digits is 3. When the allocation order shares are subsequently reorganized, they can be divided according to the number of decimal places in the submitted data; m-1=2 allocation shares are randomly generated, which are 26.8 and 35.7 respectively; S1 is numbered as 26.8, S2 is 35.7, and S3 is calculated as S3=72.5-(26.8+35.7)=10.0, that is, the allocation shares are 26.8, 35.7, and 10.0.

[0062] The data distribution module is used to divide the distribution data into a number of distribution order shares, and transmit the distribution order shares to the corresponding participants through random transmission; the data distribution module includes a transmission division unit and a transmission unit;

[0063] The transmission partitioning unit is used to divide S n Assign to P n , in the S n Transfer to P n Before, first S n Divided into a number of allotment units;

[0064] The transmission partitioning unit is configured with a transmission partitioning strategy, which includes:

[0065] S n The corresponding allocation share is marked as the share to be divided. Each digit in the share to be divided is numbered and expressed as NUM in order from left to right. i , where i is a positive integer and i is the sequence number of NUM;

[0066] Starting from i=1, NUM i Convert the binary number to the number of digits, marked as E i , E i The number 0 in the string is randomly replaced by 0 or 1, and the number 1 is randomly replaced by 2 or 3. The resulting string is named the shallow encrypted string.

[0067] In practical applications, take S1 as an example, S1 = 26.8, the numbering is 2 for NUM1, 6 for NUM2, and 8 for NUM3. Starting from i = 1, i Convert to binary number of digits, that is, convert the number 2 to a 3-digit binary number. However, the maximum value of a single decimal number represented by binary is 1001, which is 4 digits. Therefore, convert the number 2 to a 4-digit binary number. The number of digits will be used only when the number of digits is greater than or equal to 4 digits. If it is less than 4 digits, convert it to a 4-digit binary number. The conversion results in E1=0010, E2=0110, E3=1000. Then convert E i The numbers in are randomly replaced, and the shallow encrypted string is E1=1030, E2=1230, E3=3011;

[0068] Increase the random i-bit number in the shallow encrypted string by 4, and assign a single share to the final string mark bit;

[0069] Increase i by 1 and continue analyzing the allocation order shares until all NUM i Stop after the analysis is completed and get the number of distribution order shares;

[0070] In practical applications, the random i-digit number in the shallow encrypted string is increased by 4 in order to be able to identify the position of the number in the submitted data in the subsequent reorganization, so as to reorganize it and further provide encryption effect; the distribution order shares obtained by random increase are 1430, 1274 and 3455 respectively;

[0071] The transmission unit is used to transmit S n Transfer to P n ;

[0072] The transmission unit is configured with a transmission strategy, which includes:

[0073] Get S n The corresponding allocation order share;

[0074] To P n During transmission, a share of the allocation list is randomly selected for transmission each time, and the number of digital digits is transmitted continuously;

[0075] In actual applications, the allocation order shares corresponding to S1 are 1430, 1270 and 3051 respectively, and are transmitted to P1 three times. Each time a distribution order share is randomly drawn, and the transmitted distribution order shares no longer participate in the drawing, that is, 1430, 1274 and 3455 are transmitted in a shuffled order. However, the submitted data listed in this embodiment comes from participant A, that is, from P1. Therefore, there is no need to transmit S1 to P1 because S1 is already in its local record. P1 only receives S1 from P2 and P3.

[0076] The receiving and reorganizing module is used for the participants to reorganize the allocation order shares after receiving the allocation order shares to obtain the received shares;

[0077] The receiving reorganization module is configured with a receiving reorganization strategy, which includes:

[0078] P n After receiving the allocation order share, mark it as the received order share;

[0079] For any receiving order share, mark each digit in the receiving order share as the receiving judgment number, and use the symbol H j Indicates, where j is a positive integer and j is the serial number of H;

[0080] See also Figure 2 As shown, H j Compare with the first threshold and the second threshold. If H j is less than the first threshold, then the first processed signal is output; if H j If H is greater than or equal to the first threshold and less than the second threshold, the second processing signal is output; j is greater than or equal to the second threshold, outputting a third processing signal;

[0081] If the first processed signal is output, H j If the second processing signal is output, H j If the third processing signal is output, H j Decrease by 4 and compare with the first threshold and the second threshold again;

[0082] For all H j Perform analysis and count the number of times the third processing signal is output, marking it as the number of bit judgments;

[0083] In actual application, in this embodiment, it is not necessary to transmit S1 to P1, but in order to give a specific example of the reorganization strategy, in this embodiment, it is assumed that P1 receives S1; the received single shares are 1274, 3455 and 1430, and for "1274", H1 to H4 are numbered as 1, 2, 7 and 4 respectively, the first threshold is set to 2, and the second threshold is set to 4. The first threshold and the second threshold are used to find 0 and 1 of the binary digits of the received single share; by comparison, "1" is less than the first threshold, and the first processing signal is output, "2" is equal to the first threshold, and the second processing signal is output, "7" and "4" are greater than or equal to the second threshold, and the third processing signal is output, that is, 1 is changed to 0, 2 is changed to 1, 7-4=3, 4-4=0, 3 and 0 are compared with the first threshold and the second threshold again, and 3 is greater than the first threshold and less than the second threshold, and the second processing signal is output, 0 is less than the first threshold, and the first processing signal is output, 3 is changed to 1, and 0 is changed to 0, and H1 to H4 are respectively 0, 1, 1 and 0, and the number of bits judged is 2.

[0084] Convert the modified receiving order share into a decimal number and mark it as the share to be grouped;

[0085] Perform the same processing on all receiving single shares to obtain a number of waiting-for-group shares, and arrange and combine the waiting-for-group shares in the order of the number of digits judged from small to large to obtain the receiving shares;

[0086] In actual applications, the modified receiving single share is 0110, which is converted to a decimal number of 6, and the digit judgment number is 2, that is, the number "6" is in the second place; similarly, "1430" is reorganized into 2, which is in the first place, and "3455" is reorganized into 8, which is in the third place, so the receiving share is 268, but there is a decimal place in the submitted data, so 268 should also be modified to 1 as a decimal, and the actual receiving share is 26.8.

[0087] The data aggregation module is used by the participants to aggregate the received shares they have received and then transmit them to the aggregation party for final calculation;

[0088] The data aggregation module is configured with data aggregation strategies, which include:

[0089] See also Figure 3 As shown, the participant will receive the number of received shares, calculate the sum of the received shares, and mark it as a single-party share;

[0090] The participants send their unilateral shares to the aggregator, who aggregates and calculates all unilateral shares based on the calculation method preset by the participants to obtain the calculation result;

[0091] Feedback the calculation results to the participants;

[0092] In actual applications, there are MPC nodes between the participants and the aggregator to achieve multi-party secure computing; the relationship between the participants and the aggregator is as follows: Figure 3 As shown, the receiving shares of participant A are 26.8, 22.4 and 38.5 respectively. The unilateral share of the participant is calculated to be 87.7. At this time, 87.7 is transmitted to the aggregator for aggregation. By combining the unilateral shares of participants B and C, the average value of the three participants in this data can be obtained. At this time, no one can know or crack the actual submitted data of each participant; the preset calculation method is usually average calculation; through the aggregation of the aggregator, the calculation results of participants A, B and C are: male proportion: 68.2%, female proportion: 31.8%, and the calculation results are fed back to participants A, B and C.

[0093] Example 2, please refer to Figure 4 As shown, the present application provides an information transmission method based on multi-party secure computing, comprising the following steps:

[0094] Step S1, obtaining the number of participants, marked as the number of participants, and dividing the submitted data submitted by each participant into parameter number allocation shares through additive secret sharing processing; Step S1 includes the following sub-steps:

[0095] Step S101, obtain the number of participants, mark it as the number of participants, number the participants, and use the symbol P n Indicates, where n is a positive integer and n is the serial number of P, 1≤n≤m, and m is the number of parameters;

[0096] Step S102, obtaining the number of digits of the submitted data, and randomly generating (m-1) allocation shares, the number of digits of the allocation shares is equal to the number of digits, and the number of decimal places retained is the same as the submitted data;

[0097] Step S103: number the allocated shares, using the symbol S n Indicates that n is the serial number of S, and only S1 to S exist. m-1 ;

[0098] Step S104, by formula Calculate S m , where T is the submitted data, S m With S1 to S m-1 jointly constitute the distribution share;

[0099] Step S2, dividing the allocation data into a number of allocation order shares, and transmitting the allocation order shares to the corresponding participants by random transmission; Step S2 includes the following sub-steps:

[0100] Step S201: n Assign to P n , in S n Transfer to P n Before, first S n Divided into a number of allotment units;

[0101] Step S201 includes the following sub-steps:

[0102] Step S2011: n The corresponding allocation share is marked as the share to be divided. Each digit in the share to be divided is numbered and expressed as NUM in order from left to right. i , where i is a positive integer and i is the sequence number of NUM;

[0103] Step S2012, starting from i=1, NUM i Convert the binary number to the number of digits, marked as E i , E i The number 0 in the string is randomly replaced by 0 or 1, and the number 1 is randomly replaced by 2 or 3. The resulting string is named the shallow encrypted string.

[0104] Step S2013, increasing the random i-digit number in the shallow encrypted string by 4, and assigning a single share to the final string mark bit;

[0105] Step S2014, i is incremented by 1, and the analysis of the allocation order shares continues until all NUM i Stop after the analysis is completed and get the number of distribution order shares;

[0106] Step S202, S n Transfer to P n ;

[0107] Step S202 includes the following sub-steps:

[0108] Step S2021, obtain S n The corresponding allocation order share;

[0109] Step S2022, to P n During transmission, a share of the allocation list is randomly selected for transmission each time, and the number of digital digits is transmitted continuously;

[0110] Step S3, after receiving the allocation order shares, the participants reorganize the allocation order shares to obtain the received shares; Step S3 includes the following sub-steps:

[0111] Step S301, P n After receiving the allocation order share, mark it as the received order share;

[0112] Step S302: for any receiving order share, mark each digit in the receiving order share as a receiving judgment number, using the symbol H j Indicates, where j is a positive integer and j is the serial number of H;

[0113] Step S303: H j Compare with the first threshold and the second threshold. If H j is less than the first threshold, then the first processed signal is output; if H j If H is greater than or equal to the first threshold and less than the second threshold, the second processing signal is output; j is greater than or equal to the second threshold, outputting a third processing signal;

[0114] Step S304: if the first processed signal is output, H j If the second processing signal is output, H j If the third processing signal is output, H j Decrease by 4 and compare with the first threshold and the second threshold again;

[0115] Step S305: for all H j Perform analysis and count the number of times the third processing signal is output, marking it as the number of bit judgments;

[0116] Step S306, converting the modified receiving single share into a decimal number and marking it as a share to be grouped;

[0117] Step S307, performing the same processing on all the received single shares to obtain a number of shares to be grouped, and arranging and combining the shares to be grouped in the order of the number of digits judged from small to large to obtain the received shares;

[0118] Step S4: The participants aggregate the received shares and transmit them to the aggregation party for final calculation. Step S4 includes the following sub-steps:

[0119] Step S401, the participant will receive the number of received shares, calculate the sum of the received shares, and mark it as a single-party share;

[0120] Step S402: The participants send their unilateral shares to the aggregator, and the aggregator aggregates and calculates all unilateral shares based on the calculation method preset by the participants to obtain the calculation result;

[0121] Step S403, feeding back the calculation results to the participants.

[0122] Example 3, please refer to Figure 5 As shown, Figure 5The structural diagram of an electronic device is illustrated, and the electronic device may include: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus. The memory stores computer-readable instructions, and the processor can call the instructions in the memory. When the computer-readable instructions are executed by the processor, the steps in the information transmission method based on multi-party secure computing are executed to achieve the following functions: the submitted data submitted by each participant is divided into parameter-number distribution shares through additive secret sharing processing; the distribution data is divided into several distribution single shares, and the distribution single shares are transmitted to the corresponding participants through random transmission; the distribution single shares are reorganized to obtain the receiving shares; the participants summarize the receiving shares they receive, and then transmit them to the summarizing party for final calculation.

[0123] In addition, the logic instructions in the above-mentioned memory can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.

[0124] Embodiment 4, the present application also provides a computer-readable storage medium, and the present application provides a storage medium on which a computer program is stored. When the computer program is executed by the processor, the steps in the information transmission method based on multi-party secure computing are executed to achieve the following functions: the submitted data submitted by each participant is divided into parameter-number distribution shares through additive secret sharing processing; the distribution data is divided into a number of distribution single shares, and the distribution single shares are transmitted to the corresponding participants through random transmission; the distribution single shares are reorganized to obtain the receiving shares; the participants summarize the receiving shares they receive, and then transmit them to the aggregating party for final calculation.

[0125] Through the description of the above implementation methods, the embodiments of the present invention can be provided as methods, systems or computer program products. Based on such an understanding, the above technical solutions can be essentially or partly contributed to the prior art in the form of software products, which can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and include several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0126] In the embodiments provided in the present application, it should be understood that the disclosed system or method can be implemented in other ways. The embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or units can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of systems, modules and units can be electrical, mechanical or other forms.

[0127] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application 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. However, 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 application.

Claims

1. An information transmission method based on multi-party secure computing, characterized in that: The steps include: The number of participants is obtained, marked as the number of participants, and the submitted data submitted by each participant is divided into parameter number allocation shares through additive secret sharing; Divide the allocation data into a number of allocation order shares, and transmit the allocation order shares to the corresponding participants through random transmission; After receiving the allocation order shares, the participants reorganize the allocation order shares to obtain the received shares; The participants summarize the shares they receive and transmit them to the aggregator for final calculation.

2. The information transmission method based on multi-party secure computing according to claim 1 is characterized in that: The number of participants is obtained, marked as the number of participants, and the submitted data submitted by each participant is divided into parameter number allocation shares through additive secret sharing, including the following sub-steps: Get the number of participants, mark it as the number of participants, number the participants, and use the symbol P n Indicates, where n is a positive integer and n is the serial number of P, 1≤n≤m, and m is the number of parameters; Obtain the number of digits of the submitted data, and randomly generate (m-1) allocation shares, the number of digits of the allocation shares is equal to the number of digits, and the number of decimal places retained is the same as the submitted data; The allocation shares are numbered by the symbol S n Indicates that n is the serial number of S, and only S1 to S exist. m-1 ; By formula Calculate S m , where T is the submitted data, S m With S1 to S m-1 Together they constitute the distribution share.

3. The information transmission method based on multi-party secure computing according to claim 2 is characterized in that: Dividing the allocation data into a number of allocation order shares, and transmitting the allocation order shares to corresponding participants by random transmission includes the following sub-steps: S n Assign to P n , in the S n Transfer to P n Before, first S n Divided into a number of allotment units; By randomly transmitting S n Transfer to P n .

4. The information transmission method based on multi-party secure computing according to claim 3 is characterized in that: S n Assign to P n , in the S n Transfer to P n Before, first S n The division into a number of allocation orders includes the following sub-steps: S n The corresponding allocation share is marked as the share to be divided, and each digit in the share to be divided is numbered and represented as NUM in order from left to right. i , where i is a positive integer and i is the sequence number of NUM; Starting from i=1, NUM i Convert the binary number to the number of digits, marked as E i , E i The number 0 in the string is randomly replaced by 0 or 1, and the number 1 is randomly replaced by 2 or 3. The resulting string is named the shallow encrypted string. Increase the random i-bit number in the shallow encrypted string by 4, and assign a single share to the final string mark bit; Increase i by 1 and continue analyzing the allocation order shares until all NUM i Stop after the analysis is completed and get the number of allocated single shares.

5. The information transmission method based on multi-party secure computing according to claim 4 is characterized in that: By randomly transmitting S n Transfer to P n The following sub-steps are included: Get S n The corresponding allocation order share; To P n During transmission, a distribution unit share is randomly selected for transmission each time, and the number of digital digits is transmitted continuously.

6. The information transmission method based on multi-party secure computing according to claim 5 is characterized in that: After receiving the allocation order shares, the participants reorganize the allocation order shares to obtain the received shares, including the following sub-steps: P n After receiving the allocation order share, mark it as the received order share; For any receiving order share, mark each digit in the receiving order share as the receiving judgment number, and use the symbol H j Indicates, where j is a positive integer and j is the serial number of H; H j Compare with the first threshold and the second threshold. If H j is less than the first threshold, then the first processed signal is output; if H j If H is greater than or equal to the first threshold and less than the second threshold, the second processing signal is output; j is greater than or equal to the second threshold, outputting a third processing signal; If the first processed signal is output, H j If the second processing signal is output, H j If the third processing signal is output, H j Decrease by 4 and compare with the first threshold and the second threshold again; For all H j Perform analysis and count the number of times the third processing signal is output, marking it as the number of bit judgments; Convert the modified receiving order share into a decimal number and mark it as the share to be grouped; The same processing is performed on all receiving single shares to obtain a number of waiting-for-group shares, and the waiting-for-group shares are arranged and combined in order from small to large according to the number of digits judged to obtain the receiving shares.

7. The information transmission method based on multi-party secure computing according to claim 6 is characterized in that: The participants aggregate their received shares and transmit them to the aggregator for final calculation, which includes the following sub-steps: The participants will receive the number of shares they participated in, calculate the total of the received shares, and mark them as unilateral shares; The participants send their unilateral shares to the aggregator, who aggregates and calculates all unilateral shares based on the calculation method preset by the participants to obtain the calculation result; Feedback the calculation results to the participants.

8. An information transmission system based on multi-party secure computing, used to implement the information transmission method based on multi-party secure computing according to any one of claims 1 to 7, characterized in that: It includes a submission division module, a data allocation module, a receiving reorganization module and a data aggregation module; the submission division module, the data allocation module and the data aggregation module are respectively connected to the receiving reorganization module; The submission partitioning module is used to obtain the number of participants, marked as the number of participants, and divide the submission data submitted by each participant into parameter number allocation shares through additive secret sharing processing; The data distribution module is used to divide the distribution data into a number of distribution order shares, and transmit the distribution order shares to the corresponding participants through random transmission; The receiving and reorganizing module is used for the participant to reorganize the allocation order shares after receiving the allocation order shares to obtain the received shares; The data aggregation module is used by the participants to aggregate the received shares they have received and then transmit them to the aggregation party for final calculation.

9. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, the steps in the method according to any one of claims 1 to 7 are executed.

10. A storage medium having a computer program stored thereon, 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 7 are executed.

Citation Information

Patent Citations

  • Encryption transmission method for digital slices

    CN106845122A

  • Login information encryption method and terminal device

    CN107819569A

  • Cloud server login method and device based on image encryption

    CN110336839A

  • Multi-party data security calculation method and device, electronic equipment and storage medium

    CN115964763A

  • Secure multi-party computing method and system based on secret sharing

    CN116248266A

Cited By

  • Early warning information joint generation method, device and equipment and computer readable medium

    CN119475435A