Transaction method and system, storage medium and computer program product

By generating smart contracts and issuing fungible tokens, the problem of difficult ownership transfer of NFTs in blockchain technology is solved, and the liquidity of NFTs is improved.

CN121903751APending Publication Date: 2026-04-21MIGU CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
MIGU CO LTD
Filing Date
2025-12-23
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

In blockchain technology, the ownership of NFTs is difficult to change during transactions, resulting in insufficient liquidity.

Method used

By obtaining the contract configuration parameters of NFTs, a smart contract is generated and run on the blockchain based on user authorization information to issue fungible tokens, thereby enabling the trading and ownership transfer of NFTs.

Benefits of technology

It improves the liquidity of NFTs and solves the problem of difficulty in changing NFT ownership during transactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121903751A_ABST
    Figure CN121903751A_ABST
Patent Text Reader

Abstract

The invention discloses a transaction method. The transaction method comprises the steps of obtaining contract configuration parameters corresponding to a non-homogeneous token NFT; the contract configuration parameters at least comprise NFT ownership transfer rule configuration parameters and the number n of homogenized token corresponding to the NFT; generating a smart contract based on the contract configuration parameters; determining first user authorization information corresponding to the NFT; based on the first user authorization information, running a smart contract corresponding to the NFT on the first block chain, so that the second block chain and / or the first block chain issues a first homogenized token corresponding to the NFT based on the smart contract, thereby realizing the transaction and ownership change process of the NFT; the smart contract at least comprises one or more of the following parameters: an NFT ownership transfer rule, token identification information of n first homogenized tokens corresponding to the NFT and first user identification information to which each first homogenized token belongs, and the second block chain and the first block chain have an association relationship. The invention further discloses a transaction system, a storage medium and a computer program product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of blockchain application technology, and in particular to a transaction method, system, storage medium and computer program product. Background Technology

[0002] With the rapid development of blockchain technology, it has been widely applied in the trading of digital products, such as digital artworks. To facilitate the trading of digital content, non-fungible token (NFT) technology has been proposed in blockchain technology. This technology is a kind of encrypted digital proof of rights that is uncopyable, tamper-proof, and indivisible. Its core value lies in the assetization of digital content, serving as a mechanism for confirming and trading property rights in the virtual world.

[0003] Currently, because each NFT is unique, it cannot be exchanged with other NFTs during use, ensuring the reliability of digital-for-content transactions. However, due to the exclusivity and uniqueness of NFTs, how to change the ownership of NFTs during transactions and increase their liquidity has become a pressing technical problem that needs to be solved. Summary of the Invention

[0004] To address the aforementioned technical issues, this application aims to provide a transaction method, system, storage medium, and computer program product that solves the problem of difficulty in changing NFT ownership during transactions in current blockchain technology. It proposes a method for realizing the change of NFT ownership during transactions, thereby increasing the liquidity of NFTs.

[0005] The technical solution of this application is implemented as follows: This application provides a transaction method applied to a first blockchain node, the method comprising: Obtain the contract configuration parameters corresponding to the non-fungible token (NFT); wherein, the contract configuration parameters include at least: the NFT ownership transfer rule configuration parameters and the number n of the fungible tokens corresponding to the NFT, where n is an integer greater than or equal to 1; A smart contract is generated based on the aforementioned contract configuration parameters; Determine the first user authorization information corresponding to the NFT; Based on the first user authorization information, a smart contract corresponding to the NFT is run on the first blockchain, so that the second blockchain and / or the first blockchain issue the first fungible token corresponding to the NFT based on the smart contract, thereby realizing the transaction and ownership change process of the NFT; wherein, the smart contract includes at least one or more of the following parameters: the NFT ownership transfer rules, the token identification information of the n first fungible tokens corresponding to the NFT, and the first user identification information of each first fungible token, and the second blockchain is associated with the first blockchain.

[0006] In the above scheme, after running the smart contract corresponding to the NFT based on the first user authorization information, the method further includes: If target transaction information for the second fungible token is detected on the second blockchain node, the second user identifier information to which the second fungible token belongs after the transaction is obtained from the target transaction information; wherein, the second blockchain runs on the second blockchain node, and the second fungible token belongs to the n first fungible tokens; Update the user identifier information corresponding to the token identifier information of the second fungible token in the smart contract to the second user identifier information.

[0007] In the above scheme, after running the smart contract corresponding to the NFT based on the first user authorization information, the method further includes: The fungible tokens of the NFT recorded in the smart contract are grouped according to the user identification information to obtain m groups of the first group; where m is an integer greater than or equal to 1; Based on the first group of m groups, update the ownership of the NFT in the first blockchain.

[0008] In the above scheme, updating the ownership of the NFT in the first blockchain based on the first group of m groups includes: Determine the second group that contains the largest number of homogeneous tokens in the first group of m groups; If the third user identifier information corresponding to the second group is different from the first user identifier information to which the NFT belongs, and the number of fungible tokens included in the second group satisfies the NFT ownership transfer rules in the smart contract, then the ownership of the NFT is transferred to the third user identifier information in the first blockchain.

[0009] The method in the above scheme further includes: Second user authorization information for obtaining the third user identifier information; Based on the second user authorization information, the most recent updated smart contract is executed.

[0010] The method in the above scheme further includes: If a view command is detected, the content information of the smart contract can be obtained; Output the content information.

[0011] This application provides a transaction method applied to a second blockchain node running a second blockchain, the method comprising: If a smart contract corresponding to an NFT is detected running on the first blockchain, the token identification information of the n first fungible tokens corresponding to the NFT in the smart contract is obtained from the first blockchain; wherein, the smart contract is generated by the first blockchain node running the first blockchain based on the contract configuration parameters set by the user, and the smart contract includes at least one or more of the following parameters: the NFT ownership transfer rules, the token identification information of the n first fungible tokens corresponding to the NFT, and the first user identification information of each first fungible token, and the second blockchain is associated with the first blockchain; Based on the token identification information of the n first fungible tokens, n first fungible tokens are issued to monitor transaction information of the n first fungible tokens, so that the first blockchain can manage the ownership of the NFTs.

[0012] This application provides a transaction system, which includes at least: a first blockchain node and a second blockchain node; wherein: The first blockchain node is configured to implement the steps of the method as described in any one of claims 1 to 6; The second blockchain node is used to implement the steps of the method as described in claim 7.

[0013] This application provides a storage medium storing a transaction program, which, when executed, implements the steps of the transaction method as described in any of the preceding claims.

[0014] This application provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the transaction method as described in any of the preceding claims.

[0015] This application provides a transaction method, system, storage medium, and computer program product. After obtaining the contract configuration parameters corresponding to an NFT, a smart contract is generated based on these parameters. First user authorization information for the NFT is determined. Based on this authorization information, the smart contract corresponding to the NFT is run on a first blockchain. This enables a second blockchain associated with the first blockchain to issue a first fungible token corresponding to the NFT based on the smart contract, completing the transaction and ownership transfer process of the NFT. In this way, after the first blockchain node generates the smart contract corresponding to the NFT and authorizes its execution according to the first user authorization information, the second blockchain node detects the execution of the smart contract and issues a fungible token corresponding to the NFT based on the smart contract information. This allows subsequent users to trade the NFT using the fungible token, thus completing the ownership transfer process. This solves the problem of difficulty in changing NFT ownership during transactions in current blockchain technology, proposing a method for changing NFT ownership during transactions and increasing the liquidity of NFTs. Attached Figure Description

[0016] Figure 1 A flowchart illustrating a transaction method provided in an embodiment of this application; Figure 2 A flowchart illustrating another transaction method provided in this application embodiment; Figure 3 This application provides a schematic diagram of the implementation process of one embodiment; Figure 4 This is a schematic diagram illustrating the storage system between token identifier information and wallet address of a homogenized token, as provided in an embodiment of this application. Figure 5 A schematic diagram illustrating a transaction application of a fungible token, provided as an embodiment of this application; Figure 6 This is a schematic diagram of the structure of a first trading device provided in an embodiment of this application; Figure 7 This is a schematic diagram of the structure of a second trading device provided in an embodiment of this application; Figure 8 This is a schematic diagram of the structure of a transaction system provided in an embodiment of this application. Detailed Implementation

[0017] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0018] Definition: Non-fungible token (NFT), also known as non-fungible token, is a digital unit of a unique asset with one-of-a-kind characteristics. Examples include digital artworks, collectibles, in-game items, and virtual real estate.

[0019] Fungible tokens (FTs), also known as coinable tokens, typically refer to currencies that are fungible and consistent, such as common fiat currencies or cryptocurrencies like Bitcoin and Ethereum. Each unit of this type of currency is identical, possessing the same value and function, and can be interchanged.

[0020] The embodiments of this application provide a transaction method, referring to... Figure 1 As shown, this method is applied to the first blockchain node, and the method includes the following steps: Step 101: Obtain the contract configuration parameters corresponding to the non-fungible token (NFT).

[0021] The contract configuration parameters include at least: NFT ownership transfer rule configuration parameters and the number n of fungible tokens corresponding to the NFT, where n is an integer greater than or equal to 1.

[0022] In this application embodiment, the contract configuration parameters can be configuration parameters for smart contracts set by the user according to actual needs. At least the NFT ownership transfer rule configuration parameters that must be met when the ownership of the NFT is transferred are configured, as well as the number n of fungible tokens that can be equivalent to the NFT are configured.

[0023] For example, the display area corresponding to the first blockchain node shows a configuration interface for configuring NFT contracts. Users can set the configuration parameters of the NFT's smart contract according to the displayed configuration interface. Specifically, the number n of the fungible tokens equivalent to the NFT is set, for example, n can be 100. Correspondingly, the NFT ownership transfer rule configuration parameter is the percentage of fungible tokens included in the configured ownership transfer to the user. For example, if the number of fungible tokens owning the NFT exceeds 60% of n, or if the specific number of fungible tokens owned by the NFT exceeds 70, the ownership of the NFT can be transferred. In this way, through the user's settings, the first blockchain node can obtain the contract configuration parameters corresponding to the NFT.

[0024] In some application scenarios, NFT ownership transfer rule configuration parameters can also be configured to transfer ownership based on the user's holding period. In other application scenarios, NFT ownership transfer rule configuration parameters can at least include: a transfer quantity parameter and a user holding period parameter, to determine ownership transfer. It should be noted that NFT ownership transfer rule configuration parameters can also include one or more other parameters besides the transfer quantity parameter and user holding period parameter that can be used to determine NFT ownership transfer; this is not specifically limited here and can be determined based on the actual situation.

[0025] Step 102: Generate a smart contract based on the contract configuration parameters.

[0026] In this embodiment of the application, the first blockchain node generates a smart contract corresponding to the NFT based on the obtained contract configuration parameters.

[0027] For example, NFT ownership transfer rules can be generated based on the NFT ownership transfer rule configuration parameters included in the contract configuration parameters. Specifically, these parameters can be sequentially filled into a pre-processed, universally applicable NFT ownership transfer rule generation template. This effectively shortens the generation time, improves efficiency, and ensures timely application. In some application scenarios, NFT ownership transfer rules can also be generated using a large-scale artificial intelligence model based on the NFT ownership transfer rule configuration parameters included in the contract configuration parameters. It should be noted that the generation method for NFT ownership transfer rules is not limited to the above implementation methods; the specific method can be determined by the actual application scenario, and no specific limitations are made here.

[0028] Based on the quantity *n* of fungible tokens (FTs) corresponding to the NFTs included in the contract configuration parameters, *n* fungible token identifiers are generated according to the quantity *n* of fungible tokens. These identifiers uniquely identify the fungible tokens corresponding to the NFTs, facilitating subsequent transfer of ownership of the *n* fungible token identifiers and enabling the transaction process. When the first blockchain node generates the *n* fungible token identifiers, it can follow certain token identifier generation rules. For example, it can combine one or more of the NFT's corresponding number, name, and serial number with ordinal numbers from 1 to *n*, or generate a random number of a certain number of digits. The specific generation method can be determined based on user preferences, naming requirements, and other practical considerations; no specific limitations are imposed here.

[0029] Step 103: Determine the first user authorization information corresponding to the NFT.

[0030] In this embodiment, the first user authorization information can be provided by the NFT owner. This can be achieved before or after the smart contract is generated, after the first blockchain node generates a prompt to obtain the user's authorization information, and the user then inputs the first user authorization information provided by the owner. After the user inputs the first user authorization information, it can be stored in the corresponding storage area. The corresponding storage area can be within the first blockchain corresponding to the first blockchain node, or it can be a storage unit accessible to the first blockchain node. The specific location can be determined by the actual situation and is not specifically limited here.

[0031] Step 104: Based on the first user's authorization information, run the smart contract corresponding to the NFT on the first blockchain.

[0032] Specifically, based on the authorization information of the first user, a smart contract corresponding to the NFT is run on the first blockchain, so that the second blockchain and / or the first blockchain issue the first fungible token corresponding to the NFT based on the smart contract, thereby realizing the transaction and ownership change process of the NFT; wherein, the smart contract includes at least one or more of the following parameters: NFT ownership transfer rules, token identification information of n first fungible tokens corresponding to the NFT, and the first user identification information of each first fungible token, and the second blockchain is associated with the first blockchain.

[0033] In this embodiment of the application, the first user identification information is a unique identifier used to uniquely identify the user who currently owns the NFT. For example, it may be the user's name, ID card number, employee number, etc., which can be determined according to the actual situation.

[0034] The first blockchain node authorizes the smart contract based on the authorization information granted by the first user to the current owner of the NFT, enabling the smart contract corresponding to the NFT to run on the first blockchain. At this time, the smart contract running on the first blockchain detects transaction behavior related to the NFT, and when the transaction meets the NFT ownership transfer rules, the ownership of the NFT is transferred and recorded.

[0035] Based on the foregoing embodiments, in other embodiments of this application, after step 104 runs the smart contract corresponding to the NFT based on the first user authorization information, the first blockchain node is further used to perform the following steps: If target transaction information for the second fungible token is detected on the second blockchain node, the second user identifier information to which the second fungible token belongs after the transaction is obtained from the target transaction information; wherein, the second blockchain runs on the second blockchain node, and the second fungible token belongs to n first fungible tokens; Update the user identifier information corresponding to the token identifier information of the second fungible token in the smart contract to the second user identifier information.

[0036] In the embodiments of this application, in some application scenarios, the first blockchain run by the first blockchain node can be the main blockchain, and correspondingly, the second blockchain run by the second blockchain node can be a subordinate blockchain of the first blockchain. In some application scenarios, the relationship between the first blockchain and the second blockchain can also be that the second blockchain can access the smart contracts in the first blockchain and conduct transactions in conjunction with the NFTs in the first blockchain. In practical applications, the roles of the first blockchain and the second blockchain can be interchanged, and no specific limitations are made here.

[0037] For example, in the application process, the first fungible token of the NFT in the first blockchain can be traded on one or more blockchains that are associated with the first blockchain. Correspondingly, when the second blockchain, including the one or more blockchains running the second blockchain node, detects a transaction, it will record the transaction in the first blockchain. Taking the second blockchain node as an example, the transaction user selects the content corresponding to the NFT on the second blockchain node, determines the second fungible token corresponding to the selected content from n first fungible tokens, and obtains the target transaction information of the second fungible token after completing the transaction.

[0038] It should be noted that in some application scenarios, a target transaction information may be specific to a second fungible token. In this case, the second fungible token corresponds to a single transaction user, i.e., a second user identifier. In other application scenarios, a target transaction information may include multiple second fungible tokens. In this case, these multiple second fungible tokens are determined by a single transaction user in a single transaction operation targeting an NFT. That is, after the transaction, the second fungible tokens belong to the same transaction user and correspond to the same second user identifier.

[0039] Thus, after the smart contract in the first blockchain node detects the target transaction information of the second blockchain node regarding the second fungible token, it retrieves the second user identifier information belonging to the second fungible token after the transaction from the target transaction information. Then, it updates the corresponding user identifier information of the second fungible token in the first blockchain to the second user identifier information, thereby realizing the transfer of ownership of the second fungible token. Furthermore, after detecting the target transaction information, the first blockchain node can also record the target transaction information in the first blockchain for subsequent verification and auditing of NFT transactions.

[0040] Based on the foregoing embodiments, in other embodiments of this application, after step 104 runs the smart contract corresponding to the NFT based on the first user authorization information, the first blockchain node is further used to perform the following steps: The fungible tokens of NFTs recorded in the smart contract are grouped according to user identification information to obtain m groups as the first group; where m is an integer greater than or equal to 1. Based on the first group of m groups, update the ownership of NFTs in the first blockchain.

[0041] In this embodiment, the process can be implemented through periodic detection, or it can be executed after the smart contract detects a transaction operation of the fungible token corresponding to the NFT, or a combination of both. The specific implementation can be determined by the actual operating settings and is not specifically limited here. The smart contract content of the latest NFT corresponding to the current analysis moment in the first blockchain is analyzed to determine the state information of the n first fungible tokens recorded in the NFT. Then, based on the user identification information in the state information of these n first fungible tokens, they are grouped to obtain the first fungible token corresponding to each user identification information, denoted as m groups. The m groups are then analyzed to determine whether to update and transfer the ownership of the NFT in the first blockchain. In this way, the ownership of the NFT is changed through the change of ownership of the fungible tokens, and the NFT transaction process is realized, improving the liquidity of the NFT.

[0042] Based on the foregoing embodiments, in other embodiments of this application, the step of updating the ownership of NFTs in the first blockchain based on the first group of m groups can be implemented by the following steps: Determine the second group that contains the largest number of homogeneous tokens in the first group of m groups; If the third user identifier information corresponding to the second group is different from the first user identifier information to which the NFT belongs, and the number of fungible tokens included in the second group satisfies the NFT ownership transfer rules in the smart contract, the ownership of the NFT will be transferred to the third user identifier information in the first blockchain.

[0043] In this embodiment, when analyzing the first group of m groups, the number of fungible tokens included in each first group is counted. Then, the counts of the m fungible tokens are compared to determine the group with the largest number of fungible tokens, which is the second group. In other words, the second group is the group containing the user with the most fungible tokens in the first group of m groups. The third user identifier information corresponding to the second group is determined. It is then determined whether the third user identifier information is the same as the first user identifier information. If the third user identifier information is the same as the first user identifier information, no further analysis is performed. If the third user identifier information is different from the first user identifier information, the matching of the number of fungible tokens included in the second group with the NFT ownership transfer rules in the smart contract is further determined. If the number of fungible tokens included in the second group conforms to the NFT ownership transfer rules, the ownership of the NFT is transferred to the third user identifier information. That is, the user identifier information corresponding to the NFT in the first blockchain is updated to the third user identifier information, realizing the transfer of NFT ownership. In some application scenarios, the relationship between the number of homogeneous items included in the second group and the NFT ownership transfer rules can be determined first, and then the relationship between the third user identification information and the first user identification information can be determined to realize the transfer of NFT ownership. The specific execution order can be determined by the actual situation and is not specifically limited here.

[0044] In some application scenarios, when analyzing the first group of m groups, the holding time of fungible tokens held by users in each first group can be counted. Then, the third user identifier information of the second group with the longest holding time is determined. It is then determined whether the third user identifier information is the same as the first user identifier information. If the third user identifier information is the same as the first user identifier information, no further analysis operations are performed. If the third user identifier information is different from the first user identifier information, the matching of the number of fungible tokens included in the second group with the NFT ownership transfer rules in the smart contract is further judged. If the number of fungible tokens included in the second group meets the NFT ownership transfer rules, the ownership of the NFT is transferred to the third user identifier information. That is, the user identifier information corresponding to the NFT in the first blockchain is updated to the third user identifier information, thereby realizing the transfer of NFT ownership.

[0045] In some application scenarios, when analyzing the first group of m groups, the number of homogeneous items included in each first group is counted, as well as the holding time of each first group. The fourth user identification information is determined when both the number of homogeneous items and the holding time meet the NFT ownership transfer rules. The user identification information corresponding to the NFT in the first blockchain is updated to the fourth user identification information to realize the transfer of NFT ownership.

[0046] Based on the foregoing embodiments, in other embodiments of this application, the first blockchain node is further configured to perform the following steps: Second user authorization information for obtaining third user identification information; Based on the second user's authorization information, run the smart contract that is most recently updated at the current time.

[0047] In this embodiment, the second user authorization information of the third user identification information may already be stored in the first blockchain or in a storage area accessible by the first blockchain. Alternatively, it may be implemented by generating a prompt message that prompts the user corresponding to the third user identification information to provide the second user authorization information. The specific implementation can be determined by the actual situation and is not specifically limited here.

[0048] In this way, after obtaining the second user's authorization information, the smart contract corresponding to the last NFT at the current moment is executed based on the second user's authorization information to realize the update of NFT ownership. The update of the smart contract's authorization information ensures the reliable operation of the smart contract.

[0049] Based on the foregoing embodiments, in other embodiments of this application, the first blockchain node is further configured to perform the following steps: If a view command is detected, the content information of the smart contract can be obtained; Output content information.

[0050] In this embodiment, the viewing instruction can be sent by any user to the first blockchain node, instructing the user to view the contract content of the smart contract corresponding to the NFT. Upon detecting the viewing instruction, the first blockchain node responds and obtains the content information of the smart contract. This content information can be textual information related to the NFT within the smart contract, or it can be the corresponding code content. After obtaining the content information of the smart contract, the first blockchain node can output the content information. For example, it can display the information in the display area corresponding to the first blockchain node, or it can output it to a terminal device with a communication connection to the first blockchain node for display, thus achieving transparency of the smart contract content.

[0051] It should be noted that the above embodiments can be implemented in any combination according to the actual situation, and the specific combination can be determined by the actual application scenario, which will not be elaborated here.

[0052] The transaction method provided in this application involves obtaining the contract configuration parameters corresponding to an NFT, generating a smart contract based on these parameters, determining the first user authorization information for the NFT, and running the smart contract corresponding to the NFT on a first blockchain based on this first user authorization information. This enables a second blockchain associated with the first blockchain to issue a first fungible token corresponding to the NFT based on the smart contract, completing the transaction and ownership change process for the NFT. In this way, after the first blockchain node generates the smart contract corresponding to the NFT and authorizes its execution according to the first user authorization information, the second blockchain node detects the execution of the smart contract and issues a fungible token corresponding to the NFT based on the smart contract information. This allows subsequent users to trade the NFT using the fungible token, thus completing the ownership change process for the NFT. This solves the problem of difficulty in changing NFT ownership during transactions in current blockchain technology, proposing a method for changing NFT ownership during transactions and increasing the liquidity of NFTs.

[0053] Based on the foregoing embodiments, embodiments of this application provide a transaction method, referring to... Figure 2 As shown, this method is applied to a second blockchain node running a second blockchain, and the method includes the following steps: Step 201: If the smart contract corresponding to the NFT is detected to be running on the first blockchain, obtain the token identification information of the n first fungible tokens corresponding to the NFT in the smart contract from the first blockchain.

[0054] The smart contract is generated by the first blockchain node running the first blockchain based on the contract configuration parameters set by the user. The smart contract includes at least one or more of the following parameters: NFT ownership transfer rules, token identification information of the n first fungible tokens corresponding to the NFT, and the first user identification information of each first fungible token. The second blockchain is associated with the first blockchain.

[0055] In this embodiment of the application, when the second blockchain node detects that the first blockchain is running the smart contract corresponding to the NFT, since the second blockchain is used to implement the transaction service of the NFT provided by the first blockchain, the second blockchain node obtains the smart contract corresponding to the NFT from the first blockchain and reads the content information of the smart contract to obtain the token identification information of the n first fungible tokens corresponding to the NFT.

[0056] Step 202: Based on the token identification information of n first fungible tokens, issue n first fungible tokens to monitor the transaction information of the n first fungible tokens so that the first blockchain can manage the ownership of NFTs.

[0057] In this embodiment, after obtaining the token identifier information of n first fungible tokens, the second blockchain node issues corresponding n first fungible tokens based on the token identifier information of the n first fungible tokens for users to trade. The second blockchain node detects whether there is any transaction information of users trading the issued n first fungible tokens. If it detects that the target transaction information is for the second fungible token, it sends the target transaction information to the first blockchain node, so that the first blockchain node can obtain the second user identifier information to which the second fungible token transaction belongs from the target transaction information, and update the user identifier information corresponding to the token identifier information of the second fungible token in the smart contract to the second user identifier information, thereby realizing the transfer of ownership of the second fungible token transaction corresponding to the NFT. In this way, the ownership of the NFT is transferred by changing the ownership of the fungible token corresponding to the NFT.

[0058] It should be noted that the above embodiments can be implemented in any combination according to the actual situation, and the specific combination can be determined by the actual application scenario, which will not be elaborated here.

[0059] The transaction method provided in this application involves obtaining the contract configuration parameters corresponding to an NFT, generating a smart contract based on these parameters, determining the first user authorization information for the NFT, and running the smart contract corresponding to the NFT on a first blockchain based on this first user authorization information. This enables a second blockchain associated with the first blockchain to issue a first fungible token corresponding to the NFT based on the smart contract, completing the transaction and ownership change process for the NFT. In this way, after the first blockchain node generates the smart contract corresponding to the NFT and authorizes its execution according to the first user authorization information, the second blockchain node detects the execution of the smart contract and issues a fungible token corresponding to the NFT based on the smart contract information. This allows subsequent users to trade the NFT using the fungible token, thus completing the ownership change process for the NFT. This solves the problem of difficulty in changing NFT ownership during transactions in current blockchain technology, proposing a method for changing NFT ownership during transactions and increasing the liquidity of NFTs.

[0060] Based on the foregoing embodiments, this application provides an implementation process for a transaction method, referring to... Figure 3 As shown, it includes at least the following implementation steps: Step a11: The platform obtains the transfer rules of the smart contract.

[0061] The platform corresponds to the transaction system associated with the aforementioned first and second blockchain nodes. When the platform obtains the contract rules of the smart contract, it does so through the first blockchain node. It should be noted that the contract rules can be sent to the first blockchain from other blockchain nodes, such as the second blockchain node. The contract rules correspond to the aforementioned contract configuration parameters.

[0062] For example, the platform provides a series of smart contract templates for users to choose from. Users select a suitable contract template and set the corresponding parameters to form transfer rules. The transfer rules provided by the template may include one or more of the following: transfer based on quantity proportion, transfer based on holding time, etc. The parameters in the transfer rules serve as trigger thresholds. For example, it can be set that this NFT is split and issued into 100 fungible tokens, and ownership of the NFT will only be transferred when an account acquires 60 fungible tokens through transactions.

[0063] Step a12: The platform runs a smart contract on the main blockchain according to the transfer rules.

[0064] The platform generates smart contracts corresponding to the transfer rules on the main blockchain, which can be referred to as the main chain. These contracts clearly record the NFT's identification information, the quantity of fungible tokens used to issue the NFTs, the identification information of each fungible token (corresponding to the token identification information of the aforementioned fungible tokens), and the NFT transfer rules. When the smart contract runs on the main blockchain, the NFT owner authorizes the smart contract to make it effective.

[0065] It's important to note that smart contracts are programs deployed on the blockchain. Therefore, once deployed, a smart contract has a blockchain address. Users can then view the smart contract's source code using tools such as blockchain explorers via the block address. This makes smart contracts transparent and visible on the blockchain, allowing all users to verify the contract content and increasing the transparency of the smart contract's rules.

[0066] The main chain is the core network of the blockchain, used to confirm transactions and smart contracts. Every transaction and smart contract execution needs to be verified, executed, packaged, and recorded by the main chain.

[0067] Step a13: The platform issues fungible currency on the side blockchain according to the smart contract.

[0068] The platform issues corresponding fungible currencies on a sidechain (corresponding to the aforementioned second blockchain) based on smart contracts. These can be ERC-20 tokens, for example. The metadata of the fungible currency records the corresponding NFT identifier information, such as NFT token information. Each issued token is registered by calling an event method of the main chain's smart contract. The smart contract records the token identifier information and corresponding wallet address of the fungible currency. The wallet address is used to indicate the user identifier to which the fungible currency belongs.

[0069] For example, such as Figure 4 The diagram shows how a smart contract on the main chain generates fungible currency. The main chain generates token identification information for fungible currency based on the rules in the smart contract and establishes a correspondence between the token and the corresponding user identification information. This can be recorded using a map.

[0070] Step a14: Users trade fungible currencies on the sidechain.

[0071] For example, such as Figure 5 As shown, 1. After detecting a transaction of user A0x742d35Cc6634C0532925a3b844Bc454e4438f44e with the fungible currency 0x514910771af9ca656af840dff83e8264ecf986ca on the sidechain, 2. after the smart contract in the main chain detects the transaction, it moves the fungible currency 0x514910771af9ca656af840dff83e8264ecf986ca to the location map. The wallet address of f986ca was updated from user B0x32Be343B94f860124dC4fEe278FDCBD38C102D88 to user A0x742d35Cc6634C0532925a3b844Bc454e4438f44e, completing the transaction of fungible currency and transferring partial ownership of the NFT. That is, each transfer of fungible currency will trigger a main chain smart contract event, and the smart contract will update the wallet address corresponding to the relevant token.

[0072] Step a14: When a user meets the conditions in the smart contract, the platform triggers the smart contract. The smart contract queries the transaction status of the fungible currency in the sidechain, automatically transfers the NFT to the relevant user, and simultaneously completes the authorization of the smart contract.

[0073] For example, when a wallet address in the location graph of the main chain collects a threshold number of fungible coins on the sidechain that meet the transfer rules, a smart contract is triggered. The smart contract will execute automatically, query and verify the distribution of the fungible coins, and automatically transfer the ownership of the NFT to the username that meets the transfer rules. Simultaneously, the user can also authorize the smart contract when it is triggered, so that if a new user subsequently meets the contract conditions, the NFT transfer will also be triggered.

[0074] For example, when transferring ownership of an NFT with a fungible currency issuance of 100 and a proportion of 60, if it is detected that user A currently owns 80 fungible currencies for the NFT, the smart contract is triggered, and the smart contract transfers ownership of the NFT currently belonging to user B to user A.

[0075] In this way, the smart contract splits the NFT into multiple fungible tokens, promoting the circulation of NFTs and issuing them on the sidechain, effectively reducing transaction costs. Issuing the smart contract and NFTs on the main chain gives them higher credibility, enhances their reach, and increases user security. Furthermore, the smart contract is viewable throughout the entire process, ensuring openness and transparency.

[0076] Based on the foregoing embodiments, embodiments of this application provide a first trading device, which can be applied to... Figure 1 In the corresponding embodiment, the transaction method is applied to the first blockchain node, as shown in the example. Figure 6 As shown, the first transaction device 3 may include: a first acquisition unit 31, a generation unit 32, a determination unit 33, and an operation unit 34; wherein: The first acquisition unit 31 is used to acquire the contract configuration parameters corresponding to the non-fungible token (NFT); wherein, the contract configuration parameters include at least: NFT ownership transfer rule configuration parameters and the number n of the fungible tokens corresponding to the NFT, where n is an integer greater than or equal to 1; Generation unit 32 is used to generate smart contracts based on contract configuration parameters; Determining unit 33 is used to determine the first user authorization information corresponding to the NFT; The running unit 34 is used to run the smart contract corresponding to the NFT on the first blockchain based on the first user authorization information, so that the second blockchain and / or the first blockchain issue the first fungible token corresponding to the NFT based on the smart contract, realizing the transaction and ownership change process of the NFT; wherein, the smart contract includes at least one or more of the following parameters: NFT ownership transfer rules, token identification information of n first fungible tokens corresponding to the NFT, and the first user identification information of each first fungible token, and the second blockchain is associated with the first blockchain.

[0077] In other embodiments of this application, after the running unit, the first transaction device further includes: an updating unit; wherein: The first acquisition unit is further configured to, if target transaction information for the second fungible token is detected on the second blockchain node, obtain the second user identifier information to which the second fungible token belongs after the transaction from the target transaction information; wherein, the second blockchain runs on the second blockchain node, and the second fungible token belongs to n first fungible tokens; The update unit is used to update the user identifier information corresponding to the token identifier information of the second fungible token in the smart contract to the second user identifier information.

[0078] In other embodiments of this application, after the operating unit, the first transaction device further includes: a grouping unit; wherein: The grouping unit is used to group the fungible tokens of NFTs recorded in the smart contract according to the user identification information to obtain m groups of the first group; where m is an integer greater than or equal to 1; The update unit is also used to update the ownership of NFTs in the first blockchain based on the first group of m groups.

[0079] In other embodiments of this application, the grouping unit is specifically used to implement the following steps: Determine the second group that contains the largest number of homogeneous tokens in the first group of m groups; If the third user identifier information corresponding to the second group is different from the first user identifier information to which the NFT belongs, and the number of fungible tokens included in the second group satisfies the NFT ownership transfer rules in the smart contract, the ownership of the NFT will be transferred to the third user identifier information in the first blockchain.

[0080] In other embodiments of this application, the first acquisition unit is further configured to acquire second user authorization information of the third user identifier information; The execution unit is also used to run the most recently updated smart contract based on the second user's authorization information.

[0081] In other embodiments of this application, the first transaction device further includes: a display unit; wherein: The first acquisition unit is also used to acquire the content information of the smart contract if a viewing instruction is detected; Output unit, used to output content information.

[0082] It should be noted that the process of information interaction between units and modules in this embodiment can be referred to the description in other embodiments, and will not be repeated here.

[0083] The first trading device provided in this application obtains the contract configuration parameters corresponding to the NFT, generates a smart contract based on the contract configuration parameters, determines the first user authorization information of the NFT, and runs the smart contract corresponding to the NFT on the first blockchain based on the first user authorization information. This enables a second blockchain associated with the first blockchain to issue a first fungible token corresponding to the NFT based on the smart contract, completing the transaction and ownership change process of the NFT. In this way, after the first blockchain node generates the smart contract corresponding to the NFT and authorizes its execution according to the first user authorization information, the second blockchain node detects the execution of the smart contract and issues the fungible token corresponding to the NFT based on the smart contract information. This allows subsequent users to trade the NFT based on the fungible token, thus completing the ownership change process of the NFT. This solves the problem of difficulty in changing NFT ownership during transactions in current blockchain technology, proposes a method for changing NFT ownership during transactions, and increases the liquidity of NFTs.

[0084] Based on the foregoing embodiments, embodiments of this application provide a second trading device, which can be applied to... Figure 2 In the transaction method provided in the corresponding embodiment, the second blockchain node used to run the second blockchain is referred to... Figure 7 As shown, the second transaction device 4 may include: a second acquisition unit 41 and an issuance unit 42; wherein: The second acquisition unit 41 is used to acquire, if it detects that the smart contract corresponding to the NFT is running on the first blockchain, the token identification information of the n first fungible tokens corresponding to the NFT in the smart contract from the first blockchain; wherein, the smart contract is generated by the first blockchain node running the first blockchain based on the contract configuration parameters set by the user, and the smart contract includes at least one or more of the following parameters: NFT ownership transfer rules, token identification information of the n first fungible tokens corresponding to the NFT, and first user identification information of each first fungible token, and the second blockchain is associated with the first blockchain; Issuance unit 42 is used to issue n first fungible tokens based on the token identification information of n first fungible tokens, in order to monitor the transaction information of the n first fungible tokens, so as to enable the first blockchain to manage the ownership of NFTs.

[0085] It should be noted that the process of information interaction between units and modules in this embodiment can be referred to the description in other embodiments, and will not be repeated here.

[0086] The second trading device provided in this application, after obtaining the contract configuration parameters corresponding to the NFT, generates a smart contract based on the contract configuration parameters, determines the first user authorization information of the NFT, and runs the smart contract corresponding to the NFT on the first blockchain based on the first user authorization information. This enables the second blockchain, which is associated with the first blockchain, to issue the first fungible token corresponding to the NFT based on the smart contract, completing the transaction and ownership change process of the NFT. In this way, after the first blockchain node generates the smart contract corresponding to the NFT and authorizes its execution according to the first user authorization information, the second blockchain node detects the execution of the smart contract and issues the fungible token corresponding to the NFT based on the smart contract information. This allows subsequent users to trade the NFT based on the fungible token, thus completing the ownership change process of the NFT. This solves the problem of difficulty in changing NFT ownership during transactions in current blockchain technology, proposes a method for changing NFT ownership during transactions, and increases the liquidity of NFTs.

[0087] Based on the foregoing embodiments, embodiments of this application provide a transaction system, with reference to... Figure 8 As shown, the transaction system 5 includes at least: a first blockchain node 51 and a second blockchain node 52; wherein: The first blockchain node, 51, is used to implement, for example... Figure 1 The implementation process of the transaction method provided in the aforementioned corresponding embodiments will not be repeated here; The second blockchain node 52 is used to implement, for example... Figure 2 The implementation process of the transaction method provided in the aforementioned corresponding embodiments will not be repeated here.

[0088] Based on the foregoing embodiments, embodiments of this application provide a computer-readable storage medium, simply referred to as a storage medium, which stores one or more programs that can be executed by one or more processors to implement the reference. Figure 1 or Figure 2 The transaction methods provided in the aforementioned corresponding embodiments.

[0089] Based on the foregoing embodiments, this application also provides a computer program product, including a computer program that can be executed by a first blockchain node or a second blockchain node to complete any of the aforementioned method steps.

[0090] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of hardware embodiments, software embodiments, or embodiments combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage and optical storage) containing computer-usable program code.

[0091] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, produce a machine for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0092] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0093] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0094] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application.

Claims

1. A trading method, characterized in that, The method is applied to a first blockchain node, and the method includes: Obtain the contract configuration parameters corresponding to the non-fungible token (NFT); wherein, the contract configuration parameters include at least: the NFT ownership transfer rule configuration parameters and the number n of the fungible tokens corresponding to the NFT, where n is an integer greater than or equal to 1; A smart contract is generated based on the aforementioned contract configuration parameters; Determine the first user authorization information corresponding to the NFT; Based on the first user authorization information, a smart contract corresponding to the NFT is run on the first blockchain, so that the second blockchain and / or the first blockchain issue the first fungible token corresponding to the NFT based on the smart contract, thereby realizing the transaction and ownership change process of the NFT; wherein, the smart contract includes at least one or more of the following parameters: the NFT ownership transfer rules, the token identification information of the n first fungible tokens corresponding to the NFT, and the first user identification information of each first fungible token, and the second blockchain is associated with the first blockchain.

2. The method according to claim 1, characterized in that, After running the smart contract corresponding to the NFT based on the first user authorization information, the method further includes: If target transaction information for the second fungible token is detected on the second blockchain node, the second user identifier information to which the second fungible token belongs after the transaction is obtained from the target transaction information; wherein, the second blockchain runs on the second blockchain node, and the second fungible token belongs to the n first fungible tokens; Update the user identifier information corresponding to the token identifier information of the second fungible token in the smart contract to the second user identifier information.

3. The method according to claim 1 or 2, characterized in that, After running the smart contract corresponding to the NFT based on the first user authorization information, the method further includes: The fungible tokens of the NFT recorded in the smart contract are grouped according to the user identification information to obtain m groups of the first group; where m is an integer greater than or equal to 1. Based on the first group of m groups, update the ownership of the NFT in the first blockchain.

4. The method according to claim 3, characterized in that, The step of updating the ownership of the NFT in the first blockchain based on the first group of m groups includes: Determine the second group that contains the largest number of homogeneous tokens in the first group of m groups; If the third user identifier information corresponding to the second group is different from the first user identifier information to which the NFT belongs, and the number of fungible tokens included in the second group satisfies the NFT ownership transfer rules in the smart contract, then the ownership of the NFT is transferred to the third user identifier information in the first blockchain.

5. The method according to claim 4, characterized in that, The method further includes: Second user authorization information for obtaining the third user identifier information; Based on the second user authorization information, the most recent updated smart contract is executed.

6. The method according to any one of claims 1-2 and 4-5, characterized in that, The method further includes: If a view command is detected, the content information of the smart contract can be obtained; Output the content information.

7. A trading method, characterized in that, The method is applied to a second blockchain node running a second blockchain, and the method includes: If a smart contract corresponding to an NFT is detected running on the first blockchain, the token identification information of the n first fungible tokens corresponding to the NFT in the smart contract is obtained from the first blockchain; wherein, the smart contract is generated by the first blockchain node running the first blockchain based on the contract configuration parameters set by the user, and the smart contract includes at least one or more of the following parameters: the NFT ownership transfer rules, the token identification information of the n first fungible tokens corresponding to the NFT, and the first user identification information of each first fungible token, and the second blockchain is associated with the first blockchain; Based on the token identification information of the n first fungible tokens, n first fungible tokens are issued to monitor transaction information of the n first fungible tokens, so that the first blockchain can manage the ownership of the NFTs.

8. A trading system, characterized in that, The transaction system includes at least: a first blockchain node and a second blockchain node; wherein: The first blockchain node is configured to implement the steps of the method as described in any one of claims 1 to 6; The second blockchain node is used to implement the steps of the method as described in claim 7.

9. A storage medium, characterized in that, The storage medium stores a transaction program, which, when executed, is used to implement the steps of the transaction method as described in any one of claims 1 to 6, or claim 7.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the transaction method as described in any one of claims 1 to 6 or claim 7.