Data application system and data application method based on blockchain
Through the data application system based on the blockchain, the problems of unclear rights and responsibilities and insufficient privacy protection in data applications are solved, transparent management and safe sharing of data applications are realized, and computing efficiency and application value are improved.
Patent Information
- Application Number
- CN202010789139.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-07
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2040-08-07
AI Technical Summary
In the data application process in the existing technology, there are problems such as unclear data usage rights and responsibilities, lack of direct authorization, weak data privacy protection, lack of legal and regulatory judgment, computing power bottlenecks during data application, and insufficient standardization capabilities.
Adopt a data application system based on the blockchain, including the application chain layer, capability exposure layer and privacy computing layer. Direct authorization is performed through personal nodes, institutional nodes and identity recognition and authorization nodes on the blockchain, combining smart contracts and secure multi-party Computing platform to achieve non-repudiation and non-tampering management and privacy protection of data.
It enhances the protection of data application parties, improves the computing efficiency and application value of secure multi-party computing, realizes full-process transparent management and secure sharing of data applications, and avoids cost increases caused by unlimited physical concentration of data.
Smart Images

Figure CN111881487B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of data application technology, and specifically relates to a data application system and a data application method based on blockchain. Background Art
[0002] In recent years, with the continuous deepening of my country's informatization construction, the construction of big data centers has also developed rapidly, forming a large number of data centers with different business types such as medical care, transportation, finance, and education. Although these data centers have achieved physical concentration of data, there is still physical isolation between them, and they still face the problem of "data cannot be used, data is unavailable". The main reasons for this problem are unclear rights and responsibilities for data use, lack of complete, transparent and open management of data applications, and data privacy protection and security applications. Therefore, providing a decentralized environment for non-repudiation and non-tampering data management between nodes in different data centers, as well as a solution for protecting privacy and secure computing during data application is a prerequisite for reasonable and legal data application.
[0003] In the existing technology, many data centers that need to protect the security of data owners have proposed a capability open platform solution. This solution is to establish a controllable data open area in the intranet of the data center. This area provides a tenant space for the development environment. The data application party must improve the model design in the tenant space and then conduct a model review. After the review, the model must also be deployed in the environment, and the calculation results are output to the data application party after passing the security test. Although the data capability opening platform adopts a "please come in" approach to data users, which can effectively solve the two important problems of "data does not leave the house and data does not land" in data applications, the data capability opening platform has the following problems in actual application: when it comes to the application of personal privacy data, there is a lack of direct authorization from data stakeholders such as individuals and relevant institutions; there is a lack of non-repudiation and non-tamperable open and transparent evidence traceability management methods for data demand confirmation, data request, authorization of relevant parties, data application methods, and data use completion in the process of data use; when data users use data for calculations, it involves their own privacy data and models. The data and models of data users are controlled by the managers of the data capability opening platform. This "please come in" approach does not provide strong protection for data users; there is a lack of rule judgment on the laws and regulations involved in the current data application, resulting in legal and regulatory risks in data application.
[0004] In the prior art, some people have proposed a solution for secure multi-party computing, which uses cryptographic principles to encrypt the data of the data owner and the data application party, and then calculates the ciphertext and obtains the calculation results. Although the solution of secure multi-party computing theoretically solves the problem of data privacy security of two or more parties, the following problems also exist in practical applications: lack of direct authorization of relevant parties such as individuals and relevant institutions when using data; lack of non-repudiation and non-tamperable open and transparent evidence traceability management means for data demand confirmation, data request, relevant party authorization, data application method, and data use completion during data use; there are computing power bottlenecks to varying degrees in the encryption calculation process, and the negative impact of MPC on computing power is at least 80 to 100 times; the data requirements for secure multi-party computing need to be highly standardized, and the secure multi-party computing method itself lacks data processing and standardization capabilities. Summary of the invention
[0005] In order to overcome the problems existing in the related technologies at least to a certain extent, the present application provides a data application system and a data application method based on blockchain.
[0006] According to a first aspect of an embodiment of the present application, the present application provides a blockchain-based data application system, which includes an application chain layer, a capability exposure layer, and a privacy computing layer;
[0007] The application chain layer is used to realize the flow of business data and the recording of data application process;
[0008] The capability opening layer includes a plurality of capability opening platforms built on the institutional nodes of the blockchain, and the capability opening platforms are used to calculate non-privacy data to ensure that the data is available and cannot be seen by unauthorized persons;
[0009] The privacy computing layer includes a secure multi-party computing platform, which is deployed in the capability exposure platform. The secure multi-party computing platform and the capability exposure platform are tightly coupled, and the secure multi-party computing platform is used to calculate privacy data.
[0010] In the above-mentioned blockchain-based data application system, the application chain layer includes a blockchain and personal nodes, institutional nodes, and identity recognition and authorization nodes set on the blockchain;
[0011] The personal node is used to process direct authorization of individuals to services, on-chain business monitoring and other business queries; the institutional node is used for direct authorization of services by institutions, and is also used to initiate business needs or calculate data; the identity identification and authorization node is used to identify the identity of individuals or institutions and authorize them to go online.
[0012] Furthermore, smart contracts are deployed on the blockchain, including data application business demand initiation contracts, payment contracts, participant identity identification and authorization on-chain contracts, and computing on-chain contracts;
[0013] The data application business demand initiation contract is used to upload the data application demand consensus to the chain;
[0014] The payment contract is used to specify the circumstances under which payment should be made, and a specific payment economic model is deployed in the payment contract;
[0015] The participant identification and authorization on-chain contract is used to identify the participant and upload the participant's authorization on-chain;
[0016] The calculation on-chain contract uses the public key of the data application party to encrypt the calculation results on the chain.
[0017] Furthermore, the personal node adopts a personal DAPP, and the personal DAPP includes a business demand monitoring module, an other node authorization query module and a personal authorization module; the business demand monitoring module is used to monitor the demand of the business demand participant pointing to the current personal node; the other node authorization query module is used to traverse the blockchain and query whether all other nodes are authorized when the current node needs authorization from other nodes; the personal authorization module is used for individuals to directly authorize the business;
[0018] The organization node is also provided with a data source and a data sharing engine DAPP; the original data of the organization is stored in the data source; the data sharing engine DAPP includes a business demand sending module, a business demand monitoring module, other node authorization query module, a legal and compliance module, an organization authorization module and a data receiving module.
[0019] Furthermore, when the organization node is a service initiator, the service demand sending module is used to initiate the service demand;
[0020] When the institutional node is a business participant, the business demand monitoring module is used to monitor the business demand participant's demand for the current node; the other node authorization query module is used to traverse the blockchain to query whether other nodes have been fully authorized when the current node requires authorization from other nodes; the legal and compliance module is used to verify the legality and compliance of the business; the institutional authorization module is used to directly authorize the business, and after authorization, the smart contract for participant identity identification and authorization on the chain is directly called;
[0021] When the institutional node is a business calculation party, the business demand monitoring module is used to monitor the demands of the business demand calculation party directed to the current node. After monitoring, the data is calculated according to the calculation method explicitly specified in the data circulating on the blockchain; the data calculation result is received and hashed by the data receiving module, and the calculation on-chain contract is called after the hash calculation to upload the calculation result to the chain.
[0022] Furthermore, the capability exposure platform includes a system management module, a data preprocessing module, a big data toolbox, a tenant space and a security gateway;
[0023] The system management module is used to maintain the entire system;
[0024] The data preprocessing module is used for data extraction, conversion and loading, data desensitization, data declassification and legal and regulatory filtering;
[0025] The big data toolbox is integrated with big data processing and development tools;
[0026] The tenant space is provided with multiple tenants, and the tenant space provides a place for model training and deployment for the tenants;
[0027] The security gateway is used for data review, behavior monitoring, log management and code auditing.
[0028] In the above-mentioned blockchain-based data application system, the secure multi-party computing platform includes an encryption node, a computing node and a decryption node. The encryption node is used to encrypt data, the computing node is used to calculate data, and the decryption node is used to decrypt the calculation results.
[0029] According to the second aspect of the embodiment of the present application, the present application also provides a data application method based on blockchain, which includes the following steps:
[0030] System initialization construction, which includes establishing an application chain layer, building and deploying a capability exposure layer, and building and deploying a privacy computing layer; the establishment of the application chain layer includes establishing personal nodes, institutional nodes, and identity identification and authorization nodes on the blockchain, and also includes deploying smart contracts on the blockchain, and the deployed smart contracts include data application business demand initiation contracts, payment contracts, participant identity identification and authorization on-chain contracts, and computing on-chain contracts; the construction and deployment of the capability exposure layer includes building a capability exposure platform on the institutional node; the construction and deployment of the privacy computing layer includes deploying a secure multi-party computing platform in the capability exposure platform of the institutional node;
[0031] The institutional node calls the data application business demand to initiate the contract and put the data application demand on the chain;
[0032] The identity identification and authorization node identifies the participants and puts their authorization on the chain;
[0033] Institutional nodes perform data calculation and upload to the chain;
[0034] The node initiating business demand uses the payment contract to pay for the business.
[0035] In the above-mentioned blockchain-based data application method, the specific process of identifying the participants and uploading the participants' authorization to the blockchain is as follows:
[0036] The business demand monitoring module of each participant monitors the business status on the blockchain. If the business status is detected as a business demand, the corresponding process will be entered according to whether the participant is an individual node or an institutional node.
[0037] When the participant is a personal node, the authorization query module of other nodes polls other authorized nodes on the blockchain to see if they have been authorized. If other authorized nodes have been authorized, the personal node notifies its authorization module to authorize, and after authorization, calls the participant's identity identification and authorization on-chain contract;
[0038] When the participant is an institutional node, the business demand monitoring module notifies the legal and compliance module, and the legal and compliance module verifies whether the business is legal and compliant. If the verification is successful, the authorization query module of other nodes polls other authorized nodes on the blockchain to see if they have been authorized. If other authorized nodes have been authorized, the institutional node notifies its authorization module to authorize, and after authorization, calls the participant identity identification and authorization on-chain contract;
[0039] Call the participant identity identification and authorization chain contract. The specific process is as follows:
[0040] Call the authorization node for identity recognition;
[0041] When the node is a personal node, the personal identity data and identity recognition are compared with the data of the authorization node. If the comparison is successful, the personal authorization result is uploaded to the chain;
[0042] When the node is an institutional node, authentication or institutional identity data comparison is performed. If the comparison is successful, the institutional authorization result is uploaded to the chain.
[0043] In the above-mentioned data application method based on blockchain, the specific process of the step mechanism node performing data calculation and uploading to the chain is as follows:
[0044] The business demand monitoring module in the data sharing engine DAPP of each institution's node compares the authorized individual node ID and institution node ID in the consensus ledger with the business participant ID to confirm that the authorization of the business participant has been completed;
[0045] According to the calculation method selected in the blockchain plaintext, the system management module in the capability exposure platform is called to push the data to the corresponding computing platform for calculation;
[0046] The calculation result is processed using a hash algorithm, and the resulting hash value ciphertext is encrypted with the public key of the data application party and then uploaded to the chain.
[0047] In the above-mentioned blockchain-based data application method, the specific process of the step in which the business demand initiating node uses the payment contract to pay for the business is:
[0048] The calculation results are uploaded to the chain, automatically triggering the payment contract; the business demand initiator node calls the payment contract and makes payment according to the business number;
[0049] The payment result is uploaded to the chain; the payment result specifically includes the business number, initiator ID, participant ID, payment node ID, payment amount and business status number; among which, the business status includes payment success and payment failure.
[0050] According to the above specific implementation methods of the present application, it can be known that it has at least the following beneficial effects: the data application system based on blockchain of the present application sets up an application chain layer, a capability computing layer and a privacy computing layer. The capability computing layer includes a capability exposure platform, and the privacy computing layer includes an MPC platform. The MPC platform is deployed in the capability exposure platform. The capability exposure platform and the MPC platform can be configured and used according to different data requirements; the present application can not only solve the problem that the data and models of the data application party are controlled by the administrator of the data capability exposure platform, but also enhance the protection of the data application party, enhance the technical processing capabilities of secure multi-party computing, improve the computing efficiency of secure multi-party computing, and expand the application value of secure multi-party computing.
[0051] The data application method based on blockchain in this application can effectively solve the rights and responsibilities issues in the process of data use through multi-party authorization of data application; by setting up blockchain, the whole process of data application can be managed in a non-repudiable and non-tamperable manner, which can effectively improve the evidence storage and traceability of the whole process of data application, so as to manage the data in an open and transparent manner; by setting up a capability opening platform, it can be ensured that the data does not leave the house, does not fall to the ground, and cannot be seen by unauthorized persons; by setting up a capability opening platform and an MPC platform, the data pre-processing capability can be improved, thereby improving the computing power and efficiency of secure multi-party computing, and ensuring the security and non-leakage of data; by building an application chain, setting up data sources, capability opening platforms, MPC platforms and data sharing engines DAPP for each institutional node on the application chain, it can realize the secure sharing of data in multiple data centers, avoid the cost increase caused by unlimited physical concentration of data, break the situation of "information islands" in multiple centers, and effectively promote the effective sharing of data between nodes without moving the original data.
[0052] It should be understood that the above general description and the following specific embodiments are only exemplary and illustrative and do not limit the scope of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] The attached drawings below are part of the specification of the present application, which illustrate embodiments of the present application. The attached drawings together with the description of the specification are used to explain the principles of the present application.
[0054] Figure 1 A schematic diagram of the structure of a blockchain-based data application system provided in an embodiment of the present application.
[0055] Figure 2 A schematic diagram of the structure of an MPC platform in a blockchain-based data application system provided in an embodiment of the present application.
[0056] Figure 3 A flowchart of a blockchain-based data application method provided in an embodiment of the present application.
[0057] Figure 4 A flowchart of the authorization of participants to upload data to the blockchain in a blockchain-based data application method provided in an embodiment of the present application.
[0058] Description of reference numerals:
[0059] 1. Personal node;
[0060] 2. Institutional nodes;
[0061] 3. Identity identification and authorization node. DETAILED DESCRIPTION
[0062] In order to make the purpose, technical solutions and advantages of the embodiments of the present application more clearly understood, the spirit of the contents disclosed in the present application will be clearly explained with the accompanying drawings and detailed descriptions below. After understanding the embodiments of the contents of the present application, any technician in the relevant technical field can change and modify them according to the techniques taught by the contents of the present application without departing from the spirit and scope of the contents of the present application.
[0063] The exemplary embodiments and descriptions of the present application are used to explain the present application, but are not intended to limit the present application. In addition, elements / components with the same or similar reference numerals used in the drawings and embodiments are used to represent the same or similar parts.
[0064] The terms “first”, “second”, etc. used in this document do not particularly refer to an order or sequence, nor are they used to limit this application. They are only used to distinguish elements or operations described with the same technical terms.
[0065] The words “include,” “including,” “have,” “contain,” etc. used in this document are open-ended terms, meaning including but not limited to.
[0066] As used herein, "and / or" includes any or all combinations of the items described.
[0067] As used herein, “plurality” includes “two” and “more than two”; as used herein, “plurality groups” includes “two groups” and “more than two groups”.
[0068] The terms "substantially" and "approximately" used herein are used to modify any quantity or error that may vary slightly, but these slight changes or errors do not change their essence. Generally speaking, the range of slight changes or errors modified by such terms may be 20% in some embodiments, 10% in some embodiments, 5% in some embodiments, or other values. Those skilled in the art should understand that the aforementioned values can be adjusted according to actual needs and are not limited thereto.
[0069] Certain terms used to describe the present application are discussed below or elsewhere in this specification to provide additional guidance to those skilled in the art regarding the description of the present application.
[0070] Figure 1 A schematic diagram of the structure of a blockchain-based data application system provided in an embodiment of the present application.
[0071] like Figure 1 As shown, the blockchain-based data application system provided in the embodiment of the present application includes an application chain layer, a capability exposure layer and a privacy computing layer.
[0072] The application chain layer includes the blockchain and the personal node 1, the organization node 2 and the identity recognition and authorization node 3 set on the blockchain. The application chain layer is used to realize the safe flow of business data with clear responsibilities, rights and interests, and the data application process is recorded one by one, and it cannot be tampered with or denied.
[0073] Personal node 1 is mainly used to process direct authorization of individuals to services, on-chain business monitoring and other business queries. Institutional node 2 is used for direct authorization of services by institutions, and is also used to initiate business needs or data calculations. Identity recognition and authorization node 3 is used to identify the identity of individuals or institutions and authorize them to be on-chain.
[0074] Specifically, personal node 1 uses personal DAPP, which includes a business demand monitoring module, other node authorization query module and personal authorization module. The business demand monitoring module is used to monitor the demand of the business demand participant pointing to the current personal node 1. The other node authorization query module is used to traverse the blockchain and query whether all other nodes are authorized when the current node needs authorization from other nodes. The personal authorization module is used for individuals to directly authorize the business.
[0075] The organization node 2 also includes a data source and a data sharing engine DAPP. The original data of the organization is stored in the data source. The data sharing engine DAPP includes a business demand sending module, a business demand monitoring module, an other node authorization query module, a legal and compliance module, an organization authorization module and a data receiving module.
[0076] When the organization node 2 is the service initiator, the service demand sending module is used to initiate the service demand.
[0077] When institutional node 2 is a business participant, the business demand monitoring module is used to monitor the demands of the business demand participant directed to the current node; the other node authorization query module is used to traverse the blockchain to query whether other nodes have been fully authorized when the current node requires authorization from other nodes; the legal and compliance module is used to verify the legality and compliance of the business; the institutional authorization module is used to directly authorize the business, and after authorization, the participant identity identification and authorization chain smart contract is directly called.
[0078] When the organization node 2 is the business calculation party, the business demand monitoring module is used to monitor the demands of the business demand calculation party directed to the current node. After monitoring, the data is calculated according to the calculation method explicitly specified in the data circulating on the blockchain; the data receiving module is used to receive and hash the data calculation results. After the hash calculation, the calculation chain contract is called to upload the calculation results to the chain.
[0079] The identity identification and authorization node 3 is a public authority node 2, which is provided with an identity identification module, which is used to identify the identity of the individual node 1 or the institution node 2 and authorize it to be uploaded to the chain.
[0080] In addition, a network protocol layer is built on the blockchain. The network adopts a P2P peer-to-peer network or a distributed network. Participants in the network share resources, and these shared resources provide services and content through the network, which can be directly accessed by other peer nodes without going through an intermediate entity.
[0081] The blockchain is also equipped with cryptographic algorithms, including hash algorithms and RSA algorithms. The RSA algorithm generates paired public and private keys for nodes. If there is a need for business exchange between two nodes, both parties need to exchange public keys in advance.
[0082] A consensus mechanism is also established on the blockchain, which uses the PBFT algorithm (Practical Byzantine Fault Tolerance).
[0083] Smart contracts are also deployed on the blockchain, including data application business demand initiation contracts, payment contracts, participant identity identification and authorization on-chain contracts, and computing on-chain contracts.
[0084] Among them, the data application business demand initiation contract is used to upload the data application demand consensus to the chain.
[0085] The payment contract is used to stipulate under what circumstances payment should be made, and the specific payment economic model needs to be deployed in the payment contract (the specific rules are discussed in the demand stage and the contract is deployed)
[0086] The contract for identification and authorization of participants on the chain is used to identify the participants and upload their authorizations on the chain.
[0087] Computation on-chain contract: The calculation result is encrypted and uploaded to the chain using the public key of the data application party. The calculation result can be the calculation result output by the capability opening platform, or the calculation result obtained by the participant who provided the algorithm using the result output by the MPC platform for subsequent calculation.
[0088] The capability opening layer includes multiple capability opening platforms built on the institutional nodes 2 of the blockchain. The capability opening platform includes system management modules, data preprocessing modules, big data toolbox, tenant space and security gateway, etc. The capability opening platform is used to ensure that data does not leave the house or land, and that data is available but cannot be seen by unauthorized persons, so as to achieve the purpose of data immobility and value mobility. Under the premise of mutual trust between the institutional nodes 2 of two or more parties, only the capability opening platform can be deployed to complete the business.
[0089] The system management module is used to maintain the entire system, including the tenant management module, administrator management module, MPC management module, business management module and API management module.
[0090] The tenant management module is used to receive the registration and login information and business use applications of tenants who have settled in the capability exposure platform, and after reviewing the tenants' business use applications, allocate tenant space for them, configure related resources and data, so that tenants can enter the tenant space allocated to them to train and deploy computing models.
[0091] Among them, the tenant management module configures relevant resources and data for tenants, including: deploying a sandbox environment, receiving the computing model to be trained copied to the tenant space by the operation and maintenance personnel through the API management module, and connecting the big data toolbox and security gateway.
[0092] The administrator management module is used to manage administrators of the capability exposure platform, including administrator registration and login, enabling and disabling, permission allocation and role setting.
[0093] The business management module is used to manage the businesses that have entered the capability exposure platform, including setting business types, business numbers, etc.
[0094] The API management module opens corresponding APIs according to the user's data needs. Users communicate with tenants through corresponding APIs. If users need to train computing models through tenants, they will pre-process the data required for training computing models and transmit them to tenants through APIs; if the computing model has been deployed at the tenant, users will push the data in the data source directly to the computing model deployed at the tenant through APIs, and the computing model will directly calculate the results.
[0095] The MPC management module is used to configure the encryption method of the MPC platform. Users register in the system through the tenant management module, apply for business use and the encryption method used for encryption calculation, and the administrator reviews their application and configures the relevant parameters. The relevant parameters include data source access, encryption method access, etc.
[0096] The data preprocessing module is used to preprocess the source data, which includes a data ETL module, a data desensitization module, a data decryption module and a legal and regulatory filtering module.
[0097] The data ETL module is used to extract and transform data from the data source and then load it to the destination.
[0098] The data desensitization module is used to transform certain sensitive information through desensitization rules to achieve reliable protection of sensitive privacy data. Common desensitization methods include: replacement, scrambling, invalidation, reverse inference and offset.
[0099] Among them, the replacement is to replace the real value with fictitious data, establish a large virtual value data table, generate a random seed for each real value record, and replace the original data content with a hash map. The data obtained by this method is very similar to the real data.
[0100] Scrambling is to randomly redistribute the values of sensitive data columns to confuse the original values and the connection with other fields.
[0101] Nullification is the process of replacing a true value or part of a true value with NULL or *****, for example, masking the last 12 digits of a credit card number.
[0102] De-inference is to find mappings that may infer another sensitive field from certain fields and desensitize these fields. For example, the ID number, gender, and region can be inferred from the date of birth.
[0103] Offsetting is the process of changing digital data by randomly shifting it.
[0104] The data decryption module is used to decrypt data. Production data must be decrypted before it can be loaded into the development and testing environment to remove privacy information and maintain the data structure, legality standards, and effectiveness of the associated use between application systems after decryption.
[0105] The legal and regulatory filtering module is used to filter the laws and regulations of the corresponding business, protecting the data source from complying with the legal and regulatory requirements of a certain business.
[0106] The big data toolbox integrates big data processing and development tools such as Hadoop and SQLSEVER for users with usage needs. The tools on the scientific platform are integrated in a unified system, and users do not need to download and install them, preventing external security risks caused by installation programs or configuration environments.
[0107] There are multiple tenants in the tenant space. A tenant is a whole of computing resources and storage resources. Several tenant spaces are deployed in a sandbox environment. The tenant space provides a place for model training and deployment for tenants. If there is a computing demand between mutually trusted nodes, the data user needs to register on the capability opening platform of the data owner, and the administrator of the capability opening platform allocates tenant space to the data user. The data user can call the API in the tenant space for model training. After the model is trained and deployed, the data user can call the API of real data in the tenant space to calculate and apply real data.
[0108] The security gateway is a layer of protection to ensure the data security of the capability exposure platform. It includes data review module, behavior monitoring module, log management module and code audit module.
[0109] Among them, the data review module includes the review of data when it enters the capability open platform and the review of data when it leaves the capability open platform. Specifically, it can be rule review and manual review. For example, rule review can be a review of the size, length and format of the output data, or it can be a review of whether the output result is a desensitized and declassified result. Manual review can be a spot check of data entering and leaving the capability open platform. For example, the size of the data leaving the capability open platform can be reviewed, and its size cannot exceed the preset data size; the data can be reviewed to see if it is used for cash. For example, if there are only 10 pieces of data in the database, all the data sets cannot be output from the capability open platform, and only business-related data fields can be output.
[0110] The behavior monitoring module is used to monitor user behavior, including but not limited to monitoring the frequency and total amount of model calls to prevent the occurrence of too many calls and splicing several call results to obtain the desired data.
[0111] The log management module is used to record and manage the usage logs of users of the capability opening platform.
[0112] The code audit module is used to check for security defects in the source code, whether the program code contains backdoors, whether there are security risks, or whether there are irregularities in the coding; generally, the code is checked and analyzed line by line through automated tools or manual review. Among them, automated tool review can be done through interface testing, keyword auditing, etc.
[0113] The privacy computing layer includes the MPC (Secure Multi-Party Computation) platform. When the nodes 2 of two or more organizations do not trust each other, the data of each node needs to be calculated through the privacy data layer. The MPC platform is deployed in the capability exposure platform, and the MPC platform and the capability exposure platform are tightly coupled. If a business needs to deploy a privacy computing layer, it is necessary to deploy the capability exposure layer first.
[0114] The data preprocessing module in the capability exposure platform preprocesses the privacy data and outputs it to the MPC platform after processing it to a level acceptable to the MPC platform. This is because the MPC platform requires that the incoming data be standardized data (the data ETL module in the capability exposure platform can be used to extract and transform the data before loading it into the MPC platform). In addition, some calculations are outside the MPC platform, so the problem of slow calculations on the MPC platform can be compensated to a certain extent. Therefore, the capability exposure platform not only protects data from leaving the platform and not landing on the ground, but also integrates data ETL, preprocessing, and MPC.
[0115] The MPC platform includes encryption nodes, computing nodes, and decryption nodes. The encryption nodes are used to encrypt data, the computing nodes are used to calculate data, and the decryption nodes are used to decrypt the calculation results. The capability open platform is used for calculations between two institution nodes 2 that trust each other, and the MPC platform is used for calculations between two institution nodes 2 that lack trust in each other.
[0116] The MPC platform and capability exposure platform can be configured and used according to different data requirements, enhancing the protection of data users, enhancing the technical processing capabilities of secure multi-party computing, improving the computing efficiency of secure multi-party computing, and expanding the application value of secure multi-party computing.
[0117] When the institutional nodes 2 trust each other, the data involved in the calculation are non-private data. The institutional nodes 2 involved in the calculation include data application parties and data owners. The data application party enters the data owner's capability exposure platform (sandbox environment) as a tenant and deploys the calculation model of the required business. After successful deployment and debugging, the API is called to directly connect to the data source to perform business calculations and output the calculation results.
[0118] In the case where the nodes 2 of each organization lack mutual trust, the data involved in the calculation is private data. If two participants who want to protect their own data privacy have business data calculation needs, they need to use the MPC platform:
[0119] One participant only provides an algorithm (such as an insurance company), and the other participant needs to review the algorithm (such as human resources and social security). In this way, the algorithm is deployed in the tenant space of the other participant's capability opening platform in the form of a model. The MPC platform finally calculates the result, decrypts it through the decryption module and pushes it to the participant who provided the algorithm (insurance company). As for what application the participant who provided the algorithm will use for the result later, it is up to the participant to decide.
[0120] When the MPC platform and the capability open platform are used in collaboration, the data involved in the calculation are non-private data and private data. The non-private data is calculated in the capability open platform, and the results are input into the MPC platform; the MPC platform calculates the private data and the results calculated by the capability open platform to obtain the final result. The collaborative use of the MPC platform and the capability open platform is closer to specific needs and can also optimize the speed, performance and cost of calculations.
[0121] In order to facilitate a clear understanding of the calculation process of the MPC platform, a specific embodiment is used for illustration below.
[0122] Figure 2 A schematic diagram of the structure of an MPC platform in a blockchain-based data application system provided in an embodiment of the present application.
[0123] like Figure 2 As shown, it is assumed that the two nodes that need to participate in the calculation are the insurance company node and the social security bureau node. The insurance company node is provided with a first encryption node and a first computing node, and the social security bureau node is provided with a second encryption node and a second computing node.
[0124] The algorithm of the insurance company node is deployed in the tenant space of the capability opening platform of the Social Security Bureau node.
[0125] The business demand monitoring modules in the insurance company node and the social security bureau node both monitor the need to use MPC to perform data calculations from the blockchain.
[0126] The data of the insurance company node enters the first encryption node through its API management module, and the first encryption node encrypts the data, and the encrypted data enters the first computing node. The data of the social security bureau node enters the second encryption node after data standardization through its capability opening platform, and the second encryption node encrypts the data, and the encrypted data enters the second computing node.
[0127] Both the first node and the second computing node call the algorithm model, which performs joint ciphertext calculations. The calculation results enter the decryption module, which decrypts the calculation results and pushes them to the insurance company node. The insurance company node calls the calculation chain contract according to business needs, and uses the public key of the data application party to encrypt the pushed results and upload them to the blockchain.
[0128] Figure 3 A flowchart of a blockchain-based data application method provided in an embodiment of the present application.
[0129] like Figure 3 As shown, the blockchain-based data application method provided by this application includes the following steps:
[0130] S1. System initialization construction, which includes establishing the application chain layer, building and deploying the capability exposure layer, and building and deploying the privacy computing layer. The specific process is as follows:
[0131] S11. Establish the application chain layer, which specifically includes:
[0132] S111. Establishing a personal node 1, an institutional node 2, and an identity recognition and authorization node 3 on the blockchain;
[0133] Among them, personal node 1 is mainly used to process personal direct authorization of services, on-chain business monitoring and other business queries, etc.; institution node 2 is used for institutions to directly authorize services, and is also used to initiate business needs or data calculations. Identity recognition and authorization node 3 is used to identify the identity of individuals or institutions and authorize them to be on-chain.
[0134] S112, preprocessing each node, which includes:
[0135] Assign an ID to each node, which includes:
[0136] The personal node 1 is allocated with the personal node 1 ID, the institutional node 2 is allocated with the institutional node 2 ID, and the identity identification and authorization node 33 is allocated with the identity identification and authorization node 3 ID.
[0137] Set a code for the type of each node. For example, set the code of the personal node 1 to 0, the code of the institution node 2 to 1, and the code of the identity identification and authorization node 3 to 2.
[0138] The calculation methods are numbered, where the calculation methods include capability open platform calculation, MPC platform calculation, and capability open platform and MPC platform collaborative calculation.
[0139] Number the business.
[0140] S113, build network protocol layer;
[0141] The network adopts a P2P peer-to-peer network or a distributed network. Participants in the network share resources, and these shared resources provide services and content through the network and can be directly accessed by other peer nodes without going through an intermediate entity.
[0142] S114. Setting a cryptographic algorithm on the blockchain;
[0143] The main cryptographic algorithms used in blockchain include hash algorithms and RSA algorithms. The RSA algorithm generates paired public and private keys for nodes. If there is a need for business exchange between two nodes, both parties need to exchange public keys in advance.
[0144] S115. Establish a consensus mechanism;
[0145] The consensus mechanism adopts the PBFT algorithm (Practical Byzantine Fault Tolerance).
[0146] PBFT is a common consensus proof that is based on calculations and has no token rewards. All people on the chain participate in the vote, and when less than (N-1) / 3 nodes oppose, they will obtain the right to publicize information. The reliability of the algorithm has strict mathematical proof and has (n-1) / 3 fault tolerance; but when 1 / 3 or more bookkeepers stop working, the system will be unable to provide services.
[0147] S116. Deploy smart contracts;
[0148] The deployed smart contracts include data application business demand initiation contracts, payment contracts, participant identity identification and authorization chain contracts, and computing chain contracts.
[0149] The data application business demand initiation contract is used to upload the data application demand consensus to the chain.
[0150] The payment contract is used to stipulate under what circumstances payment should be made, and the specific payment economic model needs to be deployed in the payment contract (the specific rules are discussed in the demand stage and the contract is deployed)
[0151] The contract for identification and authorization of participants on the chain is used to identify the participants and upload their authorizations on the chain.
[0152] The calculation on-chain contract is used to encrypt the calculation results on-chain using the public key of the data application party.
[0153] S12. Build and deploy capability exposure layer;
[0154] A capability opening platform is built on the organization node 2. The capability opening platform includes a system management module, a data preprocessing module, a big data toolbox, a tenant space, and a security gateway.
[0155] The system management module includes tenant management module, administrator management module, MPC management module, business management module and API management module. The tenant management module is used to manage tenants who have settled in the capability opening platform, including tenant registration, tenant authority management, tenant data authority approval, space allocation, etc.
[0156] The data preprocessing module is used for data ETL (Extract-Transform-Load), data desensitization, data declassification and legal and regulatory filtering. Among them, the transformation includes format conversion and standardization of data.
[0157] The big data toolbox includes system tools, development tools, big data tools, and deployment tools.
[0158] Multiple tenants are set up in the tenant space.
[0159] The security gateway performs security checks on each tenant's entry and exit of the capability exposure platform to ensure the safe use of telecom operators' data. It is used for data review, behavior monitoring, log management, and code auditing.
[0160] S13. Build and deploy the privacy computing layer;
[0161] A first encryption node and a first computing node are set in the node 2 of one party's organization participating in the calculation, and a second encryption node and a second computing node are set in the node 2 of the other party's organization participating in the calculation. The first encryption node and the first computing node and the second encryption node and the second computing node constitute an MPC platform. A decryption node is also deployed in the MPC platform. The MPC platform is deployed in the capability open platform.
[0162] S2, organization node 2 calls the data application business demand to initiate the contract and upload the data application demand to the chain.
[0163] Among them, the data application requirements on the chain specifically include: business number, business demand initiator ID, participant ID, calculator ID, selected computing platform and business status number.
[0164] It should be noted that the business demand initiator here refers to the institution node 2, the participants refer to multiple personal nodes 1 and the institution node 2, and the calculation party refers to the institution node 2. For example, if the business demand initiator needs the data of a certain person's medical insurance bureau, the authorization of the participants is required, that is, the authorization of the personal node 1 and the medical insurance bureau node is required.
[0165] For the business status number, for example, the number proposed by the business requirement can be set to 01.
[0166] S3, identity identification and authorization nodes identify the participants and upload their authorization to the chain, such as Figure 4 As shown, the specific process is:
[0167] S31. The business demand monitoring module of each participant monitors the business status on the blockchain. If it is detected that the business status is proposed by the business demand, it goes to step S32 or step S33.
[0168] S32. When the participant is personal node 1, the authorization query module of other nodes polls other authorized nodes on the blockchain to see if they have been authorized. If other authorized nodes have been authorized, personal node 1 notifies its authorization module to authorize, and after authorization, calls the participant identity identification and authorization on-chain contract; otherwise, wait for authorization from the relevant parties.
[0169] S33. When the participant is institutional node 2, the business demand monitoring module notifies the legal and compliance module, and the legal and compliance module verifies whether the business is legal and compliant. If the verification is successful, the authorization query module of other nodes polls whether other authorized nodes on the blockchain have been authorized. If other authorized nodes have been authorized, institutional node 2 notifies its authorization module to authorize, and after authorization, calls the participant identity identification and authorization on-chain contract; if some of the other authorized nodes are not authorized, wait for authorization from the relevant parties.
[0170] If the verification fails, the process ends.
[0171] S34. The specific process of calling the contract for participant identification and authorization on-chain is as follows:
[0172] Call the authorization node for identity recognition.
[0173] When the node is a personal node 1, the personal identity data and identity recognition are compared with the personal identity data of the authorization node 3. If the comparison is successful, the personal authorization result is uploaded to the chain. The personal authorization result uploaded to the chain includes the business number, business initiator ID, participant ID, node type and business status number.
[0174] For example, when comparing the personal identity data and identity recognition with the data of the authorization node 3, face comparison or gesture comparison can be performed. Specifically, the personal identity data can be fingerprint, face or iris data, etc.
[0175] When the node is an institutional node 2, an authentication or institutional identity data comparison method can be performed. If the comparison is successful, the institutional authorization result will be uploaded to the chain. Among them, the personal authorization results uploaded to the chain include the business number, business initiator ID, participant ID, node type and business status number. Among them, the institutional identity data comparison method can specifically use the method in the application number 201910066422.1, named as the multi-dimensional data survival authentication method based on blockchain, storage medium and device for identity identification. The specific identification process will not be repeated here. The institutional identity data can be the institutional organization code.
[0176] For the business status number, for example, the authorized number can be set to 03.
[0177] If the comparison fails, the authorization result will be uploaded to the chain, which includes the business number, business initiator ID, participant ID, node type and business status number.
[0178] For the business status number, for example, the number of authorization failure and identity authentication failure can be set to 02.
[0179] S4, the organization node 2 performs data calculation and uploads it to the chain, which specifically includes the following steps:
[0180] S41. The business demand monitoring module in the data sharing engine DAPP of each institution node 2 compares the authorized individual node 1 ID and institution node 2 ID in the consensus ledger with the business participant ID to determine that the authorization of the business participant has been completed.
[0181] S42. According to the calculation method selected in the blockchain plain text, the system management module in the capability exposure platform is called to push the data to the corresponding computing platform for calculation.
[0182] S43. The calculation result is processed using a hash algorithm, and the obtained hash value ciphertext is encrypted with the public key of the data application party and then uploaded to the chain.
[0183] Among them, the calculation results on the chain include the hash value ciphertext of the data calculation, the business number, the business initiator ID, the node ID of the calculated result and the business status number.
[0184] For example, when the business status is calculating the value on the chain, the business status number can be set to 04.
[0185] S5. The business demand initiating node uses the payment contract to pay for the business, which specifically includes the following steps:
[0186] S51. The calculation results are uploaded to the chain, automatically triggering the payment contract; the business demand initiator node calls the payment contract and makes payment according to the business number;
[0187] S52. Payment results are uploaded to the chain.
[0188] The payment result specifically includes the business number, initiator ID, participant ID, payment node ID, payment amount and business status number.
[0189] For example, when the business status is payment success, the business status number can be set to 05; when the business status is payment failure, the business status number can be set to 06.
[0190] The blockchain-based data application method provided in the embodiment of the present application can effectively solve the rights and responsibilities issues in the process of data use through multi-party authorization of data application; by setting personal nodes 1, institutional nodes 2 and identity identification and authorization nodes 3 on the blockchain to manage the entire process of data application in an undeniable and tamper-proof manner, it can effectively improve the evidence storage and traceability of the entire process of data application, thereby managing the data in an open and transparent manner; by setting up a capability exposure platform, it can be ensured that data does not leave the house, does not fall to the ground, and cannot be seen by unauthorized persons; by setting up a capability exposure platform and an MPC platform, it can improve data preprocessing capabilities, thereby improving the computing power and computing efficiency of secure multi-party computing, and ensuring data security and non-leakage; by building a blockchain, setting up data sources, capability exposure platforms, MPC platforms and data sharing engines DAPP for each node on the blockchain, it can realize data security sharing of multiple data centers, avoid the cost increase caused by unlimited physical concentration of data, break the situation of "information islands" of multiple centers, and effectively promote effective data sharing between nodes without moving the original data.
[0191] This application adopts a direct authorization method, which can effectively solve the problems of data leakage, big data analysis and precise push by third parties caused by indirect authorization of data by multiple parties in the data application process, and solve the problem of non-repudiation and non-tampering of data management in the whole process of data request, authorization, data calculation and result output; all business participants can jointly discuss and choose to use the capability exposure platform and MPC platform according to business needs, give full play to the respective advantages of the two platforms, and enhance the processing capabilities of MPC and improve the computing efficiency of secure multi-party computing.
[0192] In an exemplary embodiment, the embodiment of the present application also provides a blockchain-based data application device, which includes a memory and a processor, and the processor is configured to execute the blockchain-based data application method in any embodiment of the present application based on instructions stored in the memory.
[0193] The memory may be a system memory or a fixed non-volatile storage medium, etc. The system memory may store an operating system, an application program, a boot loader, a database, and other programs, etc.
[0194] In an exemplary embodiment, the embodiment of the present application also provides a computer storage medium, which is a computer-readable storage medium, for example, a memory including a computer program, and the above-mentioned computer program can be executed by a processor to complete the blockchain-based data application method in any embodiment of the present application.
[0195] The above-mentioned embodiments of the present application can be implemented in various hardware, software coding or a combination of the two. For example, the embodiments of the present application can also represent the program code for executing the above-mentioned method in a data signal processor. The present application can also relate to the various functions performed by a computer processor, a digital signal processor, a microprocessor or a field programmable gate array. The above-mentioned processor can be configured according to the present application to perform specific tasks, which are completed by executing machine-readable software code or firmware code that defines the specific method disclosed by the present application. The software code or firmware code development can represent different programming languages and different formats or forms. Different target platform compiled software codes can also be represented. However, the different code styles, types and languages of the software code for performing tasks according to the present application and other types of configuration codes do not depart from the spirit and scope of the present application.
[0196] The above description only represents an illustrative specific implementation mode of the present application. Without departing from the concept and principle of the present application, any equivalent changes and modifications made by any technician in the field should fall within the scope of protection of the present application.
Claims
1. A data application system based on blockchain, characterized in that: Includes application chain layer, capability exposure layer and privacy computing layer; The application chain layer is used to realize the flow of business data and the recording of data application process; The capability opening layer includes a plurality of capability opening platforms built on the institutional nodes of the blockchain, and the capability opening platforms are used to calculate non-privacy data to ensure that the data is available and cannot be seen by unauthorized persons; The privacy computing layer includes a secure multi-party computing platform, which is deployed in the capability exposure platform. The secure multi-party computing platform and the capability exposure platform are tightly coupled, and the secure multi-party computing platform is used to calculate the privacy data; The application chain layer includes a blockchain and personal nodes, institutional nodes, and identity recognition and authorization nodes set on the blockchain; The personal node is used to process direct authorization of individuals to services, on-chain business monitoring and other business queries; the institutional node is used for institutions to directly authorize services, and is also used to initiate business needs or calculate data; the identity recognition and authorization node is used to identify the identity of individuals or institutions and authorize them to be on-chain; The personal node adopts a personal DAPP, which includes a business demand monitoring module, an other node authorization query module and a personal authorization module; the business demand monitoring module is used to monitor the business demand participants' demands directed to the current personal node; the other node authorization query module is used to traverse the blockchain and query whether all other nodes are authorized when the current node needs authorization from other nodes; the personal authorization module is used for individuals to directly authorize the business; The institution node is also provided with a data source and a data sharing engine DAPP; the original data of the institution is stored in the data source; the data sharing engine DAPP includes a business demand sending module, a business demand monitoring module, an authorization query module for other nodes, a legal and compliance module, an institution authorization module and a data receiving module; When the organization node is a service initiator, the service demand is initiated by using a service demand sending module; When the organization node is a business participant, the business demand monitoring module is used to monitor the business demand participant's demand for the current node; the other node authorization query module is used to traverse the blockchain to query whether other nodes have been fully authorized when the current node needs authorization from other nodes; Use the legal and compliance module to verify the legality and compliance of the business; use the institutional authorization module to directly authorize the business, and directly call the smart contract for the identification and authorization of the participants on the chain after authorization; When the organization node is a business calculation party, the business demand monitoring module is used to monitor the demand of the business demand calculation party directed to the current node, and after monitoring, the data is calculated according to the calculation method explicitly specified in the data circulating on the blockchain; the data calculation result is received and hashed by the data receiving module, and after the hash calculation, the calculation on-chain contract is called to upload the calculation result to the chain; The capability exposure platform includes a system management module, a data preprocessing module, a big data toolbox, a tenant space and a security gateway; The system management module is used to maintain the entire system; The data preprocessing module is used for data extraction, conversion and loading, data desensitization, data declassification and legal and regulatory filtering; The big data toolbox is integrated with big data processing and development tools; The tenant space is provided with multiple tenants, and the tenant space provides a place for model training and deployment for the tenants; The security gateway is used for data review, behavior monitoring, log management, and code auditing; The secure multi-party computing platform includes an encryption node, a computing node and a decryption node. The encryption node is used to encrypt data, the computing node is used to calculate data, and the decryption node is used to decrypt calculation results.
2. The data application system based on blockchain according to claim 1 is characterized in that: Smart contracts are also deployed on the blockchain, including data application business demand initiation contracts, payment contracts, participant identity identification and authorization on-chain contracts, and computing on-chain contracts; The data application business demand initiation contract is used to upload the data application demand consensus to the chain; The payment contract is used to specify the circumstances under which payment should be made, and a specific payment economic model is deployed in the payment contract; The participant identification and authorization on-chain contract is used to identify the participant and upload the participant's authorization on-chain; The calculation on-chain contract uses the public key of the data application party to encrypt the calculation results on the chain.
3. The data application system based on blockchain according to claim 1 is characterized in that: The capability exposure platform includes a system management module, a data preprocessing module, a big data toolbox, a tenant space and a security gateway; The system management module is used to maintain the entire system; The data preprocessing module is used for data extraction, conversion and loading, data desensitization, data declassification and legal and regulatory filtering; The big data toolbox is integrated with big data processing and development tools; The tenant space is provided with multiple tenants, and the tenant space provides a place for model training and deployment for the tenants; The security gateway is used for data review, behavior monitoring, log management and code auditing.
4. The data application system based on blockchain according to claim 1 is characterized in that: The secure multi-party computing platform includes an encryption node, a computing node and a decryption node. The encryption node is used to encrypt data, the computing node is used to calculate data, and the decryption node is used to decrypt calculation results.
5. A blockchain-based data application method using the blockchain-based data application system according to any one of claims 1 to 4, characterized in that: The following steps are involved: System initialization construction, which includes establishing an application chain layer, building and deploying a capability exposure layer, and building and deploying a privacy computing layer; the establishment of the application chain layer includes establishing personal nodes, institutional nodes, and identity identification and authorization nodes on the blockchain, and also includes deploying smart contracts on the blockchain, and the deployed smart contracts include data application business demand initiation contracts, payment contracts, participant identity identification and authorization on-chain contracts, and computing on-chain contracts; the construction and deployment of the capability exposure layer includes building a capability exposure platform on the institutional node; the construction and deployment of the privacy computing layer includes deploying a secure multi-party computing platform in the capability exposure platform of the institutional node; The institutional node calls the data application business demand to initiate the contract and put the data application demand on the chain; The identity identification and authorization node identifies the participants and puts their authorization on the chain; Institutional nodes perform data calculation and upload to the chain; The node initiating the business demand uses the payment contract to pay for the business.
6. The data application method based on blockchain according to claim 5 is characterized in that: The specific process of identifying the participants and putting their authorization on the chain is as follows: The business demand monitoring module of each participant monitors the business status on the blockchain. If the business status is detected as a business demand, the corresponding process will be entered according to whether the participant is an individual node or an institutional node. When the participant is a personal node, the authorization query module of other nodes polls other authorized nodes on the blockchain to see if they have been authorized. If other authorized nodes have been authorized, the personal node notifies its authorization module to authorize, and after authorization, calls the participant's identity identification and authorization on-chain contract; When the participant is an institutional node, the business demand monitoring module notifies the legal and compliance module, and the legal and compliance module verifies whether the business is legal and compliant. If the verification is successful, the authorization query module of other nodes polls other authorized nodes on the blockchain to see if they have been authorized. If other authorized nodes have been authorized, the institutional node notifies its authorization module to authorize, and after authorization, calls the participant identity identification and authorization on-chain contract; Call the participant identity identification and authorization chain contract. The specific process is as follows: Call the authorization node for identity recognition; When the node is a personal node, the personal identity data is compared with the data of the authorized node. If the comparison is successful, the personal authorization result is uploaded to the chain; When the node is an institutional node, authentication or institutional identity data comparison is performed. If the comparison is successful, the institutional authorization result is uploaded to the chain.
7. The data application method based on blockchain according to claim 5 is characterized in that: The specific process of data calculation and chain upload by the institutional node is as follows: The business demand monitoring module in the data sharing engine DAPP of each institution's node compares the authorized individual node ID and institution node ID in the consensus ledger with the business participant ID to confirm that the authorization of the business participant has been completed; According to the calculation method selected in the blockchain plaintext, the system management module in the capability exposure platform is called to push the data to the corresponding computing platform for calculation; The calculation result is processed using a hash algorithm, and the resulting hash value ciphertext is encrypted with the public key of the data application party and then uploaded to the chain.
8. The data application method based on blockchain according to claim 5 is characterized in that: The specific process of the business demand initiating node using the payment contract to pay for the business is as follows: The calculation results are uploaded to the chain, automatically triggering the payment contract; the business demand initiator node calls the payment contract and makes payment according to the business number; The payment result is uploaded to the chain; the payment result specifically includes the business number, initiator ID, participant ID, payment node ID, payment amount and business status number; among which, the business status includes payment success and payment failure.
