Data processing method of blockchain
Application background:
Technical field: This document relates to the field of Internet technology, especially the application of blockchain technology in data processing.
Background technology: With the rapid development of network technology, blockchain technology has been widely used in data storage and access authorization. In the prior art, data users need to obtain authorization on each blockchain separately, resulting in repeated verification and reducing the authorization efficiency.
Invention content:
Purpose of the invention: To provide a data processing method based on blockchain, reduce the number of repeated authorizations of data authorizers on multiple blockchains, and improve the authorization efficiency.
Method overview: The method is executed by a verification node, and the verification node corresponds to the first blockchain in the alliance chain. The method includes the steps of obtaining authorization request, verifying the authorization party, signing data authorization certificate, chain processing, cross-chain query and data authorization.
Data processing method steps:
Obtaining authorization request: The verification node obtains the data authorization request sent by the authorization terminal, and the request contains the data authorization certificate.
Verifying the authorization party: Verifying the authorization party according to the authorization request and obtaining the first verification result.
Signature and chain: When the verification result is legal, the authorization certificate is signed according to the private key of the first blockchain and chained.
Cross-chain query and data authorization: Receive the query request of the second blockchain through the cross-chain gateway, verify the signature, and provide the query terminal with data query permission.
Cross-chain trust transfer:
Cross-chain trust mechanism: Through the multi-party consensus mechanism in the alliance chain, cross-chain trust transfer is realized, so that the authorization of the data authorizer on a few blockchains can take effect in the entire alliance chain.
Cross-chain data transmission and verification: Use the cross-chain gateway to realize data interaction between blockchains, including the exchange of public keys and chain identifiers, signature verification, etc.
Specific implementation methods:
Network architecture and alliance chain: Describe the network architecture including user terminals and blockchain nodes, and the alliance chain composed of multiple blockchains.
Authorization and data query process: Through diagrams and detailed descriptions, the authorization process of the authorizer on blockchain A and the query process of the data user on blockchain B are shown.
Security and real-time guarantee: The security and real-time of the authorization process are ensured by recording timestamps, verifying the timeliness and legality of replies, etc.
Devices, equipment and storage media:
Data processing device: Provides a structural diagram of a data processing device based on blockchain, including a request acquisition module, a verification authorization module, a processing module, etc.
Computer device: describes a computer device including a processor, a memory and a network interface for executing a data processing method.
Computer-readable storage medium: stores a computer program for executing a data processing method.
This document proposes an innovative blockchain-based data processing method to solve the problem of repeated authorization by data authorizers on multiple blockchains in the prior art, improve the efficiency of data authorization and the convenience of cross-chain trust transfer.