Fully anonymous business processing method and business system based on secure multi-party computing
Through a fully invisible business processing method based on secure multi-party computing, using encrypted object sets and association sets, inadvertent pseudo-random functions and secure multi-party computing frameworks, the data security issues in joint computing are solved, achieving full data anonymity and accurate security. Multi-party calculation.
Patent Information
- Application Number
- CN202411000063.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-24
AI Technical Summary
Existing technology cannot fully ensure data security during the joint computing process. Participants can still obtain specific associated data, and complete data anonymity cannot be achieved.
Adopting a fully anonymized business processing method based on secure multi-party computing, by encrypting object sets and association sets, invoking inadvertent pseudo-random functions and secure multi-party computing frameworks to ensure data security at the data provider and business execution end, and achieve full data anonymity security Multi-party calculation.
While ensuring data security, it also achieves full data anonymity, ensuring that participants cannot directly obtain sensitive data, and achieving accurate and secure multi-party calculations.
Smart Images

Figure CN118520487B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a fully anonymous business processing method and business system based on secure multi-party computing. Background Art
[0002] In the process of business processing, different organizations may store related data for the same target business. In this scenario, different organizations often need to jointly calculate the related data for the same object, such as calculating the total amount of user consumption on two platforms. For the sake of data security, each organization does not want to expose its related data to the other party while performing calculations.
[0003] In related technologies, in order to ensure the security of the data of all parties in the joint calculation, the privacy intersection technology is used, that is, each institution encrypts its own data so that it cannot be obtained or cracked by other participating institutions. However, under this method, the associated data specifically involved in the joint calculation will still be obtained by each participating party, and data security cannot be fully guaranteed.
[0004] Therefore, there is an urgent need for a secure business processing method that can completely anonymize the specific data involved in the joint computing process. Summary of the invention
[0005] In view of this, an embodiment of the present invention provides a service processing method applied to a service execution end to solve the technical defects existing in the prior art.
[0006] According to one aspect of an embodiment of the present invention, a fully-anonymous business processing method based on secure multi-party computing is provided, which is applied to a business execution end, comprising: in response to a business request, obtaining a first object set of a target business and a first association set corresponding to the first object set, and encrypting the first object set to obtain a first encrypted object set; calling an inadvertent pseudo-random function, based on the first encrypted object set input by the business execution end and the encrypted key-value pair input by the data provider end, calculating to obtain a first identification set and a first encrypted shared set, wherein the encrypted key-value pair includes a second encrypted object set obtained by encrypting the second object set of the target business by the data provider end, and a second encrypted object set obtained by encrypting the second association set corresponding to the second object set. An encrypted association set, the identification data in the first identification set corresponds one-to-one with the encrypted association value in the first encrypted sharing set; based on the first association set, the first encrypted sharing set is updated to obtain an updated first encrypted sharing set; the secure multi-party computing framework is called to perform secure multi-party computing based on the first identification set imported by the business execution end and the updated first encrypted sharing set, the second identification set imported by the data provider end, and the second encrypted sharing set to obtain a business processing result, wherein the second encrypted sharing set is constructed by the data provider end based on the second identification set and the key data set used to encrypt the second association set, and the identification data in the second identification set corresponds one-to-one with the key data in the second encrypted sharing set.
[0007] In one embodiment of the present invention, for a data provider, before calling the secure multi-party computing framework, the data provider encrypts the second object set into a second encrypted object set, encrypts the second association set into a second encrypted association set, and then sends the encrypted key-value pair including the second encrypted object set and the second encrypted association set to the business execution end, so that the business execution end cannot directly obtain the second object set and the second association set, thereby ensuring data security of the data provider. For the business execution end, before calling the secure multi-party computing framework, the first object set is encrypted to obtain the first encrypted object set, and the first association set is updated in the first encrypted shared set, so that when calling the secure multi-party computing framework, the data provider cannot directly obtain the first object set and the first association set, thereby ensuring data security of the business execution end. At the same time, when calling the secure multi-party computing framework, the first identification set imported by the business execution end and the updated first encryption sharing set, the second identification set imported by the data provider end and the second encryption sharing set including the key set are received. Since the identification data in the first identification set corresponds one-to-one with the encryption associated value in the first encryption sharing set, and the identification data in the second identification set corresponds one-to-one with the key data in the second encryption sharing set, the matching relationship between the key data and the encryption associated value is determined, and the true first associated value and the second associated value are obtained, thereby realizing accurate secure multi-party computing based on the first associated value and the second associated value while ensuring the complete anonymity of the data. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 is a process schematic diagram of an inadvertent pseudo-random function provided by an embodiment of the present invention;
[0009] Figure 2 is a process schematic diagram of an inadvertently programmable pseudo-random function provided by one embodiment of the present invention;
[0010] Figure 3 This is an interactive schematic diagram of a fully anonymous business system based on secure multi-party computing provided by an embodiment of the present invention;
[0011] Figure 4 It is a flowchart of a first method for processing a fully anonymous service based on secure multi-party computing provided by an embodiment of the present invention;
[0012] Figure 5 is a flowchart of a second method for processing fully anonymous services based on secure multi-party computing provided by an embodiment of the present invention;
[0013] Figure 6 is a flowchart of a third method for processing fully anonymous services based on secure multi-party computing provided by an embodiment of the present invention;
[0014] Figure 7 It is a process flow chart of a method for processing a fully anonymous service based on secure multi-party computing provided by an embodiment of the present invention;
[0015] Figure 8 It is a process flow chart of another method for processing a fully anonymous service based on secure multi-party computing provided by an embodiment of the present invention;
[0016] Fig. 9 It is a structural diagram of a fully anonymous service processing device based on secure multi-party computing provided by an embodiment of the present invention;
[0017] Fig.10 It is a structural diagram of another fully anonymous service processing device based on secure multi-party computing provided by an embodiment of the present invention;
[0018] Fig.11 It is a structural block diagram of a computing device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0019] First, the terms involved in one or more embodiments of the present invention are explained.
[0020] OPRF: Oblivious Pseudorandom Function. Figure 1 As shown, Figure 1OPRF is a process diagram of an oblivious pseudo-random function provided by an embodiment of the present invention. OPRF is a two-party protocol, in which the second terminal holds a key k of a pseudo-random function (PRF) and the first terminal holds an input x. The goal of the protocol is to allow the first terminal to obtain the output f(k, x) of the PRF on k and x, while the second terminal does not obtain any information.
[0021] OPPRF: Oblivious Programmable Pseudo-Random Function, programmable pseudo-random function. Figure 2 As shown, Figure 2 is a schematic diagram of a process of an inadvertently programmable pseudo-random function provided by an embodiment of the present invention. OPPRF is also a two-party protocol. The second terminal inputs a set of key-value pairs {(y i ,y i ^ )}, the receiver enters the query value x, if it matches the input key y i The same, that is, if x∈Y, then the corresponding key value y is obtained i ^ , if they are different, random values are obtained.
[0022] Cuckoo hash table: that is, cuckoo hash. In this specification, unless otherwise specified, the subscript i usually indicates the element number in a set or vector, the subscript j usually indicates the number of the hash function, and the subscripts k and h usually indicate the number of the first associated values corresponding to the first object and the number of the second associated values corresponding to the second object.
[0023] In view of the above problems, the present invention provides a business processing method based on secure multi-party computing and fully anonymously applied to the business execution end. One or more embodiments of the present invention also involve a business processing method based on secure multi-party computing and fully anonymously applied to the data provider end, a business processing method based on secure multi-party computing and fully anonymously applied to the business system, a business processing device based on secure multi-party computing and fully anonymously applied to the business execution end, a business processing device based on secure multi-party computing and fully anonymously applied to the data provider end, a business system based on secure multi-party computing and fully anonymously applied to the business execution end, a computing device, a computer-readable storage medium and a computer program product, which are described in detail one by one in the following embodiments.
[0024] See also Figure 3 , Figure 3It is an interactive schematic diagram of a fully anonymous business system based on secure multi-party computing provided by an embodiment of the present invention, which specifically includes a business execution end 100 and a data providing end 200. The business execution end 100 is used to respond to a business request, obtain a first object set of the target business and a first association set corresponding to the first object set, and encrypt the first object set to obtain a first encrypted object set; the data provider 200 is used to respond to the business request, obtain a second object set of the target business and a second association set corresponding to the second object set; encrypt the second object set to obtain a second encrypted object set, and based on a second identification set and a key data set generated by random numbers, encrypt the second association set to obtain a second encrypted association set; an encryption key-value pair constructed based on the second encrypted object set and the second encrypted association set; the business execution end 100 is also used to wait for the data provider 200 to call an inadvertent random function while the data provider 200 constructs the encryption key-value pair, and call the inadvertent pseudo-random function to input the first encrypted object set while the data provider 200 calls the inadvertent pseudo-random function; the data provider 200 is also used to call the inadvertent pseudo-random function to input the encryption key-value pair; the business execution end 100 is also used to obtain a first identification output by the inadvertent pseudo-random function The business execution end 100 is further used to update the first encryption sharing set based on the first association set to obtain an updated first encryption sharing set; the data providing end 200 is further used to construct a second encryption sharing set based on the second identification set and the key data set, wherein the identification data in the second identification set corresponds one-to-one to the key data in the second encryption sharing set; the business execution end 100 is further used to call the secure multi-party computing framework to import the first identification set and the updated first encryption sharing set; the data providing end 200 is further used to wait for the business execution end 100 to call the secure multi-party computing framework while the business execution end 100 updates the first encryption sharing set, and when detecting that the business execution end 100 calls the secure multi-party computing framework, call the secure multi-party computing framework to import the second identification set and the second encryption sharing set; the business execution end 100 is further used to obtain a business processing result obtained by secure multi-party computing under the secure multi-party computing framework.
[0025] Through this business system, for the data provider, before calling the secure multi-party computing framework, the data provider encrypts the second object set into the second encrypted object set, encrypts the second association set into the second encrypted association set, and then sends the encrypted key-value pair including the second encrypted object set and the second encrypted association set to the business execution end, so that the business execution end cannot directly obtain the second object set and the second association set, thereby ensuring the data security of the data provider. For the business execution end, before calling the secure multi-party computing framework, the first object set is encrypted to obtain the first encrypted object set, and the first association set is updated in the first encrypted shared set, so that when calling the secure multi-party computing framework, the data provider cannot directly obtain the first object set and the first association set, thereby ensuring the data security of the business execution end.
[0026] At the same time, when calling the secure multi-party computing framework, the first identification set imported by the business execution end and the updated first encryption sharing set, the second identification set imported by the data provider end and the second encryption sharing set including the key set are received. Since the identification data in the first identification set corresponds one-to-one with the encryption associated value in the first encryption sharing set, and the identification data in the second identification set corresponds one-to-one with the key data in the second encryption sharing set, the matching relationship between the key data and the encryption associated value is determined, and the true first associated value and the second associated value are obtained, thereby realizing accurate secure multi-party computing based on the first associated value and the second associated value while ensuring the complete anonymity of the data.
[0027] See also Figure 4 , Figure 4 It is a flowchart of a first fully anonymous service processing method based on secure multi-party computing provided by an embodiment of the present invention, which specifically includes the following steps.
[0028] Step 402: In response to a service request, a first object set of a target service and a first association set corresponding to the first object set are acquired, and the first object set is encrypted to obtain a first encrypted object set.
[0029] The first object set includes at least one identification field or a unique identifier, such as a user ID, a product number, etc., which is used to uniquely identify an entity or object in the business execution end. The first association set includes association data of an entity or object in the business execution end, such as specific information of a user, attributes of a product, etc.
[0030] Specifically, since the object data in the first object set is often obtained by the data provider in the secure multi-party computing process, in order to ensure that the first object data in the first object set is not obtained by the data provider in the subsequent business processing process, the first object set needs to be encrypted, including: the business execution end obtains the first object data related to the target business from the data source according to the business request received from the target business to form a first object set, and then the first associated data associated with the first object data form a first associated set, and encrypts the first object set to obtain a first encrypted object set. There can be various processes for encrypting the first object set to obtain the first encrypted object set, such as hash calculation, asymmetric encryption algorithm, etc.
[0031] In actual applications, the first object set is a user set stored in the business execution end, and the first association set is the consumption data of each user. The business execution end will obtain each user identifier from the data source to form the first object set according to the business request for calculating the total consumption of all users received, and then form the consumption records of each user end into the first association set, and encrypt the first object set through a hash algorithm to obtain a first encrypted object set.
[0032] Furthermore, encrypting the first object set to obtain a first encrypted object set includes: constructing a hash table using a cuckoo hash strategy based on the first object set and multiple hash functions to obtain the first encrypted object set.
[0033] Specifically, since the object data in the first object set is often obtained by the data provider in the secure multi-party computing process, in order to ensure that the first object data in the first object set is not obtained by the data provider in the subsequent business processing process, the first object set can be encrypted by the cuckoo hash strategy, including: selecting a preset number of hash functions Hi, calculating the hash processing results H of the object data x in the first object set under each hash function i (x), put the hash processing result into the cuckoo hash table H i (x) mod σ, where σ is the length of the cuckoo hash table. If there are other elements at this position, extract the other elements and re-cuckoo hash them until all the hash processing results corresponding to the first object x are inserted into the cuckoo hash table. The cuckoo hash table (hereinafter referred to as Tx) is used as the first encryption object set.
[0034] Based on this, constructing a hash table through the cuckoo hash strategy can effectively solve the hash collision problem, improve the search efficiency, and finally obtain the first encrypted object set. This method is usually used to efficiently implement hash data structures and is suitable for scenarios where elements need to be frequently searched and inserted.
[0035] Step 404: Call an inadvertent pseudo-random function to calculate a first identification set and a first encrypted sharing set based on a first encrypted object set input by a business execution end and an encrypted key-value pair input by a data provider end, wherein the encrypted key-value pair includes a second encrypted object set obtained by encrypting a second object set of a target business by the data provider end, and a second encrypted association set obtained by encrypting a second association set corresponding to the second object set, and the identification data in the first identification set corresponds one-to-one to the encrypted association value in the first encrypted sharing set.
[0036] The second object set includes at least one identification field or a unique identifier, such as a user ID, a product number, etc., which is used to uniquely identify an entity or object in the data provider. The second association set includes association data of the entity or object in the data provider, such as user specific information, product attributes, etc. The identification data in the first identification set can be any identification. The encryption method of the first encrypted object set is the same as the encryption method of the second encrypted object set.
[0037] Specifically, since the object data in the second object set is often obtained by the business execution end during the secure multi-party computing process, in order to ensure that the second object data in the second object set is not obtained by the business execution end during the subsequent business processing process, it is necessary to encrypt the second object set, and add identification data to record the encrypted second object set, so that the encrypted object data in the second object set can still correspond to the second encrypted associated data in the second encrypted association set, including: the data provider first encrypts the associated data of the second object into an encrypted associated value, composes a second encrypted association set according to the encrypted associated value, encrypts the second object set into a second encrypted object set, constructs an identification data set, and compares the identification data in the identification data set with the second encrypted associated data in the second encrypted association set. The encrypted object data in the two encrypted object sets correspond one to one, and an encrypted key-value pair is constructed based on the second encrypted object set, the second encrypted association set and the identification data set and sent to the business execution end. Since the encryption method of the first encrypted object set is the same as the encryption method of the second encrypted object set, when the object data in the first object set is the same as the object data in the second object set, the encrypted object data in the first encrypted object set is also the same as the encrypted object data in the second encrypted object set. Therefore, the first encrypted object data can be used as a query value to query the second encrypted association value and identification data corresponding to the second encrypted object data equal to the first encrypted object data in the encrypted key-value pair to form the first identification set and the first encrypted shared set. The identification data can be generated by a random number, so that the business execution end cannot know which second object the identification data specifically identifies based on the identification data.
[0038] In practical applications, following the above example, the second object set is the user set stored by the data provider, and the second association set is the consumption data of each user. The data provider first encrypts the consumption data of the second user into an encrypted consumption value, forms a second encrypted consumption set based on the encrypted consumption value, encrypts the second user list into a second encrypted user set, constructs an identification data set by generating pseudo-random numbers, and corresponds the identification data in the identification data set to the encrypted user data in the second encrypted user set one by one. An encrypted key-value pair is constructed based on the second encrypted user set, the second encrypted consumption set, and the identification data set, and sent to the business execution end, so that the business execution end uses the first encrypted user data as the query value, and queries the second encrypted consumption value and identification data corresponding to the second encrypted user data that is equal to the first encrypted user data in the encrypted key-value pair to form the first identification set and the first encrypted shared set.
[0039] Further, an oblivious pseudo-random function is called to calculate and obtain a first identification set and a first encrypted shared set based on a first encrypted object set input by a business execution end and an encrypted key-value pair input by a data provider end, including: calling an oblivious pseudo-random function to obtain an obfuscated data set based on the first encrypted object set input by the business execution end; receiving a data encoding set sent by a data provider end, wherein the data encoding set is an obfuscated data set obtained by the data provider end using an intermediate key obtained by calling the oblivious pseudo-random function to perform obfuscation processing on the encrypted key-value pair, and calling an encoding strategy of an oblivious key-value pair storage structure to encode the obfuscation processing result; calling a decoding strategy of an oblivious key-value pair storage structure to decode and obtain a target shared set based on the obfuscated data set and the data encoding set; and splitting the target shared set to obtain a first identification set and a first encrypted shared set.
[0040] Specifically, in order to prevent the encrypted key-value pair from being directly obtained by the business execution end, the data provider end needs to further encrypt the encrypted key-value pair so that the business execution end can query the target shared set in the encrypted key-value pair but cannot obtain the specific encrypted key-value pair, including: the business execution end and the data provider end call the oblivious pseudo-random function at the same time to perform obfuscation processing on the first encrypted object set, so that the business execution end obtains an obfuscated data set and the data provider end obtains an intermediate key. The data provider end performs obfuscation processing on the encrypted key-value pair according to the intermediate key to obtain an obfuscated processing result, and then calls the encoding strategy of the obfuscated key-value pair storage structure to encode the obfuscated processing result to obtain a data encoding set, and sends the data encoding set to the business execution end. Since the intermediate keys for obfuscating the first encrypted object set and the encryption key-value pair are the same, the business execution end can deobfuscate the query results in the data encoding set based on the obfuscated data set to obtain the target shared set, and then split the target shared set into a first identification set and a first encrypted shared set.
[0041] In practical applications, following the above example, taking the first encrypted object set as Y` as an example, the business execution end calls the OPRF function to obtain the obfuscated data set f(k, Tx), the data provider end calls the OPRF function to obtain the intermediate key k, and the data provider end performs obfuscation processing on the encrypted key-value pair based on k to obtain the obfuscation processing result M=L⊕f(k, Y`), where L is the shared set, including the identification data set and the first encrypted shared set. The data provider end calls OKSV encode(M) to obtain the data encoding set P and sends it to the business execution end. The business execution end calls OKSV encode(Tx) to obtain the obfuscation result L⊕f(k, Y`) corresponding to Tx, and then calculates based on f(k, Tx) and L⊕f(k, Y`) to obtain the target shared set L. Because Tx and Y` are encrypted in the same way, f(k, Tx) and f(k, Y`) are also the same when the first object and the second object are the same, and they can offset each other in the XOR operation so that the business execution end obtains the target shared set.
[0042] Based on this, the process of calculating and obtaining the first identification set and the first encryption sharing set from the first encryption object set input from the business execution end and the encryption key value pair input from the data provider end can be realized. These operations can increase the security of data, protect the privacy of data, and ensure the reliability of data transmission and processing.
[0043] Step 406: Based on the first association set, the first encryption sharing set is updated to obtain an updated first encryption sharing set.
[0044] The updated first encryption sharing set includes a first encryption association set and a second encryption association set.
[0045] Specifically, since the intersection of the first association set and the second association set is often obtained by the data provider, it is necessary to encrypt and update the first association set to the first encrypted shared set, so that the subsequent data provider cannot obtain the first association set by excluding the second encrypted association set from the first encrypted shared set when calling the secure multi-party computing framework. It includes: the business execution end first encrypts the associated data of the first object into an encrypted associated value, and updates the encrypted associated value of the first object to the first encrypted shared set. The encryption method of the first object set can include random number obfuscation and other methods.
[0046] In actual applications, following the above example, the business execution end encrypts the consumption data of the first user into encrypted consumption data, and updates the encrypted consumption data of the first user into the first encrypted shared set.
[0047] Furthermore, based on the first association set, the first encrypted shared set is updated to obtain an updated first encrypted shared set, including: encrypting the first association set to obtain the first encrypted association set; based on the first identification set, determining a target filling position corresponding to the first encrypted association set in the first encrypted shared set; filling the first encrypted association set to the target filling position to obtain an updated first encrypted shared set.
[0048] Specifically, during the filling process of the first encryption sharing set, it is necessary to ensure that the first encryption association set is added to the position corresponding to the corresponding second encryption association set, so that the MPC (Secure Multi-Party Computation) framework can simultaneously obtain the first association value and the second association value of the same object and perform secure multi-party computation when performing secure multi-party computation subsequently, including: encrypting the first encryption association set to obtain the first encryption association set, determining, based on the first identification set, which second encryption association set has the same object as the first encryption association set, determining the rear of the second encryption association set corresponding to the object as the filling position, and filling the first encryption association set into the filling position.
[0049] In actual applications, using the above example, the business execution end uses the hash index relationship of Tx, that is, the following formula:
[0050] , where mMaping[i] represents the position of the i-th item X in the cuckoo hash table. Take idx=mMaping[i] and fill the idx-th item in the first encrypted shared set with X ~ ⊕T,X ~ ={(x ~ i,1 , …, y ~ 1,k ),…,(x ~ n,1 , …, y ~ n,k )}, is the first association set, X ~ ⊕T is the first encrypted association set, and the items that are not idx are filled with random numbers. Finally, the updated encrypted shared set is obtained.
[0051] Based on this, encryption, alignment and update of related data sets are achieved to ensure the relevance and correctness of the data structure. This series of operations can improve the confidentiality and integrity of data, while ensuring that the logical relationship and order of each object data and related data in the entire business system are correctly maintained.
[0052] Further, encrypting the first association set to obtain the first encrypted association set includes: obtaining a random number seed; generating a random number set based on the random number seed; and encrypting the first association set based on the random number set to obtain the first encrypted association set.
[0053] Specifically, since the intersection of the first association set and the second association set is often obtained by the data provider, it is necessary to encrypt and update the first association set to the first encrypted shared set, including: the business execution end obtains a random number seed and generates a random number set based on the random number seed, encrypts the first association data in the first association set with the random number decibel in the random number set, and obtains the first encrypted association set.
[0054] In actual applications, using the above example, the business execution end generates a random number vector T = (t1, ..., t i ), with a size of σ, based on T for the first associated set X ~ Encrypt to obtain the first encrypted association set X ~ ⊕T.
[0055] Based on this, a random number seed is obtained to generate a random number set, and these random numbers are used to encrypt the first association set, thereby ensuring the security and confidentiality of the data. The introduction of random numbers increases the randomness of data encryption and improves the effect of data protection.
[0056] Furthermore, after generating a random number set based on the random number seed, the method further includes: sending the random number set to a data provider, wherein the random number set is used by the data provider to update the second encryption shared set based on the random number set.
[0057] Specifically, in order to ensure that the subsequent secure multi-party computing framework can decrypt the first encrypted association set to obtain a specific first association set, the random number seed is sent to the data provider as a key, so that the data provider updates the random number set corresponding to the random number seed in the second encrypted shared set.
[0058] In actual applications, following the above example, the business execution end sends the random number seed corresponding to T to the data provider end, and the data provider end fills label_share1 according to T to obtain label_share1=(w i,1 , ..., w i,h , t i,1 , ..., t i,k ).
[0059] Based on this, since the second encryption sharing set is a key set, by updating the second encryption sharing set, the data anti-attack capability can be improved to ensure that the data is not stolen or tampered with during transmission and storage.
[0060] Step 408: Call the secure multi-party computing framework to perform secure multi-party computing based on the first identification set imported by the business execution end and the updated first encryption sharing set, and the second identification set and the second encryption sharing set imported by the data provider end, to obtain the business processing result, wherein the second encryption sharing set is constructed by the data provider end based on the second identification set and the key data set used to encrypt the second association set, and the identification data in the second identification set corresponds one-to-one to the key data in the second encryption sharing set.
[0061] The second encryption sharing set is a key set corresponding to the updated first encryption sharing set, and is used to decrypt the encrypted associated data in the updated first encryption sharing set into a first associated value and a second associated value. The second identification set is the aforementioned identification data set.
[0062] Specifically, directly importing the updated data in the first encrypted shared set into the secure multi-party computing framework will greatly increase the computational complexity and amount of computation because the encrypted first associated value and the second associated value cannot achieve data alignment. In order to improve the computational efficiency, the business execution end imports the first identification set and the updated first encrypted shared set into the secure multi-party computing framework, and the data provider imports the second identification set and the second encrypted shared set into the secure multi-party computing framework. Since the first identification set is essentially a subset of the second identification set, it is a set of identification data corresponding to the first encrypted object data and the second encrypted object data obtained by the business execution end from the encryption key-value pair according to whether the first encrypted object data and the second encrypted object data are the same. Therefore, when the first identification data and the second identification data are the same, data alignment is completed, indicating that the first encrypted shared data corresponding to the first identification data corresponds to the second encrypted shared data indicated by the second identification data. The secure multi-party computing framework can decrypt the first encrypted shared data according to the second encrypted shared data, obtain the first associated data and the second associated data of the same object, and perform secure multi-party computing.
[0063] In actual applications, the above example is used. The business execution end imports the first identification set and the updated first encrypted shared set into the secure multi-party computing framework, and the data provider end imports the second identification set and the second encrypted shared set into the secure multi-party computing framework. Since the first identification set is essentially a subset of the second identification set, it is a set of identification data corresponding to the first encrypted user data and the second encrypted user data obtained by the business execution end from the encryption key-value pair based on whether the first encrypted user data and the second encrypted user data are the same. Therefore, when the first identification data and the second identification data are the same, data alignment is completed, indicating that the first encrypted shared data corresponding to the first identification data corresponds to the second encrypted shared data indicated by the second identification data. The secure multi-party computing framework can decrypt the first encrypted shared data according to the second encrypted shared data, obtain the first consumption data and the second consumption data of the same user, and perform secure multi-party computing.
[0064] Furthermore, before calling the secure multi-party computing framework and performing secure multi-party computing based on the first identification set and updated first encryption sharing set imported by the business execution end, and the second identification set and second encryption sharing set imported by the data provider end, and obtaining the business processing result, it also includes: obtaining encryption parameters used to encrypt the first object set; sending the encryption parameters to the data provider end, wherein the encryption parameters are used by the data provider end to encrypt the second object set of the target business based on the encryption parameters to obtain a second encrypted object set.
[0065] Specifically, since the object data in the second object set is often obtained by the business execution end during the secure multi-party computing process, in order to ensure that the second object data in the second object set is not obtained by the business execution end during the subsequent business processing process, the second object set needs to be encrypted, including: after or while encrypting the first object set, the business processing end sends the encryption parameters of the first object set to the data provider end, so that the data provider end encrypts the second object set based on the same encryption parameters to obtain a second encrypted object set.
[0066] In actual applications, following the above example, the service processing end encrypts the first object set or at the same time as encrypting the first object set. i (x) and the length σ of the cuckoo hash table are sent to the data provider, so that the data provider can calculate the value of the second object set Y={y1,…,y n} i With the hash function H j Calculate H j (y i ), based on H j (y i ) Construct the vector Y`={H j (y i )}, and take Y` as the second encryption object set.
[0067] Based on this, the consistency and reliability of encryption operations of data in different links are guaranteed, so that the subsequent business execution end can query whether the first encryption object set is the same as the second encryption object set.
[0068] Furthermore, a secure multi-party computing framework is called to perform secure multi-party computing based on the first identification set and the updated first encrypted shared set imported by the business execution end, and the second identification set and the second encrypted shared set imported by the data provider end, to obtain a business processing result, including: obtaining business parameters of the target business, and encrypting the business parameters to obtain encrypted business parameters; calling a secure multi-party computing framework to perform secure multi-party computing based on the encrypted business parameters imported by the business execution end, the first identification set and the updated first encrypted shared set, and the second identification set and the second encrypted shared set imported by the data provider end, to obtain first business result fragments; receiving the second business result fragments sent by the data provider end, and restoring the business processing result of the target business based on the first business result fragments and the second business result fragments.
[0069] Specifically, in order to ensure the security of privacy data in the process of processing business data and avoid the risk of data leakage in the process of data collaboration, secure multi-party computing is implemented between the data provider and the business execution end, and the encrypted business parameters and identification sets are calculated to obtain the final business processing result without leaking data. The process of the business execution end calling the secure multi-party computing framework for specific calculations includes: the business execution end imports the first identification set and the updated first encrypted shared set, the data provider end imports the second identification set and the second encrypted shared set, and prepares for secure multi-party computing. The business execution end imports the first identification set and the updated first encrypted shared set, the data provider end imports the second identification set and the second encrypted shared set, and prepares for secure multi-party computing. Based on the encrypted business parameters, the updated first encrypted shared set and the second encrypted shared set, the secure multi-party computing framework is called to calculate and obtain the first business result fragment. The data provider sends the second business result fragment to the business execution end, and the business execution end performs data processing and calculation based on the first business result fragment and the second business result fragment, combined with the secure multi-party computing technology, and finally recovers the business processing result of the target business. In this way, secure processing and collaborative computing of business data are achieved, while protecting data privacy.
[0070] In actual applications, using the above example, the business execution end starts the MPC framework, imports R` and label_share0={(Y ~ ⊕W,X ~ ⊕T)}, the data provider starts the MPC framework and inputs R and label_share1=(w i,1 , ..., w i,h , t i,1 , ..., t i,k), according to R`, R, label_share0 and encrypted business parameters, the first business result fragment res1 is calculated, and the first business result fragment res2 sent by the receiving data provider is received, and based on the first business result fragment and the second business result fragment, the business processing result of the target business is restored.
[0071] Based on this, the business data is processed through a secure multi-party computing framework to ensure data privacy and achieve the purpose of data collaborative computing. The core of this step is to protect data privacy, while jointly completing the secure processing and computing of data with the data provider and business execution end.
[0072] Furthermore, a secure multi-party computing framework is called to perform secure multi-party computing based on the encrypted business parameters imported by the business execution end, the first identification set and the updated first encrypted sharing set, the second identification set and the second encrypted sharing set imported by the data provider end, to obtain first business result fragments, including: calling the secure multi-party computing framework to identify whether the identification data at corresponding positions in the first identification set and the second identification set are equal, to obtain the first arithmetic sharing set, and to determine the first parameter fragments based on the encrypted business parameters, wherein the data in the first arithmetic sharing set is 1 indicating that the identification data is equal, and is 0 indicating that the identification data is unequal; using the first arithmetic sharing set, secure multi-party computing is performed on the first encrypted sharing set and the second encrypted sharing set to obtain first data fragments to be processed; based on the first parameter fragments, the target business is executed on the first data fragments to be processed to obtain first business result fragments.
[0073] Specifically, in order to reduce the computational complexity and only allow intersecting data to participate in the computation, it is necessary to determine whether the identification data at the corresponding positions in the first identification set and the second identification set are equal. If they are equal, it means that the corresponding first shared data corresponds to the second shared data. Only the secure multi-party computation results under the condition that the identification data at the corresponding positions in the first identification set and the second identification set are equal are retained. This can greatly reduce the data generated during the secure multi-party computation process, reduce computational complexity, and improve computational efficiency, including: through a secure multi-party computation framework, identifying whether the identification data at the corresponding positions in the first identification set and the second identification set are equal, and obtaining a first arithmetic shared set. In the first arithmetic shared set, data 1 indicates that the identification data are equal, and data 0 indicates that the identification data are unequal. Using the first arithmetic shared set, secure multi-party computation is performed on the updated first encryption shared set and the second encryption shared set to obtain a first data fragment to be processed, a first parameter fragment is determined based on the encryption business parameter, and then the target business is executed on the first data fragment to be processed to obtain a first business result fragment.
[0074] In actual applications, using the above example, the business execution end determines whether R and R' are the same based on the MPC framework and obtains the first arithmetic shared set. , the data provider determines whether R and R` are the same based on the MPC framework, and obtains the second arithmetic shared set , if equal =1, if not equal =0. The service execution end calculates the first data fragment to be processed based on the first arithmetic sharing set, label_share0 and label_share1 , and execute the target business based on the data fragment to be processed and the first parameter fragment to obtain the first business result fragment res1.
[0075] Based on this, only the calculation results of the intersection data, that is, the identification data of the corresponding positions in the first identification set and the second identification set, are retained. =0, due to The calculation result of this situation is 0, which reduces the number of fragments to be processed, reduces the calculation complexity, and improves the calculation efficiency.
[0076] Through the business processing method, it is realized that before calling the secure multi-party computing framework, the first object set is encrypted to obtain the first encrypted object set, and the first association set is updated in the first encrypted shared set, so that when calling the secure multi-party computing framework, the data provider end cannot directly obtain the first object set and the first association set, thereby ensuring the data security of the business execution end. At the same time, when calling the secure multi-party computing framework, it is realized that the first identification set and the updated first encrypted shared set imported by the business execution end, the second identification set and the second encrypted shared set including the key set imported by the data provider end are received. Since the identification data in the first identification set corresponds to the encrypted associated value in the first encrypted shared set one by one, and the identification data in the second identification set corresponds to the key data in the second encrypted shared set one by one, the matching relationship between the key data and the encrypted associated value is determined, and the real first associated value and the second associated value are obtained, thereby realizing accurate secure multi-party computing based on the first associated value and the second associated value while ensuring the complete anonymity of the data.
[0077] See also Figure 5 , Figure 5 It is a flowchart of a second fully anonymous service processing method based on secure multi-party computing provided by an embodiment of the present invention, which specifically includes the following steps.
[0078] Step 502: In response to the service request, obtain a second object set of the target service and a second association set corresponding to the second object set.
[0079] The second object set includes at least one identification field or a unique identifier, such as a user ID, a product number, etc., which is used to uniquely identify the entity or object in the data provision. The second association set includes association data of the entity or object in the business execution end, such as the user's specific information, the product's attributes, etc.
[0080] Specifically, the service execution end obtains second object data related to the target service from the data source according to the received service request of the target service to form a second object set, and then forms a second association set with second association data associated with the second object data.
[0081] In actual applications, the second object set is a user set stored in the data processing end, and the second association set is the consumption data of each user. The data processing end will obtain each user identifier from the data source to form a second object set according to the received business request for calculating the total consumption of all users, and then form the consumption records of each user end into a second association set, and encrypt the second object set through a hash algorithm to obtain a second encrypted object set.
[0082] Furthermore, encrypting the second object set to obtain a second encrypted object set includes: receiving encryption parameters sent by the business execution end, wherein the encryption parameters are used by the business execution end to encrypt the first object set; based on the encryption parameters, encrypting the second object set to obtain the second encrypted object set.
[0083] Specifically, since the object data in the second object set is often obtained by the business execution end during the secure multi-party computing process, in order to ensure that the second object data in the second object set is not obtained by the business execution end during the subsequent business processing process, the second object set needs to be encrypted, including: after or while encrypting the first object set, the business processing end sends the encryption parameters of the first object set to the data provider end, so that the data provider end encrypts the second object set based on the same encryption parameters to obtain a second encrypted object set.
[0084] In practical applications, the hash function H with the encryption parameter as cuckoo hash processing i Taking the length σ of the cuckoo hash table as an example, the data provider can n} i With the hash function H j Calculate H j (y i ), based on H j (y i ) constructs a vector Y`={Hj(yi)} and takes Y` as the second encryption object set.
[0085] Based on this, the consistency and reliability of encryption operations of data in different links are guaranteed, so that the subsequent business execution end can query whether the first encryption object set is the same as the second encryption object set.
[0086] Step 504: Encrypt the second object set to obtain a second encrypted object set, and based on the second identification set and key data set generated by random numbers, encrypt the second association set to obtain a second encrypted association set.
[0087] Specifically, since the intersection of the second association set is often obtained by the business processing end, the second association set needs to be encrypted to obtain a second encrypted association set, including: the data provider obtains a second identification set and a key data set based on random number generation, and encrypts the second association set based on the random number in the key data set to obtain a second encrypted association set.
[0088] Furthermore, based on the second identification set and key data set generated by random numbers, encrypting the second association set to obtain a second encrypted association set includes: generating a second identification set and key data set including random numbers, wherein the number of random numbers in the second identification set and the key data set are the same; based on encryption parameters, the second identification set and the key data set, encrypting the second association set to obtain a second encrypted association set.
[0089] Specifically, the data provider first encrypts the associated data of the second object into an encrypted associated value according to the random number in the key data set, forms a second encrypted associated set according to the encrypted associated value and forms the second encrypted associated set, encrypts the second object set into a second encrypted object set, constructs a second identification set, and makes the identification data in the second identification set correspond one-to-one with the encrypted object data in the second encrypted object set.
[0090] In practical applications, using the above example, the provider creates two random vectors according to the hash table size σ, and the second identifier set R={r j , ..., r σ} and key dataset W = {w1, ..., w σ}, based on the random number in the key data set, the second association set Y ~ Encryption is performed to obtain the second encrypted association set L = (R, Y ~ ⊕W).
[0091] Based on this, it is possible to increase data security, protect data privacy, and ensure the reliability of data transmission and processing.
[0092] Step 506: Call an oblivious pseudo-random function and input an encryption key-value pair constructed based on the second encryption object set and the second encryption association set, wherein the oblivious pseudo-random function is used to calculate the first identification set and the first encryption sharing set based on the first encryption object set input by the business execution end and the encryption key-value pair input by the data provider end, and feed them back to the business execution end, and the first encryption object set is obtained by encrypting the first object set of the target business by the business execution end.
[0093] Specifically, since the object data in the second object set is often obtained by the business execution end during the secure multi-party computing process, in order to ensure that the second object data in the second object set is not obtained by the business execution end during the subsequent business processing process, it is necessary to encrypt the second object set, and add identification data to record the encrypted second object set, so that the encrypted object data in the second object set can still correspond to the second encrypted associated data in the second encrypted association set, including: the data provider first encrypts the associated data of the second object into an encrypted associated value, composes a second encrypted association set according to the encrypted associated value, encrypts the second object set into a second encrypted object set, constructs an identification data set, and compares the identification data in the identification data set with the second encrypted associated data in the second encrypted association set. The encrypted object data in the two encrypted object sets correspond one to one, and an encrypted key-value pair is constructed based on the second encrypted object set, the second encrypted association set and the identification data set and sent to the business execution end. Since the encryption method of the first encrypted object set is the same as the encryption method of the second encrypted object set, when the object data in the first object set is the same as the object data in the second object set, the encrypted object data in the first encrypted object set is also the same as the encrypted object data in the second encrypted object set. Therefore, the first encrypted object data can be used as a query value to query the second encrypted association value and identification data corresponding to the second encrypted object data equal to the first encrypted object data in the encrypted key-value pair to form the first identification set and the first encrypted shared set. The identification data can be generated by a random number, so that the business execution end cannot know which second object the identification data specifically identifies based on the identification data.
[0094] In practical applications, following the above example, the second object set is the user set stored by the data provider, and the second association set is the consumption data of each user. The data provider first encrypts the consumption data of the second user into an encrypted consumption value, forms a second encrypted consumption set according to the encrypted consumption value and encrypts the second user list into a second encrypted user set, constructs an identification data set by generating pseudo-random numbers, and corresponds the identification data in the identification data set to the encrypted user data in the second encrypted user set one by one, constructs an encrypted key-value pair based on the second encrypted user set, the second encrypted consumption set and the identification data set, and sends it to the business execution end, so that the business execution end uses the first encrypted user data as the query value, and queries the second encrypted consumption value and identification data corresponding to the second encrypted user data that is equal to the first encrypted user data in the encrypted key-value pair, forming the first identification set and the first encrypted shared set.
[0095] Furthermore, after calling an oblivious pseudo-random function and inputting an encrypted key-value pair constructed based on a second encryption object set and a second encryption association set, it also includes: obtaining an intermediate key obtained by the oblivious pseudo-random function based on the first encryption object set input by the business execution end; based on the intermediate key, obfuscating the input encrypted key-value pair constructed based on the second encryption object set and the second encryption association set; calling the encoding strategy of the oblivious key-value pair storage structure to encode the obfuscated result to obtain a data encoding set; sending the data encoding set to the business execution end; wherein the data encoding set is used by the business execution end to call the decoding strategy of the oblivious key-value pair storage structure, decode based on the obfuscated data set and the data encoding set to obtain a target shared set, and split the target shared set to obtain a first identification set and a first encrypted shared set; the obfuscated data set is obtained by the business execution end calling the oblivious pseudo-random function based on the first encryption object set input by the business execution end.
[0096] Specifically, in order to prevent the encrypted key-value pair from being directly obtained by the business execution end, the data provider end needs to further encrypt the encrypted key-value pair so that the business execution end can query the target shared set in the encrypted key-value pair but cannot obtain the specific encrypted key-value pair, including: the business execution end and the data provider end call the oblivious pseudo-random function at the same time to perform obfuscation processing on the first encrypted object set, so that the business execution end obtains an obfuscated data set and the data provider end obtains an intermediate key. The data provider end performs obfuscation processing on the encrypted key-value pair according to the intermediate key to obtain an obfuscated processing result, and then calls the encoding strategy of the obfuscated key-value pair storage structure to encode the obfuscated processing result to obtain a data encoding set, and sends the data encoding set to the business execution end. Since the intermediate keys for obfuscating the first encrypted object set and the encryption key-value pair are the same, the business execution end can deobfuscate the query results in the data encoding set based on the obfuscated data set to obtain the target shared set, and then split the target shared set into a first identification set and a first encrypted shared set.
[0097] In practical applications, the above example is used. Taking the first encrypted object set as Y` as an example, the business execution end calls the OPRF function to obtain the obfuscated data set f(k, Tx), the data provider end calls the OPRF function to obtain the intermediate key k, and the data provider end performs obfuscation processing on the encrypted key-value pair based on k to obtain the obfuscation processing result M=L⊕f(k, Y`), where L is the shared set, including the identification data set and the first encrypted shared set. The data provider end calls OKSV encode(M) to obtain the data encoding set P and sends it to the business execution end. The business execution end calls OKSV encode(Tx) to obtain the obfuscation result L⊕f(k, Y`) corresponding to Tx, and then calculates based on f(k, Tx) and L⊕f(k, Y`) to obtain the target shared set L. Because Tx and Y` are encrypted in the same way, f(k, Tx) and f(k, Y`) are also the same when the first object and the second object are the same, and they can offset each other in the XOR operation so that the business execution end obtains the target shared set.
[0098] Based on this, the process of calculating and obtaining the first identification set and the first encryption sharing set from the first encryption object set input from the business execution end and the encryption key value pair input from the data provider end can be realized. These operations can increase the security of data, protect the privacy of data, and ensure the reliability of data transmission and processing.
[0099] Step 508: Construct a second encryption sharing set based on the second identification set and the key data set.
[0100] Specifically, in order to ensure that the subsequent secure multi-party computing framework can decrypt the second encrypted association set to obtain a specific second association set, the key data set and the second identification set are used to construct a second encrypted shared set, including filling the position indicated by the identification data in the second identification set with the random number in the key data set according to the position of each element identification in the second identification set.
[0101] In practical applications, using the above example, the data provider constructs a two-dimensional association value key vector label_share1={(w i,1 , ..., w i,h )i∈[1,n]}. Label_share1 is used as the second encrypted sharing set.
[0102] Furthermore, after constructing the second encryption sharing set based on the second identification set and the key data set, it also includes: receiving a random number set sent by the business execution end, wherein the random number set is generated by the business execution end based on a random number seed; based on the random number set, updating the second encryption sharing set to obtain an updated second encryption sharing set.
[0103] Specifically, in order to ensure that the subsequent secure multi-party computing framework can decrypt the first encrypted association set to obtain a specific first association set, the random number seed is sent to the data provider as a key, so that the data provider updates the random number set corresponding to the random number seed in the second encrypted shared set.
[0104] In actual applications, using the above example, the business execution end sends the random number seed corresponding to T to the data provider end, and the data provider end calculates the random number seed according to T=(t1, ..., t i ) fill label_share1, and get label_share1=(w i,1 , ..., w i,h , t i,1 , ..., t i,k ).
[0105] Based on this, since the second encryption sharing set is a key set, by updating the second encryption sharing set, the data anti-attack capability can be improved to ensure that the data is not stolen or tampered with during transmission and storage.
[0106] Step 510: Call the secure multi-party computing framework to perform secure multi-party computing based on the first identification set and the updated first encrypted shared set imported by the business execution end, and the second identification set and the second encrypted shared set imported by the data provider end, to obtain the business processing result, wherein the updated first encrypted shared set is obtained by updating the first encrypted shared set by the business execution end based on the first association set corresponding to the first object set.
[0107] Specifically, directly importing the updated data in the first encrypted shared set into the secure multi-party computing framework will greatly increase the computational complexity and amount of computation because the encrypted first associated value and the second associated value cannot achieve data alignment. In order to improve the computational efficiency, the business execution end imports the first identification set and the updated first encrypted shared set into the secure multi-party computing framework, and the data provider imports the second identification set and the second encrypted shared set into the secure multi-party computing framework. Since the first identification set is essentially a subset of the second identification set, it is a set of identification data corresponding to the first encrypted object data and the second encrypted object data obtained by the business execution end from the encryption key-value pair according to whether the first encrypted object data and the second encrypted object data are the same. Therefore, when the first identification data and the second identification data are the same, data alignment is completed, indicating that the first encrypted shared data corresponding to the first identification data corresponds to the second encrypted shared data indicated by the second identification data. The secure multi-party computing framework can decrypt the first encrypted shared data according to the second encrypted shared data, obtain the first associated data and the second associated data of the same object, and perform secure multi-party computing.
[0108] In actual applications, the above example is used. The business execution end imports the first identification set and the updated first encrypted shared set into the secure multi-party computing framework, and the data provider end imports the second identification set and the second encrypted shared set into the secure multi-party computing framework. Since the first identification set is essentially a subset of the second identification set, it is a set of identification data corresponding to the first encrypted user data and the second encrypted user data obtained by the business execution end from the encryption key-value pair based on whether the first encrypted user data and the second encrypted user data are the same. Therefore, when the first identification data and the second identification data are the same, data alignment is completed, indicating that the first encrypted shared data corresponding to the first identification data corresponds to the second encrypted shared data indicated by the second identification data. The secure multi-party computing framework can decrypt the first encrypted shared data according to the second encrypted shared data, obtain the first consumption data and the second consumption data of the same user, and perform secure multi-party computing.
[0109] Furthermore, a secure multi-party computing framework is called to perform secure multi-party computing based on the first identification set and the updated first encrypted shared set imported by the business execution end, and the second identification set and the second encrypted shared set imported by the data provider end, to obtain a business processing result, including: calling the secure multi-party computing framework to perform secure multi-party computing based on the encrypted business parameters imported by the business execution end, the first identification set and the updated first encrypted shared set, and the second identification set and the second encrypted shared set imported by the data provider end, to obtain second business result fragments; sending the second business result fragments to the business execution end; wherein the second business result fragments are used by the business execution end to restore the business processing result of the target business based on the first business result fragments and the second business result fragments; the first business result fragments are obtained by the business execution end calling the secure multi-party computing framework to perform secure multi-party computing based on the encrypted business parameters imported by the business execution end, the first identification set and the updated first encrypted shared set, and the second identification set and the second encrypted shared set imported by the data provider end.
[0110] Specifically, in order to ensure the security of privacy data in the process of processing business data and avoid the risk of data leakage in the process of data collaboration, secure multi-party computing is implemented between the data provider and the business execution end, and the encrypted business parameters and identification sets are calculated to obtain the final business processing result without leaking data. The process of the business execution end calling the secure multi-party computing framework for specific calculations includes: the business execution end imports the first identification set and the updated first encrypted shared set, the data provider end imports the second identification set and the second encrypted shared set, and prepares for secure multi-party computing. The business execution end imports the first identification set and the updated first encrypted shared set, the data provider end imports the second identification set and the second encrypted shared set, and prepares for secure multi-party computing. Based on the encrypted business parameters, the updated first encrypted shared set and the second encrypted shared set, the secure multi-party computing framework is called to calculate and obtain the second business result fragment. The data provider sends the second business result fragment to the business execution end, and the business execution end performs data processing and calculation based on the first business result fragment and the second business result fragment, combined with the secure multi-party computing technology, and finally recovers the business processing result of the target business. In this way, secure processing and collaborative computing of business data are achieved, while protecting data privacy.
[0111] In actual applications, using the above example, the business execution end starts the MPC framework, imports R` and label_share0={(Y ~ ⊕W,X ~ ⊕T)}, the data provider starts the MPC framework and inputs R and label_share1=(w i,1 , ..., w i,h , t i,1 , ..., t i,k ), according to R`, R, label_share0 and encrypted business parameters, the first business result fragment res2 is calculated, and the second business result fragment res2 is sent to the business execution end, so that the business execution end can restore the business processing result of the target business based on the first business result fragment and the second business result fragment.
[0112] Based on this, the business data is processed through a secure multi-party computing framework to ensure data privacy and achieve the purpose of data collaborative computing. The core of this step is to protect data privacy, while jointly completing the secure processing and computing of data with the data provider and business execution end.
[0113] Further, a secure multi-party computing framework is called to perform secure multi-party computing based on the encrypted business parameters imported by the business execution end, the first identification set and the updated first encrypted sharing set, the second identification set and the second encrypted sharing set imported by the data provider end, to obtain second business result fragments, including: calling the secure multi-party computing framework to identify whether the identification data at corresponding positions in the first identification set and the second identification set are equal, to obtain a second arithmetic sharing set, and to determine a second parameter fragment based on the encrypted business parameters, wherein the data in the second arithmetic sharing set is 1 to indicate that the identification data is equal, and is 0 to indicate that the identification data is unequal; using the second arithmetic sharing set, secure multi-party computing is performed on the first encrypted sharing set and the second encrypted sharing set to obtain second data fragments to be processed; based on the second parameter fragments, the target business is executed on the second data fragments to be processed to obtain second business result fragments.
[0114] Specifically, in order to reduce the computational complexity and only allow intersecting data to participate in the computation, it is necessary to determine whether the identification data at the corresponding positions in the first identification set and the second identification set are equal. If they are equal, it means that the corresponding first shared data corresponds to the second shared data. Only the secure multi-party computation results under the condition that the identification data at the corresponding positions in the first identification set and the second identification set are equal are retained. This can greatly reduce the data generated during the secure multi-party computation process, reduce computational complexity, and improve computational efficiency, including: through a secure multi-party computation framework, identifying whether the identification data at the corresponding positions in the first identification set and the second identification set are equal, and obtaining a first arithmetic shared set. In the first arithmetic shared set, data 1 indicates that the identification data is equal, and data 0 indicates that the identification data is unequal. Using the second arithmetic shared set, secure multi-party computation is performed on the updated first encryption shared set and the second encryption shared set to obtain a second data fragment to be processed, and a second parameter fragment is determined based on the encryption business parameter. Then, the target business is executed on the second data fragment to be processed to obtain a second business result fragment.
[0115] In actual applications, the business execution end determines whether R and R' are the same based on the MPC framework and obtains the first arithmetic shared set , the data provider determines whether R and R` are the same based on the MPC framework, and obtains the second arithmetic shared set , if equal =1, if not equal = 0. The service execution end performs the operation based on the first arithmetic sharing set, label_share0 and label_share1. Calculate the second data fragment to be processed , and execute the target business based on the data fragment to be processed and the first parameter fragment to obtain the first business result fragment res2.
[0116] Based on this, only the calculation results of the intersection data, that is, the identification data of the corresponding positions in the first identification set and the second identification set, are retained. =0 due to The calculation result of this situation is 0, which reduces the number of fragments to be processed, reduces the calculation complexity, and improves the calculation efficiency.
[0117] Through the business processing method, the data provider end encrypts the second object set into the second encrypted object set, encrypts the second association set into the second encrypted association set, and then sends the encrypted key-value pair including the second encrypted object set and the second encrypted association set to the business execution end before calling the secure multi-party computing framework, so that the business execution end cannot directly obtain the second object set and the second association set, thereby ensuring the data security of the data provider end. At the same time, when calling the secure multi-party computing framework, the first identification set and the updated first encrypted shared set imported by the business execution end, the second identification set imported by the data provider end, and the second encrypted shared set including the key set are received. Since the identification data in the first identification set corresponds to the encrypted associated value in the first encrypted shared set one-to-one, and the identification data in the second identification set corresponds to the key data in the second encrypted shared set one-to-one, the matching relationship between the key data and the encrypted associated value is determined, and the real first associated value and the second associated value are obtained, so that accurate secure multi-party computing based on the first associated value and the second associated value is performed while ensuring the complete anonymity of the data.
[0118] See also Figure 6 , Figure 6 It is a flowchart of a third fully anonymous service processing method based on secure multi-party computing provided by an embodiment of the present invention, which specifically includes the following steps.
[0119] Step 602: In response to the service request, the service execution end obtains a first object set of the target service and a first association set corresponding to the first object set, and encrypts the first object set to obtain a first encrypted object set.
[0120] Step 604: In response to the business request, the data provider obtains a second object set of the target business and a second association set corresponding to the second object set; encrypts the second object set to obtain a second encrypted object set, and based on a second identification set and a key data set generated by random numbers, encrypts the second association set to obtain a second encrypted association set; and constructs an encryption key-value pair based on the second encrypted object set and the second encrypted association set.
[0121] Step 606: calling an inadvertent pseudo-random function, the business execution end inputs a first encryption object set, the data provider end inputs an encryption key-value pair, and the business execution end obtains a first identification set and a first encryption sharing set, wherein the identification data in the first identification set corresponds one-to-one to the encryption association value in the first encryption sharing set.
[0122] Step 608: The service execution end updates the first encryption sharing set based on the first association set to obtain an updated first encryption sharing set.
[0123] Step 610: The data provider constructs a second encryption sharing set based on the second identification set and the key data set, wherein the identification data in the second identification set corresponds one-to-one to the key data in the second encryption sharing set.
[0124] Step 612: calling the secure multi-party computing framework, the business execution end imports the first identification set and the updated first encryption sharing set, and the data provider end imports the second identification set and the second encryption sharing set, and performs secure multi-party computing to obtain the business processing result.
[0125] It can be understood that the steps of step 602 to step 612 are the same as the steps performed in the above-mentioned steps 402 to step 408 and step 502 to step 510, and will not be repeated here.
[0126] The following combination Figure 7 , further explains the fully anonymous service processing method based on secure multi-party computing. Figure 7 It is a process flow chart of a fully anonymous service processing method based on secure multi-party computing provided by an embodiment of the present invention, which specifically includes the following steps.
[0127] Step 702: The service execution end constructs a hash table Tx based on the first object set X={xi, ..., xn} and hash functions H1, H2, H3, and determines the hash index relationship mMaping[i] = H between the sequence number i of x and the hash table position idx. j (x i )modσ, i∈[1,n], j∈[1,3]. And send the hash table size σ and the hash function to the data provider.
[0128] Step 704: The data provider creates two random vectors R={r j , ..., r σ} and W = {w1, ..., w σ}.
[0129] Step 706: The data provider obtains the second object set Y={y1, ..., y n} i With the hash function H j Calculate H j (y i ), based on H j (y i ) Construct the vector Y`={H j (y i)}, calculate H j (y i ) The index value idx in the hash table is used to construct the sender associated value Y ~ ={(y ~ i,1 , …, y ~ i,h ),…,(y ~ n,1 , …, y ~ n,h )} Encrypted vector L = (r idx ,y ~ i,1 ⊕w idx , …, y ~ i,h ⊕w idx ).
[0130] Step 708: The service execution end calls the OPRF function to obtain the encrypted hash table f(k, Tx).
[0131] Step 710: The data provider calls the OPRF function to obtain the key k of the encrypted hash table.
[0132] Step 712: The data provider calculates the intermediate vector M=(Y`, L⊕f(k, Y`).
[0133] Step 714: The data provider calls OKSV encode (M) to obtain the encrypted bit string P of the sender's associated value and sends P to the service execution end.
[0134] Step 716: The service execution end receiving party queries the bit string P based on Tx, and when Tx is Y`, obtains L⊕f(k, Y`) corresponding to Y`.
[0135] Step 718: The service execution end performs operations on the encrypted hash table f(k, Tx) and L⊕f(k, Y`) to obtain L, that is, (R`, Y ~ ⊕W).
[0136] Step 720: The business execution end splits L into R`={r1`, ..., r σ `}Vector and (Y ~ ⊕W) vector, convert (Y ~ ⊕W) is named as the two-dimensional associated value encrypted vector label_share0.
[0137] Step 722: The data provider constructs a two-dimensional association value key vector label_share1={(w i,1 , ..., w i,h )i∈[1,n]}.
[0138] Step 724: The service execution end generates a random number vector T with a size of σ and sends T to the data provider end.
[0139] Step 726: The data provider fills label_share1 according to T, and obtains label_share1=(w i,1 , ..., w i,h , t i,1 , ..., t i,k ).
[0140] Step 728: The business execution end calculates the hash index relationship mMapping[i]=H j (x i ) modσ, take idx=mMaping[i], fill the idx-th item in label_share0 with X ~ ⊕T,X ~ ={(x ~ i,1 , …, y ~ 1,k ),…,(x ~ n,1 , …, y ~ n,k )}, items other than idx are filled with random numbers.
[0141] Step 730: The service execution end sends R` and label_share0 to the data provider, and receives R and label_share1 sent by the data provider. The MPC framework is started, and R`, R, label_share0={(Y ~ ⊕W,X ~ ⊕T)} and label_share1.
[0142] Step 732: The data provider sends R and label_share1 to the service execution end, and receives R` and label_share0 sent by the service execution end. The data provider starts the MPC framework and inputs R`, R, label_share0={(Y ~ ⊕W,X ~ ⊕T)} and label_share1.
[0143] Step 734: The business execution end determines whether R and R' are the same based on the MPC framework and obtains the judgment result fragment .
[0144] Step 736: The data provider determines whether R and R' are the same based on the MPC framework and obtains the judgment result fragment .
[0145] Step 738: The business execution end determines the result fragments based on the judgment result. , label_share0 and label_share1 calculate the first associated value fragment .
[0146] Step 740: The data provider determines the result fragments based on the , label_share0 and label_share1 calculate the second associated value fragment .
[0147] Step 742: The business execution end is based on the MPC framework. The calculation result fragment res1 is obtained by calculation.
[0148] Step 744: The data provider is based on the MPC framework. The calculation result fragment res2 is obtained by calculation.
[0149] Step 746: The business execution end obtains the final result according to res1 and res2.
[0150] The following combination Figure 8 , further explains the fully anonymous service processing method based on secure multi-party computing. Figure 8 This is a process flow chart of another fully anonymous business processing method based on secure multi-party computing provided by an embodiment of the present invention, including organization A and structure B. Organization A has a certain recognition algorithm F, the algorithm model parameter is param, and the local has a list id and feature data label_A to be recognized. Organization B has a large number of ID card number ids and feature data label_B. Algorithm F can greatly improve the accuracy when label_A and label_B are input at the same time. Organization A hopes to execute recognition algorithm F based on the feature data of both parties. However, organization A does not want its confidential algorithm model, list and feature data to be leaked, and organization B does not want to leak the feature data, and there is no trusted third party. In this scenario:
[0151] Step 802: Institution A imports the first identification list and the first characteristic data, and institution B imports the second identification list and the second characteristic data, and performs encrypted sharing. Obtain the first encrypted shared data and the second encrypted shared data that are completely anonymized. The encrypted sharing process is described in the aforementioned steps 402 to 408 or steps 502 to 510, and will not be repeated here.
[0152] Step 804: calling the MPC framework, organization A shares the algorithm model parameter param in a secret sharing manner, and both parties execute algorithm F to obtain the first result fragment and the second result fragment of the calculation results in the secret sharing state.
[0153] Step 806: Institution B sends the second result fragment to institution A.
[0154] Step 808: Institution A obtains the target recognition result.
[0155] Corresponding to the above method embodiment, the present invention also provides a service processing device embodiment, Fig. 9 FIG. 1 is a schematic diagram of a fully anonymous service processing device based on secure multi-party computing provided by an embodiment of the present invention. Fig. 9 As shown, the device comprises:
[0156] A first acquisition module 902 is configured to, in response to a service request, acquire a first object set of a target service and a first association set corresponding to the first object set, and encrypt the first object set to obtain a first encrypted object set;
[0157] The first calling module 904 is configured to call an oblivious pseudo-random function, and calculate and obtain a first identification set and a first encrypted shared set based on a first encrypted object set input by the service execution end and an encrypted key-value pair input by the data providing end, wherein the encrypted key-value pair includes a second encrypted object set obtained by the data providing end by encrypting a second object set of the target service, and a second encrypted association set obtained by encrypting a second association set corresponding to the second object set, and the identification data in the first identification set corresponds one-to-one to the encrypted association value in the first encrypted shared set;
[0158] An updating module 906 is configured to update the first encryption sharing set based on the first association set to obtain an updated first encryption sharing set;
[0159] The second calling module 908 is configured to call the secure multi-party computing framework, perform secure multi-party computing based on the first identification set imported by the business execution end and the updated first encryption sharing set, and the second identification set and the second encryption sharing set imported by the data providing end, to obtain the business processing result, wherein the second encryption sharing set is constructed by the data providing end based on the second identification set and the key data set used to encrypt the second association set, and the identification data in the second identification set corresponds one-to-one to the key data in the second encryption sharing set.
[0160] It can be understood that the specific functional implementation of the module of the business processing device can refer to the aforementioned steps 402-408, which will not be repeated here.
[0161] Through the business processing device, it is realized that before calling the secure multi-party computing framework, the first object set is encrypted to obtain the first encrypted object set, and the first association set is updated in the first encrypted shared set, so that when calling the secure multi-party computing framework, the data provider end cannot directly obtain the first object set and the first association set, thereby ensuring the data security of the business execution end. At the same time, when calling the secure multi-party computing framework, it is realized that the first identification set and the updated first encrypted shared set imported by the business execution end, the second identification set and the second encrypted shared set including the key set imported by the data provider end are received. Since the identification data in the first identification set corresponds to the encrypted associated value in the first encrypted shared set one by one, and the identification data in the second identification set corresponds to the key data in the second encrypted shared set one by one, the matching relationship between the key data and the encrypted associated value is determined, and the real first associated value and the second associated value are obtained, so that accurate secure multi-party computing based on the first associated value and the second associated value is realized while ensuring the complete anonymity of the data.
[0162] Corresponding to the above method embodiment, the present invention also provides a service processing device embodiment, Fig.10 FIG. 1 is a schematic diagram of the structure of another fully anonymous service processing device based on secure multi-party computing provided by an embodiment of the present invention. Fig.10 As shown, the device comprises:
[0163] The second acquisition module 1002 is configured to obtain a second object set of the target business and a second association set corresponding to the second object set in response to the business request;
[0164] The encryption module 1004 is configured to encrypt the second object set to obtain a second encrypted object set, and encrypt the second association set based on the second identification set and the key data set generated by random numbers to obtain a second encrypted association set;
[0165] The third calling module 1006 is configured to call an oblivious pseudo-random function, and input an encryption key-value pair constructed based on the second encryption object set and the second encryption association set, wherein the oblivious pseudo-random function is used to calculate a first identification set and a first encryption sharing set based on the first encryption object set input by the service execution end and the encryption key-value pair input by the data providing end, and feed the first encryption object set and the first encryption sharing set back to the service execution end, wherein the first encryption object set is obtained by the service execution end encrypting the first object set of the target service;
[0166] A construction module 1008 is configured to construct a second encryption sharing set based on the second identification set and the key data set;
[0167] The fourth calling module 1010 is configured to call the secure multi-party computing framework, perform secure multi-party computing based on the first identification set imported by the business execution end and the updated first encryption sharing set, and the second identification set and the second encryption sharing set imported by the data providing end, to obtain the business processing result, wherein the updated first encryption sharing set is obtained by updating the first encryption sharing set by the business execution end based on the first association set corresponding to the first object set.
[0168] It can be understood that the specific functional implementation of the module of the business processing device can refer to the aforementioned steps 502-510, which will not be repeated here.
[0169] Through the business processing device, the data provider end encrypts the second object set into the second encrypted object set, encrypts the second association set into the second encrypted association set, and then sends the encrypted key-value pair including the second encrypted object set and the second encrypted association set to the business execution end before calling the secure multi-party computing framework, so that the business execution end cannot directly obtain the second object set and the second association set, thereby ensuring the data security of the data provider end. At the same time, when calling the secure multi-party computing framework, the first identification set and the updated first encrypted shared set imported by the business execution end, the second identification set imported by the data provider end, and the second encrypted shared set including the key set are received. Since the identification data in the first identification set corresponds to the encrypted associated value in the first encrypted shared set one-to-one, and the identification data in the second identification set corresponds to the key data in the second encrypted shared set one-to-one, the matching relationship between the key data and the encrypted associated value is determined, and the real first associated value and the second associated value are obtained, so that accurate secure multi-party computing based on the first associated value and the second associated value is performed while ensuring that the data is completely anonymized.
[0170] Fig.11 The block diagram of a computing device 1100 provided according to an embodiment of the present invention is shown. The components of the computing device 1100 include but are not limited to a memory 1110 and a processor 1120. The processor 1120 is connected to the memory 1110 via a bus 1130, and a database 1150 is used to store data.
[0171] The computing device 1100 also includes an access device 1140 that enables the computing device 1100 to communicate via one or more networks 1160. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 1140 may include one or more of any type of network interface (e.g., a network interface card (NIC)) of wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a world-wide interoperability for microwave access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, and a near field communication (NFC).
[0172] In one embodiment of the present invention, the above components of the computing device 1100 and Fig.11 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Fig.11 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of the present invention. Those skilled in the art may add or replace other components as needed.
[0173] The computing device 1100 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 1100 may also be a mobile or stationary server. The processor 1120 is used to execute the following computer program / instruction, which implements the steps of the above-mentioned business processing method when executed by the processor.
[0174] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program / instruction, which implements the steps of the above-mentioned business processing method when executed by a processor.
[0175] An embodiment of the present invention further provides a computer program product, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned business processing method.
[0176] The above is a schematic scheme of a computing device, a computer-readable storage medium, and a computer program product of this embodiment. It should be noted that the technical scheme of the computing device, the computer-readable storage medium, and the computer program product belongs to the same concept as the technical scheme of the above-mentioned business processing method, and the details not described in detail in the technical scheme can be referred to the description of the technical scheme of the above-mentioned business processing method.
[0177] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0178] It should be noted that, for the convenience of description, the aforementioned method embodiments are all described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the described action sequence, because according to the embodiments of the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of the present invention.
[0179] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
Claims
1. A fully anonymous service processing method based on secure multi-party computing, characterized in that: Applied to the business execution end, the method includes: In response to a service request, obtaining a first object set of a target service and a first association set corresponding to the first object set, and encrypting the first object set to obtain a first encrypted object set; Calling an oblivious pseudo-random function, based on the first encrypted object set input by the service execution end and the encrypted key-value pair input by the data providing end, calculate and obtain a first identification set and a first encrypted shared set, wherein the encrypted key-value pair includes a second encrypted object set obtained by the data providing end by encrypting a second object set of the target service, and a second encrypted association set obtained by encrypting a second association set corresponding to the second object set, and the identification data in the first identification set corresponds one-to-one to the encrypted association value in the first encrypted shared set; Based on the first association set, the first encrypted shared set is updated to obtain an updated first encrypted shared set; Call a secure multi-party computing framework, perform secure multi-party computing based on the first identification set imported by the business execution end and the updated first encryption sharing set, and the second identification set and second encryption sharing set imported by the data provider end, to obtain a business processing result, wherein the second encryption sharing set is constructed by the data provider end based on the second identification set and key data set used to encrypt the second association set, and the identification data in the second identification set corresponds one-to-one to the key data in the second encryption sharing set.
2. The method according to claim 1, characterized in that Before the secure multi-party computing framework is called and secure multi-party computing is performed based on the first identification set imported by the business execution end and the updated first encryption sharing set, and the second identification set and the second encryption sharing set imported by the data providing end, to obtain the business processing result, the method further includes: Obtaining encryption parameters used to encrypt the first object set; The encryption parameter is sent to the data provider, wherein the encryption parameter is used by the data provider to encrypt the second object set of the target service based on the encryption parameter to obtain a second encrypted object set.
3. The method according to claim 1, characterized in that The calling of the oblivious pseudo-random function, based on the first encryption object set input by the service execution end and the encryption key-value pair input by the data providing end, calculates and obtains the first identification set and the first encryption sharing set, including: Calling an inadvertent pseudo-random function to obtain an obfuscated data set based on the first encrypted object set input by the service execution end; Receiving a data encoding set sent by the data provider, wherein the data encoding set is obtained by the data provider performing obfuscation processing on the encryption key-value pair using an intermediate key obtained by calling the oblivious pseudo-random function, and calling an encoding strategy of an oblivious key-value pair storage structure to encode the obfuscation processing result; Invoke a decoding strategy for the oblivious key-value pair storage structure, and decode to obtain a target shared set based on the obfuscated data set and the data encoding set; The target shared set is split to obtain a first identification set and a first encrypted shared set.
4. The method according to claim 1 or 3, characterized in that: The updating of the first encryption sharing set based on the first association set to obtain an updated first encryption sharing set includes: encrypting the first association set to obtain a first encrypted association set; Determining, based on the first identification set, a target filling position corresponding to the first encryption association set in the first encryption sharing set; Fill the target filling position with the first encryption association set to obtain an updated first encryption sharing set.
5. The method according to claim 1, characterized in that The calling of the secure multi-party computing framework, performing secure multi-party computing based on the first identification set imported by the business execution end and the updated first encryption sharing set, and the second identification set and the second encryption sharing set imported by the data providing end, to obtain a business processing result, includes: Acquiring service parameters of the target service, and encrypting the service parameters to obtain encrypted service parameters; Calling a secure multi-party computing framework, identifying whether identification data at corresponding positions of the first identification set and the second identification set are equal, obtaining a first arithmetic sharing set, and determining a first parameter fragment based on the encryption service parameter, wherein the data in the first arithmetic sharing set is 1 indicating that the identification data are equal, and is 0 indicating that the identification data are unequal; Using the first arithmetic shared set, performing secure multi-party computation on the first encryption shared set and the second encryption shared set to obtain a first data fragment to be processed; Based on the first parameter fragment, executing the target service on the first to-be-processed data fragment to obtain a first service result fragment; The second business result fragment sent by the data provider is received, and based on the first business result fragment and the second business result fragment, the business processing result of the target business is restored.
6. A fully anonymous service processing method based on secure multi-party computing, characterized in that: Applied to a data provider, the method comprises: In response to the service request, acquiring a second object set of the target service and a second association set corresponding to the second object set; Encrypting the second object set to obtain a second encrypted object set, and encrypting the second association set based on a second identification set and a key data set generated by random numbers to obtain a second encrypted association set; Calling an oblivious pseudo-random function, inputting an encryption key-value pair constructed based on the second encryption object set and the second encryption association set, wherein the oblivious pseudo-random function is used to calculate a first identification set and a first encryption sharing set based on a first encryption object set input by a service execution end and the encryption key-value pair input by the data providing end, and feeding the first identification set and the first encryption sharing set back to the service execution end, wherein the first encryption object set is obtained by the service execution end encrypting the first object set of the target service; constructing a second encryption sharing set based on the second identification set and the key data set; Call a secure multi-party computing framework, perform secure multi-party computing based on the first identification set and the updated first encrypted shared set imported by the business execution end, and the second identification set and the second encrypted shared set imported by the data provider end, to obtain a business processing result, wherein the updated first encrypted shared set is obtained by updating the first encrypted shared set by the business execution end based on the first association set corresponding to the first object set.
7. The method according to claim 6, characterized in that The step of encrypting the second object set to obtain a second encrypted object set includes: receiving an encryption parameter sent by the service execution end, wherein the encryption parameter is used by the service execution end to encrypt the first object set; Based on the encryption parameter, encrypting the second object set to obtain a second encrypted object set; The second identification set and key data set generated based on random numbers, encrypting the second association set to obtain a second encrypted association set, comprises: generating a second identification set and a key data set including random numbers, wherein the number of random numbers in the second identification set and the key data set is the same; Based on the encryption parameter, the second identification set and the key data set, the second association set is encrypted to obtain a second encrypted association set.
8. The method according to any one of claims 6-7, characterized in that: After calling the oblivious pseudo-random function and inputting the encryption key-value pair constructed based on the second encryption object set and the second encryption association set, the method further includes: Obtaining an intermediate key obtained by the inadvertent pseudo-random function based on the first encryption object set input by the service execution end; Based on the intermediate key, obfuscating the input encryption key-value pair constructed based on the second encryption object set and the second encryption association set; Call the encoding strategy of the oblivious key-value pair storage structure to encode the obfuscation result and obtain a data encoding set; The data encoding set is sent to the business execution end; wherein the data encoding set is used by the business execution end to call a decoding strategy of an oblivious key-value pair storage structure, decode the obfuscated data set and the data encoding set to obtain a target shared set, and split the target shared set to obtain a first identification set and a first encrypted shared set; the obfuscated data set is obtained by the business execution end calling an oblivious pseudo-random function based on the first encrypted object set input by the business execution end.
9. The method according to any one of claims 6-7, characterized in that: The calling of the secure multi-party computing framework, performing secure multi-party computing based on the first identification set and the updated first encryption sharing set imported by the business execution end, and the second identification set and the second encryption sharing set imported by the data providing end, to obtain a business processing result, includes: Calling a secure multi-party computing framework, identifying whether identification data at corresponding positions in the first identification set and the second identification set are equal, obtaining a second arithmetic sharing set, and determining a second parameter fragment based on the encryption service parameter, wherein the data in the second arithmetic sharing set is 1 indicating that the identification data are equal, and is 0 indicating that the identification data are unequal; Using the second arithmetic shared set, performing secure multi-party computation on the first encrypted shared set and the second encrypted shared set to obtain a second data fragment to be processed; Based on the second parameter fragment, executing the target service on the second to-be-processed data fragment to obtain a second service result fragment; The second business result fragment is sent to the business execution end; wherein, the second business result fragment is used by the business execution end to restore the business processing result of the target business based on the first business result fragment and the second business result fragment; the first business result fragment is obtained by the business execution end calling a secure multi-party computing framework, and performing secure multi-party computing based on the encrypted business parameters imported by the business execution end, the first identification set and the updated first encrypted shared set, and the second identification set and the second encrypted shared set imported by the data provider.
10. A fully anonymous business system based on secure multi-party computing, characterized in that: Including business execution end and data provision end; The service execution end is used to obtain, in response to a service request, a first object set of a target service and a first association set corresponding to the first object set, and encrypt the first object set to obtain a first encrypted object set; The data provider is configured to obtain, in response to the service request, a second object set of the target service and a second association set corresponding to the second object set; Encrypting the second object set to obtain a second encrypted object set, and encrypting the second association set based on a second identification set and a key data set generated by random numbers to obtain a second encrypted association set; constructing an encryption key-value pair based on the second encrypted object set and the second encrypted association set; The business execution end is further used to call an inadvertent pseudo-random function to input the first encryption object set; The data provider is further used to call the random pseudo-random function to input the encryption key-value pair; The service execution end is further used to obtain a first identification set and a first encryption sharing set output by the inadvertent pseudo-random function, wherein the identification data in the first identification set corresponds one-to-one to the encryption association value in the first encryption sharing set; The service execution end is further used to update the first encryption sharing set based on the first association set to obtain an updated first encryption sharing set; The data provider is further used to construct a second encryption sharing set based on the second identification set and the key data set, wherein the identification data in the second identification set corresponds one-to-one to the key data in the second encryption sharing set; The business execution end is further used to call a secure multi-party computing framework to import the first identification set and the updated first encrypted shared set; The data provider is further used to call the secure multi-party computing framework to import the second identification set and the second encrypted shared set; The business execution end is also used to obtain business processing results obtained by performing secure multi-party computing under the secure multi-party computing framework.
