Multi-chain message table transaction processing method for cross-chain and cross-chain system
A transaction processing and transaction technology, applied in the blockchain cross-chain field, can solve problems such as difficulty in implementation, difficulty in landing, and single-point risk, and achieve the effects of improving efficiency, ensuring atomicity, and ensuring final consistency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment 1
[0058] figure 1 It shows an implementation form according to the present invention, and shows a flow chart of the multi-chain message table transaction processing method for cross-chain in the present invention, in the cross-chain network based on application chain, gateway and relay chain , the specific implementation process of the multi-chain message table transaction processing method includes:
[0059] Step1: Client A initiates a call and sends the call request to the application chain Atr;
[0060] Step2: the application chain Atr generates the total transaction Tr, and generates the total transaction identity information IDtr for the total transaction Tr, and sets the transaction execution status as pending (not completed); the steps of generating the total transaction Tr include:
[0061] S2.1: Client A calls the application contract to initiate a cross-chain call;
[0062] S2.2: Pre-freeze the asset data on the application contract;
[0063] S2.3: Cross-chain contr...
specific Embodiment 2
[0102] In order to simplify the present invention, when n=1, the present invention is a two-chain cross-chain network under a two-dimensional relay chain model, and the realization flow chart is as follows figure 2 As shown, the total transaction Tr is transaction 1, and the sub-transaction Tri, where i=1, is transaction 2, because the sub-transaction of the total transaction 1 has only sub-transaction 2, so the relay chain A updates the status of the total transaction 1 to success , which means that the entire transaction call is successful. Since it is basically similar to the method embodiments, the description is relatively simple, and for related parts, please refer to part of the descriptions of the method embodiments.
specific Embodiment 3
[0104] This embodiment proposes a cross-chain system for multi-chain message table transaction processing, and its specific implementation composition is as follows figure 2 As shown, the specific composition includes:
[0105] Cross-chain call initiation module: used for client A to initiate a cross-chain call and send the call request to the application chain Atr;
[0106] Transaction identity information ID generation and processing module: used to generate transaction IDtr and its sub-transaction IDtri, i=1,2,...,n, n is a natural number;
[0107] Application chain data freezing and unfreezing module: used to freeze and unfreeze data for the application chain Atr internally; used for Abi to freeze its own data;
[0108] Transaction sending processing module: used for the application chain Atr to send the total transaction Tr to the gateway GAtr; used to send the sub-transaction Tri and its corresponding sub-state si and IDtri to the gateway Xi; used for the gateway Xi to...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com