Data circulation method and system based on safe multi-party calculation
Technical Field
The invention relates to the technical field of information security, in particular to a data circulation method and system based on secure multi-party computing.
Background
At present, in the data sharing process, many enterprises or organizations serve as data suppliers, and for the consideration of information security or benefits, internal data cannot be directly opened to the outside, and an agreement needs to be reached with a data demand side, so that the data suppliers process the data according to the business demands of the data demand side, and only non-private data or the final data processing result is returned. In this mode, the data supplier is required to realize the software function of data processing according to the service logic of the data demander, and the data supplier generally corresponds to a plurality of data demanders, and cannot develop and complete all software development in a short time, thereby influencing the service requirements of the data demanders to a certain extent. Meanwhile, under some conditions, the data demand party is in the consideration of business safety, and the data supply party is not expected to know the business logic of data processing, so that the data supply party does not provide data, and the data demand party does not provide the business processing logic, which seriously affects the realization of data sharing.
Secure Multi-Party computing (MPC) is an important branch of cryptography, and aims to solve the problem of privacy-preserving cooperative computing among a group of untrusted parties and provide a Multi-Party cooperative computing capability for data requiring parties without revealing original data.
The MPC can be applied to various fields relating to data sharing, and can realize the safe query of data by utilizing the safe multi-party computing technology.
When the mechanism is crossed, data is often acquired from a plurality of data sources and spliced into full data for analysis, an existing data analysis algorithm may cause privacy exposure and data ownership transfer, and the original data can be calculated by applying a safe multi-party calculation technology without being collected and shared, so that the privacy of a target data holder and the asset safety are protected.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention provides a data circulation method and a data circulation system based on secure multi-party calculation.
In order to achieve the purpose, the invention adopts the following technical scheme:
a secure multiparty computing based data distribution system comprising: and a first data end of the data circulation platform is connected with a data demand side terminal through a data cable, and a second data end of the data circulation platform is respectively connected with a data supplier A, a data supplier B, a data supplier C, a data supplier X through a data cable.
A secure multiparty computing based data distribution method, comprising: a preparation stage and a circulation stage;
1) the model of data circulation in the preparation phase and the circulation phase is as follows: the data demand side is connected with the data circulation platform through a data cable; the first data end and the second data end of the data circulation platform are respectively connected with a data supplier A, a data supplier B, a data supplier C, a data supplier X and a data supplier C through data cables;
2) the data circulation of multi-party calculation comprises the following steps:
(1) the data demand party sends an initial value and a user identity card number to the data circulation platform;
(2) the data circulation platform judges circulation according to the circulation processing logic codes deployed in the preparation stage;
(3) the data circulation platform forwards the initial value to a data supplier;
(4) the data supplier carries out logic processing on the initial value according to the deployed data processing logic code to obtain a processed result A 'and returns the result A' to the data circulation platform;
(5) and the data circulation platform repeats the steps 2-4 according to the circulation processing logic code until all data suppliers involved in the circulation processing logic code request completion. Obtaining a final result X';
(6) and the data circulation platform carries out evidence storage operation on the circulation record and returns a final value, and the user has no bad record to the data demand party.
The invention has the following advantages due to the adoption of the technical scheme:
a data circulation method and system based on safe multi-party computation realizes the conversion from a data supplier development mode to a data demand side development mode by introducing a safe multi-party computation mechanism in the data circulation process, reduces the data supply difficulty of the data supplier and improves the development efficiency. Meanwhile, due to the protocol characteristics of safe multi-party computing, data sharing can be realized under the condition that a data supplier does not leak original data and a data demand supplier does not leak business processing logic. The privacy and asset security of the target data holder can be protected.
Drawings
FIG. 1 is an overall framework diagram of a multi-party computing data flow system;
FIG. 2 is a flow diagram of a preparation phase of a multi-party computing data distribution system;
FIG. 3 is a flow chart of a flow phase of a multi-party computing data flow system.
Detailed Description
As shown in fig. 1, 2 and 3, a data circulation system based on secure multiparty computation includes: and a first data end of the data circulation platform is connected with a data demand side terminal through a data cable, and a second data end of the data circulation platform is respectively connected with a data supplier A, a data supplier B, a data supplier C, a data supplier X through a data cable.
A secure multiparty computing based data distribution system comprising: a preparation stage and a circulation stage;
the data demand side is connected with the data circulation platform through a data cable; the first data end and the second data end of the data circulation platform are respectively connected with a data supplier A, a data supplier B, a data supplier C, a data supplier D, a data supplier A, a data supplier B, a data supplier C and a data supplier X through data cables.
The data circulation method based on the secure multi-party calculation comprises the following steps:
1. the data demand party sends an initial value, such as a user identity card number, to the data circulation platform.
2. And the data circulation platform judges the circulation according to the circulation processing logic codes deployed in the preparation stage.
3. The data currency platform forwards the initial values to the data supplier a.
4. And the data supplier performs logic processing on the initial value according to the deployed data processing logic code to obtain a processed result A ', and returns the result A' to the data circulation platform.
5. And the data circulation platform repeats the steps 2-4 according to the circulation processing logic code until all data suppliers involved in the circulation processing logic code request completion. The final result X' is obtained.
6. And the data circulation platform carries out evidence storage operation on the circulation record and returns a final value, if the user has no bad record to the data demand side.