Cross-chain transaction method of digital assets based on cross-trust alliance chain

By enabling cross-chain transactions of digital assets through cross-chain points settlement smart contracts, and using points as a value intermediary, the problem of cross-chain transactions of digital assets between different institutions is solved, thus realizing the circulation and value stability of digital assets.

CN115994824BActive Publication Date: 2025-11-28KUNMING POWER EXCHANGE CENT CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211438843.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-17
Publication Date
2025-11-28
Estimated Expiration
2042-11-17

AI Technical Summary

Technical Problem

There is a lack of a medium for cross-chain transactions of digital assets between different institutions. Existing technologies cannot realize cross-chain transactions of digital assets and lack a stable transaction mechanism.

Method used

By employing a cross-chain points clearing smart contract, cross-chain transactions of digital assets are realized. Points are used as a value intermediary, and combined with periodic points clearing and an improved initial points allocation scheme, points speculation is suppressed and transaction stability is maintained.

Benefits of technology

It enables cross-chain circulation of digital assets, promotes the value measurement and stability of digital asset transactions, curbs speculation on points, and maintains the stability of cross-chain transactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115994824B_ABST
    Figure CN115994824B_ABST
Patent Text Reader

Abstract

The application relates to a cross-chain transaction method for digital assets based on a cross-trust alliance chain and belongs to the technical field of blockchains. The method comprises the following steps: a cross-chain credit clearing smart contract is published on a trust alliance chain, and the following steps are executed: receiving asset publishing information, allocating asset numbers, and synchronizing asset publishing information; receiving asset query requests and returning asset numbers; receiving asset purchase requests and synchronizing credit transfer information; the asset purchase request is marked as successful; receiving asset delivery verification requests, and if the corresponding asset purchase request state is successful, feedback is given to allow delivery; a business system receives a digital asset delivery request, sends an asset delivery verification request to the cross-chain credit clearing smart contract, and if feedback of allowing delivery is received, a digital asset delivery transaction is generated and packaged into a current block for storage. The cross-chain credit clearing smart contract is used to realize cross-chain transaction of digital assets, promote cross-chain circulation of digital assets, and is easy to popularize and apply.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of blockchains, and particularly relates to a digital asset cross-chain transaction method based on cross-trusted alliance chains. BACKGROUND

[0002] The network accounting, office automation, electronic payment system platform and the like in the network era make the current production mode have incomparable advantages over the traditional production mode. The digital assets have the characteristics of high price, strong dependence, strong interaction, unlimited quantity and cost reduction. The circulation of digital assets can bring economic benefits to users. The blockchain is a decentralized distributed database system, which has the characteristics of openness and transparency, non-tamperability and traceability. It can provide credible proof for data and effectively support the fixation of enterprise office data, and help to identify and solve disputes. At present, a large number of institutions and enterprises have established business private chains or participated in industry alliance chains. However, there is a lack of a medium for exchanging digital assets between blockchains of different institutions between the private chains or alliance chains established by different enterprises or institutions. The exchange of digital assets between different institutions through the medium of points lacks a source of production. The points medium is strongly bound to the actual value of the data assets, and there is a risk of points speculation. Therefore, it is necessary to study a new technology for cross-chain transaction of digital assets.

[0003] For example, Chinese patent CN111581251A, published on August 25, 2020, discloses a cross-chain transaction digital asset query method and device and storage medium. The method includes receiving a digital asset query request, the digital asset query request being published by any transaction party participating in cross-chain transaction through a smart contract; sending an authorization request to a corresponding digital asset authorized party according to the digital asset query request; and when receiving authorization information, sending the authorization information to the transaction party, so that the transaction party queries the corresponding digital asset according to the authorization information. The technical solution stores and manages the digital assets through a third-party blockchain, realizes unified query of cross-chain data assets, and meets different data query requirements of different users in the transaction process. However, the technical solution cannot realize cross-chain transaction of digital assets, and lacks a mechanism for maintaining transaction stability. Therefore, how to overcome the deficiencies of the prior art is a problem that needs to be solved in the field of blockchain technology at present. SUMMARY

[0004] The purpose of the present application is to overcome the deficiencies of the prior art and provide a digital asset cross-chain transaction method based on cross-trusted alliance chains.

[0005] To achieve the above purpose, the technical solution adopted by the present application is as follows:

[0006] The method for cross-chain transaction of digital assets based on a cross-trust alliance chain comprises the following steps:

[0007] (1) receiving asset publishing information sent by the business system and assigning an asset number to the asset; the asset publishing information comprises a publisher identity, asset description information and an integral selling price;

[0008] (2) synchronizing asset publishing information among a plurality of cross-chain integral clearing smart contracts;

[0009] (3) receiving an asset query request sent by the business system and returning the asset number of the corresponding asset;

[0010] (4) receiving an asset purchase request sent by the business system, generating integral transfer information and assigning a purchase request number to the asset purchase request; the asset purchase request comprises an asset number and a purchaser identity; the integral transfer information is for transferring the integral corresponding to the integral selling price from the account corresponding to the purchaser identity to the account corresponding to the publisher identity;

[0011] (5) synchronizing the integral transfer information among a plurality of cross-chain integral clearing smart contracts;

[0012] (6) the cross-chain integral clearing smart contract receiving the asset purchase request queries the integral transfer information and marks the asset purchase request as successful after the integral transfer information is synchronized among a plurality of cross-chain integral clearing smart contracts;

[0013] (7) receiving an asset delivery verification request sent by the business system, if the asset purchase request number corresponds to a successful asset purchase request, then feeding back to the business system that delivery is allowed, otherwise, feeding back to the business system that delivery is not allowed; the asset delivery verification request comprises a corresponding asset purchase request number;

[0014] (8) the business system receives a digital asset delivery request, after receiving the feedback that delivery is allowed, the business system sends an asset delivery verification request to the cross-chain integral clearing smart contract, if the feedback that delivery is allowed is received, then generating a digital asset delivery transaction and packing it into the current block for storage, otherwise, no operation is performed; the digital asset delivery request comprises an asset number and an asset purchase request number.

[0015] Further, preferably, the cross-chain integral clearing smart contract has an integral account, an integral table and a token account;

[0016] The integral account records the integral owned by the integral account;

[0017] The integral table records the integral owned by the blockchain user;

[0018] The cross-chain credit clearing smart contract is preset with a settlement period, before the settlement period, when the token account of the cross-chain credit clearing smart contract receives the tokens transferred by the blockchain user, the contract credit account transfers the corresponding number of credits to the blockchain user and records in the credit table, and in the settlement period, the cross-chain credit clearing smart contract exchanges the credits of the blockchain user into the corresponding number of tokens and transfers them into the account of the blockchain user.

[0019] Further, preferably, after the end of the settlement period, several cross-chain credit clearing smart contracts vote to determine the next settlement period and initial credit allocation, and in the settlement period, several cross-chain credit clearing smart contracts exchange credits at the agreed token exchange rate to make the number of credits held by the cross-chain credit clearing smart contract after exchange consistent with the initial credit allocation.

[0020] Further, preferably, in the settlement period, several cross-chain credit clearing smart contracts pay taxes at a preset rate on the initial credit allocation, and after all taxes are paid, the taxes are evenly distributed among several cross-chain credit clearing smart contracts.

[0021] Further, preferably, in the settlement period, several cross-chain credit clearing smart contracts each package all asset purchase requests and store them in the corresponding blockchain, and then several cross-chain credit clearing smart contracts clear the credits.

[0022] Further, preferably, the method of voting to determine the initial credit allocation includes:

[0023] After the end of the settlement period, several cross-chain credit clearing smart contracts exchange the corresponding blockchain user's credits into the corresponding number of tokens, and transfer the credits to the credit account;

[0024] Several cross-chain credit clearing smart contracts count the credit usage, and the cross-chain credit clearing smart contract with the most credit usage is the vote initiator, which generates an initial credit allocation scheme and initiates a vote;

[0025] If more than a preset proportion of cross-chain credit clearing smart contracts agree with the initial credit allocation scheme, the initial credit allocation scheme is passed, and the initial credit allocation is carried out according to the initial credit allocation scheme.

[0026] Further, preferably, the total amount of credits for allocation is fixed, and the method of the vote initiator generating an initial credit allocation scheme includes:

[0027] The total amount of points is divided into three parts in proportion, the first part is directly allocated to the voting initiator, the second part is allocated by the voting initiator to generate a distribution scheme, and the third part of the point amount is denoted as N. The voting initiator receives the application amount reported by other cross-chain point clearing smart contracts, calculates the total application amount, calculates the proportion of the application amount reported by each cross-chain point clearing smart contract in the total application amount, and the proportion is taken as the distribution proportion of the corresponding cross-chain point clearing smart contract. The product of the third part of the point amount N and the distribution proportion is taken as the point distribution amount allocated to the corresponding cross-chain point clearing smart contract, and the distribution of the three parts is summarized as the initial point distribution scheme.

[0028] Further, preferably, the method of agreeing on the token exchange price comprises:

[0029] The plurality of cross-chain point clearing smart contracts each generate a token exchange price, randomly generate a confusion code, and send the hash value of the confusion code and the exchange price to the voting initiator;

[0030] After receiving all the hash values sent by the cross-chain point clearing smart contracts, the voting initiator notifies all the cross-chain point clearing smart contracts to disclose the token exchange price and the confusion code;

[0031] The plurality of cross-chain point clearing smart contracts calculate the product of the initial points and the bid of each, and freeze the corresponding number of tokens, and unfreeze the tokens in the settlement account period;

[0032] The voting initiator extracts the hash value of the token exchange price and the confusion code disclosed by the cross-chain point clearing smart contract, and compares and verifies the received hash value;

[0033] If the verification is inconsistent, it is determined that the token exchange price agreed this time is illegal, and the method of agreeing on the token exchange price is re-executed. Otherwise, the weighted average of all token exchange prices is calculated as the agreed token exchange price, with the initial points as the weight.

[0034] Further, preferably, the voting initiator calculates the allowed bid interval;

[0035] The allowed bid interval is k1 times to k2 times of the token exchange price in the last settlement account period, k1 and k2 are preset coefficients, and satisfy k1<1<k2. The bid lower than k1 times of the token exchange price in the last settlement account period is regarded as k1 times of the token exchange price in the last settlement account period, and the bid higher than k2 times of the token exchange price in the last settlement account period is regarded as k2 times of the token exchange price in the last settlement account period.

[0036] The application also provides a digital asset cross-chain transaction system based on a cross-trust alliance chain, which is used for executing the cross-trust alliance chain-based digital asset cross-chain transaction method.

[0037] (1) receiving asset publishing information sent by a business system and allocating an asset number for the asset; the asset publishing information comprises a publisher identity, asset description information and integral selling price;

[0038] (2) synchronizing asset publishing information among the cross-chain integral clearing smart contracts;

[0039] (3) receiving an asset query request sent by the business system and returning an asset number of the corresponding asset;

[0040] (4) receiving an asset purchase request sent by the business system, generating integral transfer information by the cross-chain integral clearing smart contract and assigning a purchase request number to the asset purchase request; the asset purchase request comprises an asset number and a purchaser identity; the integral transfer information is integral selling price corresponding integral transferred from an account corresponding to the purchaser identity to an account corresponding to the publisher identity;

[0041] (5) synchronizing the integral transfer information among the cross-chain integral clearing smart contracts;

[0042] (6) the cross-chain integral clearing smart contract receiving the asset purchase request queries the integral transfer information and marks the asset purchase request as successful purchase after the integral transfer information is synchronized among the cross-chain integral clearing smart contracts;

[0043] (7) receiving an asset delivery verification request sent by the business system, if the asset purchase request number corresponds to a successful purchase state of the asset purchase request, then feeding back to the business system that delivery is allowed, otherwise, feeding back to the business system that delivery is not allowed; the asset delivery verification request comprises a corresponding asset purchase request number;

[0044] (8) the business system receives a digital asset delivery request, after receiving the delivery allowed feedback, sends an asset delivery verification request to the cross-chain integral clearing smart contract, if the delivery allowed feedback is received, then generates a digital asset delivery transaction and packs it into a current block for storage, otherwise, no operation is performed; the digital asset delivery request comprises an asset number and an asset purchase request number.

[0045] Compared with the prior art, the application has the following beneficial effects:

[0046] The cross-chain transaction of digital assets is realized by the cross-chain integral clearing smart contract, the initiation and evidence of cross-chain transaction are completed, and the cross-chain circulation of digital assets is promoted; the integral is used as a value intermediary to realize the measurement of the value of digital assets, which helps to promote the transaction of digital assets; the value of the integral is stabilized by periodic clearing of the integral, which helps to realize the stability of the value of digital assets; the integral speculation is effectively suppressed by the improved initial integral allocation and the agreed token exchange price scheme, and the stability of the cross-chain transaction of digital assets is maintained. BRIEF DESCRIPTION OF DRAWINGS

[0047] Figure 1 A flowchart of the method for the cross-chain transaction of digital assets according to an embodiment of the present application.

[0048] Figure 2 A flowchart of the method for determining the initial integral allocation according to an embodiment of the present application.

[0049] Figure 3 A flowchart of the method for agreeing on the token exchange price according to an embodiment of the present application.

[0050] Figure 4 A flowchart of the process in which a user of a business system A purchases digital assets of a business system B according to an embodiment of the present application.

[0051] Figure 5 A schematic diagram of a system for the cross-chain transaction of digital assets according to an embodiment of the present application.

[0052] Wherein: 10, cross-chain integral clearing smart contract, 20, business system. DETAILED DESCRIPTION

[0053] The present application will be further described in detail below with reference to the embodiments.

[0054] Those skilled in the art will understand that the following embodiments are only used to illustrate the present application and should not be regarded as limiting the scope of the present application. If the specific technology or condition is not specified in the embodiments, the technology or condition described in the literature or according to the product manual is used. If the manufacturer of the material or equipment is not specified, it is a conventional product that can be obtained by purchase.

[0055] The method for the cross-chain transaction of digital assets based on cross-trust alliance chains, please refer to the attached Figure 1 , comprising the following steps:

[0056] Step A01) The cross-chain integral clearing smart contract 10 is published on the trust alliance chain, the cross-chain integral clearing smart contract 10 is connected with the business system 20 of the trust alliance chain, and the cross-chain integral clearing smart contract 10 performs the following steps:

[0057] Step A02) receiving the asset publishing information sent by the business system 20, the asset publishing information including the publisher identity, asset description information and integral selling price, assigning an asset number to the asset, and synchronizing the asset publishing information among the plurality of cross-chain integral clearing smart contracts 10;

[0058] Step A03) receiving the asset query request sent by the business system 20, and returning the asset number of the corresponding asset;

[0059] Step A04) receiving the asset purchase request sent by the business system 20, the asset purchase request including the asset number and the purchaser identity, the cross-chain integral clearing smart contract 10 generating integral transfer information and assigning a purchase request number to the asset purchase request, the integral transfer information being the transfer of the integral corresponding to the integral selling price from the account corresponding to the purchaser identity to the account corresponding to the publisher identity, and the plurality of cross-chain integral clearing smart contracts 10 synchronizing the integral transfer information;

[0060] Step A05) the cross-chain integral clearing smart contract 10 receiving the asset purchase request queries that the integral transfer information has been synchronized among the plurality of cross-chain integral clearing smart contracts 10, and marks the asset purchase request as successful purchase;

[0061] Step A06) receiving the asset delivery verification request sent by the business system 20, the asset delivery verification request including the corresponding asset purchase request number, if the asset purchase request number corresponds to the asset purchase request state of successful purchase, then feeding back to the business system 20 that delivery is allowed, otherwise, feeding back to the business system 20 that delivery is not allowed;

[0062] Step A07) the business system 20 receiving the digital asset delivery request, the digital asset delivery request including the asset number and the asset purchase request number, the business system 20 receiving the delivery allowed feedback, sending the asset delivery verification request to the cross-chain integral clearing smart contract 10, if receiving the delivery allowed feedback, generating the digital asset delivery transaction and packaging it into the current block storage, otherwise, not doing any operation.

[0063] The cross-chain integral clearing smart contract 10 has an integral account, an integral table and a token account, the integral account records the integral owned by the integral account, the integral table records the integral owned by the blockchain user, the cross-chain integral clearing smart contract 10 is preset with a settlement account period, before the settlement account period, when the token account of the cross-chain integral clearing smart contract 10 receives the token transferred by the blockchain user, the contract integral account transfers the corresponding number of integrals to the blockchain user and records in the integral table, and in the settlement account period, the cross-chain integral clearing smart contract 10 exchanges the integral of the blockchain user into the corresponding number of tokens and transfers into the account of the blockchain user.

[0064] The several cross-chain points clearing smart contracts 10 vote to determine the next settlement period and initial points allocation after the end of the settlement period. During the settlement period, the several cross-chain points clearing smart contracts 10 exchange points at the agreed token exchange rate, so that the points held by the cross-chain points clearing smart contracts 10 after exchange correspond to the initial points allocation.

[0065] During the settlement period, the several cross-chain points clearing smart contracts 10 pay taxes at a preset ratio of the initial points allocation. After all taxes are paid, the taxes are evenly distributed among the several cross-chain points clearing smart contracts 10.

[0066] During the settlement period, the several cross-chain points clearing smart contracts 10 each package and store all asset purchase requests in the corresponding blockchain, and then the several cross-chain points clearing smart contracts 10 clear the points.

[0067] Please refer to the attached Figure 2 The method for determining the initial points allocation includes:

[0068] Step B01) After the end of the settlement period, the several cross-chain points clearing smart contracts 10 exchange the points of the corresponding blockchain users into the corresponding number of tokens, and transfer the points to the points account;

[0069] Step B02) The several cross-chain points clearing smart contracts 10 count the points usage, and the cross-chain points clearing smart contract 10 with the most points usage is the voting initiator, which generates an initial points allocation scheme and initiates a vote;

[0070] Step B03) If more than a preset proportion of cross-chain points clearing smart contracts 10 agree to the initial points allocation scheme, the initial points allocation scheme is passed, and initial points allocation is performed according to the initial points allocation scheme.

[0071] The total amount of points for allocation is fixed, and the method for the voting initiator to generate an initial points allocation scheme includes:

[0072] The total amount of points is divided into three parts in proportion, the first part is directly allocated to the voting initiator, the second part is allocated by the voting initiator to generate an allocation scheme, and the third part of the points is denoted as N. The voting initiator receives the application amount reported by other cross-chain points clearing smart contracts 10, calculates the total application amount, calculates the proportion of the application amount reported by each cross-chain points clearing smart contract 10 in the total application amount, and uses the proportion as the allocation proportion of the corresponding cross-chain points clearing smart contract. The product of the third part of the points N and the allocation proportion is used as the points allocation amount allocated to the corresponding cross-chain points clearing smart contract 10, and the allocation of the three parts is summarized as the initial points allocation scheme.

[0073] For example, in one allocation, the total number of points used for allocation is 10,000. The total number of points is divided into three parts proportionally. The first part is 1,000 points, the second part is 5,000 points, and the third part is 4,000 points.

[0074] The first 1000 points are directly allocated to the vote initiator. The vote initiator then receives 1000 points.

[0075] The second part, 5000 points, is allocated according to a scheme generated by the voting initiator. Assuming there are 10 participants in the cross-chain digital asset transaction, meaning there are 10 cross-chain point clearing smart contracts including the voting initiator, the voting initiator distributes these 5000 points equally, with each cross-chain point clearing smart contract receiving 500 points. In this case, the voting initiator receives 1500 points, and the other participants receive 500 points each.

[0076] The points in the third part are denoted as N, where N=5000. Each cross-chain points clearing smart contract uploaded its own application amount. Assume the first four cross-chain points clearing smart contracts each reported 500 applications, and the latter six each reported 1000 applications. The total application amount is 8000. The allocation ratio for the first four cross-chain points clearing smart contracts is 500 / 8000=1 / 16. Therefore, N*1 / 16=5000*1 / 16=312.5 points, meaning the first four cross-chain points clearing smart contracts can be allocated 312.5 points. The allocation ratio for the latter six cross-chain points clearing smart contracts is 1000 / 8000=1 / 8. Therefore, N*1 / 8=5000*1 / 8=625 points, meaning the first six cross-chain points clearing smart contracts can be allocated 625 points.

[0077] Please see the appendix Figure 3 Methods for agreeing on token exchange rates include:

[0078] Step C01) Several cross-chain points clearing smart contracts 10 each generate a token exchange price, randomly generate a confusion code, extract the hash value of the confusion code and the exchange price, and send it to the voting initiator;

[0079] Step C02) After receiving the hash value sent by the cross-chain points clearing smart contract 10, the voting initiator notifies the cross-chain points clearing smart contract 10 to disclose the token exchange price and obfuscation code.

[0080] Step C03) Several cross-chain points settlement smart contracts 10 calculate the product of their initial points and bids, freeze the corresponding number of tokens, and unfreeze the tokens during the settlement period.

[0081] Step C04) The voting initiator extracts the token exchange price and the hash value of the obfuscation code disclosed by the cross-chain integral clearing smart contract 10, and compares and verifies it with the received hash value;

[0082] Step C05) If the verification is inconsistent, it is determined that the agreed token exchange price is illegal, and the method of notifying the exchange price by agreement is re-executed. Otherwise, the weighted average value of all token exchange prices is calculated with the initial integral as the weight, and used as the agreed token exchange price.

[0083] The voting initiator calculates the allowable bidding range, which is k1 times to k2 times the token exchange price of the previous settlement period. k1 and k2 are preset coefficients, and k1 < 1 < k2. Bids lower than k1 times the token exchange price of the previous settlement period are regarded as k1 times the token exchange price of the previous settlement period, and bids higher than k2 times the token exchange price of the previous settlement period are regarded as k2 times the token exchange price of the previous settlement period. k1 limits the lower limit of the bid, and the recommended value range of k1 is [0.5, 0.8], and the recommended values are 0.5, 0.6 or 0.8. k2 limits the upper limit of the bid, and the recommended value range of k2 is [1.2, 1.6], and the recommended values are 1.2, 1.4 or 1.5.

[0084] Here, it is assumed that business system A purchases digital assets through points from business system B, and the process is as attached Figure 4 as described.

[0085] 1. Release assets. Business system B sends the digital asset profile information and the points required to purchase the digital asset to the cross-chain integral clearing smart contract 10 of business system B.

[0086] 2. After receiving the request, the cross-chain integral clearing smart contract 10 of business system B synchronizes the digital asset information to the cross-chain integral clearing smart contracts 10 of all participating institutions.

[0087] 3. The cross-chain integral clearing smart contracts 10 of business system A and institution C record the digital assets of business system B.

[0088] 4. The user of business system A queries the required digital assets through the cross-chain integral clearing smart contract 10 of business system A.

[0089] 5. The user of business system A submits a request for the digital assets of business system B to the cross-chain integral clearing smart contract 10A.

[0090] 6. Through the cross-chain integral clearing smart contract 10, the points of business system A are deducted and the points of business system B are increased.

[0091] 7. The cross-chain points clearing smart contract 10 of business system A broadcasts the deduction of points in business system A and the increase of points in business system B to the cross-chain points clearing smart contracts 10 of all participating institutions.

[0092] 8. All participating institutions shall record the details of this transaction.

[0093] 9. After each cross-chain points clearing smart contract 10 synchronizes the points transaction details, the cross-chain points clearing smart contract 10 will send a notification from A to the business system A that the purchase was successful.

[0094] 10. A user in business system A sends a digital asset delivery request to business system B.

[0095] 11. Business system B verifies the points transaction with the cross-chain points clearing smart contract 10B.

[0096] 12. After verification, business system B will transfer the digital assets to business system A through cross-chain technology.

[0097] A cross-chain digital asset transaction system based on a trusted consortium blockchain is used to execute the aforementioned cross-chain digital asset transaction method based on a trusted consortium blockchain. Please refer to the appendix. Figure 5 This includes several cross-chain gateways and several cross-chain points clearing smart contracts 10. The cross-chain points clearing smart contracts 10 are published on the business blockchain. The cross-chain points clearing smart contracts 10 establish connections through the cross-chain gateways and execute the following steps:

[0098] Receive asset release information sent by business system 20. The asset release information includes the identity of the publisher, asset description information and points price. Assign asset number to the asset. Synchronize asset release information between several cross-chain points clearing smart contracts 10.

[0099] Receive asset query requests sent by business system 20 and return the asset number of the corresponding asset;

[0100] The system receives an asset purchase request sent by the business system 20. The asset purchase request includes an asset number and a purchaser identity identifier. The cross-chain points clearing smart contract 10 generates points transfer information and assigns a purchase request number to the asset purchase request. The points transfer information is to transfer the points corresponding to the points price from the account corresponding to the purchaser identity identifier to the account corresponding to the publisher identity identifier. Several cross-chain points clearing smart contracts 10 synchronize the points transfer information.

[0101] After the cross-chain points clearing smart contract 10 that received the asset purchase request found that the points transfer information had been synchronized in several cross-chain points clearing smart contracts 10, it marked the asset purchase request as a successful purchase.

[0102] Receive the asset delivery verification request sent by the business system 20. The asset delivery verification request includes the corresponding asset purchase request number. If the asset purchase request status corresponding to the asset purchase request number is successful, then send feedback to the business system 20 that delivery is allowed; otherwise, send feedback to the business system 20 that delivery is not allowed.

[0103] Business system 20 receives a digital asset delivery request, which includes an asset number and an asset purchase request number. After receiving feedback that delivery is allowed, business system 20 sends an asset delivery verification request to the cross-chain points clearing smart contract 10. If feedback that delivery is allowed is received, a digital asset delivery transaction is generated and packaged into the current block storage; otherwise, no operation is performed.

[0104] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of this invention is defined by the appended claims and their equivalents.

Claims

1. A method for cross-chain transaction of digital assets based on a cross-trust alliance chain, characterized in that, The cross-chain credit clearing smart contract is published on the trusted alliance chain, and is connected with the business system of the trusted alliance chain. The cross-chain credit clearing smart contract performs the following steps: (1) receiving asset publishing information sent by the business system, and assigning an asset number to the asset; the asset publishing information includes the identity of the publisher, asset description information and credit price; (2) synchronizing asset publishing information among a plurality of cross-chain credit clearing smart contracts; (3) receiving asset query requests sent by the business system, and returning the asset number of the corresponding asset; (4) receiving asset purchase requests sent by the business system, and generating credit transfer information and assigning a purchase request number to the asset purchase request; the asset purchase request includes an asset number and a purchaser identity; The credit transfer information is to transfer the corresponding credit from the account corresponding to the purchaser identity to the account corresponding to the publisher identity; (5) synchronizing the credit transfer information among a plurality of cross-chain credit clearing smart contracts; (6) the cross-chain credit clearing smart contract receiving the asset purchase request queries that the credit transfer information has been synchronized among a plurality of cross-chain credit clearing smart contracts, and marks the asset purchase request as successful; (7) receiving asset delivery verification requests sent by the business system, if the asset purchase request number corresponds to the asset purchase request state is successful, then feedback to the business system that the delivery is allowed, otherwise, feedback to the business system that the delivery is not allowed; the asset delivery verification request includes the corresponding asset purchase request number; (8) the business system receives a digital asset delivery request, and after receiving the feedback of allowing delivery, sends an asset delivery verification request to the cross-chain credit clearing smart contract, if the feedback of allowing delivery is received, a digital asset delivery transaction is generated and packaged into the current block storage, otherwise, no operation is performed; the digital asset delivery request includes an asset number and an asset purchase request number; The cross-chain credit clearing smart contract has a credit account, a credit table and a token account; The credit account records the credit owned by the credit account; The credit table records the credit owned by the blockchain user; The cross-chain credit clearing smart contract is preloaded with a settlement account period, before the settlement account period, when the token account of the cross-chain credit clearing smart contract receives the token transferred by the blockchain user, the contract credit account transfers the corresponding number of credits to the blockchain user and records in the credit table, and during the settlement account period, the cross-chain credit clearing smart contract exchanges the credit of the blockchain user into the corresponding number of tokens and transfers them into the account of the blockchain user; After the settlement account period ends, a plurality of cross-chain credit clearing smart contracts vote to determine the next settlement account period and the initial credit allocation, during the settlement account period, a plurality of cross-chain credit clearing smart contracts exchange credits at the agreed token exchange rate, so that the credits held by the cross-chain credit clearing smart contract after exchange correspond to the initial credit allocation; During the settlement account period, a plurality of cross-chain credit clearing smart contracts each package and store all asset purchase requests in the corresponding blockchain, and then a plurality of cross-chain credit clearing smart contracts clear the credits.

2. The cross-chain transaction method of digital assets based on cross-trust consortium chains according to claim 1, characterized in that: During the settlement period, the several cross-chain clearing smart contracts pay tax at a preset ratio of the initial allocation of points, and after the tax is paid in full, the points are evenly distributed among the several cross-chain clearing smart contracts.

3. The cross-chain transaction method of digital assets based on cross-trust consortium chains according to claim 1 or 2, characterized in that: The method of determining the initial allocation of points by voting includes: After the settlement period ends, the several cross-chain clearing smart contracts exchange the points of the corresponding blockchain users for a corresponding number of tokens, and transfer the points to the point account; The several cross-chain clearing smart contracts count the point usage, and the cross-chain clearing smart contract with the most point usage is the voting initiator, which generates an initial point allocation plan and initiates a vote; If more than a preset proportion of cross-chain clearing smart contracts agree to the initial point allocation plan, the initial point allocation plan is passed, and the initial point allocation is carried out according to the initial point allocation plan.

4. The cross-chain transaction method of digital assets based on cross-trust consortium chains according to claim 3, characterized in that: The total amount of points for allocation is fixed, and the method of generating an initial point allocation plan by the voting initiator includes: The total amount of points is divided into three parts in proportion, the first part is directly allocated to the voting initiator, the second part is allocated by the voting initiator, and the third part is denoted as N. The voting initiator receives the application amount reported by other cross-chain clearing smart contracts, calculates the total application amount, calculates the proportion of the application amount reported by each cross-chain clearing smart contract in the total application amount, and uses the proportion as the allocation proportion of the corresponding cross-chain clearing smart contract. The product of the third part of the point amount N and the allocation proportion is used as the point allocation amount allocated to the corresponding cross-chain clearing smart contract, and the allocation of the three parts is summarized as the initial point allocation plan.

5. The cross-chain transaction method of digital assets based on cross-trust consortium chains according to claim 3, characterized in that: The method of agreeing on the token exchange price includes: The several cross-chain clearing smart contracts each generate a token exchange price, randomly generate a confusion code, and send the hash values of the confusion code and the exchange price to the voting initiator; After receiving the hash values sent by all cross-chain clearing smart contracts, the voting initiator notifies all cross-chain clearing smart contracts to publicly disclose the token exchange price and the confusion code; The several cross-chain clearing smart contracts calculate the product of their initial points and the bid, and freeze the corresponding number of tokens, and unfreeze the tokens during the settlement period; The voting initiator extracts the hash values of the token exchange price and the confusion code publicly disclosed by the cross-chain clearing smart contract, and compares them with the received hash values for verification; If the verification is inconsistent, it is determined that the token exchange price agreed this time is illegal, and the method of notifying the agreed token exchange price is re-executed, otherwise, the weighted average of all token exchange prices is calculated as the agreed token exchange price.

6. The cross-chain transaction method of digital assets based on a cross-trust alliance chain according to claim 5, characterized in that: The voting initiator calculates the allowed bid interval; The allowed bidding interval is k1 times to k2 times of the token exchange price in the last settlement period, k1 and k2 are preset coefficients, and k1<1<k2 is satisfied, and the bid lower than k1 times of the token exchange price in the last settlement period is regarded as k1 times of the token exchange price in the last settlement period, and the bid higher than k2 times of the token exchange price in the last settlement period is regarded as k2 times of the token exchange price in the last settlement period.

7. The cross-chain transaction system of digital assets based on a cross-trusted alliance chain is configured to perform the cross-chain transaction method of digital assets based on a cross-trusted alliance chain as claimed in any one of claims 2, 4-6. The cross-chain gateway and the cross-chain clearing smart contract are included; the cross-chain clearing smart contract is published on the business blockchain, and the cross-chain clearing smart contract is connected through the cross-chain gateway; the cross-chain clearing smart contract performs the following steps: (1) receiving asset publishing information sent by the business system, and allocating asset numbers for the assets; the asset publishing information includes the identity of the publisher, asset description information, and integral selling price; (2) synchronizing asset publishing information between the cross-chain clearing smart contracts; (3) receiving asset query requests sent by the business system, and returning the asset numbers of the corresponding assets; (4) receiving asset purchase requests sent by the business system, and the cross-chain clearing smart contract generates integral transfer information and assigns a purchase request number to the asset purchase request; the asset purchase request includes an asset number and a purchaser identity; The integral transfer information is to transfer the integral corresponding to the integral selling price from the account corresponding to the purchaser identity to the account corresponding to the publisher identity; (5) synchronizing the integral transfer information between the cross-chain clearing smart contracts; (6) the cross-chain clearing smart contract receiving the asset purchase request queries the integral transfer information after synchronization between the cross-chain clearing smart contracts, and marks the asset purchase request as successful if the integral transfer information is found; (7) receiving asset delivery verification requests sent by the business system, if the asset purchase request number corresponds to the asset purchase request state is successful, then feedback to the business system is allowed to deliver, otherwise, feedback to the business system is not allowed to deliver; the asset delivery verification request includes the corresponding asset purchase request number; (8) the business system receives the digital asset delivery request, and the business system sends an asset delivery verification request to the cross-chain clearing smart contract after receiving the feedback of allowing delivery, if the feedback of allowing delivery is received, a digital asset delivery transaction is generated and packaged into the current block storage, otherwise, no operation is performed; the digital asset delivery request includes an asset number and an asset purchase request number.

Citation Information

Patent Citations

  • Cross-chain transaction digital asset query method and device and storage medium

    CN111581251A

  • Blockchain cross-chain integral sharing method, device, electronic equipment and system

    CN112527913A

  • Cross-chain method and system based on multi-chain NFT

    CN113407640A