Multi-party aggregation confidence acquisition method and device, and storage medium
By using a decentralized multi-party aggregation trust enhancement method, encryption noise is generated using a shared base and encryption exponent to encrypt the plaintext of the trust enhancement information, which solves the problems of low computational efficiency and privacy leakage in existing technologies and achieves fast and secure aggregation of trust enhancement information.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-07
- Publication Date
- 2026-04-07
AI Technical Summary
Existing multi-party credit enhancement query methods are computationally inefficient and have limited applicability to data types while protecting privacy, posing risks of data leakage and privacy breaches.
A decentralized approach is adopted, using a shared base and encryption exponent to generate encrypted noise, which is then used to encrypt the plaintext of the participants' trust enhancement information, generating ciphertext of the trust enhancement information, and sending it to the querying party. Finally, the querying party aggregates these ciphertexts to obtain aggregated trust enhancement information.
It enables the rapid acquisition of the sum of all participants' plaintext credit enhancement information without disclosing the plaintext of the participants' credit enhancement information, thus protecting privacy and security, reducing computational complexity and time, and improving the accuracy of aggregated credit enhancement information.
Smart Images

Figure CN116707985B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data security, and in particular to a method, device and storage medium for obtaining multi-party aggregated trust enhancement. Background Technology
[0002] Among existing multi-party credit enhancement query methods, centralized and decentralized methods each have their advantages and disadvantages. Centralized methods require centralized storage of payment records from multiple participants, which poses a risk of data leakage and tampering. Decentralized methods can avoid these risks, but their implementation is more complex, requiring collaboration among all participants to complete data aggregation and computation, which may pose a risk of privacy leakage.
[0003] Multi-party credit enhancement query methods based on secure aggregation technology can achieve data aggregation and computation among multiple participants while protecting privacy, without the need for a centralized credit database. However, current secure aggregation technologies still have some limitations, such as low computational efficiency and numerous restrictions on dataset size and data types, leading to certain limitations in practical applications. Therefore, there is an urgent need to design a new method that can achieve efficient data aggregation and querying while ensuring security. This new method needs to further improve computational efficiency and data type applicability while protecting privacy.
[0004] To address the aforementioned shortcomings, there is an urgent need for a method, device, and storage medium for acquiring multi-party aggregated credit enhancement information, which can quickly acquire multi-party credit enhancement information while ensuring data security. Summary of the Invention
[0005] This application provides a method, device, and storage medium for obtaining multi-party aggregated credit enhancement information, which can quickly obtain multi-party aggregated credit enhancement information while ensuring data security.
[0006] Firstly, this application provides a method for obtaining multi-party aggregated credit enhancement, used for the i-th participant, where i is the participant's sequence number and is a positive integer not greater than N; the method includes:
[0007] Obtain the enhanced query request and shared base number sent by the querying party; send the encryption index r to the querying party. i The credit enhancement query request includes the user's username and is used to request a query for the user's credit enhancement information.
[0008] Obtain the encryption indexes of other participants sent by the querying party, and obtain the encryption noise R based on the common base and the encryption indexes. i ;
[0009] According to the encryption noise R i The user's plaintext security information for the i-th participant is encrypted to obtain the ciphertext E.i The encrypted information E is then sent to the ciphertext. i Send to the querying party; wherein, the encrypted information E is the enhanced information. i The querying party obtains aggregated credit enhancement information, which is the sum of plaintext credit enhancement information of the user from N participating parties.
[0010] In one possible design, the encryption exponent of the other participants is r. j Let j be the sequence number of other participants, j be a positive integer not greater than N, and j not equal to i. The encryption noise R is obtained based on the common base and the encryption exponent. i ,include:
[0011] Based on the common base and the encryption index r i and the encryption index r j Obtain the associated noise R ij Among them, R ij The associated noise between the i-th participant and the j-th participant;
[0012] The noise figure k is obtained based on the sequence number information. ij , where k ij For R ij The noise figure;
[0013] Obtain the associated noise R ij and noise figure k ij The coefficient weighted sum is used as the encryption noise R. i ;
[0014] In one possible design, the noise figure k is obtained based on the sequence number information. ij ,include:
[0015] Obtain the difference between i and j and the absolute value of the difference;
[0016] k is obtained based on the ratio of the difference to the absolute value. ij .
[0017] In one possible design, the encryption index r is based on the common base. i and the encryption index r j Obtain the associated noise R ij ,include:
[0018] Get r i and r j The product of the two is used as the association index between the i-th participant and the j-th participant;
[0019] Using the common base as the base and the correlation index as the exponent, the resulting power is used as the noise parameter for the i-th participant and the j-th participant.
[0020] For the noise parameters Encryption is performed to obtain associated noise R ij .
[0021] In one possible design, the noise parameters Encryption is performed to obtain associated noise R ij ,include:
[0022] Use a hash function to evaluate the noise parameters. Encryption is performed to obtain associated noise R ij .
[0023] In one possible design, the encryption noise R is... i The user's plaintext security information for the i-th participant is encrypted to obtain the ciphertext E. i ,include:
[0024] Based on the user name, retrieve the user's credit enhancement information plaintext M. i ;
[0025] According to the encryption noise R i For the aforementioned enhanced information plaintext M i Noise encryption is performed to obtain the enhanced information ciphertext E. i .
[0026] Secondly, this application provides a method for obtaining multi-party aggregated credit enhancement, for use by the querying party, the method comprising:
[0027] Send credit enhancement query requests and shared baselines to N participating parties; where N is greater than 1; the credit enhancement query request includes the user's username, and the credit enhancement query request is used to request the query of the user's credit enhancement information;
[0028] Obtain the encryption indexes sent by the N participating parties;
[0029] For each participant, send the encryption exponents of the other N-1 parameter parties to that participant;
[0030] Obtain the encrypted information of each of the N participating parties; wherein the encrypted information is obtained by the participating party encrypting the user's plaintext information of the participating party according to the encryption noise, the encryption noise is obtained by the participating party according to the common base and the encryption exponent, and the sum of all the encrypted information is the sum of the user's plaintext information of all the participating parties;
[0031] The aggregated security enhancement information is obtained by adding all the encrypted security enhancement information together.
[0032] Thirdly, this application provides a multi-party aggregation and credit enhancement acquisition device for the i-th participant, where i is a positive integer not greater than N; the device includes:
[0033] The first module obtains the enhanced query request and shared base number sent by the querying party, and sends the encryption index r to the querying party. i The credit enhancement query request includes the user's username and is used to request a query for the user's credit enhancement information.
[0034] The second module obtains the encryption indices of other participants sent by the querying party, and calculates the encryption noise R based on the shared base and the encryption indices. i ;
[0035] The third module is used to determine the encryption noise R. i The user's plaintext security information for the i-th participant is encrypted to obtain the ciphertext E. i The encrypted information E is then sent to the ciphertext. i Send to the querying party; wherein, the encrypted information E is the enhanced information. i The querying party obtains aggregated credit enhancement information, which is the sum of plaintext credit enhancement information of the user from N participating parties.
[0036] Fourthly, this application provides a multi-party aggregated credit enhancement acquisition device for the querying party; the device includes:
[0037] The first sending module is used to send credit enhancement query requests and shared base numbers to N participating parties; wherein, N is greater than 1; the credit enhancement query request includes the user's username, and the credit enhancement query request is used to request to query the user's credit enhancement information;
[0038] The first receiving module is used to obtain the encryption indexes sent by the N participating parties;
[0039] The second sending module is used to send the encryption index of the other N-1 parameter parties to each participant.
[0040] The second receiving module acquires encrypted information of the enhanced information sent by each of the N participating parties; wherein the encrypted information is obtained by the participating party encrypting the user's plaintext of the enhanced information of the participating party according to the encryption noise, the encryption noise is obtained by the participating party according to the common base and the encryption exponent, and the sum of all the encrypted information is the sum of the user's plaintext of the enhanced information of all the participating parties;
[0041] The acquisition module is used to add all the encrypted information of the enhanced information to obtain aggregated enhanced information.
[0042] Fifthly, this application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;
[0043] The memory stores computer-executed instructions;
[0044] The processor executes the computer execution instructions stored in the memory to implement the above-described method for obtaining multi-party aggregated credit enhancement for participating parties or querying parties.
[0045] In a sixth aspect, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used by a participant or querying party for obtaining a multi-party aggregated credit enhancement method.
[0046] This application provides a method, device, and storage medium for obtaining multi-party aggregated security enhancement. Participating parties obtain their own encryption noise based on a shared base and the encryption exponents of other participating parties. They then encrypt the plaintext security enhancement information provided by their party to obtain ciphertext security enhancement information and send it to the querying party. The sum of the ciphertext of their own security enhancement information and the ciphertexts of the other participating parties' security enhancement information is equal to the sum of the plaintext of their own security enhancement information and the plaintext of the other participating parties' security enhancement information, i.e., the aggregated security enhancement information. The following technical effects are achieved:
[0047] The querying party can obtain the sum of the plaintext of the credit enhancement information of all participating parties without obtaining the plaintext of the credit enhancement information of each participating party, thus protecting the privacy and security of each participating party. Furthermore, the participating parties perform noise encryption on the plaintext of the credit enhancement information, which reduces the space complexity caused by using encryption functions to ensure data security and reduces the computation time. At the same time, noise encryption can reduce information loss and improve the accuracy of aggregated credit enhancement information. Attached Figure Description
[0048] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0049] Figure 1 An application scenario diagram illustrating a method for obtaining multi-party aggregated confidence enhancement provided in an embodiment of this application;
[0050] Figure 2 The flowchart of a method for obtaining multi-party aggregated confidence enhancement provided in the embodiments of this application Figure 1 ;
[0051] Figure 3 The flowchart of a method for obtaining multi-party aggregated confidence enhancement provided in the embodiments of this application Figure 2 ;
[0052] Figure 4 The flowchart of a method for obtaining multi-party aggregated confidence enhancement provided in the embodiments of this application Figure 3 ;
[0053] Figure 5 The structure of a multi-party aggregation and confidence enhancement acquisition device provided in this application embodiment Figure 1 ;
[0054] Figure 6 The structure of a multi-party aggregation and confidence enhancement acquisition device provided in this application embodiment Figure 2 ;
[0055] Figure 7 This is a hardware structure diagram of the electronic device provided in the embodiments of this application. Detailed Implementation
[0056] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of devices and methods consistent with some aspects of this application as detailed in the appended claims, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without inventive effort are within the scope of protection of this invention.
[0057] It should be noted that, in the embodiments of this application, the terms "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design scheme described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0058] It should be noted that the terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented, for example, in orders other than those illustrated or described herein.
[0059] It should be noted that "at the time of..." in the embodiments of this application can be either at the instant when a certain situation occurs, or for a period of time after the occurrence of a certain situation. The embodiments of this application do not make specific limitations on this.
[0060] In this application, credit enhancement refers to a credit enhancement measure. For example, if a company (referred to as a user in this application) wants to reduce financing costs, it can choose credit enhancement before taking out a loan. Before taking out a loan, a bank will rate the company and determine the loan interest rate or other preferential policies based on different rating levels. Of course, credit enhancement is not only used for financial loans, but also more broadly used in areas such as tax platforms and government payments.
[0061] Generally, the bank's method for rating a company includes obtaining the company's aggregated credit enhancement information. Aggregated credit enhancement information is the sum of the credit enhancement information of the user in other banks, financial institutions, and payment institutions. That is, the bank, as the inquirer, inquires about the user's aggregated credit enhancement information, while other banks or financial institutions, as participants, provide the user's credit enhancement information with each participant. If used in a payment system, the inquirer and participants are payment institutions of the same type.
[0062] Existing methods for obtaining aggregated credit enhancement information include centralized and decentralized approaches. Centralized methods involve a central entity that obtains credit enhancement information from other participants. The querying party consults the central entity to obtain the aggregated credit enhancement information, requiring a centralized credit database for data storage and computation, and necessitating more equipment, technology, and communication resources. Decentralized methods involve the querying party directly obtaining credit enhancement information from each participant and processing the data to obtain the aggregated credit enhancement information. This requires more robust encryption methods to protect the privacy of all parties, and involves greater computational complexity. Regardless of the method chosen, there is a potential risk of data leakage.
[0063] Figure 1 This diagram illustrates an application scenario for a method for obtaining multi-party aggregated confidence enhancement, as provided in an embodiment of this application. Figure 1The system comprises a query party 110 and N participants 120, where the number of participants N is greater than or equal to 2. The query party 110 needs to obtain credit enhancement information from multiple participants and acquire aggregated credit enhancement information. In this application, the query party 110 obtains the encryption index sent by each participant 120 and sends the obtained encryption index to each participant 120. For each participant 120, after obtaining the encryption index of other participants, it encrypts the plaintext of the user's credit enhancement information at that participant 120 to obtain the ciphertext of the user's credit enhancement information at that participant 120 and sends it to the query party 110. The query party 110 obtains the aggregated credit enhancement information by summing the ciphertexts of the credit enhancement information sent by all participants 120. This application adopts a decentralized method, saving the equipment, technology, communication, and other resources required by centralization; and reduces the space complexity caused by the complexity of previous encryption functions.
[0064] Figure 2 The flowchart of a method for obtaining multi-party aggregated confidence enhancement provided in the embodiments of this application Figure 1 .like Figure 2 As shown, for participant 120, for each participant, this participant is the i-th participant, and the other participants are the j-th participants; where i and j are the sequence information of the participants, i,j = 1, 2, ..., N, and i ≠ j. The method includes:
[0065] S201. Obtain the enhanced query request and shared base number sent by the querying party; send the encryption index r to the querying party. i The credit enhancement query request includes the user's username and is used to request the query of the user's credit enhancement information.
[0066] Specifically, the encryption index is a random number generated by the i-th participant.
[0067] S202. Obtain the encryption index of other participants sent by the querying party, and obtain the encryption noise R based on the common base and the encryption index. i ;
[0068] Specifically, the encryption index of the other party is r. j Therefore, a total of N-1 r values were obtained. j .
[0069] Specifically, the encryption noise R i Used to encrypt the plaintext of the user's information enhancement message to the i-th participant.
[0070] S203, According to the encryption noise R i To obtain the ciphertext E of the user's plaintext security information from the i-th participant, encrypt the security information in plaintext. i The encrypted information E will be used to enhance the security information. i Send to the querying party; wherein, the encrypted information E is the enhanced information. iThis is used by the querying party to obtain aggregated credit enhancement information, which is the sum of plaintext credit enhancement information for the user from N participating parties.
[0071] Specifically, the encrypted information obtained by each participant using this method can achieve the sum of the encrypted information of all participants being equal to the sum of the plaintext information of all participants.
[0072] Specifically, in response, the querying party will retrieve the encrypted information E sent by all participating parties. i The summation yields aggregated information.
[0073] The method provided in this embodiment involves a participating party obtaining its own encryption noise based on a shared base and the encryption exponents of other participating parties. This noise is then used to encrypt the user's plaintext security enhancement information to obtain ciphertext security enhancement information, which is then sent to the querying party. The sum of the ciphertext security enhancement information of the participating party and the ciphertext security enhancement information of other participating parties is equal to the sum of the plaintext security enhancement information of the participating party and the plaintext security enhancement information of other participating parties, i.e., aggregated security enhancement information. This embodiment achieves the following technical effects:
[0074] The querying party can obtain the sum of the plaintext of the credit enhancement information of all participating parties without obtaining the plaintext of the credit enhancement information of each participating party, thus protecting the privacy and security of each participating party. Furthermore, the participating parties perform noise encryption on the plaintext of the credit enhancement information, which reduces the space complexity caused by using encryption functions to ensure data security and reduces the computation time. At the same time, noise encryption can reduce information loss and improve the accuracy of aggregated credit enhancement information.
[0075] Figure 3 The flowchart of a method for obtaining multi-party aggregated confidence enhancement provided in the embodiments of this application Figure 2 .like Figure 3 As shown, for participant 120, for each participant, this participant is the i-th participant, and the other participants are the j-th participants; where i and j are the sequence information of the participants, i,j = 1, 2, ..., N, i is not equal to j. The method includes:
[0076] S301. Obtain the credit enhancement query request and shared data sent by the querying party; wherein, the credit enhancement query request includes the user's username, and the credit enhancement query request is used to request the query of the user's credit enhancement information;
[0077] Specifically, the total base is a random number generated by the querying party;
[0078] Specifically, upon receiving a credit enhancement query request, the credit enhancement information of the user in this participating party can be retrieved from the database by username, i.e., the plaintext credit enhancement information M mentioned below. i The plaintext M that obtains the enhanced information iThe steps can be performed before S302, or after the plaintext M of the enhanced information needs to be processed. i This is performed in time (S308).
[0079] S302, Send the encryption index r to the querying party. i ,
[0080] Specifically, the encryption index is a random number generated by the i-th participant;
[0081] Accordingly, the querying party collects the encrypted indexes sent by all participants and sends the encrypted indexes of other participants to all participants.
[0082] S303, Obtain the encryption index r sent by the querying party from other participating parties. j ,
[0083] Specifically, j is used to indicate the sequence number of other participants, and r j The encryption index obtained by the querying party from the j-th participant;
[0084] S304. Based on the common base and encryption index r i And the encryption index r j Obtain the associated noise R ij ;
[0085] Specifically, obtain r i and r j The product of the two factors is used as the correlation index between the i-th participant and the j-th participant; the common base is used as the base, and the power obtained by using the correlation index as the index is used as the noise parameter between the i-th participant and the j-th participant. Use a hash function to analyze noise parameters Encryption is performed to obtain associated noise R ij The specific calculation formula is as follows:
[0086]
[0087] Where ω is the common base and Hash(·) is the hash function.
[0088] For example, if there are three participants, i=1, then j=2 and 3; the generated encryption index is r1, and the other obtained encryption indices are r2 and r3; substituting i=1, j=2 and i=1, j=3 into the above formula respectively, we can obtain the associated noise R. 12 and associated noise R 13 .
[0089] S305. Obtain the noise figure k based on the serial number information. ij , where k ij For R ij The noise figure;
[0090] Specifically, obtain the difference between i and j and the absolute value of the difference; obtain k based on the ratio of the difference to the absolute value. ij The calculation formula is as follows:
[0091]
[0092] For example, if there are three participants, i=1, then j=2 and 3; then, substituting i=1, j=2 and i=1, j=3 into the above formula respectively, we can obtain k. 12 and k 13 .
[0093] S306. Obtain the associated noise R ij and noise figure k ij The weighted sum of coefficients serves as the encryption noise R for the i-th participant. i ;
[0094] Specifically, the calculation formula is as follows:
[0095]
[0096] S307. The encrypted noise of the i-th participant is used as the plaintext M for enhanced information. i Encryption, obtaining the encrypted information E of the user in the i-th participant. i .
[0097] Specifically, noise encryption is used, that is, the obtained encrypted noise R i With the enhanced information plaintext M i The encrypted information E, which serves as the enhancement message for the i-th participant. i .
[0098] For example, according to the above R i The calculation formula for the encrypted information E is as follows: i The calculation formula is:
[0099]
[0100] S308. Send encrypted information E to the querying party. i .
[0101] Correspondingly, the querying party obtains the encrypted information of the credit enhancement messages acquired by all participating parties, and retrieves the encrypted information of the credit enhancement messages sent by all participating parties (E). i The aggregated credit enhancement information is obtained by summing the plaintext of the credit enhancement information of the other participating parties.
[0102] Specifically, the noise figure k obtained according to the method of this embodiment ij The value is 1 or -1, the purpose of which is to ensure that the sum of the encrypted security information obtained by all participants includes an R.ij and a -R ij Based on the concept of symmetric encryption, the sum of the ciphertexts of the enhanced information obtained by the party is the sum of the plaintexts of the enhanced information of each party, which can effectively protect the data security of each party.
[0103] For example, if N=3, then the encrypted information E1, E2, and E3 obtained by the querying party for all participating parties are as follows:
[0104] E1 = M1 - R 12 -R 13
[0105] E2=M2+R 21 -R 23
[0106] E3 = M3 + R 31 +R 32
[0107] The aggregated security information E obtained by adding the ciphertexts of the security information from the three participating parties is:
[0108] E = M1 + M2 + M3 - R 12 -R 13 +R 21 -R 23 +R 31 +R 32
[0109] According to the above method, it can be concluded that: R ij =R ji Then it can be determined that:
[0110] E = E1 + E2 + E3 = M1 + M2 + M3.
[0111] For example, if N=4, then the encrypted information E1, E2, E3, and E4 obtained by the querying party for all participating parties are as follows:
[0112] E1 = M1 - R 12 -R 13 -R 14
[0113] E2=M2+R 21 -R 23 -R 24
[0114] E3 = M3 + R 31 +R 32 -R 34
[0115] E4 = M4 + R 41 +R 42 +R43
[0116] Then it can be determined that:
[0117] E=E1+E2+E3+E4=M1+M2+M3+M4.
[0118] The method provided in this embodiment involves a participating party obtaining its own encryption noise based on a shared base and the encryption exponents of other participating parties. This noise is then used to encrypt the user's plaintext security enhancement information to obtain ciphertext security enhancement information, which is then sent to the querying party. The sum of the ciphertext security enhancement information of the participating party and the ciphertext security enhancement information of other participating parties is equal to the sum of the plaintext security enhancement information of the participating party and the plaintext security enhancement information of other participating parties, i.e., aggregated security enhancement information. This embodiment achieves the following technical effects:
[0119] The querying party can obtain the sum of the plaintext of the credit enhancement information of all participating parties without obtaining the plaintext of the credit enhancement information of each participating party, thus protecting the privacy and security of each participating party.
[0120] The noise figure k obtained according to the method in this embodiment ij The value is 1 or -1, the purpose of which is to ensure that the sum of the encrypted security information obtained by all participants includes an R. ij and a -R ij Based on the concept of symmetric encryption, the sum of the ciphertext of the enhanced information obtained by the party is the sum of the plaintext of the enhanced information of each party, which can effectively protect the data security of each party.
[0121] Furthermore, the participants perform noise encryption on the plaintext of the credit enhancement information, which reduces the space complexity caused by using encryption functions to ensure data security and reduces the computation time; at the same time, noise encryption can reduce information loss and improve the accuracy of aggregated credit enhancement information.
[0122] Figure 4 The flowchart of a method for obtaining multi-party aggregated confidence enhancement provided in the embodiments of this application Figure 3 This method is used for querying 110, such as... Figure 4 This method includes:
[0123] S401. Send credit enhancement query requests and shared baselines to N participating parties;
[0124] Specifically, the username is the user identifier of the user being queried, and the credit enhancement query request is used to indicate the need to obtain the credit enhancement information of that user;
[0125] Optionally, the participants can be preset participants, that is, N is a fixed value, and each participant includes sequence number information, wherein the sequence number information is a random sort of each participant, and the sequence number information serves as the identifier of the participant.
[0126] Optionally, the participants can also be determined by the users who need to be queried. Before S201, the method of this application also includes: determining the participants and the number of participants (determining the value of N), randomly sorting the N participants from 1 to obtain the corresponding serial numbers, and sending the serial number information to the corresponding participants.
[0127] Specifically, in response, each participant sends a random number generated as its encryption index to the querying party; the encryption index also includes corresponding sequence number information to indicate the identifier of the corresponding participant.
[0128] S402, Obtain the encryption index sent by N participants;
[0129] For example, this embodiment uses three participants as an example, that is, N=3. Participant 120 includes the first participant, the second participant, and the third participant, which will not be described again in the following text;
[0130] Then obtain the encryption index r1 sent by the first participant, the encryption index r2 sent by the second participant, and the encryption index r3 sent by the third participant.
[0131] S403. For each participant, send the encryption index of the other N-1 parameter parties to the participant.
[0132] For example, encryption indices r2 and r3 are sent to the first participant, encryption indices r1 and r3 are sent to the second participant, and encryption indices r2 and r1 are sent to the second participant.
[0133] S404. Obtain the encrypted information of the enhanced information sent by each of the N participating parties; wherein, the encrypted information is obtained by the participating parties by encrypting the user's plaintext of enhanced information in the participating parties according to the encryption noise, the encryption noise is obtained by the participating parties according to the common base and encryption exponent, and the sum of all the encrypted information is the sum of the user's plaintext of enhanced information in all participating parties.
[0134] Specifically, obtain the encrypted information E1 sent by the first participant, the encrypted information E2 sent by the second participant, and the encrypted information E3 sent by the second participant;
[0135] Correspondingly, for each participant, the encrypted information of their enhanced credit is obtained according to the above S304 to S307. Therefore, the sum of E1, E2 and E3 is the sum of the plaintext of the enhanced credit information of the user in all participants. The principle has been explained in the above method and will not be repeated here.
[0136] S405. Add all the encrypted information of the enhanced information together to obtain the aggregated enhanced information.
[0137] Specifically, based on the aforementioned encrypted message E used by participating parties to obtain enhanced information... i The method can determine that: E = E1 + E2 + E3 = M1 + M2 + M3.
[0138] The method provided in this application embodiment is similar in principle and technical effect to the method used by the participating parties described above, and will not be repeated here.
[0139] In this embodiment of the invention, electronic devices or main control devices can be divided into functional modules according to the above method examples. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing unit. The integrated unit can be implemented in hardware or as a software functional module. It should be noted that the module division in this embodiment of the invention is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0140] Figure 5 The structure of a multi-party aggregation and confidence enhancement acquisition device provided in this application embodiment Figure 1 ;like Figure 5 The first device 50 is used for the i-th participant, where i is the participant's sequence number and is a positive integer not greater than N; the first device 50 includes:
[0141] The first module 501 is used to obtain the enhanced query request and shared base number sent by the querying party, and send the encryption index r to the querying party. i The credit enhancement query request includes the user's username and is used to request the query of the user's credit enhancement information.
[0142] The second module 502 obtains the encryption exponents of other participants sent by the querying party, and calculates the encryption noise R based on the common base and the encryption exponent. i ;
[0143] The third module 503 is used to determine the encryption noise R. i To obtain the ciphertext E of the user's plaintext security information from the i-th participant, encrypt the security information in plaintext. i The encrypted information E will be used to enhance the security information. i Send to the querying party; wherein, the encrypted information E is the enhanced information. i This is used by the querying party to obtain aggregated credit enhancement information, which is the sum of plaintext credit enhancement information for the user from N participating parties.
[0144] Furthermore, the second module 502 is specifically used for:
[0145] Based on the common base and encryption index r i And the encryption index r j Obtain the associated noise R ijAmong them, R ij The noise associated between the i-th participant and the j-th participant;
[0146] Obtain the noise figure k based on the serial number information. ij , where k ij For R ij The noise figure;
[0147] Obtain the associated noise R ij and noise figure k ij The weighted sum of coefficients serves as the encryption noise R for the i-th participant. i ;
[0148] Furthermore, the second module 502 is specifically used for:
[0149] Get the difference between i and j and the absolute value of the difference;
[0150] k is obtained from the ratio of the difference to the absolute value. ij .
[0151] Furthermore, the second module 502 is specifically used for:
[0152] Get r i and r j The product of these two factors serves as the correlation index between the i-th participant and the j-th participant.
[0153] Using the common base as the base and the correlation index as the exponent, the resulting power is used as the noise parameter between the i-th participant and the j-th participant.
[0154] For noise parameters Encryption is performed to obtain associated noise R ij .
[0155] Furthermore, the second module 502 is specifically used for:
[0156] Use a hash function to analyze noise parameters Encryption is performed to obtain associated noise R ij .
[0157] Furthermore, the third module 503 is specifically used for:
[0158] Retrieve user's credit enhancement information plaintext M based on user name query i ;
[0159] According to the encryption noise R i For the plaintext M of the enhanced information i Noise encryption is used to obtain the ciphertext E, which provides enhanced information. i .
[0160] This embodiment provides a multi-party aggregation credit enhancement acquisition device, which can execute the above-described multi-party aggregation credit enhancement acquisition method for participating parties. Its implementation principle and technical effect are similar, and will not be described again here.
[0161] Figure 6 The structure of a multi-party aggregation and confidence enhancement acquisition device provided in this application embodiment Figure 2 ;like Figure 6 The second device 60 is used by the querying party; the second device 60 includes:
[0162] The first sending module 601 is used to send credit enhancement query requests and shared base data to N participating parties; where N is greater than 1; the credit enhancement query request includes the user's username and is used to request the query of the user's credit enhancement information;
[0163] The first receiving module 602 is used to obtain the encryption index sent by N participants;
[0164] The second sending module 603 is used to send the encryption index of the other N-1 parameter parties to each participant.
[0165] The second receiving module 604 is used to obtain the encrypted information of the enhanced information sent by each of the N participating parties; wherein, the encrypted information is obtained by the participating parties by encrypting the user's plaintext of the enhanced information of the participating parties according to the encryption noise, the encryption noise is obtained by the participating parties according to the common base and encryption exponent, and the sum of all the encrypted information is the sum of the user's plaintext of the enhanced information of all participating parties.
[0166] The acquisition module 605 is used to add all the encrypted information of the enhanced information to obtain the aggregated enhanced information.
[0167] This embodiment provides a multi-party aggregation and credit enhancement acquisition device, which can execute the above-described multi-party aggregation and credit enhancement acquisition method for the querying party. Its implementation principle and technical effect are similar, and will not be described again here.
[0168] In the aforementioned specific implementation of a multi-party aggregation credit enhancement acquisition device, each module can be implemented as a processor. The processor can execute computer execution instructions stored in the memory, causing the processor to execute the aforementioned multi-party aggregation credit enhancement acquisition method for the participating party or the querying party.
[0169] Figure 7 This is a structural diagram of an electronic device provided in an embodiment of this application. Figure 7 As shown, the electronic device 70 includes at least one processor 701 and a memory 702. The electronic device 70 also includes a communication component 703. The processor 701, memory 702, and communication component 703 are connected via a bus 704.
[0170] In the specific implementation process, at least one processor 701 executes computer execution instructions stored in memory 702, causing at least one processor 701 to execute the urea nozzle unblocking method as executed on the electronic device side as described above.
[0171] The specific implementation process of processor 701 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0172] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0173] The memory may include high-speed RAM, and may also include non-volatile storage (NVM), such as at least one disk storage.
[0174] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0175] The above description of the functions implemented by electronic devices and main control devices has introduced the solutions provided by the embodiments of the present invention. It is understood that, in order to implement the above functions, the electronic device or main control device includes hardware structures and / or software modules corresponding to the execution of each function. By combining the units and algorithm steps of the various examples described in the embodiments of the present invention, the embodiments of the present invention can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the technical solutions of the embodiments of the present invention.
[0176] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method for obtaining multi-party aggregated credit enhancement for participating parties or querying parties.
[0177] The aforementioned computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0178] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in an electronic device or a host device.
[0179] This application also provides a computer program product, comprising: a computer program stored in a readable storage medium, wherein at least one processor of an electronic device can read the computer program from the readable storage medium, and the at least one processor executes the computer program to cause the electronic device to perform the scheme provided in any of the above embodiments.
[0180] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0181] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for obtaining multi-party aggregation-based confidence enhancement, characterized in that, For the i-th participant, where i is the participant's sequence number and is a positive integer not greater than N; the method includes: Obtain the enhanced query request and shared base data sent by the querying party, and send the encryption index r to the querying party. i The credit enhancement query request includes the user's username and is used to request a query for the user's credit enhancement information. Obtain the encryption indexes of other participants sent by the querying party, and obtain the encryption noise R based on the common base and the encryption indexes. i ; According to the encryption noise R i The user's plaintext security information for the i-th participant is encrypted to obtain the ciphertext E. i The encrypted information E is then sent to the ciphertext. i Send to the querying party; wherein, the encrypted information E is the enhanced information. i The querying party obtains aggregated credit enhancement information, which is the sum of plaintext credit enhancement information of the user from N participating parties; The encryption index of the other participating parties is r. j Let j be the sequence number of other participants, j be a positive integer not greater than N, and j not equal to i. The encryption noise R is obtained based on the common base and the encryption exponent. i ,include: Based on the common base and the encryption index r i and the encryption index r j Obtain the associated noise R ij Among them, R ij The noise associated between the i-th participant and the j-th participant; The noise figure k is obtained based on the sequence number information. ij , where k ij For R ij The noise figure; Obtain the associated noise R ij and noise figure k ij The coefficient weighted sum is used as the encryption noise R. i .
2. The method according to claim 1, characterized in that, The noise coefficient k is obtained based on the sequence number information. ij ,include: Obtain the difference between i and j and the absolute value of the difference; k is obtained based on the ratio of the difference to the absolute value. ij .
3. The method according to claim 1, characterized in that, The method based on the common base and the encryption index r i and the encryption index r j Obtain the associated noise R ij ,include: Get r i and r j The product of the two is used as the association index between the i-th participant and the j-th participant; Using the common base as the base and the correlation index as the exponent, the resulting power is used as the noise parameter for the i-th participant and the j-th participant. ij ; For the noise parameters ij Encryption is performed to obtain associated noise R ij .
4. The method according to claim 3, characterized in that, The noise parameters ij Encryption is performed to obtain associated noise R ij ,include: Use a hash function to process the noise parameters. ij Encryption is performed to obtain associated noise R ij .
5. The method according to claim 1, characterized in that, The encryption noise R i The user's plaintext security information for the i-th participant is encrypted to obtain the ciphertext E. i ,include: Based on the user name, retrieve the user's credit enhancement information plaintext M. i ; According to the encryption noise R i For the aforementioned enhanced information plaintext M i Noise encryption is performed to obtain the enhanced information ciphertext E. i .
6. A method for obtaining multi-party aggregation confidence enhancement, characterized in that, For the querying party, the method includes: Send credit enhancement query requests and shared baselines to N participating parties; where N is greater than 1; the credit enhancement query request includes the user's username, and the credit enhancement query request is used to request the query of the user's credit enhancement information; Obtain the encryption indexes sent by N participants; For each of the aforementioned participants, send the encrypted exponents of the other N-1 participants to that participant; Obtain the encrypted information of each of the N participating parties; wherein the encrypted information is obtained by the participating party encrypting the user's plaintext information of the participating party according to the encryption noise, the encryption noise is obtained by the participating party according to the common base and the encryption exponent, and the sum of all the encrypted information is the sum of the user's plaintext information of all the participating parties; Add all the encrypted information of the aforementioned security enhancement information to obtain the aggregated security enhancement information; The encryption index of the other participating parties is r. j Let j be the sequence number of other participants, j be a positive integer not greater than N, and j not equal to i. The encryption noise R is obtained based on the common base and the encryption exponent. i ,include: Based on the common base and the encryption index r i and the encryption index r j Obtain the associated noise R ij Among them, R ij The noise associated between the i-th participant and the j-th participant; The noise figure k is obtained based on the sequence number information. ij , where k ij For R ij The noise figure; Obtain the associated noise R ij and noise figure k ij The coefficient weighted sum is used as the encryption noise R. i .
7. A multi-party aggregation and information enhancement acquisition device, characterized in that, For the i-th participant, where i is a positive integer not greater than N; the device includes: The first module is used to obtain the enhanced query request and shared base number sent by the querying party; and to send the encryption index r to the querying party. i The credit enhancement query request includes the user's username and is used to request a query for the user's credit enhancement information. The second module is used to obtain the encryption indexes of other participants sent by the querying party, and to obtain the encryption noise R of the i-th participant based on the common base and the encryption indexes. i The encryption index of the other participants is r. j Let j be the sequence number of other participants, j be a positive integer not greater than N, and j not equal to i. The encryption noise R is obtained based on the common base and the encryption exponent. i This includes: based on the common base and the encryption index r i and the encryption index r j Obtain the associated noise R ij Among them, R ij The noise is associated between the i-th participant and the j-th participant; the noise coefficient k is obtained based on the sequence number information. ij , where k ij For R ij The noise figure; obtain the associated noise R ij and noise figure k ij The coefficient weighted sum is used as the encryption noise R. i ; The third module is used to determine the encryption noise R. i The user's plaintext security information for the i-th participant is encrypted to obtain the ciphertext E. i The encrypted information E is then sent to the ciphertext. i Send to the querying party; wherein, the encrypted information E is the enhanced information. i The querying party obtains aggregated credit enhancement information, which is the sum of plaintext credit enhancement information from N participating parties.
8. A multi-party aggregation and information enhancement acquisition device, characterized in that, For use by the querying party, the device includes: The first sending module is used to send credit enhancement query requests and shared base numbers to N participating parties; wherein, N is greater than 1; the credit enhancement query request includes the user's username, and the credit enhancement query request is used to request to query the user's credit enhancement information; The first receiving module is used to obtain the encryption indexes sent by the N participating parties; The second sending module is used to send the encryption index of the other N-1 participants to each of the participants; The second receiving module acquires encrypted information of the enhanced information sent by each of the N participating parties; wherein the encrypted information is obtained by the participating party encrypting the user's plaintext of the enhanced information of the participating party according to the encryption noise, the encryption noise is obtained by the participating party according to the common base and the encryption exponent, and the sum of all the encrypted information is the sum of the user's plaintext of the enhanced information of all the participating parties; The acquisition module is used to add all the encrypted information of the enhanced information to obtain aggregated enhanced information; The second receiving module is further configured to: Let the encryption index of the other participants be rj, where j is the sequence number of the other participants, j is a positive integer not greater than N, and j is not equal to i; The step of obtaining the encryption noise Ri based on the common base and the encryption index includes: obtaining the associated noise Rij based on the common base, the encryption index ri, and the encryption index rj; where Rij is the associated noise between the i-th participant and the j-th participant; obtaining the noise coefficient kij based on the sequence number information, where kij is the noise coefficient of Rij; and obtaining the weighted sum of the coefficients of the associated noise Rij and the noise coefficient kij as the encryption noise Ri.
9. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1-5 or 6.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-5 or 6.
11. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, is used to implement the method of any one of claims 1-5 or 6.
Citation Information
Patent Citations
Multi-party joint privacy data processing method and device
CN112989368A
Data processing method and device, equipment, medium and program product
CN114580002A