Block chain cross-chain network system
Through the blockchain cross-chain network system, cross-chain partitioning, cross-chain routing and management platforms are used to realize decentralized cross-chain interaction, solving the centralized risks and complexity problems in the existing technology, reducing the difficulty of implementation and Improves system security.
Patent Information
- Application Number
- CN202411250518.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-06
- Publication Date
- 2024-12-24
AI Technical Summary
The existing cross-chain technology has centralized risks and complex cryptography technology requirements when implementing cross-chain interaction, which is difficult to reduce the difficulty of implementation.
Design a blockchain cross-chain network system, including cross-chain partitioning, cross-chain routing, adapters and cross-chain management platform, and realize decentralized cross-chain interaction through technologies such as P2P network communication and two-stage transaction modules, and reduce Technical difficulty.
Decentralized cross-chain interaction is realized, technical difficulty is reduced, complex cryptography technology needs are avoided, and the security and reliability of the system are improved.
Smart Images

Figure CN119182507A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of blockchain technology, and in particular to a blockchain cross-chain network system. Background Art
[0002] With the development of blockchain technology, a variety of different blockchains have emerged, each with its own focus on performance, security, privacy protection, etc., but most of these blockchains are independent of each other, forming so-called blockchain islands. The development of cross-chain technology is driving the progress of the blockchain industry. It can not only connect different blockchain ecosystems, but also promote the emergence of new business models and services, laying the foundation for the widespread application of blockchain technology. With the continuous maturity and innovation of technology, cross-chain technology is expected to solve existing challenges and realize a wider range of application scenarios.
[0003] Existing cross-chain technologies include achieving cross-chain interaction by introducing a trusted third party to verify and forward cross-chain transactions, or achieving decentralized management of cross-chain assets through distributed key generation and threshold key sharing technology.
[0004] However, there is a centralization risk by introducing a trusted third party to verify and forward cross-chain transactions, and the use of distributed key generation and threshold key sharing technology requires a high degree of expertise and technical capabilities in implementation and maintenance because it involves complex cryptography and distributed system technologies. In short, it is currently difficult to achieve cross-chain interaction. Summary of the invention
[0005] Based on this, it is necessary to provide a blockchain cross-chain network system that can reduce the difficulty of cross-chain interaction in response to the above technical problems.
[0006] The present application provides a blockchain cross-chain network system, which includes multiple cross-chain partitions, multiple cross-chain routes, multiple adapters and a cross-chain management platform; the multiple cross-chain partitions are obtained by dividing multiple blockchains according to business types, and each cross-chain partition includes multiple blockchains; the multiple cross-chain routes are set in a one-to-one correspondence with the multiple cross-chain partitions, each blockchain in each cross-chain partition is connected to the corresponding cross-chain route through an adapter, and the multiple cross-chain routes communicate through a P2P network, and each cross-chain route is used to transmit cross-chain transactions and transaction receipt data; the cross-chain management platform is connected to the multiple cross-chain routes, and is used to perform cross-chain route management, resource management, transaction management and transaction management.
[0007] In one embodiment, the cross-chain router includes a basic layer, an interaction layer and a transaction layer; the basic layer is used to establish connections with other cross-chain routers and blockchains; the interaction layer is used to process the interaction logic of the cross-chain router; and the transaction layer is used to process the transaction logic of the cross-blockchain.
[0008] In one embodiment, the basic layer includes a network interconnection module, a regional chain adapter module and an abstract chain storage module; the network interconnection module is used to establish a connection between a cross-chain route and other cross-chain routes; the regional chain adapter module is used to establish a connection between a cross-chain route and multiple blockchains in a corresponding cross-chain partition through multiple adapters; the abstract chain storage module is used to store block information of multiple blockchains in the corresponding cross-chain partition.
[0009] In one of the embodiments, the interaction layer includes a resource synchronization module, a resource addressing module and a cross-chain proof module; the resource synchronization module is used to synchronize resource configuration information between cross-chain routes; the resource addressing module is used to locate and access resources required by users; the cross-chain proof module is used to verify cross-chain transactions and transaction receipt data returned by other cross-chain routes.
[0010] In one of the embodiments, the transaction layer includes a two-phase transaction module and a hash time lock module; the two-phase transaction module is used to manage cross-chain transactions using a two-phase commit protocol; the hash time lock module is used to ensure that cross-chain transactions are completed within an agreed time through a hash time lock.
[0011] In one embodiment, the cross-chain route is also used to evaluate the link performance between other cross-chain routes, and select the link with the highest link performance to transmit cross-chain transactions and transaction receipt data.
[0012] In one embodiment, the cross-chain management platform is used to manage the IP addresses and ports of each cross-chain route.
[0013] In one embodiment, the cross-chain management platform is used to manage smart contract resources in each blockchain.
[0014] In one embodiment, the cross-chain management platform is used to query transactions and transaction receipt data on each blockchain.
[0015] In one embodiment, the cross-chain management platform is used to view the execution stage of transactions on each blockchain and provide a visual transaction initiation function.
[0016] The above-mentioned blockchain cross-chain network system includes multiple cross-chain partitions, multiple cross-chain routes, multiple adapters and a cross-chain management platform; multiple cross-chain partitions are obtained by dividing multiple blockchains according to business types, and each cross-chain partition includes multiple blockchains; multiple cross-chain routes are set one-to-one with multiple cross-chain partitions, and each blockchain in each cross-chain partition is connected to the corresponding cross-chain route through an adapter, and multiple cross-chain routes communicate through a point-to-point P2P network, and each cross-chain route is used to transmit cross-chain transactions and transaction receipt data; the cross-chain management platform is connected to multiple cross-chain routes for cross-chain route management, resource management, transaction management and transaction management. The present application transmits cross-chain transactions and transaction receipt data through cross-chain routes, that is, cross-chain interaction is realized through cross-chain routes, which is decentralization achieved by third parties in traditional technologies, and no complex cryptographic technology is required compared to distributed key generation and threshold key sharing technology in traditional technologies. Therefore, it is less difficult to realize cross-chain interaction through the blockchain cross-chain network system of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 This is a diagram of a blockchain cross-chain network system architecture in one embodiment;
[0019] Figure 2 A schematic diagram of a connection between multiple cross-link routes in one embodiment;
[0020] Figure 3 A schematic diagram of a Merkle proof generation principle in one embodiment;
[0021] Figure 4 A schematic diagram of a transaction process based on a hash time lock in one embodiment;
[0022] Figure 5 The figure is a schematic diagram of the internal structure of a cross-link routing device in one embodiment. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0024] With the development of blockchain technology, a variety of different blockchains have emerged, each with its own focus on performance, security, privacy protection, etc., but most of these blockchains are independent of each other, forming so-called blockchain islands. The development of cross-chain technology is driving the progress of the blockchain industry. It can not only connect different blockchain ecosystems, but also promote the emergence of new business models and services, laying the foundation for the widespread application of blockchain technology. With the continuous maturity and innovation of technology, cross-chain technology is expected to solve existing challenges and realize a wider range of application scenarios.
[0025] Existing cross-chain technologies include achieving cross-chain interaction by introducing a trusted third party to verify and forward cross-chain transactions, or achieving decentralized management of cross-chain assets through distributed key generation and threshold key sharing technology.
[0026] However, by introducing a trusted third party to verify and forward cross-chain transactions, that is, the notary mechanism, there is a risk of centralization. If the notary is attacked or acts maliciously, it may threaten the security of the entire cross-chain system. In addition, in the notary mechanism, both parties to the transaction need to trust that the notary will perform the operation as agreed. This trust is based on trust in the notary institution, rather than the decentralized and tamper-proof characteristics advocated by the blockchain technology itself.
[0027] With distributed key generation and threshold key sharing technology, distributed private key control requires the distribution and management of private key fragments between different nodes. This process involves complex cryptography and distributed system technology, so implementation and maintenance may require a high degree of expertise and technical capabilities. In addition, although distributed private key control provides privacy for asset transfers, in some cases, the management of private keys and the verification of transactions may expose some user information, requiring additional privacy protection measures. In short, it is currently difficult to achieve cross-chain interaction.
[0028] Based on this, it is necessary to propose effective technical means to solve the above problems. The technical solution of the present application and how the technical solution of the present application solves the above technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0029] In an exemplary embodiment, Figure 1As shown, a blockchain cross-chain network system architecture diagram is provided, which includes multiple cross-chain partitions, multiple cross-chain routes, multiple adapters and a cross-chain management platform; the multiple cross-chain partitions are obtained by dividing multiple blockchains according to business types, and each cross-chain partition includes multiple blockchains; the multiple cross-chain routes are set in a one-to-one correspondence with the multiple cross-chain partitions, and each blockchain in each cross-chain partition is connected to the corresponding cross-chain route through an adapter, and the multiple cross-chain routes communicate through a P2P network, and each cross-chain route is used to transmit cross-chain transactions and transaction receipt data; the cross-chain management platform is connected to the multiple cross-chain routes for cross-chain route management, resource management, transaction management and transaction management.
[0030] Among them, cross-chain partitions are used to distinguish blockchain sets of different business types. Each cross-chain partition includes multiple technically heterogeneous blockchains or business heterogeneous blockchains with the same business type. In each cross-chain partition, different blockchains are connected through a cross-chain routing connection to achieve cross-chain interaction.
[0031] For blockchain, a set of blockchain data protocols can be designed to abstract and refine the core data structures and resource definitions common to mainstream blockchains, so that multiple blockchains can interact with each other using a unified data protocol. In particular, transactions and smart contracts are abstractly packaged with data such as resources, and a unified resource interface paradigm is designed; the key data structures of mainstream blockchains are refined, and an abstract block data structure that is universally applicable to cross-chain scenarios is designed; and a consistent data protocol foundation is established for the interaction of multiple blockchains.
[0032] The unified resource interface paradigm allows users to call blockchain smart contracts by only passing in common parameters and processing uniformly defined return values. The unified resource interface paradigm includes data interface, call interface and event interface. The data interface is used to obtain and set data; the call interface is used to call the smart contract interface and send transactions to the smart contract; the event interface is used to register callback events.
[0033] The abstract block data structure contains common data fields of mainstream blockchains, which are used to verify the correctness of the blockchain, query the current status of the blockchain, and verify blockchain data. The data field includes the block information field and the information verification field. The block information field includes the block height, the current block hash value, and the previous block hash value. These fields are used to verify the correctness of the blockchain; the information verification field includes the transaction Merkle root and the receipt Merkle root, which are used to verify the existence and correctness of the transactions and receipt data related to the block, respectively, to prove whether a transaction belongs to the current block, whether a receipt belongs to the current block, etc.
[0034] In order to enable different blockchains to connect to the same cross-chain routing and realize cross-chain transactions, it is necessary to configure an adapter for each blockchain, that is, to design a universal access protocol to achieve the purpose of compatibility with multiple blockchains. The adapter to achieve this function must have two interfaces, one is an interface for obtaining resources, and the other is an interface for obtaining information. Among them, the interface for obtaining resources is used to identify and access unified resources on the blockchain, which include cross-chain partition information, business chain information, contract resources, etc. The interface for obtaining information is used to obtain key information of the blockchain, including block hash, block height, etc. It should be noted that the adapter can be integrated on the cross-chain routing or independent of the cross-chain routing, which is not limited here.
[0035] The designed adapter can provide the following information to the cross-chain routing: provide the adapter type, currently supporting FISCO BCOS national secret and non-national secret, FABRIC and other types; provide the blockchain status managed by the adapter; provide the blockchain block header information managed by the adapter; provide access to the smart contract resources on the blockchain managed by the adapter. The specific process of the adapter application is: (1) Initialize the adapter according to the configuration; (2) Obtain smart contract resources on the blockchain through Road King; (2) Call the transaction according to the contract address, method name and parameter list; (3) Call the get function of the smart contract; (4) Splice and call the transaction according to the contract address, method name and parameter list; (5) Use the send transaction method to send the transaction to the chain and call the send set function of the smart contract; (6) Analyze the return value.
[0036] Multiple cross-chain routes communicate through P2P networks, and each cross-chain route is used to transmit cross-chain transactions and transaction receipt data. To achieve this function, a general interaction protocol needs to be designed. Therefore, the cross-chain route needs to include a basic layer, an interaction layer, and a transaction layer. The basic layer is used to establish connections with other cross-chain routes and blockchains; the interaction layer is used to process the interaction logic of the cross-chain route; and the transaction layer is used to process the transaction logic of cross-blockchains.
[0037] The cross-chain management platform is connected to multiple cross-chain routes for cross-chain route management, resource management, transaction management and transaction management. Cross-chain route management refers to the management of the IP addresses and ports of each cross-chain route by the cross-chain management platform, and the ability to automatically obtain the routing information of the cross-chain route, including the type of blockchain that has been connected to the cross-chain route. Resource management refers to the ability of the cross-chain management platform to view the established cross-chain partitions and the blockchains under the cross-chain partitions, and to manage the smart contract resources in each blockchain, including the deployment, installation or update of smart contracts. Transaction management refers to the ability of the cross-chain management platform to query transactions and transaction receipt data on each blockchain. Transaction management refers to the ability of the cross-chain management platform to view the execution stage of transactions on each blockchain, view the details of transactions, and provide a visual transaction initiation function.
[0038] In addition, the homepage of the cross-chain management platform can provide statistical overview information of routing, resources, blockchain, blocks, transactions, etc. for users to view. The cross-chain management platform can also provide JAVA software development kit SDK access function, so that users can manage the entire life cycle of cross-chain accounts, transactions, transactions, resources, etc. by calling the cross-chain management platform.
[0039] The above-mentioned blockchain cross-chain network system includes multiple cross-chain partitions, multiple cross-chain routes, multiple adapters and a cross-chain management platform; multiple cross-chain partitions are obtained by dividing multiple blockchains according to business types, and each cross-chain partition includes multiple blockchains; multiple cross-chain routes are set one-to-one with multiple cross-chain partitions, and each blockchain in each cross-chain partition is connected to the corresponding cross-chain route through an adapter, and multiple cross-chain routes communicate through a P2P network, and each cross-chain route is used to transmit cross-chain transactions and transaction receipt data; the cross-chain management platform is connected to multiple cross-chain routes for cross-chain route management, resource management, transaction management and transaction management. The present application transmits cross-chain transactions and transaction receipt data through cross-chain routes, that is, cross-chain interaction is realized through cross-chain routes, which is decentralization achieved by third parties in traditional technologies, and no complex cryptographic technology is required compared to distributed key generation and threshold key sharing technology in traditional technologies. Therefore, it is less difficult to realize cross-chain interaction through the blockchain cross-chain network system of the present application.
[0040] In one embodiment, the cross-chain router includes a basic layer, an interaction layer and a transaction layer; the basic layer is used to establish connections with other cross-chain routers and blockchains; the interaction layer is used to process the interaction logic of the cross-chain router; and the transaction layer is used to process the transaction logic of the cross-blockchain.
[0041] Among them, the basic layer includes a network interconnection module, a regional chain adapter module, and an abstract chain storage module. The network interconnection module is used to establish connections between cross-chain routes and other cross-chain routes. It ensures smooth cross-chain communication and allows different blockchains to discover and communicate with each other. The regional chain adapter module is used to establish connections between cross-chain routes and multiple blockchains in the corresponding cross-chain partition through multiple adapters; the regional chain adapter module encapsulates the blockchain and provides a unified interface to interact with the blockchain without making any modifications to the blockchain itself. The abstract chain storage module is used to store the block information of multiple blockchains in the corresponding cross-chain partition. The block information includes block header information, which is used to verify the validity and receipt of cross-chain transactions and ensure the consistency and correctness of transactions between different blockchains.
[0042] The interaction layer includes a resource synchronization module, a resource addressing module, and a cross-chain proof module. The resource synchronization module is used to synchronize resource configuration information between cross-chain routes. Resource configuration information includes the block height and consensus of the blockchain, ensuring that all cross-chain routes can access the latest resource data, thereby improving the consistency and accuracy of cross-chain operations. The resource addressing module is used to locate and access the resources required by users, specifically through standardized addressing methods. The cross-chain proof module is used to verify cross-chain transactions and transaction receipt data returned by other cross-chain routes to ensure the legitimacy and correctness of transactions and prevent potential fraud.
[0043] The transaction layer includes a two-phase transaction module and a hash time lock module. The two-phase transaction module is used to manage cross-chain transactions using a two-phase commit protocol to ensure the atomicity of transactions. In the preparation phase, all participating blocks are ready to commit transactions; in the commit phase, transactions are formally committed or rolled back as needed. The hash time lock module is used to ensure that cross-chain transactions are completed within the agreed time through hash time locks. By setting a time lock, transactions can be prevented from being delayed or pending, which enhances the certainty and security of transactions.
[0044] In one embodiment, the cross-chain route is also used to evaluate the link performance between other cross-chain routes, and select the link with the highest link performance to transmit cross-chain transactions and transaction receipt data.
[0045] Specifically, cross-chain routing is used to find and confirm the connection paths with other cross-chain routings, and comprehensively evaluate the performance of each link, including response speed, bandwidth and availability; based on the evaluation results, the optimal link is selected to improve communication efficiency and reliability; in the event of a link failure, the backup link is automatically switched to ensure continuous transmission of cross-chain messages. Continuously monitoring and optimizing link selection to adapt to changes in network status is also the realization of adaptive routing.
[0046] In addition, the connection between multiple cross-chain routes is a TCP (Transmission Control Protocol) long connection, which supports network access based on the CA (Certificate Authority) authentication mechanism. The cross-chain routes will automatically synchronize the block height, consensus, etc. of each blockchain, that is, resource synchronization. Figure 2 As shown, a connection principle diagram between multiple cross-chain routes is provided, blockchain A is connected to cross-chain route A, blockchain B is connected to cross-chain route B, and cross-chain route A and cross-chain route B communicate.
[0047] In one embodiment, in addition to transmitting cross-chain transactions and transaction receipt data, each cross-chain route is also used to transmit transaction Merkel proofs and receipt Merkel proofs. The Merkel proofs and receipt Merkel proofs are used to verify the authenticity of cross-chain transactions and the authenticity of cross-chain transaction results, thereby achieving the purpose of data mutual trust.
[0048] Merkle Proof is a cryptographic technique used to verify the existence of a specific data item in a large data structure without downloading the entire data structure. This technique is often used in blockchain and distributed ledger technology to verify the validity of transaction or block data while maintaining the integrity and security of the data.
[0049] The Merkle proof works as follows:
[0050] Data structure: First, the data set is organized into a binary tree structure called a Merkle Tree. Each leaf node contains the hash value of the data block.
[0051] Hash calculation: Starting from a leaf node, the hash values of adjacent nodes are obtained by combining the hash values of their child nodes and hashing again. This process is repeated until the root node of the tree is reached, such as Figure 3 shown.
[0052] Root Hash: The root node of the Merkle tree contains a single hash value for the entire dataset, representing a summary of the entire data structure.
[0053] Proof Generation: To verify the authenticity of a specific leaf node (i.e., data block) in the tree, you need to provide the hash value of that node and the hash values of all non-sibling nodes on the path from that node to the root node.
[0054] Verification process: The verifier uses the provided path hash value and the hash value of the target leaf node to recalculate the path and compare the resulting root hash value with the known root hash value. If the two match, the verification is successful, proving that the leaf node does belong to the Merkle tree.
[0055] This application uses the Merkle proof mechanism to verify whether the transaction between the two parties exists in a block of both parties through transaction Merkle proof to ensure that the assets or data are real. The correctness of the transaction execution results of both parties is verified through the receipt Merkle proof. The complete and complex proof process is automatically implemented by the cross-chain routing, which is open and transparent without user intervention.
[0056] In one embodiment, a two-phase commit protocol is used to manage cross-chain transactions, where the two-phase commit protocol (2PC) is a protocol used to ensure the atomicity and consistency of transactions in a distributed system. In a distributed database system, a transaction may involve multiple nodes, and the two-phase commit protocol ensures that all participating blocks either commit the transaction at the same time or roll back at the same time, thereby maintaining data consistency.
[0057] To implement the two-phase commit protocol, you need to design the prepare interface, commit interface, and rollback interface. The prepare interface is used to initiate a prepare request to all resources participating in the transaction; the commit interface is used to send a commit request to all resources after all resources are prepared; the rollback interface is used to initiate a rollback request to all resources participating in the transaction to restore the original state after any resource fails to execute. Figure 3 As shown, a transaction management principle diagram is provided, including success and failure situations. Among them, the prepare interface, the commit interface and the rollback interface constitute the transaction manager.
[0058] In one of the embodiments, a hash time lock is used to ensure that cross-chain transactions are completed within the agreed time. The hash time lock includes a hash lock and a time lock. To implement the hash time lock, it is necessary to design a locking interface, an unlocking interface, and a timeout interface. The locking interface is used to create an asset locking smart contract and execute a locking method; the unlocking interface is used to call the asset locking smart contract to execute an unlocking method; the timeout interface is used to immediately cancel the lock of the relevant assets and return to the original path.
[0059] like Figure 4 As shown, a schematic diagram of a transaction process based on a hash time lock is provided; the transaction process includes:
[0060] Step 101: User A generates a secret random number A and calculates a hash value H.
[0061] Step 102: User A sends the hash value H to user B.
[0062] Step 103: User A uses hash value H and time T1 to lock asset a and sends it to blockchain A.
[0063] Step 104: User B uses hash value H and time T2 to lock asset b and sends it to blockchain B.
[0064] In step 105a, user A can use hash value H to unlock asset b.
[0065] In step 105b, user B can use hash value H to unlock asset a.
[0066] Step 106a: If asset b is not unlocked at time T2, it is locked for a timeout and user B returns asset b.
[0067] Step 106b: If asset a is not unlocked at time T1, it is locked for a timeout and user A returns asset a.
[0068] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0069] In an exemplary embodiment, a cross-link routing device is provided, and the internal structure diagram of the cross-link routing device can be as follows: Figure 5 As shown. The cross-chain routing device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the cross-chain routing device is used to provide computing and control capabilities. The memory of the cross-chain routing device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the cross-chain routing device is used to store data. The input / output interface of the cross-chain routing device is used to exchange information between the processor and the external device. The communication interface of the cross-chain routing device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, cross-chain interaction is realized.
[0070] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0071] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0072] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A blockchain cross-chain network system, characterized in that: The system includes multiple cross-chain partitions, multiple cross-chain routes, multiple adapters, and a cross-chain management platform; The multiple cross-chain partitions are obtained by dividing the multiple blockchains according to business types, and each of the cross-chain partitions includes multiple blockchains; The multiple cross-chain routes are set in one-to-one correspondence with the multiple cross-chain partitions, each blockchain in each cross-chain partition is connected to the corresponding cross-chain route through one of the adapters, and the multiple cross-chain routes communicate with each other through a point-to-point P2P network, and each cross-chain route is used to transmit cross-chain transactions and transaction receipt data; The cross-chain management platform is connected to the multiple cross-chain routes and is used for cross-chain route management, resource management, transaction management and transaction management.
2. The system according to claim 1, characterized in that The cross-chain routing includes a basic layer, an interaction layer and a transaction layer; The base layer is used to establish connections with other cross-chain routes and blockchains; The interaction layer is used to process the interaction logic of the cross-link routing; The transaction layer is used to process cross-blockchain transaction logic.
3. The system according to claim 2, characterized in that The basic layer includes a network interconnection module, a regional chain adapter module and an abstract chain storage module; The network interconnection module is used to establish a connection between the cross-link route and other cross-link routes; The regional chain adapter module is used to establish a connection between the cross-chain route and the multiple blockchains in the corresponding cross-chain partition through multiple adapters; The abstract chain storage module is used to store block information of multiple blockchains in the corresponding cross-chain partition.
4. The system according to claim 2, characterized in that The interaction layer includes a resource synchronization module, a resource addressing module and a cross-chain certification module; The resource synchronization module is used to synchronize resource configuration information between cross-link routes; The resource addressing module is used to locate and access resources required by users; The cross-chain proof module is used to verify cross-chain transactions and transaction receipt data returned by other cross-chain routes.
5. The system according to claim 2, characterized in that The transaction layer includes a two-phase transaction module and a hash time lock module; The two-phase transaction module is used to manage cross-chain transactions using a two-phase commit protocol; The hash time lock module is used to ensure that cross-chain transactions are completed within the agreed time through hash time locks.
6. The system according to claim 1, characterized in that The cross-chain route is also used to evaluate the link performance between other cross-chain routes, and select the link with the highest link performance to transmit cross-chain transactions and transaction receipt data.
7. The system according to claim 1, characterized in that The cross-chain management platform is used to manage the IP addresses and ports of each cross-chain route.
8. The system according to claim 1, characterized in that The cross-chain management platform is used to manage smart contract resources in each blockchain.
9. The system according to claim 1, characterized in that The cross-chain management platform is used to query transactions and transaction receipt data on each blockchain.
10. The system according to claim 1, characterized in that The cross-chain management platform is used to view the execution phase of transactions on each blockchain and provide a visual transaction initiation function.
Citation Information
Cited By
Cross-chain method and system for realizing service registration and discovery function based on P2P technology
CN120711068B
