A data exchange method, system, device and storage medium
The data exchange method enhances efficiency and security by utilizing a privacy computing platform for encryption, screening, and verification, addressing issues of low data utilization and privacy leakage in existing technologies.
Patent Information
- Application Number
- CN202411365383.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2044-09-29
AI Technical Summary
Existing data exchange technologies face challenges such as low data utilization, privacy leakage, and difficulty in ensuring data compliance and computing and transmission performance, particularly in scenarios involving different data exchange parties.
A data exchange method involving a privacy computing platform that processes user feature sets and encrypted data sets through encryption, screening, and legitimacy verification to enhance security and efficiency, using techniques like secure multi-party computing and proxy re-encryption.
The method improves data exchange efficiency and security by ensuring data privacy and compliance, allowing seamless data sharing while maintaining individual and enterprise privacy.
Smart Images

Figure CN118890222B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, in particular to the field of data encryption technology, and specifically to a data exchange method, system, device and storage medium. Background Art
[0002] Data exchange technology plays a vital role in modern technology systems. Data exchange technology allows seamless data sharing and communication between different systems, platforms, and applications. Through standardized protocols and data formats, systems can effectively understand and process data from different sources, thereby achieving interoperability.
[0003] Due to the differences in data exchange parties, the types of data exchange scenarios will also change accordingly; at this time, traditional data exchange technologies have problems such as low data utilization, privacy leakage of some business data, low computing and transmission performance, and difficulty in ensuring data compliance. Summary of the invention
[0004] The present application provides a data exchange method, system, device and storage medium to improve the efficiency and security of data exchange.
[0005] According to one aspect of the present application, a data exchange method is provided, which is applied to a data exchange system; the data exchange system includes a data sending end, a data receiving end and a privacy computing platform; the method includes:
[0006] Obtaining an initial user feature set and a first encrypted data set from the data sending end, and obtaining an application feature set from the data receiving end through the privacy computing platform, and determining a second encrypted data set based on the initial user feature set, the application feature set and the first encrypted data set;
[0007] Acquire a feature screening condition from the data receiving end through the data sending end, determine a data set to be verified according to the feature screening condition, an initial user identification set and an initial data set, and send the data set to be verified to the data receiving end; the initial data set is a plaintext set consisting of the initial user feature set and the initial user identification set;
[0008] Performing legitimacy verification on the candidate user features in the to-be-verified data set through the data receiving end, and screening out a target user identification set that passes the legitimacy verification from the to-be-verified data set, and sending the target user identification set to the data sending end;
[0009] Determine, by the privacy computing platform, a third encrypted data set according to the second encrypted data set, and the authorization key and target user identification set received from the data sending end, and send the third encrypted data set to the data receiving end;
[0010] The third encrypted data set is decrypted by the data receiving end to obtain a target data set.
[0011] According to another aspect of the present application, a data exchange system is provided, the system comprising: a data sending end, a data receiving end and a privacy computing platform;
[0012] The privacy computing platform is used to obtain an initial user feature set and a first encrypted data set from the data sending end, and to obtain an application feature set from the data receiving end, and to determine a second encrypted data set based on the initial user feature set, the application feature set and the first encrypted data set;
[0013] The data sending end is used to obtain the feature screening condition from the data receiving end, and determine the data set to be verified according to the feature screening condition, the initial user identification set and the initial data set, and send the data set to be verified to the data receiving end; the initial data set is a plaintext set consisting of the initial user feature set and the initial user identification set;
[0014] The data receiving end is used to verify the legitimacy of the candidate user features in the data set to be verified, and to select a target user identification set that passes the legitimacy verification from the data set to be verified, and to send the target user identification set to the data sending end;
[0015] The privacy computing platform is further used to determine a third encrypted data set according to the second encrypted data set, and the authorization key and target user identification set received from the data sending end, and send the third encrypted data set to the data receiving end;
[0016] The data receiving end is further used to decrypt the third encrypted data set to obtain a target data set.
[0017] According to another aspect of the present application, an electronic device is provided, the electronic device comprising:
[0018] one or more processors;
[0019] A memory for storing one or more programs;
[0020] When the one or more programs are executed by the one or more processors, the one or more processors implement any one of the data exchange methods provided in the embodiments of the present application.
[0021] According to another aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, any one of the data exchange methods provided in the embodiments of the present application is implemented.
[0022] This application obtains the initial user feature set and the first encrypted data set from the data sending end and the application feature set from the data receiving end through the privacy computing platform, and determines the second encrypted data set based on the initial user feature set, the application feature set and the first encrypted data set; obtains the feature screening conditions from the data receiving end through the data sending end, and determines the data set to be verified based on the feature screening conditions, the initial user identification set and the initial data set, and sends the data set to be verified to the data receiving end; the initial data set is a plaintext set consisting of the initial user feature set and the initial user identification set; the data receiving end verifies the legitimacy of the candidate user features in the data set to be verified, and screens out the target user identification set that passes the legitimacy verification from the data set to be verified, and sends the target user identification set to the data sending end; determines the third encrypted data set based on the second encrypted data set, the authorization key and the target user identification set received from the data sending end through the privacy computing platform, and sends the third encrypted data set to the data receiving end; the data receiving end decrypts the third encrypted data set to obtain the target data set. The above technical solution can further improve the efficiency of data exchange on the basis of ensuring the security and stability of the data exchange system by screening and verifying the user identification set and user feature set respectively, and performing secondary encryption conversion processing through a third-party privacy computing platform during the final data transmission process. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 is a flow chart of a data exchange method provided according to Embodiment 1 of the present application;
[0024] Figure 2 is a flow chart of a data exchange method provided according to Embodiment 2 of the present application;
[0025] Figure 3 It is a structural diagram of a data exchange system provided according to Embodiment 3 of the present application;
[0026] Figure 4 It is a structural diagram of an electronic device that implements the data exchange method of an embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this application.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0029] In addition, it should be noted that in the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of relevant data such as the initial user feature set and the first encrypted data set are in compliance with the relevant laws and regulations and do not violate public order and good morals.
[0030] Embodiment 1
[0031] Figure 1 This is a flow chart of a data exchange method provided according to the first embodiment of the present application. This embodiment can be applied to data exchange between different departments within an organization, data exchange between upstream and downstream organizations, data exchange between different organizations in the same industry under the condition of protecting ownership, etc. It can be executed by a data exchange system. The data exchange system can be implemented in the form of hardware and / or software. The data exchange system includes a data sending end, a data receiving end and a privacy computing platform, which can be configured in a computer device, such as a server. Figure 1 As shown, the method includes:
[0032] S110. Obtain an initial user feature set and a first encrypted data set from a data sending end, and obtain an application feature set from a data receiving end through a privacy computing platform, and determine a second encrypted data set based on the initial user feature set, the application feature set, and the first encrypted data set.
[0033] Among them, the privacy computing platform is a system that focuses on data analysis and processing under the premise of protecting data privacy. By using encryption technology, data desensitization and secure multi-party computing and other technologies, sensitive information will not be leaked during data processing; users can perform data analysis and mining without directly exposing the original data, thereby realizing data sharing and collaboration, while maintaining the data privacy of individuals and enterprises. The data sender refers to the data owner in the data exchange process. The data receiver refers to the data user in the data exchange process. The initial user feature set refers to a set containing user personal features, which may include age, gender, etc.; for example, taking the medical field as an example, the initial user feature set may include age, gender, department, monthly visit frequency, disease severity, treatment duration, treatment effect, surgical history, etc. The application feature set refers to the feature set obtained from the data receiving end; in privacy computing, the data receiving end may need to perform specific data processing tasks or analysis, so it will apply for a set of features. These feature sets may be related to the initial user feature set, but the specific content and requirements may be different. The first encrypted data set refers to the ciphertext data set obtained after encrypting the relevant plaintext values of the initial user feature set, which may be a matrix. The second encrypted data set refers to a ciphertext data set that contains data that meets the requirements of the receiving end but is still encrypted.
[0034] Optionally, the privacy computing platform is jointly called by the data sending end and the data receiving end, and the initial user feature set and the application feature set are respectively sent to the privacy computing platform; the initial user feature set and the application feature set are processed by the privacy computing platform to obtain a candidate user feature set, and the first encrypted data set is processed according to the candidate user feature set to obtain a second encrypted data set.
[0035] The candidate user feature set refers to a set of user features in the initial user feature set that meet the requirements of the application feature set.
[0036] In an optional implementation, the first encrypted data set is determined by a data sending end; specifically, the initial data set is encoded by the data sending end to obtain an encoded data set; based on an encryption sub-algorithm and a parallel computing algorithm, the encoded data set is encrypted to obtain a first encrypted data set, and the first encrypted data set is sent to the privacy computing platform.
[0037] Among them, the initial data set refers to the plaintext set consisting of the initial user feature set and the initial user identification set. The encoded data set refers to the data set obtained after the data sender encodes the initial user feature set; specifically, the encoded data set refers to the data set that converts the original data into a format that can be encrypted while retaining the structure and attributes of the data. The encryption sub-algorithm refers to the algorithm that initially encrypts the data in the proxy re-encryption mechanism, which is usually encrypted by the data owner using his private key to protect the data from unauthorized access. The parallel computing algorithm refers to the decomposition of the computing task into multiple sub-tasks and the execution of these sub-tasks on multiple processing units at the same time; for the encryption process, this means dividing the data encryption operation into multiple parallel tasks to increase the processing speed. Through parallel computing, the encryption time can be significantly reduced, especially when processing a large amount of data, to improve efficiency. It can speed up the encryption processing of the encoded data set and generate the first encrypted data.
[0038] It should be noted that the encoding process is to digitize all elements of the discrete eigenvalues of the initial data set. The encoding method can be label encoding, sequence encoding, one-hot encoding, frequency encoding, target encoding, etc.
[0039] S120, obtaining feature screening conditions from the data receiving end through the data sending end, and determining the data set to be verified based on the feature screening conditions, the initial user identification set and the initial data set, and sending the data set to be verified to the data receiving end; the initial data set is a plaintext set consisting of the initial user feature set and the initial user identification set.
[0040] Among them, the feature screening conditions refer to the rules or standards obtained from the data receiving end, which are used to screen and filter data. Through these conditions, it can be determined which data meets specific requirements. The initial user identification set refers to a set of identifiers that uniquely identify users, which is used to distinguish different users. The initial data set is a plaintext data set consisting of the initial user feature set (the user's plaintext attribute data, such as age, gender) and the initial user identification set, which is used for further data processing or analysis. The data set to be verified refers to the data subset filtered out according to the feature screening conditions and the initial data set, which is used to send to the data receiving end for calculation of the proof matrix.
[0041] Optionally, the data sending end preliminarily screens out user identifiers that meet the feature screening conditions from the initial user identifier set based on the feature screening conditions, the initial user identifier set, and the initial user feature set in the initial data set to obtain a candidate user identifier set; based on the candidate user identifier set and the initial user identifier set, a data set to be verified is determined, and the data set to be verified is sent to the data receiving end.
[0042] The candidate user identification set refers to a set of user identifications whose user characteristics meet the characteristic screening conditions.
[0043] S130 , the data receiving end performs legitimacy verification on the candidate user features in the data set to be verified, and selects a target user identification set that passes the legitimacy verification from the data set to be verified, and sends the target user identification set to the data sending end.
[0044] Among them, legitimacy verification refers to checking the candidate user features in the verification data set to ensure that these features meet the predetermined standards or rules. The target user identification set refers to the set of user identifiers screened from the verification data set after legitimacy verification, and the features of these users have been confirmed to be valid.
[0045] Specifically, the data receiving end performs legitimacy verification on the candidate user features in the data set to be verified under the premise that the plaintext values of the candidate user features are unknown; for the candidate user features corresponding to each user identifier in the data set to be verified, if the candidate user features corresponding to the user identifier have passed the legitimacy verification, the user identifier is determined to be the target user identifier, and then the target user identifier set that has passed the legitimacy verification is screened out from the data set to be verified, and the target user identifier set is sent to the data sending end.
[0046] It should be noted that legitimacy verification can be implemented based on the proof verification algorithm and parallel computing algorithm of the preset zero-knowledge proof protocol.
[0047] S140. Determine a third encrypted data set through the privacy computing platform based on the second encrypted data set, and the authorization key and target user identification set received from the data sending end, and send the third encrypted data set to the data receiving end.
[0048] Among them, the third encrypted data set refers to the data set processed by the privacy computing platform, which is generated by re-encrypting the second encrypted data set with the authorized key.
[0049] Optionally, the privacy computing platform, based on the authorization key received from the data sender and the target user identification set, screens the second encrypted data set to obtain the data set to be exchanged; and encrypts the data set to be exchanged again to obtain a third encrypted data set.
[0050] Among them, the data set to be exchanged refers to the data set obtained after screening the second encrypted data set through the authorization key and the target user identification set on the privacy computing platform. This data set contains the data that needs to be exchanged for the target user.
[0051] S150. Decrypt the third encrypted data set through the data receiving end to obtain a target data set.
[0052] The target data set refers to the data set obtained by the data receiving end by decrypting the third encrypted data set; the target data set contains the original data after privacy protection processing and is only readable and accessible to the data receiving end.
[0053] Optionally, the third encrypted data set is decrypted by a conversion ciphertext decryption algorithm and a parallel computing algorithm based on a proxy re-encryption mechanism at the data receiving end to obtain a target data set.
[0054] Among them, the conversion ciphertext decryption algorithm refers to the use of a specific decryption key by the data receiving end to decrypt the converted ciphertext (the third encrypted data set) under the proxy re-encryption mechanism, thereby restoring the usable original data.
[0055] It should be noted that all data sets involved in this application can be represented in the form of a matrix.
[0056] The embodiment of the present application obtains the initial user feature set and the first encrypted data set from the data sending end and the application feature set from the data receiving end through the privacy computing platform, and determines the second encrypted data set based on the initial user feature set, the application feature set and the first encrypted data set; obtains the feature screening conditions from the data receiving end through the data sending end, and determines the data set to be verified based on the feature screening conditions, the initial user identification set and the initial data set, and sends the data set to be verified to the data receiving end; the initial data set is a plaintext set consisting of the initial user feature set and the initial user identification set; the data receiving end verifies the legitimacy of the candidate user features in the data set to be verified, and screens out the target user identification set that passes the legitimacy verification from the data set to be verified, and sends the target user identification set to the data sending end; determines the third encrypted data set based on the second encrypted data set, the authorization key and the target user identification set received from the data sending end through the privacy computing platform, and sends the third encrypted data set to the data receiving end; the data receiving end decrypts the third encrypted data set to obtain the target data set. The above technical solution can further improve the efficiency of data exchange on the basis of ensuring the security and stability of the data exchange system by screening and verifying the user identification set and user feature set respectively, and performing secondary encryption conversion processing through a third-party privacy computing platform during the final data transmission process.
[0057] Embodiment 2
[0058] Figure 2This is a flow chart of a data exchange method provided in accordance with the second embodiment of the present application. Based on the technical solutions of the above embodiments, this embodiment refines "determining the second encrypted data set according to the initial user feature set, the application feature set and the first encrypted data set" into "finding the intersection of the initial user feature set and the application feature set to obtain a candidate user feature set, and sending the candidate user feature set to the data sending end and the data receiving end; based on the candidate user feature set, the first encrypted data set is screened to obtain a second encrypted data set". It should be noted that for the parts not described in detail in the embodiments of the present application, please refer to the relevant descriptions of other embodiments. Figure 2 As shown, the method includes:
[0059] S210. Obtain an initial user feature set and a first encrypted data set from a data sending end through a privacy computing platform, and obtain an application feature set from a data receiving end.
[0060] S220. Obtain the intersection of the initial user feature set and the application feature set through the privacy computing platform to obtain a candidate user feature set, and send the candidate user feature set to the data sending end and the data receiving end.
[0061] The candidate user feature set refers to a set of user features in the initial user feature set that meet the requirements of the application feature set.
[0062] Optionally, the privacy computing secure intersection component in the privacy computing platform is jointly called by the data sending end and the data receiving end, and the initial user feature set and the application feature set are sent to the privacy computing platform; the initial user feature set and the application feature set are intersected by the privacy computing secure intersection component to obtain a candidate user feature set.
[0063] Among them, the privacy computing secure intersection component is a tool or module used to calculate the intersection of two or more data sets while protecting data privacy.
[0064] For example, taking the medical field as an example, the initial user feature set is {age, gender, department, monthly frequency of visits, disease severity, treatment duration, treatment effect}; the application feature set is {age, gender, disease severity, surgical history, personal income, debt status}; at this time, through the secure teaching algorithm of the privacy computing secure intersection component, the candidate user feature set is obtained as {age, gender, disease severity, surgical history}.
[0065] S230. Screen the first encrypted data set according to the candidate user feature set through the privacy computing platform to obtain a second encrypted data set.
[0066] S240, obtaining feature screening conditions from the data receiving end through the data sending end, and determining the data set to be verified based on the feature screening conditions, the initial user identification set and the initial data set, and sending the data set to be verified to the data receiving end; the initial data set is a plaintext set consisting of the initial user feature set and the initial user identification set.
[0067] Optionally, the data set to be verified can be determined based on the feature screening conditions, the initial user identification set and the initial data set. The data sending end may filter the initial user identification set based on the feature screening conditions to obtain a candidate user identification set; based on the candidate user identification set and the candidate user feature set, filter the initial data set to obtain a candidate data set; based on the zero-knowledge proof protocol and the parallel computing algorithm, determine the data set to be verified based on the candidate data set.
[0068] The candidate user identification set refers to the set of user feature data associated with the candidate user identification set. The zero-knowledge proof protocol refers to a cryptographic protocol that allows one party (the prover) to prove to another party (the verifier) that it possesses the authenticity of certain information without revealing the specific content of the information; in privacy computing, it is often used to verify the correctness of data or calculation results without exposing the actual data.
[0069] S250 , the data receiving end performs legitimacy verification on the candidate user features in the data set to be verified, and selects a target user identification set that passes the legitimacy verification from the data set to be verified, and sends the target user identification set to the data sending end.
[0070] Optionally, after sending the target user identification set to the data sending end, the data sending end can also determine the authorization key based on the proxy re-encryption mechanism according to the candidate private key and the candidate public key received from the data receiving end, and send the target user identification set and the authorization key to the privacy computing platform.
[0071] Among them, the proxy re-encryption mechanism is an encryption technology that allows a third party (proxy) to convert encrypted data from one key encryption form to another key encryption form without decrypting the data; in this way, the data can be re-encrypted for access by other users without the need for complete decryption. The candidate private key is the private key held by the data sender, which is used to generate the authorization key so that the proxy can convert data from the encrypted format of one user to a format that can be decrypted by another user. The candidate public key is the public key corresponding to the candidate private key, which is usually provided by the data receiver. It is used to encrypt data so that the proxy can re-encrypt the data using the authorization key. The authorization key is a key in the proxy re-encryption mechanism, which is used to convert data from a user-readable form to another user-readable form. The authorization key is generated when the proxy processes the encrypted data, so that the target user can decrypt the data. The target user identification set refers to the identification of all users who need to access or operate the encrypted data, which is used to determine which users need to use the authorization key to access the data.
[0072] S260. Determine a third encrypted data set through the privacy computing platform based on the second encrypted data set, and the authorization key and target user identification set received from the data sending end, and send the third encrypted data set to the data receiving end.
[0073] S270. Decrypt the third encrypted data set through the data receiving end to obtain a target data set.
[0074] Optionally, after obtaining the target data set, the core process data can be stored through the data sending end, and the storage result can be reviewed through the data receiving end.
[0075] Among them, core process data notarization refers to the process of recording and saving data to ensure its authenticity and integrity at a specific point in time, which is usually achieved by generating a hash value and timestamp for the data. The notarization result review verifies the integrity of the notarized data, the accuracy of the timestamp, and the compliance of the notarization process to ensure that the notarized information can be used as valid evidence in subsequent use.
[0076] Exemplarily, the process of determining the second encrypted data set is taken as the feature screening stage, the process of determining the target user identification set is taken as the data screening stage, and the process of determining the target data set is taken as the authorization parsing stage;
[0077] Core process data storage and storage result review can be achieved through the following methods:
[0078] 1) The core data summary of the determination process of calculating the second encrypted data set by the data sending end:
[0079] =Hash(Task initiator: Data receiving end Task name: Feature screening Screening results: first encrypted data set);
[0080] 2) The core data summary of the process of determining the target user identification set calculated by the data sender:
[0081] =Hash(Task initiator: Data receiving end Filter conditions: Feature filter conditions Task name: Data screening Filter results: target user identification set);
[0082] 3) Summary of the core data of the process of determining the target data set by calculating the data sending end:
[0083] =Hash(Task initiator: Data receiving end Authorized party: Data sender Authorized party: Privacy Computing Platform Task name: Authorization analysis Screening results: target dataset);
[0084] 4) The data sender calculates the hash fingerprint of the core data summary of the "core three-stage data exchange": And submit the data exchange core flow hash fingerprint h to the blockchain system in the "evidence transaction method".
[0085] 5) Review of evidence storage results: The data receiving end exchanges core process data based on known data and recalculates the core data summary of the "feature screening stage" , Summary of core data in the "Data screening phase" , Summary of core data in the "Authorization resolution phase" and the hash fingerprint of the core data summary of the "Core Data Exchange Phase 3" , and verify Is it true? If so, the core process data of the data exchange task is true.
[0086] In the embodiment of the present application, an initial user feature set and a first encrypted data set are obtained from a data sending end and an application feature set are obtained from a data receiving end through a privacy computing platform, and the intersection of the initial user feature set and the application feature set is obtained to obtain a candidate user feature set, and the candidate user feature set is sent to the data sending end and the data receiving end; the first encrypted data set is screened according to the candidate user feature set to obtain a second encrypted data set; the data sending end obtains feature screening conditions from the data receiving end, and determines a data set to be verified according to the feature screening conditions, the initial user identification set and the initial data set, and sends the data set to be verified to the data receiving end; the initial data set is a plaintext set consisting of the initial user feature set and the initial user identification set; the data receiving end verifies the legitimacy of the candidate user features in the data set to be verified, and screens out a target user identification set that passes the legitimacy verification from the data set to be verified, and sends the target user identification set to the data sending end; the privacy computing platform determines a third encrypted data set according to the second encrypted data set, as well as the authorization key and the target user identification set received from the data sending end, and sends the third encrypted data set to the data receiving end; the data receiving end decrypts the third encrypted data set to obtain a target data set. The above technical solution can further improve the efficiency of data exchange on the basis of ensuring the security and stability of the data exchange system by screening and verifying the user identification set and user feature set respectively, and performing secondary encryption conversion processing through a third-party privacy computing platform during the final data transmission process.
[0087] Embodiment 3
[0088] Figure 3 This is a structural diagram of a data exchange system provided according to the third embodiment of the present application, which can be applied to data exchange between different departments within an organization, data exchange between upstream and downstream organizations, data exchange between different organizations in the same industry under the condition of protecting ownership, etc. The data exchange system can be implemented in the form of hardware and / or software, and the data exchange system can be configured in a computer device, such as a server. Figure 3 As shown, the system includes a data sending end 310, a data receiving end 320 and a privacy computing platform 330;
[0089] The privacy computing platform 330 is used to obtain an initial user feature set and a first encrypted data set from the data sending end 310, and obtain an application feature set from the data receiving end 320, and determine a second encrypted data set based on the initial user feature set, the application feature set and the first encrypted data set;
[0090] The data sending end 310 is used to obtain the feature screening condition from the data receiving end 320, and determine the data set to be verified according to the feature screening condition, the initial user identification set and the initial data set, and send the data set to be verified to the data receiving end 320; the initial data set is a plaintext set consisting of the initial user feature set and the initial user identification set;
[0091] The data receiving end 320 is used to verify the legitimacy of the candidate user features in the data set to be verified, and to select a target user identification set that passes the legitimacy verification from the data set to be verified, and to send the target user identification set to the data sending end 310;
[0092] The privacy computing platform 330 is further used to determine a third encrypted data set based on the second encrypted data set, and the authorization key and the target user identification set received from the data sending end 310, and send the third encrypted data set to the data receiving end 320;
[0093] The data receiving end 320 is further used to decrypt the third encrypted data set to obtain a target data set.
[0094] The embodiment of the present application obtains the initial user feature set and the first encrypted data set from the data sending end and the application feature set from the data receiving end through the privacy computing platform, and determines the second encrypted data set based on the initial user feature set, the application feature set and the first encrypted data set; obtains the feature screening conditions from the data receiving end through the data sending end, and determines the data set to be verified based on the feature screening conditions, the initial user identification set and the initial data set, and sends the data set to be verified to the data receiving end; the initial data set is a plaintext set consisting of the initial user feature set and the initial user identification set; the data receiving end verifies the legitimacy of the candidate user features in the data set to be verified, and screens out the target user identification set that passes the legitimacy verification from the data set to be verified, and sends the target user identification set to the data sending end; determines the third encrypted data set based on the second encrypted data set, the authorization key and the target user identification set received from the data sending end through the privacy computing platform, and sends the third encrypted data set to the data receiving end; the data receiving end decrypts the third encrypted data set to obtain the target data set. The above technical solution can further improve the efficiency of data exchange on the basis of ensuring the security and stability of the data exchange system by screening and verifying the user identification set and user feature set respectively, and performing secondary encryption conversion processing through a third-party privacy computing platform during the final data transmission process.
[0095] Optionally, the privacy computing platform 330 is specifically used for:
[0096] The intersection of the initial user feature set and the application feature set is calculated to obtain a candidate user feature set, and the candidate user feature set is sent to the data sending end 310 and the data receiving end 320;
[0097] The first encrypted data set is screened according to the candidate user feature set to obtain a second encrypted data set.
[0098] Optionally, the data sending end 310 is specifically used for:
[0099] According to the feature screening condition, the initial user identification set is screened to obtain a candidate user identification set;
[0100] Based on the candidate user identification set and the candidate user feature set, the initial data set is screened to obtain a candidate data set;
[0101] Based on the zero-knowledge proof protocol and parallel computing algorithm, the data set to be verified is determined according to the candidate data sets.
[0102] Optionally, after the data receiving end 320 sends the target user identification set to the data sending end 310, the data sending end 310 is further used to:
[0103] Based on the proxy re-encryption mechanism, the authorization key is determined according to the candidate private key and the candidate public key received from the data receiving end 320, and the target user identification set and the authorization key are sent to the privacy computing platform 330.
[0104] Optionally, the privacy computing platform 330 is further specifically used for:
[0105] Based on the authorization key received from the data sending terminal 310, the second encrypted data set is screened according to the target user identification set to obtain the data set to be exchanged;
[0106] The data set to be exchanged is encrypted twice to obtain a third encrypted data set.
[0107] Optionally, the first encrypted data set is determined by:
[0108] The data transmitting end 310 encodes the initial data set to obtain an encoded data set;
[0109] Based on the encryption sub-algorithm and the parallel computing algorithm, the encoded data set is encrypted to obtain a first encrypted data set, and the first encrypted data set is sent to the privacy computing platform 330.
[0110] The data exchange system provided in the embodiments of the present application can execute the data exchange method provided in any embodiment of the present application, and has the corresponding functional modules and beneficial effects for executing each data exchange method.
[0111] Embodiment 4
[0112] Figure 4 4 is a schematic diagram of the structure of an electronic device 410 that implements the data exchange method of an embodiment of the present application. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0113] like Figure 4 As shown, the electronic device 410 includes at least one processor 411, and a memory connected to the at least one processor 411 in communication, such as a read-only memory (ROM) 412, a random access memory (RAM) 413, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 411 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 412 or the computer program loaded from the storage unit 418 to the random access memory (RAM) 413. In RAM413, various programs and data required for the operation of the electronic device 410 can also be stored. The processor 411, ROM412 and RAM413 are connected to each other via a bus 414. An input / output (I / O) interface 415 is also connected to the bus 414.
[0114] Multiple components in the electronic device 410 are connected to the I / O interface 415, including: an input unit 416, such as a keyboard, a mouse, etc.; an output unit 417, such as various types of displays, speakers, etc.; a storage unit 418, such as a disk, an optical disk, etc.; and a communication unit 419, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 419 allows the electronic device 410 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0115] The processor 411 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 411 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 411 performs the various methods and processes described above, such as a data exchange method.
[0116] In some embodiments, the data exchange method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 418. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 410 via the ROM 412 and / or the communication unit 419. When the computer program is loaded into the RAM 413 and executed by the processor 411, one or more steps of the data exchange method described above may be performed. Alternatively, in other embodiments, the processor 411 may be configured as the data exchange method in any other appropriate manner (e.g., by means of firmware).
[0117] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0118] The computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data exchange device, so that when the computer programs are executed by the processor, the functions / operations specified in the flow charts and / or block diagrams are implemented. The computer programs may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0119] In the context of the present application, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0120] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0121] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0122] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0123] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution of this application can be achieved, and this document is not limited here.
[0124] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.
Claims
1. A data exchange method, It is characterized in that Applied to data exchange systems; The data exchange system includes a data sending end, a data receiving end and a privacy computing platform; the method includes: Obtaining an initial user feature set and a first encrypted data set from the data sending end, and obtaining an application feature set from the data receiving end through the privacy computing platform, and determining a second encrypted data set based on the initial user feature set, the application feature set and the first encrypted data set; Acquire a feature screening condition from the data receiving end through the data sending end, determine a data set to be verified according to the feature screening condition, an initial user identification set and an initial data set, and send the data set to be verified to the data receiving end; the initial data set is a plaintext set consisting of the initial user feature set and the initial user identification set; Performing legitimacy verification on the candidate user features in the to-be-verified data set through the data receiving end, and screening out a target user identification set that passes the legitimacy verification from the to-be-verified data set, and sending the target user identification set to the data sending end; Determine, by the privacy computing platform, a third encrypted data set according to the second encrypted data set, and the authorization key and target user identification set received from the data sending end, and send the third encrypted data set to the data receiving end; Decrypting the third encrypted data set by the data receiving end to obtain a target data set; The first encrypted data set is determined in the following manner: The data transmitting end performs encoding processing on the initial data set to obtain an encoded data set; Based on the encryption sub-algorithm and the parallel computing algorithm, the encoded data set is encrypted to obtain the first encrypted data set.
2. The method according to claim 1, It is characterized in that Determining a second encrypted data set according to the initial user feature set, the application feature set, and the first encrypted data set includes: Calculating the intersection of the initial user feature set and the application feature set to obtain a candidate user feature set, and sending the candidate user feature set to the data sending end and the data receiving end; The first encrypted data set is screened according to the candidate user feature set to obtain a second encrypted data set.
3. The method according to claim 2, It is characterized in that Acquiring a feature screening condition from the data receiving end through the data sending end, and determining a data set to be verified according to the feature screening condition, an initial user identification set and an initial data set, including: The data sending end filters the initial user identification set according to the characteristic screening condition to obtain a candidate user identification set; Based on the candidate user identification set and the candidate user feature set, the initial data set is screened to obtain a candidate data set; Based on the zero-knowledge proof protocol and the parallel computing algorithm, a data set to be verified is determined according to the candidate data set.
4. The method according to claim 1, It is characterized in that After sending the target user identification set to the data sending end, the method further includes: The data sending end determines the authorization key based on the proxy re-encryption mechanism according to the candidate private key and the candidate public key received from the data receiving end, and sends the target user identification set and the authorization key to the privacy computing platform.
5. The method according to claim 1, determining, by the privacy computing platform, a third encrypted data set according to the second encrypted data set, and the authorization key and target user identification set received from the data sending end, include: The privacy computing platform screens the second encrypted data set based on the authorization key received from the data sending end and the target user identification set to obtain the data set to be exchanged; The data set to be exchanged is encrypted twice to obtain a third encrypted data set.
6. A data exchange system, It is characterized in that The system includes a data sending end, a data receiving end and a privacy computing platform; The privacy computing platform is used to obtain an initial user feature set and a first encrypted data set from the data sending end, and to obtain an application feature set from the data receiving end, and to determine a second encrypted data set based on the initial user feature set, the application feature set and the first encrypted data set; The data sending end is used to obtain the feature screening condition from the data receiving end, and determine the data set to be verified according to the feature screening condition, the initial user identification set and the initial data set, and send the data set to be verified to the data receiving end; the initial data set is a plaintext set consisting of the initial user feature set and the initial user identification set; The data receiving end is used to verify the legitimacy of the candidate user features in the data set to be verified, and to select a target user identification set that passes the legitimacy verification from the data set to be verified, and to send the target user identification set to the data sending end; The privacy computing platform is further used to determine a third encrypted data set according to the second encrypted data set, and the authorization key and target user identification set received from the data sending end, and send the third encrypted data set to the data receiving end; The data receiving end is further used to decrypt the third encrypted data set to obtain a target data set; The data sending end is further used to encode the initial data set to obtain an encoded data set; Based on the encryption sub-algorithm and the parallel computing algorithm, the encoded data set is encrypted to obtain the first encrypted data set.
7. An electronic device, It is characterized in that include: one or more processors; A memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the data exchange method according to any one of claims 1 to 5.
8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the data exchange method according to any one of claims 1 to 5 is implemented.
9. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements the data exchange method according to any one of claims 1 to 5.
