A privacy protection method and system for big data transactions
By using servers for data desensitization and federated machine learning technology to deliver big data in big data transactions, combined with homomorphic encryption and blockchain notarization, the issues of privacy protection and trust building in big data transactions are solved, improving transaction efficiency and Security.
Patent Information
- Application Number
- CN202311380168.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-24
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2043-10-24
AI Technical Summary
There are problems in data privacy protection and trust building in big data transactions, resulting in low efficiency and high cost of data circulation and transactions, making it difficult for both parties to trust, and prone to conflicts of interest and contradictions.
By listing transaction information on the server, the buyer's client sends a test order purchase request, the seller's client selects data samples and sends them to the server through the firewall for data desensitization, and the buyer's client performs online fusion experiments and destroys data samples, and then sends big data For purchase requests, the seller client notarizes and encrypts the big data through the blockchain, and the server uses federated machine learning technology and load balancing technology to deliver the big data, combined with homomorphic encryption and data sandbox for data protection.
It improves the privacy protection capabilities and trust-building efficiency of big data transactions, prevents data leaks and malicious attacks, ensures data security, helps buyers and sellers quickly match needs and reduces the probability of conflicts.
Smart Images

Figure CN117579303B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of big data transaction, and in particular to a big data transaction privacy protection method and system. Background Art
[0002] With the rapid development of new-generation information technologies such as big data, cloud computing and artificial intelligence, data has become a basic strategic resource and a revolutionary key element in the digital age, thus creating a demand for big data transactions.
[0003] Since data, as an abstract symbol that represents the nature, state and other characteristics of people and objective things in the real world, carries private information, while corporate data carries commercial information and is a trade secret. The circulation and transaction of data will involve the security of personal privacy or trade secrets. Data exists in binary form in the computer and Internet environment. This digital form has become a major obstacle to the protection of data privacy in the data circulation process. Once the data provider hands over the original data to the data demander, it will not be able to effectively control the latter's use, dissemination or sale of the data, which is equivalent to losing the ownership and control of the data, which greatly reduces the price and the number of times the data can be sold; on the other hand, it is difficult for the data demander to find data that matches its own needs, and it is difficult to understand the quality and use of the data. The demand matching and trust establishment between the two parties of the big data transaction are not endorsed by the official government data trading platform. Not only is the cycle long and the cost high, but there are also conflicts and contradictions in the distribution of interests in the process of big data transactions and value realization, making the collaborative relationship fragile.
[0004] Therefore, how to provide a big data transaction privacy protection method and system to improve the privacy protection capabilities and trust building efficiency of big data transactions has become a technical problem that needs to be solved urgently. Summary of the invention
[0005] The technical problem to be solved by the present invention is to provide a big data transaction privacy protection method and system, so as to improve the privacy protection capability and trust building efficiency of big data transactions.
[0006] In a first aspect, the present invention provides a method for protecting privacy in big data transactions, comprising the following steps:
[0007] Step S10: The buyer client sends a trial order purchase request to the corresponding seller client based on the transaction information posted by the seller client on the server;
[0008] Step S20: the seller client selects a data sample based on the received trial order purchase request, and sends the data sample to the server through the firewall, and the server performs a data desensitization operation on the data sample;
[0009] Step S30: The buyer's client performs an online fusion test on the data sample through the server, and the server automatically destroys the data sample after the fusion test is completed;
[0010] Step S40: The buyer client sends a big data purchase request to the corresponding seller client based on the transaction information;
[0011] Step S50: The seller client selects corresponding big data based on the received big data purchase request, notarizes the selected big data through the blockchain, adds a check field to the big data, encrypts it, and then sends it to the server through the firewall;
[0012] Step S60: The server delivers the selected big data to the buyer client through federated machine learning technology and load balancing technology.
[0013] Furthermore, the step S10 is specifically as follows:
[0014] After the seller client performs rights confirmation and authorization operations on the big data to be traded through the data rights confirmation and authorization management system, the big data is registered through the data registration management system, and then the big data is authenticated by the data compliance authentication system, and then the transaction information of the big data is set, which includes at least the big data type, the big data quantity, the transaction price, the rights confirmation information and the seller information, and the transaction information is uploaded to the server;
[0015] The buyer client accesses the server through the firewall to select the intended transaction information, and based on the transaction information, sends a trial order purchase request encrypted by the homomorphic encryption algorithm to the corresponding seller client.
[0016] Furthermore, the step S20 is specifically as follows:
[0017] The seller client decrypts the received trial order purchase request through a homomorphic encryption algorithm, parses the trial order purchase request to select a preset number of data or a preset proportion of data from the corresponding big data as a data sample, encrypts the data sample through a homomorphic encryption algorithm, and sends the data sample to the server through a firewall, and the server performs a data desensitization operation on the data sample;
[0018] The data desensitization operation is specifically as follows: a replacement character and a replacement position selection function are preset, and when the data sample needs to be displayed in plain text, the corresponding plain text character is selected from the data sample based on the replacement position selection function, and the replacement character is used to replace the plain text character for display.
[0019] Furthermore, the step S30 is specifically as follows:
[0020] The buyer's client accesses the data sample through the server's data sandbox, performs an online fusion test on the data sample based on local data to verify the demand matching, and automatically destroys the data sample immediately after the fusion test is completed;
[0021] The step S40 is specifically as follows:
[0022] Based on the transaction information, the buyer client sends a big data purchase request encrypted by a homomorphic encryption algorithm to the corresponding seller client through the server.
[0023] Furthermore, the step S50 specifically includes:
[0024] Step S51: The seller client decrypts the received big data purchase request through a homomorphic encryption algorithm, and parses the big data purchase request to select a corresponding amount of big data;
[0025] Step S52: The seller client performs hash calculation on the selected big data to obtain a hash value, and uploads the hash value to the blockchain;
[0026] Step S53: After adding a preset check field to the retrieved big data, the seller client randomly generates a pair of public and private keys, encrypts the big data using the private key, encrypts the public key using a homomorphic encryption algorithm, and sends the encrypted big data and the public key to the server through the firewall;
[0027] The step S60 specifically includes:
[0028] Step S61: The server receives the encrypted big data and the public key through the firewall, decrypts the public key using a homomorphic encryption algorithm, and then decrypts the big data using the public key;
[0029] Step S62: The server obtains the hash value from the blockchain to perform a first check on the big data, parses the big data to obtain a check field to perform a second check on the big data, and performs a data desensitization operation on the big data;
[0030] Step S63: The buyer client creates a federated learning task that carries at least a task name, a task description, and a task type, sets a DAG structure of the execution process of the federated learning task, and sends the federated learning task to the server;
[0031] Step S64: Based on the federated learning task, the server reads the corresponding big data through differential privacy technology, and performs sample alignment on the big data from different seller clients through a privacy intersection operator;
[0032] Step S65, using a data preprocessing operator to sequentially perform extreme value processing, missing value filling, and data conversion on each of the large data after sample alignment;
[0033] Step S66, splitting the big data after data preprocessing into a training set and a test set by a data splitting operator;
[0034] Step S67: The server uses the load balancing technology to train the model created locally by the buyer client using the training set, and uses the test set to test the trained model to complete the delivery of the big data.
[0035] In a second aspect, the present invention provides a big data transaction privacy protection system, comprising the following modules:
[0036] The data sample purchase module is used for the buyer client to send a trial order purchase request to the corresponding seller client based on the transaction information listed by the seller client on the server;
[0037] A data sample acquisition module, used for the seller client to select a data sample based on the received trial order purchase request, and send the data sample to the server through the firewall, and the server performs a data desensitization operation on the data sample;
[0038] A fusion test module is used for the buyer's client to conduct an online fusion test on the data sample through the server, and the server automatically destroys the data sample after the fusion test is completed;
[0039] A big data purchasing module, used for the buyer client to send a big data purchasing request to the corresponding seller client based on the transaction information;
[0040] A big data sending module, used for the seller client to select corresponding big data based on the received big data purchase request, notarize the selected big data through the blockchain, add a check field to the big data, encrypt it, and then send it to the server through the firewall;
[0041] The big data delivery module is used for the server to deliver the selected big data to the buyer client through federated machine learning technology and load balancing technology.
[0042] Furthermore, the data sample purchasing module is specifically used for:
[0043] After the seller client performs rights confirmation and authorization operations on the big data to be traded through the data rights confirmation and authorization management system, the big data is registered through the data registration management system, and then the big data is authenticated by the data compliance authentication system, and then the transaction information of the big data is set, which includes at least the big data type, the big data quantity, the transaction price, the rights confirmation information and the seller information, and the transaction information is uploaded to the server;
[0044] The buyer client accesses the server through the firewall to select the intended transaction information, and based on the transaction information, sends a trial order purchase request encrypted by the homomorphic encryption algorithm to the corresponding seller client.
[0045] Furthermore, the data sample acquisition module is specifically used for:
[0046] The seller client decrypts the received trial order purchase request through a homomorphic encryption algorithm, parses the trial order purchase request to select a preset number of data or a preset proportion of data from the corresponding big data as a data sample, encrypts the data sample through a homomorphic encryption algorithm, and sends the data sample to the server through a firewall, and the server performs a data desensitization operation on the data sample;
[0047] The data desensitization operation is specifically as follows: a replacement character and a replacement position selection function are preset, and when the data sample needs to be displayed in plain text, the corresponding plain text character is selected from the data sample based on the replacement position selection function, and the replacement character is used to replace the plain text character for display.
[0048] Furthermore, the fusion test module is specifically used for:
[0049] The buyer's client accesses the data sample through the server's data sandbox, performs an online fusion test on the data sample based on local data to verify the demand matching, and automatically destroys the data sample immediately after the fusion test is completed;
[0050] The big data purchasing module is specifically used for:
[0051] Based on the transaction information, the buyer client sends a big data purchase request encrypted by a homomorphic encryption algorithm to the corresponding seller client through the server.
[0052] Furthermore, the big data sending module specifically includes:
[0053] A big data selection unit, used for the seller client to decrypt the received big data purchase request through a homomorphic encryption algorithm, and parse the big data purchase request to select a corresponding amount of big data;
[0054] A hash calculation unit, used for the seller's client to perform hash calculation on the selected big data to obtain a hash value, and upload the hash value to the blockchain;
[0055] The encryption sending unit is used for the seller's client to randomly generate a pair of public keys and private keys after adding a preset check field to the acquired big data, encrypt the big data with the private key, encrypt the public key with a homomorphic encryption algorithm, and send the encrypted big data and the public key to the server through the firewall;
[0056] The big data delivery module specifically includes:
[0057] A big data decryption unit, used for the server to receive the encrypted big data and the public key through the firewall, decrypt the public key using the homomorphic encryption algorithm, and then decrypt the big data using the public key;
[0058] A big data verification and desensitization unit, used for the server to obtain the hash value from the blockchain to perform a first verification on the big data, parse the big data to obtain the verification field to perform a second verification on the big data, and perform a data desensitization operation on the big data;
[0059] A federated learning task sending unit, used for the buyer client to create a federated learning task that carries at least a task name, a task description, and a task type, set a DAG structure of the execution process of the federated learning task, and send the federated learning task to the server;
[0060] A sample alignment unit, which is used for the server to read the corresponding big data based on the federated learning task through differential privacy technology, and perform sample alignment on each of the big data from different seller clients through a privacy intersection operator;
[0061] A data preprocessing unit, used for performing data preprocessing of extreme value processing, missing value filling and data conversion in sequence on each of the large data after sample alignment through a data preprocessing operator;
[0062] A data splitting unit, used for splitting each of the large data after data preprocessing into a training set and a test set through a data splitting operator;
[0063] The model training unit is used for the server to train the model created locally by the buyer client using the training set through load balancing technology, and to test the trained model using the test set to complete the delivery of the big data.
[0064] The advantages of the present invention are:
[0065] The buyer client sends a trial order purchase request to the seller client based on the transaction information listed by the seller client on the server. The seller client selects data samples based on the trial order purchase request and sends them to the server through the firewall. The server performs data desensitization on the data samples. Then the buyer client performs an online fusion test on the data samples through the server, and automatically destroys the data samples after the fusion test. Then the buyer client sends a big data purchase request to the seller client based on the transaction information. The seller client selects the corresponding big data based on the big data purchase request, notarizes the selected big data through the blockchain, adds a check field to the big data, encrypts it, and sends it to the server through the firewall. Finally, the server delivers the big data to the buyer client through federated machine learning technology and load balancing technology. That is, the server is isolated from the buyer client and the seller client through the firewall, and some malicious attacks are isolated by the firewall to protect data security. The encryption algorithm encrypts the request sent by the transaction subject to the server to prevent plaintext leakage, performs data desensitization operations on data samples and big data to prevent key information leakage, automatically destroys data samples after the fusion test to prevent data sample leakage, encrypts the transmitted big data with the created private key to prevent plaintext theft during transmission, encrypts the public key with the homomorphic encryption algorithm to prevent public key leakage, and delivers big data through federated machine learning technology, that is, the big data itself is not delivered to the buyer client, but only the calculation results based on the big data are delivered to overcome the transaction trust problem; combined with the fusion test of data samples to perform demand matching verification, the buyer client (data demander) can quickly find big data that matches its own needs, and have a certain understanding of the quality and usage of big data, reducing the probability of conflicts and contradictions in the process of big data transactions and value realization, and ultimately greatly improving the privacy protection capabilities and trust building efficiency of big data transactions. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] The present invention will be further described below in conjunction with embodiments with reference to the accompanying drawings.
[0067] Figure 1 It is a flow chart of a big data transaction privacy protection method of the present invention.
[0068] Figure 2 It is a structural schematic diagram of a big data transaction privacy protection system of the present invention. DETAILED DESCRIPTION
[0069] The technical solution in the embodiments of the present application has the following overall idea: isolate the server from the buyer's client and the seller's client through a firewall, encrypt the request sent by the transaction subject to the server through a homomorphic encryption algorithm, perform data desensitization operations on data samples and big data, automatically destroy data samples after the fusion test is completed, encrypt the transmitted big data with a private key, encrypt the public key with a homomorphic encryption algorithm, deliver the big data through federated machine learning technology, and perform demand matching verification in combination with the fusion test of data samples to improve the privacy protection capability of big data transactions and the efficiency of trust building.
[0070] Please refer to Figure 1 to Figure 2 As shown, a preferred embodiment of a big data transaction privacy protection method of the present invention includes the following steps:
[0071] Step S10: The buyer client sends a test order purchase request to the corresponding seller client based on the transaction information posted by the seller client on the server; the test order purchase request is used to obtain data samples for fusion testing to verify demand matching;
[0072] Step S20: the seller client selects a data sample based on the received trial order purchase request, and sends the data sample to the server through the firewall, and the server performs a data desensitization operation on the data sample;
[0073] Step S30: The buyer's client performs an online fusion test on the data sample through the server, i.e., to determine whether the big data to be purchased meets the requirements. The server automatically destroys the data sample after the fusion test is completed.
[0074] Step S40: The buyer client sends a big data purchase request to the corresponding seller client based on the transaction information;
[0075] Step S50: The seller client selects corresponding big data based on the received big data purchase request, notarizes the selected big data through the blockchain, adds a checksum field to the big data and encrypts it, and then sends it to the server through the firewall; the blockchain has the characteristics of data being difficult to tamper with and decentralized, making the information recorded in the blockchain more authentic and reliable, which can help solve the problem of people not trusting each other;
[0076] Step S60: The server delivers the selected big data to the buyer client through federated machine learning technology and load balancing technology; that is, the right to use big data is sold in a privacy-oriented computing manner. The big data is available but not visible. It is only the transfer of the big data calculation results, which requires the product listing of big data, price configuration, data sample uploading, data sample testing, metering and billing, and security management of the calculation process.
[0077] The step S10 is specifically as follows:
[0078] After the seller's client performs rights confirmation and authorization operations on the big data to be traded through the data rights confirmation and authorization management system, the big data is registered through the data registration management system, and then the big data is authenticated for data compliance through the data compliance authentication system, and then the transaction information of the big data is set, which includes at least the big data type, the big data quantity, the transaction price, the rights confirmation information and the seller's information, and the transaction information is uploaded to the server; by performing rights confirmation and authentication on the big data to be traded, illegal data can be avoided from being traded;
[0079] The buyer client accesses the server through the firewall to select the intended transaction information, and based on the transaction information, sends a trial order purchase request encrypted by the homomorphic encryption algorithm to the corresponding seller client; the server is isolated from the buyer client and the seller client by the firewall, effectively isolating some malicious attacks. The request sent by the transaction subject to the server is encrypted by the homomorphic encryption algorithm to prevent plain text leakage.
[0080] The step S20 is specifically as follows:
[0081] The seller client decrypts the received trial order purchase request through a homomorphic encryption algorithm, parses the trial order purchase request to select a preset number of data or a preset proportion of data from the corresponding big data as a data sample, encrypts the data sample through a homomorphic encryption algorithm, and sends the data sample to the server through a firewall, and the server performs a data desensitization operation on the data sample;
[0082] The data desensitization operation is specifically as follows: a replacement character and a replacement position selection function are preset, and when the data sample needs to be displayed in plain text, the corresponding plain text character is selected from the data sample based on the replacement position selection function, and the replacement character is used to replace the plain text character for display.
[0083] The step S30 is specifically as follows:
[0084] The buyer's client accesses the data sample through the server's data sandbox, performs an online fusion test on the data sample based on local data to verify the demand matching, and automatically destroys the data sample immediately after the fusion test. The data sandbox performs plaintext data calculations, and the sandbox is destroyed after the calculations, taking away only the calculation results. The data sample is automatically destroyed after the fusion test to avoid leakage of the data sample;
[0085] The step S40 is specifically as follows:
[0086] Based on the transaction information, the buyer client sends a big data purchase request encrypted by a homomorphic encryption algorithm to the corresponding seller client through the server.
[0087] The step S50 specifically includes:
[0088] Step S51: The seller client decrypts the received big data purchase request through a homomorphic encryption algorithm, and parses the big data purchase request to select a corresponding amount of big data;
[0089] Step S52: The seller client performs hash calculation on the selected big data to obtain a hash value, and uploads the hash value to the blockchain;
[0090] Since hash calculation is irreversible, the big data can be hashed again later. By comparing the calculated hash value with the hash value stored in the blockchain, it can be quickly determined whether the big data has been tampered with. The hash value is notarized through the blockchain to prevent the hash value from being tampered with, and the big data is hash-checked through a trusted hash value to further ensure security.
[0091] Step S53: After the seller client adds a preset check field to the retrieved big data, it randomly generates a pair of public keys and private keys, encrypts the big data using the private key, encrypts the public key using the homomorphic encryption algorithm, and sends the encrypted big data and public key to the server through the firewall; by setting the hash value and the check field, the big data can be double-checked for integrity; the transmitted big data is encrypted by the created private key to prevent it from being stolen in plain text during transmission; the public key is encrypted by the homomorphic encryption algorithm to prevent it from being leaked.
[0092] The step S60 specifically includes:
[0093] Step S61: The server receives the encrypted big data and the public key through the firewall, decrypts the public key using a homomorphic encryption algorithm, and then decrypts the big data using the public key;
[0094] Step S62: The server obtains the hash value from the blockchain to perform a first check on the big data, parses the big data to obtain the check field to perform a second check on the big data, and performs a data desensitization operation on the big data; by performing a data desensitization operation on the data sample and the big data, key information leakage is avoided to improve privacy protection capabilities;
[0095] Step S63: The buyer client creates a federated learning task that at least carries a task name, a task description, and a task type, sets a DAG structure of the execution process of the federated learning task, and sends the federated learning task to the server; the big data is delivered through the federated machine learning technology, that is, the big data itself is not delivered to the buyer client, and only the calculation results based on the big data are delivered to overcome the transaction trust problem;
[0096] Step S64: Based on the federated learning task, the server reads the corresponding big data through differential privacy technology, and performs sample alignment on the big data from different seller clients through a privacy intersection operator;
[0097] Step S65, using a data preprocessing operator to sequentially perform extreme value processing, missing value filling, and data conversion on each of the large data after sample alignment;
[0098] Step S66, splitting the big data after data preprocessing into a training set and a test set by a data splitting operator;
[0099] Step S67: The server uses the load balancing technology to train the model created locally by the buyer client using the training set, and uses the test set to test the trained model to complete the delivery of the big data.
[0100] A preferred embodiment of a big data transaction privacy protection system of the present invention includes the following modules:
[0101] The data sample purchase module is used for the buyer client to send a test order purchase request to the corresponding seller client based on the transaction information listed by the seller client on the server; the test order purchase request is used to obtain data samples for fusion testing to verify demand matching;
[0102] A data sample acquisition module, used for the seller client to select a data sample based on the received trial order purchase request, and send the data sample to the server through the firewall, and the server performs a data desensitization operation on the data sample;
[0103] The fusion test module is used for the buyer's client to conduct an online fusion test on the data sample through the server, that is, to determine whether the big data to be purchased meets the requirements. The server automatically destroys the data sample after the fusion test is completed;
[0104] A big data purchasing module, used for the buyer client to send a big data purchasing request to the corresponding seller client based on the transaction information;
[0105] The big data sending module is used for the seller client to select the corresponding big data based on the received big data purchase request, notarize the selected big data through the blockchain, add a check field to the big data and encrypt it, and then send it to the server through the firewall; the blockchain has the characteristics of data being difficult to tamper with and decentralized, making the information recorded in the blockchain more authentic and reliable, which can help solve the problem of people not trusting each other;
[0106] The big data delivery module is used by the server to deliver the selected big data to the buyer client through federated machine learning technology and load balancing technology; that is, to sell the right to use big data in a privacy-oriented computing way. Big data is available but not visible. It is only the transfer of big data calculation results, which requires big data product listing, price configuration, data sample uploading, data sample testing, metering and billing, and security management of the calculation process.
[0107] The data sample purchasing module is specifically used for:
[0108] After the seller's client performs rights confirmation and authorization operations on the big data to be traded through the data rights confirmation and authorization management system, the big data is registered through the data registration management system, and then the big data is authenticated for data compliance through the data compliance authentication system, and then the transaction information of the big data is set, which includes at least the big data type, the big data quantity, the transaction price, the rights confirmation information and the seller's information, and the transaction information is uploaded to the server; by performing rights confirmation and authentication on the big data to be traded, illegal data can be avoided from being traded;
[0109] The buyer client accesses the server through the firewall to select the intended transaction information, and based on the transaction information, sends a trial order purchase request encrypted by the homomorphic encryption algorithm to the corresponding seller client; the server is isolated from the buyer client and the seller client by the firewall, effectively isolating some malicious attacks. The request sent by the transaction subject to the server is encrypted by the homomorphic encryption algorithm to prevent plain text leakage.
[0110] The data sample acquisition module is specifically used for:
[0111] The seller client decrypts the received trial order purchase request through a homomorphic encryption algorithm, parses the trial order purchase request to select a preset number of data or a preset proportion of data from the corresponding big data as a data sample, encrypts the data sample through a homomorphic encryption algorithm, and sends the data sample to the server through a firewall, and the server performs a data desensitization operation on the data sample;
[0112] The data desensitization operation is specifically as follows: a replacement character and a replacement position selection function are preset, and when the data sample needs to be displayed in plain text, the corresponding plain text character is selected from the data sample based on the replacement position selection function, and the replacement character is used to replace the plain text character for display.
[0113] The fusion test module is specifically used for:
[0114] The buyer's client accesses the data sample through the server's data sandbox, performs an online fusion test on the data sample based on local data to verify the demand matching, and automatically destroys the data sample immediately after the fusion test. The data sandbox performs plaintext data calculations, and the sandbox is destroyed after the calculations, taking away only the calculation results. The data sample is automatically destroyed after the fusion test to avoid leakage of the data sample;
[0115] The big data purchasing module is specifically used for:
[0116] Based on the transaction information, the buyer client sends a big data purchase request encrypted by a homomorphic encryption algorithm to the corresponding seller client through the server.
[0117] The big data sending module specifically includes:
[0118] A big data selection unit, used for the seller client to decrypt the received big data purchase request through a homomorphic encryption algorithm, and parse the big data purchase request to select a corresponding amount of big data;
[0119] A hash calculation unit, used for the seller's client to perform hash calculation on the selected big data to obtain a hash value, and upload the hash value to the blockchain;
[0120] Since hash calculation is irreversible, the big data can be hashed again later. By comparing the calculated hash value with the hash value stored in the blockchain, it can be quickly determined whether the big data has been tampered with. The hash value is notarized through the blockchain to prevent the hash value from being tampered with, and the big data is hash-checked through a trusted hash value to further ensure security.
[0121] The encryption sending unit is used for the seller's client to randomly generate a pair of public keys and private keys after adding a preset check field to the acquired big data, encrypt the big data with the private key, encrypt the public key with the homomorphic encryption algorithm, and send the encrypted big data and public key to the server through the firewall; by setting the hash value and the check field, the big data can be double-checked for integrity; the transmitted big data is encrypted with the created private key to prevent it from being stolen in plain text during transmission; the public key is encrypted with the homomorphic encryption algorithm to prevent it from being leaked.
[0122] The big data delivery module specifically includes:
[0123] A big data decryption unit, used for the server to receive the encrypted big data and the public key through the firewall, decrypt the public key using the homomorphic encryption algorithm, and then decrypt the big data using the public key;
[0124] A big data verification and desensitization unit is used for the server to obtain the hash value from the blockchain to perform a first verification on the big data, parse the big data to obtain the verification field to perform a second verification on the big data, and perform a data desensitization operation on the big data; by performing a data desensitization operation on the data sample and the big data, key information leakage is avoided to improve the privacy protection capability;
[0125] A federated learning task sending unit is used for the buyer's client to create a federated learning task that at least carries a task name, a task description, and a task type, set a DAG structure of the execution process of the federated learning task, and send the federated learning task to the server; the big data is delivered through the federated machine learning technology, that is, the big data itself is not delivered to the buyer's client, and only the calculation results based on the big data are delivered to overcome the transaction trust problem;
[0126] A sample alignment unit, which is used for the server to read the corresponding big data based on the federated learning task through differential privacy technology, and perform sample alignment on each of the big data from different seller clients through a privacy intersection operator;
[0127] A data preprocessing unit, used for performing data preprocessing of extreme value processing, missing value filling and data conversion in sequence on each of the large data after sample alignment through a data preprocessing operator;
[0128] A data splitting unit, used for splitting each of the large data after data preprocessing into a training set and a test set through a data splitting operator;
[0129] The model training unit is used for the server to train the model created locally by the buyer client using the training set through load balancing technology, and to test the trained model using the test set to complete the delivery of the big data.
[0130] In summary, the advantages of the present invention are:
[0131] The buyer client sends a trial order purchase request to the seller client based on the transaction information listed by the seller client on the server. The seller client selects data samples based on the trial order purchase request and sends them to the server through the firewall. The server performs data desensitization on the data samples. Then the buyer client performs an online fusion test on the data samples through the server, and automatically destroys the data samples after the fusion test. Then the buyer client sends a big data purchase request to the seller client based on the transaction information. The seller client selects the corresponding big data based on the big data purchase request, notarizes the selected big data through the blockchain, adds a check field to the big data, encrypts it, and sends it to the server through the firewall. Finally, the server delivers the big data to the buyer client through federated machine learning technology and load balancing technology. That is, the server is isolated from the buyer client and the seller client through the firewall, and some malicious attacks are isolated by the firewall to protect data security. The encryption algorithm encrypts the request sent by the transaction subject to the server to prevent plaintext leakage, performs data desensitization operations on data samples and big data to prevent key information leakage, automatically destroys data samples after the fusion test to prevent data sample leakage, encrypts the transmitted big data with the created private key to prevent plaintext theft during transmission, encrypts the public key with the homomorphic encryption algorithm to prevent public key leakage, and delivers big data through federated machine learning technology, that is, the big data itself is not delivered to the buyer client, but only the calculation results based on the big data are delivered to overcome the transaction trust problem; combined with the fusion test of data samples to perform demand matching verification, the buyer client (data demander) can quickly find big data that matches its own needs, and have a certain understanding of the quality and usage of big data, reducing the probability of conflicts and contradictions in the process of big data transactions and value realization, and ultimately greatly improving the privacy protection capabilities and trust building efficiency of big data transactions.
[0132] Although the specific implementation modes of the present invention are described above, those skilled in the art should understand that the specific implementation modes described are only illustrative and are not intended to limit the scope of the present invention. Equivalent modifications and changes made by those skilled in the art in accordance with the spirit of the present invention should be included in the scope of protection of the claims of the present invention.
Claims
1. A privacy protection method for big data transactions, characterized by: The steps include: Step S10: The buyer client sends a trial order purchase request to the corresponding seller client based on the transaction information posted by the seller client on the server; Step S20: the seller client selects a data sample based on the received trial order purchase request, and sends the data sample to the server through the firewall, and the server performs a data desensitization operation on the data sample; Step S30: The buyer's client performs an online fusion test on the data sample through the server, and the server automatically destroys the data sample after the fusion test is completed; Step S40: The buyer client sends a big data purchase request to the corresponding seller client based on the transaction information; Step S50: The seller client selects corresponding big data based on the received big data purchase request, notarizes the selected big data through the blockchain, adds a check field to the big data, encrypts it, and then sends it to the server through the firewall; Step S60: The server delivers the selected big data to the buyer client through federated machine learning technology and load balancing technology; The step S10 is specifically as follows: After the seller client performs rights confirmation and authorization operations on the big data to be traded through the data rights confirmation and authorization management system, the big data is registered through the data registration management system, and then the big data is authenticated by the data compliance authentication system, and then the transaction information of the big data is set, which includes at least the big data type, the big data quantity, the transaction price, the rights confirmation information and the seller information, and the transaction information is uploaded to the server; The buyer client accesses the server through the firewall to select the intended transaction information, and based on the transaction information, sends a trial order purchase request encrypted by a homomorphic encryption algorithm to the corresponding seller client; The step S20 is specifically as follows: The seller client decrypts the received trial order purchase request through a homomorphic encryption algorithm, parses the trial order purchase request to select a preset number of data or a preset proportion of data from the corresponding big data as a data sample, encrypts the data sample through a homomorphic encryption algorithm, and sends the data sample to the server through a firewall, and the server performs a data desensitization operation on the data sample; The data desensitization operation is specifically as follows: presetting a replacement character and a replacement position selection function, and when the data sample needs to be displayed in plain text, selecting a corresponding plain text character from the data sample based on the replacement position selection function, and using the replacement character to replace the plain text character for display; The step S30 is specifically as follows: The buyer's client accesses the data sample through the server's data sandbox, performs an online fusion test on the data sample based on local data to verify the demand matching, and automatically destroys the data sample immediately after the fusion test is completed; The step S40 is specifically as follows: Based on the transaction information, the buyer client sends a big data purchase request encrypted by a homomorphic encryption algorithm to the corresponding seller client through the server; The step S50 specifically includes: Step S51: The seller client decrypts the received big data purchase request through a homomorphic encryption algorithm, and parses the big data purchase request to select a corresponding amount of big data; Step S52: The seller client performs hash calculation on the selected big data to obtain a hash value, and uploads the hash value to the blockchain; Step S53: After adding a preset check field to the retrieved big data, the seller client randomly generates a pair of public and private keys, encrypts the big data using the private key, encrypts the public key using a homomorphic encryption algorithm, and sends the encrypted big data and the public key to the server through the firewall; The step S60 specifically includes: Step S61: The server receives the encrypted big data and the public key through the firewall, decrypts the public key using a homomorphic encryption algorithm, and then decrypts the big data using the public key; Step S62: The server obtains the hash value from the blockchain to perform a first check on the big data, parses the big data to obtain a check field to perform a second check on the big data, and performs a data desensitization operation on the big data; Step S63: The buyer client creates a federated learning task that carries at least a task name, a task description, and a task type, sets a DAG structure of the execution process of the federated learning task, and sends the federated learning task to the server; Step S64: Based on the federated learning task, the server reads the corresponding big data through differential privacy technology, and performs sample alignment on the big data from different seller clients through a privacy intersection operator; Step S65, using a data preprocessing operator to sequentially perform extreme value processing, missing value filling, and data conversion on each of the large data after sample alignment; Step S66, splitting the large data after data preprocessing into a training set and a test set by a data splitting operator; Step S67: The server uses the load balancing technology to train the model created locally by the buyer client using the training set, and uses the test set to test the trained model to complete the delivery of the big data.
2. A big data transaction privacy protection system, characterized by: Includes the following modules: The data sample purchase module is used for the buyer client to send a trial order purchase request to the corresponding seller client based on the transaction information listed by the seller client on the server; A data sample acquisition module, used for the seller client to select a data sample based on the received trial order purchase request, and send the data sample to the server through the firewall, and the server performs a data desensitization operation on the data sample; A fusion test module, which is used for the buyer's client to conduct an online fusion test on the data sample through the server, and the server automatically destroys the data sample after the fusion test is completed; A big data purchasing module, used for the buyer client to send a big data purchasing request to the corresponding seller client based on the transaction information; A big data sending module, used for the seller client to select corresponding big data based on the received big data purchase request, notarize the selected big data through the blockchain, add a check field to the big data, encrypt it, and then send it to the server through the firewall; A big data delivery module is used for the server to deliver the selected big data to the buyer client through federated machine learning technology and load balancing technology; The data sample purchasing module is specifically used for: After the seller client performs rights confirmation and authorization operations on the big data to be traded through the data rights confirmation and authorization management system, the big data is registered through the data registration management system, and then the big data is authenticated by the data compliance authentication system, and then the transaction information of the big data is set, which includes at least the big data type, the big data quantity, the transaction price, the rights confirmation information and the seller information, and the transaction information is uploaded to the server; The buyer client accesses the server through the firewall to select the intended transaction information, and based on the transaction information, sends a trial order purchase request encrypted by a homomorphic encryption algorithm to the corresponding seller client; The data sample acquisition module is specifically used for: The seller client decrypts the received trial order purchase request through a homomorphic encryption algorithm, parses the trial order purchase request to select a preset number of data or a preset proportion of data from the corresponding big data as a data sample, encrypts the data sample through a homomorphic encryption algorithm, and sends the data sample to the server through a firewall, and the server performs a data desensitization operation on the data sample; The data desensitization operation is specifically as follows: presetting a replacement character and a replacement position selection function, and when the data sample needs to be displayed in plain text, selecting a corresponding plain text character from the data sample based on the replacement position selection function, and using the replacement character to replace the plain text character for display; The fusion test module is specifically used for: The buyer's client accesses the data sample through the server's data sandbox, performs an online fusion test on the data sample based on local data to verify the demand matching, and automatically destroys the data sample immediately after the fusion test is completed; The big data purchasing module is specifically used for: Based on the transaction information, the buyer client sends a big data purchase request encrypted by a homomorphic encryption algorithm to the corresponding seller client through the server; The big data sending module specifically includes: A big data selection unit, used for the seller client to decrypt the received big data purchase request through a homomorphic encryption algorithm, and parse the big data purchase request to select a corresponding amount of big data; A hash calculation unit, used for the seller's client to perform hash calculation on the selected big data to obtain a hash value, and upload the hash value to the blockchain; The encryption sending unit is used for the seller's client to randomly generate a pair of public keys and private keys after adding a preset check field to the acquired big data, encrypt the big data with the private key, encrypt the public key with a homomorphic encryption algorithm, and send the encrypted big data and the public key to the server through the firewall; The big data delivery module specifically includes: A big data decryption unit, used for the server to receive the encrypted big data and the public key through the firewall, decrypt the public key using the homomorphic encryption algorithm, and then decrypt the big data using the public key; A big data verification and desensitization unit, used for the server to obtain the hash value from the blockchain to perform a first verification on the big data, parse the big data to obtain the verification field to perform a second verification on the big data, and perform a data desensitization operation on the big data; A federated learning task sending unit, used for the buyer client to create a federated learning task that carries at least a task name, a task description, and a task type, set a DAG structure of the execution process of the federated learning task, and send the federated learning task to the server; A sample alignment unit, which is used for the server to read the corresponding big data based on the federated learning task through differential privacy technology, and perform sample alignment on each of the big data from different seller clients through a privacy intersection operator; A data preprocessing unit, used for performing data preprocessing of extreme value processing, missing value filling and data conversion in sequence on each of the large data after sample alignment through a data preprocessing operator; A data splitting unit, used for splitting each of the large data after data preprocessing into a training set and a test set through a data splitting operator; The model training unit is used for the server to train the model created locally by the buyer client using the training set through load balancing technology, and to test the trained model using the test set to complete the delivery of the big data.
Citation Information
Patent Citations
Data sharing method and device, digital gateway and computer readable storage medium
CN109413087A
Fair data transaction method and system based on block chain
CN111681002A
Safe transaction system and method based on blockchain
CN112202563A
Privacy protection data processing method and device and storage medium
CN114692207A
Data security protection method and system for client
CN116680704A
