Cross-chain transaction processing method and device, electronic equipment, medium and program product

By generating a temporary key in the cross -chain relayr and encrypted processing, the problem of security threats of the cross -chain relayr when forwarding cross -chain transactions is solved. And efficiency.

CN119341804AActive Publication Date: 2025-01-21DIGITAL GUANGDONG NETWORK CONSTR CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202411444698.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-16
Publication Date
2025-01-21
Estimated Expiration
2044-10-16

AI Technical Summary

Technical Problem

Cross-chain repeaters need to change the access control information of different blockchain networks when forwarding cross-chain transactions, resulting in security threats and vulnerability to malicious attacks.

Method used

By generating the authentication information between the temporary key pair, the authentication information between the source blockchain and the target blockchain is used to generate a temporary key pair, and return its private key to the source blockchain, the source blockchain to the original cross -chain chain Affairs is encrypted, and cross -chain relatives are encrypted secondaryly after the encrypted cross -chain transaction to ensure the safety of cross -chain transactions during transmission.

Benefits of technology

Through the encryption mechanism of the temporary key pair, the cross -chain transaction is avoided by malicious stolen during transmission, and the access control information does not need to be changed, which improves the security of the cross -chain access process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119341804A_ABST
    Figure CN119341804A_ABST
Patent Text Reader

Abstract

The invention discloses a cross-chain transaction processing method and device, electronic equipment, a medium and a program product, the method and device are applied to a cross-chain repeater in a cross-chain transaction processing system, the cross-chain transaction processing system further comprises a source block chain and a target block chain, and the method comprises the steps that the cross-chain repeater receives an identity verification request sent by the source block chain; determining target identity verification information of the target block chain according to the identification information of the target block chain; generating a temporary key pair according to the source identity verification information and the target identity verification information, and returning a private key of the temporary key pair to the source block chain; receiving a primary encryption cross-chain transaction sent by the source block chain, and performing secondary encryption on the primary encryption cross-chain transaction according to the public key of the temporary key pair to obtain a secondary encryption cross-chain transaction; and sending the secondary encryption cross-chain transaction to the target block chain. According to the method and the device, the situation that the access control information is subjected to hostile attacks in the change process is avoided, so that the security of the cross-chain access process is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of blockchain technology, and in particular to a cross-chain transaction processing method, device, electronic device, medium and program product. Background Art

[0002] With the rapid development of blockchain technology, a single blockchain network can no longer meet the increasingly complex application needs. Different blockchains need to be interconnected to facilitate cross-chain asset transfers, cross-chain smart contract calls, and other functions.

[0003] At present, the information exchange between the source blockchain and the target blockchain is mainly completed through the cross-chain repeater. The cross-chain transaction is sent from the source blockchain to the cross-chain repeater, and then forwarded to the target blockchain by the cross-chain repeater, thereby completing the communication and data exchange between different blockchains.

[0004] However, in cross-chain technology, the forwarding of cross-chain transactions by cross-chain repeaters involves the security mechanism issues of different blockchain networks themselves, which leads to the need to change access control information during the cross-chain process. This change process is vulnerable to malicious attacks, thus affecting the security of the cross-chain access process. Summary of the invention

[0005] The present application provides a cross-chain transaction processing method, device, electronic device, medium and program product to solve the problem in the prior art that the forwarding of cross-chain transactions by cross-chain repeaters needs to involve the security mechanisms of different blockchain networks themselves, resulting in the need to change access control information during the cross-chain process, which is vulnerable to malicious attacks during the change process, thereby affecting the security of the cross-chain access process.

[0006] In a first aspect, the present application provides a cross-chain transaction processing method, which is applied to a cross-chain repeater in a cross-chain transaction processing system, wherein the cross-chain transaction processing system also includes a source blockchain and a target blockchain, and the method includes:

[0007] Receiving an identity authentication request sent by the source blockchain; wherein the identity authentication request includes identification information of the target blockchain and source identity authentication information of the source blockchain;

[0008] Determine the target identity authentication information of the target blockchain according to the identification information of the target blockchain;

[0009] Generate a temporary key pair according to the source identity authentication information and the target identity authentication information, and return the private key of the temporary key pair to the source blockchain;

[0010] Receive a primary encrypted cross-chain transaction sent by the source blockchain, and perform secondary encryption on the primary encrypted cross-chain transaction according to the public key of the temporary key pair to obtain a secondary encrypted cross-chain transaction; wherein the primary encrypted cross-chain transaction is obtained by encrypting the original cross-chain transaction by the source blockchain according to the private key of the temporary key pair;

[0011] The secondary encrypted cross-chain transaction is sent to the target blockchain, so that the target blockchain determines the public key of the temporary key pair according to the target identity authentication information, and processes the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair.

[0012] In a second aspect, the present application provides a cross-chain transaction processing method, which is applied to a source blockchain in a cross-chain transaction processing system, wherein the cross-chain transaction processing system further includes a cross-chain repeater and a target blockchain, and the method includes:

[0013] Receive a cross-chain transaction processing request sent by a target user device, and determine identification information of the original cross-chain transaction and the target blockchain according to the cross-chain transaction processing request;

[0014] Generate an identity authentication request according to the identification information of the target blockchain and the source identity authentication information of the source blockchain, and send the identity authentication request to the cross-chain repeater; wherein the identity authentication request includes the identification information of the target blockchain and the source identity authentication information of the source blockchain;

[0015] Receive the private key of the temporary key pair returned by the cross-chain repeater, and encrypt the original cross-chain transaction according to the private key of the temporary key pair to obtain a primary encrypted cross-chain transaction, and send the primary encrypted cross-chain transaction to the cross-chain repeater, so that the cross-chain repeater performs secondary encryption on the primary encrypted cross-chain transaction to obtain a secondary encrypted cross-chain transaction, and sends the secondary encrypted cross-chain transaction to the target blockchain; wherein the target blockchain is used to determine the public key of the temporary key pair according to the target identity authentication information, and process the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair.

[0016] In a third aspect, the present application provides a cross-chain transaction processing device, a cross-chain repeater configured in a cross-chain transaction processing system, wherein the cross-chain transaction processing system further includes a source blockchain and a target blockchain, and the device includes:

[0017] A verification request receiving module, used to receive an identity authentication request sent by the source blockchain; wherein the identity authentication request includes the identification information of the target blockchain and the source identity authentication information of the source blockchain;

[0018] A verification information determination module, used to determine the target identity authentication information of the target blockchain according to the identification information of the target blockchain;

[0019] A key pair generation module, configured to generate a temporary key pair according to the source identity authentication information and the target identity authentication information, and return the private key of the temporary key pair to the source blockchain;

[0020] A secondary encryption module is used to receive the primary encrypted cross-chain transaction sent by the source blockchain, and perform secondary encryption on the primary encrypted cross-chain transaction according to the public key of the temporary key pair to obtain a secondary encrypted cross-chain transaction; wherein the primary encrypted cross-chain transaction is obtained by encrypting the original cross-chain transaction by the source blockchain according to the private key of the temporary key pair;

[0021] A cross-chain transaction sending module is used to send the secondary encrypted cross-chain transaction to the target blockchain, so that the target blockchain determines the public key of the temporary key pair according to the target identity authentication information, and processes the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair.

[0022] In a fourth aspect, the present application provides a cross-chain transaction processing device, configured in a source blockchain in a cross-chain transaction processing system, the cross-chain transaction processing system also including a cross-chain repeater and a target blockchain, the device including:

[0023] A processing request receiving module, used to receive a cross-chain transaction processing request sent by a target user device, and determine the identification information of the original cross-chain transaction and the target blockchain according to the cross-chain transaction processing request;

[0024] A verification request sending module, used to generate an identity authentication request according to the identification information of the target blockchain and the source identity authentication information of the source blockchain, and send the identity authentication request to the cross-chain repeater; wherein the identity authentication request includes the identification information of the target blockchain and the source identity authentication information of the source blockchain;

[0025] A one-time encryption module is used to receive the private key of the temporary key pair returned by the cross-chain repeater, and encrypt the original cross-chain transaction according to the private key of the temporary key pair to obtain a one-time encrypted cross-chain transaction, and send the one-time encrypted cross-chain transaction to the cross-chain repeater, so that the cross-chain repeater performs a second encryption on the one-time encrypted cross-chain transaction to obtain a second encrypted cross-chain transaction, and sends the second encrypted cross-chain transaction to the target blockchain; wherein the target blockchain is used to determine the public key of the temporary key pair according to the target identity authentication information, and process the original cross-chain transaction obtained by decrypting the second encrypted cross-chain transaction using the public key of the temporary key pair.

[0026] In a fifth aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the cross-chain transaction processing method as described in any embodiment of the present application is implemented.

[0027] In a sixth aspect, the present application provides a computer-readable storage medium on which a computer program is stored, which, when executed by a processor, implements the cross-chain transaction processing method as described in any embodiment of the present application.

[0028] In a seventh aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the cross-chain transaction processing method as described in any embodiment of the present application.

[0029] In the scheme of the present application, the cross-chain repeater receives the identity authentication request sent by the source blockchain; wherein the identity authentication request includes the identification information of the target blockchain and the source identity authentication information of the source blockchain; the target identity authentication information of the target blockchain is determined according to the identification information of the target blockchain; a temporary key pair is generated according to the source identity authentication information and the target identity authentication information, and the private key of the temporary key pair is returned to the source blockchain; the once encrypted cross-chain transaction sent by the source blockchain is received, and the once encrypted cross-chain transaction is re-encrypted according to the public key of the temporary key pair to obtain a secondary encrypted cross-chain transaction; wherein the once encrypted cross-chain transaction is obtained by encrypting the original cross-chain transaction according to the private key of the temporary key pair by the source blockchain; the secondary encrypted cross-chain transaction is sent to the target blockchain, so that the target blockchain determines the public key of the temporary key pair according to the target identity authentication information, and processes the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair. That is, in the scheme of the present application, on the one hand, a temporary key pair is used to encrypt the cross-chain transaction, so that the cross-chain transaction can be transmitted in the blockchain in the form of encrypted information, so as to avoid the cross-chain transaction from being maliciously stolen during the cross-chain process. On the other hand, the cross-chain repeater generates a temporary key pair based on the identity authentication information of the source blockchain and the target blockchain, so that the generation of the temporary key pair involves the security mechanism issues of the source blockchain and the target blockchain, so that the access control information does not need to be changed during the cross-chain process, avoiding malicious attacks during the change of access control information, thereby improving the security of the cross-chain access process. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0031] Figure 1 It is a flowchart of the cross-chain transaction processing method provided by this application;

[0032] Figure 2a It is another flowchart of the cross-chain transaction processing method provided by this application;

[0033] Figure 2b This is a schematic diagram of an exemplary information transmission process of the cross-chain transaction processing method provided by this application;

[0034] Figure 3 It is another flowchart of the cross-chain transaction processing method provided by this application;

[0035] Figure 4It is a structural diagram of the cross-chain transaction processing device provided by this application;

[0036] Figure 5 It is another structural schematic diagram of the cross-chain transaction processing device provided by the present application;

[0037] Figure 6 It is a structural schematic diagram of the electronic device provided by this application. DETAILED DESCRIPTION

[0038] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0039] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0040] Figure 1 This is a flow chart of the cross-chain transaction processing method provided by the present application. The method can be executed by a cross-chain transaction processing device, which can be implemented in software and / or hardware. In a specific embodiment, the device can be applied in a cross-chain repeater or a source blockchain. The cross-chain repeater and the source blockchain are both in a cross-chain transaction processing system, and the cross-chain transaction processing system also includes a target blockchain. The following embodiments will be described by taking the application of the device in a cross-chain repeater or a source blockchain as an example. Figure 1 , the method may specifically include the following steps:

[0041] Step 101: Receive a cross-chain transaction processing request sent by a target user device, and determine the identification information of the original cross-chain transaction and the target blockchain according to the cross-chain transaction processing request.

[0042] Specifically, the target user device is one of the user devices connected to the source blockchain, and the user corresponding to the target user device initiates a cross-chain transaction processing request to request the source blockchain to process the cross-chain transaction. The original cross-chain transaction in the cross-chain transaction processing request is the transaction that the user expects the source blockchain to complete, and the source blockchain needs to obtain the content of the original cross-chain transaction to complete the transaction. The identification information of the target blockchain in the cross-chain transaction processing request is the identification information of the blockchain that the original cross-chain transaction needs to access through the source blockchain and the cross-chain repeater. The way in which the source blockchain determines the original cross-chain transaction according to the cross-chain transaction processing request can be that if the identification information of the original cross-chain transaction and the target blockchain is the information that can be directly obtained in the cross-chain transaction processing request, the source blockchain directly obtains the identification information of the original cross-chain transaction and the target blockchain. If the identification information of the original cross-chain transaction and the target blockchain is the encrypted information in the cross-chain transaction processing request, the source blockchain decrypts the encrypted original cross-chain transaction and the identification information of the target blockchain according to the user information corresponding to the target user device to obtain the identification information of the original cross-chain transaction and the target blockchain.

[0043] Step 102, generate an authentication request based on the identification information of the target blockchain and the source identity authentication information of the source blockchain, and send the authentication request to the cross-chain repeater.

[0044] Among them, the identity authentication request includes the identification information of the target blockchain and the source identity authentication information of the source blockchain.

[0045] Specifically, the source identity authentication information of the source blockchain is the authentication information pre-set by the source blockchain and the cross-chain repeater, which can characterize the source blockchain as a trusted blockchain. For example, the source identity authentication information of the source blockchain can be a trust certificate for the source blockchain to establish a connection with the cross-chain repeater. The source blockchain generates an identity authentication request based on the identification information of the target blockchain and the source identity authentication information of the source blockchain. The identity authentication request includes the identification information of the target blockchain and the source identity authentication information of the source blockchain. After generating the identity authentication request, the source blockchain sends the identity authentication request to the cross-chain repeater.

[0046] Step 103: Receive the identity authentication request sent by the source blockchain.

[0047] Specifically, the cross-chain repeater receives an identity authentication request sent by the source blockchain, which includes the identification information of the target blockchain and the source identity authentication information of the source blockchain.

[0048] Step 104, determine the target identity authentication information of the target blockchain based on the identification information of the target blockchain.

[0049] Specifically, the cross-chain repeater is connected to multiple blockchains, and each blockchain connected to the cross-chain repeater has corresponding identity verification information. The cross-chain repeater determines the target blockchain based on the identification information of the target blockchain, thereby determining the target identity verification information of the target blockchain.

[0050] Step 105: Generate a temporary key pair based on the source identity authentication information and the target identity authentication information, and return the private key of the temporary key pair to the source blockchain.

[0051] Specifically, the cross-chain repeater uses an encryption algorithm to encrypt and generate a temporary key pair based on the source identity authentication information and the target identity authentication information, so that the temporary key pair can be used by the source blockchain and the target blockchain. After generating the temporary key pair, the cross-chain repeater returns the private key of the temporary key pair to the source blockchain.

[0052] Step 106, receiving the private key of the temporary key pair returned by the cross-chain repeater, and encrypting the original cross-chain transaction according to the private key of the temporary key pair to obtain an encrypted cross-chain transaction, and sending the encrypted cross-chain transaction to the cross-chain repeater.

[0053] Specifically, the source blockchain receives the private key of the temporary key pair returned by the cross-chain repeater, and uses the encryption algorithm to encrypt the original cross-chain transaction according to the private key of the temporary key pair to obtain the encrypted cross-chain transaction, that is, the first encrypted cross-chain transaction. The source blockchain sends the first encrypted cross-chain transaction to the cross-chain repeater, so that the cross-chain repeater performs a second encryption on the first encrypted cross-chain transaction to obtain a second encrypted cross-chain transaction, and sends the second encrypted cross-chain transaction to the target blockchain.

[0054] The target blockchain determines the public key of the temporary key pair according to the target identity authentication information. For example, the method of determining the public key of the temporary key pair can be that the trust certificate of the target blockchain of the smart contract of the target blockchain parses the public key of the temporary key pair generated by the cross-chain repeater. After the target blockchain obtains the public key of the temporary key pair, it uses the public key of the temporary key pair to decrypt the secondary encrypted cross-chain transaction, obtains the original cross-chain transaction, and processes the original cross-chain transaction. For example, the original cross-chain transaction can be a transaction request. After the target blockchain obtains the transaction request, it allows the user to conduct the transaction.

[0055] Step 107: Receive the first encrypted cross-chain transaction sent by the source blockchain, and re-encrypt the first encrypted cross-chain transaction according to the public key of the temporary key pair to obtain a second encrypted cross-chain transaction.

[0056] Among them, an encrypted cross-chain transaction is obtained by encrypting the original cross-chain transaction by the source blockchain according to the private key of the temporary key pair.

[0057] Specifically, the cross-chain repeater receives the first encrypted cross-chain transaction sent by the source blockchain, and re-encrypts the first encrypted cross-chain transaction according to the public key of the temporary key pair to obtain a second encrypted cross-chain transaction.

[0058] Step 108, sending the secondary encrypted cross-chain transaction to the target blockchain.

[0059] Specifically, after the cross-chain repeater obtains the secondary encrypted cross-chain transaction, it sends the secondary encrypted cross-chain transaction to the target blockchain, so that the target blockchain determines the public key of the temporary key pair based on the target identity authentication information, and processes the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair.

[0060] In the scheme of the present application, the cross-chain repeater receives the identity authentication request sent by the source blockchain; wherein the identity authentication request includes the identification information of the target blockchain and the source identity authentication information of the source blockchain; the target identity authentication information of the target blockchain is determined according to the identification information of the target blockchain; a temporary key pair is generated according to the source identity authentication information and the target identity authentication information, and the private key of the temporary key pair is returned to the source blockchain; the once encrypted cross-chain transaction sent by the source blockchain is received, and the once encrypted cross-chain transaction is re-encrypted according to the public key of the temporary key pair to obtain a secondary encrypted cross-chain transaction; wherein the once encrypted cross-chain transaction is obtained by encrypting the original cross-chain transaction according to the private key of the temporary key pair by the source blockchain; the secondary encrypted cross-chain transaction is sent to the target blockchain, so that the target blockchain determines the public key of the temporary key pair according to the target identity authentication information, and processes the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair. That is, in the scheme of the present application, on the one hand, a temporary key pair is used to encrypt the cross-chain transaction, so that the cross-chain transaction can be transmitted in the blockchain in the form of encrypted information, so as to avoid the cross-chain transaction from being maliciously stolen during the cross-chain process. On the other hand, the cross-chain repeater generates a temporary key pair based on the identity authentication information of the source blockchain and the target blockchain, so that the generation of the temporary key pair involves the security mechanism issues of the source blockchain and the target blockchain, so that the access control information does not need to be changed during the cross-chain process, avoiding malicious attacks during the change of access control information, thereby improving the security of the cross-chain access process.

[0061] Figure 2a It is another flow chart of the cross-chain transaction processing method provided by the present application, which is applied to the cross-chain repeater, and the process of generating a temporary key pair by the cross-chain repeater is described in detail to further illustrate the cross-chain transaction processing method provided by the present application, such as Figure 2a As shown, the method may include the following steps:

[0062] Step 201, receiving an identity authentication request sent by a source blockchain.

[0063] Step 202, determine the identification information of the source blockchain based on the source identity authentication information.

[0064] Specifically, the identification information of the source blockchain is the identity identification information of the source blockchain. After receiving the identity authentication request sent by the source blockchain, the cross-chain repeater determines the identification information of the source blockchain according to the source identity authentication information in the identity authentication request.

[0065] Step 203: If the source blockchain is determined to be a trusted blockchain based on the identification information of the source blockchain, step 204 is executed.

[0066] Specifically, among the multiple blockchains connected to the cross-chain repeater, there may be a blockchain with a low degree of trust. The cross-chain repeater treats such blockchains as untrusted blockchains and does not process requests sent by untrusted blockchains. For blockchains with a high degree of trust, the cross-chain repeater treats such blockchains as trusted blockchains and can process requests sent by such blockchains. Therefore, when the cross-chain repeater determines that the source blockchain is a trusted blockchain based on the identification information of the source blockchain, it confirms the execution of the step of determining the target identity authentication information of the target blockchain based on the identification information of the target blockchain.

[0067] Step 204, determine the target identity authentication information of the target blockchain based on the identification information of the target blockchain.

[0068] Step 205: Generate a temporary key pair based on the source identity authentication information and the target identity authentication information, and return the private key of the temporary key pair to the source blockchain.

[0069] Optionally, generating a temporary key pair according to the source identity authentication information and the target identity authentication information may be implemented through step 2051 .

[0070] Step 2051: encrypt the source identity authentication information and the target identity authentication information according to a first preset encryption algorithm to generate a temporary key pair.

[0071] Specifically, the first preset encryption algorithm can be a preset national secret SM2 algorithm. Compared with traditional encryption algorithms, the national secret SM2, SM3 and SM4 algorithms have higher efficiency and higher encryption strength than traditional encryption algorithms, and can be verified at the same time, so that concurrent tasks can be processed. The cross-chain repeater encrypts the source identity authentication information and the target identity authentication information according to the national secret SM2 algorithm to generate a temporary key pair, thereby ensuring the security of cross-chain communication.

[0072] Exemplarily, the source blockchain identification information is IB_i, the target blockchain identification information is IB_j, the source identity authentication information and the target identity authentication information are encrypted according to a first preset encryption algorithm to generate a temporary key pair (T_i, T_j).

[0073] Step 206: Receive the first encrypted cross-chain transaction sent by the source blockchain, and re-encrypt the first encrypted cross-chain transaction according to the public key of the temporary key pair to obtain a second encrypted cross-chain transaction.

[0074] Optionally, receiving an encrypted cross-chain transaction sent by the source blockchain can be implemented through step 2061.

[0075] Step 2061, receiving an encrypted cross-chain transaction sent by the source blockchain, a hash value of the encrypted cross-chain transaction, and the signature information of the source blockchain.

[0076] Specifically, after the source blockchain generates an encrypted cross-chain transaction, it calculates the hash value of the encrypted cross-chain transaction, and signs the hash value to generate the signature information of the source blockchain. The source blockchain sends the encrypted cross-chain transaction, the hash value of the encrypted cross-chain transaction, and the signature information of the source blockchain to the cross-chain repeater, and the cross-chain repeater receives the encrypted cross-chain transaction, the hash value of the encrypted cross-chain transaction, and the signature information of the source blockchain sent by the source blockchain.

[0077] Step 207, sending the secondary encrypted cross-chain transaction to the target blockchain.

[0078] Optionally, after executing step 2061 , step 207 may be implemented through step 2071 .

[0079] Step 2071, sending the hash value of the secondary encrypted cross-chain transaction, the primary encrypted cross-chain transaction, and the signature information of the source blockchain to the target blockchain.

[0080] Specifically, the hash value of the secondary encrypted cross-chain transaction, the hash value of the primary encrypted cross-chain transaction, and the signature information of the source blockchain are sent to the target blockchain. The target blockchain verifies the hash value of the primary encrypted cross-chain transaction and the signature information of the source blockchain using the first preset encryption algorithm to obtain a verification result to determine whether the source blockchain is a trusted blockchain. If the source blockchain is a trusted blockchain, the verification result is determined to be passed. After the verification result is passed, the target blockchain determines the public key of the temporary key pair according to the target identity authentication information, and processes the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair.

[0081] In the solution of this application, the cross-chain repeater determines the identification information of the source blockchain based on the source identity authentication information, thereby determining whether the source blockchain is a trusted blockchain, further improving the security of the cross-chain transaction processing process and preventing the cross-chain repeater from receiving malicious information. The cross-chain repeater sends the hash value of the secondary encrypted cross-chain transaction, the primary encrypted cross-chain transaction, and the signature information of the source blockchain to the target blockchain, so that the target blockchain can verify the source blockchain information, thereby further improving the security of the cross-chain transaction processing process.

[0082] Figure 3 It is another flow chart of the cross-chain transaction processing method provided by the present application, which is applied to the source blockchain, and describes in detail the content of determining the original cross-chain transaction and the identification information of the target blockchain according to the cross-chain transaction processing request, so as to further illustrate the cross-chain transaction processing method provided by the present application, such as Figure 3 As shown, the method may include the following steps:

[0083] Step 301: Receive a cross-chain transaction processing request sent by a target user device.

[0084] Optionally, the cross-chain transaction processing request includes target user identification information, initial encryption information, target user signature information, a hash value of the initial encryption information, and target access information.

[0085] Specifically, the source blockchain receives a cross-chain transaction processing request sent by the target user device, and the cross-chain transaction processing request includes the target user identification information, initial encryption information, target user signature information, the hash value of the initial encryption information, and the target access information. The initial encryption information is the information obtained after the user device encrypts the original cross-chain transaction. The target user signature information is the information signed by the target user using his own information, which is used to verify the identity of the target user. The hash value of the initial encryption information is obtained by the target user device calculating the hash value of the initial encryption information, which is used to verify the identity of the target user. The target access information is the information of the target blockchain that the cross-chain transaction needs to access.

[0086] Optionally, the initial encrypted information is obtained by the target user device encrypting the original cross-chain transaction according to the second preset encryption algorithm and the target user identification information. The hash value of the initial encrypted information is obtained by the target user device calculating the hash value of the initial encrypted information according to the third preset encryption algorithm. The target user signature information is obtained by the target user device signing the hash value of the initial encrypted information according to the target user registration private key and the first preset encryption algorithm.

[0087] Specifically, the second preset encryption algorithm may be the national secret SM4 algorithm. The third preset encryption algorithm may be the national secret SM3 algorithm. The target user identification information is the identity identification information of the target user, which is returned to the target user device by the source blockchain when the target user registers information in the source blockchain. Therefore, the source blockchain can determine the identity of the target user based on the target user identification information. Therefore, the initial encrypted information is obtained by the target user device encrypting the original cross-chain transaction according to the SM4 algorithm and the target user identification information. The hash value of the initial encrypted information is obtained by the target user device calculating the hash value of the initial encrypted information according to the SM3 algorithm. The target user signature information is obtained by the target user device signing the hash value of the initial encrypted information according to the target user registration private key and the SM2 algorithm.

[0088] For example, if the transaction t_u_n initiated by user u is an original cross-chain transaction, the user needs to encrypt, hash and sign the original cross-chain transaction before sending the transaction to the cross-chain sending contract. In order to prevent the user's privacy information from being leaked, the user device of user u uses the national secret SM4 algorithm and the target user identification information Key_u sent to the user by the source blockchain IB_i to encrypt the original cross-chain transaction, and generates the initial encrypted information Enc_u_n as SM4.Encrypt(Key_u,t_u_n). Secondly, the user needs to calculate the hash value of the initial encrypted information Enc_u_n for subsequent verification. The national secret SM3 algorithm is used when calculating the hash value, and the hash value H(Enc_u_n) is SM3.Hash(Enc_u_n). Furthermore, the user signs the hash value of the initial encrypted information based on the target user registered private key S_u, and generates the target user signature information Sig_u_n as SM2.Sign(S_u,H(Enc_u_n)). Finally, the user sends the target user identification information Key_u, the target user signature information Sig_u_n, the initial encryption information Enc_u_n, the hash value H(Enc_u_n) of the initial encryption information, and the target access information<IB_i,IB_j> After encapsulation, it is sent to IB_i. Through the above steps, the original cross-chain transaction initiated by user u is effectively encrypted and signed to ensure the confidentiality, integrity and non-repudiation of the cross-chain transaction.

[0089] Optionally, before executing step 301, steps 3011 to 3012 may also be executed.

[0090] Step 3011: Receive an information registration request sent by a target user equipment.

[0091] The information registration request includes the target user registration public key.

[0092] Specifically, the source blockchain receives an information registration request sent by the target user device, and the information registration request includes the target user registration public key. The target user registration public key and the target user registration private key are a pair of registration key pairs generated by the target user on the target user device before registration, and are used to complete the registration of the target user.

[0093] Step 3012: Complete the registration of the target user according to the target user registration public key, and return the generated target user identification information to the target user device.

[0094] Specifically, after the source blockchain receives the information registration request sent by the target user device, the source blockchain registers the identity of the target user. For example, the source blockchain may register the identity of the target user by using the user registration contract of the source blockchain to register the user, generate user identification information that can represent the user identity, and return the generated target user identification information to the target user device.

[0095] Exemplarily, the user uses the national secret SM2 algorithm to generate a key pair (S_u, P_u). Among them, S_u is the target user registration private key of user u, and P_u is the target user registration public key of user u. The user device sends the public key P_u to the source blockchain, and the user registration contract of the source blockchain implements the registration of user u on the source blockchain IB_i according to the public key P_u. After the user is successfully registered, IB_i sends the generated target user identification information Key_u to the user device. Through this registration process, user u establishes a trusted digital identity on IB_i, thereby ensuring the privacy and security of the target user during cross-chain interaction.

[0096] Step 302: Determine the identification information of the target blockchain based on the target access information.

[0097] Exemplarily, the target access information is<SourceChain,DestinationChain> According to the preset blockchain information, the blockchain corresponding to SourceChain in the target access information is determined to be the source blockchain IB_i, and the target blockchain identification information corresponding to DestinationChain is IB_j. Therefore, the identification information of the target blockchain is determined to be IB_j.

[0098] Step 303: perform signature verification on the target user signature information and the hash value of the initial encrypted information according to the target user registration public key and the first preset encryption algorithm.

[0099] Among them, the target user registration public key is the information sent by the target user when registering on the source blockchain.

[0100] For example, the source blockchain performs signature verification on the target user's signature information and the hash value of the initial encrypted information according to the national secret SM2 algorithm and the target user's registered public key P_u. Only when the signature verification passes, it indicates that the transaction is indeed initiated by user u, rather than forged by others, thereby further improving the security of the cross-chain process.

[0101] Optionally, before executing step 303, steps 3031 to 3032 may also be executed.

[0102] Step 3031, determine whether the identification information of the target blockchain is consistent with the identification information of the source blockchain.

[0103] Specifically, the identification information of the target blockchain is determined in the target access information, and it is determined whether the identification information of the target blockchain is consistent with the identification information of the source blockchain. If the identification information of the target blockchain is consistent with the identification information of the source blockchain, it means that the transaction submitted by the user is not a cross-chain transaction, and cross-chain processing is not required. The source blockchain itself can complete the processing of the transaction.

[0104] Step 3032: If the identification information of the target blockchain is inconsistent with the identification information of the source blockchain, determine to execute step 303.

[0105] Specifically, if the identification information of the target blockchain is inconsistent with the identification information of the source blockchain, a step of performing signature verification on the target user signature information and the hash value of the initial encrypted information according to the target user registration public key and the first preset encryption algorithm is determined.

[0106] Step 304: If the result of the signature authentication is that the signature authentication is passed, the initial encrypted information is decrypted according to the target user identification information and the second preset encryption algorithm to obtain the original cross-chain transaction.

[0107] Specifically, if the result of the signature authentication is that the signature authentication is passed, it means that the cross-chain transaction processing request is sent by the target user. Therefore, according to the target user identification information and the second preset encryption algorithm, the initial encrypted information is decrypted to obtain the original cross-chain transaction.

[0108] Exemplarily, if the result of the signature authentication is that the signature authentication is passed, the target user identification information Key_u and the national encryption SM4 algorithm are used to decrypt the initial encrypted information to obtain the original cross-chain transaction t_u_n.

[0109] Step 305, generate an authentication request based on the identification information of the target blockchain and the source identity authentication information of the source blockchain, and send the authentication request to the cross-chain repeater.

[0110] Step 306, receiving the private key of the temporary key pair returned by the cross-chain repeater, and encrypting the original cross-chain transaction according to the private key of the temporary key pair to obtain an encrypted cross-chain transaction, and sending the encrypted cross-chain transaction to the cross-chain repeater.

[0111] Optionally, encrypting the original cross-chain transaction according to the private key of the temporary key pair to obtain an encrypted cross-chain transaction can be achieved through step 3061.

[0112] Step 3061: Encrypt the original cross-chain transaction according to the second preset encryption algorithm and the private key of the temporary key pair to obtain an encrypted cross-chain transaction.

[0113] Specifically, after receiving the private key of the temporary key pair, the source blockchain encrypts the original cross-chain transaction according to the second preset encryption algorithm and the private key of the temporary key pair to obtain an encrypted cross-chain transaction.

[0114] Exemplarily, after receiving the private key T_i of the temporary key pair, the source blockchain encrypts the original cross-chain transaction t_u_n according to the national encryption SM4 algorithm and the private key T_i of the temporary key pair, and obtains an encrypted cross-chain transaction Enc_i_n as SM4.Encrypt(T_i, t_u_n), thereby ensuring the security of the cross-chain transaction transmission process.

[0115] Optionally, after obtaining an encrypted cross-chain transaction, steps 3062 to 3063 may also be executed.

[0116] Step 3062, calculate the hash value of an encrypted cross-chain transaction according to a third preset encryption algorithm.

[0117] Exemplarily, the source blockchain uses the national secret SM3 algorithm to calculate the hash value of an encrypted cross-chain transaction Enc_i_n, and obtains the hash value H(Enc_i_n) of the encrypted cross-chain transaction as SM3.Hash(Enc_i_n).

[0118] Step 3063: Sign the hash value of an encrypted cross-chain transaction according to the private key of the temporary key pair and the first preset encryption algorithm to obtain the signature information of the source blockchain.

[0119] Exemplarily, the source blockchain uses the SM2 algorithm and the private key T_i of the temporary key pair to sign the hash value H(Enc_i_n) of an encrypted cross-chain transaction, and the signature information Sig_i_n of the source blockchain is SM2.Sign(T_i,H(Enc_i_n)).

[0120] Optionally, after executing steps 3061 to 3063, sending an encrypted cross-chain transaction to the cross-chain repeater can be achieved through step 3064.

[0121] Step 3064, sending an encrypted cross-chain transaction, a hash value of the encrypted cross-chain transaction, and the signature information of the source blockchain to the cross-chain repeater.

[0122] Specifically, the once encrypted cross-chain transaction, the hash value of the once encrypted cross-chain transaction, and the signature information of the source blockchain are sent to the cross-chain repeater, so that the cross-chain repeater performs secondary encryption on the once encrypted cross-chain transaction to obtain a secondary encrypted cross-chain transaction, and sends the secondary encrypted cross-chain transaction, the hash value of the once encrypted cross-chain transaction, and the signature information of the source blockchain to the target blockchain. The target blockchain is used to verify the hash value of the once encrypted cross-chain transaction and the signature information of the source blockchain according to the first preset encryption algorithm, and determine the public key of the temporary key pair according to the target identity authentication information after the verification result is verification passed, and process the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair.

[0123] Exemplarily, the source blockchain sends the encrypted cross-chain transaction Enc_i_n, the hash value H(Enc_i_n) of the encrypted cross-chain transaction, and the signature information Sig_i_n of the source blockchain to the cross-chain repeater. The cross-chain repeater applies the public key T_j of the temporary key pair to re-encrypt the encrypted cross-chain transaction Enc_i_n, and sends the re-encrypted cross-chain transaction, the hash value of the encrypted cross-chain transaction, and the signature information of the source blockchain to the target blockchain. The target blockchain verifies the signature information Sig_i_n of the source blockchain and the hash value H(Enc_i_n) of the encrypted cross-chain transaction using the national secret SM2 algorithm, thereby verifying the security of the source blockchain. After the result of verifying the security of the source blockchain is that the verification is passed, the public key T_j of the temporary key pair is determined according to the target identity authentication information, and then the public key of the temporary key pair and the national secret SM4 algorithm are used to decrypt the re-encrypted cross-chain transaction to obtain and process the original cross-chain transaction t_u_n.

[0124] For example, Figure 2b This is a schematic diagram of an exemplary information transmission process of the cross-chain transaction processing method provided by this application. Figure 2bAs shown, the target user identification information is Key_u, the original cross-chain transaction is t_u_n, and the user device uses the national secret SM4 algorithm to encrypt the original cross-chain transaction to obtain the initial encrypted information. The user device uses the national secret SM3 algorithm to calculate the hash value of the initial encrypted information. The user device signs the hash value of the initial encrypted information according to the SM2 algorithm to generate the target user signature information. Finally, the user encapsulates the target user identification information, the target user signature information, the initial encrypted information, the hash value of the initial encrypted information, and the target access information and sends them to the source blockchain IB_i. IB_i verifies the target user signature information and the hash value of the initial encrypted information, and decrypts the initial encrypted information based on the national secret SM4 algorithm to obtain the original cross-chain transaction. After that, IB_i obtains the private key of the temporary key pair sent by the cross-chain repeater, and uses the private key of the temporary key pair and the national secret SM4 algorithm to encrypt the original cross-chain transaction to obtain an encrypted cross-chain transaction. IB_i uses the national secret SM3 algorithm to calculate the hash value of the encrypted cross-chain transaction, and then uses the SM2 algorithm and the private key of the temporary key pair to sign the hash value of the encrypted cross-chain transaction to obtain the signature information of the source blockchain. Next, the source blockchain sends the encrypted cross-chain transaction, the hash value of the encrypted cross-chain transaction, and the signature information of the source blockchain to the cross-chain repeater. The cross-chain repeater uses the SM4 algorithm to re-encrypt the encrypted cross-chain transaction according to the public key of the temporary key pair to obtain a secondary encrypted cross-chain transaction, and sends the secondary encrypted cross-chain transaction, the hash value of the encrypted cross-chain transaction, and the signature information of the source blockchain to the target blockchain. The target blockchain IB_j verifies the hash value of the encrypted cross-chain transaction and the signature information of the source blockchain according to the first preset encryption algorithm, and determines the public key of the temporary key pair according to the target identity authentication information after the verification result is verified, and then uses the public key of the temporary key pair and the national secret SM4 algorithm to decrypt the secondary encrypted cross-chain transaction to obtain and process the original cross-chain transaction t_u_n.

[0125] In the scheme of the present application, the source blockchain receives a cross-chain transaction processing request sent by a target user device, and determines the identification information of the original cross-chain transaction and the target blockchain according to the cross-chain transaction processing request; generates an identity authentication request according to the identification information of the target blockchain and the source identity authentication information of the source blockchain, and sends the identity authentication request to the cross-chain repeater; wherein the identity authentication request includes the identification information of the target blockchain and the source identity authentication information of the source blockchain; receives the private key of the temporary key pair returned by the cross-chain repeater, and encrypts the original cross-chain transaction according to the private key of the temporary key pair to obtain a single encrypted cross-chain transaction, and sends the single encrypted cross-chain transaction to the cross-chain repeater, so that the cross-chain repeater performs secondary encryption on the single encrypted cross-chain transaction to obtain a secondary encrypted cross-chain transaction, and sends the secondary encrypted cross-chain transaction to the target blockchain; wherein the target blockchain is used to determine the public key of the temporary key pair according to the target identity authentication information, and process the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair. That is, in the scheme of the present application, the source blockchain authenticates the identity of the target user to determine that the target user is a user who has registered on the source blockchain, thereby further improving the security of cross-chain transaction processing. The information included in the cross-chain transaction processing request sent by the target user device is information encrypted by the target user device according to a variety of preset encryption algorithms, thereby improving the initial security of the cross-chain transaction. The source blockchain establishes a hash value of the encrypted cross-chain transaction and the signature information of the source blockchain, and sends the hash value of the encrypted cross-chain transaction and the signature information of the source blockchain to the cross-chain repeater, which is then forwarded to the target blockchain by the cross-chain repeater, so that the target blockchain can verify the source blockchain information, thereby further improving the security of the cross-chain transaction processing process.

[0126] Figure 4 This is a schematic diagram of the structure of the cross-chain transaction processing device provided by the present application. The device is suitable for executing the cross-chain transaction processing method provided by the present application, and is configured as a cross-chain repeater in the cross-chain transaction processing system. The cross-chain transaction processing system also includes a source blockchain and a target blockchain. Figure 4 As shown, the device may specifically include:

[0127] The verification request receiving module 401 is used to receive the identity authentication request sent by the source blockchain; wherein the identity authentication request includes the identification information of the target blockchain and the source identity authentication information of the source blockchain.

[0128] The verification information determination module 402 is used to determine the target identity authentication information of the target blockchain according to the identification information of the target blockchain.

[0129] The key pair generation module 403 is used to generate a temporary key pair according to the source identity authentication information and the target identity authentication information, and return the private key of the temporary key pair to the source blockchain.

[0130] The secondary encryption module 404 is used to receive the once encrypted cross-chain transaction sent by the source blockchain, and perform secondary encryption on the once encrypted cross-chain transaction according to the public key of the temporary key pair to obtain a secondary encrypted cross-chain transaction; wherein the once encrypted cross-chain transaction is obtained by the source blockchain encrypting the original cross-chain transaction according to the private key of the temporary key pair.

[0131] The cross-chain transaction sending module 405 is used to send the secondary encrypted cross-chain transaction to the target blockchain, so that the target blockchain determines the public key of the temporary key pair according to the target identity authentication information, and processes the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair.

[0132] In one embodiment, the verification request receiving module 401 is also used to: after receiving the identity authentication request sent by the source blockchain, determine the identification information of the source blockchain according to the source identity authentication information; if the source blockchain is determined to be a trusted blockchain according to the identification information of the source blockchain, then determine to execute the step of determining the target identity authentication information of the target blockchain according to the identification information of the target blockchain.

[0133] In one embodiment, the key pair generation module 403 is specifically used to: encrypt the source identity authentication information and the target identity authentication information according to a first preset encryption algorithm to generate the temporary key pair.

[0134] In one embodiment, the secondary encryption module 404 is specifically used to receive the once encrypted cross-chain transaction sent by the source blockchain, and is specifically used to: receive the once encrypted cross-chain transaction sent by the source blockchain, the hash value of the once encrypted cross-chain transaction, and the signature information of the source blockchain; the cross-chain transaction sending module 405 is specifically used to: send the secondary encrypted cross-chain transaction, the hash value of the once encrypted cross-chain transaction, and the signature information of the source blockchain to the target blockchain, so that the target blockchain uses the first preset encryption algorithm to verify the hash value of the once encrypted cross-chain transaction and the signature information of the source blockchain, and after the verification result is verification passed, determine the public key of the temporary key pair according to the target identity authentication information, and process the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair.

[0135] The device of the present application, the cross-chain repeater receives the identity authentication request sent by the source blockchain; wherein the identity authentication request includes the identification information of the target blockchain and the source identity authentication information of the source blockchain; the target identity authentication information of the target blockchain is determined according to the identification information of the target blockchain; a temporary key pair is generated according to the source identity authentication information and the target identity authentication information, and the private key of the temporary key pair is returned to the source blockchain; the once encrypted cross-chain transaction sent by the source blockchain is received, and the once encrypted cross-chain transaction is re-encrypted according to the public key of the temporary key pair to obtain a secondary encrypted cross-chain transaction; wherein the once encrypted cross-chain transaction is obtained by encrypting the original cross-chain transaction according to the private key of the temporary key pair by the source blockchain; the secondary encrypted cross-chain transaction is sent to the target blockchain, so that the target blockchain determines the public key of the temporary key pair according to the target identity authentication information, and processes the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair. That is, the scheme of the present application, on the one hand, uses a temporary key pair to encrypt the cross-chain transaction, so that the cross-chain transaction can be transmitted in the blockchain in the form of encrypted information, so as to avoid the cross-chain transaction from being maliciously stolen during the cross-chain process. On the other hand, the cross-chain repeater generates a temporary key pair based on the identity authentication information of the source blockchain and the target blockchain, so that the generation of the temporary key pair involves the security mechanism issues of the source blockchain and the target blockchain, so that the access control information does not need to be changed during the cross-chain process, avoiding malicious attacks during the change of access control information, thereby improving the security of the cross-chain access process.

[0136] Figure 5 is another structural diagram of the cross-chain transaction processing device provided by the present application, which is suitable for executing the cross-chain transaction processing method provided by the present application, and is configured in the source blockchain in the cross-chain transaction processing system, and the cross-chain transaction processing system also includes a cross-chain repeater and a target blockchain. Figure 5 As shown, the device may specifically include:

[0137] The processing request receiving module 501 is used to receive a cross-chain transaction processing request sent by a target user device, and determine the identification information of the original cross-chain transaction and the target blockchain according to the cross-chain transaction processing request.

[0138] The verification request sending module 502 is used to generate an authentication request based on the identification information of the target blockchain and the source identity authentication information of the source blockchain, and send the authentication request to the cross-chain repeater; wherein the authentication request includes the identification information of the target blockchain and the source identity authentication information of the source blockchain.

[0139] The one-time encryption module 503 is used to receive the private key of the temporary key pair returned by the cross-chain repeater, and encrypt the original cross-chain transaction according to the private key of the temporary key pair to obtain a one-time encrypted cross-chain transaction, and send the one-time encrypted cross-chain transaction to the cross-chain repeater, so that the cross-chain repeater performs a second encryption on the one-time encrypted cross-chain transaction to obtain a second encrypted cross-chain transaction, and sends the second encrypted cross-chain transaction to the target blockchain; wherein the target blockchain is used to determine the public key of the temporary key pair according to the target identity authentication information, and process the original cross-chain transaction obtained by decrypting the second encrypted cross-chain transaction using the public key of the temporary key pair.

[0140] In one embodiment, the cross-chain transaction processing request includes target user identification information, initial encryption information, target user signature information, a hash value of the initial encryption information, and target access information. The processing request receiving module 501, in terms of determining the original cross-chain transaction and the identification information of the target blockchain according to the cross-chain transaction processing request, is specifically used to: determine the identification information of the target blockchain according to the target access information; perform signature verification on the target user signature information and the hash value of the initial encryption information according to the target user registration public key and a first preset encryption algorithm; wherein the target user registration public key is the information sent by the target user when registering on the source blockchain; if the result of the signature authentication is that the signature authentication is passed, the initial encrypted information is decrypted according to the target user identification information and the second preset encryption algorithm to obtain the original cross-chain transaction.

[0141] In one embodiment, before performing signature verification on the target user signature information and the hash value of the initial encrypted information according to the target user registration public key and the first preset encryption algorithm, the processing request receiving module 501 is also used to: determine whether the identification information of the target blockchain is consistent with the identification information of the source blockchain; if the identification information of the target blockchain is inconsistent with the identification information of the source blockchain, determine to execute the step of performing signature verification on the target user signature information and the hash value of the initial encrypted information according to the target user registration public key and the first preset encryption algorithm.

[0142] In one embodiment, the device also includes: a registration module, which is used to receive an information registration request sent by the target user device before the processing request receiving module 501 receives the cross-chain transaction processing request sent by the target user device; wherein the information registration request includes the target user registration public key; complete the registration of the target user according to the target user registration public key, and return the generated target user identification information to the target user device.

[0143] In one embodiment, the initial encrypted information is obtained by the target user device encrypting the original cross-chain transaction according to the second preset encryption algorithm and the target user identification information; the hash value of the initial encrypted information is obtained by the target user device calculating the hash value of the initial encrypted information according to a third preset encryption algorithm; the target user signature information is obtained by the target user device signing the hash value of the initial encrypted information according to the target user registration private key and the first preset encryption algorithm.

[0144] In one embodiment, the one-time encryption module 503 is specifically used for: encrypting the original cross-chain transaction according to the private key of the temporary key pair to obtain a one-time encrypted cross-chain transaction according to the second preset encryption algorithm and the private key of the temporary key pair to obtain a one-time encrypted cross-chain transaction; after the one-time encryption module 503 encrypts the original cross-chain transaction according to the private key of the temporary key pair to obtain a one-time encrypted cross-chain transaction, it is also used for: calculating the hash value of the one-time encrypted cross-chain transaction according to the third preset encryption algorithm; signing the hash value of the one-time encrypted cross-chain transaction according to the private key of the temporary key pair and the first preset encryption algorithm to obtain the signature information of the source blockchain; the one-time encryption module 503 sends the one-time encrypted cross-chain transaction to the cross-chain repeater so that the cross-chain repeater performs secondary encryption on the one-time encrypted cross-chain transaction In terms of obtaining a secondary encrypted cross-chain transaction and sending the secondary encrypted cross-chain transaction to the target blockchain, it is specifically used to: send the primary encrypted cross-chain transaction, the hash value of the primary encrypted cross-chain transaction, and the signature information of the source blockchain to the cross-chain repeater, so that the cross-chain repeater performs secondary encryption on the primary encrypted cross-chain transaction to obtain a secondary encrypted cross-chain transaction, and send the secondary encrypted cross-chain transaction, the hash value of the primary encrypted cross-chain transaction, and the signature information of the source blockchain to the target blockchain; wherein the target blockchain is used to verify the hash value of the primary encrypted cross-chain transaction and the signature information of the source blockchain according to the first preset encryption algorithm, and determine the public key of the temporary key pair according to the target identity authentication information after the verification result is verification passed, and process the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair.

[0145] The device of the present application, the source blockchain receives the cross-chain transaction processing request sent by the target user device, and determines the identification information of the original cross-chain transaction and the target blockchain according to the cross-chain transaction processing request; generates an identity authentication request according to the identification information of the target blockchain and the source identity authentication information of the source blockchain, and sends the identity authentication request to the cross-chain repeater; wherein the identity authentication request includes the identification information of the target blockchain and the source identity authentication information of the source blockchain; receives the private key of the temporary key pair returned by the cross-chain repeater, and encrypts the original cross-chain transaction according to the private key of the temporary key pair to obtain a single encrypted cross-chain transaction, and sends the single encrypted cross-chain transaction to the cross-chain repeater, so that the cross-chain repeater performs secondary encryption on the single encrypted cross-chain transaction to obtain a secondary encrypted cross-chain transaction, and sends the secondary encrypted cross-chain transaction to the target blockchain; wherein the target blockchain is used to determine the public key of the temporary key pair according to the target identity authentication information, and process the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair. That is, in the scheme of the present application, the source blockchain authenticates the identity of the target user to determine that the target user is a user who has registered on the source blockchain, thereby further improving the security of cross-chain transaction processing. The information included in the cross-chain transaction processing request sent by the target user device is information encrypted by the target user device according to a variety of preset encryption algorithms, thereby improving the initial security of the cross-chain transaction. The source blockchain establishes a hash value of the encrypted cross-chain transaction and the signature information of the source blockchain, and sends the hash value of the encrypted cross-chain transaction and the signature information of the source blockchain to the cross-chain repeater, which is then forwarded to the target blockchain by the cross-chain repeater, so that the target blockchain can verify the source blockchain information, thereby further improving the security of the cross-chain transaction processing process.

[0146] The present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the cross-chain transaction processing method provided in any of the above embodiments is implemented.

[0147] The present application also provides a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the cross-chain transaction processing method provided in any of the above embodiments is implemented.

[0148] Reference below Figure 6 , which shows a structural schematic diagram of an electronic device 600 suitable for implementing the present application. Figure 6 The electronic device shown is only an example and should not bring any limitation to the function and scope of use of the present application.

[0149] like Figure 6As shown, the electronic device 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0150] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed into the storage section 608 as needed.

[0151] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 609, and / or installed from the removable medium 611. When the computer program is executed by the central processing unit (CPU) 601, the above-mentioned functions defined in the system of the present application are executed.

[0152] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0153] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0154] The modules and / or units described in this application may be implemented in software or hardware. The modules and / or units described may also be provided in a processor, for example, may be described as: a processor applied to a cross-chain repeater in a cross-chain transaction processing system, the cross-chain transaction processing system further comprising a source blockchain and a target blockchain, including a verification request receiving module, a verification information determination module, a key pair generation module, a secondary encryption module, and a cross-chain transaction sending module. Alternatively, it may be described as: a processor applied to a source blockchain in a cross-chain transaction processing system, the cross-chain transaction processing system further comprising a cross-chain repeater and a target blockchain, including a processing request receiving module, a verification request sending module, and a one-time encryption module. Among them, the names of these modules do not constitute a limitation on the module itself in some cases.

[0155] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device performs the following operations:

[0156] Receive an identity authentication request sent by a source blockchain; wherein the identity authentication request includes identification information of a target blockchain and source identity authentication information of the source blockchain; determine target identity authentication information of the target blockchain according to the identification information of the target blockchain; generate a temporary key pair according to the source identity authentication information and the target identity authentication information, and return the private key of the temporary key pair to the source blockchain; receive a single encrypted cross-chain transaction sent by the source blockchain, and perform secondary encryption on the single encrypted cross-chain transaction according to the public key of the temporary key pair to obtain a secondary encrypted cross-chain transaction; wherein the single encrypted cross-chain transaction is obtained by encrypting the original cross-chain transaction by the source blockchain according to the private key of the temporary key pair; send the secondary encrypted cross-chain transaction to the target blockchain, so that the target blockchain determines the public key of the temporary key pair according to the target identity authentication information, and processes the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair.

[0157] Or the computer-readable medium carries one or more programs, and when the one or more programs are executed by a device, the device performs the following operations:

[0158] Receive a cross-chain transaction processing request sent by a target user device, and determine the identification information of the original cross-chain transaction and the target blockchain according to the cross-chain transaction processing request; generate an identity authentication request according to the identification information of the target blockchain and the source identity authentication information of the source blockchain, and send the identity authentication request to the cross-chain repeater; wherein the identity authentication request includes the identification information of the target blockchain and the source identity authentication information of the source blockchain; receive the private key of the temporary key pair returned by the cross-chain repeater, and encrypt the original cross-chain transaction according to the private key of the temporary key pair to obtain a single encrypted cross-chain transaction, and send the single encrypted cross-chain transaction to the cross-chain repeater, so that the cross-chain repeater performs secondary encryption on the single encrypted cross-chain transaction to obtain a secondary encrypted cross-chain transaction, and sends the secondary encrypted cross-chain transaction to the target blockchain; wherein the target blockchain is used to determine the public key of the temporary key pair according to the target identity authentication information, and process the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair.

[0159] According to the technical solution of the present invention, the cross-chain repeater receives the identity authentication request sent by the source blockchain; wherein the identity authentication request includes the identification information of the target blockchain and the source identity authentication information of the source blockchain; the target identity authentication information of the target blockchain is determined according to the identification information of the target blockchain; a temporary key pair is generated according to the source identity authentication information and the target identity authentication information, and the private key of the temporary key pair is returned to the source blockchain; the once encrypted cross-chain transaction sent by the source blockchain is received, and the once encrypted cross-chain transaction is re-encrypted according to the public key of the temporary key pair to obtain a secondary encrypted cross-chain transaction; wherein the once encrypted cross-chain transaction is obtained by encrypting the original cross-chain transaction according to the private key of the temporary key pair by the source blockchain; the secondary encrypted cross-chain transaction is sent to the target blockchain, so that the target blockchain determines the public key of the temporary key pair according to the target identity authentication information, and processes the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair. That is, the solution of the present application, on the one hand, uses a temporary key pair to encrypt the cross-chain transaction, so that the cross-chain transaction can be transmitted in the blockchain in the form of encrypted information, so as to avoid the cross-chain transaction from being maliciously stolen during the cross-chain process. On the other hand, the cross-chain repeater generates a temporary key pair based on the identity authentication information of the source blockchain and the target blockchain, so that the generation of the temporary key pair involves the security mechanism issues of the source blockchain and the target blockchain, so that the access control information does not need to be changed during the cross-chain process, avoiding malicious attacks during the change of access control information, thereby improving the security of the cross-chain access process.

[0160] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements a cross-chain transaction processing method as provided in any embodiment of the present application.

[0161] In the process of implementation, the computer program product can be written in one or more programming languages ​​or a combination thereof to perform the computer program code of the present application, and the programming language includes an object-oriented programming language, such as Java, Smalltalk, C++, and also includes a conventional procedural programming language, such as "C" language or similar programming language. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on the remote computer, or completely on the remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).

[0162] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution of this application can be achieved, and this document is not limited here.

[0163] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A cross-chain transaction processing method, characterized in that: A cross-chain repeater applied to a cross-chain transaction processing system, wherein the cross-chain transaction processing system further includes a source blockchain and a target blockchain, and the method includes: Receiving an identity authentication request sent by the source blockchain; wherein the identity authentication request includes identification information of the target blockchain and source identity authentication information of the source blockchain; Determine the target identity authentication information of the target blockchain according to the identification information of the target blockchain; Generate a temporary key pair according to the source identity authentication information and the target identity authentication information, and return the private key of the temporary key pair to the source blockchain; Receive a primary encrypted cross-chain transaction sent by the source blockchain, and perform secondary encryption on the primary encrypted cross-chain transaction according to the public key of the temporary key pair to obtain a secondary encrypted cross-chain transaction; wherein the primary encrypted cross-chain transaction is obtained by encrypting the original cross-chain transaction by the source blockchain according to the private key of the temporary key pair; The secondary encrypted cross-chain transaction is sent to the target blockchain, so that the target blockchain determines the public key of the temporary key pair according to the target identity authentication information, and processes the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair.

2. The method according to claim 1, characterized in that: After receiving the identity authentication request sent by the source blockchain, the method further includes: Determine the identification information of the source blockchain according to the source identity authentication information; If the source blockchain is determined to be a trusted blockchain based on the identification information of the source blockchain, then a step of determining the target identity authentication information of the target blockchain based on the identification information of the target blockchain is performed.

3. The method according to claim 1, characterized in that The generating a temporary key pair according to the source identity authentication information and the target identity authentication information includes: The source identity authentication information and the target identity authentication information are encrypted according to a first preset encryption algorithm to generate the temporary key pair.

4. The method according to claim 1, characterized in that: The receiving an encrypted cross-chain transaction sent by the source blockchain includes: Receive the encrypted cross-chain transaction sent by the source blockchain, the hash value of the encrypted cross-chain transaction, and the signature information of the source blockchain; The sending of the secondary encrypted cross-chain transaction to the target blockchain so that the target blockchain determines the public key of the temporary key pair according to the target identity authentication information, and processes the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair, including: The secondary encrypted cross-chain transaction, the hash value of the primary encrypted cross-chain transaction, and the signature information of the source blockchain are sent to the target blockchain, so that the target blockchain verifies the hash value of the primary encrypted cross-chain transaction and the signature information of the source blockchain using the first preset encryption algorithm, and determines the public key of the temporary key pair according to the target identity authentication information after the verification result is verified passed, and processes the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair.

5. A cross-chain transaction processing method, characterized in that: A source blockchain applied to a cross-chain transaction processing system, wherein the cross-chain transaction processing system further includes a cross-chain repeater and a target blockchain, and the method includes: Receive a cross-chain transaction processing request sent by a target user device, and determine identification information of the original cross-chain transaction and the target blockchain according to the cross-chain transaction processing request; Generate an identity authentication request according to the identification information of the target blockchain and the source identity authentication information of the source blockchain, and send the identity authentication request to the cross-chain repeater; wherein the identity authentication request includes the identification information of the target blockchain and the source identity authentication information of the source blockchain; Receive the private key of the temporary key pair returned by the cross-chain repeater, and encrypt the original cross-chain transaction according to the private key of the temporary key pair to obtain a primary encrypted cross-chain transaction, and send the primary encrypted cross-chain transaction to the cross-chain repeater, so that the cross-chain repeater performs secondary encryption on the primary encrypted cross-chain transaction to obtain a secondary encrypted cross-chain transaction, and sends the secondary encrypted cross-chain transaction to the target blockchain; wherein the target blockchain is used to determine the public key of the temporary key pair according to the target identity authentication information, and process the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair.

6. The method according to claim 5, characterized in that The cross-chain transaction processing request includes target user identification information, initial encryption information, target user signature information, a hash value of the initial encryption information, and target access information. The determining of the original cross-chain transaction and the identification information of the target blockchain according to the cross-chain transaction processing request includes: Determine identification information of the target blockchain according to the target access information; Performing signature verification on the target user signature information and the hash value of the initial encrypted information according to the target user registration public key and a first preset encryption algorithm; wherein the target user registration public key is the information sent by the target user when registering on the source blockchain; If the result of the signature authentication is that the signature authentication is passed, the initial encrypted information is decrypted according to the target user identification information and the second preset encryption algorithm to obtain the original cross-chain transaction.

7. The method according to claim 6, characterized in that Before performing signature verification on the target user signature information and the hash value of the initial encrypted information according to the target user registration public key and the first preset encryption algorithm, the method further includes: Determine whether the identification information of the target blockchain is consistent with the identification information of the source blockchain; If the identification information of the target blockchain is inconsistent with the identification information of the source blockchain, it is determined to execute a step of signature verification on the target user signature information and the hash value of the initial encrypted information according to the target user registration public key and the first preset encryption algorithm.

8. The method according to claim 6, characterized in that Before receiving the cross-chain transaction processing request sent by the target user equipment, the method further includes: Receiving an information registration request sent by the target user device; wherein the information registration request includes the target user registration public key; The registration of the target user is completed according to the target user registration public key, and the generated target user identification information is returned to the target user device.

9. The method according to claim 6, characterized in that The initial encrypted information is obtained after the target user device encrypts the original cross-chain transaction according to the second preset encryption algorithm and the target user identification information; The hash value of the initial encrypted information is obtained by the target user equipment calculating the hash value of the initial encrypted information according to a third preset encryption algorithm; The target user signature information is obtained by the target user device signing the hash value of the initial encryption information according to the target user registration private key and the first preset encryption algorithm.

10. The method according to claim 9, characterized in that The step of encrypting the original cross-chain transaction according to the private key of the temporary key pair to obtain an encrypted cross-chain transaction includes: Encrypting the original cross-chain transaction according to the second preset encryption algorithm and the private key of the temporary key pair to obtain an encrypted cross-chain transaction; After encrypting the original cross-chain transaction according to the private key of the temporary key pair to obtain an encrypted cross-chain transaction, the method further includes: Calculate the hash value of the encrypted cross-chain transaction according to the third preset encryption algorithm; Signing the hash value of the one-time encrypted cross-chain transaction according to the private key of the temporary key pair and the first preset encryption algorithm to obtain signature information of the source blockchain; The sending the once encrypted cross-chain transaction to the cross-chain repeater so that the cross-chain repeater performs secondary encryption on the once encrypted cross-chain transaction to obtain a secondary encrypted cross-chain transaction, and sending the secondary encrypted cross-chain transaction to the target blockchain includes: The once encrypted cross-chain transaction, the hash value of the once encrypted cross-chain transaction, and the signature information of the source blockchain are sent to the cross-chain repeater, so that the cross-chain repeater performs a second encryption on the once encrypted cross-chain transaction to obtain a second encrypted cross-chain transaction, and sends the second encrypted cross-chain transaction, the hash value of the once encrypted cross-chain transaction, and the signature information of the source blockchain to the target blockchain; wherein the target blockchain is used to verify the hash value of the once encrypted cross-chain transaction and the signature information of the source blockchain according to the first preset encryption algorithm, and after the verification result is verification passed, determine the public key of the temporary key pair according to the target identity authentication information, and process the original cross-chain transaction obtained by decrypting the second encrypted cross-chain transaction using the public key of the temporary key pair.

11. A cross-chain transaction processing device, characterized in that: A cross-chain repeater configured in a cross-chain transaction processing system, wherein the cross-chain transaction processing system further includes a source blockchain and a target blockchain, and the device includes: A verification request receiving module, used to receive an identity authentication request sent by the source blockchain; wherein the identity authentication request includes the identification information of the target blockchain and the source identity authentication information of the source blockchain; A verification information determination module, used to determine the target identity authentication information of the target blockchain according to the identification information of the target blockchain; A key pair generation module, configured to generate a temporary key pair according to the source identity authentication information and the target identity authentication information, and return the private key of the temporary key pair to the source blockchain; A secondary encryption module is used to receive the primary encrypted cross-chain transaction sent by the source blockchain, and perform secondary encryption on the primary encrypted cross-chain transaction according to the public key of the temporary key pair to obtain a secondary encrypted cross-chain transaction; wherein the primary encrypted cross-chain transaction is obtained by encrypting the original cross-chain transaction by the source blockchain according to the private key of the temporary key pair; A cross-chain transaction sending module is used to send the secondary encrypted cross-chain transaction to the target blockchain, so that the target blockchain determines the public key of the temporary key pair according to the target identity authentication information, and processes the original cross-chain transaction obtained by decrypting the secondary encrypted cross-chain transaction using the public key of the temporary key pair.

12. A cross-chain transaction processing device, characterized in that: A source blockchain configured in a cross-chain transaction processing system, the cross-chain transaction processing system also including a cross-chain repeater and a target blockchain, the device comprising: A processing request receiving module, used to receive a cross-chain transaction processing request sent by a target user device, and determine the identification information of the original cross-chain transaction and the target blockchain according to the cross-chain transaction processing request; A verification request sending module, used to generate an identity authentication request according to the identification information of the target blockchain and the source identity authentication information of the source blockchain, and send the identity authentication request to the cross-chain repeater; wherein the identity authentication request includes the identification information of the target blockchain and the source identity authentication information of the source blockchain; A one-time encryption module is used to receive the private key of the temporary key pair returned by the cross-chain repeater, and encrypt the original cross-chain transaction according to the private key of the temporary key pair to obtain a one-time encrypted cross-chain transaction, and send the one-time encrypted cross-chain transaction to the cross-chain repeater, so that the cross-chain repeater performs a second encryption on the one-time encrypted cross-chain transaction to obtain a second encrypted cross-chain transaction, and sends the second encrypted cross-chain transaction to the target blockchain; wherein the target blockchain is used to determine the public key of the temporary key pair according to the target identity authentication information, and process the original cross-chain transaction obtained by decrypting the second encrypted cross-chain transaction using the public key of the temporary key pair.

13. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, it implements the cross-chain transaction processing method as described in any one of claims 1 to 4, or implements the cross-chain transaction processing method as described in any one of claims 5 to 10.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, it implements the cross-chain transaction processing method as described in any one of claims 1 to 4, or implements the cross-chain transaction processing method as described in any one of claims 5 to 10.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by the processor, it implements the cross-chain transaction processing method as described in any one of claims 1 to 4, or implements the cross-chain transaction processing method as described in any one of claims 5 to 10.

Citation Information

Patent Citations

  • Identity verification method and system in financing transaction based on blockchain

    CN113010861A

  • Block chain cross-chain data processing method, relay chain, application chain and cross-chain network

    CN114615095A

  • Secure verifiable service providing method and system based on block chain cross-chain

    CN114826766A

  • Method and system for safely interacting information of different departments based on cross-chain block chain

    CN116506104A

  • Cross-chain data sharing method

    CN117294422A