Data authorization method and device of blockchain
It mainly introduces the process and technical details of realizing data authorization through blockchain technology and smart contracts. The following is a summary of the core points of the document:
Technical background and purpose of invention:
As a decentralized, open, transparent and tamper-proof distributed ledger technology, blockchain technology is suitable for application scenarios with high demand for data reliability.
The present invention aims to provide a data authorization method and device based on blockchain to safely and efficiently realize data authorization and access between data owners and data users.
Data authorization method based on blockchain:
Blockchain node receives data acquisition transaction: the data user submits a data acquisition transaction requesting the data owner to obtain the target data held by the data owner to the blockchain network.
Execute data authorization smart contract: the blockchain node executes the data authorization smart contract called by the transaction, and after confirming that the data user has obtained authorization, issues an authorization token to it.
The privacy computing platform obtains data: the data user provides the authorization token to the privacy computing platform, and the privacy computing platform obtains the target data with the token, and returns the data or the result of the preset operation on the data to the data user.
Smart contracts and authorization mechanisms:
Authorized party list: Data authorization smart contracts can contain a list of authorized parties to record information about authorized objects.
Temporary authorization and long-term authorization: Authorization can be temporary or long-term, depending on the design of the smart contract and the settings of the data owner.
Authorization request and confirmation: Data users can submit authorization request transactions, and data owners confirm authorization through authorization confirmation transactions.
Data processing and encryption:
Data encryption storage: The target data can be encrypted by the public key of the data owner and stored on the blockchain, and the private key is hosted on the privacy computing platform.
Trusted execution environment: The encryption and decryption of target data and the execution of smart contracts can be performed in a trusted execution environment to ensure data security.
Privacy level and operation: Data with different privacy levels can be processed in different ways, and data with high privacy levels can only provide operation results to protect the original data.
Technical implementation and architecture:
Conceptual architecture: It includes the entity layer, the hosting service layer, and the blockchain network layer. The entities interact with the blockchain network through their respective transaction management systems.
Privacy computing platform: As a bridge between the blockchain network and the data user, it is responsible for obtaining and processing data based on the authorization token.
Blockchain Visual User Interface: Provides visual information related to the blockchain network, which is convenient for users to monitor and manage transactions.
System Interaction Process:
Detailed description of the complete process from the user generating an authorization request transaction to the final acquisition of data or calculation results, including authorization request, authorization confirmation, data acquisition and other steps.
Application Scenarios and Advantages:
The present invention can be applied to scenarios such as supply chain finance and invoice management to achieve secure sharing and authorization of data.
The advantage is to use the immutability of blockchain and the automatic execution of smart contracts to ensure the security and efficiency of data authorization.
This document demonstrates the unique advantages of blockchain-based data authorization methods in improving data security and access efficiency through detailed technical descriptions and process introductions.