Cross-chain information generation method, cross-chain information verification method, and cross-chain information verification system

By introducing a cross-chain proof conversion component with a trusted execution environment into the blockchain network, the problem of centralized risk in cross-chain information transmission is solved, and decentralized cross-chain information generation and verification are realized, thereby improving the authenticity and security of information.

CN116366254BActive Publication Date: 2026-05-19TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2021-12-27
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

In the process of cross-chain information transmission, existing technologies rely on centralized third-party institutions for verification and confirmation, which poses a risk of centralization, and the authenticity and security of cross-chain information are difficult to guarantee.

Method used

A decentralized cross-chain information generation method is adopted. By introducing a cross-chain proof conversion component in a trusted execution environment in each blockchain network, the cross-chain information is verified and generated, ensuring the authenticity and security of the information.

Benefits of technology

It improves the trustworthiness and security of cross-chain information, reduces centralization risks, simplifies the entry threshold for new chains, and enhances the universality of cross-chain information generation and verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116366254B_ABST
    Figure CN116366254B_ABST
Patent Text Reader

Abstract

The application relates to generation and verification of cross-chain information, in particular to a cross-chain information generation method and device, computer equipment and a storage medium. The method comprises the following steps: in response to a data processing request, performing first processing in a first blockchain network of a first chain to obtain a first processing result, and performing a chain operation based on the first processing result to obtain first event information; performing first verification on the first event information by a first cross-chain proof conversion component corresponding to the first chain and running in a trusted execution environment to obtain first authentication information, and generating first cross-chain information according to the first event information and the first authentication information; and transmitting the first cross-chain information to a second cross-chain proof conversion component corresponding to a second chain and running in the trusted execution environment. The method can be decentralized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a method for generating cross-chain information, a method for verifying cross-chain information, and a system for verifying cross-chain information. Background Technology

[0002] Blockchain is essentially a distributed, decentralized, chain-based data storage system. However, with the increasing number of blockchain networks within the blockchain ecosystem, more and more "data silos" are emerging. Cross-chain technology aims to solve the problem of data transfer, exchange, and communication between two or more different blockchain networks. Different blockchain networks can transfer, exchange, and communicate data through cross-chain communication. This not only increases the scalability of blockchain networks but also reduces the cost of data sharing between them.

[0003] Ensuring the authenticity and reliability of cross-chain information is a key technical challenge in the cross-chain process. Currently, the main approach is to introduce an authoritative third-party institution as an intermediary between different blockchain networks, using this intermediary to forward and confirm cross-chain information. However, this third-party institution is a centralized intermediary, meaning that the atomicity and security of cross-chain information are guaranteed by this centralized intermediary, which carries the risk of centralization. Summary of the Invention

[0004] Therefore, it is necessary to provide a decentralized method, apparatus, computer device, and storage medium for generating cross-chain information to address the aforementioned technical problems.

[0005] A method for generating cross-chain information, the method comprising:

[0006] In response to a data processing request, a first processing is performed in the first blockchain network of the first chain to obtain a first processing result, and an on-chain operation is performed based on the first processing result to obtain first event information;

[0007] The first cross-chain proof conversion component, which runs in a trusted execution environment and corresponds to the first chain, performs a first verification on the first event information to obtain first authentication information, and generates first cross-chain information based on the first event information and the first authentication information.

[0008] The first cross-chain information is transmitted to the second cross-chain proof conversion component, which runs in a trusted execution environment and corresponds to the second chain; the first cross-chain information is used to instruct the second cross-chain proof conversion component to perform a second verification on the first cross-chain information, and when the second verification is passed, the data processing request is processed in a second way through the second blockchain network of the second chain based on the first cross-chain information.

[0009] A cross-chain information generation device, the device comprising:

[0010] The data processing module is used to respond to a data processing request, perform a first processing in the first blockchain network of the first chain, obtain a first processing result, and perform an on-chain operation based on the first processing result to obtain first event information;

[0011] The information generation module is used to perform a first verification on the first event information by using a first cross-chain proof conversion component that runs in a trusted execution environment and corresponds to the first chain, to obtain first authentication information, and to generate first cross-chain information based on the first event information and the first authentication information.

[0012] A cross-chain transmission module is used to transmit the first cross-chain information to a second cross-chain proof conversion component running in a trusted execution environment and corresponding to the second chain; the first cross-chain information is used to instruct the second cross-chain proof conversion component to perform a second verification on the first cross-chain information, and when the second verification is passed, to perform a second processing on the data processing request based on the first cross-chain information through the second blockchain network of the second chain.

[0013] In one embodiment, the data processing module further includes a first processing module, configured to, upon receiving a data processing request, invoke a first smart contract in the first blockchain network of the first chain, perform first processing on the data processing request through the first smart contract, and obtain a first processing result.

[0014] In one embodiment, the data processing module is further configured to broadcast the first processing result to blockchain nodes in the first blockchain network; through the blockchain nodes and based on the first processing result, perform consensus operations to add a new block including the first processing result to the first blockchain network; and through the first event node in the first blockchain network, obtain first event information based on the block information stored in the new block.

[0015] In one embodiment, the information generation module further includes a verification module, configured to: parse the first event information using a first cross-chain proof conversion component of the first chain to obtain a data read / write set and a message signature; determine the network public key corresponding to the first blockchain network using the first cross-chain proof conversion component, and verify the message signature based on the network public key; verify the data read / write set using the first cross-chain proof conversion component based on at least one of contract information, parameter information, and account information in the data read / write set; obtain a first verification result by combining the message signature verification result obtained after verifying the message signature and the data read / write set verification result obtained after verifying the data read / write set; and obtain corresponding first authentication information based on the first verification result.

[0016] In one embodiment, the first blockchain network includes endorsement nodes and consensus nodes, the message signature includes an endorsement signature corresponding to the endorsement node and a consensus signature corresponding to the consensus node, and the network public key includes an endorsement public key corresponding to the endorsement node and a consensus public key corresponding to the consensus node; the verification module is further configured to verify the endorsement signature corresponding to the endorsement node using the endorsement public key; and to verify the consensus signature corresponding to the consensus node using the consensus public key.

[0017] In one embodiment, the information generation module is further configured to, when the verification result of the first verification is obtained, determine the first component private key corresponding to the first cross-chain proof conversion component of the first chain; and obtain the corresponding first authentication information by using the first component private key and performing signature processing based on the verification result of the first verification.

[0018] In one embodiment, the cross-chain information generation device further includes a cross-chain module for receiving second cross-chain information transmitted by the second blockchain network of the second chain; the second cross-chain information is information obtained after performing a second processing on the data processing request; after the second cross-chain information is verified, a data processing identifier corresponding to the data processing is obtained, and an on-chain operation is performed based on the data processing identifier.

[0019] A computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in any of the cross-chain information generation methods provided in the embodiments of this application.

[0020] A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of any of the cross-chain information generation methods provided in the embodiments of this application.

[0021] A computer program product or computer program includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the steps in any of the cross-chain information generation methods provided in the embodiments of this application.

[0022] The aforementioned cross-chain information generation method, apparatus, computer device, storage medium, and computer program, in response to a data processing request, can perform a first processing on the data processing request to obtain a first processing result, and perform an on-chain operation based on the first processing result to obtain first event information. By generating the first event information, a first cross-chain proof conversion component running in a trusted environment can perform a first verification on the first event information, thereby enhancing the reliability of the first event information. By performing the first verification on the first event information, first cross-chain information including first authentication information can be generated. Since the first cross-chain information includes the first authentication information generated by the first cross-chain proof conversion component running in a trusted execution environment, the first cross-chain information can be made authentic and reliable. By generating authentic and reliable first cross-chain information, the first cross-chain information can be transmitted to a second cross-chain proof conversion component on a second chain, whereby the second cross-chain proof conversion component can further verify the authenticity and reliability of the first cross-chain information using the first authentication information, and after the further verification is passed, perform a second processing on the data processing request. Since the second processing on the data processing request is performed only after verification is passed, the security of the second processing is improved. Compared to the traditional method of ensuring the credibility of cross-chain information through a centralized third-party institution, this application addresses the issue that each chain corresponds to a cross-chain proof conversion component running in a trusted execution environment. Therefore, each chain can generate corresponding cross-chain information or verify the corresponding cross-chain information through its respective cross-chain proof conversion component, thus eliminating the risk of centralization in this application.

[0023] Furthermore, when a new chain needs to be added, the newly added chain only needs to add a cross-chain proof conversion component according to its own characteristics, without the need for a complex configuration process. This greatly lowers the barrier to joining a new chain and improves the universality of cross-chain information generation. Since this application only requires writing the corresponding verification scheme in the cross-chain proof conversion component, the authenticity of cross-chain information can be verified based on the corresponding verification scheme, thus improving the universality of cross-chain information verification.

[0024] A cross-chain information verification method, the method comprising:

[0025] Receive first cross-chain information; the first cross-chain information is generated by the first cross-chain proof conversion component, which runs in a trusted execution environment and corresponds to the first chain, through the first verification and authentication of the response process of the first blockchain network response data processing request of the first chain;

[0026] The first cross-chain information is verified a second time by a second cross-chain proof conversion component that runs in a trusted execution environment and corresponds to the second chain;

[0027] If the second verification passes, the data processing request is processed in the second blockchain network of the second chain to obtain a second processing result, and an on-chain operation is performed based on the second processing result.

[0028] The second cross-chain proof conversion component performs a third verification on the second event information obtained from the on-chain operation based on the second processing result to obtain the second authentication information.

[0029] Generate second cross-chain information based on the second event information and the second authentication information;

[0030] The second cross-chain information is returned to the first cross-chain proof conversion component of the first chain; wherein, the second cross-chain information is used to instruct the first cross-chain proof conversion component to perform a fourth verification on the second cross-chain information, and when the fourth verification is passed, the first blockchain network performs an on-chain operation based on the second cross-chain information.

[0031] A cross-chain information verification system includes a first blockchain network corresponding to a first chain and a first cross-chain proof conversion component running in a trusted execution environment, and a second blockchain network corresponding to a second chain and a second cross-chain proof conversion component running in a trusted execution environment, wherein:

[0032] The first blockchain network is used to respond to a data processing request, perform a first processing, obtain a first processing result, and perform an on-chain operation based on the first processing result to obtain first event information;

[0033] The first cross-chain proof conversion component is used to perform a first verification on the first event information to obtain first authentication information, generate first cross-chain information based on the first event information and the first authentication information, and transmit the first cross-chain information to the second cross-chain proof conversion component.

[0034] The second cross-chain proof conversion component is used to perform a second verification on the first authentication information in the first cross-chain information, and when the second verification is passed, to parse the first cross-chain information to obtain the contract parameters of the second smart contract;

[0035] The second blockchain network is used to perform a second processing on the data processing request according to the contract parameters of the second smart contract, and obtain a second processing result;

[0036] The second blockchain network is used to perform on-chain operations based on the second processing result, and to generate second event information based on the on-chain operations of the second processing result;

[0037] The second cross-chain proof conversion component is used to perform a third verification on the second event information to obtain second cross-chain information including second authentication information;

[0038] The first cross-chain proof conversion component is used to perform a fourth verification on the second authentication information in the second cross-chain information, and when the fourth verification is passed, it triggers the first blockchain network to perform an on-chain operation based on the second cross-chain information.

[0039] A cross-chain information verification device, the device comprising:

[0040] A receiving module is used to receive first cross-chain information; and to perform a second verification on the first cross-chain information through a second cross-chain proof conversion component running in a trusted execution environment and corresponding to the second chain; the first cross-chain information is generated by performing a first verification and authentication on the response process of the first blockchain network response data processing request of the first chain through the first cross-chain proof conversion component running in a trusted execution environment and corresponding to the first chain.

[0041] The on-chain module is used to perform a second processing on the data processing request in the second blockchain network of the second chain if the second verification is passed, to obtain a second processing result, and to perform an on-chain operation based on the second processing result;

[0042] Information return module: Through the second cross-chain proof conversion component, the second event information obtained from the on-chain operation based on the second processing result is verified in the third way to obtain the second authentication information; the second cross-chain information is generated according to the second event information and the second authentication information; the second cross-chain information is returned to the first cross-chain proof conversion component of the first chain; wherein, the second cross-chain information is used to instruct the first cross-chain proof conversion component to perform a fourth verification on the second cross-chain information, and when the fourth verification is passed, the on-chain operation is performed through the first blockchain network based on the second cross-chain information.

[0043] In one embodiment, the receiving module is further configured to determine a first component public key corresponding to a first cross-chain proof conversion component of the first chain; and to perform a second verification on the first authentication information in the first cross-chain information based on the first component public key using a second cross-chain proof conversion component running in a trusted execution environment and corresponding to the second chain.

[0044] In one embodiment, the on-chain module further includes a second verification module, which, when the second verification passes, parses the first cross-chain information to obtain a second smart contract and the contract parameters of the second smart contract; and in the second blockchain network of the second chain, performs a second processing on the data processing request through the second smart contract and the contract parameters to obtain a second processing result.

[0045] In one embodiment, the second verification module is further configured to: sign the contract parameters of the second smart contract using the second cross-chain proof conversion component and the second component private key corresponding to the second cross-chain proof conversion component to obtain input parameters; perform a fifth verification on the input parameters using the second smart contract in the second blockchain network and the second component public key corresponding to the second cross-chain proof conversion component; and when the fifth verification passes, perform a second processing on the data processing request using the second smart contract and the input parameters to obtain a second processing result.

[0046] In one embodiment, the information return module is further configured to perform a third verification on the second event information obtained from the on-chain operation based on the second processing result, and obtain a verification result of the third verification; determine a second component private key corresponding to the second cross-chain proof conversion component of the second chain; and sign the verification result of the third verification using the second component private key to obtain corresponding second authentication information.

[0047] In one embodiment, the cross-chain information verification device is further configured to determine the second component public key corresponding to the second cross-chain proof conversion component, and perform a fourth verification on the second authentication information in the second cross-chain information using the second component public key; when the fourth verification is successful, a data processing identifier corresponding to the data processing is obtained, and an on-chain operation is performed based on the data processing identifier.

[0048] A computer device includes a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of any of the cross-chain information verification methods provided in the embodiments of this application.

[0049] A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of any of the cross-chain information verification methods provided in the embodiments of this application.

[0050] A computer program product or computer program includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the steps in any of the cross-chain information verification methods provided in the embodiments of this application.

[0051] The aforementioned cross-chain information verification method, system, apparatus, computer device, storage medium, and computer program, by receiving first cross-chain information, can perform a second verification on the first cross-chain information based on a second cross-chain proof conversion component running in a trusted execution environment, to determine whether the first chain has correctly processed the data processing request in the first stage. By performing the second processing on the data processing request after determining that the first chain has correctly processed the data processing request in the first stage, the security of the second processing can be improved. By uploading the processing result of the second processing to the chain, second event information can be obtained, and a third verification can be performed on the second event information based on the second cross-chain proof conversion component, resulting in second cross-chain information including second authentication information. Since the second cross-chain proof conversion component runs in a trusted execution environment, the second cross-chain information generated by the second cross-chain proof conversion component is authentic and reliable. By generating authentic and reliable second cross-chain information, the second cross-chain information can be transmitted to the first cross-chain proof conversion component of the first chain, allowing the first cross-chain proof conversion component to further verify the second cross-chain information through the second authentication information, to determine whether the second chain has successfully processed the data processing request in the second stage. By determining whether the second chain has successfully processed the data processing request, the on-chain operation can be performed based on the second cross-chain information only after confirming successful second processing. This enhances the security of the on-chain operation. Since each chain in this application corresponds to a cross-chain proof conversion component running in a trusted execution environment, each chain can generate or verify corresponding cross-chain information through its respective cross-chain proof conversion component, thus eliminating the risk of centralization in this application.

[0052] Furthermore, when a new chain needs to be added, the newly added chain only needs to add a cross-chain proof conversion component according to its own characteristics, without the need for a complex configuration process. This greatly lowers the barrier to joining a new chain and improves the universality of cross-chain information generation. Since this application only requires writing the corresponding verification scheme in the cross-chain proof conversion component, the authenticity of cross-chain information can be verified based on the corresponding verification scheme, thus improving the universality of cross-chain information verification. Attached Figure Description

[0053] Figure 1 This is a diagram illustrating the application environment of a cross-chain information generation method in one embodiment.

[0054] Figure 2 This is a schematic diagram of the structure of a distributed blockchain system in one embodiment;

[0055] Figure 3 This is a schematic diagram of the block structure of one embodiment;

[0056] Figure 4 This is a flowchart illustrating a cross-chain information generation method in one embodiment;

[0057] Figure 5 This is a flowchart illustrating a cross-chain information verification method in one embodiment;

[0058] Figure 6 This is a schematic diagram of the structure of a cross-chain information verification system in one embodiment;

[0059] Figure 7 This is a flowchart illustrating a cross-chain information generation method in a specific embodiment;

[0060] Figure 8 This is a structural block diagram of a cross-chain information generation device in one embodiment;

[0061] Figure 9 This is a structural block diagram of a cross-chain information verification device in one embodiment;

[0062] Figure 10 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0063] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0064] Figure 1 This is a diagram illustrating the application environment of a cross-chain information generation method in one embodiment. (Refer to...) Figure 1This cross-chain information generation method is applied to a cross-chain information generation system 100. The cross-chain information generation system 100 includes a first chain 102 and a second chain 104. The first chain 102 includes a first blockchain network 102-1, a first gateway 102-2, and a first cross-chain proof conversion component 102-3. The second chain 104 includes a second blockchain network 104-1, a second gateway 104-2, and a second cross-chain proof conversion component 104-3. Both the first blockchain network 102-1 and the second blockchain network 104-1 consist of a shared ledger, smart contracts, event nodes, endorsement nodes, and consensus nodes. Users can initiate data processing requests through the first gateway 102-2, which can then call the first smart contract in the first blockchain network 102-1 to execute the data processing request and obtain a first processing result. The first blockchain network 102-1 can perform on-chain operations based on the first processing result. The first event node in the first blockchain network 102-1 can obtain the first event information according to the on-chain operation and send the first event information to the first cross-chain proof conversion component 102-3 of the first chain 102. The first cross-chain proof conversion component 102-3 can perform a first verification on the first event information, and after the first verification is passed, generate the first cross-chain information and send the first cross-chain information to the second gateway 104-2 in the second chain 104 through the first gateway 102-2. The second gateway 104-2 forwards the first cross-chain information to the second cross-chain proof conversion component 104-3 in the second chain 104, and performs a second verification on the first cross-chain information through the second cross-chain proof conversion component 104-3. After the second verification is passed, the second blockchain network 104-1 of the second chain 104 performs a second processing on the data processing request according to the first cross-chain information to obtain a second processing result, and then performs on-chain processing on the second processing result.

[0065] In the first chain 102, the first blockchain network 102-1, the first gateway 102-2, and the first cross-chain proof conversion component 102-3 can be directly or indirectly connected via wired or wireless communication. Similarly, in the second chain 104, the second blockchain network 104-1, the second gateway 104-2, and the second cross-chain proof conversion component 104-3 can also be directly or indirectly connected via wired or wireless communication. The first blockchain network 102-1 and the second blockchain network 104-1 may include multiple blockchain nodes. Each blockchain node, the first cross-chain proof conversion component 102-3, and the second cross-chain proof conversion component 104-3 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. This application does not impose any limitations on these aspects.

[0066] The blockchain network involved in the embodiments of this invention can be a blockchain generated based on a distributed system. Taking a distributed system as an example of a blockchain system, see [link to relevant documentation]. Figure 2 , Figure 2 This is an optional structural diagram of the distributed system 200 provided in this embodiment of the invention applied to a blockchain system. It consists of multiple blockchain nodes (any form of computing device in the network, such as servers or user terminals) and clients. The nodes form a peer-to-peer (P2P) network. The P2P protocol is an application layer protocol running on top of the Transmission Control Protocol (TCP). In the distributed system, any machine, such as a server or terminal, can join and become a blockchain node. A blockchain node includes a hardware layer, a middleware layer, an operating system layer, and an application layer.

[0067] See Figure 1 The functions of each blockchain node in the illustrated blockchain system include:

[0068] 1) Routing: A basic function of nodes used to support communication between nodes.

[0069] In addition to routing capabilities, nodes can also have the following functions:

[0070] 2) Applications are deployed in the blockchain to implement specific business needs. They record data related to the implementation of functions to form record data, carry digital signatures in the record data to indicate the source of the task data, and send the record data to other nodes in the blockchain system. When other nodes successfully verify the source and integrity of the record data, they add the record data to a temporary block.

[0071] For example, the business logic implemented by the application includes:

[0072] 2.1) A wallet is used to provide the function of conducting electronic currency transactions, including initiating transactions (i.e., sending the transaction record of the current transaction to other nodes in the blockchain system; after other nodes successfully verify the transaction, they store the transaction record data in the temporary block of the blockchain as a response to acknowledge the validity of the transaction; of course, the wallet also supports querying the remaining electronic currency in the electronic currency address;

[0073] 2.2) Shared ledger, used to provide functions such as storage, query and modification of ledger data. It sends the record data of the operation on the ledger data to other nodes in the blockchain system. After the other nodes verify the validity, as a response to acknowledge the validity of the ledger data, they store the record data in a temporary block. They can also send confirmation to the node that initiated the operation.

[0074] 2.3) Smart contracts are computerized protocols that can execute the terms of a contract. They are implemented through code deployed on a shared ledger that executes when certain conditions are met. Based on actual business needs, the code is used to complete automated transactions, such as querying the logistics status of goods purchased by a buyer and transferring the buyer's electronic money to the merchant's address after the buyer signs for the goods. Of course, smart contracts are not limited to executing contracts for transactions; they can also execute contracts for processing received information.

[0075] 3) A blockchain consists of a series of blocks that are sequentially generated. Once a new block is added to the blockchain, it will not be removed. The blocks contain the data submitted by the nodes in the blockchain system.

[0076] See Figure 3 , Figure 3 This is an optional schematic diagram of the block structure provided in this embodiment of the invention. Each block includes the hash value of the transaction records stored in this block (the hash value of this block) and the hash value of the previous block. The blocks are connected through their hash values ​​to form a blockchain. Additionally, the block may include information such as a timestamp when it was generated. A blockchain network is essentially a decentralized database, a chain of data blocks linked together using cryptographic methods. Each data block contains relevant information used to verify the validity of its information and to generate the next block.

[0077] It is worth noting that this application also relates to cloud technology. For example, the blockchain nodes in this application can be cloud servers that provide cloud computing services. Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or local area network to realize the computation, storage, processing, and sharing of data.

[0078] In one embodiment, such as Figure 4 As shown, a cross-chain information generation method is provided, which can be applied to... Figure 1 Taking the first chain in the example, the explanation includes the following steps:

[0079] In step S402, in response to the data processing request, the first processing is performed in the first blockchain network of the first chain to obtain the first processing result, and the on-chain operation is performed based on the first processing result to obtain the first event information.

[0080] In this context, a data processing request refers to a request to process data. In the blockchain field, this specifically includes storing, querying, and modifying the shared ledger provided by the blockchain. The first chain includes the first blockchain network, which refers to a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. The first blockchain network includes multiple blockchain nodes, which can be interconnected to transmit information. Each blockchain node in the first blockchain network stores the same blockchain. A blockchain consists of multiple blocks, each including a block header and a block body. The block header stores input information feature values, version numbers, timestamps, and difficulty values, while the block body stores the input information.

[0081] Specifically, when the first blockchain network of the first chain receives a data processing request, it can respond to the request, perform a first processing on the request based on the processing information included in the request, obtain a first processing result, and then perform an on-chain operation based on the first processing result to store the first processing result in each blockchain node of the first blockchain network. When performing an on-chain operation based on the first processing result, the first blockchain network can generate first event information based on the on-chain operation. Here, first event information refers to information recording block content. Block content refers to the information stored in a block. First event information can specifically include all the information contained in a block, such as block header messages, data read / write sets, etc.

[0082] In one embodiment, a user can initiate a data processing request through a first gateway. Upon receiving the request, the first gateway invokes a first blockchain network to process the request. The first chain includes not only the first blockchain network but also a first gateway, also known as a cross-chain gateway. A cross-chain gateway is a crucial component for connecting to specific types of blockchains and forwarding cross-chain information. It primarily provides core functions such as application chain adaptation, cross-chain transaction monitoring, cross-chain transaction execution, and cross-chain transaction routing. For example, when user A on the first chain wishes to transfer some resources to user B on the second chain, user A can initiate a data processing request through the first gateway of the first chain. This allows the first blockchain to process the request and deduct the amount of resources to be transferred from user A's account.

[0083] In one embodiment, the first event information can be all the information contained in a block, or it can be information after filtering all the information contained in a block. For example, subscribers can subscribe to content they are interested in, and the first blockchain network can filter all the information contained in a block based on the content subscribed to by the subscribers, using the filtered information as the first event information.

[0084] In one embodiment, in response to a data processing request, a first processing is performed in a first blockchain network of the first chain to obtain a first processing result, including: if a data processing request is received, invoking a first smart contract in the first blockchain network of the first chain, performing the first processing on the data processing request through the first smart contract, and obtaining a first processing result.

[0085] In this first blockchain network, blockchain nodes can also provide application functionality, where the specific business logic implemented by the application can be smart contracts. A smart contract is a computerized protocol, representing the terms of a contract that can be executed. Smart contracts are implemented through code deployed on a shared ledger that executes when certain conditions are met, and the code is used to automate transactions according to actual business needs. In this application, the smart contract provided by the first blockchain network is the first smart contract.

[0086] Specifically, the data processing request includes the first smart contract that the first chain needs to call, as well as the contract parameters. The first chain can respond to the data processing request and perform a first processing step. For example, the first chain can input the contract parameters into the first smart contract and obtain a first processing result through the first smart contract. For instance, when user A on the first chain wants to transfer 10 resources to user B on the second chain, the data processing request can include the contract information of the first smart contract and the contract parameters of the first smart contract. The contract information of the first smart contract can specifically be the name of the first smart contract, such as contract name: PAY. The contract parameters refer to the parameters input into the smart contract. In the example above, the contract parameters of the first smart contract can specifically be: (account A, -10), where "account A" is the account name of user A, and "-10" represents deducting 10 resources from user A's account. Thus, the first chain can input (account A, -10) into a first smart contract named PAY. The first smart contract executes the logic to deduct 10 resources from user A's account and outputs the execution result, which is then used as the first processing result. Here, resources generally refer to virtual resources corresponding to physical resources in the real world, such as storage space, computing power, e-books, bank account balances, e-wallet account balances, and cryptocurrency balances.

[0087] In one embodiment, as exemplified above, the first processing result can be either a successful resource transfer, in which user A's account has been successfully deducted 10 resources, or a failed resource transfer, in which the total amount of resources in user A's account remains unchanged.

[0088] In the above embodiments, since the first smart contract is implemented by code that is executed when certain conditions are met, the situation where the corresponding code is still executed and the first processing result is obtained when the conditions are not met can be reduced, thereby improving the accuracy of obtaining the first processing result through the first smart contract.

[0089] In one embodiment, performing an on-chain operation based on a first processing result to obtain first event information includes: broadcasting the first processing result to blockchain nodes in a first blockchain network; adding a new block containing the first processing result to the first blockchain network through the blockchain nodes and based on the first processing result; and obtaining the first event information through a first event node in the first blockchain network and according to the block information stored in the new block.

[0090] The first blockchain network may include a first event node. An event node is also called an event center. An event center refers to the node that generates event information based on the content of a new block when a new block is generated in the blockchain network. In this application, the event center in the first blockchain network is called the first event node, and the event information generated by the first event node is called the first event information. Consensus operation refers to the process of achieving blockchain consensus through a consensus mechanism. In the blockchain world, due to its decentralized design, nodes are distributed and parallel. Therefore, a consensus mechanism can be used to maintain the operational order and fairness of the blockchain network, unify the version of the blockchain network, reward users who provide resources to maintain the blockchain, and punish malicious actors. In one embodiment, the consensus mechanism can be implemented through a consensus algorithm, such as Proof-of-Work (PoW), Proof-of-Stake (PoS), or Delegated Proof of Stake (DPoS).

[0091] Specifically, when a first processing result is generated through a first smart contract, the first blockchain network can broadcast the first processing result to all blockchain nodes, enabling each blockchain node to perform consensus operations based on the first processing result. This allows a new block containing the first processing result to be added to the first blockchain network, i.e., an on-chain operation based on the first processing result. When an on-chain operation is performed based on the first processing result, the first event node in the first blockchain network can obtain the block information stored in the new block and generate first event information based on the block information stored in the new block.

[0092] In one embodiment, when a first processing result is generated and broadcast, each blockchain node in the first chain can cache the first processing result into a new block. Each blockchain node performs proof-of-work calculations to determine which blockchain node can verify the first processing result. The blockchain node that completes the proof-of-work first obtains the verification right. The blockchain node that obtains the verification right can broadcast its new block so that the other blockchain nodes can verify the new block and then append it to the blockchain. Once the blockchain nodes append the new block to the blockchain, the previously incomplete proof-of-work blocks become invalid, and each blockchain node will create a new block to continue the next round of proof-of-work calculations.

[0093] In one embodiment, when a new block is appended to the blockchain, the first event node uses the block information stored in the new block as the first event information.

[0094] In the above embodiments, by performing real-time detection on-chain operations, the first event information can be generated from the timely detection information, so that the first cross-chain information can be generated in a timely manner based on the timely generation of the first event information, thereby improving the timeliness of the first cross-chain information.

[0095] Step S404: The first event information is verified by the first cross-chain proof conversion component, which runs in the trusted execution environment and corresponds to the first chain, to obtain the first authentication information, and the first cross-chain information is generated based on the first event information and the first authentication information.

[0096] The first chain includes a first blockchain network, a first gateway, and a first cross-chain proof conversion component. The cross-chain proof conversion includes resource transfer authentication and proof conversion functions, which can authenticate resource transfers generated on the blockchain, convert the content of the transferred resources, and output general cross-chain information with authentication results. In this application, the cross-chain proof conversion component in the first chain can be referred to as the first cross-chain proof conversion component.

[0097] Specifically, upon obtaining the first event information, the first chain can perform a first verification on the first event information using a first cross-chain proof conversion component running in a trusted execution environment to obtain first authentication information. The first authentication information can be information carrying the signature of the first cross-chain proof conversion component. The first verification includes on-chain verification and execution verification. Through on-chain verification in the first verification, it can be determined whether the first processing result has been on-chain; through execution verification in the first verification, it can be determined whether the data processing request has been correctly processed through the first smart contract.

[0098] In one embodiment, this application uses a TEE (Trusted Execution Environment) as the hardware foundation. Block resource transfer verification logic and resource transfer content conversion logic run within the TEE, forming a cross-chain proof conversion component. This component authenticates and converts resource transfers occurring on the chain, outputting general cross-chain information with authentication results. This cross-chain information can be verified by proof conversion components in other TEEs. Here, TEE refers to a trusted execution environment protected by a hardware chip. The TEE has an inherent signature key to protect data privacy and authenticate data integrity and source reliability; it has memory access control and memory encryption mechanisms, meaning that external entities, including the operating system, do not have access to the memory space within the trusted computing domain; the TEE has a remote authentication mechanism to prove to a remote location that the logic running within a trusted computing environment has not been tampered with. The effect of using trusted computing is that data and program logic within the trusted computing domain cannot be spied on by the external environment unless actively output.

[0099] In one embodiment, the first gateway listens to the first event node in real time. When the first event node generates first event information, the first gateway can transmit the first event information to the first cross-chain proof conversion component so that the first cross-chain proof conversion component can perform the first verification on the first event information.

[0100] In one embodiment, a first cross-chain information is generated by a first cross-chain proof conversion component, based on first event information and first authentication information.

[0101] Cross-chain refers to the transmission, transfer, and exchange of data between two or more different blockchain networks. Cross-chain information, also known as cross-chain messages, refers to information used to enable the transmission, transfer, and exchange of data between two or more different blockchain networks. In a specific embodiment, cross-chain information may include a data processing identifier, target blockchain network information, resource transfer information (also known as transaction information), resource transfer proof (also known as transaction proof), and resource transfer time (also known as transaction time). The data processing identifier is a unique identifier that identifies the entire data processing process. For example, when the data processing process is specifically a resource transfer process, the data processing identifier can be a cross-chain resource transfer identifier (also known as the unique ID of a cross-chain transaction), thus uniquely identifying a complete resource transfer process. The target blockchain information refers to the target blockchain that needs to be accessed. In this application, the target blockchain information refers to the second blockchain network information of the second chain. Specifically, the resource transfer information may include the contract information of the first smart contract that the first blockchain network needs to call, and the contract information of the second smart contract that the second blockchain network needs to call.

[0102] Specifically, the first cross-chain proof conversion component can sign the verification result obtained from the first verification of the first event information to obtain first authentication information, and generate first cross-chain information based on the first event information and the first authentication information. The verification result of the first verification may include that the first processing result has been uploaded to the chain, and / or that the data processing request has been correctly processed through the first smart contract; the verification result of the first verification may also include that the first processing result has not been uploaded to the chain, and / or that the data processing request has not been correctly processed through the first smart contract. Correspondingly, the first authentication information may be information signed after "the first processing result has been uploaded to the chain, and / or that the data processing request has been correctly processed through the first smart contract," or information signed after "the first processing result has not been successfully uploaded to the chain, and / or that the data processing request has not been correctly processed through the first smart contract."

[0103] In one embodiment, the first cross-chain proof conversion component may also generate first authentication information when the first verification passes and suspend the generation of first authentication information when the first verification fails. For example, the first cross-chain proof conversion component may generate first authentication information indicating that "the first processing result has been uploaded to the chain and / or the data processing request has been correctly processed through the first smart contract" when the verification result based on the first verification determines that "the first processing result has been uploaded to the chain and / or the data processing request has been correctly processed through the first smart contract".

[0104] In one embodiment, the first cross-chain proof conversion component can generate first cross-chain information based on the data read / write set and the first authentication information in the first event information. The read set in the data read / write set refers to the data that needs to be read from the state database when executing a resource transfer logic in the smart contract, and the write set refers to the data that needs to be written to the state database after the smart contract is executed. The state database records the current state of all data on the chain; for example, the state database records that user A's account has 20 resources remaining.

[0105] Step S406: The first cross-chain information is transmitted to the second cross-chain proof conversion component running in the trusted execution environment and corresponding to the second chain; the first cross-chain information is used to instruct the second cross-chain proof conversion component to perform a second verification on the first cross-chain information, and when the second verification is passed, the data processing request is processed in a second way through the second blockchain network of the second chain based on the first cross-chain information.

[0106] Specifically, when generating the first cross-chain information, the first chain can send the first cross-chain information to the second chain, so that the second cross-chain proof conversion component of the second chain can perform a second verification on the first authentication information in the first cross-chain information to determine whether the first cross-chain information is trustworthy and whether the first chain has correctly performed the first processing of the data processing request. The cross-chain proof conversion component located in the second chain is called the second cross-chain proof conversion component. Further, when the verification result of the second verification indicates that the second verification is successful, that is, when the second verification result indicates that the first cross-chain information is trustworthy and determines that the first chain has correctly performed the first processing of the data processing request, the second chain performs a second processing on the data processing request based on the received first cross-chain information to obtain a second processing result.

[0107] For example, let's take the transfer of 10 resources from user A on the first chain to user B on the second chain as an example. When user A wants to transfer resources to user B, user A can initiate a data processing request through the first gateway of the first chain. This allows the first chain to call the first smart contract in the first blockchain network to execute the logic of deducting 10 resources from user A's account, resulting in a first processing result. The first chain can then perform an on-chain operation based on the first processing result. This allows the first event node to generate first event information and transmit it to the first cross-chain proof conversion component. The first cross-chain proof conversion component can perform a first verification on the first event information and generate a first cross-chain message based on the verification result. This first cross-chain message is then transmitted to the second gateway of the second chain through the first gateway. The second gateway receives the first cross-chain message and transmits it to the second cross-chain proof conversion component. This allows the second cross-chain proof conversion component to perform a second verification on the first cross-chain message. After the second verification passes, the second smart contract in the second chain executes the logic of adding 10 resources to user B's account, resulting in a second processing result. Based on this second processing result, an on-chain operation is then performed. In this way, user A can transfer 10 resources to user B in the second chain.

[0108] In the aforementioned cross-chain information generation method, in response to a data processing request, the request can undergo first processing to obtain a first processing result. Based on this result, an on-chain operation is performed to obtain first event information. By generating the first event information, a first cross-chain proof conversion component running in a trusted environment can perform first verification, thereby enhancing the reliability of the first event information. This first verification generates first cross-chain information including first authentication information. Since the first cross-chain information includes first authentication information generated by the first cross-chain proof conversion component running in a trusted execution environment, it is considered authentic and reliable. This authentic and reliable first cross-chain information can be transmitted to a second cross-chain proof conversion component on a second chain. The second cross-chain proof conversion component can then further verify the authenticity and reliability of the first cross-chain information using the first authentication information. After successful verification, the data processing request undergoes second processing. Because the second processing only occurs after successful verification, the security of the second processing is enhanced. Compared to the traditional method of ensuring the credibility of cross-chain information through a centralized third-party institution, this application addresses the issue that each chain corresponds to a cross-chain proof conversion component running in a trusted execution environment. Therefore, each chain can generate corresponding cross-chain information or verify the corresponding cross-chain information through its respective cross-chain proof conversion component, thus eliminating the risk of centralization in this application.

[0109] Furthermore, when a new chain needs to be added, the newly added chain only needs to add a cross-chain proof conversion component according to its own characteristics, without the need for a complex configuration process. This greatly lowers the barrier to joining a new chain and improves the universality of cross-chain information generation. Since this application only requires writing the corresponding verification scheme in the cross-chain proof conversion component, the authenticity of cross-chain information can be verified based on the corresponding verification scheme, thus improving the universality of cross-chain information verification.

[0110] In one embodiment, a first cross-chain proof conversion component, running in a trusted execution environment and corresponding to the first chain, performs a first verification on the first event information to obtain first authentication information. This includes: parsing the first event information using the first cross-chain proof conversion component of the first chain to obtain a data read / write set and a message signature; determining the network public key corresponding to the first blockchain network using the first cross-chain proof conversion component, and verifying the message signature based on the network public key; verifying the data read / write set using the first cross-chain proof conversion component based on at least one of contract information, parameter information, and account information in the data read / write set; obtaining a first verification result by combining the message signature verification result obtained after verifying the message signature and the data read / write set verification result obtained after verifying the data read / write set; and obtaining the corresponding first authentication information through the first verification result.

[0111] Specifically, when the first cross-chain proof conversion component obtains the first event information, it can parse the first event information to obtain the data read / write set and message signature included in the first event information. The message signature refers to the message signature included in the block header. For example, this message signature can be a signature generated by the endorsing node (referred to as the endorsement signature) or a signature generated by the consensus node (referred to as the consensus signature).

[0112] When the message signature in the first event information is obtained, the first cross-chain proof conversion component can determine the network public key corresponding to the first blockchain network and verify the message signature using the network public key to obtain the message signature verification result. Specifically, the network public key can be the public key corresponding to the endorsing node (referred to as the endorsement public key) and the public key corresponding to the consensus node (referred to as the consensus public key). When the data read / write set in the first event information is obtained, the first cross-chain proof conversion component can verify the data read / write set based on at least one of the contract information, parameter information, and account information in the data read / write set to obtain the data read / write set verification result. Further, the first cross-chain proof conversion component uses both the message signature verification result and the data read / write set verification result as the first verification result, and generates first authentication information based on the first verification result.

[0113] In one embodiment, the contract information can specifically be the contract name of the smart contract, the parameter information can specifically be the contract parameters of the smart contract, and the account information can be the account information of the user corresponding to the chain. Taking the deduction of 10 resources from account A on the first chain as an example, the data read / write set contains the account information (account A), contract information (contract name pay), and contract input parameters (deduction of 10 resources) involved in this resource transfer. The first cross-chain proof conversion component can use this information to determine whether the first chain has correctly executed the logic of deducting 10 resources from account A.

[0114] In one embodiment, endorsing nodes in the first blockchain network can generate endorsement signatures using their own private keys (referred to as endorsement private keys). Consensus nodes in the first blockchain network can generate consensus signatures using their own private keys (referred to as consensus private keys). The blockchain nodes that undertake the endorsement task in the blockchain network are the endorsement nodes. Endorsing nodes must prove their legitimacy through a valid signature of the expected information of a valid certificate. Consensus nodes refer to nodes that, in addition to completing the work of a normal time node, also need to reach consensus to update the ledger.

[0115] In the above embodiments, by verifying the message signature, it can be determined whether an on-chain operation has been performed based on the first processing result; by verifying the data read / write set, it can be determined whether the data processing logic has been correctly executed through the first smart contract. By verifying whether an on-chain operation has been performed based on the first processing result and whether the data processing logic has been correctly executed through the first smart contract, first authentication information representing whether the first processing has been correctly performed can be generated, enabling the subsequent second chain to determine whether second processing is required based on the first authentication information.

[0116] In one embodiment, the first blockchain network includes endorsement nodes and consensus nodes. The message signature includes an endorsement signature corresponding to the endorsement node and a consensus signature corresponding to the consensus node. The network public key includes an endorsement public key corresponding to the endorsement node and a consensus public key corresponding to the consensus node. The message signature is verified based on the network public key, including: verifying the endorsement signature corresponding to the endorsement node using the endorsement public key; and verifying the consensus signature corresponding to the consensus node using the consensus public key.

[0117] Specifically, the first cross-chain proof conversion component pre-stores the endorsement public keys of the endorsing nodes and the consensus public keys of the consensus nodes in the first blockchain network. The endorsement public keys can be used to verify the endorsement signature in the message signature, and the consensus public keys can be used to verify the consensus public keys in the message signature. By verifying the endorsement signature and the consensus signature, it can be determined whether the on-chain operation has been performed based on the first processing result.

[0118] In this embodiment, by verifying both the endorsement signature and the consensus signature, the comprehensiveness of the first verification can be improved, thereby further enhancing the authenticity and credibility of the first authentication information based on comprehensive verification.

[0119] In one embodiment, obtaining the corresponding first authentication information through the verification result of the first verification includes: when the verification result of the first verification is obtained, determining the first component private key corresponding to the first cross-chain proof conversion component of the first chain; and obtaining the corresponding first authentication information by using the first component private key and performing signature processing based on the verification result of the first verification.

[0120] Specifically, when the verification result of the first verification is obtained, the first cross-chain proof component can determine the first component private key associated with itself stored locally, and use the first component private key to sign the verification result of the first verification to obtain the first authentication information.

[0121] In one embodiment, the first cross-chain proof conversion component can sign the verification result of the first verification using its private key to obtain the first authentication information. That is, the first cross-chain proof conversion component can encrypt the verification result of the first verification using its private key to obtain an encrypted verification result, and use the encrypted verification result as the first authentication information. For example, taking the deduction of 10 resources from account A on the first chain as an example, the first authentication information can specifically be the encrypted message "10 resources successfully deducted from account A" or "10 resources not successfully deducted from account A".

[0122] In one embodiment, when deploying the first cross-chain proof conversion component, a pair of public and private keys corresponding to the first cross-chain proof conversion component can be generated, and the private key (also known as the first component private key) can be stored, and the public key (also known as the first component public key) can be sent to the second cross-chain proof conversion component of the second chain, so that the second cross-chain proof conversion component can perform a second verification on the first cross-chain message through the first component public key.

[0123] In the above embodiments, since the first authentication information is generated by the first cross-chain proof conversion component running in a trusted execution environment, the generated first authentication information is authentic and reliable.

[0124] In one embodiment, after transmitting the first cross-chain information to the second chain, the cross-chain information generation method further includes: receiving the second cross-chain information transmitted by the second blockchain network of the second chain; the second cross-chain information is information obtained after performing a second processing on the data processing request; obtaining a data processing identifier corresponding to the data processing, and performing on-chain operation based on the data processing identifier.

[0125] Specifically, after the second chain performs a second processing on the data processing request and obtains a second processing result, the second chain can perform an on-chain operation based on the second processing result to obtain second event information. The second cross-chain proof conversion component of the second chain can perform a third verification on the second event information in the same way as the first event information was verified, to obtain second authentication information, and generate second cross-chain information based on the second authentication information. The second chain transmits the second cross-chain information to the first chain, so that the first chain can perform a fourth verification on the second authentication information in the second cross-chain information, and after the verification is passed, it is determined that the second chain has successfully performed the second processing on the data processing request. When the first cross-chain proof conversion component determines that the second chain has successfully performed the second processing on the data processing request, the first cross-chain proof conversion component outputs data processing completion information carrying the third authentication information and sends the data processing completion information to the first gateway. The first gateway calls the first smart contract to write the data processing identifier into the blockchain. Wherein, when the data processing request is specifically a cross-chain resource transfer request, the data processing identifier can specifically be a cross-chain resource transfer identifier. Specifically, the first chain can verify the second cross-chain information in the same way that the second chain verifies the first cross-chain information, and can upload the data processing identifier to the chain in the same way that the first processing result is uploaded to the chain.

[0126] In one embodiment, when the second cross-chain proof conversion component of the second chain receives the first cross-chain information, the second cross-chain proof conversion component can verify the first authentication information in the first cross-chain information based on the first component public key of the first cross-chain proof conversion component, that is, decrypt the first authentication information using the first component public key. When the first authentication information is successfully decrypted using the first component public key, the second chain can determine that the second verification is successful, and thus perform the second processing on the data processing request using the first authentication information. For example, when the first authentication information indicates that 10 resources have been successfully deducted from user A's account, the second chain can execute the logic of adding 10 resources to user B's account; when the first authentication information indicates that 10 resources have not been successfully deducted from user A's account, the second chain does not add 10 resources to user B's account.

[0127] In one embodiment, a public-private key pair can be configured for the second cross-chain proof conversion component. The private key (also known as the second component private key) is stored locally, and the public key (also known as the second component public key) is sent to the first cross-chain proof conversion component. When the first cross-chain proof conversion component receives the second cross-chain information, it can decode the second authentication information using the second component public key. When the second authentication information is successfully decoded using the second component public key, the second chain can determine that the fourth verification has passed. The first chain can then parse the second cross-chain information to obtain a second processing result and perform on-chain operations based on this result. For example, when the second authentication information indicates that 10 resources have been successfully added to user B's account, the first chain can on-chain the information indicating that "the resource transfer task from A to user B of 10 resources has been completed."

[0128] In the above embodiments, since the on-chain operation is performed only after the second cross-chain information is verified, the security of the on-chain operation can be improved.

[0129] In one embodiment, such as Figure 5 As shown, a cross-chain information verification method is provided, which can be applied to... Figure 1 Taking the second chain as an example, the explanation includes the following steps:

[0130] Step S502: Receive first cross-chain information; the first cross-chain information is generated by the first cross-chain proof conversion component, which runs in a trusted execution environment and corresponds to the first chain, through the first verification and authentication of the response process of the first blockchain network response data processing request of the first chain.

[0131] Specifically, when the first chain generates the first cross-chain information, the first gateway of the first chain can transmit the first cross-chain information to the second gateway of the second chain, so that the second gateway can send the first cross-chain information to the second cross-chain proof conversion component of the second chain.

[0132] Step S504: The first cross-chain information is verified a second time by using a second cross-chain proof conversion component that runs in a trusted execution environment and corresponds to the second chain.

[0133] Specifically, when the second cross-chain proof conversion component obtains the first cross-chain information, the second cross-chain proof conversion component can extract the first authentication information from the first cross-chain information, and perform a second verification on the first authentication information using the first component public key of the first cross-chain proof conversion component to obtain the verification result of the second verification.

[0134] In one embodiment, since the first authentication information is generated based on the first component private key of the first cross-chain proof conversion component, the second cross-chain proof conversion component can decrypt the first authentication information using the first component public key that matches the first component private key, obtain the decryption result, and use the decryption result as the verification result of the second verification.

[0135] Step S506: If the second verification passes, the data processing request is processed in the second blockchain network of the second chain to obtain the second processing result, and the on-chain operation is performed based on the second processing result.

[0136] Specifically, if the second verification passes, that is, if the first authentication information is successfully decrypted using the public key of the first component, the second chain can parse the first cross-chain message to obtain the second smart contract that the second chain needs to call, as well as the contract parameters of the second smart contract. These contract parameters are then input into the second smart contract to perform a second processing of the data processing request and obtain a second processing result. For ease of understanding, this application refers to the smart contract in the second chain as the second smart contract.

[0137] Furthermore, when the second processing result is obtained, the second chain can perform an on-chain operation based on the second processing result, concatenating a new block containing the second processing result into the blockchain. Specifically, the second chain can perform the on-chain operation on the second processing result in the same manner as the first chain did on the first processing result.

[0138] Step S508: The second cross-chain proof conversion component performs a third verification on the second event information obtained from the on-chain operation based on the second processing result to obtain the second authentication information.

[0139] Specifically, upon receiving the second processing result, the second chain can add the second processing result to a new block and connect the new block to the blockchain of the second chain to achieve on-chain operation based on the second processing result. When the second event node of the second chain detects the generation of a new block, the second event node can obtain the block content of the new block and generate second event information based on the block content. In this application, the event center in the second chain is referred to as the second event node. Further, the second gateway of the second chain obtains the second event information and sends the second event information to the second cross-chain proof conversion component, so that the second cross-chain proof conversion component can perform a third verification on the second event information to obtain second authentication information. The third verification includes message signature verification and data read / write set verification. The second cross-chain proof conversion component can determine whether an on-chain operation has been performed for the second processing result through message signature verification in the third verification; and can determine whether the data processing request has been correctly processed through the second smart contract through data read / write set verification. The specific process of performing the third verification of the second event information through the second cross-chain proof conversion component can be referred to the specific process of performing the first verification of the first event information through the first cross-chain proof conversion component described above. This application's embodiments will not be repeated here.

[0140] In one embodiment, the second cross-chain proof conversion component can use its private key to sign the verification result of the third verification to obtain the second authentication information. For example, when user A on the first chain transfers 10 resources to user B on the second chain, the second authentication information could be "User B's account has added 10 resources" or "User B's account has not successfully added 10 resources," etc.

[0141] In one embodiment, the second cross-chain proof conversion component can generate second authentication information when the third verification passes; and suspend the generation of second authentication information when the third verification fails.

[0142] Step S510: Generate second cross-chain information based on the second event information and the second authentication information.

[0143] Specifically, the second cross-chain proof conversion component can generate second cross-chain information based on the second event information and the second authentication information. For example, the second cross-chain proof conversion component can generate second cross-chain information based on the data read / write set in the second event information and the second authentication information carrying the signature of the second component's private key.

[0144] Step S512: Return the second cross-chain information to the first cross-chain proof conversion component of the first chain; wherein, the second cross-chain information is used to instruct the first cross-chain proof conversion component to perform a fourth verification on the second cross-chain information, and when the fourth verification is passed, perform the on-chain operation based on the second cross-chain information through the first blockchain network.

[0145] Specifically, when the second cross-chain information is generated, the second gateway of the second chain sends the second cross-chain information to the first gateway of the first chain, so that the first gateway transmits the second cross-chain information to the first cross-chain proof conversion component. The first cross-chain proof conversion component extracts the second authentication information from the second cross-chain information and performs a fourth verification on the second authentication information using the public key of the second component. When the public key of the second component successfully decrypts the second authentication information, the fourth verification is considered to have passed. At this point, the second chain has correctly performed the second processing of the data processing request. Therefore, the first chain can consider the data processing request to have been completed and perform on-chain operations based on the second cross-chain information.

[0146] For example, let's take the transfer of 10 resources from user A on the first chain to user B on the second chain as an example. When user A wants to transfer resources to user B, user A can initiate a data processing request through the first gateway of the first chain. This will cause the first chain to execute the logic of deducting 10 resources from user A's account and generate first cross-chain information including first authentication information. When the second chain receives the first cross-chain information and determines based on the first authentication information that the first chain has deducted 10 resources from user A's account, the second chain can then execute the logic of adding 10 resources to user B's account and generate second cross-chain information including second authentication information, which will then be sent to the first chain. The first chain can determine whether the second chain has successfully added 10 resources from user B's account based on the second authentication information in the second cross-chain information. When it is determined that the second chain has successfully added 10 resources from user B's account, the cross-chain resource transfer task of "user A transferring 10 resources to user B on the second chain" can be considered to have been completed. At this time, the first chain extracts a resource transfer identifier from the second cross-chain information to uniquely identify the entire resource transfer process and adds the resource transfer identifier to a new block, which is then added to the blockchain. When the first gateway detects that the new block with the added resource transfer identifier has been successfully uploaded to the chain, the first gateway can send a resource transfer success message to user A so that user A can determine that the resource transfer has been successful based on this information.

[0147] In this embodiment, by receiving the first cross-chain information, a second verification can be performed on the first cross-chain information based on a second cross-chain proof conversion component running in a trusted execution environment to determine whether the first chain has correctly processed the data processing request. By performing the second processing on the data processing request only after confirming that the first chain has correctly processed it, the security of the second processing can be improved. By uploading the processing result of the second processing to the blockchain, second event information can be obtained. A third verification is then performed on this second event information based on the second cross-chain proof conversion component to obtain second cross-chain information including second authentication information. Because the second cross-chain proof conversion component runs in a trusted execution environment, the second cross-chain information generated by the second cross-chain proof conversion component is authentic and reliable. By generating authentic and reliable second cross-chain information, the second cross-chain information can be transmitted to the first cross-chain proof conversion component of the first chain, allowing the first cross-chain proof conversion component to further verify the second cross-chain information using the second authentication information to determine whether the second chain has successfully processed the data processing request. By determining whether the second chain has successfully processed the data processing request, the on-chain operation can be performed based on the second cross-chain information only after confirming successful second processing. This enhances the security of the on-chain operation. Since each chain in this application corresponds to a cross-chain proof conversion component running in a trusted execution environment, each chain can generate or verify corresponding cross-chain information through its respective cross-chain proof conversion component, thus eliminating the risk of centralization in this application.

[0148] Furthermore, when a new chain needs to be added, the newly added chain only needs to add a cross-chain proof conversion component according to its own characteristics, without the need for a complex configuration process. This greatly lowers the barrier to joining a new chain and improves the universality of cross-chain information generation. Since this application only requires writing the corresponding verification scheme in the cross-chain proof conversion component, the authenticity of cross-chain information can be verified based on the corresponding verification scheme, thus improving the universality of cross-chain information verification.

[0149] In one embodiment, the second verification of the first cross-chain information is performed by a second cross-chain proof conversion component running in a trusted execution environment and corresponding to the second chain, including: determining a first component public key corresponding to the first cross-chain proof conversion component of the first chain; and performing a second verification of the first authentication information in the first cross-chain information based on the first component public key by the second cross-chain proof conversion component running in a trusted execution environment and corresponding to the second chain.

[0150] Specifically, when the first cross-chain information is obtained, the second cross-chain proof conversion component of the second chain can determine the first component public key corresponding to the first cross-chain proof conversion component based on the component identifier of the first cross-chain proof conversion component of the first chain, and perform a second verification on the first authentication information in the first cross-chain information using the first component public key. For example, the first authentication information can be decoded using the first component public key to obtain the verification result of the second verification.

[0151] In this embodiment, since the first component public key and the first component private key are a paired public-private key pair, and the first authentication information is generated through the first component private key, the second cross-chain proof conversion component only needs to verify the first cross-chain information through the first component public key to confirm the authenticity and credibility of the first cross-chain information, thereby improving the efficiency of confirming the authenticity and credibility of the first cross-chain information.

[0152] In one embodiment, if the second verification passes, the data processing request is processed in the second blockchain network of the second chain to obtain a second processing result, including: when the second verification passes, parsing the first cross-chain information to obtain the second smart contract and the contract parameters of the second smart contract; and in the second blockchain network of the second chain, processing the data processing request in the second chain using the second smart contract and the contract parameters to obtain a second processing result.

[0153] Specifically, when the second verification passes, that is, when the first component's public key successfully decodes the first authentication information, the second chain can parse the first cross-chain information to obtain the second smart contract and the first processing result, and determine the contract parameters of the second smart contract based on the first processing result. Further, the second blockchain network of the second chain inputs the extracted contract parameters into the second smart contract, and the second smart contract performs a second processing on the data processing request based on the input contract parameters to obtain the second processing result. For example, the contract name of the second smart contract can be: SAVE. The specific input parameters of the second smart contract can be: (Account B, +10), where "Account B" is the account name of user B, and "+10" represents adding 10 resources to user B's account. Thus, the second blockchain network can input (Account B, +10) into the second smart contract named SAVE, execute the logic of adding 10 resources to user B's account through the second smart contract, and output the execution result of this logic, using this execution result as the second processing result.

[0154] In this embodiment, since the second smart contract is implemented by code that is executed when certain conditions are met, the situation where the corresponding code is still executed and the second processing result is obtained when the conditions are not met can be reduced. Thus, the accuracy of obtaining the second processing result through the second smart contract is improved.

[0155] In one embodiment, when the second verification passes, after parsing the first cross-chain information to obtain the second smart contract and its contract parameters, the method further includes: signing the contract parameters of the second smart contract using the second cross-chain proof conversion component and the second component private key corresponding to the second cross-chain proof conversion component to obtain input parameters; and performing second processing on the data processing request in the second blockchain network of the second chain using the second smart contract and the contract parameters to obtain a second processing result, including: performing a fifth verification on the input parameters using the second smart contract in the second blockchain network and the second component public key corresponding to the second cross-chain proof conversion component; and when the fifth verification passes, performing second processing on the data processing request using the second smart contract and the input parameters to obtain a second processing result.

[0156] Specifically, when the second cross-chain proof conversion component performs a second verification on the first cross-chain information, and obtains the contract parameters of the second smart contract after the second verification passes, the second cross-chain proof conversion component can sign the contract parameters using its private key to obtain input parameters. For example, the second cross-chain proof conversion component can encrypt the contract parameters using its private key to obtain encrypted contract parameters, and use the encrypted contract parameters as input parameters. Further, the second cross-chain proof conversion component sends the input parameters to the second gateway, causing the second gateway to call the second smart contract, which then performs a fifth verification on the input parameters. For example, the second smart contract can decrypt the input parameters using its public key to obtain decrypted input parameters. When the fifth verification is confirmed to be successful, that is, when the second component's public key successfully decrypts the input parameters, the second chain inputs the decrypted input parameters into the second smart contract, so that the second smart contract can perform a second processing on the data processing request to obtain a second processing result.

[0157] In this embodiment, by signing the contract parameters before transmitting them to the second gateway, the probability of the contract parameters being maliciously tampered with during transmission can be reduced. By verifying the contract parameters at the second smart contract before performing the second processing based on those parameters, the possibility of performing the second processing based on the tampered contract parameters can be reduced, thereby improving the security of the second processing.

[0158] In one embodiment, performing a third verification on the second event information obtained from the on-chain operation based on the second processing result to obtain second authentication information includes: performing a third verification on the second event information obtained from the on-chain operation based on the second processing result to obtain a verification result of the third verification; determining a second component private key corresponding to the second cross-chain proof conversion component of the second chain; and signing the verification result of the third verification using the second component private key to obtain the corresponding second authentication information.

[0159] Specifically, when the second cross-chain proof conversion component performs a third verification on the second event information and obtains the verification result of the third verification, the second cross-chain proof conversion component obtains the private key of the second component and signs the verification result of the third verification using the private key of the second component to obtain the second authentication information. In one embodiment, the second cross-chain proof conversion component may generate the second authentication information again when the third verification passes.

[0160] In the above embodiments, the second authentication information is generated by the private key of the second component, which makes the second cross-chain information generated based on the second authentication information authentic and trustworthy.

[0161] In one embodiment, after returning the second cross-chain information to the first cross-chain proof conversion component of the first chain, the above method further includes: determining the second component public key corresponding to the second cross-chain proof conversion component, and performing a fourth verification on the second authentication information in the second cross-chain information using the second component public key; when the fourth verification is successful, obtaining the data processing identifier corresponding to the data processing, and performing on-chain operation based on the data processing identifier.

[0162] Specifically, when the first cross-chain proof conversion component receives the second cross-chain information sent by the second chain, in order to determine the authenticity of the second cross-chain information, the first cross-chain proof conversion component can perform a fourth verification on the second authentication information in the second cross-chain information using the public key of the second component. That is, it can decrypt the second authentication information using the public key of the second component. When the second authentication information is successfully decrypted using the public key of the second component, the fourth verification is considered to be successful. At this time, the first cross-chain proof conversion component outputs data processing completion information carrying the third authentication information and sends the data processing completion information to the first gateway. The first gateway calls the first smart contract to write the data processing identifier into the blockchain.

[0163] In this embodiment, since the on-chain operation is performed based on the data processing identifier after the fourth verification is passed, the security of the on-chain operation can be improved.

[0164] In one embodiment, such as Figure 6As shown, a cross-chain information verification system is provided. The system includes a first blockchain network corresponding to a first chain and a first cross-chain proof conversion component running in a trusted execution environment, as well as a second blockchain network corresponding to a second chain and a second cross-chain proof conversion component running in a trusted execution environment. The first blockchain network is used to perform a first processing in response to a data processing request, obtain a first processing result, and perform an on-chain operation based on the first processing result to obtain first event information. The first cross-chain proof conversion component is used to perform a first verification on the first event information to obtain first authentication information, and generate first cross-chain information based on the first event information and the first authentication information, and transmit the first cross-chain information to the second cross-chain proof conversion component. The second cross-chain proof conversion component is used to verify the first event information... The first authentication information in the cross-chain information undergoes a second verification, and upon successful second verification, the first cross-chain information is parsed to obtain the contract parameters of the second smart contract. A second blockchain network is used to perform a second processing of the data processing request based on the contract parameters of the second smart contract, obtaining a second processing result. The second blockchain network is used to perform an on-chain operation based on the second processing result, and generates second event information based on the on-chain operation of the second processing result. A second cross-chain proof conversion component is used to perform a third verification of the second event information, obtaining second cross-chain information including the second authentication information. A first cross-chain proof conversion component is used to perform a fourth verification of the second authentication information in the second cross-chain information, and upon successful fourth verification, triggers the first blockchain network to perform an on-chain operation based on the second cross-chain information.

[0165] Specifically, refer to Figure 6The cross-chain information verification system may include a first chain and a second chain. The first chain includes a first blockchain network 601 and a first cross-chain proof conversion component 602 running in a trusted execution environment. The second chain includes a second blockchain network 603 and a second cross-chain proof conversion component 604 running in a trusted execution environment. The first blockchain network 601 can generate first event information in response to a data processing request. The first cross-chain proof conversion component can perform a first verification on the first event information to obtain first authentication information, and generate first cross-chain information using the first authentication information. The second cross-chain proof conversion component can determine the authenticity and credibility of the first cross-chain information through the first authentication information, and determine whether the first chain has correctly executed the first processing for the data processing request. Therefore, when the first cross-chain information is determined to be authentic and credible, and the first chain has correctly executed the first processing, the second blockchain network is triggered to perform a second processing on the data processing request, obtaining a second processing result. Based on the second processing result, an on-chain operation is performed to obtain the second event information. The second cross-chain proof conversion component performs a third verification on the second event information and generates second cross-chain information based on the verification result. This second cross-chain information is then sent to the first cross-chain proof conversion component, enabling the first component to determine the authenticity and credibility of the second cross-chain information based on the second authentication information, and to determine whether the second chain has correctly executed the second processing in response to the data processing request. When the first cross-chain proof conversion component determines the authenticity and credibility of the second cross-chain information and confirms that the second chain has correctly executed the second processing in response to the data processing request, the first chain can determine that the data processing request has been completed and, based on the second cross-chain information, add an identifier indicating that the data processing request has been completed to the blockchain.

[0166] The aforementioned cross-chain information verification system, by acquiring a data processing request, can perform a first processing on the data processing request through a first blockchain network to obtain a first processing result, and then upload the first processing result to the blockchain to obtain first event information. Based on this first event information, a first cross-chain proof conversion component running in a trusted execution environment can perform a first verification on the first event information to obtain reliable first authentication information, and then generate authentic and reliable first cross-chain information based on the first authentication information. By generating the first cross-chain information, a second cross-chain proof conversion component can verify the authenticity of the first cross-chain information. Therefore, only when the authenticity and reliability of the first cross-chain information are confirmed will a second processing be performed based on it, thus improving the security of the second processing. By performing the second processing, second event information can be obtained. Based on this second event information, a third verification can be performed on the second event information using a second cross-chain proof conversion component running in a trusted execution environment to obtain reliable second authentication information, and then generate authentic and reliable second cross-chain information based on the second authentication information. By generating second cross-chain information, the authenticity of the second cross-chain information can be verified by the first cross-chain proof conversion component. Only when the authenticity and reliability of the second cross-chain information are confirmed will on-chain operations be performed based on it, thus improving the security of on-chain operations. Since each chain in this application corresponds to a cross-chain proof conversion component running in a trusted execution environment, each chain can generate its own cross-chain information through its respective cross-chain proof conversion component, thereby eliminating the risk of centralization in this application.

[0167] In one embodiment, the cross-chain information verification system includes a first gateway corresponding to a first chain and a second gateway corresponding to a second chain. The first gateway is used to obtain a data processing request and call a first smart contract to perform a first processing on the data processing request through the first smart contract to obtain a first processing result. The first gateway is also used to forward the first cross-chain information to the second gateway. The second gateway is used to send the first cross-chain information to a second cross-chain proof conversion component. The second gateway is also used to send the second cross-chain information generated by the second cross-chain proof conversion component to the first gateway, so that the first gateway forwards the second cross-chain information to the first cross-chain proof conversion component.

[0168] Specifically, refer to Figure 6The cross-chain information verification system also includes a first gateway 605 corresponding to the first chain and a second gateway 606 corresponding to the second chain. Both the first and second gateways encapsulate the corresponding blockchain network's SDK (Software Development Kit) for initiating requests to and receiving event information from the corresponding blockchain network. For example, when a user initiates a data processing request through the first gateway, the first gateway can call a first smart contract through the pre-deployed SDK to perform the first processing on the data processing request and obtain the first processing result. Furthermore, when the first cross-chain proof conversion component generates first cross-chain information, the first gateway can send this information to the second gateway, allowing the second gateway to forward it to the second cross-chain proof conversion component. When the second cross-chain proof conversion component generates second cross-chain information, the second gateway can also send it to the first proof conversion component, allowing the first proof conversion component to verify the second cross-chain information.

[0169] In this embodiment, by setting up a first gateway and a second gateway in the system, the first and second gateways can act as intermediaries for internal and external transmission of generated information, thereby enabling cross-chain resource transfer through the transmitted information. Furthermore, since this application uses a cross-chain gateway and a cross-chain proof conversion component running in the TEE to forward cross-chain messages and transfer trust between chains, compared to message synchronization through relay chain consensus, this application can reduce deployment costs while increasing message transmission speed.

[0170] This application also provides an application scenario in which the above-described cross-chain information generation method is applied. Specifically, the application of the cross-chain information generation method in this scenario is as follows:

[0171] When user A wishes to purchase material B, user A can initiate a data processing request through the first chain. The first chain can then process this request to deduct the required resources for purchasing material B from user A's account. The first cross-chain proof conversion component in the first chain verifies this first processing, obtains first authentication information, generates first cross-chain information based on this information, and transmits this information to the second chain. The second cross-chain proof conversion component in the second chain verifies the first cross-chain information to determine whether the first chain has already deducted the required resources for purchasing material B from user A's account. Upon confirming that the first chain has deducted the required resources, the second chain triggers a second processing of the data processing request to modify the inventory of material B, subtracting the quantity of material A purchased from the total inventory of material B.

[0172] This application also provides another application scenario in which the aforementioned cross-chain information verification method is applied. Specifically, the cross-chain information verification method is applied in this scenario as follows:

[0173] In the gaming field, when user A wants to purchase virtual item B, user A can trigger a data processing request through a first chain. This request undergoes initial processing on the first chain to deduct the required resources for purchasing virtual item B from user A's account. A first cross-chain proof conversion component in the first chain verifies this initial processing, obtains first authentication information, generates first cross-chain information based on this information, and transmits it to a second chain. A second cross-chain proof conversion component in the second chain verifies the first cross-chain information to determine whether the first chain has already deducted the required resources for purchasing virtual item B from user A's account. When the second cross-chain proof conversion component determines that the first chain has deducted the required resources from user A's account, it triggers a second processing of the data processing request on the second chain. This second processing subtracts the quantity of virtual item B purchased by user A from the total inventory of virtual item B, yielding a second processing result. Based on this second processing result, an on-chain operation is performed to obtain second event information. The second cross-chain proof conversion component generates second cross-chain information based on the second event information and transmits the second cross-chain information to the first chain. Thus, after the first chain determines that the data processing request has been correctly processed based on the second cross-chain information, it increases the quantity of virtual item B purchased by user A in user A's account.

[0174] The above application scenarios are merely illustrative. It is understood that the application of the business-related data reporting methods provided in the embodiments of this application is not limited to the above scenarios.

[0175] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data shall comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0176] In one specific embodiment, reference Figure 7 The aforementioned cross-chain information generation methods include:

[0177] S702, if a data processing request is received, the first smart contract in the first blockchain network of the first chain is invoked, and the data processing request is processed through the first smart contract to obtain the first processing result.

[0178] S704, broadcast the first processing result to each blockchain node through the first blockchain network; through the blockchain nodes, and based on the first processing result, perform consensus operations to add a new block containing the first processing result to the first blockchain network.

[0179] S706, obtain the first event information through the first event node in the first blockchain network and based on the block information stored in the new block.

[0180] S708, the first blockchain network includes endorsement nodes and consensus nodes. The message signature includes the endorsement signature corresponding to the endorsement node and the consensus signature corresponding to the consensus node. The network public key includes the endorsement public key corresponding to the endorsement node and the consensus public key corresponding to the consensus node. The first cross-chain proof conversion component verifies the endorsement signature corresponding to the endorsement node based on the endorsement public key. The consensus signature corresponding to the consensus node is verified based on the consensus public key.

[0181] S710 verifies the data read / write set by using the first cross-chain proof conversion component based on at least one of the contract information, parameter information, and account information in the data read / write set; and obtains the first verification result by combining the message signature verification result obtained after verifying the message signature and the data read / write set verification result obtained after verifying the data read / write set.

[0182] S712, when the verification result of the first verification is obtained, determine the first component private key corresponding to the first cross-chain proof conversion component of the first chain; through the first cross-chain proof conversion component, and based on the first component private key, perform signature processing on the verification result of the first verification to obtain the corresponding first authentication information.

[0183] S714, the first cross-chain proof conversion component generates first cross-chain information based on the first event information and the first authentication information, and sends the first cross-chain information to the second cross-chain proof component of the second chain.

[0184] S716, the first cross-chain information is verified in the second cross-chain proof conversion component, which runs in the trusted execution environment and corresponds to the second chain; if the second verification is successful, the data processing request is processed in the second blockchain network of the second chain to obtain the second processing result, and the on-chain operation is performed based on the second processing result.

[0185] S718, through the second cross-chain proof conversion component, performs a third verification on the second event information obtained from the on-chain operation based on the second processing result, and generates second authentication information based on the verification result of the third verification; generates second cross-chain information based on the second event information and the second authentication information.

[0186] S720 receives the second cross-chain information transmitted by the second blockchain network of the second chain through the first cross-chain proof conversion component of the first chain, and after verifying the second cross-chain information, parses the second cross-chain information through the first blockchain network to obtain the data processing identifier, and performs on-chain operation based on the data processing identifier.

[0187] Since each chain in this application corresponds to a cross-chain proof conversion component running in a trusted execution environment, each chain can generate or verify corresponding cross-chain information through its respective cross-chain proof conversion component, thus eliminating the risk of centralization. Furthermore, when a new chain is added, the new chain only needs to add a cross-chain proof conversion component according to its characteristics, without requiring a complex configuration process, significantly lowering the barrier to entry for joining a new chain and improving the versatility of cross-chain information generation. Since this application only requires writing a corresponding verification scheme in the cross-chain proof conversion component, the authenticity of cross-chain information can be verified based on the corresponding verification scheme, thereby improving the versatility of cross-chain information verification.

[0188] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0189] In one embodiment, such as Figure 8 As shown, a cross-chain information generation device 800 is provided. This device can be a software module, a hardware module, or a combination of both as part of a computer device. Specifically, the device includes: a data processing module 802, an information generation module 804, and a cross-chain transmission module 806, wherein:

[0190] The data processing module 802 is used to respond to a data processing request, perform first processing in the first blockchain network of the first chain, obtain a first processing result, and perform on-chain operation based on the first processing result to obtain first event information.

[0191] The information generation module 804 is used to perform a first verification on the first event information through a first cross-chain proof conversion component running in a trusted execution environment and corresponding to the first chain, to obtain first authentication information, and to generate first cross-chain information based on the first event information and the first authentication information.

[0192] The cross-chain transmission module 806 is used to transmit the first cross-chain information to the second cross-chain proof conversion component, which runs in a trusted execution environment and corresponds to the second chain; the first cross-chain information is used to instruct the second cross-chain proof conversion component to perform a second verification on the first cross-chain information, and when the second verification is passed, the data processing request is processed in a second way through the second blockchain network of the second chain based on the first cross-chain information.

[0193] Since each chain in this device corresponds to a cross-chain proof conversion component running in a trusted execution environment, each chain can generate corresponding cross-chain information or verify the corresponding cross-chain information through its respective cross-chain proof conversion component, thereby making this application free from the risk of centralization.

[0194] In one embodiment, the data processing module 802 further includes a first processing module 8021, which, if a data processing request is received, invokes a first smart contract in the first blockchain network of the first chain to perform first processing on the data processing request through the first smart contract and obtains a first processing result.

[0195] In one embodiment, the data processing module 802 is further configured to broadcast the first processing result to a blockchain node in the first blockchain network; add a new block containing the first processing result to the first blockchain network through the blockchain node and based on the consensus operation of the first processing result; and obtain the first event information through the first event node in the first blockchain network and based on the block information stored in the new block.

[0196] In one embodiment, the information generation module 804 further includes a message verification module 8041, configured to: parse the first event information using a first cross-chain proof conversion component of the first chain to obtain a data read / write set and a message signature; determine the network public key corresponding to the first blockchain network using the first cross-chain proof conversion component, and verify the message signature based on the network public key; verify the data read / write set using the first cross-chain proof conversion component based on at least one of contract information, parameter information, and account information in the data read / write set; obtain a first verification result by combining the message signature verification result obtained after verifying the message signature and the data read / write set verification result obtained after verifying the data read / write set; and obtain corresponding first authentication information based on the first verification result.

[0197] In one embodiment, the first blockchain network includes endorsement nodes and consensus nodes; the message signature includes an endorsement signature corresponding to the endorsement node and a consensus signature corresponding to the consensus node; the network public key includes an endorsement public key corresponding to the endorsement node and a consensus public key corresponding to the consensus node; the message verification module 8041 is further configured to verify the endorsement signature corresponding to the endorsement node using the endorsement public key; and to verify the consensus signature corresponding to the consensus node using the consensus public key.

[0198] In one embodiment, the information generation module 804 is further configured to, when the verification result of the first verification is obtained, determine the first component private key corresponding to the first cross-chain proof conversion component of the first chain; and obtain the corresponding first authentication information by using the first component private key and performing signature processing based on the verification result of the first verification.

[0199] In one embodiment, the cross-chain information generation device 800 further includes an information cross-chain module 808, which is used to receive second cross-chain information transmitted by the second blockchain network of the second chain; the second cross-chain information is information obtained after performing a second processing on the data processing request; after the second cross-chain information is verified, a data processing identifier corresponding to the data processing is obtained, and an on-chain operation is performed based on the data processing identifier.

[0200] In one embodiment, such as Figure 9 As shown, a cross-chain information verification device 900 is provided. This device can be a software module, a hardware module, or a combination of both as part of a computer device. Specifically, the device includes: a receiving module 902, an on-chain module 904, and an information return module 906, wherein:

[0201] The receiving module 902 is used to receive the first cross-chain information; and to perform a second verification on the first cross-chain information through a second cross-chain proof conversion component running in a trusted execution environment and corresponding to the second chain; the first cross-chain information is generated by performing a first verification and authentication on the response process of the first blockchain network response data processing request of the first chain through the first cross-chain proof conversion component running in a trusted execution environment and corresponding to the first chain.

[0202] The on-chain module 904 is used to perform a second processing on the data processing request in the second blockchain network of the second chain if the second verification is passed, obtain a second processing result, and perform an on-chain operation based on the second processing result.

[0203] Information return module 906: Through the second cross-chain proof conversion component, the second event information obtained from the on-chain operation based on the second processing result is verified in the third way to obtain the second authentication information; the second cross-chain information is generated according to the second event information and the second authentication information; the second cross-chain information is returned to the first cross-chain proof conversion component of the first chain; wherein, the second cross-chain information is used to instruct the first cross-chain proof conversion component to perform a fourth verification on the second cross-chain information, and when the fourth verification is passed, the on-chain operation is performed through the first blockchain network based on the second cross-chain information.

[0204] Since each chain in this device corresponds to a cross-chain proof conversion component running in a trusted execution environment, each chain can generate corresponding cross-chain information or verify the corresponding cross-chain information through its respective cross-chain proof conversion component, thereby making this application free from the risk of centralization.

[0205] In one embodiment, the receiving module 902 is further configured to determine the first component public key corresponding to the first cross-chain proof conversion component of the first chain; and to perform a second verification on the first authentication information in the first cross-chain information based on the first component public key through the second cross-chain proof conversion component running in a trusted execution environment and corresponding to the second chain.

[0206] In one embodiment, the on-chain module 904 further includes a second verification module 9041, which is used to parse the first cross-chain information when the second verification is passed, to obtain the second smart contract and the contract parameters of the second smart contract; and to perform second processing on the data processing request in the second blockchain network of the second chain through the second smart contract and the contract parameters, to obtain the second processing result.

[0207] In one embodiment, the second verification module 9041 is further configured to: sign the contract parameters of the second smart contract using the second cross-chain proof conversion component and the second component private key corresponding to the second cross-chain proof conversion component to obtain input parameters; perform a fifth verification on the input parameters using the second smart contract in the second blockchain network and the second component public key corresponding to the second cross-chain proof conversion component; and when the fifth verification passes, perform a second processing on the data processing request using the second smart contract and the input parameters to obtain a second processing result.

[0208] In one embodiment, the information return module 906 is further configured to perform a third verification on the second event information obtained from the on-chain operation based on the second processing result, and obtain the verification result of the third verification; determine the second component private key corresponding to the second cross-chain proof conversion component of the second chain; and sign the verification result of the third verification using the second component private key to obtain the corresponding second authentication information.

[0209] In one embodiment, the cross-chain information verification device 900 is further configured to determine the second component public key corresponding to the second cross-chain proof conversion component, and to perform a fourth verification on the second authentication information in the second cross-chain information using the second component public key; when the fourth verification is successful, a data processing identifier corresponding to the data processing is obtained, and an on-chain operation is performed based on the data processing identifier.

[0210] Specific limitations regarding the cross-chain information generation and verification devices can be found in the limitations of the cross-chain information generation and verification methods described above, and will not be repeated here. Each module in the aforementioned cross-chain information generation and verification devices can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device in hardware form, or stored in the memory of a computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0211] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 10 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores cross-chain information generation and verification data. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a cross-chain information generation method and a cross-chain information verification method.

[0212] Those skilled in the art will understand that Figure 10 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0213] In one embodiment, a computer device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.

[0214] In one embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0215] In one embodiment, a computer program product or computer program is provided, the computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and executes the computer instructions, causing the computer device to perform the steps in the above method embodiments.

[0216] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.

[0217] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0218] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A method for generating cross-chain information, characterized in that, The method includes: In response to a data processing request, a first processing is performed in the first blockchain network of the first chain to obtain a first processing result, and an on-chain operation is performed based on the first processing result to obtain first event information; The first event information is verified by a first cross-chain proof conversion component, which operates in a trusted execution environment protected by a hardware chip and corresponds to the first chain, to obtain a verification result. The trusted execution environment protected by the hardware chip refers to an environment used to protect data privacy and authenticate the integrity and reliability of the data source. The first verification includes on-chain verification and execution verification. The on-chain verification is used to determine whether the first processing result has been on-chain, and the execution verification is used to determine whether the data processing request has been correctly processed by the first smart contract. The verification result is signed by the first cross-chain proof conversion component to obtain the first authentication information, and the first cross-chain information is generated based on the first event information and the first authentication information. The first cross-chain information is transmitted to a second cross-chain proof conversion component that runs in a trusted execution environment protected by hardware chips and corresponds to the second chain; the first cross-chain information is used to instruct the second cross-chain proof conversion component to perform a second verification on the first authentication information in the first cross-chain information, and when the second verification is passed, the data processing request is processed in a second way according to the first cross-chain information through the second blockchain network of the second chain.

2. The method according to claim 1, characterized in that, The first processing in response to the data processing request, performing the first processing in the first blockchain network of the first chain to obtain the first processing result includes: If a data processing request is received, the first smart contract in the first blockchain network of the first chain is invoked to perform the first processing on the data processing request and obtain the first processing result.

3. The method according to claim 1, characterized in that, The step of performing an on-chain operation based on the first processing result to obtain the first event information includes: The first processing result is broadcast to the blockchain nodes in the first blockchain network; Through the blockchain node and based on the first processing result, a consensus operation is performed to add a new block containing the first processing result to the first blockchain network; The first event information is obtained through the first event node in the first blockchain network and based on the block information stored in the new block.

4. The method according to claim 1, characterized in that, The first cross-chain proof conversion component, which operates in a trusted execution environment protected by hardware chips and corresponds to the first chain, performs a first verification on the first event information to obtain a verification result. The verification result is signed by the first cross-chain proof conversion component to obtain first authentication information, including: The first event information is parsed through the first cross-chain proof conversion component of the first chain to obtain the data read / write set and message signature; The first cross-chain proof conversion component determines the network public key corresponding to the first blockchain network, and verifies the message signature based on the network public key. The first cross-chain proof conversion component verifies the data read-write set based on at least one of the contract information, parameter information, and account information in the data read-write set. The verification result of the first verification is obtained by combining the message signature verification result obtained after verifying the message signature and the data read / write set verification result obtained after verifying the data read / write set. The corresponding first authentication information is obtained through the verification result of the first verification.

5. The method according to claim 4, characterized in that, The first blockchain network includes endorsement nodes and consensus nodes. The message signature includes an endorsement signature corresponding to the endorsement node and a consensus signature corresponding to the consensus node. The network public key includes an endorsement public key corresponding to the endorsement node and a consensus public key corresponding to the consensus node. The step of verifying the message signature based on the network public key includes: The endorsement signature corresponding to the endorsement node is verified using the endorsement public key. The consensus signature corresponding to the consensus node is verified using the consensus public key.

6. The method according to claim 4, characterized in that, The first authentication information obtained through the verification result of the first verification includes: When the verification result of the first verification is obtained, the private key of the first component corresponding to the first cross-chain proof conversion component of the first chain is determined; The first authentication information is obtained by using the private key of the first component and performing a signature based on the verification result of the first verification.

7. The method according to any one of claims 1 to 6, characterized in that, The method further includes: Receive second cross-chain information transmitted from the second blockchain network of the second chain; the second cross-chain information is information obtained after performing a second processing on the data processing request. After the second cross-chain information verification, a data processing identifier corresponding to the data processing is obtained, and on-chain operation is performed based on the data processing identifier.

8. A cross-chain information verification method, characterized in that, The method includes: The system receives first cross-chain information. This first cross-chain information is generated through a first cross-chain proof conversion component, which operates in a trusted execution environment protected by a hardware chip and corresponds to the first chain, and performs a first verification and authentication on the response process of the first blockchain network of the first chain to the data processing request. The trusted execution environment protected by the hardware chip refers to an environment used to protect data privacy and authenticate the integrity and reliability of the data source. The first verification includes on-chain verification and execution verification. The on-chain verification is used to determine whether the first processing result has been on-chain, and the execution verification is used to determine whether the data processing request has been correctly processed through the first smart contract. The first authentication information in the first cross-chain information is verified by a second cross-chain proof conversion component that runs in a trusted execution environment protected by hardware chips and corresponds to the second chain. If the second verification passes, the data processing request is processed in the second blockchain network of the second chain to obtain a second processing result, and an on-chain operation is performed based on the second processing result. The second cross-chain proof conversion component performs a third verification on the second event information obtained from the on-chain operation based on the second processing result to obtain the second authentication information. Generate second cross-chain information based on the second event information and the second authentication information; The second cross-chain information is returned to the first cross-chain proof conversion component of the first chain; wherein, the second cross-chain information is used to instruct the first cross-chain proof conversion component to perform a fourth verification on the second cross-chain information, and when the fourth verification is passed, the first blockchain network performs an on-chain operation based on the second cross-chain information.

9. The method according to claim 8, characterized in that, The second verification of the first authentication information in the first cross-chain information is performed by a second cross-chain proof conversion component, which operates in a trusted execution environment protected by hardware chips and corresponds to the second chain. This includes: Determine the public key of the first component corresponding to the first cross-chain proof conversion component of the first chain; The second cross-chain proof conversion component, which runs in a trusted execution environment and corresponds to the second chain, performs a second verification on the first authentication information in the first cross-chain information based on the public key of the first component.

10. The method according to claim 8, characterized in that, If the second verification passes, the data processing request is then processed a second time in the second blockchain network of the second chain to obtain a second processing result, including: When the second verification passes, the first cross-chain information is parsed to obtain the second smart contract and the contract parameters of the second smart contract; In the second blockchain network of the second chain, the data processing request is processed in a second way through the second smart contract and the contract parameters to obtain a second processing result.

11. The method according to claim 10, characterized in that, When the second verification passes, after parsing the first cross-chain information to obtain the second smart contract and its contract parameters, the method further includes: The input parameters are obtained by signing the contract parameters of the second smart contract using the second cross-chain proof conversion component and the second component private key corresponding to the second cross-chain proof conversion component. In the second blockchain network of the second chain, the data processing request is processed in a second way through the second smart contract and the contract parameters to obtain a second processing result, including: The input parameters are verified a fifth time through the second smart contract in the second blockchain network and based on the public key of the second component corresponding to the second cross-chain proof conversion component. When the fifth verification passes, the data processing request is processed a second time using the second smart contract and the input parameters to obtain a second processing result.

12. The method according to claim 8, characterized in that, The third verification of the second event information obtained from the on-chain operation based on the second processing result to obtain second authentication information includes: The second event information obtained from the on-chain operation based on the second processing result is subjected to a third verification to obtain the verification result of the third verification. Determine the private key of the second component corresponding to the second cross-chain proof conversion component of the second chain; The verification result of the third verification is signed using the private key of the second component to obtain the corresponding second authentication information.

13. The method according to any one of claims 8 to 12, characterized in that, After returning the second cross-chain information to the first cross-chain proof conversion component of the first chain, the method further includes: Determine the public key of the second component corresponding to the second cross-chain proof conversion component, and use the public key of the second component to perform a fourth verification on the second authentication information in the second cross-chain information; When the fourth verification passes, the data processing identifier corresponding to the data processing is obtained, and the on-chain operation is performed based on the data processing identifier.

14. A cross-chain information verification system, characterized in that, The system includes a first blockchain network corresponding to the first chain and a first cross-chain proof conversion component running in a trusted execution environment protected by a hardware chip; and a second blockchain network corresponding to the second chain and a second cross-chain proof conversion component running in a trusted execution environment protected by a hardware chip. The trusted execution environment protected by the hardware chip refers to an environment used to protect data privacy and authenticate data integrity and source reliability; wherein: The first blockchain network is used to respond to a data processing request, perform a first processing, obtain a first processing result, and perform an on-chain operation based on the first processing result to obtain first event information; The first cross-chain proof conversion component is used to perform a first verification on the first event information, obtain a verification result, sign the verification result to obtain first authentication information, generate first cross-chain information based on the first event information and the first authentication information, and transmit the first cross-chain information to the second cross-chain proof conversion component; the first verification includes on-chain verification and execution verification, the on-chain verification is used to determine whether the first processing result has been on-chain, and the execution verification is used to determine whether the data processing request has been correctly processed by the first smart contract; The second cross-chain proof conversion component is used to perform a second verification on the first authentication information in the first cross-chain information, and when the second verification is passed, to parse the first cross-chain information to obtain the contract parameters of the second smart contract; The second blockchain network is used to perform a second processing on the data processing request according to the contract parameters of the second smart contract, and obtain a second processing result; The second blockchain network is used to perform on-chain operations based on the second processing result, and to generate second event information based on the on-chain operations of the second processing result; The second cross-chain proof conversion component is used to perform a third verification on the second event information to obtain second cross-chain information including second authentication information; The first cross-chain proof conversion component is used to perform a fourth verification on the second authentication information in the second cross-chain information, and when the fourth verification is passed, it triggers the first blockchain network to perform an on-chain operation based on the second cross-chain information.

15. The system according to claim 14, characterized in that, The system includes a first gateway corresponding to the first chain and a second gateway corresponding to the second chain; The first gateway is used to obtain a data processing request and call a first smart contract to perform a first processing on the data processing request and obtain a first processing result. The first gateway is also used to forward the first cross-chain information to the second gateway; The second gateway is used to send the first cross-chain information to the second cross-chain proof conversion component; The second gateway is further configured to send the second cross-chain information generated by the second cross-chain proof conversion component to the first gateway, so that the first gateway forwards the second cross-chain information to the first cross-chain proof conversion component.

16. A cross-chain information generation device, characterized in that, The device includes: The data processing module is used to respond to a data processing request, perform a first processing in the first blockchain network of the first chain, obtain a first processing result, and perform an on-chain operation based on the first processing result to obtain first event information; The information generation module is used to perform a first verification on the first event information through a first cross-chain proof conversion component that runs in a trusted execution environment protected by a hardware chip and corresponds to the first chain, and obtain a verification result. The trusted execution environment protected by the hardware chip refers to an environment used to protect data privacy and authenticate the integrity and reliability of the data source. The first verification includes on-chain verification and execution verification. The on-chain verification is used to determine whether the first processing result has been on-chain, and the execution verification is used to determine whether the data processing request has been correctly processed by the first smart contract. The information generation module is further configured to sign the verification result through the first cross-chain proof conversion component to obtain first authentication information, and generate first cross-chain information based on the first event information and the first authentication information; A cross-chain transmission module is used to transmit the first cross-chain information to a second cross-chain proof conversion component that runs in a trusted execution environment protected by a hardware chip and corresponds to the second chain; the first cross-chain information is used to instruct the second cross-chain proof conversion component to perform a second verification on the first authentication information in the first cross-chain information, and when the second verification is passed, to perform a second processing on the data processing request based on the first cross-chain information through the second blockchain network of the second chain.

17. The apparatus according to claim 16, characterized in that, The data processing module is used to, upon receiving a data processing request, invoke a first smart contract in the first blockchain network of the first chain, perform a first processing on the data processing request through the first smart contract, and obtain a first processing result.

18. The apparatus according to claim 16, characterized in that, The data processing module is used to broadcast the first processing result to the blockchain nodes in the first blockchain network; and through the blockchain nodes, and based on the first processing result, to perform consensus operations to add a new block including the first processing result to the first blockchain network. The first event information is obtained through the first event node in the first blockchain network and based on the block information stored in the new block.

19. The apparatus according to claim 16, characterized in that, The information generation module is used to parse the first event information through the first cross-chain proof conversion component of the first chain to obtain a data read / write set and a message signature; to determine the network public key corresponding to the first blockchain network through the first cross-chain proof conversion component, and to verify the message signature based on the network public key; to verify the data read / write set through the first cross-chain proof conversion component based on at least one of the contract information, parameter information, and account information in the data read / write set; to obtain a first verification result by combining the message signature verification result obtained after verifying the message signature and the data read / write set verification result obtained after verifying the data read / write set; and to obtain corresponding first authentication information through the first verification result.

20. The apparatus according to claim 19, characterized in that, The first blockchain network includes endorsement nodes and consensus nodes. The message signature includes an endorsement signature corresponding to the endorsement node and a consensus signature corresponding to the consensus node. The network public key includes an endorsement public key corresponding to the endorsement node and a consensus public key corresponding to the consensus node. The information generation module is used to verify the endorsement signature corresponding to the endorsement node using the endorsement public key and to verify the consensus signature corresponding to the consensus node using the consensus public key.

21. The apparatus according to claim 19, characterized in that, The information generation module is used to determine the first component private key corresponding to the first cross-chain proof conversion component of the first chain when the verification result of the first verification is obtained; The first authentication information is obtained by using the private key of the first component and performing a signature based on the verification result of the first verification.

22. The apparatus according to claim 16, characterized in that, The cross-chain information generation device is also used to receive second cross-chain information transmitted by the second blockchain network of the second chain; the second cross-chain information is information obtained after performing a second processing on the data processing request. After the second cross-chain information verification, a data processing identifier corresponding to the data processing is obtained, and on-chain operation is performed based on the data processing identifier.

23. A cross-chain information verification device, characterized in that, The device includes: A receiving module is configured to receive first cross-chain information; and to perform a second verification on the first authentication information in the first cross-chain information using a second cross-chain proof conversion component running in a trusted execution environment protected by a hardware chip and corresponding to the second chain; the first cross-chain information is generated by performing a first verification and authentication on the response process of the first blockchain network responding to the data processing request of the first chain through the first cross-chain proof conversion component running in a trusted execution environment protected by a hardware chip and corresponding to the first chain; the trusted execution environment protected by the hardware chip refers to an environment used to protect data privacy and the integrity and reliability of the authentication data source; the first verification includes on-chain verification and execution verification, the on-chain verification is used to determine whether the first processing result has been on-chain, and the execution verification is used to determine whether the data processing request has been correctly processed by the first smart contract; The on-chain module is used to perform a second processing on the data processing request in the second blockchain network of the second chain if the second verification is passed, to obtain a second processing result, and to perform an on-chain operation based on the second processing result; The information return module is used to perform a third verification on the second event information obtained from the on-chain operation based on the second processing result through the second cross-chain proof conversion component to obtain second authentication information; generate second cross-chain information based on the second event information and the second authentication information; and return the second cross-chain information to the first cross-chain proof conversion component of the first chain; wherein the second cross-chain information is used to instruct the first cross-chain proof conversion component to perform a fourth verification on the second cross-chain information, and when the fourth verification is passed, perform an on-chain operation based on the second cross-chain information through the first blockchain network.

24. The apparatus according to claim 23, characterized in that, The receiving module is further configured to determine the first component public key corresponding to the first cross-chain proof conversion component of the first chain; and to perform a second verification on the first authentication information in the first cross-chain information based on the first component public key through the second cross-chain proof conversion component running in a trusted execution environment and corresponding to the second chain.

25. The apparatus according to claim 23, characterized in that, The on-chain module is further configured to parse the first cross-chain information when the second verification is passed, to obtain the second smart contract and the contract parameters of the second smart contract; and in the second blockchain network of the second chain, to perform a second processing on the data processing request through the second smart contract and the contract parameters, to obtain a second processing result.

26. The apparatus according to claim 25, characterized in that, The on-chain module is also used to sign the contract parameters of the second smart contract through the second cross-chain proof conversion component and according to the second component private key corresponding to the second cross-chain proof conversion component to obtain input parameters; The input parameters are verified a fifth time through the second smart contract in the second blockchain network and based on the public key of the second component corresponding to the second cross-chain proof conversion component. When the fifth verification passes, the data processing request is processed a second time using the second smart contract and the input parameters to obtain a second processing result.

27. The apparatus according to claim 23, characterized in that, The information return module is also used to perform a third verification on the second event information obtained from the on-chain operation based on the second processing result, and obtain the verification result of the third verification; and determine the private key of the second component corresponding to the second cross-chain proof conversion component of the second chain; The verification result of the third verification is signed using the private key of the second component to obtain the corresponding second authentication information.

28. The apparatus according to claim 23, characterized in that, The cross-chain information verification device is further configured to determine the second component public key corresponding to the second cross-chain proof conversion component, and to perform a fourth verification on the second authentication information in the second cross-chain information using the second component public key; when the fourth verification is successful, a data processing identifier corresponding to the data processing is obtained, and an on-chain operation is performed based on the data processing identifier.

29. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 13.

30. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 13.

31. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 13.