Method, system and device for multi-layer cross-chain operations based on root chain-split chain structure

By constructing a cross-chain network topology with a root chain-branch chain structure and using a secure and reliable consortium chain relay chain, the security and scalability issues of cross-chain methods are solved, enabling efficient and secure cross-chain data flow and interaction, and supporting large-scale complex cross-chain scenarios.

CN115941711BActive Publication Date: 2026-02-06ZHEJIANG LAB
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211484159.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-24
Publication Date
2026-02-06
Estimated Expiration
2042-11-24

AI Technical Summary

Technical Problem

Existing cross-chain methods suffer from insufficient security and trustworthiness, unbalanced load, low scalability, long addressing time, and long cross-chain transaction chains, making it difficult to support large-scale, hierarchical, and complex cross-chain scenarios.

Method used

By adopting a root chain-sub-chain structure, a cross-chain network topology is constructed to link application chains of the same business type to the same sub-chain. A secure and reliable consortium chain is used as a relay chain to realize cross-chain operations. Operations within the sub-chain are directly managed through the root chain, reducing step-by-step verification and improving system efficiency and security.

Benefits of technology

It enables efficient, secure and reliable data flow and interaction in cross-chain systems, supports large-scale hierarchical and complex cross-chain scenarios, improves the execution efficiency and supervision and management capabilities of cross-chain systems, reduces the number of verifications, and adapts to network structure adjustments for different business scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115941711B_ABST
    Figure CN115941711B_ABST
Patent Text Reader

Abstract

The application discloses a kind of multi-layer cross-chain operation methods based on root chain-branch chain structure, comprising: constructing cross-chain network topology structure with root chain-branch chain to application chain expansion, branch chain is connected in series with multiple application chains of same service type, and application chain and the branch chain are transmitted data by gateway;According to the type of operation request, the chain channel and root chain channel for transmitting data are constructed between the request source application chain and the request destination application chain;When the gateway of request source application chain judges that the request destination application chain is in the same branch chain, branch chain channel is selected to execute the transmission of data;When the gateway of request source application chain judges that the request destination application chain is not in the same branch chain, root chain channel is selected to execute the transmission of data.The application also provides an operating system and electronic equipment.The method of the application can effectively avoid the step-by-step reporting and multi-link execution, improve the execution efficiency and security of the whole cross-chain system.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of blockchains, and particularly relates to a multi-layer cross-chain operation method, system and device with a root chain-sub-chain structure. BACKGROUND

[0002] A blockchain uses a distributed storage technology and records data using a cryptography method. The data recorded on the chain is unmodifiable, and has the advantages of cryptography security and non-tamperability. At present, the blockchain has been widely applied in various fields such as finance, energy, retail, government affairs and authentication.

[0003] With the development of the blockchain technology, the use scenarios of the blockchain are more and more, and one or more blockchains are deployed for each use scenario. The data structures and technical architectures used by these blockchains are often different. Due to the complexity and diversity of the business scenarios, data structures and technical architectures, the on-chain data of these heterogeneous and diverse blockchains cannot be circulated and exchanged with each other, forming a data island and failing to play the value of data.

[0004] A cross-chain technology realizes the connection and interaction between chains in different users and different scenarios through the use of trusted verification and network communication, solves the problem of data and information islands, greatly promotes the circulation and transfer of data elements, and maximizes the value of data and information.

[0005] The existing cross-chain method realizes the interaction between chains, but has the following deficiencies:

[0006] 1. The security and credibility of the cross-chain method need to be improved. For example, the notary technology relies on a third-party notary (such as a certain group or organization) to realize the data circulation and interaction between different blockchains. However, the third-party notary may be malicious or attacked, which brings security risks to the cross-chain operation; 2. The existing cross-chain method lacks top-level design and management of the cross-chain network structure, has the problems of unbalanced load and low scalability, is difficult to support large-scale hierarchical complex cross-chain scenarios, and lacks effective supervision and management of cross-chain behavior records; 3. The existing multi-layer cross-chain method usually uses point-to-point network addressing or step-by-step reporting and step-by-step transfer technology, has the problems of long addressing time and long cross-chain transaction link, and each needs multi-layer verification, thereby leading to low performance of the entire cross-chain system.

[0007] Patent document CN114301912A discloses a kind of information interaction method and device based on block chain, the method is executed by the node of first block chain, the method includes: receiving cross-chain service request;In response to the cross-chain service request, the cross-chain task corresponding to the cross-chain service request is executed;Consensus confirms the cross-chain information related to the cross-chain service request;The cross-chain information is sent to the node on the second block chain, so that the node on the second block chain executes cross-chain operation according to the cross-chain information;Receive the execution result of the cross-chain operation from the node on the second block chain.This method discloses the principle of direct cross-chain operation, but this method has the problems of load imbalance, low scalability, it is difficult to support large-scale hierarchical complex cross-chain scene.

[0008] Patent document CN115080994A discloses a kind of block chain cross-chain gateway data interaction method based on time locking and middle platform, step 1: cross-chain gateway accesses service chain, then cross-chain gateway configures the port information of service chain and configures the cross-chain gateway management account on access service chain;Step 2: cross-chain gateway is registered on cross-chain operation consensus chain, and access cross-chain operation consensus chain after successful registration;Step 3: cross-chain gateway enters initialization monitoring state, and listens to user operation, user operation includes local service chain data interaction, cross-chain data query and cross-chain data update;Step 4: cross-chain gateway records cross-chain operation log in real time, listens to cross-chain transaction request port, and simultaneously distributes services according to request;Step 5: after cross-chain gateway completes cross-chain transaction, cross-chain operation consensus chain saves cross-chain gateway registration information, cross-chain gateway releases account control and ends monitoring state, and completes the data interaction method of cross-chain gateway based on time locking and operation middle platform block chain.The method realizes cross-chain operation through cross-chain consensus chain, needs to introduce new relay chain in traditional block chain structure, thereby increasing the load requirement of block chain system. SUMMARY

[0009] To solve the above problems, the present application provides a kind of multi-layer cross-chain operation method with root chain-branch chain structure, which can support large-scale hierarchical complex cross-chain scene, effectively avoid reporting step by step and multi-link execution, improve the execution efficiency and security of the whole cross-chain system Confident.

[0010] A kind of multi-layer cross-chain operation method with root chain-branch chain structure, comprising:

[0011] A cross-chain network topology structure is constructed to expand the application chain of root chain-branch chain, a plurality of application chains of same business type are connected in series on the branch chain, and the application chain and the branch chain are connected by gateway Transmission data;

[0012] According to the type of operation request, a cross-chain operation channel for transmitting data is constructed between the request source application chain and the request destination application chain, and the cross-chain operation channel includes a sub-chain channel and a root chain channel:

[0013] When the gateway of the request source application chain determines that the request destination application chain is in the same sub-chain, the sub-chain channel is selected to perform data transmission;

[0014] When the gateway of the request source application chain determines that the request destination application chain is not in the same sub-chain, the root chain channel is selected to perform data transmission.

[0015] The sub-chain and the root chain of the application chain are designed by using a secure and trusted relay chain technology, and the relay chain is implemented by using a consortium chain with management function. Through the sub-chain and the root chain technology, the safety and credibility of cross-chain operation are realized, and the supervision and management ability of the system for cross-chain operation is effectively improved;

[0016] At the same time, the cross-chain operation in the sub-chain is executed by the sub-chain management, and the cross-chain operation across the sub-chain is directly executed by the root chain management without passing through the sub-chain, which effectively avoids the step-by-step reporting and step-by-step execution and the multi-chain link execution, and improves the execution efficiency and safety and credibility of the entire cross-chain system.

[0017] Specifically, the root chain and the sub-chain are consortium chains with management function.

[0018] Specifically, the consortium chain includes but is not limited to Fabric chain, BCOS chain and YunChain chain.

[0019] Preferably, the principle of series connection is to allocate the application chains with cross-chain business requirements under the same sub-chain, increase the probability of operation request in the same sub-chain, and thus accelerate the execution speed of operation request.

[0020] Specifically, the transmitted data is a cross-chain protocol, including information of the request source application chain, a cross-chain contract corresponding to the request source application chain, information of the request destination application chain and a cross-chain contract corresponding to the request destination application chain.

[0021] Specifically, the construction principle of the cross-chain operation channel is as follows:

[0022] When the sub-chain channel is constructed, it needs to be audited and passed by more than half of the administrators on the sub-chain before taking effect;

[0023] When the root chain channel is constructed, it needs to be audited and passed by more than half of the administrators on the root chain before taking effect.

[0024] Preferably, when the data transmission is performed through the sub-chain channel, the operation request is consensus-mined and block-mined by the sub-chain, and the operation request record is stored in the root chain where the sub-chain is located;

[0025] When data transmission is performed through the root chain channel, the operation request is consensus-mined by the root chain, and the operation request record is notarized to the root chain corresponding to the root chain channel;

[0026] Thus, the storage pressure of the total root chain is reduced, and the monitoring and query efficiency of the individual sub-root chain is accelerated.

[0027] The application also provides a multi-layer cross-chain operation system, which is constructed based on the multi-layer cross-chain operation method with the root chain-sub-chain structure.

[0028] The cross-chain network management module: based on the cross-chain network topology structure obtained based on the multi-layer cross-chain operation method, the application chains of the same type are linked to the same sub-chain through the gateway, and the application chains with cross-sub-chain operation requirements are linked to the root chain through the gateway;

[0029] The cross-chain operation execution module: after the operation request is received by the gateway of the request source application chain, the cross-chain protocol is parsed, and it is judged whether the request destination application chain is in the same sub-chain according to the information in the cross-chain protocol, and the cross-chain operation channel that meets the requirements is selected for cross-chain protocol transmission;

[0030] The cross-chain execution result module: after the execution result is received by the gateway of the request destination application chain, the execution result is notified to the corresponding request source application chain, and after the notification is completed, the operation request record is notarized to the root chain where the request source application chain is located.

[0031] The application also provides an electronic device, which comprises:

[0032] A processor;

[0033] A memory for storing executable instructions of the processor;

[0034] The processor is configured to execute the executable instructions to implement the multi-layer cross-chain operation method based on the root chain-sub-chain structure.

[0035] The application also provides a computer readable storage medium, which stores a program, and the program is executed by a processor to implement the multi-layer cross-chain operation method based on the root chain-sub-chain structure.

[0036] Compared with the prior art, the application has the following advantages:

[0037] (1) The multi-layer cross-chain operation method with the sub-chain-root chain structure is realized, the data flow and interaction between different blockchains are realized, the data and information island problem existing in a single blockchain is effectively solved, the value of data and information is maximized, and the application has strong economic and social benefits, strong practicability and high application value.

[0038] (2) Adopting the sub-chain and root chain technology based on the alliance chain, the problem of notarization person doing evil or being attacked is effectively avoided, and the security and credibility of cross-chain operation are improved.

[0039] (3) For cross-chain operation across the sub-chain, the system does not send the cross-chain operation to the root chain directly, and the root chain forwards it to the target application chain, only the core transaction verification is performed in the root chain, the cross-chain process is simplified, the verification times of cross-chain are reduced, and the cross-chain efficiency is improved; all cross-chain operation records are stored in the root chain, and the unified supervision and management of all cross-chain behaviors are realized through the root chain; the network among the application chain, the sub-chain and the root chain is deployed according to the business scene demand, a large-scale hierarchical network structure can be supported, and the network structure can be adjusted according to the load, and the flexibility is high. BRIEF DESCRIPTION OF DRAWINGS

[0040] Figure 1 is a flowchart of the multi-layer cross-chain operation method based on the root chain-sub-chain structure proposed in the application;

[0041] Figure 2 is a schematic diagram of the cross-chain network topology structure proposed in the application;

[0042] Figure 3 is a schematic diagram of the multi-layer cross-chain operation system structure based on the root chain-sub-chain structure proposed in the application;

[0043] Figure 4 is a schematic diagram of the multi-layer cross-chain operation electronic device structure based on the root chain-sub-chain structure proposed in the application. DETAILED DESCRIPTION

[0044] The exemplary embodiments will be described in detail herein with reference to the attached drawings. In the following description, the same numbers are used to indicate the same or similar components. The embodiments described in the following exemplary embodiments do not represent all the embodiments consistent with the present application. Instead, they are merely examples of apparatuses and methods consistent with some aspects of the present application as detailed in the appended claims.

[0045] The terms used in the present application are merely for the purpose of describing specific embodiments, and are not intended to limit the present application.

[0046] The singular forms "a", "said" and "the" used in the present application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein means and includes any or all possible combinations of one or more associated listed items.

[0047] It should be understood that, although the terms first, second, third, etc. can be employed in this application to describe various information, the information is not to be limited to these terms. These terms are only used to differentiate one piece of information from another piece of information. For example, a first information can also be termed a second information, and similarly, a second information can also be termed a first information without departing from the scope of the present application. Depending on the context, the word "if' as used herein can be interpreted as meaning "when" or "in response to determining."

[0048] As shown in Figure 1 A multi-layer cross-chain operation method based on root chain-branch chain structure, comprising:

[0049] A cross-chain network topology is constructed to expand the application chain with the root chain-branch chain. According to the business type of the application chain, the application chains of the same type are linked to the same branch chain through the gateway, and the application chains with cross-branch chain operation requirements are linked to the root chain through the gateway.

[0050] The application chains, branch chains, and root chains can be distributed according to business types such as regions, industries, and organizations. Taking the division of city chains by regional types as an example: the application chains "Hangzhou City Blockchain", "Ningbo City Blockchain", and other city application chains in Zhejiang Province are linked to the branch chain "Zhejiang Province Management Chain", the application chains "Nanjing City Blockchain", "Suzhou City Blockchain", "Wuxi City Blockchain", and other city application chains in Jiangsu Province are linked to the branch chain "Jiangsu Province City Management Chain", and the city chains with cross-chain requirements are linked to the root chain "China City Management Chain", forming a cross-chain network topology with root chain-branch chain.

[0051] As shown in Figure 2 The request source application chain sends a cross-chain operation request. The request source application chain gateway listens to the cross-chain request and parses the received cross-chain protocol. The cross-chain protocol includes: information of the request source application chain, a cross-chain contract corresponding to the request source application chain, information of the request destination application chain, and a cross-chain contract corresponding to the request destination application chain.

[0052] The request source application chain gateway sends a query request to the branch chain corresponding to the request source application chain according to the parsed cross-chain protocol, queries whether the request destination application chain of the cross-chain protocol is under the branch chain, and executes the cross-chain operation through the branch channel or the root channel according to the result returned by the branch chain. The specific execution steps are as follows:

[0053] If the request destination application chain is in the management list of the branch chain, the request source application chain gateway executes the cross-chain operation through the branch channel;

[0054] If the request destination application chain is in the management list of the branch chain, the request source application chain gateway executes the cross-chain operation through the root channel.

[0055] If the sub-chain receives the cross-chain operation forwarded by the request source application chain gateway, the sub-chain performs consensus on the cross-chain operation and blocks it, and the specific execution steps are as follows:

[0056] The sub-chain endorsement node simulates the cross-chain operation by calling the cross-chain on-chain contract, and returns the endorsement result to the request source application chain gateway. When the request source application chain gateway collects enough endorsements, it sends the cross-chain operation to the sub-chain ordering node (the sub-chain ordering node performs packaging, ordering, and block generation). After the sub-chain synchronizes to the block, it verifies the block. After verification succeeds, the sub-chain forwards the cross-chain operation to the destination application chain gateway of the cross-chain protocol.

[0057] If the root chain receives the cross-chain operation forwarded by the request source application chain gateway, the root chain performs consensus on the cross-chain operation and blocks it, and the specific execution steps are as follows:

[0058] The root chain endorsement node simulates the cross-chain operation by calling the cross-chain on-chain contract, and returns the endorsement result to the request source application chain gateway. When the request source application chain gateway collects enough endorsements, it sends the cross-chain operation to the root chain ordering node (the root chain ordering node performs packaging, ordering, and block generation). After the root chain synchronizes to the block, it verifies the block. After verification succeeds, the root chain forwards the cross-chain operation to the request destination application chain gateway of the cross-chain protocol.

[0059] The request destination application chain gateway receives the cross-chain operation and forwards it to the request destination application chain, and listens to the request destination application chain executing the cross-chain operation contract. When the request destination application chain receives the cross-chain operation request forwarded by the request destination application chain gateway, it executes the cross-chain operation contract.

[0060] After the request destination application chain gateway listens to the execution result of the request destination application chain, it notifies the source application chain of the cross-chain operation contract execution result, and the specific execution steps are as follows:

[0061] If the cross-chain operation is executed through the sub-chain channel, the request destination application chain gateway sends the execution result to the sub-chain, and the sub-chain uses the request source application chain gateway to notify the request source application chain of the cross-chain operation execution result. After the notification is completed, the sub-chain stores the entire cross-chain operation record in the root chain;

[0062] If the cross-chain operation is executed through the root chain channel, the request destination application chain gateway sends the execution result to the root chain, and the root chain uses the source application chain gateway to notify the source application chain of the cross-chain operation execution result.

[0063] As shown in Figure 3 A multi-layer cross-chain operation system based on a root chain-sub-chain structure, comprising:

[0064] Cross-chain network management module: Based on the cross-chain network topology structure obtained by constructing a multi-layer cross-chain operation method, according to the business type of the application chain, application chains of the same type are linked to the same sub-chain through a gateway, and application chains with cross-sub-chain operation requirements are linked to the root chain through a gateway.

[0065] Cross-chain operation execution module: After listening to the operation request through the gateway of the application chain from which the request originates, the module parses the received cross-chain protocol, determines whether the application chain from which the request originates is in the same sub-chain based on the information in the cross-chain protocol, and selects a cross-chain operation channel that meets the requirements to transmit the cross-chain protocol.

[0066] Cross-chain execution result module: After the gateway of the request destination application chain listens to the execution result, it notifies the corresponding request source application chain of the execution result. After the notification is completed, the operation request record is stored in the root chain where the request source application chain is located.

[0067] like Figure 4 As shown, an electronic device provided in this embodiment includes one or more processors for implementing the multi-layer cross-chain operation method based on the root chain-branch chain structure in the above embodiment.

[0068] Taking software implementation as an example, as a logical device, it is formed by the processor of any device with data processing capabilities that is located here reading the corresponding computer program instructions in non-volatile memory into memory for execution. From a hardware perspective, in addition to the processor, memory, network interface, and non-volatile memory, the device in the embodiment that is located here with data processing capabilities may also include other hardware depending on the actual function of the device with data processing capabilities, which will not be elaborated further.

[0069] This invention also provides a computer-readable storage medium storing a program that, when executed by a processor, implements the multi-layer cross-chain operation method based on the root chain-branch chain structure described in the above embodiments.

[0070] The computer-readable storage medium can be an internal storage unit of any data processing device described in any of the foregoing embodiments, such as a hard disk or memory. The computer-readable storage medium can also be any data processing device, such as a plug-in hard disk, smart media card (SMC), SD card, flash card, etc., mounted on the device. Furthermore, the computer-readable storage medium can include both internal storage units of any data processing device and external storage devices. The computer-readable storage medium is used to store the computer program and other programs and data required by the data processing device, and can also be used to temporarily store data that has been output or will be output.

Claims

1. A method for multi-layer cross-chain operation based on a root chain-split chain structure, characterized in that, The application relates to a multi-layer cross-chain operation method based on a root chain-branch chain structure. A cross-chain network topology structure is constructed, in which a root chain is expanded to an application chain in a branch chain mode, a plurality of application chains of the same service type are connected in series on the branch chain, data is transmitted between the application chains and the branch chain through a gateway, and the series connection principle is that application chains with cross-chain service requirements are distributed under the same branch chain; According to the type of an operation request, a cross-chain operation channel for transmitting data is constructed between a request source application chain and a request target application chain, the cross-chain operation channel comprises a branch chain channel and a root chain channel, and the construction principle of the cross-chain operation channel is as follows: When the branch chain channel is constructed, more than half of the administrators on the branch chain need to pass the audit and take effect; When the root chain channel is constructed, more than half of the administrators on the root chain need to pass the audit and take effect: When the gateway of the request source application chain determines that the request target application chain is in the same branch chain, the branch chain channel is selected to execute data transmission; When the gateway of the request source application chain determines that the request target application chain is not in the same branch chain, the root chain channel is selected to execute data transmission; When the data transmission is executed through the branch chain channel, the operation request is consensus-mined by the branch chain, and the operation request record is stored in the root chain where the branch chain is located; When the data transmission is executed through the root chain channel, the operation request is consensus-mined by the root chain, and the operation request record is stored in the root chain corresponding to the root chain channel; Cross-chain operations in the branch chain are executed through branch chain management, and cross-chain operations between branch chains are directly executed through root chain management without passing through the branch chain.

2. The method of claim 1, wherein the root chain-decoupled multi-layer cross-chain operation method is characterized by, The root chain and the branch chain are both alliance chains with management functions.

3. The method of claim 2, wherein the root chain-decoupled multi-layer cross-chain operation method is characterized by, The consortium chain includes, but is not limited to chains, chains, and chains.

4. The method of claim 1, wherein the root chain-branch chain structure-based multi-layer cross-chain operation method is characterized by, The transmitted data is a cross-chain protocol, which comprises information of the request source application chain, a cross-chain contract corresponding to the request source application chain, information of the request target application chain and a cross-chain contract corresponding to the request target application chain.

5. A multi-layer cross-chain operating system, constructed to implement the multi-layer cross-chain operating method based on the root chain-branch chain structure according to any one of claims 1 to 4, characterized in that, The multi-layer cross-chain operation system comprises a cross-chain network management module, a cross-chain operation execution module and a cross-chain execution result module. The cross-chain network management module is used for constructing a cross-chain network topology structure based on a multi-layer cross-chain operation method, and for linking application chains of the same type to the same branch chain through a gateway according to the service type of the application chains and linking application chains with cross-chain operation requirements to a root chain through the gateway; The cross-chain operation execution module is used for analyzing the received cross-chain protocol after the gateway of the request source application chain listens to the operation request, judging whether the request target application chain is in the same branch chain according to the information in the cross-chain protocol, and selecting a cross-chain operation channel meeting the requirements to transmit the cross-chain protocol; 6. An electronic device, comprising: The cross-chain execution result module is used for notifying the execution result to the corresponding request source application chain after the gateway of the request target application chain listens to the execution result, and storing the operation request record in the root chain where the request source application chain is located after the notification is completed. The application relates to a multi-layer cross-chain operation method based on a root chain-branch chain structure. The application relates to a multi-layer cross-chain operation method based on a root chain-branch chain structure. The application relates to a multi-layer cross-chain operation method based on a root chain-branch chain structure.

7. A computer-readable storage medium having stored thereon a program, characterized in that, ​

Citation Information

Patent Citations

  • Information interaction method and device based on block chain

    CN114301912A

  • Block chain cross-chain gateway data interaction method based on time locking and middle channel

    CN115080994A

  • Node system of block chain and cooperation method thereof

    CN114499824A