A cross-chain combined payment method based on a relay chain

By using a relay chain-based cross-chain combined payment method, and leveraging transaction smart contracts and reputation value mechanisms, the problem of value isolation between blockchains is solved, enabling efficient circulation and interoperability of cross-chain assets and improving the scalability of the blockchain.

CN116452207BActive Publication Date: 2026-07-31ZHEJIANG UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ZHEJIANG UNIV
Filing Date
2023-04-20
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

The value isolation between different blockchains has led to the "island" effect. Existing cross-chain technologies have problems with security, compatibility and transaction efficiency, making it difficult to achieve efficient cross-chain asset circulation and interoperability.

Method used

It adopts a cross-chain combined payment method based on a relay chain, through which the payer, payee and intermediary/acceptor conduct transactions based on transaction smart contracts, the verification committee verifies the transaction results, and the election process and reputation value mechanism incentivize honest verifiers to realize the circulation and trading of cross-chain assets.

Benefits of technology

It enhances the liquidity and interoperability of blockchain assets and improves the scalability and transaction efficiency of blockchain without the need to establish a new relay chain on any chain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116452207B_ABST
    Figure CN116452207B_ABST
Patent Text Reader

Abstract

This invention discloses a cross-chain combined payment method based on a relay chain. In this method, the transacting parties and an intermediary / acceptor conduct transactions via a relay chain, and a verification committee verifies the transactions. The verification committee is randomly selected through a verification committee election process and consists of verifiers who meet a reputation value threshold. The verification committee participates in and verifies transactions. The intermediary / acceptor accumulates reputation value by participating in transactions, and verifiers accumulate their reputation value by participating in verification transactions. A reputation smart contract manages the reputation values ​​of the intermediary / acceptor and verifiers. This invention's secure cross-chain combined payment method based on any relay chain enhances the liquidity of different blockchain assets and improves the interoperability and scalability of the blockchain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of digital currency asset trading, and in particular to a cross-chain combined payment method based on a relay chain. Background Technology

[0002] With the continuous development and innovation of blockchain technology, blockchain networks with different application scenarios and design requirements have been widely adopted. However, due to the independence between different blockchains, the value of blockchains is often isolated, forming an "island" effect. To achieve business collaboration and value circulation between different blockchains, and to improve their interoperability and scalability, cross-chain technology has become an important solution. Currently, the main mechanisms of cross-chain technology include notary mechanisms, sidechains / relays, hash locking, and distributed private key control. Notary mechanisms have a simple technical structure and good compatibility, but suffer from security issues due to centralization. Sidechain / relay technology has good scalability and security and is applicable to a wide range of scenarios, but its implementation complexity is high and transaction efficiency is low. Hash locking technology has the advantage of not requiring mutual trust between transaction participants, resulting in high security, but it can only achieve the exchange of cross-chain assets, not their transfer. Distributed private key control technology, while highly secure, has limited applicability. Summary of the Invention

[0003] To address the shortcomings of existing technologies, this invention proposes a secure cross-chain combined payment method based on any relay chain, which enhances the liquidity of different blockchain assets and improves the interoperability and scalability of blockchains.

[0004] To achieve the above objectives, this invention provides a cross-chain combined payment method based on a relay chain; the method includes the following steps:

[0005] (1) The payer, payee and intermediary / acceptor conduct transactions based on the transaction smart contract, and the verification committee verifies the transaction results;

[0006] (2) The verification committee election process is used to select verifiers to verify the transaction results;

[0007] (3) The intermediary / acceptor accumulates credit value by participating in transactions, and the verifier accumulates its credit value by participating in verification transactions.

[0008] Specifically, step (1) includes the following sub-steps:

[0009] (1.1) The payer and payee publish a transaction tx, the conditions of which include the types of assets of the payer and payee, the account addresses of the payer and payee, the transaction amount and the transaction exchange rate;

[0010] (1.2) Supporting the types of assets required by the payer, intermediaries / acceptors A1, A2, A3... and supporting the types of assets required by the payee, intermediaries / acceptors B1, B2, B3... According to the transaction information and the types of assets they support, they pay a deposit and join the transaction tx within the specified time according to the self-selection rules.

[0011] (1.3) Intermediaries / acceptors A1, A2, A3... establish transactions with the payer on the blockchain of their respective asset types and complete the transactions within the specified time.

[0012] (1.4) The verification committee is selected through the verification committee election process to join the transaction tx in step (1.1). The verification committee verifies the transaction results in step (1.3) and votes on the completion status of the transaction results in the transaction contract.

[0013] (1.5) The transaction smart contract completes the disposal of the deposits of the intermediary / acceptor A1, A2, A3... and the verification committee according to the voting results in step (1.4), and notifies the intermediary / acceptor B1, B2, B3... and the payee B of the transaction message;

[0014] (1.6) The transaction smart contract calls the reputation smart contract to update the reputation values ​​of the intermediary / acceptor and the verification committee;

[0015] (1.7) Intermediaries / acceptors B1, B2, B3... establish transactions with the payee on the blockchain of the corresponding asset type and complete the transactions within the specified time.

[0016] (1.8) The verification committee is elected through the verification committee election process to join the transaction tx in step (1.1) above. The verification committee verifies the transaction results in step (1.7) above and votes on the completion status of the transaction results in the transaction contract.

[0017] (1.9) The transaction smart contract completes the processing of the deposits of the intermediary / acceptor B1, B2, B3... and the verification committee based on the voting results of step (1.8) above;

[0018] (1.10) The transaction smart contract calls the reputation smart contract to update the reputation value of the intermediary / acceptor and the verification committee.

[0019] Specifically, step (1.5) includes the following sub-steps:

[0020] (1.5.1) The voting results are determined by the category with the most votes from the verification committee. The category with the most votes is considered an honest verifier, while the category with fewer votes is considered a malicious verifier. The transaction smart contract will distribute the deposits of malicious verifiers equally among the other honest verification committees. Honest verifiers will receive additional transaction success rewards based on the equal distribution rule to incentivize more honest verifiers to participate in transaction verification.

[0021] (1.5.2) If the transaction between the payer and the intermediary / acceptor A1, A2, A3... on other blockchains is not completed, the transaction ends and the deposit of the intermediary / acceptor A1, A2, A3... is returned;

[0022] (1.5.3) If the transaction between the payer and the intermediary / acceptor A1, A2, A3... on other blockchains is partially or fully completed, the transaction smart contract deducts the deposit of the intermediary / acceptor for the successful part and returns the deposit of the intermediary / acceptor for the failed part.

[0023] (1.5.3) The transaction smart contract will transfer the total deposit deducted in step 1.5.3 above to the intermediary / acceptor B1, B2, B3... proportionally according to the transaction tx, and notify the intermediary / acceptor B1, B2, B3... and the payee of the transaction message.

[0024] Specifically, step (1.9) includes the following sub-steps:

[0025] (1.9.1) The voting results are determined by the category with the most votes from the verification committee. The category with the most votes is considered an honest verifier, while the category that did not vote within the specified time or whose votes were in the minority is considered a malicious verifier. The transaction smart contract will distribute the deposits of malicious verifiers equally among the other honest verification committee members. Honest verifiers will receive additional transaction success rewards based on the equal distribution rule to incentivize more honest verifiers to participate in transaction verification.

[0026] (1.9.2) If the transactions between the payee and the intermediaries / acceptors B1, B2, B3... are completed on other blockchains, then all deposits of the intermediaries / acceptors B1, B2, B3... will be refunded and the transaction will end;

[0027] (1.9.3) If the transaction between the payee and the intermediary / acceptor B1, B2, B3... is partially completed on other blockchains, the deposit of the intermediary / acceptor for the successful part will be refunded, the deposit of the intermediary / acceptor for the failed part will be deducted, and the deposit will be transferred to the payee's account on this intermediary chain, and the transaction will end.

[0028] Specifically, step (2) includes the following sub-steps:

[0029] (2.1) Validators pay a certain deposit to become candidate validators;

[0030] (2.1) Use a verifiable random function (VRF) to randomly select an initial verification committee and a set of backup verifications from the candidate verifications who have paid the deposit;

[0031] (2.2) For verifiers participating in transaction verification, first check whether their reputation value is greater than the threshold. If it is lower than the threshold, select a new verifier from the candidate verifiers.

[0032] Specifically, step (3) includes the following sub-steps:

[0033] (3.1) If all transactions fail, the credit rating of the intermediary / acceptor remains unchanged;

[0034] (3.2) If the transaction is partially or fully successful, the reputation value of the intermediary / acceptor in the successful part increases, while the reputation value of the intermediary / acceptor in the failed part remains unchanged.

[0035] (3.3) Honest validators' reputation value increases according to predetermined rules, while malicious validators' reputation value decreases according to predetermined rules.

[0036] The beneficial effects of this invention are: enabling combined payments on any chain without establishing a new relay chain, enhancing the liquidity of different blockchain assets, and improving the interoperability and scalability of blockchains. Attached Figure Description

[0037] Figure 1 A flowchart of a cross-chain combined payment method based on a relay chain;

[0038] Figure 2 This is a flowchart illustrating the smart contract workflow for a cross-chain combined payment method based on a relay chain. Detailed Implementation

[0039] The present invention will now be described in further detail with reference to the accompanying drawings.

[0040] like Figure 1 and Figure 2 As shown, this invention provides a cross-chain combined payment method based on a relay chain, comprising the following steps:

[0041] The payer, payee, and intermediary / acceptor conduct transactions based on smart contracts, and the verification committee verifies the transaction results.

[0042] The verification committee election process is used to select verifiers to verify the transaction results;

[0043] The intermediary / acceptor accumulates credit value by participating in transactions, and the verifier accumulates its credit value by participating in verification transactions;

[0044] Furthermore, the payer, payee, and intermediary / acceptor conduct transactions based on smart contracts, and the verification committee verifies the transaction results through the following sub-steps:

[0045] (1.1) The payer and payee publish the transaction tx, including the types of assets of the payer and payee, the account address of the payer and payee, the transaction amount, the transaction exchange rate and other conditions;

[0046] (1.2) Supporting the types of assets required by the payer, intermediaries / acceptors A1, A2, A3... and supporting the types of assets required by the payee, intermediaries / acceptors B1, B2, B3... According to the transaction information and the types of assets they support, they pay a deposit and join the transaction tx within the specified time according to the self-selection rules.

[0047] (1.3) Intermediaries / acceptors A1, A2, A3... establish transactions with the payer on the blockchain of their respective asset types and complete the transactions within the specified time.

[0048] (1.4) The verification committee is elected through the verification committee election process to join the transaction tx in step (1.1) above. The verification committee verifies the result of the transaction completed in step (1.3) and votes on the completion status of the transaction result in the transaction contract.

[0049] (1.5) The transaction smart contract completes the disposal of the deposits of the intermediaries / acceptors A1, A2, A3... and the verification committee according to the voting results in step (1.4), and notifies the intermediaries / acceptors B1, B2, B3... and the payee of the transaction message;

[0050] Furthermore, based on the voting results of step (1.4) above, the transaction smart contract completes the processing of the deposits of intermediaries / acceptors A1, A2, A3… and the verification committee, and notifies intermediaries / acceptors B1, B2, B3… and the payee of the transaction message, including:

[0051] (1.5.1) The voting results are determined by the category with the most votes from the verification committee members. The category with the most votes is considered an honest verifier, while the category with fewer votes is considered a malicious verifier. The transaction smart contract will distribute the deposits of malicious verifiers equally among the other honest verification committee members. Honest verifiers will receive additional transaction success rewards based on the equal distribution rule to incentivize more honest verifiers to participate in transaction verification.

[0052] (1.5.2) If the transaction between the payer and the intermediary / acceptor A1, A2, A3... on other blockchains is not completed, the transaction ends and the deposit of the intermediary / acceptor A1, A2, A3... is returned;

[0053] (1.5.3) If the transaction between the payer and the intermediary / acceptor A1, A2, A3... on other blockchains is partially or fully completed, the transaction smart contract deducts the deposit of the intermediary / acceptor for the successful part and returns the deposit of the intermediary / acceptor for the failed part.

[0054] (1.5.3) The transaction smart contract will transfer the total deposit deducted in step (1.5.3) above to the intermediary / acceptor B1, B2, B3... proportionally according to the transaction tx, and notify the intermediary / acceptor B1, B2, B3... and the payee of the transaction message.

[0055] (1.6) The transaction smart contract calls the reputation smart contract to update the reputation values ​​of the intermediary / acceptor and the verification committee;

[0056] (1.7) Intermediaries / acceptors B1, B2, B3... establish transactions with the payee on the blockchain of the corresponding asset type and complete the transactions within the specified time.

[0057] (1.8) The verification committee is elected through the verification committee election process to join the transaction tx in step (1.1) above. The verification committee verifies the transaction results in step (1.7) above and votes on the completion status of the transaction results in the transaction contract.

[0058] (1.9) The transaction smart contract completes the processing of the deposits of the intermediary / acceptor B1, B2, B3... and the verification committee based on the voting results of step (1.8) above;

[0059] Furthermore, the transaction smart contract, based on the voting results of step (1.8) above, completes the processing of the deposits of the intermediaries / acceptors B1, B2, B3… and the verification committee, including:

[0060] (1.9.1) The voting results are determined by the category with the most votes from the verification committee. The category with the most votes is considered an honest verifier, while the category that did not vote within the specified time or whose votes were in the minority is considered a malicious verifier. The transaction smart contract will distribute the deposits of malicious verifiers equally among the other honest verification committee members. Honest verifiers will receive additional transaction success rewards based on the equal distribution rule to incentivize more honest verifiers to participate in transaction verification.

[0061] (1.9.2) If the transactions between the payee and the intermediaries / acceptors B1, B2, B3... are completed on other blockchains, then all deposits of the intermediaries / acceptors B1, B2, B3... will be refunded and the transaction will end;

[0062] (1.9.3) If the transaction between the payee and the intermediary / acceptor B1, B2, B3... is partially completed on other blockchains, the deposit of the intermediary / acceptor for the successful part will be refunded, the deposit of the intermediary / acceptor for the failed part will be deducted, and the deposit will be transferred to the payee's account on this intermediary chain, and the transaction will end.

[0063] (1.10) The transaction smart contract calls the reputation smart contract to update the reputation values ​​of the intermediary / acceptor and the verification committee;

[0064] Furthermore, the verification committee election process for selecting verifiers to verify transaction results includes the following sub-steps:

[0065] (2.1) Validators pay a certain deposit to become candidate validators;

[0066] (2.1) Use a verifiable random function (VRF) to randomly select an initial verification committee and a set of backup verifications from the candidate verifications who have paid the deposit;

[0067] (2.2) For verifiers participating in transaction verification, first check whether their reputation value is greater than the threshold. If it is lower than the threshold, select a new verifier from the candidate verifiers. The threshold can be set to any value or any range.

[0068] Furthermore, the intermediary / acceptor accumulates reputation value by participating in transactions, and the verifier accumulates its reputation value by participating in verification transactions, including the following sub-steps:

[0069] (3.1) If all transactions fail, the credit rating of the intermediary / acceptor remains unchanged;

[0070] (3.2) If the transaction is partially or fully successful, the reputation value of the intermediary / acceptor in the successful part increases, while the reputation value of the intermediary / acceptor in the failed part remains unchanged.

[0071] (3.3) Honest validators' reputation value increases according to predetermined rules, while malicious validators' reputation value decreases according to predetermined rules.

[0072] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application. It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0073] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for cross-chain combined payment based on relay chain, characterized in that, The method includes the following steps: (1) The payer, payee, and intermediary / acceptor conduct transactions based on the transaction smart contract, and the verification committee verifies the transaction results; including the following sub-steps: (1.1) The payer and payee publish a transaction tx, the conditions of which include the types of assets of the payer and payee, the account addresses of the payer and payee, the transaction amount and the transaction exchange rate; (1.2) Supporting the types of assets required by the payer, intermediaries / acceptors A1, A2, A3... and supporting the types of assets required by the payee, intermediaries / acceptors B1, B2, B3..., according to the transaction information and the types of assets they support, pay the deposit and join the transaction tx within the specified time according to the self-selection rules; (1.3) Intermediaries / acceptors A1, A2, A3... establish transactions with the payer on the blockchain of their respective asset types and complete the transactions within the specified time. (1.4) The verification committee is selected through the verification committee election process to join the transaction tx in step (1.1). The verification committee verifies the transaction results in step (1.3) and votes on the completion status of the transaction results in the transaction contract. (1.5) The transaction smart contract completes the disposal of the deposits of the intermediary / acceptor A1, A2, A3... and the verification committee according to the voting results in step (1.4), and notifies the intermediary / acceptor B1, B2, B3... and the payee B of the transaction message; (1.6) The transaction smart contract calls the reputation smart contract to update the reputation values ​​of the intermediary / acceptor and the verification committee; (1.7) Intermediaries / acceptors B1, B2, B3... establish transactions with the payee on the blockchain of the corresponding asset type and complete the transactions within the specified time. (1.8) The verification committee is elected through the verification committee election process to join the transaction tx in step (1.1) above. The verification committee verifies the transaction results in step (1.7) above and votes on the completion status of the transaction results in the transaction contract. (1.9) The transaction smart contract completes the processing of the deposits of the intermediary / acceptor B1, B2, B3... and the verification committee based on the voting results of step (1.8) above; (1.10) The transaction smart contract calls the reputation smart contract to update the reputation values ​​of the intermediary / acceptor and the verification committee; (2) The verification committee election process is used to select verifiers to verify transaction results; it includes the following sub-steps: (2.1) Validators pay a certain deposit to become candidate validators; (2.1) Use a verifiable random function (VRF) to randomly select an initial verification committee and a set of backup verifications from the candidate verifications who have paid the deposit; (2.3) For verifiers participating in transaction verification, first check whether their reputation value is greater than the threshold. If it is lower than the threshold, select a new verifier from the candidate verifiers. The threshold can be set to any value or any range. (3) The intermediary / acceptor accumulates reputation value by participating in transactions, and the verifier accumulates its reputation value by participating in verification transactions. This includes the following sub-steps: (3.1) If all transactions fail, the credit rating of the intermediary / acceptor remains unchanged; (3.2) If the transaction is partially or fully successful, the reputation value of the intermediary / acceptor in the successful part increases, while the reputation value of the intermediary / acceptor in the failed part remains unchanged. (3.3) Honest validators’ reputation value increases according to predetermined rules, while malicious validators’ reputation value decreases according to predetermined rules.

2. The method of claim 1, wherein, Step (1.5) specifically includes the following sub-steps: (1.5.1) The voting results shall be determined by the category in which the verification committee votes the most. The category with the most votes shall be deemed to be the honest verifier, and the category with the fewest votes shall be deemed to be the malicious verifier. The transaction smart contract will distribute the deposits of malicious validators equally among other honest validators. Honest validators will receive additional rewards for successful transactions based on the equal distribution rule, in order to incentivize more honest validators to participate in transaction verification. (1.5.2) If the transaction between the payer and the intermediary / acceptor A1, A2, A3... on other blockchains is not completed, the transaction ends and the deposit of the intermediary / acceptor A1, A2, A3... is returned; (1.5.3) If the transaction between the payer and the intermediary / acceptor A1, A2, A3... on other blockchains is partially or fully completed, the transaction smart contract deducts the deposit of the intermediary / acceptor for the successful part and returns the deposit of the intermediary / acceptor for the failed part. (1.5.3) The transaction smart contract will transfer the total deposit deducted in step 1.5.3 above to the intermediary / acceptor B1, B2, B3... proportionally according to the transaction tx, and notify the intermediary / acceptor B1, B2, B3... and the payee of the transaction message.

3. The method of claim 1, wherein, Step (1.9) specifically includes the following sub-steps: (1.9.1) The voting results shall be determined by the category with the most votes from the verification committee. The category with the most votes shall be identified as honest verifiers, and the category with the fewest votes shall be identified as malicious verifiers. The transaction smart contract will distribute the deposits of malicious validators equally among other honest validators. Honest validators will receive additional rewards for successful transactions based on the equal distribution rule, in order to incentivize more honest validators to participate in transaction verification. (1.9.2) If the transactions between the payee and the intermediaries / acceptors B1, B2, B3... are completed on other blockchains, then all deposits of the intermediaries / acceptors B1, B2, B3... will be refunded and the transaction will end; (1.9.3) If the transaction between the payee and the intermediary / acceptor B1, B2, B3... is partially completed on other blockchains, the deposit of the intermediary / acceptor for the successful part will be refunded, the deposit of the intermediary / acceptor for the failed part will be deducted, and the deposit will be transferred to the payee's account on this intermediary chain, and the transaction will end.