Security protection method and device for NFT digital assets
By creating a private blockchain account on the user's terminal device and using off-chain transactions to freeze NFT assets, the problem of insufficient security of NFT digital assets is solved and an effective protection mechanism is provided.
Patent Information
- Application Number
- CN202211053836.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-31
- Publication Date
- 2025-09-16
- Estimated Expiration
- 2042-08-31
AI Technical Summary
Existing NFT digital assets are not secure enough in blockchain accounts, and the theft of private keys can easily lead to illegal transfer of assets.
By creating a private blockchain account on the user's terminal device and using the user's e-wallet of a third-party application account to conduct off-chain transactions, the NFT digital assets that the user needs to protect can be frozen to enhance security.
It can protect NFT digital assets even when the private key is stolen, prevent illegal transactions, and provide security functions similar to those of a safe.
Smart Images

Figure CN115423471B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to blockchain technology, and in particular to a method and device for securely protecting non-fungible token (NFT) digital assets. Background Art
[0002] NFTs are a unit of data on a digital ledger called a blockchain. Each token can represent a unique digital profile, serving as an electronic authentication or certificate of ownership of a virtual good. Due to their non-interchangeability, non-fungible tokens can represent digital assets such as paintings, artworks, sounds, videos, in-game items, or other forms of creative works. NFTs are unique cryptocurrency tokens used to represent digital assets and can be traded. While the works themselves are infinitely replicable, the tokens representing them can be fully tracked on their underlying blockchain, providing proof of ownership to buyers. NFTs have a unique contract address, and only by confirming this contract address can the collectible be confirmed to be unique and indivisible.
[0003] In the process of implementing the present invention, the inventors discovered that existing NFT application solutions have security risks. The specific reasons are as follows:
[0004] NFT digital assets are typically tied to blockchain services, such as Ethereum accounts. Blockchain accounts are typically secured by a single private key. When a user logs into a blockchain account, they only need to enter their private key. Once the private key is verified, the user is granted access to the account. This makes it easy for someone to steal the user's digital assets if their private key is obtained. Summary of the Invention
[0005] In view of this, the main purpose of the present invention is to provide a security protection method and device for NFT digital assets, which can enhance the security of NFT digital assets.
[0006] In order to achieve the above objectives, the technical solutions proposed in the embodiments of the present invention are as follows:
[0007] A method for protecting NFT digital assets, which is run on a user's terminal device and includes:
[0008] Using the user's third-party application account, a private blockchain account is created for the user; in the user's electronic wallet of the third-party application account, the non-fungible token (NFT) information of the user's blockchain account is added; the added blockchain account is different from the private blockchain account;
[0009] After the user logs in to the third-party application account, based on the target NFT to be protected selected by the user in the user's electronic wallet, an off-chain transaction is initiated between the blockchain account to which the target NFT belongs and the private blockchain account to freeze the digital assets corresponding to the target NFT;
[0010] After the user logs in to the third-party application account, if the digital asset in a frozen state meets the preset NFT protection cancellation conditions, the corresponding off-chain transaction will be canceled to unfreeze the corresponding digital asset.
[0011] The embodiment of the present invention further provides a security protection device for NFT digital assets, including:
[0012] A blockchain account configuration unit is configured to create a private blockchain account for the user using a third-party application account of the user; and to add non-fungible token (NFT) information of the user's blockchain account to the user's electronic wallet of the third-party application account; the added blockchain account is different from the private blockchain account;
[0013] An asset protection unit is configured to, after the user logs into the third-party application account, initiate an off-chain transaction between the blockchain account to which the target NFT belongs and the private blockchain account based on the target NFT to be protected selected by the user in the user's electronic wallet, so as to freeze the digital assets corresponding to the target NFT;
[0014] The protection cancellation unit is used to cancel the corresponding off-chain transaction to unfreeze the corresponding digital assets if the digital assets in a frozen state meet the preset NFT protection cancellation conditions after the user logs in to the third-party application account.
[0015] An embodiment of the present invention further provides an electronic device, comprising a processor and a memory;
[0016] The memory stores an application program that can be executed by the processor, which is used to enable the processor to execute the security protection method of NFT digital assets as described above.
[0017] An embodiment of the present invention also proposes a computer-readable storage medium, which stores computer-readable instructions for executing the security protection method for NFT digital assets as described above.
[0018] An embodiment of the present invention also proposes a computer program product, including a computer program / instruction, characterized in that when the computer program / instruction is executed by a processor, the steps of the security protection method of the NFT digital asset are implemented as described above.
[0019] In summary, the security protection scheme for NFT digital assets proposed in the embodiment of the present invention is that after the user logs in to a third-party application account, the user can add his or her existing blockchain account to the user's electronic wallet of the third-party application account and create a private blockchain account for the user. Afterwards, the off-chain transaction between the private blockchain account and a blockchain account that has been added to the above-mentioned user's electronic wallet can be used to freeze the digital assets that the user needs to protect. In this way, during the freezing period, the digital assets will not be illegally transferred and traded due to the theft of the private key of the blockchain account, thereby achieving the protection of the digital assets. Correspondingly, when it is necessary to cancel the protection of the digital assets, the corresponding digital assets can be unfrozen by canceling the corresponding off-chain transaction. In this way, by utilizing the third-party application account on the terminal device, a function similar to that of a safe is obtained, that is, the freezing of digital assets during off-chain transactions between blockchain accounts is utilized, providing users with an effective means of protecting their NFT digital assets. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 Schematic diagram of a method flow in an embodiment of the present invention;
[0021] Figure 2 This is an example diagram of the process of adding an NFT to a user's electronic wallet of a third-party application account according to an embodiment of the present invention;
[0022] Figure 3 This is a schematic diagram showing the effect of adding an NFT to a user's electronic wallet of a third-party application account according to an embodiment of the present invention;
[0023] Figure 4 This is an example diagram of the process of protecting NFT digital assets according to an embodiment of the present invention;
[0024] Figure 5 This is an example diagram of canceling protection of NFT digital assets according to an embodiment of the present invention;
[0025] Figure 6 This is a schematic diagram of an off-chain transaction application according to an embodiment of the present invention;
[0026] Figure 7 Schematic diagram of the device structure of an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0028] Figure 1 Schematic diagram of the method flow of an embodiment of the present invention, as shown in FIG. Figure 1 As shown, the security protection method for NFT digital assets implemented in this embodiment runs on the user's terminal device and mainly includes:
[0029] Step 101: Use the user's third-party application account to create a private blockchain account for the user; add the NFT information of the user's blockchain account in the user's electronic wallet of the third-party application account; the added blockchain account is different from the private blockchain account.
[0030] This step is used to create a private blockchain account for the user in the scenario where the user successfully logs in to the third-party application account, and add the NFT information of the user's other existing blockchain accounts to the user's e-wallet of the third-party application account, so that the user can then select the NFT of the digital assets that need to be protected in the user's e-wallet, and then freeze the corresponding digital assets through off-chain transactions between the private blockchain account and the blockchain account to which the selected NFT belongs. In this way, an effect similar to locking the digital assets in a safe for protection can be achieved, thereby avoiding the illegal transfer of digital assets due to the loss of the private key used to access the blockchain account.
[0031] In addition, here, by adding NFT information to the user's e-wallet of the third-party application account and creating a private blockchain account in the scenario where the user successfully logs in to the third-party application account, the third-party application platform can use multiple security authentication methods for account login (for example, not only login verification based on hardware-related information (device identification, serial number) and account-related information (such as account number, globally unique identifier, etc.), but also additional security verification such as email authentication, SMS authentication, etc.) to improve the security of the above-mentioned blockchain operations.
[0032] In one embodiment, the following method may be used to create a private blockchain account for the user using the user's third-party application account:
[0033] After the user logs in to the third-party application account, based on the user's NFT security service instructions, the blockchain client in the terminal device is used to trigger the blockchain server to create a private blockchain account for the user based on the device information of the terminal device and the account information of the third-party application account, and save the metadata of the private blockchain account fed back by the blockchain server in the terminal device.
[0034] In the above-mentioned method for creating a private blockchain account for the user, after the user logs in to the third-party application account and passes the account verification on the server side, the user can activate the NFT protection service function to issue an NFT security service instruction. Based on this instruction, the blockchain client in the terminal device will trigger the blockchain server to create a private blockchain account for the user based on the device information of the terminal device and the account information of the third-party application account. After the private blockchain account is successfully created, the terminal device will receive the metadata of the private blockchain account from the blockchain server and save it locally. The private blockchain account will be associated with the third-party application account currently logged in by the user. When different users log in on this terminal device, if the user agrees, different private blockchain accounts will be created.
[0035] In the above method, after the user successfully logs in to the third-party application account, a private blockchain account (equivalent to a private wallet) is created for the user using the device information of the terminal device and related information of the third-party application account, so that the private blockchain account is associated with the third-party application account. The private blockchain account is only used for off-chain transactions, and the private key and public key used only exist locally on the terminal device. The private blockchain account can only be activated and used after the user logs in to the associated third-party application account.
[0036] The third-party application in this embodiment refers to other applications other than the blockchain application client installed on the terminal device, such as chat applications, transaction applications, multimedia playback applications, etc.
[0037] Preferably, in order to ensure the security of private blockchain accounts, their account information can be stored in the terminal device in an encrypted manner.
[0038] In one embodiment, in order to achieve flexible addition of NFT information, the following method can be used to add the NFT information of the user's blockchain account in the user's electronic wallet of the third-party application account:
[0039] Step a1: After the user logs in to the third-party application account, based on the user's blockchain account adding instruction, the target blockchain account to be added is added to the user's electronic wallet of the third-party application account.
[0040] In step a1 above, after the user logs in to the third-party application account and passes the account verification on the server side, the user can associate his or her blockchain account information as a trusted account with the currently logged-in third-party application account, that is, add his or her existing blockchain account to the user's electronic wallet of the third-party application account.
[0041] Step a2: Receive parameter information input by the user for obtaining NFT information.
[0042] Specifically, the parameter information can be the private key of the target blockchain account, or the identifier of the target NFT to be added in the target blockchain account. If it is the former, all NFT digital assets under the entire account can be added to the user e-wallet of the third-party application account. If it is the latter, the target NFT specified by the user can be added to the user e-wallet of the third-party application account. The above addition can be specifically implemented in the following step a3.
[0043] Step a3: If the input parameter information is the private key of the target blockchain account, all NFT information under the target blockchain account is obtained from the blockchain server through the blockchain client in the terminal device using the identifier and private key of the target blockchain account. Based on the obtained NFT information, the corresponding NFT metadata is obtained from the NFT provider and saved under the target blockchain account in the user's electronic wallet.
[0044] If the input parameter information is the identifier of the target NFT to be added to the target blockchain account, then based on the identifier of the target NFT, the corresponding NFT metadata is obtained from the NFT provider, and based on the NFT metadata, it is determined whether its owner is the user. If so, the NFT metadata is saved under the target blockchain account in the user's electronic wallet.
[0045] Using step a3 above, users can flexibly specify all or part of the NFT digital assets under a certain blockchain account of their own and add them to the user's electronic wallet of the third-party application account.
[0046] Figure 2 The following diagram shows an example of the process of adding a blockchain account and NFT to the user's electronic wallet of a third-party application account using the above method when the terminal device is a TV. Figure 2 As shown, the user adds his own blockchain account to the TV's playback application account, and then the user enters the NFT to be added. The TV obtains the corresponding digital asset content from the NFT provider, adds it to the user's e-wallet and displays it to the user.
[0047] Specifically, Figure 3 The following diagram shows the effect of adding NFT information to a user's e-wallet using the above method. In the figure, Account 1 and Account 2 represent two different third-party application accounts. Figure 3 The figure on the right shows the status after the NFT information is added to the user's e-wallet in account 2.
[0048] Step 102: After the user logs in to the third-party application account, based on the target NFT to be protected selected by the user in the user's e-wallet, an off-chain transaction is initiated between the blockchain account to which the target NFT belongs and the private blockchain account to freeze the digital assets corresponding to the target NFT.
[0049] In this step, the characteristic that digital assets need to be frozen during off-chain transactions is used to protect the NFT digital assets that users need to protect.
[0050] In one implementation, a user may select a target NFT to be protected using the following method:
[0051] Step b1: After the user logs in to the third-party application account, based on the NFT selected by the user in the content display interface of the user's electronic wallet, the corresponding NFT metadata is obtained from the NFT provider and displayed.
[0052] In this step, after the user logs in to the third-party application account, he can select the NFT that needs to be protected in the electronic wallet of the third-party application account. The terminal device obtains the corresponding digital asset content (i.e., NFT metadata) from the NFT provider based on the user's selection and displays it to the user for the user to view and confirm the NFT that ultimately needs to be protected.
[0053] Step b2: Receive the NFT protection confirmation instruction from the user, and determine the NFT indicated by the NFT protection confirmation instruction as the target NFT to be protected.
[0054] In this step, when the user confirms the need to protect the target NFT digital asset, the user's NFT protection confirmation instruction is triggered. Based on the confirmation instruction, the terminal device determines that the corresponding NFT is the target NFT to be protected.
[0055] In one embodiment, the following method may be used to initiate an off-chain transaction between the blockchain account to which the target NFT belongs and the private blockchain account based on the target NFT to be protected selected by the user in the user's electronic wallet:
[0056] Step c1: When the user selects the target NFT to be protected, receive the private key of the blockchain account to which the target NFT belongs, which is input by the user.
[0057] This step is used to obtain the private key of the blockchain account to which the target NFT to be protected belongs, so as to perform account verification during off-chain transactions.
[0058] It should be noted here that the account information of a private blockchain account is saved in the terminal device when the account is created, and the private blockchain account is only used in the terminal device for which it is applied for creation, and is only used to construct off-chain transactions for freezing digital assets. Therefore, users do not need to record the information of the private blockchain account for use in other devices. Therefore, in order to protect the security of the blockchain account and reduce user operations, the account information of the private blockchain account is transparent to the user. When using the private blockchain account, the user does not need to enter the private key of the private blockchain account.
[0059] Step c2: Utilize the blockchain client in the terminal device to trigger the blockchain server to verify the legitimacy of the corresponding account based on the account information of the blockchain account to which the target NFT belongs and the private blockchain account; the account information includes the account ID and private key.
[0060] This step is used to trigger the blockchain server to verify the legitimacy of the blockchain accounts of both parties in the off-chain transaction.
[0061] Step c3: When the verification is passed, the corresponding off-chain transaction channel is generated and fed back to the account server.
[0062] Here, after receiving the feedback from the blockchain server that the legitimacy verification of the blockchain accounts of both parties to the off-chain transaction has passed, the terminal device generates a corresponding off-chain transaction channel for the off-chain transaction and feeds it back to the account server, so that the account server triggers the blockchain server to upload the off-chain transaction channel information to the chain and freeze the digital assets of the transaction.
[0063] Step c4: Based on the feedback, the account server triggers the blockchain server to freeze the corresponding digital assets based on the off-chain transaction channel.
[0064] Figure 4 The following diagram shows an example of the process of protecting NFT digital assets using the above method when the terminal device is a TV. Figure 4 As shown in the figure, through off-chain transactions, the protected digital assets are frozen and can no longer be traded. At this time, illegal users cannot transfer them using the blockchain account key.
[0065] Step 103: After the user logs in to the third-party application account, if the digital asset in a frozen state meets the preset NFT protection cancellation conditions, the corresponding off-chain transaction is canceled to unfreeze the corresponding digital asset.
[0066] This step is used to unfreeze digital assets when the user no longer needs to protect them, thereby realizing the protection release function.
[0067] In one embodiment, the NFT protection cancellation conditions may specifically include the following:
[0068] The preset protection period of the digital assets in the frozen state expires,
[0069] Alternatively, an NFT protection cancellation instruction is received from the user.
[0070] The above protection validity period can be set by the user based on the content of the actual digital asset when selecting the target NFT to be protected, and will not be repeated here.
[0071] In one implementation, the following method may be used to cancel the corresponding off-chain transaction:
[0072] Step d1: After the user logs in to the third-party application account, if it is detected that the digital asset of the first NFT in a frozen state meets the NFT protection cancellation condition, the private key of the blockchain account to which the first NFT belongs, which is input by the user, is received.
[0073] The first NFT is used to represent the NFT currently selected by the user that needs to be unprotected.
[0074] This step is used to obtain the private key of the blockchain account to which the target NFT that needs to be unprotected belongs, so that the corresponding account can be verified when canceling the off-chain transaction.
[0075] Step d2: Utilize the blockchain client in the terminal device to trigger the blockchain server to verify the legitimacy of the corresponding account based on the account information of the blockchain account to which the first NFT belongs and the account information of the private blockchain account; the account information includes the account ID and private key.
[0076] Step d3: When the verification is passed, the corresponding off-chain transaction channel is closed, and the blockchain server is triggered to cancel the freeze on the corresponding digital assets based on the closure of the off-chain transaction channel.
[0077] This step is used to cancel the freeze on the digital assets of off-chain transactions by closing the off-chain transaction channel, thereby releasing the protection of the corresponding digital assets.
[0078] Figure 5 An example diagram is given of using the above method to cancel the protection of NFT digital assets when the terminal device is a TV. Figure 5 As shown, after the user chooses to unprotect the target NFT, the freeze of the target NFT digital asset is canceled by closing the off-chain transaction channel. At this time, the user can initiate a transaction on the target NFT digital asset.
[0079] Figure 6A schematic diagram of off-chain transactions implemented using the above method is given. Figure 6 As shown, the above method embodiment creates a private blockchain account (i.e., the cold wallet in the figure) and uses the off-chain transactions between the blockchain account to which the NFT belongs in the user's electronic wallet and the private blockchain account to protect the corresponding digital assets. This can achieve the security protection effect of placing NFT digital assets in a safe, thereby providing users with a technical means for reliably protecting NFT digital assets. In addition, each step in the above technical solution is executed when the user successfully logs in to the third-party application account. In this way, the secure login verification of the third-party application account can be fully utilized to enhance the security of NFT digital asset protection.
[0080] Based on the above method embodiment, the embodiment of the present invention also proposes a security protection device for NFT digital assets, such as Figure 7 As shown, the device includes:
[0081] The blockchain account configuration unit 701 uses the user's third-party application account to create a private blockchain account for the user; in the user's electronic wallet of the third-party application account, the non-fungible token NFT information of the user's blockchain account is added; the added blockchain account is different from the private blockchain account.
[0082] The asset protection unit 702 is used to initiate an off-chain transaction between the blockchain account to which the target NFT belongs and the private blockchain account based on the target NFT to be protected selected by the user in the user's electronic wallet after the user logs in to the third-party application account, so as to freeze the digital assets corresponding to the target NFT.
[0083] The protection cancellation unit 703 is used to cancel the corresponding off-chain transaction to unfreeze the corresponding digital assets if the digital assets in a frozen state meet the preset NFT protection cancellation conditions after the user logs in to the third-party application account.
[0084] It should be noted that the above-mentioned method and device embodiments are based on the same inventive concept. Since the principles of solving problems by the method and device are similar, the implementation of the device and method can refer to each other, and the repeated parts will not be repeated.
[0085] Based on the above method embodiment, the embodiment of the present invention also proposes a corresponding electronic device, including a processor and a memory; the memory stores an application program that can be executed by the processor, which is used to enable the processor to execute the security protection method of the NFT digital asset as described above. Specifically, a system or device equipped with a storage medium can be provided, on which a software program code that implements the functions of any of the implementation methods in the above embodiments is stored, and the computer (or CPU or MPU) of the system or device reads and executes the program code stored in the storage medium. In addition, the operating system operating on the computer can also be used to complete part or all of the actual operations based on instructions based on the program code. The program code read from the storage medium can also be written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then based on the instructions of the program code, the CPU installed on the expansion board or expansion unit can be made to perform part or all of the actual operations, thereby realizing the functions of any of the implementation methods in the above embodiments.
[0086] Specifically, the memory may be implemented as various storage media such as electrically erasable programmable read-only memory (EEPROM), flash memory, and programmable read-only memory (PROM). The processor may be implemented as including one or more central processing units (CPUs) or one or more field programmable gate arrays (FPGAs), wherein the FPGAs integrate one or more CPU cores. Specifically, the CPU or CPU core may be implemented as a CPU or an MCU.
[0087] An embodiment of the present application implements a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the above method for implementing a security protection method for NFT digital assets.
[0088] It should be noted that not all steps in the above flowcharts are required, and some steps can be omitted according to actual needs. The execution order of each step is not fixed and can be adjusted as needed.
[0089] The hardware modules in each embodiment can be implemented mechanically or electronically. For example, a hardware module may include a specially designed permanent circuit or logic device (such as a dedicated processor, such as an FPGA or ASIC) for performing a specific operation. The hardware module may also include a programmable logic device or circuit (such as a general-purpose processor or other programmable processor) temporarily configured by software to perform a specific operation. As for whether to implement the hardware module mechanically, or using a dedicated permanent circuit, or using a temporarily configured circuit (such as configured by software), it can be decided based on cost and time considerations.
[0090] In this document, "schematic" means "serving as an example, instance or illustration", and any diagram or embodiment described as "schematic" in this document should not be interpreted as a more preferred or more advantageous technical solution. In order to keep the drawings simple, each figure only schematically shows the parts related to the present invention, and does not represent its actual structure as a product. In addition, in order to keep the drawings simple and easy to understand, in some figures, only one of the components with the same structure or function is schematically drawn, or only one of them is marked. In this document, "one" does not mean that the number of relevant parts of the present invention is limited to "only one", and "one" does not mean excluding the situation where the number of relevant parts of the present invention is "more than one". In this document, "upper", "lower", "front", "back", "left", "right", "inside", "outside" and the like are only used to indicate the relative positional relationship between the relevant parts, rather than to limit the absolute positions of these relevant parts.
[0091] The above description is only a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the scope of protection of the present invention.
Claims
1. A security protection method for NFT digital assets, characterized in that: The method is run in a user's terminal device and includes: Using the user's third-party application account, a private blockchain account is created for the user; in the user's electronic wallet of the third-party application account, the non-fungible token (NFT) information of the user's blockchain account is added; the added blockchain account is different from the private blockchain account; After the user logs in to the third-party application account, based on the target NFT to be protected selected by the user in the user's electronic wallet, an off-chain transaction is initiated between the blockchain account to which the target NFT belongs and the private blockchain account, the private key of the blockchain account to which the target NFT belongs is obtained, the legitimacy of the blockchain accounts of both parties to the off-chain transaction is verified, and the off-chain transaction channel information is uploaded to the chain to freeze the digital assets corresponding to the target NFT; After the user logs in to the third-party application account, if the digital asset in a frozen state meets the preset NFT protection cancellation conditions, the corresponding off-chain transaction will be canceled to unfreeze the corresponding digital asset.
2. The method according to claim 1, characterized in that The step of creating a private blockchain account for the user by using the user's third-party application account includes: After the user logs in to the third-party application account, based on the user's NFT security service instructions, the blockchain client in the terminal device is used to trigger the blockchain server to create a private blockchain account for the user based on the device information of the terminal device and the account information of the third-party application account, and save the metadata of the private blockchain account fed back by the blockchain server in the terminal device.
3. The method according to claim 1, characterized in that In the user electronic wallet of the third-party application account, adding the non-fungible token NFT information of the user's blockchain account includes: After the user logs in to the third-party application account, based on the user's blockchain account adding instruction, the target blockchain account to be added is added to the user's electronic wallet of the third-party application account; Receiving parameter information input by the user for obtaining NFT information; If the input parameter information is the private key of the target blockchain account, all NFT information under the target blockchain account is obtained from the blockchain server by using the identifier and private key of the target blockchain account through the blockchain client in the terminal device. Based on the obtained NFT information, the corresponding NFT metadata is obtained from the NFT provider and saved under the target blockchain account in the user's electronic wallet; If the input parameter information is the identifier of the target NFT to be added to the target blockchain account, then based on the identifier of the target NFT, the corresponding NFT metadata is obtained from the NFT provider, and based on the NFT metadata, it is determined whether its owner is the user. If so, the NFT metadata is saved under the target blockchain account in the user's electronic wallet.
4. The method according to claim 1, wherein The selection of the target NFT to be protected includes: After the user logs in to the third-party application account, based on the NFT selected by the user in the content display interface of the user's electronic wallet, the corresponding NFT metadata is obtained from the NFT provider and displayed; Receive the user's NFT protection confirmation instruction, and determine the NFT indicated by the NFT protection confirmation instruction as the target NFT to be protected.
5. The method according to claim 1, characterized in that The steps of initiating an off-chain transaction between the blockchain account to which the target NFT belongs and the private blockchain account based on the target NFT to be protected selected by the user in the user's electronic wallet, obtaining the private key of the blockchain account to which the target NFT belongs, and separately verifying the legitimacy of the blockchain accounts of both parties to the off-chain transaction, and uploading the off-chain transaction channel information to the chain include: When the user selects the target NFT to be protected, receiving the private key of the blockchain account to which the target NFT belongs, which is input by the user; Utilizing the blockchain client in the terminal device, triggering the blockchain server to verify the legitimacy of the corresponding account based on the account information of the blockchain account to which the target NFT belongs and the private blockchain account; the account information includes the account identifier and private key; When the verification is passed, the corresponding off-chain transaction channel is generated and fed back to the account server; Based on the feedback, the account server triggers the blockchain server to freeze the corresponding digital assets based on the off-chain transaction channel.
6. The method according to claim 1, characterized in that The cancellation of the corresponding off-chain transaction includes: After the user logs in to the third-party application account, if it is detected that the digital asset of the first NFT in a frozen state meets the NFT protection cancellation condition, the private key of the blockchain account to which the first NFT belongs, which is input by the user, is received; Utilizing the blockchain client in the terminal device, triggering the blockchain server to verify the legitimacy of the corresponding account based on the account information of the blockchain account to which the first NFT belongs and the account information of the private blockchain account; the account information includes an account identifier and a private key; When the verification is passed, the corresponding off-chain transaction channel is closed, and the blockchain server is triggered to cancel the freeze on the corresponding digital assets based on the closure of the off-chain transaction channel.
7. The method according to claim 1 or 6, characterized in that The NFT protection cancellation conditions include: The preset protection period of the digital asset in the frozen state expires, or an NFT protection cancellation instruction is received from the user.
8. A security protection device for NFT digital assets, characterized in that: include: A blockchain account configuration unit, using a user's third-party application account to create a private blockchain account for the user; In the user electronic wallet of the third-party application account, add the non-fungible token (NFT) information of the user's blockchain account; the added blockchain account is different from the private blockchain account; An asset protection unit is configured to, after the user logs into the third-party application account, initiate an off-chain transaction between the blockchain account to which the target NFT belongs and the private blockchain account based on the target NFT to be protected selected by the user in the user's electronic wallet, obtain the private key of the blockchain account to which the target NFT belongs, perform legitimacy verification on the blockchain accounts of both parties to the off-chain transaction, and upload the off-chain transaction channel information to the chain to freeze the digital assets corresponding to the target NFT; The protection cancellation unit is used to cancel the corresponding off-chain transaction to unfreeze the corresponding digital assets if the digital assets in a frozen state meet the preset NFT protection cancellation conditions after the user logs in to the third-party application account.
9. An electronic device, characterized in that: including processor and memory; The memory stores an application program that can be executed by the processor, which is used to enable the processor to execute the security protection method for NFT digital assets as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that Computer-readable instructions are stored therein, which are used to execute the security protection method for NFT digital assets as described in any one of claims 1 to 7.
11. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the NFT digital asset security protection method as described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Data asset processing method, device and system
CN113095819A