Data sharing system and method based on notary mechanism and differential privacy algorithm
The data sharing system, which utilizes a notary mechanism and differential privacy algorithm, solves the data sharing challenges under the requirements of data privacy and security. It achieves secure sharing of privacy data and ensures that data is 'usable but not visible,' avoiding 'data silos,' and is applicable to existing data governance platforms.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHANGCHUN WHY E SCI & TECH
- Filing Date
- 2023-03-28
- Publication Date
- 2026-07-31
AI Technical Summary
In existing data sharing technologies, data privacy and security requirements prevent the sharing of some private data, creating a "data silo" phenomenon, and making it difficult to achieve reliable sharing in different data storage environments.
The data sharing system, which adopts a notary mechanism and differential privacy algorithm, constructs a consortium blockchain and servers, uses differential privacy algorithm to process privacy data, and stores and destroys data on the blockchain to ensure secure data sharing.
It enables secure sharing of private data, meets the security requirement of 'data is available but not visible', avoids the phenomenon of 'data silos', has a simple structure that is easy to integrate, and is suitable for existing data governance platforms.
Smart Images

Figure CN116484400B_ABST
Abstract
Description
Technical Field
[0001] This invention proposes a data sharing system and method based on a notary mechanism and a differential privacy algorithm, belonging to the field of data security technology. Background Technology
[0002] Data sharing is a crucial and challenging area in current big data applications. On the one hand, for big data technology to be fully utilized, data needs to be open to achieve genuine data sharing and application. On the other hand, some data has privacy and security requirements, necessitating the achievement of the data security requirement of "data usable but not visible." These two contradictory needs have created difficulties in the implementation and application of some data sharing projects.
[0003] Currently, due to data privacy and security requirements, some private data cannot be shared during data sharing. However, this data is crucial for data sharing applications, creating a conflict between sharing and security. This situation is widespread in current data sharing scenarios, resulting in the "data silo" phenomenon. Furthermore, because much shared data comes from different sources, differences in security needs, data storage environments, and technical conditions among parties make it difficult to achieve a trustworthy data sharing environment and guarantee data security. This further complicates data sharing and exacerbates the "data silo" phenomenon. Summary of the Invention
[0004] To address the problems of existing data sharing technologies, such as high difficulty in data sharing, inability to share some private data, and frequent data silos, this invention provides a data sharing system and method based on a notary mechanism and differential privacy algorithm.
[0005] The technical solution adopted by this invention to solve the technical problem is as follows:
[0006] The data sharing system based on a notary mechanism and differential privacy algorithm of the present invention includes:
[0007] The data application server is used to send data sharing application requests to the data application consortium blockchain, to receive the final data sharing results, and to receive cross-chain request success notifications.
[0008] The notary's server is used to receive privacy data application result requirements and privacy data processing models, and to perform model calculations on the noisy privacy data according to the privacy data application result requirements and privacy data processing models to obtain privacy data model processing results;
[0009] The data provider server is used to determine the security level of privacy data and verify the permission to provide privacy data; it is also used to perform differential privacy calculations on the privacy data using differential privacy algorithms to generate noisy privacy data.
[0010] The data application party consortium blockchain is used by the data application party server to send cross-chain requests for data sharing applications to the notary consortium blockchain; it is used to receive notifications of rejection of cross-chain requests and successful receipt of cross-chain requests; it is used to send privacy data application result requirements and privacy data processing models to the notary consortium blockchain; it is used to receive privacy data model processing results sent by the notary consortium blockchain; and it is used to send notifications of the end of the data sharing application process to the notary consortium blockchain.
[0011] The notary consortium blockchain is used for: storing privacy data and privacy data model processing results; receiving cross-chain requests for data sharing applications from data application consortium blockchains; sending cross-chain requests for data sharing applications to data provider consortium blockchains; receiving and accepting cross-chain requests; receiving privacy data application result requirements and privacy data processing models from data application consortium blockchains and sending them to the notary server; sending privacy data result delivery requests to data provider consortium blockchains; sending privacy data model processing results to data application consortium blockchains; receiving data sharing application process termination notifications from data application consortium blockchains; destroying privacy data; and sending privacy data destruction and data sharing application process termination notifications to data provider consortium blockchains.
[0012] The data provider consortium blockchain is used to: store privacy data; receive cross-chain requests for data sharing applications from the notary consortium blockchain; send data sharing application requests to the data provider server; send rejection and acceptance requests for cross-chain applications to the notary consortium blockchain; send noisy privacy data processed by differential privacy computation to the notary consortium blockchain; confirm requests for privacy data result delivery; receive notifications from the notary consortium blockchain regarding privacy data destruction and the end of the data sharing application process; and confirm the complete end of the data sharing application process.
[0013] The data sharing method based on the notary mechanism and differential privacy algorithm of the present invention is implemented using the aforementioned data sharing system based on the notary mechanism and differential privacy algorithm. This data sharing method includes the following steps:
[0014] Step 1: Construct the data provider consortium blockchain, the notary consortium blockchain, and the data application consortium blockchain, as well as the corresponding data provider server, notary server, and data application server;
[0015] Step 2: The data application server sends a data sharing application request to the notary consortium blockchain through the data application consortium blockchain, forming a cross-chain request for data sharing application.
[0016] Step 3: After receiving the cross-chain request for data sharing application from the data application party's consortium blockchain, the notary party's consortium blockchain sends a cross-chain request for data sharing application to the data provider's consortium blockchain.
[0017] Step 4: After receiving the cross-chain request for data sharing application from the notary consortium blockchain, the data provider consortium blockchain sends a data sharing application request to the data provider server. The data provider server determines the privacy data security level and verifies the privacy data provision authority based on the data sharing application request.
[0018] Step 5: If the data provider server determines that it cannot provide the data sharing application request due to the high security level of the privacy data or insufficient permissions to provide the privacy data, the data provider server notifies the data provider consortium chain to send a cross-chain rejection request to the notary consortium chain. After receiving the cross-chain rejection request, the notary consortium chain sends a cross-chain rejection request to the data application party consortium chain. Then the data sharing application request is completed, and the final data sharing result is that privacy data cannot be provided.
[0019] Step 6: If the data provider server determines that it can provide privacy data after verifying the privacy data provision authority, the data provider server uses a differential privacy algorithm to perform differential privacy calculation on the privacy data to form noisy privacy data.
[0020] Step 7: After performing differential privacy calculation on the privacy data, the data provider's server sends a cross-chain agreement request to the notary's consortium chain through the data provider's consortium chain, and sends the noise-added privacy data after differential privacy calculation to the notary's consortium chain through the data provider's consortium chain.
[0021] Step 8: After receiving the noisy privacy data from the data provider's consortium blockchain, the notary consortium blockchain sends a cross-chain request reception success notification to the data application consortium blockchain. The data application consortium blockchain receives the cross-chain request reception success notification through its server and then sends a privacy data application result requirement and a privacy data processing model to the notary consortium blockchain. The notary consortium blockchain sends the privacy data application result requirement and privacy data processing model to the notary server. The notary server performs model calculations on the noisy privacy data stored in the notary consortium blockchain based on the privacy data application result requirement and privacy data processing model, obtains the privacy data model processing result, and stores the privacy data model processing result on the notary consortium blockchain.
[0022] Step 9: After receiving the privacy data model processing results, the notary consortium blockchain sends a privacy data result delivery request to the data provider consortium blockchain. The data provider consortium blockchain confirms the privacy data result delivery request and approves it.
[0023] Step 10: The notary consortium blockchain sends the privacy data model processing result to the data application consortium blockchain. After receiving the privacy data model processing result, the data application consortium blockchain sends a notification to the notary consortium blockchain that the data sharing application process has ended.
[0024] Step 11: After receiving the notification from the data application party's consortium blockchain that the data sharing application process has ended, the notary consortium blockchain destroys the privacy data.
[0025] Step 12: After destroying the privacy data, the notary consortium blockchain sends a notification to the data provider consortium blockchain that the privacy data destruction and data sharing application process has ended.
[0026] Step 13: After receiving the notification from the notary consortium blockchain that the privacy data destruction and data sharing application process has ended, the data provider consortium blockchain confirms that the data sharing application process has been completely completed.
[0027] Furthermore, in step one, privacy data is stored in the data provider's consortium blockchain and the notary's consortium blockchain during data circulation, while non-privacy data does not need to be stored.
[0028] Furthermore, in step six, when performing differential privacy calculations on the privacy data using the differential privacy algorithm, if the privacy data is numerical, the Laplace mechanism is used to add noise conforming to the Laplace distribution to the query results to protect the numerically sensitive results; if the privacy data is discrete, the exponential mechanism is used to add a small amount of positive noise to the query results to protect the discretely sensitive results.
[0029] Furthermore, in step eleven, the privacy data destroyed is the noise-added privacy data after differential privacy computation processing stored on the notary consortium blockchain.
[0030] The beneficial effects of this invention are:
[0031] The present invention relates to a data sharing system and method based on a notary mechanism and a differential privacy algorithm, which utilizes a blockchain notary mechanism and a differential privacy algorithm to achieve secure sharing of privacy data.
[0032] The data sharing method based on the notary mechanism and differential privacy algorithm of the present invention can achieve privacy protection for the privacy data that needs to be shared, and achieve the purpose of sharing and using privacy data while ensuring the security of other data, thus realizing the data security requirement of "data is usable but not visible".
[0033] The data sharing system based on the notary mechanism and differential privacy algorithm of the present invention has a simple structure and is easy to integrate. It can be integrated with existing data governance platforms or data sharing platforms to realize the secure sharing and application of privacy data and meet the data security requirement of "data is usable but not visible".
[0034] This invention solves the problems of high difficulty in data sharing, inability to share some private data, and frequent occurrence of data silos in existing data sharing technologies. It has the advantages of low difficulty in data sharing, complete sharing of private data, and elimination of the "data silo" phenomenon. Attached Figure Description
[0035] Figure 1 This is a flowchart of a data sharing method based on a notary mechanism and differential privacy algorithm according to the present invention.
[0036] Figure 2 This is a flowchart illustrating the rejection request process in a data sharing method based on a notary mechanism and differential privacy algorithm according to the present invention.
[0037] Figure 3 This is a flowchart illustrating the request acceptance process in a data sharing method based on a notary mechanism and differential privacy algorithm according to the present invention. Detailed Implementation
[0038] The technical solutions of the present invention will be clearly and completely described below with reference to the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0039] The data sharing system based on a notary mechanism and differential privacy algorithm of the present invention mainly includes: a data provider consortium blockchain; a notary consortium blockchain; a data application consortium blockchain; a data provider server; a notary server; and a data application server; wherein the specific functions and applications of each part are as follows:
[0040] The data application server is used to send data sharing application requests to the data application consortium blockchain, to receive the final data sharing results, and to receive cross-chain request success notifications.
[0041] The notary's server is used to receive privacy data application result requirements and privacy data processing models, and to perform model calculations on the noisy privacy data according to the privacy data application result requirements and privacy data processing models to obtain privacy data model processing results;
[0042] The data provider server is used to determine the security level of privacy data and verify the permission to provide privacy data; it is also used to perform differential privacy calculations on the privacy data using differential privacy algorithms to generate noisy privacy data.
[0043] The data application party consortium blockchain is used by the data application party server to send cross-chain requests for data sharing applications to the notary consortium blockchain; it is used to receive notifications of rejection of cross-chain requests and successful receipt of cross-chain requests; it is used to send privacy data application result requirements and privacy data processing models to the notary consortium blockchain; it is used to receive privacy data model processing results sent by the notary consortium blockchain; and it is used to send notifications of the end of the data sharing application process to the notary consortium blockchain.
[0044] The notary consortium blockchain is used for: storing privacy data and privacy data model processing results; receiving cross-chain requests for data sharing applications from data application consortium blockchains; sending cross-chain requests for data sharing applications to data provider consortium blockchains; receiving and accepting cross-chain requests; receiving privacy data application result requirements and privacy data processing models from data application consortium blockchains and sending them to the notary server; sending privacy data result delivery requests to data provider consortium blockchains; sending privacy data model processing results to data application consortium blockchains; receiving data sharing application process termination notifications from data application consortium blockchains; destroying privacy data; and sending privacy data destruction and data sharing application process termination notifications to data provider consortium blockchains.
[0045] The data provider consortium blockchain is used to: store privacy data; receive cross-chain requests for data sharing applications from the notary consortium blockchain; send data sharing application requests to the data provider server; send rejection and acceptance requests for cross-chain applications to the notary consortium blockchain; send noisy privacy data processed by differential privacy computation to the notary consortium blockchain; confirm requests for privacy data result delivery; receive notifications from the notary consortium blockchain regarding privacy data destruction and the end of the data sharing application process; and confirm the complete end of the data sharing application process.
[0046] like Figures 1 to 3 As shown, the data sharing method based on a notary mechanism and differential privacy algorithm of the present invention is implemented as follows:
[0047] Step 1: Based on the three participants in the data sharing system, namely the data provider, the notary, and the data user, construct the data provider consortium blockchain, the notary consortium blockchain, and the data user consortium blockchain, as well as the corresponding data provider server, notary server, and data user server. During data circulation, privacy data is stored in the data provider consortium blockchain and the notary consortium blockchain, while non-privacy data does not need to be stored.
[0048] Step 2: During data circulation, the data application server sends a data sharing application request to the notary consortium blockchain through the data application consortium blockchain, forming a cross-chain request for data sharing application.
[0049] Step 3: After receiving the cross-chain request for data sharing application from the data application party's consortium blockchain, the notary party's consortium blockchain sends a cross-chain request for data sharing application to the data provider's consortium blockchain.
[0050] Step 4: After receiving the cross-chain request for data sharing application from the notary consortium blockchain, the data provider consortium blockchain sends a data sharing application request to the data provider server. The data provider server determines the security level of the privacy data based on the data sharing application request and verifies the privacy data provision authority.
[0051] Step 5: If the data provider server determines that it cannot provide the data sharing application request due to the high security level of the privacy data or insufficient permissions to provide the privacy data, the data provider server notifies the data provider consortium chain to send a cross-chain rejection request to the notary consortium chain. After receiving the cross-chain rejection request, the notary consortium chain sends a cross-chain rejection request to the data application party consortium chain. At this point, the data sharing application request is completed, and the final data sharing result is that privacy data cannot be provided.
[0052] Step Six: If the data provider server determines that it can provide privacy data after verifying the privacy data provision authorization, the data provider server uses a differential privacy algorithm to perform differential privacy calculations on the privacy data, forming noisy privacy data. During the calculation, if the privacy data is numerical, the Laplace mechanism is used to add noise conforming to a Laplace distribution to the query results to protect numerically sensitive results. If the privacy data is discrete, the exponential mechanism is used to add a small amount of positive noise to the query results to protect discretely sensitive results, such as categories.
[0053] Step 7: After performing differential privacy calculation on the privacy data, the data provider's server sends a cross-chain agreement request to the notary's consortium chain through the data provider's consortium chain, and sends the noise-enhanced privacy data after differential privacy calculation to the notary's consortium chain through the data provider's consortium chain.
[0054] Step 8: After receiving the noisy privacy data from the data provider's consortium blockchain, the notary consortium blockchain sends a cross-chain request reception success notification to the data application consortium blockchain. The data application consortium blockchain receives the cross-chain request reception success notification through its server and then sends a privacy data application result requirement and a privacy data processing model to the notary consortium blockchain. The notary consortium blockchain sends the privacy data application result requirement and privacy data processing model to the notary server. The notary server performs model calculations on the noisy privacy data stored on the notary consortium blockchain based on the privacy data application result requirement and privacy data processing model, obtains the privacy data model processing result, and stores the privacy data model processing result on the notary consortium blockchain.
[0055] Step 9: After receiving the privacy data model processing results, the notary consortium blockchain sends a privacy data result delivery request to the data provider consortium blockchain. The data provider consortium blockchain confirms and approves the privacy data result delivery request.
[0056] Step 10: The notary consortium blockchain sends the privacy data model processing result to the data application consortium blockchain. After receiving the privacy data model processing result, the data application consortium blockchain sends a notification to the notary consortium blockchain that the data sharing application process has ended.
[0057] Step 11: After receiving the notification from the data application party's consortium blockchain that the data sharing application process has ended, the notary consortium blockchain destroys the privacy data, that is, it destroys the noise-added privacy data stored on the notary consortium blockchain after differential privacy computation processing.
[0058] Step 12: After destroying the privacy data, the notary consortium blockchain sends a notification to the data provider consortium blockchain that the privacy data destruction and data sharing application process has ended.
[0059] Step 13: After receiving the notification from the notary consortium blockchain that the privacy data destruction and data sharing application process has ended, the data provider consortium blockchain confirms that the data sharing application process has been completely completed.
[0060] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.
Claims
1. A data sharing system based on a notary mechanism and differential privacy algorithm, characterized in that, include: The data application server is used to send data sharing application requests to the data application consortium blockchain and to receive the final data sharing results. Used to receive success notifications for cross-chain requests; The notary's server is used to receive privacy data application result requirements and privacy data processing models, and to perform model calculations on the noisy privacy data according to the privacy data application result requirements and privacy data processing models to obtain privacy data model processing results; The data provider server is used to determine the security level of privacy data and verify the permission to provide privacy data; it is also used to perform differential privacy calculations on the privacy data using differential privacy algorithms to generate noisy privacy data. The data application party consortium blockchain is used by the data application party server to send cross-chain requests for data sharing applications to the notary consortium blockchain; it is used to receive notifications of rejection of cross-chain requests and successful receipt of cross-chain requests; it is used to send privacy data application result requirements and privacy data processing models to the notary consortium blockchain; it is used to receive privacy data model processing results sent by the notary consortium blockchain; and it is used to send notifications of the end of the data sharing application process to the notary consortium blockchain. The notary consortium blockchain is used for: storing privacy data and privacy data model processing results; receiving cross-chain requests for data sharing applications from data application consortium blockchains; sending cross-chain requests for data sharing applications to data provider consortium blockchains; receiving and accepting cross-chain requests; receiving privacy data application result requirements and privacy data processing models from data application consortium blockchains and sending them to the notary server; sending privacy data result delivery requests to data provider consortium blockchains; sending privacy data model processing results to data application consortium blockchains; receiving data sharing application process termination notifications from data application consortium blockchains; destroying privacy data; and sending privacy data destruction and data sharing application process termination notifications to data provider consortium blockchains. The data provider consortium blockchain is used to: store privacy data; receive cross-chain requests for data sharing applications from the notary consortium blockchain; send data sharing application requests to the data provider server; send rejection and acceptance requests for cross-chain applications to the notary consortium blockchain; send noisy privacy data processed by differential privacy computation to the notary consortium blockchain; confirm requests for privacy data result delivery; receive notifications from the notary consortium blockchain regarding privacy data destruction and the end of the data sharing application process; and confirm the complete end of the data sharing application process.
2. A data sharing method based on a notary mechanism and differential privacy algorithm, characterized in that, The data sharing system based on the notary mechanism and differential privacy algorithm as described in claim 1 is used to implement the data sharing method, which includes the following steps: Step 1: Construct the data provider consortium blockchain, the notary consortium blockchain, and the data application consortium blockchain, as well as the corresponding data provider server, notary server, and data application server; Step 2: The data application server sends a data sharing application request to the notary consortium blockchain through the data application consortium blockchain, forming a cross-chain request for data sharing application. Step 3: After receiving the cross-chain request for data sharing application from the data application party's consortium blockchain, the notary party's consortium blockchain sends a cross-chain request for data sharing application to the data provider's consortium blockchain. Step 4: After receiving the cross-chain request for data sharing application from the notary consortium blockchain, the data provider consortium blockchain sends a data sharing application request to the data provider server. The data provider server determines the privacy data security level and verifies the privacy data provision authority based on the data sharing application request. Step 5: If the data provider server determines that it cannot provide the data sharing application request due to the high security level of the privacy data or insufficient permissions to provide the privacy data, the data provider server notifies the data provider consortium chain to send a cross-chain rejection request to the notary consortium chain. After receiving the cross-chain rejection request, the notary consortium chain sends a cross-chain rejection request to the data application party consortium chain. Then the data sharing application request is completed, and the final data sharing result is that privacy data cannot be provided. Step 6: If the data provider server determines that it can provide privacy data after verifying the privacy data provision authority, the data provider server uses a differential privacy algorithm to perform differential privacy calculations on the privacy data to form noisy privacy data. Step 7: After performing differential privacy calculation on the privacy data, the data provider's server sends a cross-chain agreement request to the notary's consortium chain through the data provider's consortium chain, and sends the noise-added privacy data after differential privacy calculation to the notary's consortium chain through the data provider's consortium chain. Step 8: After receiving the noisy privacy data from the data provider's consortium blockchain, the notary consortium blockchain sends a cross-chain request reception success notification to the data application consortium blockchain. The data application consortium blockchain receives the cross-chain request reception success notification through its server and then sends a privacy data application result requirement and a privacy data processing model to the notary consortium blockchain. The notary consortium blockchain sends the privacy data application result requirement and privacy data processing model to the notary server. The notary server performs model calculations on the noisy privacy data stored in the notary consortium blockchain based on the privacy data application result requirement and privacy data processing model, obtains the privacy data model processing result, and stores the privacy data model processing result on the notary consortium blockchain. Step 9: After receiving the privacy data model processing results, the notary consortium blockchain sends a privacy data result delivery request to the data provider consortium blockchain. The data provider consortium blockchain confirms the privacy data result delivery request and approves it. Step 10: The notary consortium blockchain sends the privacy data model processing result to the data application consortium blockchain. After receiving the privacy data model processing result, the data application consortium blockchain sends a notification to the notary consortium blockchain that the data sharing application process has ended. Step 11: After receiving the notification from the data application party's consortium blockchain that the data sharing application process has ended, the notary consortium blockchain destroys the privacy data. Step 12: After destroying the privacy data, the notary consortium blockchain sends a notification to the data provider consortium blockchain that the privacy data destruction and data sharing application process has ended. Step 13: After receiving the notification from the notary consortium blockchain that the privacy data destruction and data sharing application process has ended, the data provider consortium blockchain confirms that the data sharing application process has been completely completed.
3. The data sharing method based on the notary mechanism and differential privacy algorithm according to claim 2, characterized in that, In step one, privacy data is stored in the data provider's consortium blockchain and the notary's consortium blockchain during data circulation, while non-privacy data does not need to be stored.
4. The data sharing method based on the notary mechanism and differential privacy algorithm according to claim 2, characterized in that, In step six, when performing differential privacy calculations on the privacy data using the differential privacy algorithm, if the privacy data is numerical data, the Laplace mechanism is used to add noise conforming to the Laplace distribution to the query results to protect numerically sensitive results. If the privacy data is discrete, an exponential mechanism is used to add a small amount of positive noise to the query results to protect the discrete and sensitive results.
5. The data sharing method based on the notary mechanism and differential privacy algorithm according to claim 2, characterized in that, In step eleven, the privacy data destroyed is the noise-added privacy data after differential privacy computation processing stored on the notary consortium blockchain.