Data processing method and device based on multi-block chain, equipment and medium

CN118921377APending Publication Date: 2024-11-08TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202310505182.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-06
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

[0003]然而在实践中发现,由于区块链A独立于区块链B,且该区块链A上资产确定规则与该区块链B上的资产确定规则存在本质上的区别,以至于存在最终在该区块链B上所确定得到的映射资产(例如,数字资产P’),与从该区块链A上转移出的数字资产P为不同数字资产的现象

Benefits of technology

[0021] According to one aspect of the present application, a computer program product or computer program is provided, which computer program product or computer program includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in the above aspect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118921377A_ABST
    Figure CN118921377A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing method and device based on multiple block chains, equipment and a medium, and the method comprises the steps: obtaining a full-chain asset transfer request, and calling a target full-chain business contract on a first business chain when a business transaction is determined to be a cross-chain asset transfer transaction based on the full-chain asset transfer request, taking the full-chain assets involved in the cross-chain asset transfer transaction as to-be-transferred full-chain assets, calling a full-chain contract protocol in the target full-chain business contract, determining a target remote contract address bound with the target full-chain business contract, and when a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction is generated, sending the to-be-transferred full-chain assets to the to-be-transferred full-chain assets to the to-be-transferred full-chain assets. And the cross-chain asset reconstruction transaction is sent to the second block chain node through the under-chain cross-chain service equipment, so that the second block chain node calls the target remote full-chain business contract to generate full-chain mapping assets corresponding to the to-be-transferred full-chain assets on a second business chain. By adopting the method and the device, the whole-chain circulation of the same digital asset among different block chains can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of blockchain technology, and in particular to a data processing method, device, equipment and medium based on multiple blockchains. Background Art

[0002] At present, in some application scenarios of cross-chain transfer of digital assets, a certain digital asset (for example, digital asset P) can be transferred from blockchain A to blockchain B. However, in the process of transferring this digital asset P from blockchain A to blockchain B, it is necessary to re-determine a mapping asset (for example, digital asset P') on blockchain B that has the same asset content as the digital asset P according to the asset determination rules on blockchain B.

[0003] However, in practice, it is found that since blockchain A is independent of blockchain B, and the asset determination rules on blockchain A are essentially different from those on blockchain B, there is a phenomenon that the mapped assets (for example, digital assets P') finally determined on blockchain B are different from the digital assets P transferred from blockchain A. In other words, in the existing application scenarios of cross-chain transfer of digital assets, it is difficult to ensure the full-chain liquidity of the same digital asset between different blockchains. Summary of the invention

[0004] The embodiments of the present application provide a multi-blockchain-based data processing method, apparatus, device, and medium, which can ensure the full-chain liquidity of the same digital asset between different blockchains.

[0005] On the one hand, an embodiment of the present application provides a data processing method based on multiple blockchains, wherein the multiple blockchains include a first business chain and a second business chain, the blockchain network corresponding to the first business chain is the first blockchain network, and the blockchain network corresponding to the second business chain is the second blockchain network; the first blockchain network is independent of the second blockchain network; the method is executed by a first blockchain node in the first blockchain network, and the method includes:

[0006] Obtain the full-chain asset transfer request sent by the first business object for the business transaction. When the business transaction is determined to be a cross-chain asset transfer transaction based on the full-chain asset transfer request, call the target full-chain business contract on the first business chain and use the full-chain assets involved in the cross-chain asset transfer transaction as the full-chain assets to be transferred; the cross-chain asset transfer transaction is used to indicate that the full-chain assets to be transferred are transferred from the first business chain to the second business chain;

[0007] Call the full-chain contract protocol in the target full-chain business contract to determine the target remote contract address bound to the target full-chain business contract; the full-chain contract protocol is determined based on the full-chain contract protocol interface provided by the full-chain business parent contract on the first business chain; the target remote full-chain business contract corresponding to the target remote contract address is the full-chain business contract on the second business chain that integrates the full-chain contract protocol;

[0008] When a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction is generated based on the target remote contract address and the full-chain asset to be transferred, the cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event is sent to the second blockchain node in the second blockchain network through the off-chain cross-chain service device, so that the second blockchain node determines the target remote full-chain business contract corresponding to the target remote contract address on the second business chain based on the cross-chain asset reconstruction transaction, and calls the target remote full-chain business contract to generate a full-chain mapping asset corresponding to the full-chain asset to be transferred on the second business chain; the asset data information of the full-chain mapping asset is consistent with the asset data information of the full-chain resource to be transferred.

[0009] On the other hand, an embodiment of the present application provides a data processing method based on multiple blockchains, wherein the multiple blockchains include a first business chain and a second business chain, the blockchain network corresponding to the first business chain is the first blockchain network, and the blockchain network corresponding to the second business chain is the second blockchain network; the second blockchain network is independent of the first blockchain network; the method is executed by a second blockchain node in the second blockchain network, and the method includes:

[0010] Obtain a cross-chain asset reconstruction transaction corresponding to a cross-chain asset transfer event sent by a first blockchain node in a first blockchain network through an off-chain cross-chain service device; a cross-chain asset transfer event is an event corresponding to a cross-chain asset transfer transaction generated by the first blockchain node based on the target remote contract address bound to the target full-chain business contract and the full-chain asset to be transferred; the target remote contract address is obtained by the first blockchain node through the full-chain contract protocol in the target full-chain business contract; the full-chain asset to be transferred is the full-chain asset involved in the cross-chain asset transfer transaction determined by calling the target full-chain business contract when the first blockchain node obtains the full-chain asset transfer request sent by the first business object for the business transaction and determines that the business transaction is a cross-chain asset transfer transaction based on the full-chain asset transfer request; the target full-chain business contract is a full-chain business contract integrated with a full-chain contract protocol on the first business chain; the remote full-chain business contract corresponding to the target remote contract address is a full-chain business contract integrated with a full-chain contract protocol on the second business chain;

[0011] Based on the cross-chain asset reconstruction transaction, the target remote full-chain business contract corresponding to the target remote contract address is determined on the second business chain, and the target remote full-chain business contract is called to generate the full-chain mapping asset corresponding to the full-chain asset to be transferred on the second business chain; the asset data information of the full-chain mapping asset is consistent with the asset data information of the target full-chain asset.

[0012] On the one hand, an embodiment of the present application provides a data processing device based on multiple blockchains, wherein the multiple blockchains include a first business chain and a second business chain, the blockchain network corresponding to the first business chain is the first blockchain network, and the blockchain network corresponding to the second business chain is the second blockchain network; the first blockchain network is independent of the second blockchain network; the device runs on a first blockchain node in the first blockchain network, and the device includes:

[0013] The full-chain asset acquisition module is used to obtain the full-chain asset transfer request sent by the first business object for the business transaction. When the business transaction is determined to be a cross-chain asset transfer transaction based on the full-chain asset transfer request, the target full-chain business contract on the first business chain is called, and the full-chain assets involved in the cross-chain asset transfer transaction are used as the full-chain assets to be transferred; the cross-chain asset transfer transaction is used to indicate that the full-chain assets to be transferred are transferred from the first business chain to the second business chain;

[0014] The contract address determination module is used to call the full-chain contract protocol in the target full-chain business contract to determine the target remote contract address bound to the target full-chain business contract; the full-chain contract protocol is determined based on the full-chain contract protocol interface provided by the full-chain business parent contract on the first business chain; the target remote full-chain business contract corresponding to the target remote contract address is the full-chain business contract on the second business chain that integrates the full-chain contract protocol;

[0015] The transfer event generation module is used to send the cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event to the second blockchain node in the second blockchain network through the off-chain cross-chain service device when generating a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction based on the target remote contract address and the full-chain asset to be transferred, so that the second blockchain node determines the target remote full-chain business contract corresponding to the target remote contract address on the second business chain based on the cross-chain asset reconstruction transaction, and calls the target remote full-chain business contract to generate a full-chain mapping asset corresponding to the full-chain asset to be transferred on the second business chain; the asset data information of the full-chain mapping asset is consistent with the asset data information of the full-chain resource to be transferred.

[0016] On the one hand, an embodiment of the present application provides a data processing device based on multiple blockchains, wherein the multiple blockchains include a first business chain and a second business chain, the blockchain network corresponding to the first business chain is the first blockchain network, and the blockchain network corresponding to the second business chain is the second blockchain network; the second blockchain network is independent of the first blockchain network; the device runs on a second blockchain node in the second blockchain network, and the device includes:

[0017] A reconstruction transaction acquisition module is used to obtain a cross-chain asset reconstruction transaction corresponding to a cross-chain asset transfer event sent by a first blockchain node in a first blockchain network through an off-chain cross-chain service device; a cross-chain asset transfer event is an event corresponding to a cross-chain asset transfer transaction generated by the first blockchain node based on the target remote contract address bound to the target full-chain business contract and the full-chain asset to be transferred; the target remote contract address is obtained by the first blockchain node through the full-chain contract protocol in the target full-chain business contract; the full-chain asset to be transferred is the full-chain asset involved in the cross-chain asset transfer transaction determined by calling the target full-chain business contract when the first blockchain node obtains the full-chain asset transfer request sent by the first business object for the business transaction and determines that the business transaction is a cross-chain asset transfer transaction based on the full-chain asset transfer request; the target full-chain business contract is a full-chain business contract integrated with a full-chain contract protocol on the first business chain; the remote full-chain business contract corresponding to the target remote contract address is a full-chain business contract integrated with a full-chain contract protocol on the second business chain;

[0018] The mapping asset generation module is used to determine the target remote full-chain business contract corresponding to the target remote contract address on the second business chain based on the cross-chain asset reconstruction transaction, and call the target remote full-chain business contract to generate the full-chain mapping asset corresponding to the full-chain asset to be transferred on the second business chain; the asset data information of the full-chain mapping asset is consistent with the asset data information of the target full-chain asset.

[0019] On one hand, an embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory is connected to the processor, the memory is used to store a computer program, and the processor is used to call the computer program so that the computer device executes the method provided in the above aspect of the embodiment of the present application.

[0020] On one hand, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. The computer program is suitable for being loaded and executed by a processor, so that a computer device with a processor executes the method provided in the above aspect of the embodiment of the present application.

[0021] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in the above aspect.

[0022] In an embodiment of the present application, the multi-blockchain may include a first business chain and a second business chain, and the cross-chain asset transfer transaction corresponding to the full-chain asset transfer request is used to indicate that the full-chain asset to be transferred (for example, a digital asset, specifically a digital collection) is transferred from the first business chain to the second business chain; this solution can realize the cross-chain transfer of the full-chain assets to be transferred by deploying a full-chain business contract integrated with the same full-chain contract protocol on the first business chain and the second business chain; it can be understood that a target full-chain business contract for executing a cross-chain asset transfer transaction is deployed on the first business chain, and the full-chain business contract corresponding to the target full-chain business contract on the second business chain is a target remote full-chain business contract, and the target full-chain business contract and the target remote full-chain business contract are integrated with the same full-chain contract protocol, that is, the target full-chain business contract and the target remote full-chain business contract are integrated with the same asset transfer method (such as asset transfer related methods, asset determination related methods), that is, the asset determination rule on the first business chain is the same as The asset determination rules on the second business chain are the same. Therefore, the first blockchain node can call the full-chain contract protocol in the target full-chain business contract to generate a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction to realize the cross-chain transfer of the full-chain assets to be transferred. The second blockchain node can call the full-chain contract protocol in the target remote full-chain business contract based on the cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event to determine the assets of the full-chain assets to be transferred. Since the first blockchain node and the second blockchain node use the asset transfer method uniformly specified in the same full-chain contract protocol to realize the transfer and determination of digital assets, the asset data information of the full-chain mapped assets determined by the second blockchain node can be consistent with the asset data information of the full-chain assets to be transferred. At this time, the full-chain assets to be transferred in the first business chain and the mapped assets on the second business chain can be regarded as the same asset, thereby ensuring the full-chain liquidity of the same digital asset between different blockchains, thereby improving the liquidity of digital assets in multiple blockchains. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0024] Figure 1 It is a schematic diagram of a hierarchical structure of a blockchain network provided in an embodiment of the present application;

[0025] Figure 2 This is a schematic diagram of a multi-blockchain data processing scenario provided by an embodiment of the present application;

[0026] Figure 3 This is a schematic diagram of a scenario of data processing based on multiple blockchains provided in an embodiment of the present application;

[0027] Figure 4 This is a schematic diagram of a data processing method based on multiple blockchains provided in an embodiment of the present application. Figure 1 ;

[0028] Figure 5 This is a schematic diagram of a cross-chain asset transfer scenario provided by an embodiment of the present application;

[0029] Figure 6 This is a schematic diagram of a data processing method based on multiple blockchains provided in an embodiment of the present application. Figure 2 ;

[0030] Figure 7 This is a schematic diagram of a contract update scenario provided by an embodiment of the present application;

[0031] Figure 8 This is a schematic diagram of a data processing method based on multiple blockchains provided in an embodiment of the present application. Figure 3 ;

[0032] Fig. 9 This is an interactive schematic diagram of data processing based on multiple blockchains provided in an embodiment of the present application;

[0033] Fig.10 This is a schematic diagram of an interaction for contract updating provided in an embodiment of the present application;

[0034] Fig.11 This is a schematic diagram of a data processing device based on multiple blockchains provided in an embodiment of the present application. Figure 1 ;

[0035] Fig.12 This is a schematic diagram of a data processing device based on multiple blockchains provided in an embodiment of the present application. Figure 2 ;

[0036] Fig.13 is a structural schematic diagram of a computer device provided in an embodiment of the present application;

[0037] Fig.14This is a schematic diagram of a multi-blockchain-based data processing system provided in an embodiment of the present application.

[0038] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0039] See also Figure 1 , Figure 1 Schematic diagram of the hierarchical structure of a blockchain network provided in the embodiment of the present application. Figure 1 The layered structure shown is applied to a blockchain data system, such as a blockchain digital asset system. The blockchain digital asset system can be a system composed of multiple blockchain networks. The digital assets can be digital collections, electronic bills, etc. Digital assets can be transferred and circulated in multiple blockchain networks, that is, the full-chain circulation of digital assets can be achieved in multiple blockchain networks. In this case, digital assets can be called full-chain assets. The blockchain network corresponding to the blockchain digital asset system includes a business network and multiple blockchain networks (i.e., consensus networks). The business network is in the public network, and the blockchain network is in the private network (such as deployed in a private cloud). Figure 1 As shown, the business network can be expressed as Figure 1 The business network 100 shown in FIG. 1 and the multiple blockchain networks can be specifically represented as Figure 1 Blockchain network 200 and blockchain network 300 are shown.

[0040] In such Figure 1 In the service network 100 shown, multiple service nodes are deployed, and the multiple service nodes may specifically include Figure 1 The service nodes 10a, 10b, ..., 10n are shown. It is understood that the number of service nodes deployed in the service network 100 is not limited here. As the service demand changes, the number of service nodes can change continuously. It should be understood that the service nodes in the service network 100 do not need to be accounted. In addition, Figure 1 As shown, for each business node running in the business network 100, one or more of the above-mentioned multiple consensus networks can be accessed through network communication, and the number of consensus networks accessed by each business object through the corresponding business node is not limited here. It is understandable that data can also be exchanged between each consensus network through network communication.

[0041] It should be understood that in Figure 1In the blockchain network 200 shown, multiple blockchain nodes are deployed. The multiple blockchain nodes here may specifically include Figure 1 Blockchain nodes 20a, 20b, 20c and 20d are shown. It should be noted that the number of blockchain nodes deployed in the blockchain network 200 is not limited here, and the number of blockchain nodes here can change continuously as business needs change. Figure 1 As shown, for multiple consensus nodes running in the blockchain network 200, the blockchain maintained together is specifically Figure 1 Blockchain 20e is shown.

[0042] Accordingly, in Figure 1 In the blockchain network 300 shown, multiple blockchain nodes are deployed. The multiple blockchain nodes here may specifically include Figure 1 Blockchain nodes 30a, 30b, 30c and 30d are shown. It should be noted that the number of blockchain nodes deployed in the blockchain network 300 is not limited here, and the number of blockchain nodes here can change continuously as business needs change. Figure 1 As shown, for multiple consensus nodes running in the blockchain network 300, the blockchain maintained together is specifically Figure 1 Blockchain 30e is shown.

[0043] For ease of understanding, the embodiment of the present application may refer to the blockchain network 200 located in the above-mentioned blockchain digital asset system as the first blockchain network, the blockchain 20e maintained by the blockchain network 200 as the first business chain, and the blockchain node in the blockchain network 200 as the first blockchain node; and the blockchain network 300 located in the above-mentioned blockchain digital asset system is referred to as the second blockchain network, the blockchain 30e maintained by the blockchain network 300 is referred to as the second business chain, and the blockchain node in the blockchain network 300 is referred to as the second blockchain node. The first blockchain network is independent of the second blockchain network, and the first business chain and the second business chain are independent blockchains. It can be understood that the first business chain and the second business chain can be blockchains constructed in any business scenario. The blockchain digital asset system may include multiple blockchain networks, which may include multiple independent blockchain networks, and each blockchain network is used to maintain its own blockchain (i.e., business chain). The number of blockchain networks in the multi-blockchain network (the number of business chains in the multi-blockchain) is not limited here. As business needs change, the number of blockchain networks here can change continuously. Here, the digital asset transfer process in the multi-blockchain is described only by taking the multi-blockchain including the first business chain and the second business chain as an example.

[0044] In addition, the blockchain in the multi-blockchain can be any type of blockchain, such as a layer1 type blockchain or a layer2 type blockchain, which is not limited here. Among them, layer1 refers to the underlying blockchain, and the layer1 blockchain is the underlying foundation for the construction of various layer2 networks. Among them, the functions of layer1 include: node manager network (used to protect and verify the network), block producer network, and the blockchain itself as well as historical transaction data and network consensus mechanism. Layer2 refers to the blockchain in the second layer blockchain network built on the layer1 public chain to optimize the processing of transactions and calculations.

[0045] It should be understood that the blockchain involved in the embodiments of the present application is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism and encryption algorithm, which is mainly used to organize data in chronological order and encrypt it into a ledger to make it impossible to be tampered with or forged, and to verify, store and update data. Blockchain is essentially a decentralized database in which each node stores an identical blockchain.

[0046] In the above blockchain digital asset system, the blockchain node can be responsible for the consensus in the blockchain network where the corresponding blockchain is located, that is, the blockchain node can be the consensus node in the blockchain network where the corresponding blockchain is located. For any of the above two blockchain networks, the specific process of writing the transaction data in the blockchain network into the corresponding blockchain account book (for example, a distributed database) can be that the business client sends the transaction data to a certain business node, and then the transaction data is passed between the business nodes in the business network in the above blockchain network in a relay manner until the blockchain node in the above corresponding blockchain network (for example, the blockchain node 20b in the blockchain network 200) receives the transaction data. At this time, the blockchain node (for example, the blockchain node 20b in the blockchain network 200) packs the transaction data into a block so that it can be subsequently reached with other blockchain nodes. Consensus can be written into the distributed database of the blockchain network (for example, blockchain network 200) where the consensus is passed. Optionally, the aforementioned business client can be a payment client, entertainment client (for example, game client), multimedia client (for example, video client), smart home client, browser, etc. in the blockchain that has the function of displaying data information such as text, images, audio and video.

[0047] Optionally, it is understandable that the embodiment of the present application can also write the block carrying the transaction data and other multiple blocks associated with the block into a distributed database in parallel through the storage layer of the blockchain network (for example, blockchain network 200) to which it belongs after consensus is passed. This can fundamentally break through the limitations of the blockchain structure of the blockchain, and thus effectively improve the storage efficiency of data storage.

[0048] Among them, it can be understood that in the above-mentioned blockchain digital asset system, a smart contract can be deployed on the blockchain of the corresponding blockchain network. The smart contract in the blockchain digital asset system can be understood as a code executed by each blockchain node, and any logic can be executed and the result can be obtained through the smart contract. For example, a business object (such as a user) can initiate a transaction business request (such as a full-chain asset transfer request for a cross-chain asset transfer transaction) through a business client to call a smart contract (such as a target full-chain business contract for a cross-chain asset transfer transaction) that has been deployed on the blockchain (such as the above-mentioned blockchain 20e) of the corresponding blockchain network (such as the above-mentioned blockchain network 200).

[0049] Specifically, the business node in the business network can send the transaction business request to the blockchain node in the corresponding blockchain network (for example, Figure 1 The blockchain node 20a shown in the figure is used to authenticate the identity of the business object that sends the transaction service request through the chain entrance of the corresponding blockchain network, and when the identity authentication is successful, the transaction service request sent by the business object is allowed to be sent to other blockchain nodes in the corresponding blockchain network (for example, Figure 1 The consensus node 20b shown in FIG. 20b) is used to call these blockchain nodes (e.g., Figure 1 The smart contracts running in the blockchain nodes 20a and 20b shown execute the transaction business requested by the business object.

[0050] It should be understood that one or more smart contracts can be deployed on the blockchain (e.g., the blockchain 20e) of the above-mentioned blockchain network (e.g., the above-mentioned blockchain network 200). These smart contracts can be distinguished by the contract call address (also called the contract address), the contract identification number (Identity document, ID) or the contract name, and the transaction business request initiated by the business client can also carry the contract call address or contract identification number or contract name of the smart contract to specify the smart contract to be run.

[0051] It should be understood that in the above blockchain digital asset system, any two blockchain nodes in any blockchain network (for example, blockchain network 200 or blockchain network 300) can form a peer-to-peer (P2P) network, and the peer-to-peer network can adopt the P2P protocol, wherein the P2P protocol is an application layer protocol running on the Transmission Control Protocol (TCP) protocol. In a distributed system, any device such as a server, a terminal, etc. can join and become a blockchain node, wherein each blockchain node can include a hardware layer, an intermediate layer, an operating system layer, and an application layer.

[0052] It is understood that the embodiment of the present application can configure a blockchain node for any object (e.g., any individual user, any enterprise, any institution, etc.) that is connected to the blockchain network. Figure 1 In the business network 100 shown, business node 10a, business node 10b, business node 10c, business node 10d, ..., business node 10n can have a one-to-one correspondence with the corresponding objects that need to be connected to the blockchain network.

[0053] It can be understood that, since each entity object can correspond to a blockchain node, the embodiment of the present application can take the entity object as the above-mentioned enterprise (i.e., the aforementioned enterprise) as an example. At this time, the blockchain node associated with each enterprise can be the same blockchain node (for example, the aforementioned Figure 1 The business node 10c shown can exchange data with business terminals corresponding to multiple enterprises to realize the transfer of digital assets. For example, in the above blockchain digital asset system, the business requested by the first business object (for example, the transfer of digital assets) can be collectively referred to as a transaction business. When the above enterprise requests to transfer digital assets across the first blockchain network (for example, the above blockchain network 200), Figure 1 The business node 10c shown interacts with the blockchain node (e.g., blockchain node 20b) in the above-mentioned blockchain network 200 to request completion of the corresponding transaction, so as to realize the transfer of the digital assets to be transferred to the second blockchain network (e.g., the above-mentioned blockchain network 300).

[0054] It is understandable that when the business node associated with the first business object receives a transaction business request, the transaction business request initiated by the first business object can be forwarded to the blockchain node associated with the first blockchain network, so that the blockchain node associated with the first blockchain network can verify the legitimacy of the transaction business request initiated by the first business object. In this way, the blockchain node associated with the first blockchain network can process the transaction business when the legitimacy verification passes.

[0055] For further understanding, please refer to Figure 2 , Figure 2 It is a schematic diagram of a scenario of multi-blockchain data processing provided by an embodiment of the present application. It should be understood that in the above-mentioned blockchain digital asset system, it includes a first business chain, a second business chain, and an off-chain cross-chain service device. Among them, a full-chain business parent contract 21 (also known as a full-chain business agreement base contract) is deployed on the first business chain. The full-chain business parent contract provides a full-chain contract protocol interface. The full-chain contract protocol interface can be used to obtain the full-chain contract protocol 22 provided by the full-chain business parent contract. The full-chain contract protocol can provide a unified asset transfer rule; through the full-chain business parent contract, a target full-chain business contract 1 (23) for cross-chain asset transfer can be deployed on the first business chain. The target full-chain business contract 1 is integrated with the aforementioned full-chain contract protocol 23. In addition, the full-chain business parent contract on the first business chain can also provide a remote address setting interface 24 and a key information disclosure interface 25. The remote address setting interface is used to set Set the remote contract address corresponding to the target full-chain business contract 1. It can be understood that the remote contract address bound to the target full-chain business contract 1 can be used to indicate the full-chain business contract corresponding to the target full-chain business contract 1 on the second business chain (for the target full-chain business contract 1 on the first business chain, on the second business chain, the full-chain business contract corresponding to the target full-chain business contract 1 is the target remote full-chain business contract 1 corresponding to the target full-chain business contract 1, that is, the target full-chain business contract 2 is the target remote full-chain business contract 1 corresponding to the target full-chain business contract 1); the key information disclosure interface is used to disclose the node port information associated with the target full-chain business contract 1 on the first business chain for security verification. In addition, a full-chain service contract 26 can also be deployed on the first business chain. The full-chain service contract can include a full-chain event identifier generation protocol 27 and a full-chain identifier allocation protocol 28. The full-chain event identifier generation protocol can be used to generate a full-chain unique event identifier when generating a cross-chain asset transfer event. The full-chain identifier allocation protocol can be used to perform initialization operations such as allocation of a full-chain unique chain identifier on the blockchain. In addition, a full-chain token airdrop contract 29 can also be deployed on the first business chain to simultaneously transfer cross-chain tokens when transferring digital assets.

[0056] Correspondingly, the same full-chain business parent contract 210 (also known as the full-chain business agreement base contract) is deployed on the second business chain. The full-chain business parent contract provides a full-chain contract agreement interface, through which the full-chain contract agreement 211 provided by the full-chain business parent contract can be obtained. The full-chain contract agreement 211 can provide a unified asset transfer rule; through the full-chain business parent contract, a target full-chain business contract 2 (212) for cross-chain asset transfer can be deployed on the second business chain. The target full-chain business contract 2 integrates the aforementioned full-chain contract agreement. In addition, the full-chain business parent contract on the second business chain can also provide a remote address setting interface 213 and a key information disclosure interface 214. The remote address setting interface 213 and the key information disclosure interface 214 are provided. The interface is used to set the remote contract address corresponding to the target full-chain business contract 2. It can be understood that the remote contract address bound to the target full-chain business contract 2 can be used to indicate the full-chain business contract corresponding to the target full-chain business contract 2 on the first business chain (for the target full-chain business contract 2 on the second business chain, the full-chain business contract corresponding to the target full-chain business contract 2 on the first business chain is the target remote full-chain business contract 2 corresponding to the target full-chain business contract 2, that is, the target full-chain business contract 1 is the target remote full-chain business contract 2 corresponding to the target full-chain business contract 2); the key information disclosure interface is used to disclose the node port information associated with the target full-chain business contract 2 on the second business chain for security verification. In addition, a full-chain service contract 215 can also be deployed on the second business chain. The full-chain service contract can include a full-chain event identifier generation protocol 216 and a full-chain identifier allocation protocol 217. The full-chain event identifier generation protocol can be used to generate a full-chain unique event identifier when generating a cross-chain asset transfer event. The full-chain identifier allocation protocol can be used to perform initialization operations such as allocation of a full-chain unique chain identifier on the blockchain. In addition, a full-chain token airdrop contract 218 may be deployed on the second business chain to simultaneously transfer cross-chain tokens when transferring digital assets.

[0057] Among them, the relevant services deployed on the chain are as follows: the above-mentioned full-chain business parent contract can provide a standard and unified full-chain contract protocol interface, a method for obtaining the full-chain unique chain identifier of the business chain in multiple blockchains, a method for obtaining the full-chain unique event identifier of the event corresponding to the business transaction in multiple blockchains, etc., which can ensure the security of the cross-chain transfer of full-chain assets. Among them, the target full-chain business contract that integrates the full-chain contract protocol provided by the full-chain business parent contract can be pre-deployed on each business chain separately for executing cross-chain asset transfer transactions; the target full-chain business contract can perform the logic of chain identifier initialization, asset identifier and event identifier generation of the business chain through the off-chain full-chain cross-chain service. The full-chain token airdrop contract can provide airdrop services for basic tokens. When the full-chain assets are to be transferred across chains, it is necessary to obtain some basic tokens at the corresponding contract address of the target chain after the transfer (to facilitate the submission of business transactions to operate the full-chain assets on the target chain). The target full-chain business contract can call the full-chain token airdrop contract in the execution of the cross-chain asset transfer transaction, and the full-chain token airdrop contract pays a certain airdrop fee to complete the token airdrop after the cross-chain transfer. The full-chain business parent contract is the father contract of all target full-chain business contracts, that is, the target full-chain business contract on each business chain must integrate the full-chain asset protocol indicated by the full-chain asset protocol interface provided by the full-chain business parent contract, so that the standard logic of cross-chain transfer of full-chain assets can be realized through the target full-chain business contract. In addition, the full-chain business parent contract provides a remote address setting interface, through which the remote contract address can be bound to the target full-chain business contract on each business chain; the full-chain business parent contract provides a remote address and also sets a key information disclosure interface, through which the node port information involved in the cross-chain transfer of full-chain assets by the target full-chain business contract can be disclosed to facilitate external audit and verification.

[0058] It can be understood that a multi-blockchain network can include multiple blockchains, and the above information can be deployed on each blockchain. The target full-chain business contract on each blockchain can be bound to the contract address corresponding to the target full-chain business contract on the remaining blockchains. At this time, the digital assets on one blockchain can be circulated on each blockchain in the multi-blockchain network. For example, a multi-blockchain network includes a first blockchain, a second blockchain, and a third blockchain. The target full-chain business contract 1 is deployed on the first blockchain, the target full-chain business contract 2 is deployed on the second blockchain, and the target full-chain business contract 3 is deployed on the third blockchain. The contract address corresponding to the target full-chain business contract 2 and the contract address corresponding to the target full-chain business contract 3 can be bound to the target full-chain business contract 1 deployed on the first blockchain. At this time, the remote contract address bound to the target full-chain business contract 1 includes the contract address corresponding to the target full-chain business contract 2 and the contract address corresponding to the target full-chain business contract 3. The target full-chain business contract 2 and the target full-chain business contract 3 serve as the remote full-chain business contracts of the target full-chain business contract 1. It can be understood that when digital assets need to be transferred from the first business chain to the second business chain, the target full-chain business contract 2 serves as the target remote full-chain business contract corresponding to the target full-chain business contract 1, and the contract address corresponding to the target full-chain business contract 2 is the target remote contract address corresponding to the target full-chain business contract 1. Accordingly, the contract address corresponding to the target full-chain business contract 1 and the contract address corresponding to the target full-chain business contract 3 can be bound to the target full-chain business contract 2 deployed on the second blockchain. At this time, the remote contract address bound to the target full-chain business contract 2 includes the contract address corresponding to the target full-chain business contract 1 and the contract address corresponding to the target full-chain business contract 3, and the target full-chain business contract 1 and the target full-chain business contract 3 serve as the remote full-chain business contracts of the target full-chain business contract 2. Similarly, the contract address corresponding to the target full-chain business contract 1 and the contract address corresponding to the target full-chain business contract 2 can be bound to the target full-chain business contract 3 deployed on the third blockchain. At this time, the remote contract address bound to the target full-chain business contract 3 includes the contract address corresponding to the target full-chain business contract 1 and the contract address corresponding to the target full-chain business contract 2, and the target full-chain business contract 1 and the target full-chain business contract 2 serve as the remote full-chain business contracts of the target full-chain business contract 3.

[0059] It is understandable that Figure 2As shown, any two blockchains in the multi-blockchain network (such as the first business chain and the second business chain) interact with each other through the off-chain cross-chain service device (also known as the cross-chain relay), and the off-chain cross-chain service device can be deployed with the off-chain full-chain cross-chain service 219. The off-chain full-chain cross-chain service may include a full-chain unified registration service 220, an information management and verification service 221, and a cross-chain event verification and forwarding service 222. Among them, the full-chain unified registration service can be used to interact with the full-chain identification allocation protocol in the full-chain service contract, implement initialization operations such as the relevant chain identification allocation operation in the full-chain identification allocation protocol, and maintain the management of multiple blockchains (such as the addition, deletion, modification, and query of any blockchain in the multiple blockchains). The information management and verification service can be used to interact with the key information disclosure interface in the full-chain business parent contract to achieve continuous security verification of the node port information disclosed by the key information disclosure interface to ensure the correctness and consistency of the node port information. The cross-chain event verification and forwarding service can be used to forward events between any two blockchains (such as the first business chain and the second business chain) in a multi-blockchain network (for example, when a cross-chain asset transfer event is detected on the first blockchain node of the first business chain, a cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event is constructed and forwarded to the second blockchain node of the second business chain).

[0060] For further understanding, please refer to Figure 3 , Figure 3 : is a schematic diagram of a scenario of data processing based on multiple blockchains provided in an embodiment of the present application. In this scenario, a cross-chain transfer mechanism for digital assets is proposed, through which the full-chain assets to be transferred can be transferred from the first business chain to the second business chain. The first blockchain network for maintaining the first business chain proposed in an embodiment of the present application can be the above Figure 1 In the blockchain network 200, the first blockchain node in the first blockchain network can be the above Figure 1 Any blockchain node of the blockchain network 200 (such as blockchain node 20a in the blockchain network 200), and the second blockchain network used to maintain the second business chain can be the above Figure 1 In the blockchain network 300, the second blockchain node in the second blockchain network can be the above Figure 1Any blockchain node of the blockchain network 300 (such as the blockchain node 30a in the blockchain network 300). Among them, the cross-chain transfer process for the full-chain assets can be: the first blockchain node obtains the full-chain asset transfer request 30 sent by the first business object for the business transaction, and when the business transaction is determined to be a cross-chain asset transfer transaction 31 based on the full-chain asset transfer request, the target full-chain business contract on the first business chain is called, and the full-chain assets involved in the cross-chain asset transfer transaction are used as the full-chain assets to be transferred 32. The cross-chain asset transfer transaction indicates that the full-chain assets to be transferred are transferred from the first business chain to the second business chain. The first blockchain node can call the full-chain contract protocol integrated in the target full-chain business contract, determine the target remote contract address 33 bound to the target full-chain business contract through the cross-chain asset transfer transaction (such as the contract address corresponding to the target full-chain business contract deployed on the second business chain), and generate a cross-chain asset transfer event 34 corresponding to the cross-chain asset transfer transaction based on the target remote contract address and the full-chain assets to be transferred. When the off-chain cross-chain service device reads the cross-chain asset transfer event from the first blockchain node, it constructs a cross-chain asset reconstruction transaction 35 corresponding to the cross-chain asset transfer event, and sends the cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event to the second blockchain node in the second blockchain network. The second blockchain node can determine the target remote full-chain business contract corresponding to the target remote contract address on the second business chain based on the cross-chain asset reconstruction transaction (the target remote full-chain business contract integrates the full-chain contract protocol), and call the target remote full-chain business contract to generate a full-chain mapping asset 36 corresponding to the full-chain asset to be transferred on the second business chain. The full-chain mapping asset is consistent with the asset content and asset data information of the full-chain asset to be transferred.

[0061] It can be understood that the first business chain and the second business chain can realize the cross-chain transfer of full-chain assets based on the unified asset transfer rules specified in the full-chain contract agreement in the target full-chain business contract, and at the same time, the asset content and asset data information of the full-chain mapping assets can be kept consistent with the full-chain assets to be transferred, so that the full-chain mapping assets generated on the second business chain and the full-chain assets to be transferred on the first business chain can be regarded as the same asset, thereby realizing the full-chain circulation of full-chain assets in multiple blockchains to improve the liquidity of full-chain assets. Among them, the above-mentioned full-chain assets can be any type of on-chain assets, such as digital collections, game points in game scenarios, etc. It can be understood that if the technical solution of this application is applied to the game scenario, the full-chain assets can be game points to be exchanged. For example, the game points of game players can be circulated in the first business chain, and the exchange business for game points (such as game points exchanged for role equipment, etc.) can be deployed in the second business chain. Therefore, when game players need to perform game points exchange business, the above-mentioned technical solution can be used to realize the cross-chain transfer of the game points to be transferred to the second business chain, so that game players can perform related exchange business on the transferred game points (i.e., mapped game points) on the second business chain.

[0062] Among them, it can be understood that the first blockchain node and the second blockchain node involved in the embodiments of the present application can be the computer devices mentioned above, and the computer devices can be independent physical servers, or they can be server clusters or distributed systems composed of multiple physical servers. They can also be cloud servers that provide basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.

[0063] It should be noted that when the first blockchain node or the second blockchain node in the embodiment of the present application obtains object data (such as the object information of the business object or the full-chain assets owned) of a business object (for example, the above-mentioned personal object or enterprise object) across the chain, a prompt interface or pop-up window may be displayed. The prompt interface or pop-up window is used to prompt the business object that the object data is currently being collected. Only after the business object issues a confirmation operation on the prompt interface or pop-up window, the relevant steps of data acquisition are started, otherwise it ends.

[0064] In addition, it can be understood that in the specific implementation of the present application, object data of business objects (for example, object information of business objects or the full-chain assets owned) may be involved. When the above embodiments of the present application are applied to specific products or technologies, it is necessary to obtain the permission or consent of business objects such as business objects, and the collection, use and processing of relevant data need to comply with relevant laws and regulations and standards in relevant regions.

[0065] Among them, the specific process of realizing cross-chain circulation of full-chain assets in a multi-blockchain network can be referred to the embodiment shown below.

[0066] For further information, see Figure 4 , Figure 4 : is a flowchart of a data processing method based on multiple blockchains provided in an embodiment of the present application, such as Figure 4 As shown, the method can be executed by the first blockchain node in the first blockchain network mentioned above. For example, the first blockchain node can be the above Figure 1 Any blockchain node in the blockchain network 200 shown. The method may specifically include the following steps S101-S103:

[0067] S101. Obtain a full-chain asset transfer request sent by the first business object for a business transaction. When the business transaction is determined to be a cross-chain asset transfer transaction based on the full-chain asset transfer request, call the target full-chain business contract on the first business chain and use the full-chain assets involved in the cross-chain asset transfer transaction as the full-chain assets to be transferred.

[0068] The cross-chain asset transfer transaction is used to indicate that the full-chain assets to be transferred are transferred from the first business chain to the second business chain. The first business object is the object to which the full-chain assets to be transferred belong.

[0069] It can be understood that the first business object can initiate a cross-chain asset transfer transaction for the full-chain assets to be transferred, and the terminal where the first business object is located generates a full-chain asset transfer request based on the cross-chain asset transfer transaction, and sends the full-chain asset transfer request to the first blockchain node in the first blockchain network. When the first blockchain node determines that the business transaction indicated by the full-chain asset transfer request is a cross-chain asset transfer transaction for the full-chain assets, it executes the cross-chain asset transfer transaction to achieve the transfer of the full-chain assets to be transferred on the first business chain to the second business chain. For example, when the first business object needs to transfer a specified digital asset (such as one or more digital collections) from the first business chain to the second business chain, a cross-chain asset transfer transaction for the specified digital asset can be generated, and then a cross-chain asset transfer request corresponding to the cross-chain asset transfer transaction is generated so that the specified digital asset (that is, the full-chain asset to be transferred) is transferred from the first business chain to the second business chain. It can be understood that the full-chain assets involved in the cross-chain asset transfer transaction are the assets to be transferred indicated by the cross-chain asset transfer transaction.

[0070] Among them, it can be understood that the full-chain asset to be transferred can be a native asset determined on the first business chain, or it can be a mapped asset generated by the first blockchain node on the first business chain when other business chains are transferred to the first business chain. When the full-chain asset to be transferred is a native asset determined on the first business chain, the asset identifier of the full-chain asset to be transferred is generated by the first blockchain node. When the full-chain asset to be transferred is an asset transferred from other business chains to the first business chain, the asset identifier of the full-chain asset to be transferred is generated by the blockchain node associated with other business chains. In other words, the asset identifier of the full-chain asset to be transferred is generated by the blockchain node associated with the business chain to which the full-chain asset to be transferred is the native full-chain asset. For example, taking the asset identifier of the full-chain asset to be transferred as generated by the first blockchain node as an example, the full-chain asset to be transferred can belong to part or all of the full-chain assets determined on the first business chain for cross-chain transfer. It can be understood that the full-chain asset determined on the first business chain for cross-chain transfer here refers to the full-chain asset whose asset identifier is generated by the first blockchain node and used for cross-chain transfer.

[0071] Therefore, the process of determining the full-chain assets for cross-chain transfer on the first business chain can be, obtaining a full-chain asset determination request for the full-chain asset determination transaction, calling the target full-chain business contract on the first business chain based on the full-chain asset determination request, and determining the number of determined assets involved in the full-chain asset determination transaction as the number of assets to be determined; calling the full-chain contract protocol in the target full-chain business contract, obtaining the identification prefix associated with the first business chain, and generating the full-chain asset identification to be determined corresponding to the number of assets to be determined based on the identification prefix associated with the first business chain and the asset identification template configured in the full-chain contract protocol; the full-chain asset identification to be determined includes the identification prefix associated with the first business chain; calling the asset determination contract in the target full-chain business contract, determining the full-chain asset corresponding to the full-chain asset identification to be determined on the first business chain, and using the determined full-chain asset as the full-chain asset determined on the first business chain for cross-chain transfer. It can be understood that the full-chain asset determination transaction can be used to indicate how many full-chain assets (such as 100 digital collections) need to be determined on the first business chain. The first blockchain node needs to assign an asset identifier to each full-chain asset to be determined (such as assigning an asset identifier to each of the 100 digital collections). The asset identifier is used to uniquely identify the corresponding full-chain asset. Through the asset identifier, it can be determined which business chain the full-chain asset originally belongs to and which business chain-related blockchain node determines it. In this way, when the full-chain asset circulates on multiple blockchains, it can still be known which business chain the full-chain asset originally belongs to.

[0072] The identification prefix associated with the first business chain may be the chain identifier of the first business chain, or may be identification information generated based on the chain identifier of the first business chain. For example, the hash value obtained by performing hash calculation on the chain identifier of the first business chain is used as the identification prefix associated with the first business chain, which is not limited here. The asset identification template is used to define the identification form of the generated asset identification, such as the length of the asset identification, whether the asset identification contains uppercase and lowercase letters, etc., which are not limited here. It can be understood that in this way, the full-chain assets determined on a business chain (it should be noted that the full-chain assets here do not refer to the full-chain mapping assets generated in the cross-chain transfer scenario, but the native full-chain assets generated by the full-chain asset determination transaction submitted by the relevant business objects) can have a unique asset identifier for the entire chain, that is, the asset identifiers of the native full-chain assets determined by the target full-chain business contracts on any two business chains cannot be the same. In this way, the full-chain assets can maintain uniqueness when they are circulated on multiple blockchains, and there will be no conflict between a full-chain asset and an existing asset on another business chain when it circulates from one business chain to another, and it can be known which business chain-associated blockchain node the full-chain asset was originally determined by. It can be understood that the identification prefix of the asset identifier depends on the identification prefix provided by the business chain in which it is located. The asset identification template can be specified in the full-chain business parent contract and can be obtained through the full-chain contract agreement in the target full-chain business contract.

[0073] S102. Call the full-chain contract protocol in the target full-chain business contract to determine the target remote contract address bound to the target full-chain business contract.

[0074] Among them, the full-chain contract agreement is determined based on the full-chain contract protocol interface provided by the full-chain business parent contract on the first business chain. The target remote full-chain business contract corresponding to the target remote contract address is a full-chain business contract on the second business chain that integrates the full-chain contract protocol. It can be understood that each blockchain in the multi-blockchain can be deployed with a full-chain business parent contract and a target full-chain business contract, and the target full-chain business contract on each blockchain is integrated with the full-chain contract protocol indicated by the full-chain contract protocol interface provided by the full-chain business parent contract. The full-chain contract protocol defines processing rules related to full-chain assets (such as full-chain asset transfer rules, full-chain asset determination rules, etc.), so that each blockchain in the multi-blockchain can realize asset transfer with unified rules, thereby realizing the full-chain circulation of assets.

[0075] It can be understood that the target full-chain business contract on the first business chain is bound to the contract address of the target full-chain business contract on other business chains in multiple blockchains. That is to say, the remote contract address bound to the target full-chain business contract on the first business chain includes the contract address of the target full-chain business contract on other business chains. At this time, the target full-chain business contract on other business chains is the remote full-chain business contract corresponding to the target full-chain business contract on the first business chain. It can be understood that the target full-chain business contract on the blockchain (second business chain) of the to-be-transferred assets indicated by the cross-chain asset transfer transaction is the target remote full-chain business contract here, and the contract address of the target full-chain business contract on the blockchain (second business chain) of the to-be-transferred assets is the target remote contract address here. In addition, it should be noted that when the target full-chain business contract on one blockchain is bound to the contract address of the target full-chain business contract on another blockchain, the full-chain assets on the blockchain can be transferred to another blockchain.

[0076] Among them, the cross-chain asset transfer transaction is used to indicate that the full-chain assets to be transferred are transferred from the first business chain to the second business chain, that is, the cross-chain asset transfer transaction carries the second chain identifier of the second business chain. Therefore, calling the full-chain contract protocol in the target full-chain business contract to determine the target remote contract address bound to the target full-chain business contract can be to call the full-chain contract protocol in the target full-chain business contract to obtain the remote contract address bound to the target full-chain business contract; the remote contract address bound to the target full-chain business contract includes the contract address corresponding to the full-chain business contract integrated with the full-chain contract protocol on the reference business chain; the reference business chain is a blockchain other than the first business chain in the multi-blockchain (that is, the other business chains mentioned above); the reference business chain includes the second business chain; in the remote contract address bound to the target full-chain business contract, the remote contract address associated with the second chain identifier is determined as the target remote contract address.

[0077] S103. When a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction is generated based on the target remote contract address and the full-chain assets to be transferred, the cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event is sent to the second blockchain node in the second blockchain network through the off-chain cross-chain service device.

[0078] Among them, the first blockchain node can generate a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction based on the target remote contract address and the full-chain assets to be transferred. It can be understood that the cross-chain asset transfer event can be used to indicate the cross-chain transfer of the full-chain assets to be transferred from the target full-chain business contract on the first business chain to the target full-chain business contract indicated by the target remote contract address on the second business chain.

[0079] It can be understood that when the full-chain asset to be transferred is transferred from the first business chain to the second business chain, the full-chain asset to be transferred on the first business chain is actually locked, and the full-chain mapping asset corresponding to the full-chain asset to be transferred is determined on the second business chain. Therefore, the cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction can be generated by calling the target full-chain business contract to switch the asset state of the full-chain asset to be transferred from the first state to the second state; the second state is the asset locked state, and the first state is the asset unlocked state; when the asset state of the full-chain asset to be transferred is the second state, based on the target remote contract address and the full-chain asset to be transferred, a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction is generated. In other words, the full-chain asset to be transferred can be locked by the target full-chain business contract, and the cross-chain asset transfer event is generated when the full-chain asset to be transferred on the first business chain is locked. At this time, although the full-chain asset to be transferred is actually on the first business chain, business operations cannot be performed on the full-chain asset to be transferred on the first business chain.

[0080] In addition, when generating a cross-chain asset transfer event, the first business chain can also generate a full-chain unique event identifier (event nonce) on multiple blockchains for the cross-chain asset transfer event to facilitate event query. Therefore, generating a cross-chain asset transfer event corresponding to a cross-chain asset transfer transaction can be to obtain the first chain identifier of the first business chain; for example, obtain the first chain identifier through the full chain identifier allocation protocol in the full chain service contract; the first chain identifier is the chain identifier configured for the first business chain by the full chain unified registration service in the full chain cross-chain service under the chain; based on the first chain identifier, call the full chain event identifier generation protocol in the full chain service contract to generate an event identifier associated with the first chain identifier; based on the event identifier, the target remote contract address and the full chain asset to be transferred, generate a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction. The cross-chain asset transfer event carries the aforementioned generated event identifier. Since the chain identifiers configured for each blockchain on multiple blockchains are different, when generating an event identifier, it can be generated based on the chain identifier of the business chain in which it is located, so that the generated event identifier can be used to mark that it is generated on the aforementioned business chain. Therefore, when forwarding events, event queries on multiple blockchains can be realized. For example, relevant business objects or third parties can easily match business transactions on the source chain (such as the first business chain) and the target chain (such as the second business chain) based on the event identifier, and realize the management and maintenance of the entire life cycle of the relevant business or full-chain assets on the full chain.

[0081] It can be understood that the off-chain cross-chain service device is used to forward events between the first business chain and the second business chain. The off-chain cross-chain service device is deployed with an off-chain full-chain cross-chain service, which includes a cross-chain event verification and forwarding service. The cross-chain event verification and forwarding service can be used to implement event verification and forwarding of the cross-chain asset transfer event when the off-chain cross-chain service device reads the cross-chain asset transfer event from the first blockchain node. Among them, the event verification process can include an asset verification process and a transaction verification process.

[0082] It can be understood that the asset identifier of the full-chain asset to be transferred is carried in the cross-chain asset transfer event, and the asset identifier of the full-chain asset to be transferred is generated based on the identifier prefix associated with the first business chain and the asset identifier template configured in the full-chain contract agreement. The cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event is constructed by the off-chain cross-chain service device to verify the asset identifier of the full-chain asset to be transferred carried by the cross-chain asset transfer event based on the identifier prefix and the asset identifier template, and the identifier verification is successful.

[0083] Among them, it can be understood that the asset verification process can refer to the identification verification of the asset identification of the full-chain asset to be transferred carried by the cross-chain asset transfer event based on the identification prefix and the asset identification template. In other words, it can be verified whether the identification prefix in the asset identification of the full-chain asset to be transferred is consistent with the identification prefix associated with the first business chain, and whether the asset identification of the full-chain asset to be transferred matches the asset identification template, so as to realize the identification verification of the asset identification of the full-chain asset to be transferred. It can be understood that when the off-chain cross-chain service device determines that the identification prefix in the asset identification of the full-chain asset to be transferred is consistent with the identification prefix associated with the first business chain, and the asset identification of the full-chain asset to be transferred matches the asset identification template, it is determined that the identification verification is successful.

[0084] In addition, the off-chain cross-chain service device can be used to isolate the first business chain network and the second business chain network. The first blockchain node generates a cross-chain asset transfer event by signing the cross-chain asset transfer transaction through the private key information negotiated with the off-chain cross-chain service device, and using the cross-chain asset transfer transaction after the transaction signature as the event signature information, and generating a cross-chain asset transfer event based on the event signature information and the cross-chain asset transfer transaction. The cross-chain asset transfer event read by the off-chain cross-chain service device from the first blockchain node may include event signature information and cross-chain asset transfer transactions. Therefore, the transaction verification process may be to perform signature verification on the event signature information in the cross-chain asset transfer event through the public key information corresponding to the private key information of the first business chain, and obtain the transaction parameters to be verified corresponding to the event signature information after the signature verification is successful, and perform transaction comparison on the cross-chain asset transfer transaction and the transaction parameters to be verified carried in the cross-chain asset transfer event to obtain the transaction comparison result to determine the transaction verification result. Among them, it can be understood that if the cross-chain asset transfer transaction carried in the cross-chain asset transfer event and the transaction parameters to be verified are the same, the transaction comparison result indicates that the transaction verification is successful; if the cross-chain asset transfer transaction carried in the cross-chain asset transfer event and the transaction parameters to be verified are different, the transaction comparison result indicates that the transaction verification is unsuccessful. It can be understood that the cross-chain service device under the chain will reconstruct the cross-chain asset corresponding to the cross-chain asset transfer event only when it determines that the identification verification is successful and the transaction verification is successful. The cross-chain asset reconstruction transaction is used to indicate that the full-chain assets to be transferred are transferred from the first business chain to the second business chain.

[0085] In addition, the off-chain cross-chain service device may verify and forward the cross-chain asset transfer event through the cross-chain event verification and forwarding service every time a cross-chain asset transfer event is read, or the off-chain cross-chain service device may verify and forward the target cross-chain asset transfer event that occurs within the target period through the cross-chain event verification and forwarding service when reading a target cross-chain asset transfer event that occurs within the target period. In other words, the cross-chain asset transfer event associated with the target full-chain business contract generated within the target period can be read by the off-chain cross-chain service device; the off-chain cross-chain service device is used to perform event verification on the cross-chain asset transfer event through the cross-chain event verification and forwarding service in the off-chain full-chain cross-chain service when reading a cross-chain asset transfer event associated with the target full-chain business contract, and forward the cross-chain asset transfer event after the event verification with the cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event. That is, the off-chain cross-chain service device generates a cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event, and sends the cross-chain asset reconstruction transaction to the second blockchain node. Among them, a cycle can be one hour, two hours, etc., and there is no limitation on the length of the cycle.

[0086] It can be understood that after the first business object transfers the full-chain assets to be transferred from the first business chain to the second business chain across the chain, if it wants to use the full-chain assets to be transferred (i.e., full-chain mapped assets) on the second business chain, it is necessary to transfer the additional native fuel (also known as the basic token) to the second business chain. At this time, the full-chain token airdrop contract on the first business chain can be used to realize that when the cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction is generated, the full-chain token to be airdropped is carried in the cross-chain asset transfer event.

[0087] Therefore, before generating a cross-chain asset transfer event corresponding to a cross-chain asset transfer transaction, the first blockchain node can call the full-chain token airdrop contract on the first business chain through the target full-chain business contract to obtain the first business chain token (i.e., the source chain token) associated with the full-chain asset to be transferred, and use the obtained first business chain token as the full-chain token to be airdropped. In this way, when the first blockchain node generates a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction, the full-chain token to be airdropped is written into the cross-chain asset transfer event. It can be understood that through the full-chain token airdrop contract, the first blockchain node does not need additional steps to realize the transfer of the basic token, but directly uses the full-chain token to be airdropped as the airdrop fee and completes the process of cross-chain transfer of the full-chain assets at the same time, thereby realizing the cross-chain operation on the source chain (first business chain) side when the full-chain assets are transferred across chains.

[0088] Among them, the off-chain cross-chain service device can send the cross-chain asset reconstruction transaction generated based on the cross-chain asset transfer event to the second blockchain node in the second blockchain network, so that the second blockchain node determines the target remote full-chain business contract corresponding to the target remote contract address on the second business chain based on the cross-chain asset reconstruction transaction, and calls the target remote full-chain business contract to generate the full-chain mapping asset corresponding to the full-chain asset to be transferred on the second business chain; the asset data information of the full-chain mapping asset is consistent with the asset data information of the full-chain resource to be transferred. At the same time, the second blockchain node can determine the second business chain airdrop token corresponding to the full-chain token to be airdropped carried by the cross-chain asset reconstruction transaction through the full-chain token airdrop contract, and use the second business chain airdrop token as the full-chain token of the full-chain mapping asset on the second business chain. The relevant operations of the second blockchain node can refer to the relevant description of the following embodiment.

[0089] It can be understood that the assets circulating on the first business chain can be transferred across the chain to the second business chain (i.e., inter-chain transfer), and can be transferred within the first business chain (i.e., intra-chain transfer, such as business transactions such as transfers). In other words, the first business chain includes assets that need to be circulated across the chain and assets that circulate within the chain. Assets transferred from the first business chain to the second business chain across the chain can be circulated on the second business chain, that is, the assets circulating within the second business chain can include native assets determined by the second business chain itself and can also include assets transferred by the first business chain (it can be understood that the essence is also determined by the second business chain, but the determined assets are full-chain mapped assets, and the asset data information is the asset data information related to the first business chain, and the asset data information of the native assets determined on the second business chain is the asset data information related to the second business chain). It can be understood that under the needs of specific business scenarios, assets on the second business chain can also be transferred across the chain to the first business chain to circulate on the first business chain. The process and principle of cross-chain asset transfer on the second business chain are the same as those on the first business chain. Please refer to the relevant description of cross-chain transfer of full-chain assets on the first business chain above, which will not be repeated here.

[0090] For example, the assets on the first business chain include the full-chain assets to be transferred (P11) for cross-chain transfer and the assets (P12) circulated within the first business chain. Here, P12 is regarded as the native asset determined by the first business chain. It can be understood that the asset data information of P12 is associated with the first business chain, and accordingly, the asset data information of P11 is associated with the first business chain; the assets on the second business chain include the full-chain mapped assets (P11') determined for P11 to circulate on the second business chain and the assets (P21) circulated within the second business chain; here, P21 is regarded as the native asset determined by the second business chain. It can be understood that the asset data information of P21 is associated with the second business chain, and the asset data information of P11' and P11 are consistent, that is, the asset data information of P11' is associated with the first business chain, and P11' and P11 can be regarded as the same asset with the same asset content and the same asset data information. It can be understood that the assets on the second business chain can also include full-chain assets to be transferred (P22) for cross-chain transfer, and the asset data information of P22 is associated with the second business chain; at this time, the assets on the first business chain can also include full-chain mapping assets (P22') determined for P22 for circulation on the first business chain. At this time, the asset data information of P22' and P22 remains consistent, that is, the asset data information of P22' is associated with the second business chain, and P22' and P22 can be regarded as the same asset with the same asset content and the same asset data information.

[0091] For example, Figure 5 As shown, Figure 5 is a schematic diagram of a cross-chain asset transfer scenario provided by an embodiment of the present application; wherein, S51, a first business object sends a full-chain asset transfer request for a cross-chain asset transfer transaction through a client; S52, a first blockchain node (such as Figure 2 The first blockchain node shown in the figure calls the target full-chain business contract on the first business chain to take the full-chain assets involved in the cross-chain asset transfer transaction as the full-chain assets to be transferred, calls the full-chain contract protocol in the target full-chain business contract, and determines the target remote contract address bound to the target full-chain business contract; S53, the first blockchain node calls the full-chain identifier allocation protocol in the full-chain service contract through the target full-chain business contract to obtain the first chain identifier of the first business chain; S54, the first blockchain node calls the full-chain event identifier generation protocol in the full-chain service contract based on the first chain identifier to generate an event identifier associated with the first chain identifier; S55, the first blockchain node calls the full-chain token airdrop contract on the first business chain through the target full-chain business contract to obtain the first business chain token associated with the full-chain assets to be transferred as the full-chain token to be airdropped; S56, the first blockchain node generates a cross-chain asset transfer event based on the event identifier, the target remote contract address, the full-chain assets to be transferred, and the full-chain token to be airdropped; S57, the off-chain cross-chain service device (such as Figure 2 When the off-chain cross-chain service device (shown) reads a cross-chain asset transfer event from the first blockchain node, it verifies the cross-chain asset transfer event through the cross-chain event verification and forwarding service in the deployed off-chain full-chain cross-chain service, and generates a cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event after the event verification passes; S58, the off-chain cross-chain service device forwards the cross-chain asset reconstruction transaction to the second blockchain node to implement event forwarding of the cross-chain asset transfer event. It can be understood that the off-chain cross-chain service device can send the cross-chain asset reconstruction transaction to the second blockchain node in the second blockchain network (such as Figure 2 The second blockchain node shown); S59, the second blockchain node determines the target remote full-chain business contract corresponding to the target remote contract address on the second business chain based on the cross-chain asset reconstruction transaction, and calls the target remote full-chain business contract to generate a full-chain mapping asset corresponding to the full-chain asset to be transferred on the second business chain; S510, the second blockchain node calls the full-chain token airdrop contract through the target remote full-chain business contract to determine the second business chain airdrop token corresponding to the full-chain token to be airdropped carried by the cross-chain asset reconstruction transaction.

[0092] It can be understood that since the asset data information (such as asset identification and other information) of the full-chain mapped assets is consistent with the asset data information of the full-chain resources to be transferred, the full-chain mapped assets and the full-chain assets to be transferred can be regarded as the same assets, and thus can be regarded as the full-chain assets to be transferred circulated to the second business chain, realizing the full-chain circulation of digital assets. Since a full-chain asset can be circulated to any blockchain in multiple blockchains, such as circulating the full-chain assets to be transferred from the first business chain to the second business chain, and then circulated from the second business chain to the third business chain in multiple blockchains, etc., at this time, the full-chain assets to be transferred circulated to the third business chain can still be understood as native assets on the first business chain.

[0093] In an embodiment of the present application, the multi-blockchain may include a first business chain and a second business chain, and the cross-chain asset transfer transaction corresponding to the full-chain asset transfer request is used to indicate that the full-chain assets to be transferred (such as digital assets, specifically digital collections) are transferred from the first business chain to the second business chain; this solution can realize the cross-chain transfer of the full-chain assets to be transferred by deploying a full-chain business contract integrated with the same full-chain contract protocol on the first business chain and the second business chain; it can be understood that a target full-chain business contract for executing a cross-chain asset transfer transaction is deployed on the first business chain, and the full-chain business contract corresponding to the target full-chain business contract on the second business chain is a target remote full-chain business contract, and the target full-chain business contract and the target remote full-chain business contract are integrated with the same full-chain contract protocol, that is, the target full-chain business contract and the target remote full-chain business contract are integrated with the same asset transfer method (such as asset transfer related methods, asset determination related methods), that is, the asset determination rule on the first business chain is the same as The asset determination rules on the second business chain are the same. Therefore, the first blockchain node can call the full-chain contract protocol in the target full-chain business contract to generate a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction to realize the cross-chain transfer of the full-chain assets to be transferred. The second blockchain node can call the full-chain contract protocol in the target remote full-chain business contract based on the cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event to determine the assets of the full-chain assets to be transferred. Since the first blockchain node and the second blockchain node use the asset transfer method uniformly specified in the same full-chain contract protocol to realize the transfer and determination of digital assets, the asset data information of the full-chain mapped assets determined by the second blockchain node can be consistent with the asset data information of the full-chain assets to be transferred. At this time, the full-chain assets to be transferred in the first business chain and the mapped assets on the second business chain can be regarded as the same asset, thereby ensuring the full-chain liquidity of the same digital asset between different blockchains, thereby improving the liquidity of digital assets in multiple blockchains.

[0094] For further information, see Figure 6 , Figure 6: is a flowchart of a data processing method based on multiple blockchains provided in an embodiment of the present application, such as Figure 6 As shown, the method can be executed by the first blockchain node in the first blockchain network mentioned above. For example, the first blockchain node can be the above Figure 1 Any blockchain node in the blockchain network 200 shown. The method may specifically include the following steps S201-S203:

[0095] S201. Obtain a contract lock request sent by a second business object for a target remote full-chain business contract deployed on a second business chain.

[0096] In certain scenarios, there are contract updates (or upgrades). At this time, in order to ensure that the full-chain assets will not be lost, the target full-chain business contract can be locked through the remote contract address locking mechanism to suspend the cross-chain transfer of full-chain assets. The remote contract address locking mechanism is used to lock the specified remote contract address on another business chain in the target full-chain business contract on one business chain. The contract update process on each business chain is the same. Here, the execution process of this scenario is described by taking the contract update on the second business chain as an example, and taking the first business chain and the second business chain in the multi-blockchain as an example. That is to say, when the contract status of the target remote full-chain business contract on the second business chain is in the contract update state, steps S201-S203 in the embodiment of the present application can be executed.

[0097] Among them, the second business object is the business object corresponding to the target remote full-chain business contract on the second business chain. The contract lock request is generated by the second business object after the contract address corresponding to the target full-chain business contract is remotely locked in the target remote full-chain business contract deployed on the second business chain. It can be understood that the second business object can be the contract owner corresponding to the target remote full-chain business contract on the second business chain. When the second business object updates the contract of the target remote full-chain business contract on the second business chain, it will first perform remote address locking in the target remote full-chain business contract on the second business chain, and after the remote address locking is completed in the target remote full-chain business contract on the second business chain (for example, by calling the full-chain contract protocol in the target remote full-chain business contract to perform remote address locking), the remote address locking can be performed in the target full-chain business contract on the first business chain, that is, the second blockchain node generates a contract lock request and sends the contract lock request to the first blockchain node. The process of performing remote address locking in the target remote full-chain business contract on the second business chain can refer to the relevant description of the following embodiment.

[0098] S202. Obtain the target remote contract address corresponding to the target remote full-chain business contract to be locked on the second business chain from the contract locking request.

[0099] Among them, the contract locking request may carry the chain identifier of the second business chain and the target remote contract address corresponding to the target remote full-chain business contract on the second business chain, indicating that it is necessary to perform contract locking on the target remote full-chain business contract on the second business chain in the target full-chain business contract of the first business chain, that is, to perform address locking on the target remote contract address corresponding to the target remote full-chain business contract on the second business chain.

[0100] S203. Through the remote contract address locking mechanism associated with the target full-chain business contract, a remote contract address locking method for remotely locking the target remote contract address is determined in the target full-chain business contract, and the remote contract address locking method is called to remotely lock the target remote contract address corresponding to the target remote full-chain business contract, and the address state of the target remote contract address after the remote address is locked is configured as an address locked state in the target full-chain business contract.

[0101] Among them, the target remote contract address in the address lock state is used to suspend receiving the full-chain assets sent by the first business object through the target full-chain business contract for cross-chain transfer. In other words, at this time, the full-chain assets on the first business chain cannot be transferred to the target remote full-chain business contract on the second business chain through the target full-chain business contract, that is, the contract is locked. In this way, the full-chain assets on the first business chain will not be lost.

[0102] Optionally, the first blockchain node can generate contract lock completion information corresponding to the contract lock request after the remote address is locked, and return the contract lock completion information to the second blockchain node, so that the second business object determines that the target full-chain business contract in the first blockchain has executed the remote address lock.

[0103] Among them, the remote contract address locking mechanism can be implemented by introducing a contract address locking function (for example, pauseMove(chainID)). It should be understood that in the contract address locking function, the chainID is the chain identifier of the business chain to be locked, that is, the chainID here can refer to the chain identifier of the second business chain. The contract address locking function represents the remote contract address locking method. By executing the contract address locking function, the target remote contract address associated with the chain identifier indicated by chainID can be remotely locked, and the address state of the target remote contract address after the remote address is locked can be configured as an address locked state, which means that the business object on the first business chain cannot transfer the entire chain assets to the second business chain. It can be understood that by executing the contract address locking function indicated by the remote contract address locking method, it means that the contract locking of the target remote business contract on the second business chain is performed in the target full-chain business contract on the first business chain, or it can be described as performing chain locking of the second business chain in the target full-chain business contract on the first business chain, or it can be described as performing address locking of the target remote contract address corresponding to the target remote business contract on the second business chain in the target full-chain business contract on the first business chain. At the same time, by executing the contract address locking function indicated by the remote contract address locking method, the address state of the target remote contract address will also be set to the address locked state.

[0104] It can be understood that by performing an address lock operation in the target full-chain business contract on the first business chain, it is possible to prevent the full-chain assets on the first business chain from being transferred to the second business chain, and by performing an address lock operation in the target remote full-chain business contract on the second business chain, it is possible to suspend the reception of the full-chain assets on the first business chain being transferred to the second business chain. At this time, the target remote full-chain business contract can be securely updated on the second business chain.

[0105] Optionally, when the contract status of the target remote full-chain business contract is adjusted from the contract update status to the contract update completion status, the target remote full-chain business contract in the contract update completion status is the updated target remote full-chain business contract, that is, the new target full-chain business contract on the second business. At the same time, the contract address of the updated target remote full-chain business contract is the updated target remote contract address, that is, the contract address of the new target full-chain business contract on the second business. It can be understood that the remote address locking of the target contract address is required for both the target remote full-chain business contract before the update and the target remote full-chain business contract after the update on the second business chain. In other words, the target contract address is in an address locked state in both the target remote full-chain business contract before the update and the target remote full-chain business contract after the update.

[0106] It can be understood that when the contract update of the target remote full-chain business contract deployed on the second business chain is completed, it is necessary to set the contract address of the updated target remote full-chain business contract as the remote contract address in the target full-chain business contract on the first business chain, and set the contract address of the target full-chain business contract on the first business chain as the remote contract address in the target full-chain business contract on the second business chain, that is, to bind the contract addresses to each other in the aforementioned two full-chain business contracts. That is to say, after the target remote full-chain business contract on the second business chain is updated, the first blockchain node obtains the first contract binding request sent by the second business object for the updated target remote full-chain business contract deployed on the second business chain; the first contract binding request is generated by the second business object after remote address binding of the target contract address in the updated target remote full-chain business contract deployed on the second business chain; the updated target remote contract address corresponding to the updated target remote full-chain business contract to be bound on the second business chain is obtained from the first contract binding request; the remote address setting interface is called through the full-chain contract protocol in the target full-chain business contract, and the updated target remote contract address is set in the remote contract address bound to the target full-chain business contract, so as to realize the binding of the target remote full-chain business contract on the second business chain (at this time, the new target remote full-chain business contract) in the target full-chain business contract of the first business chain. It can be understood that for step S102 in the above embodiment, the target remote contract address bound to the target full-chain business contract can be the contract address of the target remote full-chain business contract on the second business chain that has not been updated, or it can be the contract address of the new target remote full-chain business contract on the second business chain after the contract update is completed.

[0107] Optionally, the first blockchain node can generate contract binding completion information corresponding to the first contract binding request after the remote address binding, and return the contract binding completion information to the second blockchain node, so that the second business object determines that the target full-chain business contract in the first blockchain has executed the remote address binding.

[0108] Among them, it can be understood that since the address of the target remote contract address (i.e., the contract address of the old target remote full-chain business contract) was locked before, the full-chain assets on the first business chain cannot be transferred to the second business chain. It can be understood that the contract address of the updated target remote full-chain business contract on the second business chain is also locked at this time, so the address needs to be unlocked here to restore the asset circulation between the first business chain and the second business chain. In other words, obtain the first contract unlock request sent by the second business object for the updated target remote full-chain business contract deployed on the second business chain; the first contract unlock request is generated by the second business object after the target contract address is remotely unlocked in the updated target remote full-chain business contract deployed on the second business chain, that is, in the updated target remote full-chain business contract on the second business chain, the target full-chain business contract on the first business chain will also be unlocked; obtain the updated target remote contract address corresponding to the updated target remote full-chain business contract to be unlocked on the second business chain from the first contract unlock request, and the first contract unlock request can also carry the chain identifier of the second business chain; through the remote contract address associated with the target full-chain business contract. Unlocking mechanism (the remote contract address unlocking mechanism is used to unlock the specified remote contract address on another business chain in the target full-chain business contract on one business chain), determine the remote contract address unlocking method for remotely unlocking the updated target remote contract address in the target full-chain business contract, call the remote contract address unlocking method to remotely unlock the updated target remote contract address corresponding to the updated target remote full-chain business contract, and configure the address state of the updated target remote contract address after the remote address is unlocked to the address unlocked state in the target full-chain business contract; the updated target remote contract address in the address unlocked state is used to restart receiving the full-chain assets sent by the first business object through the target full-chain business contract for cross-chain transfer.

[0109] Among them, the remote contract address unlocking mechanism can be implemented by introducing a contract address unlocking function (for example, unpauseMove(chainID)). Among them, in the contract address unlocking function, the chainID can be the chain identifier of the business chain locked by the contract address unlocking function, that is, the chainID here can refer to the chain identifier of the second business chain. The contract address unlocking function can specifically be a method for unlocking the remote contract address of the target remote contract contained in the current business contract. By executing the contract address unlocking function, the target remote contract address associated with the chain identifier indicated by chainID can be remotely unlocked, and the address state of the target remote contract address after the remote address is unlocked can be configured to be an address unlocked state, which means that at this time, the business object on the first business chain can transfer the entire chain assets to the second business chain again. It can be understood that by executing the contract address unlocking function indicated by the remote contract address unlocking method, it means that the contract unlocking of the updated target remote business contract on the second business chain is performed in the target full-chain business contract on the first business chain, or it can be described as performing the chain unlocking of the second business chain in the target full-chain business contract on the first business chain, or it can be described as performing the address unlocking of the updated target remote contract address corresponding to the updated target remote business contract on the second business chain in the target full-chain business contract on the first business chain, and at the same time, by executing the contract address unlocking function indicated by the remote contract address unlocking method, the address state of the updated target remote contract address will also be set to the address unlocked state. Among them, remote address unlocking of the updated target remote contract address corresponding to the updated target remote full-chain business contract can refer to deleting the target remote contract address after the remote address is locked in the target full-chain business contract, and adding the target remote contract address to the target full-chain business contract.

[0110] Optionally, the first blockchain node can generate contract unlocking completion information corresponding to the first contract unlocking request after the remote address is unlocked, and return the contract unlocking completion information to the second blockchain node, so that the second business object determines that the target full-chain business contract in the first blockchain has executed the remote address unlocking.

[0111] It can be understood that by performing the address unlocking operation in the target full-chain business contract on the first business chain, the full-chain assets on the first business chain can be transferred to the second business chain again, and by performing the address unlocking operation in the updated target remote full-chain business contract on the second business chain, the full-chain assets on the first business chain can be transferred to the second business chain again. At this time, all update processes of the target remote full-chain business contract can be completed on the second business chain, and the target remote full-chain business contract on the second business chain is successfully replaced by the updated target remote full-chain business contract.

[0112] For example, Figure 7 As shown, Figure 7 : This is a scenario diagram of a contract update provided by an embodiment of the present application; wherein the chain identifier of the first business chain is A, the chain identifier of the second business chain is B, the contract address of the target full-chain business contract deployed on the first business chain is the target contract address, and the contract address of the target remote full-chain business contract deployed on the second business chain is the target remote contract address; S71. When it is necessary to update the contract of the target remote full-chain business contract on the second business chain, first, the second blockchain node shall execute pauseMove(A) in the target remote full-chain business contract of the second business chain to remotely lock the target contract address in the target remote full-chain business contract of the second business chain; S72. The second blockchain node may generate a contract lock request and send it to the first blockchain node; S73. The second blockchain node may generate a contract lock request and send it to the first blockchain node; S74. A blockchain node executes pauseMove(B) in the target remote full-chain business contract of the first business chain to remotely lock the target remote contract address in the target full-chain business contract of the first business chain; S74, the contract update of the target remote full-chain business contract on the second business chain of the second blockchain node is completed, and the updated target remote full-chain business contract is obtained. It is necessary to execute pauseMove(A) in the updated target remote full-chain business contract on the second business chain to remotely lock the target contract address in the updated target remote full-chain business contract on the second business chain, so that assets cannot be circulated through the target full-chain business on the first business chain and the updated target remote full-chain business contract on the second business chain.

[0113] At this time, S75, the second blockchain node performs remote contract address binding in the updated target remote full-chain business contract on the second business chain, that is, the target contract address of the target full-chain business contract on the first business chain is set to the remote contract address in the updated target remote full-chain business contract; S76, the second blockchain node can generate a first contract binding request and send it to the first blockchain node; S77, the first blockchain node performs remote contract address binding in the target full-chain business contract on the first business chain based on the first contract binding request, that is, the updated target remote contract address corresponding to the updated target full-chain business contract on the second business chain is set to the remote contract address in the target full-chain business contract.

[0114] It can be understood that, S78, at this time, the updated target remote full-chain business contract and the target full-chain business contract need to be contract unlocked. That is, the second blockchain node must execute unpauseMove(A) in the updated target remote full-chain business contract on the second business chain to remotely lock the updated target contract address in the updated target remote full-chain business contract of the second business chain; S79, the second blockchain node can generate a first contract unlock request and send it to the first blockchain node; S710, the first blockchain node executes unpauseMove(B) in the target remote full-chain business contract of the first business chain to remotely unlock the updated target remote contract address in the target full-chain business contract of the first business chain, so that assets can be circulated again through the target full-chain business on the first business chain and the updated target remote full-chain business contract on the second business chain.

[0115] That is to say, the remote contract address locking mechanism can be used to automatically suspend asset circulation during the contract update process, ensuring business consistency and asset security of the full-chain business contract during the setting process. At the same time, after the remote contract address, assets cannot be circulated between the first business chain and the second business chain, and the execution order of related operations on the first business chain and the second business chain can be unrestricted, and the assets on either business chain will not be lost if the characteristic execution order is not followed. For example, in the above description process, the binding of the remote contract address is completed in the target full-chain business contract on the first business chain after the updated target remote full-chain business contract on the second business chain completes the binding of the remote contract address. Optionally, the binding of the remote contract address can also be completed in the target full-chain business contract on the first business chain before the binding of the remote contract address is completed in the updated target remote full-chain business contract on the second business chain. This is not limited here.

[0116] Among them, it can be understood that the concept of remote contract address is: set the target full-chain business contract on business chain A (such as contract a), and the same type of target full-chain business contract on device business chain B (such as contract b), and contract b is the remote business contract of contract a on business chain B. That is, they can manage the same type of full-chain assets. Therefore, the remote business contract must be set up first, so that the target full-chain business contract on business chain A can clearly correspond to the target full-chain business contract on business chain B that manages the same type of full-chain assets, so that the cross-chain circulation of full-chain assets can be started. If the contract owner wants to update contract a on business chain A to contract c, in such a scenario, the full-chain flow of full-chain assets in the target full-chain business contract can be locked through the remote contract address locking mechanism, and then the contract can be updated, so as to protect the data consistency and security capabilities.

[0117] For example, a pauseMove function is introduced, which accepts a chain identifier parameter chainId. The pauseMove function can be used to lock the business chain indicated by chainId. For example, if pauseMove(B) is executed in the target full-chain business contract of business chain A, it means that the business object on business chain A cannot send full-chain assets to business chain B temporarily. With this design, the contract owner can handle the problem of updating the business contract in use. Specifically, the contract owner can call pauseMove(A) in the target full-chain business contract of business chain B, so that the business object on business chain B cannot send full-chain assets to business chain A, while the business object on business chain A can continue to send full-chain assets to business chain B. In other words, at this time, contract b can still correctly receive full-chain assets from contract a. Then the contract owner calls pauseMove(B) on contract a of business chain A, so that the business object on business chain A cannot send full-chain assets to business chain B. Similarly, after contract a on business chain A is updated to contract c, pauseMove(B) needs to be called on contract c of business chain A. At this time, the contract owner can set the remote contract address on contract b and contract c in any order. After confirming that the remote contract address settings on contract c on business chain A and contract b on business chain B are complete, the contract owner can call unPauseMove(B) in contract c on business chain A to unlock the address, and call unPauseMove(A) in contract b on business chain B to unlock the address, so that the business object on business chain A can continue to send full-chain assets to business chain B. It can be understood that this design is also applicable to other scenarios. For example, when a full-chain asset that is deployed on business chain A and is already in use wants to be deployed on business chain B, the contract owner must first set the remote contract address corresponding to business chain A on business chain B, otherwise the full-chain asset cannot be transferred. At this point, the contract owner can first call pauseMove(B) in the business contract of business chain A and call pauseMove(A) in the business contract of business chain B through the remote contract address locking mechanism, and then set the contract address of the other contract as the remote contract address on the business contract of business chain A or the business contract of business chain B without worrying about the impact of the remote address setting order.

[0118] It is understandable that when the multi-blockchain includes the first business chain, the second business chain and the third business chain, the contract update process on the second business chain is the same as above. That is to say, when the second business chain updates the contract, the interaction process between the second business chain and the first business chain will also be performed between the second business chain and the third business chain. I will not elaborate on this.

[0119] In some embodiments, security verification can also be performed through the information management and verification service in the off-chain full-chain cross-chain service. For example, when it is determined that the remote contract address bound to the target full-chain business contract is updated, the updated target remote contract address in the remote contract address bound to the target full-chain business contract is used as the updated remote contract address; the key information disclosure interface is called through the full-chain contract protocol in the target full-chain business contract to obtain the node port information associated with the updated remote contract address; the node port information associated with the updated remote contract address is securely verified through the information management and verification service in the off-chain full-chain cross-chain service. In other words, every time a change is detected in the remote contract address bound to the target full-chain business contract on a business chain, the relevant information of the changed remote contract address (such as the port address, contract address, etc. associated with the updated remote contract address) can be disclosed through the key information disclosure interface, so as to facilitate security verification of the relevant information of the changed remote contract address. As a result, any business object and third party can detect whether the node port information comes from the tax chain official, or whether the contract address is set correctly, etc. Therefore, third parties can easily implement checking mechanisms for the contract correctness of the entire chain and multi-chain binding relationships to protect business objects from potential financial losses.

[0120] That is to say, this application provides a cross-chain mechanism for full-chain assets (cross-chain protocol for full-chain assets), which can help business parties quickly start deploying assets that can be managed and circulated on multiple blockchains at the same time. And the cross-chain mechanism of the full-chain assets provides the deployment of the target full-chain business contract, the standardized interface for business operations such as the determination and transfer of full-chain assets, and provides the logical consistency, usage security and continuity of full-chain assets between multiple chains of full-chain asset management. In addition, the full-chain business transaction query can be realized through the full-chain unique event identifier, and the convenience of the business service of the full-chain assets is improved through the token airdrop support of the full-chain token airdrop contract. In addition, through the remote contract address locking mechanism, the node port information disclosure mechanism and other features, the business service of the full-chain assets is provided with higher security. At the same time, it can realize the interoperability and composability of the cross-chain of the full-chain assets, while unlocking new design areas and possibilities of the encrypted network, and reducing the cross-chain cost of the full-chain assets. That is to say, in a business scenario consisting of multiple chains, a full-chain asset cross-chain protocol that is compatible with multiple chains is provided, allowing business contracts to be accessed in the form of a "full-chain contract", that is, the target full-chain business contract deployed on each business chain is integrated with the same full-chain contract protocol, providing standard contract protocols and cross-chain services to realize the full-chain distribution and circulation of full-chain assets.

[0121] In an embodiment of the present application, a remote contract address locking mechanism is proposed, which can lock the remote contract address when the contract is updated, preventing asset losses caused by full-chain asset circulation when the contract in use is updated, thereby ensuring the security of assets on the chain.

[0122] For further information, see Figure 8 , Figure 8 : is a flowchart of a data processing method based on multiple blockchains provided in an embodiment of the present application, such as Figure 8 As shown, the method can be executed by the second blockchain node in the second blockchain network mentioned above. For example, the second blockchain node can be the above Figure 1 Any blockchain node in the blockchain network 300 shown. The method may specifically include the following steps S301-S302:

[0123] S301. Obtain a cross-chain asset reconstruction transaction corresponding to a cross-chain asset transfer event sent by a first blockchain node in a first blockchain network through an off-chain cross-chain service device.

[0124] Among them, the cross-chain asset transfer event is an event corresponding to the cross-chain asset transfer transaction generated by the first blockchain node based on the target remote contract address bound to the target full-chain business contract and the full-chain assets to be transferred; the target remote contract address is obtained by the first blockchain node through the full-chain contract protocol in the target full-chain business contract; the full-chain assets to be transferred are the full-chain assets involved in the cross-chain asset transfer transaction determined by calling the target full-chain business contract when the first blockchain node obtains the full-chain asset transfer request sent by the first business object for the business transaction, and determines that the business transaction is a cross-chain asset transfer transaction based on the full-chain asset transfer request; the target full-chain business contract is a full-chain business contract integrated with the full-chain contract protocol on the first business chain; the remote full-chain business contract corresponding to the target remote contract address is a full-chain business contract integrated with the full-chain contract protocol on the second business chain.

[0125] S302. Determine the target remote full-chain business contract corresponding to the target remote contract address on the second business chain based on the cross-chain asset reconstruction transaction, and call the target remote full-chain business contract to generate a full-chain mapping asset corresponding to the full-chain asset to be transferred on the second business chain.

[0126] Among them, the asset data information of the full-chain mapping asset is consistent with the asset data information of the target full-chain asset, and the asset content is consistent with the asset content of the target full-chain asset.

[0127] It can be understood that calling the target remote full-chain business contract to generate the full-chain mapping asset corresponding to the full-chain asset to be transferred on the second business chain can be: calling the target remote full-chain business contract, performing transaction verification on the cross-chain asset reconstruction transaction, and obtaining the transaction verification result; when the transaction verification result indicates that the transaction verification is successful, determining the determined asset with the same asset content and the same asset data information as the full-chain asset to be transferred on the second business chain, and using the determined asset as the full-chain mapping asset. At this time, the full-chain asset can be transferred from the first business chain to the second business chain, that is, the full-chain circulation of the full-chain asset.

[0128] Among them, the cross-chain asset reconstruction transaction is the transaction in the cross-chain transaction request sent by the off-chain cross-chain service device; the cross-chain transaction request carries the transaction signature information obtained by the off-chain cross-chain service device signing the cross-chain asset reconstruction transaction through the private key information; the target remote full-chain business contract is called to verify the cross-chain asset reconstruction transaction, and the transaction verification result can be: the cross-chain asset reconstruction transaction obtained from the cross-chain transaction request is used as the transaction to be compared; the target remote full-chain business contract is called to obtain the public key information corresponding to the private key information of the off-chain cross-chain service device, and the transaction signature information is verified according to the public key information. When the signature verification is successful, the cross-chain asset reconstruction transaction corresponding to the transaction signature information is used as the transaction to be matched; the transaction to be compared and the transaction to be matched are compared to obtain the transaction comparison result, and the transaction comparison result is used as the transaction verification result.

[0129] Among them, the cross-chain asset reconstruction transaction carries the full-chain token to be airdropped; the full-chain token to be airdropped is the first business chain token obtained by the first blockchain node through the full-chain token airdrop contract on the first business chain for the full-chain assets to be transferred. Therefore, when calling the target remote full-chain business contract to generate the full-chain mapping assets corresponding to the full-chain assets to be transferred on the second business chain, the second blockchain node can also call the full-chain token airdrop contract on the second business chain through the target remote full-chain business contract to determine the second business chain airdrop token corresponding to the full-chain token to be airdropped, and assign the second business chain airdrop token to the business object corresponding to the full-chain mapping asset, which can be the first business object or other objects; the second business chain airdrop token is used to support the business object corresponding to the full-chain mapping asset to perform business operations on the full-chain mapping asset on the second business chain, so as to realize the airdrop of the first business chain token on the first business chain to the second business chain when the full-chain assets are transferred across the chain, as the basic token of the full-chain mapping asset.

[0130] In some embodiments, when it is necessary to update the contract of the target remote full-chain business contract on the second business chain, a remote contract address locking mechanism can be used. Specifically, it can be to obtain a contract update request sent by the second business object for the target remote full-chain business contract, perform contract update processing on the target remote full-chain business contract based on the contract update request, and set the contract status of the target remote full-chain business contract to the contract update status; the second business object is the business object corresponding to the target remote full-chain business contract on the second business chain, for example, it can be the contract owner of the target remote full-chain business contract; when it is detected that the target remote full-chain business contract is in the contract update state, obtain the target contract address corresponding to the target full-chain business contract to be locked on the first business chain; through the target remote full-chain business contract The associated remote contract address locking mechanism determines the remote contract address locking method for remote address locking of the target contract address in the target remote full-chain business contract, calls the remote contract address locking method to remotely lock the target contract address, and configures the address state of the target contract address after the remote address is locked to the address locking state in the target remote full-chain business contract; the target contract address in the address locking state is used to suspend receiving the full-chain assets sent by the updated target remote full-chain business contract for cross-chain transfer, that is, at this time, the full-chain assets on the second business chain cannot be transferred across the chain to the first business chain. Among them, the specific description and principle of the remote contract address locking mechanism can be found in the relevant description of the above embodiment.

[0131] It can be understood that when the second blockchain node performs remote address locking on the target contract address of the target full-chain business contract, it can generate a contract lock request for the target remote full-chain business contract deployed on the second business chain, and send the contract lock request to the first blockchain node, so that the first blockchain node performs remote address locking on the target remote contract address of the target remote full-chain business contract in the target full-chain business contract deployed on the first business chain. The first blockchain node can generate contract lock completion information corresponding to the contract lock request after the remote address is locked, and return the contract lock completion information to the second blockchain node, so that the second business object determines that the target full-chain business contract in the first blockchain has executed remote address locking.

[0132] At the same time, the second blockchain node can perform contract updates on the target remote full-chain business contract on the second business chain. When the contract update is completed, the target remote full-chain business contract is adjusted from the contract update state to the contract update completion state. Therefore, when it is detected that the contract state of the target remote full-chain business contract is adjusted from the contract update state to the contract update completion state, the target remote full-chain business contract in the contract update completion state is used as the updated target remote full-chain business contract; the target contract address corresponding to the target full-chain business contract to be locked on the first business chain is obtained; through the remote contract address locking mechanism associated with the updated target remote full-chain business contract, the remote contract address locking method for remote address locking of the target contract address is determined in the updated target remote full-chain business contract, the remote contract address locking method is called to remotely lock the target contract address, and the address state of the target contract address after the remote address is locked is configured as the address locking state in the updated target remote full-chain business contract; the target contract address in the address locking state is used to suspend receiving the full-chain assets sent by the updated target remote full-chain business contract for cross-chain transfer. That is to say, for the updated target remote full-chain business contract, the target contract address of the target full-chain business contract must also be remotely locked.

[0133] It can be understood that when the second business object determines that the target remote full-chain business contract on the second business chain has completed the contract update, and the target full-chain business contract on the first business chain has performed remote address locking, and the updated target remote full-chain business contract on the second business chain has performed remote address locking, remote address binding can be performed. For example, the second business object can be implemented by initiating a second contract binding request. Specifically, it can be to obtain the second contract binding request sent by the second business object for the updated target remote full-chain business contract, and obtain the target contract address corresponding to the target full-chain business contract to be bound on the first business chain from the second contract binding request; call the remote address setting interface through the full-chain contract protocol in the target remote full-chain business contract, and set the target contract address in the remote contract address bound to the updated target remote full-chain business contract. That is, the address binding of the target contract address is performed in the updated target remote full-chain business contract.

[0134] Among them, the second blockchain node can also generate a first contract binding request sent by the second business object to the updated target remote full-chain business contract deployed on the second business chain, and send the first contract binding request to the first blockchain node, so that the first blockchain node performs remote address binding on the updated target remote contract address corresponding to the updated target remote full-chain business contract in the target full-chain business contract deployed on the first business chain. Optionally, the first blockchain node can generate contract binding completion information corresponding to the first contract binding request after remote address binding, and return the contract binding completion information to the second blockchain node, so that the second business object determines that the target full-chain business contract in the first blockchain has executed remote address binding.

[0135] It can be understood that after the second business object determines that the target full-chain business contract on the first business chain is bound to a remote address and the updated target remote full-chain business contract on the second business chain is bound to a remote address, the remote address unlocking can be performed, for example, the second business object can be implemented by initiating a second contract unlocking request. Specifically, it can be to obtain the second contract unlocking request sent by the second business object for the updated target remote full-chain business contract, and obtain the target contract address corresponding to the target full-chain business contract to be unlocked on the first business chain from the second contract unlocking request; through the remote contract address unlocking mechanism associated with the updated target remote full-chain business contract, determine the remote contract address unlocking method for remote address unlocking of the target contract address in the updated target remote full-chain business contract, call the remote contract address unlocking method to remotely unlock the target contract address corresponding to the target full-chain business contract, and configure the address state of the target contract address after the remote address unlocking to the address unlocked state in the updated target remote full-chain business contract; the target contract address in the address unlocked state is used to restart receiving the full-chain assets sent by the updated target remote full-chain business contract for cross-chain transfer. That is, the target contract address is unlocked in the updated target remote full-chain business contract. The specific description and principle of the remote contract address unlocking mechanism can be found in the relevant description of the above embodiment.

[0136] Among them, the second blockchain node can also generate a first contract unlock request sent by the second business object to the updated target remote full-chain business contract deployed on the second business chain, and send the first contract unlock request to the first blockchain node, so that the first blockchain node can remotely unlock the updated target remote contract address corresponding to the updated target remote full-chain business contract in the target full-chain business contract deployed on the first business chain. Optionally, the first blockchain node can generate contract unlock completion information corresponding to the first contract unlock request after the remote address is unlocked, and return the contract unlock completion information to the second blockchain node, so that the second business object determines that the target full-chain business contract in the first blockchain has executed remote address unlocking.

[0137] For example, Fig. 9 As shown, Fig. 9 It is an interactive schematic diagram of data processing based on multiple blockchains provided by an embodiment of the present application; wherein, S90, the first blockchain node obtains a full-chain asset transfer request sent by the first business object for a business transaction, and when the business transaction is determined to be a cross-chain asset transfer transaction based on the full-chain asset transfer request, calls the target full-chain business contract on the first business chain, and uses the full-chain assets involved in the cross-chain asset transfer transaction as the full-chain assets to be transferred; S91, the first blockchain node calls the full-chain contract protocol in the target full-chain business contract to determine the target remote contract address bound to the target full-chain business contract; S92, the first blockchain node calls the target full-chain business contract to switch the asset state of the full-chain assets to be transferred from the first state to the second state; S93, the first blockchain node obtains the first chain identifier of the first business chain, and calls the full-chain event identifier in the full-chain service contract based on the first chain identifier The generation protocol generates an event identifier associated with the first chain identifier; S94, the first blockchain node calls the full-chain token airdrop contract on the first business chain through the target full-chain business contract, obtains the first business chain token associated with the full-chain asset to be transferred, and uses the obtained first business chain token as the full-chain token to be airdropped; S95, the first blockchain node generates a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction based on the event identifier, the target remote contract address, the full-chain asset to be transferred and the full-chain token to be airdropped; S96, the off-chain cross-chain service device reads the cross-chain asset transfer event from the first blockchain node; S97, the off-chain cross-chain service device performs event verification on the cross-chain asset transfer event, and generates a cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event when the event verification passes; S98, the off-chain cross-chain service device sends the cross-chain asset reconstruction transaction to the second blockchain node;

[0138] S99. The second blockchain node reconstructs the transaction based on the cross-chain assets, determines the target remote full-chain business contract corresponding to the target remote contract address on the second business chain, and calls the target remote full-chain business contract to generate a full-chain mapping asset corresponding to the full-chain asset to be transferred on the second business chain; S910. The second blockchain node calls the full-chain token airdrop contract on the second business chain through the target remote full-chain business contract, determines the second business chain airdrop token corresponding to the full-chain token to be airdropped, and allocates the second business chain airdrop token to the business object corresponding to the full-chain mapping asset.

[0139] For example, Fig.10 As shown, Fig.10: is an interactive diagram of a contract update provided by an embodiment of the present application; wherein, S1001, the second blockchain node obtains a contract update request, performs contract update processing on the target remote full-chain business contract based on the contract update request, and when it is detected that the target remote full-chain business contract is in a contract update state, obtains the target contract address to be locked, and calls the remote contract address locking method to remotely lock the target contract address; S1002, the second blockchain node generates a contract lock request; S1003, the second blockchain node sends the contract lock request to the first blockchain node; S1004, the first blockchain node obtains the contract lock request, obtains the target to be locked from the contract lock request Remote contract address, call the remote contract address locking method to remotely lock the target remote contract address; S1005, the first blockchain node generates contract locking completion information; S1006, the first blockchain node sends the contract locking completion information to the second blockchain node; S1007, when the second blockchain node detects that the contract status of the target remote full-chain business contract is adjusted from the contract update status to the contract update completion status, it uses the target remote full-chain business contract in the contract update completion status as the updated target remote full-chain business contract, obtains the target contract address to be locked on the first business chain, and calls the remote contract address locking method to remotely lock the target contract address ; S1008, the second blockchain node obtains the second contract binding request, obtains the target contract address corresponding to the target full-chain business contract to be bound from the second contract binding request, calls the remote address setting interface, and sets the target contract address in the remote contract address bound to the updated target remote full-chain business contract; S1009, the second blockchain node generates the first contract binding request; S1010, the second blockchain node sends the first contract binding request to the first blockchain node; S1011, the first blockchain node obtains the first contract binding request, obtains the updated target remote contract address to be bound from the first contract binding request, and updates the remote contract address by calling the remote address setting interface. The target remote contract address after the unlock is set in the remote contract address bound to the target full-chain business contract; S1012, the first blockchain node generates contract binding completion information; S1013, the first blockchain node sends the contract binding completion information to the second blockchain node; S1014, the second blockchain node obtains the second contract unlock request, obtains the target contract address to be unlocked from the second contract unlock request, and calls the remote contract address unlock method to remotely unlock the target contract address corresponding to the target full-chain business contract; S1015, the second blockchain node generates the first contract unlock request; S1016, the second blockchain node sends the first contract unlock request to the first blockchain node;S1017, the first blockchain node obtains the first contract unlocking request, obtains the updated target remote contract address to be unlocked from the first contract unlocking request, and calls the remote contract address unlocking method to remotely unlock the updated target remote contract address corresponding to the updated target remote full-chain business contract; S1018, the first blockchain node generates contract unlocking completion information; S1019, the first blockchain node sends the contract unlocking completion information to the second blockchain node. ;

[0140] In an embodiment of the present application, the multi-blockchain may include a first business chain and a second business chain, and the cross-chain asset transfer transaction corresponding to the full-chain asset transfer request is used to indicate that the full-chain assets to be transferred (such as digital assets, specifically digital collections) are transferred from the first business chain to the second business chain; this solution can realize the cross-chain transfer of the full-chain assets to be transferred by deploying a full-chain business contract integrated with the same full-chain contract protocol on the first business chain and the second business chain; it can be understood that a target full-chain business contract for executing a cross-chain asset transfer transaction is deployed on the first business chain, and the full-chain business contract corresponding to the target full-chain business contract on the second business chain is a target remote full-chain business contract, and the target full-chain business contract and the target remote full-chain business contract are integrated with the same full-chain contract protocol, that is, the target full-chain business contract and the target remote full-chain business contract are integrated with the same asset transfer method (such as asset transfer related methods, asset determination related methods), that is, the asset determination rule on the first business chain is the same as The asset determination rules on the second business chain are the same. Therefore, the first blockchain node can call the full-chain contract protocol in the target full-chain business contract to generate a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction to realize the cross-chain transfer of the full-chain assets to be transferred. The second blockchain node can call the full-chain contract protocol in the target remote full-chain business contract based on the cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event to determine the assets of the full-chain assets to be transferred. Since the first blockchain node and the second blockchain node use the asset transfer method uniformly specified in the same full-chain contract protocol to realize the transfer and determination of digital assets, the asset data information of the full-chain mapped assets determined by the second blockchain node can be consistent with the asset data information of the full-chain assets to be transferred. At this time, the full-chain assets to be transferred in the first business chain and the mapped assets on the second business chain can be regarded as the same asset, thereby ensuring the full-chain liquidity of the same digital asset between different blockchains, thereby improving the liquidity of digital assets in multiple blockchains.

[0141] For further information, see Fig.11 , Fig.11 Schematic diagram of a data processing device based on multiple blockchains provided in an embodiment of the present application. Fig.11As shown, the data processing device 1 based on multiple blockchains can be applied to a computer device. It should be understood that the data processing device 1 based on multiple blockchains can be a computer program (including program code) running in a computer device, for example, the data processing device 1 based on multiple blockchains can be an application software; it can be understood that the data processing device 1 based on multiple blockchains can be used to execute the corresponding steps of the method provided in the embodiment of the present application. Fig.11 As shown, the multi-blockchain-based data processing device 1 may include: a full-chain asset acquisition module 11, a contract address determination module 12, and a transfer event generation module 13;

[0142] The full-chain asset acquisition module 11 is used to obtain the full-chain asset transfer request sent by the first business object for the business transaction. When the business transaction is determined to be a cross-chain asset transfer transaction based on the full-chain asset transfer request, the target full-chain business contract on the first business chain is called, and the full-chain assets involved in the cross-chain asset transfer transaction are used as the full-chain assets to be transferred; the cross-chain asset transfer transaction is used to indicate that the full-chain assets to be transferred are transferred from the first business chain to the second business chain;

[0143] The contract address determination module 12 is used to call the full-chain contract protocol in the target full-chain business contract to determine the target remote contract address bound to the target full-chain business contract; the full-chain contract protocol is determined based on the full-chain contract protocol interface provided by the full-chain business parent contract on the first business chain; the target remote full-chain business contract corresponding to the target remote contract address is the full-chain business contract on the second business chain that integrates the full-chain contract protocol;

[0144] The transfer event generation module 13 is used to generate a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction based on the target remote contract address and the full-chain asset to be transferred, and send the cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event to the second blockchain node in the second blockchain network through the off-chain cross-chain service device, so that the second blockchain node determines the target remote full-chain business contract corresponding to the target remote contract address on the second business chain based on the cross-chain asset reconstruction transaction, and calls the target remote full-chain business contract to generate a full-chain mapping asset corresponding to the full-chain asset to be transferred on the second business chain; the asset data information of the full-chain mapping asset is consistent with the asset data information of the full-chain resource to be transferred.

[0145] Among them, the cross-chain asset transfer transaction carries the second chain identifier of the second business chain;

[0146] The contract address determination module 12 includes:

[0147] The contract address acquisition unit 121 is used to call the full-chain contract protocol in the target full-chain business contract to obtain the remote contract address bound to the target full-chain business contract; the remote contract address bound to the target full-chain business contract includes the contract address corresponding to the full-chain business contract integrated with the full-chain contract protocol on the reference business chain; the reference business chain is a blockchain other than the first business chain in the multiple blockchains; the reference business chain includes the second business chain;

[0148] The contract address determination unit 122 is used to determine the remote contract address associated with the second chain identifier as the target remote contract address among the remote contract addresses bound to the target full-chain business contract.

[0149] The transfer event generating module 13 includes:

[0150] The state switching unit 131 is used to call the target full-chain business contract to switch the asset state of the full-chain asset to be transferred from the first state to the second state; the second state is the asset locking state;

[0151] The transfer event generating unit 132 is used to generate a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction based on the target remote contract address and the full-chain asset to be transferred when the asset state of the full-chain asset to be transferred is the second state.

[0152] The transfer event generating module 13 includes:

[0153] The chain identifier acquisition unit 133 is used to acquire the first chain identifier of the first business chain; the first chain identifier is the chain identifier configured for the first business chain by the full-chain unified registration service in the off-chain full-chain cross-chain service;

[0154] The chain identifier generation unit 134 is used to call the full chain event identifier generation protocol in the full chain service contract based on the first chain identifier to generate an event identifier associated with the first chain identifier;

[0155] The transfer event generation unit 132 is also used to generate a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction based on the event identifier, the target remote contract address and the full-chain assets to be transferred.

[0156] Among them, the cross-chain asset transfer event carries the asset identification of the full-chain asset to be transferred, and the asset identification of the full-chain asset to be transferred is generated based on the identification prefix associated with the first business chain and the asset identification template configured in the full-chain contract agreement; the cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event is constructed by the off-chain cross-chain service device to verify the asset identification of the full-chain asset to be transferred carried by the cross-chain asset transfer event based on the identification prefix and the asset identification template, and the identification verification is successful.

[0157] The transfer event generating module 13 further includes:

[0158] The full-chain token acquisition unit 135 is used to call the full-chain token airdrop contract on the first business chain through the target full-chain business contract, obtain the first business chain token associated with the full-chain asset to be transferred, and use the obtained first business chain token as the full-chain token to be airdropped;

[0159] The full-chain token writing unit 136 is used to write the full-chain token to be airdropped into the cross-chain asset transfer event when generating a cross-chain asset transfer event corresponding to a cross-chain asset transfer transaction.

[0160] The full-chain assets to be transferred belong to part or all of the full-chain assets determined on the first business chain for cross-chain transfer;

[0161] The full-chain asset acquisition module 11 also includes:

[0162] The determination request acquisition unit 111 is used to obtain a full-chain asset determination request for a full-chain asset determination transaction, call a target full-chain business contract on the first business chain based on the full-chain asset determination request, and determine the number of determined assets involved in the full-chain asset determination transaction as the number of assets to be determined;

[0163] The asset identification generation unit 112 is used to call the full-chain contract protocol in the target full-chain business contract, obtain the identification prefix associated with the first business chain, and generate the full-chain asset identification to be determined corresponding to the number of assets to be determined based on the identification prefix associated with the first business chain and the asset identification template configured in the full-chain contract protocol; the full-chain asset identification to be determined includes the identification prefix associated with the first business chain;

[0164] The full-chain asset determination unit 113 is used to call the asset determination contract in the target full-chain business contract, determine the full-chain asset corresponding to the full-chain asset identifier to be determined on the first business chain, and use the determined full-chain asset as the full-chain asset determined on the first business chain for cross-chain transfer.

[0165] Among them, the contract address determination module 12 also includes:

[0166] The locking request acquisition unit 123 is used to acquire a contract locking request sent by the second business object to the target remote full-chain business contract deployed on the second business chain; the second business object is a business object corresponding to the target remote full-chain business contract on the second business chain; the contract locking request is generated by the second business object after remote address locking of the contract address corresponding to the target full-chain business contract in the target remote full-chain business contract deployed on the second business chain;

[0167] The address acquisition unit 124 is used to obtain the target remote contract address corresponding to the target remote full-chain business contract to be locked on the second business chain from the contract locking request;

[0168] The remote address locking unit 125 is used to determine the remote contract address locking method for remotely locking the target remote contract address in the target full-chain business contract through the remote contract address locking mechanism associated with the target full-chain business contract, call the remote contract address locking method to remotely lock the target remote contract address corresponding to the target remote full-chain business contract, and configure the address state of the target remote contract address after the remote address is locked as the address locked state in the target full-chain business contract; the target remote contract address in the address locked state is used to suspend receiving the full-chain assets sent by the first business object through the target full-chain business contract for cross-chain transfer.

[0169] Among them, when the contract status of the target remote full-chain business contract is adjusted from the contract update status to the contract update completion status, the target remote full-chain business contract in the contract update completion status is the updated target remote full-chain business contract; the contract address of the updated target remote full-chain business contract is the updated target remote contract address;

[0170] The contract address determination module 12 also includes:

[0171] The binding request acquisition unit 126 is used to acquire a first contract binding request sent by the second business object for the updated target remote full-chain business contract deployed on the second business chain; the first contract binding request is generated by the second business object after performing remote address binding on the target contract address in the updated target remote full-chain business contract deployed on the second business chain;

[0172] The address acquisition unit 124 is further used to obtain the updated target remote contract address corresponding to the updated target remote full-chain business contract to be bound on the second business chain from the first contract binding request;

[0173] The remote address binding unit 127 is used to call the remote address setting interface through the full-chain contract protocol in the target full-chain business contract, and set the updated target remote contract address in the remote contract address bound to the target full-chain business contract.

[0174] Among them, the contract address determination module 12 also includes:

[0175] The unlock request acquisition unit 128 is used to acquire a first contract unlock request sent by the second business object for the updated target remote full-chain business contract deployed on the second business chain; the first contract unlock request is generated by the second business object after remote address unlocking the target contract address in the updated target remote full-chain business contract deployed on the second business chain;

[0176] The address acquisition unit 124 is further used to acquire the updated target remote contract address corresponding to the updated target remote full-chain business contract to be unlocked on the second business chain from the first contract unlock request;

[0177] The remote address unlocking unit 129 is used to determine the remote contract address unlocking method for remotely unlocking the updated target remote contract address in the target full-chain business contract through the remote contract address unlocking mechanism associated with the target full-chain business contract, call the remote contract address unlocking method to remotely unlock the updated target remote contract address corresponding to the updated target remote full-chain business contract, and configure the address state of the updated target remote contract address after the remote address is unlocked to the address unlocked state in the target full-chain business contract; the updated target remote contract address in the address unlocked state is used to restart receiving the full-chain assets sent by the first business object through the target full-chain business contract for cross-chain transfer.

[0178] Among them, the contract address determination module 12 also includes:

[0179] The information verification unit 1210 is used to update the updated target remote contract address in the remote contract address bound to the target full-chain business contract as the updated remote contract address when it is determined that the remote contract address bound to the target full-chain business contract is updated;

[0180] The information verification unit 1210 is also used to call the key information disclosure interface through the full-chain contract protocol in the target full-chain business contract to obtain the node port information associated with the updated remote contract address;

[0181] The information verification unit 1210 is also used to perform security verification on the node port information associated with the updated remote contract address through the information management and verification service in the off-chain full-chain cross-chain service.

[0182] The transfer event generating module 13 is specifically used for:

[0183] The cross-chain asset transfer event associated with the target full-chain business contract generated within the target period is read through the off-chain cross-chain service device; the off-chain cross-chain service device is used to verify the cross-chain asset transfer event through the cross-chain event verification and forwarding service in the off-chain full-chain cross-chain service when reading the cross-chain asset transfer event associated with the target full-chain business contract, and forward the cross-chain asset transfer event after the event verification with the cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event.

[0184] Among them, the specific implementation methods of the full-chain asset acquisition module 11, the contract address determination module 12, and the transfer event generation module 13 can refer to the relevant description in the above embodiment, and will not be further described here. It should be understood that the description of the beneficial effects obtained by adopting the same method will not be repeated.

[0185] For further information, see Fig.12 , Fig.12 Schematic diagram of a data processing device based on multiple blockchains provided in an embodiment of the present application. Fig.12 As shown, the data processing device 2 based on multiple blockchains can be applied to a computer device. It should be understood that the data processing device 2 based on multiple blockchains can be a computer program (including program code) running in a computer device, for example, the data processing device 2 based on multiple blockchains can be an application software; it can be understood that the data processing device 2 based on multiple blockchains can be used to execute the corresponding steps of the method provided in the embodiment of the present application. Fig.12 As shown, the data processing device 2 based on multiple blockchains may include: a reconstructed transaction acquisition module 21, a mapping asset generation module 22;

[0186] The reconstruction transaction acquisition module 21 is used to obtain the cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event sent by the first blockchain node in the first blockchain network through the off-chain cross-chain service device; the cross-chain asset transfer event is an event corresponding to the cross-chain asset transfer transaction generated by the first blockchain node based on the target remote contract address bound to the target full-chain business contract and the full-chain asset to be transferred; the target remote contract address is obtained by the first blockchain node through the full-chain contract protocol in the target full-chain business contract; the full-chain asset to be transferred is the full-chain asset involved in the cross-chain asset transfer transaction determined by calling the target full-chain business contract when the first blockchain node obtains the full-chain asset transfer request sent by the first business object for the business transaction and determines that the business transaction is a cross-chain asset transfer transaction based on the full-chain asset transfer request; the target full-chain business contract is a full-chain business contract integrated with the full-chain contract protocol on the first business chain; the remote full-chain business contract corresponding to the target remote contract address is a full-chain business contract integrated with the full-chain contract protocol on the second business chain;

[0187] The mapping asset generation module 22 is used to determine the target remote full-chain business contract corresponding to the target remote contract address on the second business chain based on the cross-chain asset reconstruction transaction, and call the target remote full-chain business contract to generate a full-chain mapping asset corresponding to the full-chain asset to be transferred on the second business chain; the asset data information of the full-chain mapping asset is consistent with the asset data information of the target full-chain asset.

[0188] Among them, the cross-chain asset reconstruction transaction carries the full-chain token to be airdropped; the full-chain token to be airdropped is the first business chain token obtained by the first blockchain node through the full-chain token airdrop contract on the first business chain, which is the full-chain asset to be transferred;

[0189] The mapping asset generation module 22 is also used for:

[0190] The full-chain token airdrop contract on the second business chain is called through the target remote full-chain business contract to determine the second business chain airdrop token corresponding to the full-chain token to be airdropped, and the second business chain airdrop token is allocated to the business object corresponding to the full-chain mapped asset; the second business chain airdrop token is used to support the business object corresponding to the full-chain mapped asset to perform business operations on the full-chain mapped asset on the second business chain.

[0191] The reconstructed transaction acquisition module 21 further includes:

[0192] The contract updating unit 211 is used to obtain a contract updating request sent by the second business object for the target remote full-chain business contract, perform contract updating processing on the target remote full-chain business contract based on the contract updating request, and set the contract state of the target remote full-chain business contract to the contract updating state; the second business object is a business object on the second business chain corresponding to the target remote full-chain business contract;

[0193] The contract address acquisition unit 212 is used to acquire the target contract address corresponding to the target full-chain business contract to be locked on the first business chain when it is detected that the target remote full-chain business contract is in a contract update state;

[0194] The address locking unit 213 is used to determine the remote contract address locking method for remotely locking the target contract address in the target remote full-chain business contract through the remote contract address locking mechanism associated with the target remote full-chain business contract, call the remote contract address locking method to remotely lock the target contract address, and configure the address state of the target contract address after the remote address is locked as the address locked state in the target remote full-chain business contract; the target contract address in the address locked state is used to suspend receiving the full-chain assets sent by the updated target remote full-chain business contract for cross-chain transfer.

[0195] The reconstructed transaction acquisition module 21 further includes:

[0196] The locking request sending unit 214 is used to generate a contract locking request for the target remote full-chain business contract deployed on the second business chain, and send the contract locking request to the first blockchain node, so that the first blockchain node remotely locks the target remote contract address of the target remote full-chain business contract in the target full-chain business contract deployed on the first business chain.

[0197] The reconstructed transaction acquisition module 21 further includes:

[0198] The contract updating unit 211 is further configured to, when detecting that the contract state of the target remote full-chain business contract is adjusted from the contract updating state to the contract updating completion state, use the target remote full-chain business contract in the contract updating completion state as the updated target remote full-chain business contract;

[0199] The contract address acquisition unit 212 is further used to acquire the target contract address corresponding to the target full-chain business contract to be locked on the first business chain;

[0200] The address locking unit 213 is also used to determine the remote contract address locking method for remotely locking the target contract address in the updated target remote full-chain business contract through the remote contract address locking mechanism associated with the updated target remote full-chain business contract, call the remote contract address locking method to remotely lock the target contract address, and configure the address state of the target contract address after the remote address is locked as the address locked state in the updated target remote full-chain business contract; the target contract address in the address locked state is used to suspend receiving the full-chain assets sent by the updated target remote full-chain business contract for cross-chain transfer.

[0201] The reconstructed transaction acquisition module 21 further includes:

[0202] The binding request acquisition unit 214 is used to acquire the second contract binding request sent by the second business object for the updated target remote full-chain business contract, and acquire the target contract address corresponding to the target full-chain business contract to be bound on the first business chain from the second contract binding request;

[0203] The contract address binding unit 215 is used to call the remote address setting interface through the full-chain contract protocol in the target remote full-chain business contract, and set the target contract address in the remote contract address bound to the updated target remote full-chain business contract.

[0204] The reconstructed transaction acquisition module 21 further includes:

[0205] The binding request sending unit 216 is used to generate a first contract binding request sent by the second business object to the updated target remote full-chain business contract deployed on the second business chain, and send the first contract binding request to the first blockchain node, so that the first blockchain node performs remote address binding on the updated target remote contract address corresponding to the updated target remote full-chain business contract in the target full-chain business contract deployed on the first business chain.

[0206] The reconstructed transaction acquisition module 21 further includes:

[0207] The unlocking address obtaining unit 217 is used to obtain the second contract unlocking request sent by the second business object for the updated target remote full-chain business contract, and obtain the target contract address corresponding to the target full-chain business contract to be unlocked on the first business chain from the second contract unlocking request;

[0208] The contract address unlocking unit 218 is used to determine the remote contract address unlocking method for remotely unlocking the target contract address in the updated target remote full-chain business contract through the remote contract address unlocking mechanism associated with the updated target remote full-chain business contract, call the remote contract address unlocking method to remotely unlock the target contract address corresponding to the target full-chain business contract, and configure the address state of the target contract address after the remote address is unlocked to the address unlocked state in the updated target remote full-chain business contract; the target contract address in the address unlocked state is used to restart receiving the full-chain assets sent by the updated target remote full-chain business contract for cross-chain transfer.

[0209] The reconstructed transaction acquisition module 21 further includes:

[0210] The unlock request sending unit 219 is used to generate a first contract unlock request sent by the second business object to the updated target remote full-chain business contract deployed on the second business chain, and send the first contract unlock request to the first blockchain node, so that the first blockchain node remotely unlocks the updated target remote contract address corresponding to the updated target remote full-chain business contract in the target full-chain business contract deployed on the first business chain.

[0211] The specific implementation of the reconstruction transaction acquisition module 21 and the mapping asset generation module 22 can refer to the relevant description in the above embodiment, which will not be described in detail here. It should be understood that the description of the beneficial effects obtained by adopting the same method will not be described in detail.

[0212] For further information, see Fig.13 , Fig.13 Schematic diagram of the structure of a computer device provided in an embodiment of the present application. Fig.13 As shown, the computer device 1300 can be an object terminal or a server, which will not be limited here. For ease of understanding, this application takes the computer device as an object terminal as an example. The computer device 1300 may include: a processor 1301, a network interface 1304 and a memory 1305. In addition, the computer device 1300 may also include: an object interface 1303, and at least one communication bus 1302. Among them, the communication bus 1302 is used to realize the connection and communication between these components. Among them, the object interface 1303 may also include a standard wired interface and a wireless interface. The network interface 1304 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1305 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 1305 may optionally also be at least one storage device located away from the aforementioned processor 1301. As Fig.13 As shown, the memory 1305 as a computer-readable storage medium may include an operating system, a network communication module, an object interface module, and a device control application program.

[0213] The network interface 1304 in the computer device 1300 can also provide a network data interaction function. Fig.13 In the computer device 1300 shown in the figure, the network interface 1304 can provide a network data interaction function; the object interface 1303 is mainly used to provide an input interface for the business object; and the processor 1301 can be used to call the device control application stored in the memory 1305 to execute the above Figure 3 or Figure 4 The description of the data processing method based on multiple blockchains in the corresponding embodiment can also be performed as described above. Fig.13 The description of the multi-blockchain-based data processing device 1 in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated here.

[0214] In a possible implementation, the memory 1305 is used to store program instructions. The processor 1301 may call the program instructions to perform the following steps:

[0215] Obtain the full-chain asset transfer request sent by the first business object for the business transaction. When the business transaction is determined to be a cross-chain asset transfer transaction based on the full-chain asset transfer request, call the target full-chain business contract on the first business chain and use the full-chain assets involved in the cross-chain asset transfer transaction as the full-chain assets to be transferred; the cross-chain asset transfer transaction is used to indicate that the full-chain assets to be transferred are transferred from the first business chain to the second business chain;

[0216] Call the full-chain contract protocol in the target full-chain business contract to determine the target remote contract address bound to the target full-chain business contract; the full-chain contract protocol is determined based on the full-chain contract protocol interface provided by the full-chain business parent contract on the first business chain; the target remote full-chain business contract corresponding to the target remote contract address is the full-chain business contract on the second business chain that integrates the full-chain contract protocol;

[0217] When a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction is generated based on the target remote contract address and the full-chain asset to be transferred, the cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event is sent to the second blockchain node in the second blockchain network through the off-chain cross-chain service device, so that the second blockchain node determines the target remote full-chain business contract corresponding to the target remote contract address on the second business chain based on the cross-chain asset reconstruction transaction, and calls the target remote full-chain business contract to generate a full-chain mapping asset corresponding to the full-chain asset to be transferred on the second business chain; the asset data information of the full-chain mapping asset is consistent with the asset data information of the full-chain resource to be transferred.

[0218] Among them, the cross-chain asset transfer transaction carries the second chain identifier of the second business chain;

[0219] When the processor 1301 is used to call the full-chain contract protocol in the target full-chain business contract and determine the target remote contract address bound to the target full-chain business contract, it is specifically used to:

[0220] Call the full-chain contract protocol in the target full-chain business contract to obtain the remote contract address bound to the target full-chain business contract; the remote contract address bound to the target full-chain business contract includes the contract address corresponding to the full-chain business contract integrated with the full-chain contract protocol on the reference business chain; the reference business chain is a blockchain other than the first business chain in the multi-blockchain; the reference business chain includes the second business chain;

[0221] Among the remote contract addresses bound to the target full-chain business contract, the remote contract address associated with the second chain identifier is determined as the target remote contract address.

[0222] The processor 1301, when used to generate a cross-chain asset transfer event corresponding to a cross-chain asset transfer transaction based on the target remote contract address and the full-chain assets to be transferred, is specifically used to:

[0223] Call the target full-chain business contract to switch the asset status of the full-chain assets to be transferred from the first status to the second status; the second status is the asset locking status;

[0224] When the asset state of the full-chain asset to be transferred is the second state, a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction is generated based on the target remote contract address and the full-chain asset to be transferred.

[0225] The processor 1301, when used to generate a cross-chain asset transfer event corresponding to a cross-chain asset transfer transaction based on the target remote contract address and the full-chain assets to be transferred, is specifically used to:

[0226] Obtain the first chain identifier of the first business chain; the first chain identifier is the chain identifier configured for the first business chain by the full-chain unified registration service in the off-chain full-chain cross-chain service;

[0227] Based on the first chain identifier, the full chain event identifier generation protocol in the full chain service contract is called to generate an event identifier associated with the first chain identifier;

[0228] Based on the event identifier, the target remote contract address and the full-chain assets to be transferred, a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction is generated.

[0229] Among them, the cross-chain asset transfer event carries the asset identification of the full-chain asset to be transferred, and the asset identification of the full-chain asset to be transferred is generated based on the identification prefix associated with the first business chain and the asset identification template configured in the full-chain contract agreement; the cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event is constructed by the off-chain cross-chain service device to verify the asset identification of the full-chain asset to be transferred carried by the cross-chain asset transfer event based on the identification prefix and the asset identification template, and the identification verification is successful.

[0230] Before generating a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction, the processor 1301 is further configured to:

[0231] Call the full-chain token airdrop contract on the first business chain through the target full-chain business contract to obtain the first business chain token associated with the full-chain assets to be transferred, and use the obtained first business chain token as the full-chain token to be airdropped;

[0232] When generating a cross-chain token transfer event corresponding to a cross-chain token transfer transaction, the full-chain token to be airdropped is written into the cross-chain token transfer event.

[0233] The full-chain assets to be transferred belong to part or all of the full-chain assets determined on the first business chain for cross-chain transfer;

[0234] The processor 1301 is further configured to:

[0235] Obtain a full-chain asset determination request for a full-chain asset determination transaction, call a target full-chain business contract on the first business chain based on the full-chain asset determination request, and determine the number of determined assets involved in the full-chain asset determination transaction as the number of assets to be determined;

[0236] Call the full-chain contract protocol in the target full-chain business contract, obtain the identification prefix associated with the first business chain, and generate a to-be-determined full-chain asset identification corresponding to the to-be-determined asset quantity based on the identification prefix associated with the first business chain and the asset identification template configured in the full-chain contract protocol; the to-be-determined full-chain asset identification includes the identification prefix associated with the first business chain;

[0237] The asset determination contract in the target full-chain business contract is called to determine the full-chain asset corresponding to the full-chain asset identifier to be determined on the first business chain, and the determined full-chain asset is used as the full-chain asset determined on the first business chain for cross-chain transfer.

[0238] When the contract state of the target remote full-chain business contract is in the contract update state, the processor 1301 is further used to:

[0239] Obtain a contract lock request sent by the second business object for the target remote full-chain business contract deployed on the second business chain; the second business object is a business object on the second business chain corresponding to the target remote full-chain business contract; the contract lock request is generated by the second business object after remotely locking the contract address corresponding to the target full-chain business contract in the target remote full-chain business contract deployed on the second business chain;

[0240] Obtain the target remote contract address corresponding to the target remote full-chain business contract to be locked on the second business chain from the contract locking request;

[0241] Through the remote contract address locking mechanism associated with the target full-chain business contract, the remote contract address locking method for remotely locking the target remote contract address is determined in the target full-chain business contract, and the remote contract address locking method is called to remotely lock the target remote contract address corresponding to the target remote full-chain business contract, and the address state of the target remote contract address after the remote address is locked is configured as an address locked state in the target full-chain business contract; the target remote contract address in the address locked state is used to suspend receiving the full-chain assets sent by the first business object through the target full-chain business contract for cross-chain transfer.

[0242] Wherein, when the contract status of the target remote full-chain business contract is adjusted from the contract update status to the contract update completion status, the target remote full-chain business contract in the contract update completion status is the updated target remote full-chain business contract; the contract address of the updated target remote full-chain business contract is the updated target remote contract address;

[0243] The processor 1301 is further configured to:

[0244] Obtaining a first contract binding request sent by the second business object for an updated target remote full-chain business contract deployed on the second business chain; the first contract binding request is generated by the second business object after performing remote address binding on the target contract address in the updated target remote full-chain business contract deployed on the second business chain;

[0245] Obtaining the updated target remote contract address corresponding to the updated target remote full-chain business contract to be bound on the second business chain from the first contract binding request;

[0246] The remote address setting interface is called through the full-chain contract protocol in the target full-chain business contract, and the updated target remote contract address is set in the remote contract address bound to the target full-chain business contract.

[0247] The processor 1301 is further configured to:

[0248] Obtaining a first contract unlock request sent by the second business object for an updated target remote full-chain business contract deployed on the second business chain; the first contract unlock request is generated by the second business object after remote address unlocking the target contract address in the updated target remote full-chain business contract deployed on the second business chain;

[0249] Obtaining the updated target remote contract address corresponding to the updated target remote full-chain business contract to be unlocked on the second business chain from the first contract unlock request;

[0250] Through the remote contract address unlocking mechanism associated with the target full-chain business contract, the remote contract address unlocking method for remotely unlocking the updated target remote contract address is determined in the target full-chain business contract, and the remote contract address unlocking method is called to remotely unlock the updated target remote contract address corresponding to the updated target remote full-chain business contract, and the address state of the updated target remote contract address after the remote address is unlocked is configured as an address unlocked state in the target full-chain business contract; the updated target remote contract address in the address unlocked state is used to restart receiving the full-chain assets sent by the first business object through the target full-chain business contract for cross-chain transfer.

[0251] The processor 1301 is further configured to:

[0252] When it is determined that the remote contract address bound to the target full-chain business contract is updated, the updated target remote contract address in the remote contract address bound to the target full-chain business contract is used as the updated remote contract address;

[0253] Call the key information disclosure interface through the full-chain contract protocol in the target full-chain business contract to obtain the node port information associated with the updated remote contract address;

[0254] The node port information associated with the updated remote contract address is securely verified through the information management and verification service in the off-chain full-chain cross-chain service.

[0255] The processor 1301 is further configured to:

[0256] The cross-chain asset transfer event associated with the target full-chain business contract generated within the target period is read through the off-chain cross-chain service device; the off-chain cross-chain service device is used to verify the cross-chain asset transfer event through the cross-chain event verification and forwarding service in the off-chain full-chain cross-chain service when reading the cross-chain asset transfer event associated with the target full-chain business contract, and forward the cross-chain asset transfer event after the event verification with the cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event.

[0257] In a possible implementation, the memory 1305 is used to store program instructions. The processor 1301 may call the program instructions to perform the following steps:

[0258] Obtain a cross-chain asset reconstruction transaction corresponding to a cross-chain asset transfer event sent by a first blockchain node in a first blockchain network through an off-chain cross-chain service device; a cross-chain asset transfer event is an event corresponding to a cross-chain asset transfer transaction generated by the first blockchain node based on the target remote contract address bound to the target full-chain business contract and the full-chain asset to be transferred; the target remote contract address is obtained by the first blockchain node through the full-chain contract protocol in the target full-chain business contract; the full-chain asset to be transferred is the full-chain asset involved in the cross-chain asset transfer transaction determined by calling the target full-chain business contract when the first blockchain node obtains the full-chain asset transfer request sent by the first business object for the business transaction and determines that the business transaction is a cross-chain asset transfer transaction based on the full-chain asset transfer request; the target full-chain business contract is a full-chain business contract integrated with a full-chain contract protocol on the first business chain; the remote full-chain business contract corresponding to the target remote contract address is a full-chain business contract integrated with a full-chain contract protocol on the second business chain;

[0259] Based on the cross-chain asset reconstruction transaction, the target remote full-chain business contract corresponding to the target remote contract address is determined on the second business chain, and the target remote full-chain business contract is called to generate the full-chain mapping asset corresponding to the full-chain asset to be transferred on the second business chain; the asset data information of the full-chain mapping asset is consistent with the asset data information of the target full-chain asset.

[0260] Among them, the cross-chain asset reconstruction transaction carries the full-chain token to be airdropped; the full-chain token to be airdropped is the first business chain token obtained by the first blockchain node through the full-chain token airdrop contract on the first business chain, which is the full-chain asset to be transferred;

[0261] When calling the target remote full-chain business contract to generate a full-chain mapping asset corresponding to the full-chain asset to be transferred on the second business chain, the processor 1301 is further used to:

[0262] The full-chain token airdrop contract on the second business chain is called through the target remote full-chain business contract to determine the second business chain airdrop token corresponding to the full-chain token to be airdropped, and the second business chain airdrop token is allocated to the business object corresponding to the full-chain mapped asset; the second business chain airdrop token is used to support the business object corresponding to the full-chain mapped asset to perform business operations on the full-chain mapped asset on the second business chain.

[0263] The processor 1301 is further configured to:

[0264] Obtain a contract update request sent by the second business object for the target remote full-chain business contract, perform contract update processing on the target remote full-chain business contract based on the contract update request, and set the contract state of the target remote full-chain business contract to the contract update state; the second business object is a business object on the second business chain corresponding to the target remote full-chain business contract;

[0265] When it is detected that the target remote full-chain business contract is in a contract update state, the target contract address corresponding to the target full-chain business contract to be locked on the first business chain is obtained;

[0266] Through the remote contract address locking mechanism associated with the target remote full-chain business contract, the remote contract address locking method for remotely locking the target contract address is determined in the target remote full-chain business contract, the remote contract address locking method is called to remotely lock the target contract address, and the address state of the target contract address after the remote address is locked is configured as an address locked state in the target remote full-chain business contract; the target contract address in the address locked state is used to suspend receiving the full-chain assets sent by the updated target remote full-chain business contract for cross-chain transfer.

[0267] The processor 1301 is further configured to:

[0268] Generate a contract lock request for the target remote full-chain business contract deployed on the second business chain, and send the contract lock request to the first blockchain node, so that the first blockchain node remotely locks the target remote contract address of the target remote full-chain business contract in the target full-chain business contract deployed on the first business chain.

[0269] The processor 1301 is further configured to:

[0270] When it is detected that the contract status of the target remote full-chain business contract is adjusted from the contract update status to the contract update completion status, the target remote full-chain business contract in the contract update completion status is used as the updated target remote full-chain business contract;

[0271] Obtain the target contract address corresponding to the target full-chain business contract to be locked on the first business chain;

[0272] Through the remote contract address locking mechanism associated with the updated target remote full-chain business contract, the remote contract address locking method for remotely locking the target contract address is determined in the updated target remote full-chain business contract, the remote contract address locking method is called to remotely lock the target contract address, and the address state of the target contract address after the remote address is locked is configured as the address locked state in the updated target remote full-chain business contract; the target contract address in the address locked state is used to suspend receiving the full-chain assets sent by the updated target remote full-chain business contract for cross-chain transfer.

[0273] Among them, the contract address corresponding to the updated target remote full-chain business contract is the updated target remote contract address;

[0274] The processor 1301 is further configured to:

[0275] Obtain a second contract binding request sent by the second business object for the updated target remote full-chain business contract, and obtain the target contract address corresponding to the target full-chain business contract to be bound on the first business chain from the second contract binding request;

[0276] The remote address setting interface is called through the full-chain contract protocol in the target remote full-chain business contract, and the target contract address is set to the remote contract address bound to the updated target remote full-chain business contract.

[0277] The processor 1301 is further configured to:

[0278] Generate a first contract binding request sent by the second business object to the updated target remote full-chain business contract deployed on the second business chain, and send the first contract binding request to the first blockchain node, so that the first blockchain node performs remote address binding on the updated target remote contract address corresponding to the updated target remote full-chain business contract in the target full-chain business contract deployed on the first business chain.

[0279] The processor 1301 is further configured to:

[0280] Obtain a second contract unlocking request sent by the second business object for the updated target remote full-chain business contract, and obtain the target contract address corresponding to the target full-chain business contract to be unlocked on the first business chain from the second contract unlocking request;

[0281] Through the remote contract address unlocking mechanism associated with the updated target remote full-chain business contract, the remote contract address unlocking method for remotely unlocking the target contract address is determined in the updated target remote full-chain business contract, and the remote contract address unlocking method is called to remotely unlock the target contract address corresponding to the target full-chain business contract, and the address state of the target contract address after the remote address is unlocked is configured as an address unlocked state in the updated target remote full-chain business contract; the target contract address in the address unlocked state is used to restart receiving the full-chain assets sent by the updated target remote full-chain business contract for cross-chain transfer.

[0282] The processor 1301 is further configured to:

[0283] Generate a first contract unlock request sent by the second business object to the updated target remote full-chain business contract deployed on the second business chain, and send the first contract unlock request to the first blockchain node, so that the first blockchain node remotely unlocks the updated target remote contract address corresponding to the updated target remote full-chain business contract in the target full-chain business contract deployed on the first business chain.

[0284] In a specific implementation, the device, processor 1301, memory 1305, etc. described in the embodiments of the present application can execute the implementation method described in the above method embodiments, and can also execute the implementation method described in the embodiments of the present application, which will not be repeated here.

[0285] In addition, it should be pointed out here that: the embodiment of the present application also provides a computer-readable storage medium, and the computer-readable storage medium stores the computer program executed by the multi-blockchain-based data processing device 1 and the multi-blockchain-based data processing device 2 mentioned above, and the computer program includes computer instructions. When the processor executes the computer instructions, it can execute the above Figure 4 , Figure 6 and Figure 8The description of the data processing method based on multiple blockchains in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated. For technical details not disclosed in the computer-readable storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application. As an example, computer instructions can be deployed on a computing device for execution, or on multiple computing devices located at one location, or on multiple computing devices distributed at multiple locations and interconnected by a communication network. Multiple computing devices distributed at multiple locations and interconnected by a communication network can constitute a blockchain system.

[0286] For further information, see Fig.14 , Fig.14 Schematic diagram of a multi-blockchain-based data processing system provided in an embodiment of the present application. The multi-blockchain-based data processing system 3 may include a first blockchain node 3a and a second blockchain node 3b; wherein the first blockchain node 3a may be a blockchain node in the first blockchain network described in the above embodiment, for example, the first blockchain node 3a may be the above Figure 1 Any blockchain node in the blockchain network 200 shown in the figure will not be further described here. Among them, the second blockchain node 3b can be the blockchain node in the second blockchain network described in the above embodiment, for example, the second blockchain node 3b can be the above Figure 1 Any blockchain node in the blockchain network 300 shown will not be described in detail here. In addition, the description of the beneficial effects of using the same method will not be repeated.

[0287] In addition, it should be noted that: the embodiment of the present application also provides a computer program product or a computer program, which may include computer instructions, and the computer instructions may be stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor may execute the computer instructions, so that the computer device executes the above Figure 4 , Figure 6 and Figure 8 The description of the data processing method based on multiple blockchains in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of the same method will not be repeated. For technical details not disclosed in the computer program product or computer program embodiment involved in this application, please refer to the description of the method embodiment of this application.

[0288] It should be noted that, for the above-mentioned various method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.

[0289] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.

[0290] The modules in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.

[0291] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0292] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A data processing method based on multiple blockchains, It is characterized in that The multiple blockchains include a first business chain and a second business chain, the blockchain network corresponding to the first business chain is the first blockchain network, and the blockchain network corresponding to the second business chain is the second blockchain network; The first blockchain network is independent of the second blockchain network; The method is performed by a first blockchain node in the first blockchain network, and includes: Obtaining a full-chain asset transfer request sent by the first business object for a business transaction, and when determining that the business transaction is a cross-chain asset transfer transaction based on the full-chain asset transfer request, calling the target full-chain business contract on the first business chain, and using the full-chain assets involved in the cross-chain asset transfer transaction as the full-chain assets to be transferred; the cross-chain asset transfer transaction is used to indicate that the full-chain assets to be transferred are transferred from the first business chain to the second business chain; Call the full-chain contract protocol in the target full-chain business contract to determine the target remote contract address bound to the target full-chain business contract; the full-chain contract protocol is determined based on the full-chain contract protocol interface provided by the full-chain business parent contract on the first business chain; the target remote full-chain business contract corresponding to the target remote contract address is the full-chain business contract on the second business chain that integrates the full-chain contract protocol; When a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction is generated based on the target remote contract address and the full-chain asset to be transferred, the cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event is sent to the second blockchain node in the second blockchain network through the off-chain cross-chain service device, so that the second blockchain node determines the target remote full-chain business contract corresponding to the target remote contract address on the second business chain based on the cross-chain asset reconstruction transaction, and calls the target remote full-chain business contract to generate a full-chain mapping asset corresponding to the full-chain asset to be transferred on the second business chain; the asset data information of the full-chain mapping asset is consistent with the asset data information of the full-chain resource to be transferred.

2. The method according to claim 1, It is characterized in that The cross-chain asset transfer transaction carries the second chain identifier of the second business chain; The calling of the full-chain contract protocol in the target full-chain business contract to determine the target remote contract address bound to the target full-chain business contract includes: Calling the full-chain contract protocol in the target full-chain business contract to obtain the remote contract address bound to the target full-chain business contract; the remote contract address bound to the target full-chain business contract includes the contract address corresponding to the full-chain business contract integrated with the full-chain contract protocol on the reference business chain; the reference business chain is the blockchain other than the first business chain in the multiple blockchains; the reference business chain includes the second business chain; Among the remote contract addresses bound to the target full-chain business contract, the remote contract address associated with the second chain identifier is determined as the target remote contract address.

3. The method according to claim 1, It is characterized in that The generating a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction based on the target remote contract address and the full-chain asset to be transferred includes: Obtain a first chain identifier of the first business chain; the first chain identifier is a chain identifier configured for the first business chain by a full-chain unified registration service in an off-chain full-chain cross-chain service; Based on the first chain identifier, calling the full-chain event identifier generation protocol in the full-chain service contract to generate an event identifier associated with the first chain identifier; Based on the event identifier, the target remote contract address and the full-chain asset to be transferred, a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction is generated.

4. The method according to claim 1, It is characterized in that The cross-chain asset transfer event carries the asset identifier of the full-chain asset to be transferred, and the asset identifier of the full-chain asset to be transferred is generated based on the identifier prefix associated with the first business chain and the asset identifier template configured in the full-chain contract protocol; the cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event is constructed by the off-chain cross-chain service device performing an identifier verification on the asset identifier of the full-chain asset to be transferred carried by the cross-chain asset transfer event based on the identifier prefix and the asset identifier template, and the identifier verification is successful.

5. The method according to claim 1, It is characterized in that Before generating a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction, the method further includes: Calling the full-chain token airdrop contract on the first business chain through the target full-chain business contract, obtaining the first business chain token associated with the full-chain asset to be transferred, and using the obtained first business chain token as the full-chain token to be airdropped; When generating the cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction, the full-chain token to be airdropped is written into the cross-chain asset transfer event.

6. The method according to claim 1, It is characterized in that When the contract state of the target remote full-chain business contract is in a contract update state, the method further includes: Obtain a contract lock request sent by a second business object for the target remote full-chain business contract deployed on the second business chain; the second business object is a business object on the second business chain corresponding to the target remote full-chain business contract; the contract lock request is generated by the second business object after remotely locking the contract address corresponding to the target full-chain business contract in the target remote full-chain business contract deployed on the second business chain; Obtaining the target remote contract address corresponding to the target remote full-chain business contract to be locked on the second business chain from the contract locking request; Through the remote contract address locking mechanism associated with the target full-chain business contract, a remote contract address locking method for remotely locking the target remote contract address is determined in the target full-chain business contract, and the remote contract address locking method is called to remotely lock the target remote contract address corresponding to the target remote full-chain business contract, and the address state of the target remote contract address after the remote address is locked is configured as an address locked state in the target full-chain business contract; the target remote contract address in the address locked state is used to suspend receiving the full-chain assets sent by the first business object through the target full-chain business contract for cross-chain transfer.

7. The method according to claim 6, It is characterized in that When the contract status of the target remote full-chain business contract is adjusted from the contract update status to the contract update completion status, the target remote full-chain business contract in the contract update completion status is the updated target remote full-chain business contract; The updated contract address of the target remote full-chain business contract is the updated target remote contract address; The method further comprises: Obtaining a first contract binding request sent by the second business object for the updated target remote full-chain business contract deployed on the second business chain; the first contract binding request is generated by the second business object after performing remote address binding on the target contract address in the updated target remote full-chain business contract deployed on the second business chain; Obtaining the updated target remote contract address corresponding to the updated target remote full-chain business contract to be bound on the second business chain from the first contract binding request; The remote address setting interface is called through the full-chain contract protocol in the target full-chain business contract, and the updated target remote contract address is set in the remote contract address bound to the target full-chain business contract.

8. The method according to claim 7, It is characterized in that The method further comprises: Obtaining a first contract unlocking request sent by the second business object for the updated target remote full-chain business contract deployed on the second business chain; the first contract unlocking request is generated by the second business object after remote address unlocking of the target contract address in the updated target remote full-chain business contract deployed on the second business chain; Obtaining the updated target remote contract address corresponding to the updated target remote full-chain business contract to be unlocked on the second business chain from the first contract unlock request; Through the remote contract address unlocking mechanism associated with the target full-chain business contract, a remote contract address unlocking method for remotely unlocking the updated target remote contract address is determined in the target full-chain business contract, and the remote contract address unlocking method is called to remotely unlock the updated target remote contract address corresponding to the updated target remote full-chain business contract, and the address state of the updated target remote contract address after the remote address unlocking is configured as an address unlocked state in the target full-chain business contract; the updated target remote contract address in the address unlocked state is used to restart receiving the full-chain assets sent by the first business object through the target full-chain business contract for cross-chain transfer.

9. A data processing method based on multiple blockchains, It is characterized in that The multiple blockchains include a first business chain and a second business chain, the blockchain network corresponding to the first business chain is the first blockchain network, and the blockchain network corresponding to the second business chain is the second blockchain network; The second blockchain network is independent of the first blockchain network; The method is performed by a second blockchain node in the second blockchain network, and includes: Obtain a cross-chain asset reconstruction transaction corresponding to a cross-chain asset transfer event sent by a first blockchain node in the first blockchain network through an off-chain cross-chain service device; the cross-chain asset transfer event is an event corresponding to a cross-chain asset transfer transaction generated by the first blockchain node based on the target remote contract address bound to the target full-chain business contract and the full-chain asset to be transferred; the target remote contract address is obtained by the first blockchain node through the full-chain contract protocol in the target full-chain business contract; the full-chain asset to be transferred is the full-chain asset involved in the cross-chain asset transfer transaction determined by calling the target full-chain business contract when the first blockchain node obtains the full-chain asset transfer request sent by the first business object for the business transaction and determines that the business transaction is a cross-chain asset transfer transaction based on the full-chain asset transfer request; the target full-chain business contract is a full-chain business contract on the first business chain that integrates the full-chain contract protocol; the remote full-chain business contract corresponding to the target remote contract address is a full-chain business contract on the second business chain that integrates the full-chain contract protocol; Based on the cross-chain asset reconstruction transaction, the target remote full-chain business contract corresponding to the target remote contract address is determined on the second business chain, and the target remote full-chain business contract is called to generate a full-chain mapping asset corresponding to the full-chain asset to be transferred on the second business chain; the asset data information of the full-chain mapping asset is consistent with the asset data information of the target full-chain asset.

10. The method according to claim 9, It is characterized in that The cross-chain asset reconstruction transaction carries the full-chain token to be airdropped; the full-chain token to be airdropped is the first business chain token obtained by the first blockchain node through the full-chain token airdrop contract on the first business chain for the full-chain asset to be transferred; When calling the target remote full-chain business contract to generate a full-chain mapping asset corresponding to the full-chain asset to be transferred on the second business chain, the method further includes: The full-chain token airdrop contract on the second business chain is called through the target remote full-chain business contract to determine the second business chain airdrop token corresponding to the full-chain token to be airdropped, and the second business chain airdrop token is allocated to the business object corresponding to the full-chain mapped asset; the second business chain airdrop token is used to support the business object corresponding to the full-chain mapped asset to perform business operations on the full-chain mapped asset on the second business chain.

11. The method according to claim 9, It is characterized in that The method further comprises: Obtain a contract update request sent by the second business object for the target remote full-chain business contract, perform contract update processing on the target remote full-chain business contract based on the contract update request, and set the contract state of the target remote full-chain business contract to the contract update state; the second business object is a business object on the second business chain corresponding to the target remote full-chain business contract; When it is detected that the target remote full-chain business contract is in the contract update state, obtaining the target contract address corresponding to the target full-chain business contract to be locked on the first business chain; Through the remote contract address locking mechanism associated with the target remote full-chain business contract, a remote contract address locking method for remotely locking the target contract address is determined in the target remote full-chain business contract, the remote contract address locking method is called to remotely lock the target contract address, and the address state of the target contract address after the remote address is locked is configured as an address locked state in the target remote full-chain business contract; the target contract address in the address locked state is used to suspend receiving the full-chain assets sent by the updated target remote full-chain business contract for cross-chain transfer.

12. The method according to claim 11, It is characterized in that The method further comprises: Generate a contract lock request for the target remote full-chain business contract deployed on the second business chain, and send the contract lock request to the first blockchain node, so that the first blockchain node remotely locks the target remote contract address of the target remote full-chain business contract in the target full-chain business contract deployed on the first business chain.

13. The method according to claim 11, It is characterized in that The method further comprises: When it is detected that the contract state of the target remote full-chain business contract is adjusted from the contract update state to the contract update completion state, the target remote full-chain business contract in the contract update completion state is used as the updated target remote full-chain business contract; Obtain the target contract address corresponding to the target full-chain business contract to be locked on the first business chain; Through the remote contract address locking mechanism associated with the updated target remote full-chain business contract, the remote contract address locking method for remotely locking the target contract address is determined in the updated target remote full-chain business contract, the remote contract address locking method is called to remotely lock the target contract address, and the address state of the target contract address after the remote address is locked is configured as an address locked state in the updated target remote full-chain business contract; the target contract address in the address locked state is used to suspend receiving the full-chain assets sent by the updated target remote full-chain business contract for cross-chain transfer.

14. The method according to claim 13, It is characterized in that The contract address corresponding to the updated target remote full-chain business contract is the updated target remote contract address; the method further includes: Obtain a second contract binding request sent by the second business object for the updated target remote full-chain business contract, and obtain the target contract address corresponding to the target full-chain business contract to be bound on the first business chain from the second contract binding request; The remote address setting interface is called through the full-chain contract protocol in the target remote full-chain business contract, and the target contract address is set in the remote contract address bound to the updated target remote full-chain business contract.

15. The method according to claim 14, It is characterized in that The method further comprises: Obtain a second contract unlocking request sent by the second business object for the updated target remote full-chain business contract, and obtain the target contract address corresponding to the target full-chain business contract to be unlocked on the first business chain from the second contract unlocking request; Through the remote contract address unlocking mechanism associated with the updated target remote full-chain business contract, the remote contract address unlocking method for remotely unlocking the target contract address is determined in the updated target remote full-chain business contract, and the remote contract address unlocking method is called to remotely unlock the target contract address corresponding to the target full-chain business contract, and the address state of the target contract address after the remote address is unlocked is configured as an address unlocked state in the updated target remote full-chain business contract; the target contract address in the address unlocked state is used to restart receiving the full-chain assets sent by the updated target remote full-chain business contract for cross-chain transfer.

16. A data processing device based on multiple blockchains, It is characterized in that The multiple blockchains include a first business chain and a second business chain, the blockchain network corresponding to the first business chain is the first blockchain network, and the blockchain network corresponding to the second business chain is the second blockchain network; The first blockchain network is independent of the second blockchain network; The device runs on a first blockchain node in the first blockchain network, and the device includes: The full-chain asset acquisition module is used to obtain the full-chain asset transfer request sent by the first business object for the business transaction, and when it is determined that the business transaction is a cross-chain asset transfer transaction based on the full-chain asset transfer request, the target full-chain business contract on the first business chain is called, and the full-chain assets involved in the cross-chain asset transfer transaction are used as the full-chain assets to be transferred; the cross-chain asset transfer transaction is used to indicate that the full-chain assets to be transferred are transferred from the first business chain to the second business chain; A contract address determination module is used to call the full-chain contract protocol in the target full-chain business contract to determine the target remote contract address bound to the target full-chain business contract; the full-chain contract protocol is determined based on the full-chain contract protocol interface provided by the full-chain business parent contract on the first business chain; the target remote full-chain business contract corresponding to the target remote contract address is the full-chain business contract on the second business chain that integrates the full-chain contract protocol; A transfer event generation module is used to send the cross-chain asset reconstruction transaction corresponding to the cross-chain asset transfer event to the second blockchain node in the second blockchain network through the off-chain cross-chain service device when generating a cross-chain asset transfer event corresponding to the cross-chain asset transfer transaction based on the target remote contract address and the full-chain asset to be transferred, so that the second blockchain node determines the target remote full-chain business contract corresponding to the target remote contract address on the second business chain based on the cross-chain asset reconstruction transaction, and calls the target remote full-chain business contract to generate a full-chain mapping asset corresponding to the full-chain asset to be transferred on the second business chain; the asset data information of the full-chain mapping asset is consistent with the asset data information of the full-chain resource to be transferred.

17. A data processing device based on multiple blockchains, It is characterized in that The multiple blockchains include a first business chain and a second business chain, the blockchain network corresponding to the first business chain is the first blockchain network, and the blockchain network corresponding to the second business chain is the second blockchain network; The second blockchain network is independent of the first blockchain network; The device runs on a second blockchain node in the second blockchain network, and includes: A reconstruction transaction acquisition module, used to obtain a cross-chain asset reconstruction transaction corresponding to a cross-chain asset transfer event sent by a first blockchain node in the first blockchain network through an off-chain cross-chain service device; the cross-chain asset transfer event is an event corresponding to a cross-chain asset transfer transaction generated by the first blockchain node based on the target remote contract address bound to the target full-chain business contract and the full-chain asset to be transferred; the target remote contract address is obtained by the first blockchain node through the full-chain contract protocol in the target full-chain business contract; the full-chain asset to be transferred is the full-chain asset involved in the cross-chain asset transfer transaction determined by calling the target full-chain business contract when the first blockchain node obtains the full-chain asset transfer request sent by the first business object for the business transaction and determines that the business transaction is a cross-chain asset transfer transaction based on the full-chain asset transfer request; the target full-chain business contract is a full-chain business contract on the first business chain that integrates the full-chain contract protocol; the remote full-chain business contract corresponding to the target remote contract address is a full-chain business contract on the second business chain that integrates the full-chain contract protocol; A mapping asset generation module is used to determine the target remote full-chain business contract corresponding to the target remote contract address on the second business chain based on the cross-chain asset reconstruction transaction, and call the target remote full-chain business contract to generate a full-chain mapping asset corresponding to the full-chain asset to be transferred on the second business chain; the asset data information of the full-chain mapping asset is consistent with the asset data information of the target full-chain asset.

18. A computer device, It is characterized in that including memory and processor; The memory is connected to the processor, the memory is used to store a computer program, and the processor is used to call the computer program so that the computer device executes the method according to any one of claims 1 to 15.

19. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded and executed by a processor, so that a computer device having the processor executes the method according to any one of claims 1 to 15.

20. A computer program product, It is characterized in that The method comprises a computer program / instruction, which implements the method according to any one of claims 1 to 15 when executed by a processor.

Citation Information

Cited By

  • Non-linkable and variable-limit cross-chain asset transfer method

    CN120634708A