Resource conversion method, system, device, storage medium and program product

CN117319389BActive Publication Date: 2026-10-09TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210725078.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-23
Publication Date
2026-10-09
Estimated Expiration
2042-06-23

AI Technical Summary

Technical Problem

[0004]然而,数字藏品的拥有者发起请求信息的过程存在安全隐患

Benefits of technology

[0016]本申请实施例提供的技术方案带来的有益效果至少包括:

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117319389B_ABST
    Figure CN117319389B_ABST
Patent Text Reader

Abstract

The application discloses a resource conversion method, system, device, storage medium and program product, and belongs to the technical field of Internet and computers. The method comprises the following steps: receiving a resource conversion request sent by a target application program, wherein the resource conversion request is used for requesting to convert a digital collectible into at least one resource, and the resource conversion request comprises a decentralized identity of an owner of the digital collectible; obtaining a user address corresponding to the decentralized identity, wherein the user address is used for transferring the digital collectible; and sending a first conversion request carrying the user address to a node in a first block chain system, wherein the first conversion request is used for requesting to convert the digital collectible into at least one first resource; and the first block chain system is a block chain system where the digital collectible is located. The use of the decentralized identity in the resource conversion process of the digital collectible helps to improve the security of the resource conversion process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the fields of Internet and computer technology, and in particular to a resource conversion method, system, device, storage medium and program product. Background Technology

[0002] Digital collectibles with liquidity exist within blockchain systems.

[0003] In related technologies, owners of digital collectibles circulate their digital collectibles by providing request information, including their user addresses, to nodes in a blockchain system. The user address is used to store at least one digital collectible owned by the owner.

[0004] However, there are security risks in the process of owners of digital collectibles requesting information. Summary of the Invention

[0005] This application provides a resource conversion method, system, device, storage medium, and program product. The technical solution is as follows: According to one aspect of the embodiments of this application, a resource conversion method is provided, the method comprising: Receive a resource conversion request sent by a target application, the resource conversion request being used to request the conversion of digital collectibles into at least one resource, the resource conversion request including the decentralized identity of the owner of the digital collectibles; Obtain the user address corresponding to the decentralized identity, and use the user address to transfer the digital collectibles; A first conversion request carrying the user address is sent to a node in a first blockchain system. The first conversion request is used to request the conversion of the digital collectible into at least one first resource. The first blockchain system is the blockchain system in which the digital collectible resides.

[0006] According to one aspect of the embodiments of this application, a resource conversion method is provided, the method comprising: Receive a first query request sent by the resource management server, wherein the first query request includes the decentralized identity of the owner of the digital collection; A second query request is sent to a node in the first blockchain system, the second query request including the decentralized identity; wherein, the first blockchain system is the blockchain system where the digital collection is located; Receive the user address corresponding to the decentralized identity sent by the node in the first blockchain system, and the user address is used to transfer the digital collectibles; The user address corresponding to the decentralized identity is sent to the resource management server. The user address is used when initiating a conversion request for the digital collectible to the first blockchain system. The conversion request is used to convert the digital collectible into at least one first resource.

[0007] According to one aspect of the embodiments of this application, a resource conversion method is provided, the method comprising: The system receives a first conversion request sent by a resource management server. The first conversion request is used to request the conversion of digital collectibles into at least one first resource. The first conversion request includes the user address corresponding to the decentralized identity of the owner of the digital collectibles. The user address is used to transfer the digital collectibles. Based on the first conversion request, the digital collection is locked, and the at least one first resource is generated; Transfer the at least one first resource to the user address.

[0008] According to one aspect of the embodiments of this application, a resource conversion method is provided, the method comprising: The resource management server receives a resource conversion request sent by the target application. The resource conversion request is used to request the conversion of digital collectibles into at least one resource. The resource conversion request includes the decentralized identity of the owner of the digital collectibles. The resource management server queries the identity management server to obtain the user address corresponding to the decentralized identity, and the user address is used to transfer the digital collection; The resource management server sends a first conversion request to a node in the first blockchain system. The first conversion request is used to request the conversion of the digital collectible into at least one first resource. The first conversion request includes the user address. The first blockchain system is the blockchain system where the digital collectible is located. The nodes in the first blockchain system lock the digital collection according to the first conversion request and generate the at least one first resource; A node in the first blockchain system transfers the at least one first resource to the user address.

[0009] According to one aspect of the embodiments of this application, a resource conversion apparatus is provided, the apparatus comprising: A request receiving module is used to receive a resource conversion request sent by a target application. The resource conversion request is used to request the conversion of digital collectibles into at least one resource. The resource conversion request includes the decentralized identity of the owner of the digital collectibles. The address acquisition module is used to acquire the user address corresponding to the decentralized identity, and the user address is used to transfer the digital collection. The request sending module is used to send a first conversion request carrying the user address to a node in the first blockchain system. The first conversion request is used to request the conversion of the digital collectible into at least one first resource. The first blockchain system is the blockchain system where the digital collectible is located.

[0010] According to one aspect of the embodiments of this application, a resource conversion apparatus is provided, the apparatus comprising: The request receiving module is used to receive a first query request sent by the resource management server, wherein the first query request includes the decentralized identity of the owner of the digital collection; The request sending module is used to send a second query request to a node in the first blockchain system, the second query request including the decentralized identity; wherein, the first blockchain system is the blockchain system where the digital collection is located; The address receiving module is used to receive the user address corresponding to the decentralized identity sent by the node in the first blockchain system, and the user address is used to transfer the digital collectibles; The address sending module is used to send the user address corresponding to the decentralized identity to the resource management server. The user address is used when initiating a conversion request for the digital collectible to the first blockchain system. The conversion request is used to convert the digital collectible into at least one first resource.

[0011] According to one aspect of the embodiments of this application, a resource conversion apparatus is provided, the apparatus comprising: The request receiving module is used to receive a first conversion request sent by the resource management server. The first conversion request is used to request the conversion of digital collectibles into at least one first resource. The first conversion request includes the user address corresponding to the decentralized identity of the owner of the digital collectibles. The user address is used to transfer the digital collectibles. The product conversion module is used to lock the digital collection according to the first conversion request and generate the at least one first resource; A resource transfer module is used to transfer the at least one first resource to the user address.

[0012] According to one aspect of the embodiments of this application, a resource conversion system is provided, the system comprising: a resource management server, an identity management server, and a first blockchain system; The resource management server is used to receive resource conversion requests sent by the target application. The resource conversion requests are used to request the conversion of digital collectibles into at least one resource. The resource conversion requests include the decentralized identity of the owner of the digital collectibles. The resource management server is also used to query and obtain the user address corresponding to the decentralized identity from the identity management server, and the user address is used to transfer the digital collection; The resource management server is further configured to send a first conversion request to a node in the first blockchain system. The first conversion request is used to request the conversion of the digital collectible into at least one first resource. The first conversion request includes the user address. The first blockchain system is the blockchain system where the digital collectible is located. The nodes in the first blockchain system are used to lock the digital collection according to the first conversion request and generate the at least one first resource; The nodes in the first blockchain system are also used to transfer the at least one first resource to the user address.

[0013] According to one aspect of the present application, a computer device is provided, the computer device comprising: a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the above-described resource conversion method.

[0014] According to one aspect of the embodiments of this application, a computer-readable storage medium is provided, wherein a computer program is stored in the storage medium, the computer program being loaded and executed by a processor to implement the above-described resource conversion method.

[0015] According to one aspect of the embodiments of this application, a computer program product is provided, the computer program product including computer instructions stored in a computer-readable storage medium, and a processor reading from the computer-readable storage medium and executing the computer instructions to implement the above-described resource conversion method.

[0016] The beneficial effects of the technical solutions provided in this application include at least the following: Since a user address is used to store at least one digital collectible and other digital resources owned by the owner, directly using the owner's user address to initiate resource conversion transactions could lead to other users impersonating the owner and processing the digital collectibles stored in that address, thus compromising the security of the blockchain system. By using the method described above, the target application carries a decentralized identity in the resource conversion request to identify the owner of the digital collectible. This helps prevent the owner's user address from being leaked and improves the security of the digital collectible conversion process. Attached Figure Description

[0017] Figure 1 This is a schematic diagram of the implementation environment of a solution provided in an exemplary embodiment of this application; Figure 2 This is a flowchart of a resource conversion method provided in an exemplary embodiment of this application; Figure 3 This is a flowchart of a resource conversion method provided in another exemplary embodiment of this application; Figure 4 This is a flowchart of a resource conversion method provided in another exemplary embodiment of this application; Figure 5 This is a flowchart of a resource conversion method provided in another exemplary embodiment of this application; Figure 6 This is a flowchart of a resource conversion method provided in another exemplary embodiment of this application; Figure 7 This is a flowchart of a resource conversion method provided in another exemplary embodiment of this application; Figure 8 This is a block diagram of a resource conversion apparatus provided in an exemplary embodiment of this application; Figure 9 This is a block diagram of a resource conversion apparatus provided in another exemplary embodiment of this application; Figure 10 This is a block diagram of a resource conversion apparatus provided in another exemplary embodiment of this application; Figure 11 This is a structural block diagram of a computer device provided in an exemplary embodiment of this application. Detailed Implementation

[0018] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.

[0019] First, the terms used in this application will be introduced and explained.

[0020] Blockchain is a novel application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and cryptographic algorithms. Essentially, a blockchain is a decentralized database, a chain of data blocks linked together using cryptographic methods. Each data block contains information about a batch of network transactions (any operation performed on the blockchain is represented in the form of a transaction), used to verify the validity of the information (anti-counterfeiting) and generate the next block. A blockchain can include an underlying platform, a platform product service layer, and an application service layer.

[0021] The platform's product service layer provides the basic capabilities and implementation frameworks for typical applications. Developers can leverage these basic capabilities, along with the specific characteristics of their business needs, to implement blockchain-based business logic. The application service layer provides blockchain-based application services to business stakeholders.

[0022] Typically, distributed systems are built on a network and consist of multiple independent operating systems. Therefore, compared to software systems that are independently deployed and run on a single operating system, distributed systems face challenges in addressing communication and consensus mechanisms. Before deploying a distributed system, timing tests are necessary to adjust the system based on the test results, ensuring that all nodes in the distributed system can reach a consensus.

[0023] A blockchain consists of a series of blocks linked together in chronological order of their creation. Once a new block is added to the blockchain, it cannot be removed. A block comprises a block header and a block body. The block header includes: the block version number, root hash, a timestamp indicating the block's creation, a difficulty value (Target_bits), and a nonce. The block body records the transaction information within that block, which can be arranged according to a Merkle tree structure.

[0024] Smart contracts are computerized protocols that can execute the terms of a contract. They are implemented through code deployed on a shared ledger that executes when certain conditions are met. Based on actual business needs, the code is used to complete automated transactions, such as processing received information.

[0025] Figure 1 This is a schematic diagram of an implementation environment provided by an exemplary embodiment of this application. This implementation environment can be implemented as a resource conversion system, which may include: a resource management server 10, an identity management server 20, and a first blockchain system 30.

[0026] Resource management server 10 is used to provide background services for target applications running on terminal devices. For example, resource management server 10 can be a background server for the target application. The target application can be a regular application, a mini-program with blockchain system service functions, a web service, etc.

[0027] The resource management server 10 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud computing, cloud functions, cloud storage, network services, cloud communication, domain name services, and artificial intelligence platforms. The resource management server 10 must have at least data transmission, storage, and computing functions.

[0028] In some embodiments, the resource management server 10 is used to provide resource management services for the target application. In some embodiments, resources refer to non-physical resources in the blockchain system, and resources may include digital collections, digital resources, etc.

[0029] Identity management server 20 is used to provide identity management services for the target application. Identity management server 20 can be the backend server of the target application. Resource management server 10 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud computing, cloud functions, cloud storage, network services, cloud communication, domain name services, and artificial intelligence platforms.

[0030] The blockchain system 30 may include multiple nodes 31, and there are communication connections between nodes 31 so that any two nodes 31 can transmit data, receive data from other nodes, or send data to other nodes.

[0031] Node 31 can be any type of computing device in the network, such as a server or user terminal. Nodes 31 form a peer-to-peer (P2P) network. The P2P protocol is an application layer protocol running on top of TCP (Transmission Control Protocol). In a distributed system, any machine, such as a server or terminal, can join and become a node. A node includes a hardware layer, a middleware layer, an operating system layer, and an application layer.

[0032] Node 31 has at least sending, receiving, computing, and storage functions, and is used to process received request information, complete lookup requests, and perform consensus operations.

[0033] Each node in a blockchain system possesses functions including, but not limited to, one of the following: Routing, a basic function of nodes used to support communication between nodes; Application, used to deploy within the blockchain to implement specific business needs, record data related to the implementation of functions to form record data, carry digital signatures in the record data to indicate the source of the task data, and send the record data to other nodes in the blockchain system, so that other nodes can add the record data to a temporary block when they successfully verify the source and integrity of the record data.

[0034] Resource management server 10, identity management server 20, and node 31 in the blockchain system can transmit data to each other to realize resource conversion methods.

[0035] Figure 2 This is a flowchart of a resource conversion method provided in an exemplary embodiment of this application. Exemplarily, the entity executing this method may be... Figure 1 The resource management server 10 in the implementation environment shown in the diagram. Figure 2 As shown, the method includes at least one of the following steps (210~230): Step 210: Receive a resource conversion request sent by the target application. The resource conversion request is used to request the conversion of the digital collectible into at least one resource. The resource conversion request includes the decentralized identity of the owner of the digital collectible.

[0036] Digital collectibles refer to unique encrypted tokens used to represent digital assets. In some embodiments, digital collectibles are unique digital certificates generated for creative works of art using blockchain technology. Digital collectibles, while protecting the digital copyright of creative works of art, enable the reliable digital issuance, collection, and use of such works. In some embodiments, digital collectibles are acquired through exchange, purchase, or event-based rewards.

[0037] In some embodiments, digital collectibles possess indivisibility, irreplaceability, and verifiability; wherein: Indivisibility means that digital collectibles cannot be split up. In other words, the purchase, transfer, and use of digital collectibles are based on the complete digital collectible, and digital collectibles cannot be divided, nor can a split part of the digital collectible be purchased or transferred separately. Irreplaceability means that digital collectibles are unique in the blockchain system, that is, no two digital collectibles are exactly the same. Verifiability refers to the fact that transaction events related to the generation and transfer of digital collectibles are stored in nodes of a blockchain system, such as in a blockchain shared document, so that the generation and transfer processes of digital collectibles can be tracked and proven.

[0038] In some embodiments, digital collectibles are unique within the blockchain system, meaning that no two digital collectibles are identical. In some embodiments, digital collectibles are identified by their identification information, meaning that no two digital collectibles have completely identical identifications.

[0039] The owner of a digital collectible refers to a user who owns the digital collectible. In some embodiments, digital collectibles are issued and exchanged within a blockchain system, and the owner of a digital collectible refers to a user within that blockchain system. For example, a user in the blockchain system can become the owner of a digital collectible through a purchase or by acquiring ownership of that digital collectible.

[0040] To facilitate user interactions with digital collectibles within the blockchain system, users can utilize a target application to complete conversion activities related to digital collectibles. In some embodiments, the target application connects the blockchain system and the owner of the digital collectibles to facilitate the conversion process. Furthermore, the target application can also be used by users within the blockchain system to purchase or claim digital collectibles.

[0041] The owner of the digital artifact instructs the target application to perform a conversion of the digital artifact. Based on the owner's instructions, the target application generates a resource conversion request.

[0042] In some embodiments, a resource conversion request is used to request the conversion of a digital collectible to obtain at least one digital resource. In some embodiments, to improve the liquidity of a digital collectible, the digital collectible is converted to generate multiple digital resources.

[0043] In some embodiments, the resource conversion request includes, but is not limited to, at least one of the following: the decentralized identity of the owner of the digital collectible, and information about the digital collectible. Furthermore, the resource conversion request may also include at least one of the following: the identifier of the first blockchain system, the conversion quantity of the digital collectible, and the quantity of the first resource to be generated, etc. For a detailed description of the contents included in the resource conversion request, please refer to the embodiments below.

[0044] The decentralized identity of the owner of a digital collectible is used to identify the owner of the digital collectible. In some embodiments, users in the blockchain system have different decentralized identities.

[0045] In some embodiments, the conversion request includes the decentralized identity of the owner of the digital collectible in order to determine the owner of the digital collectible based on the decentralized identity of the owner.

[0046] Step 220: Obtain the user address corresponding to the decentralized identity. The user address is used to transfer digital collectibles.

[0047] The user address corresponding to a decentralized identity refers to the user address of the owner of a digital collectible in the blockchain system. The user address is used to record and store at least one digital collectible and digital resources owned by the digital collectible owner. In some embodiments, the owner of a digital collectible can be changed by altering the user address corresponding to it.

[0048] In a blockchain system, user addresses are unique, meaning no two users can use the same address. A user address can be considered a user's resource account, storing at least one resource owned by the user (including digital resources and digital collectibles).

[0049] In some embodiments, there is a one-to-one correspondence between user addresses and decentralized identities. In some embodiments, the nodes in the blockchain system store the mapping relationship between user addresses and digital collectibles. For example, if there is a mapping relationship between user address 1 and digital collectible 3, it means that user 1 in the blockchain system corresponding to user address 1 is the owner of digital collectible 3.

[0050] The resource management server determines the user address corresponding to the decentralized identity based on the decentralized identity.

[0051] Step 230: Send a first conversion request carrying the user address to a node in the first blockchain system. The first conversion request is used to request the conversion of the digital collection into at least one first resource. The first blockchain system is the blockchain system where the digital collection is located.

[0052] In some embodiments, the resource management server generates a first conversion request based on the resource conversion request and the user address, and notifies the nodes in the first blockchain system to perform resource conversion on the numerical product through the first conversion request.

[0053] In some embodiments, a first conversion request includes the identifier of a digital collectible and a user address. That is, a single resource conversion process can only convert one digital collectible. If converting *a* digital collectibles is required, the resource management server needs to generate separate first conversion requests for each of the *a* digital collectibles. The identifier of the digital collectible is used to indicate its identity; different digital collectibles have different identifiers. In some embodiments, the identifier of a digital collectible can be its name, its issue number, etc.

[0054] In some embodiments, a first conversion request includes the identifiers and user addresses of multiple digital collectibles, and the owners of the multiple digital collectibles are the same, that is, a single resource conversion process can convert multiple digital collectibles owned by the same owner separately.

[0055] In some embodiments, the first blockchain system refers to the blockchain system where the first resource is located, or the blockchain system that generated the first resource. In some embodiments, the blockchain system where the first resource is located and the blockchain system where the digital collectible is located are the same blockchain system, that is, the first blockchain system is the blockchain system where the digital collectible is located.

[0056] In other embodiments, the blockchain system containing the first resource and the blockchain system containing the digital collectible are not the same blockchain system; the blockchain system containing the first resource is the one that the owner of the digital collectible desires to be located in. In this case, the owner of the digital collectible can instruct the target application to provide instructions regarding the first blockchain system. For details of this process, please refer to the embodiments below.

[0057] In some embodiments, the owner of a digital collectible instructs a target application to perform a resource conversion on a specific digital collectible. The target application generates a resource conversion request that includes the decentralized identity of the digital collectible owner. The target application sends the resource conversion request to a resource management server and determines the user address corresponding to the decentralized identity based on the decentralized identity in the resource conversion request. The resource management server generates a first conversion request based on the user address and the resource conversion request, and sends the first conversion request to nodes in a first blockchain system.

[0058] The first resource refers to the digital resource in the first blockchain system. In some embodiments, the digital resource refers to a tradable digital certificate in the blockchain system used to declare the rights held by the owner.

[0059] In some embodiments, digital resources are divisible, substitutable, and computable; wherein: Divisibility refers to the ability of a digital resource to be split, meaning that a portion of a digital resource can be transferred individually, such as 0.5 units of the digital resource. In some embodiments, a digital resource can be split infinitely. Substitutability refers to the fact that, unlike unique digital collectibles in a blockchain system, multiple digital resources can exist in a blockchain system, and any two of these digital resources are indistinguishable and can be substituted for each other. Computability refers to the ability of multiple digital resources to be used in combination, where the attribute information of the combined digital resources is equal to the sum of the attribute information of each individual digital resource. For example, if the attribute information of a certain digital resource is equal to 1, then the attribute information of 3 digital resources is equal to 3; and the attribute information of 5.6 digital resources is equal to 5.6.

[0060] The resource management server sends a first conversion request to nodes in the first blockchain system, so that the nodes in the first blockchain system can convert digital resources into at least one first resource according to the first conversion request. In some embodiments, the number of first resources to be generated during the resource conversion process of the nodes in the first blockchain system can be determined by the owner of the digital collection.

[0061] In some embodiments, the number of first resources to be generated is greater than or equal to 1.

[0062] In summary, since user addresses are used to store at least one digital collectible and other digital resources owned by the owner, directly using the owner's user address to initiate resource conversion transactions could lead to the leakage of the owner's user address. Malicious users could impersonate the owner's user address and convert digital collectibles or other digital resources stored there, impacting the security of the blockchain system. By using the method described above, the target application carries a decentralized identity in the resource conversion request to identify the owner of the digital collectible. This helps prevent the leakage of the owner's user address and improves the security of the digital collectible conversion process.

[0063] The process of determining decentralized identity will be described below through several examples.

[0064] In some embodiments, the resource management server obtains the user address corresponding to the decentralized identity, including: the resource management server sending a first query request to the identity management server, the first query request including the decentralized identity; wherein, the first query request is used to trigger the identity management server to send a second query request to a node in the first blockchain system, the second query request including the decentralized identity; the resource management server receiving the user address corresponding to the decentralized identity sent by the identity management server; wherein, the user address corresponding to the decentralized identity is obtained by a node in the first blockchain system and sent to the identity management server.

[0065] In some embodiments, both the first query request and the second query request include a decentralized identity.

[0066] For security reasons, the target application can only determine the decentralized identity of the owner. After receiving the resource conversion request, the resource management server needs to determine the user address corresponding to the decentralized identity, that is, the owner's user address. Specifically, the resource management server sends a first query request to the identity management server, which includes the decentralized identity. After receiving the first query request, the identity management server sends a second query request to the nodes in the first blockchain system, which also includes the decentralized identity.

[0067] The first query request is used to request the identity management server to provide the user address corresponding to the decentralized identity.

[0068] The second query request is used to request the nodes in the first blockchain system to provide the user address corresponding to the decentralized identity.

[0069] In some embodiments, the identity management server is used only to forward the first query request sent by the resource management server, that is, the content in the first query request and the second query request is the same.

[0070] In other embodiments, the identity management server needs to perform an initial query operation based on the first query request sent by the resource management server.

[0071] In some embodiments, the identity management server stores occupied decentralized identities; wherein, occupied decentralized identities refer to decentralized identities that correspond to user addresses in the blockchain system, or can be understood as decentralized identities that have been registered.

[0072] In some embodiments, the identity management server performs an initial query operation, including: determining whether the decentralized identity in the first query request belongs to an occupied decentralized identity; if the decentralized identity does not belong to an occupied decentralized identity, the identity management server returns an exception message to the resource management server (if the decentralized identity in the conversion request has not been registered, then there is definitely no user address corresponding to the decentralized identity); if the decentralized identity belongs to an occupied decentralized identity, the identity management server generates a second query request based on the first query request and sends the second query request to nodes in the first blockchain system. Nodes in the first blockchain system query the user address corresponding to the decentralized identity based on the decentralized identity.

[0073] In some embodiments, nodes in the first blockchain system store the correspondence between decentralized identities and user addresses. For example, the first blockchain system stores mapping files where the decentralized identity is the filename and the user address is the file content. After receiving a decentralized identity, a node in the first blockchain system checks whether a file with the decentralized identity as its filename exists. If the file exists, the node uses the file content as the user address and sends the user address corresponding to the decentralized identity to the identity management server. The identity management server then sends the user address corresponding to the decentralized identity to the resource management server. If the file does not exist, the node in the first blockchain system returns an exception message to the identity management server, and the identity management server returns an exception message to the resource management server.

[0074] In some embodiments, at least one node in the first blockchain system performs the process of determining the user address corresponding to the decentralized identity in response to the second query request, and reaches a consensus on the user address corresponding to the decentralized identity obtained from the query.

[0075] If the user address corresponding to the decentralized identity meets the consensus requirements (e.g., more than 2 / 3 of the nodes query the same user address), then the user address corresponding to the decentralized identity is sent to the identity recognition server. If the user address corresponding to the decentralized identity does not meet the consensus requirements, then an exception message is sent to the identity recognition server.

[0076] During the process of querying the user address corresponding to the decentralized identity, the decentralized identity in the first query request is verified for the first time by the identity management server. This helps to filter out the first query request that has abnormalities, reduces the number of times the nodes in the first blockchain system need to query the decentralized identity, and helps to reduce the processing pressure on the nodes in the first blockchain system.

[0077] The generation process of the first conversion request will be described below through several examples.

[0078] In some embodiments, the resource management server sends a first conversion request carrying a user address to a node in the first blockchain system, including: the resource management server obtaining the private key corresponding to the user address; generating a digital signature corresponding to the first conversion request based on the private key; and the resource management server sending the first conversion request to a node in the first blockchain system, the first conversion request including the digital signature.

[0079] A digital signature is used to prove that the first conversion request was sent by the owner, or authorized by the owner. In some embodiments, a digital signature is a digital proof that can only be generated by the owner using their private key and is difficult for other users in the blockchain system to forge. The digital signature corresponding to the first conversion request is used to characterize that the first conversion request was initiated by the owner of the digital collectible.

[0080] In some embodiments, the resource management server obtains the private key corresponding to the user address through a private key escrow service. Specifically, the resource management server calls the private key escrow service, inputs the user address into the private key escrow service, and the private key escrow service provides the private key corresponding to the user address to the resource management server.

[0081] The private key escrow service is used to manage the private key corresponding to at least one owner. The private key is used to generate a digital signature corresponding to a conversion request (such as the first conversion request) to demonstrate the reliability of the conversion request.

[0082] The resource management server provides a private key escrow service to the owner, who can then authorize the escrow service to manage their private key. Optionally, the owner of the digital collectible can also set the duration and scope of private key usage for the escrow service.

[0083] When initiating a request in the blockchain system as the owner, a digital signature corresponding to the request information needs to be generated using the owner's private key to prove that the request information was initiated by the owner or another object authorized by the owner.

[0084] In some embodiments, the digital signature generation process corresponding to the first conversion request includes: performing a hash operation based on the first conversion request to generate a first hash value, encrypting the first hash value using the private key of the owner of the digital collectible, and generating a digital signature corresponding to the first conversion request.

[0085] In some embodiments, the nodes in the first blockchain system store the owner's user address and the owner's public key. A correspondence exists between the owner's public key and private key; the owner's public key can be used to verify the digital signature in the first conversion request, thereby determining whether the first conversion request was initiated by the owner of the digital collectible.

[0086] If a node in the first blockchain system verifies the digital signature in the first conversion request and the verification is successful, the node in the first blockchain system will perform the corresponding operation according to the first conversion request. If a node in the first blockchain system fails to verify the digital signature in the first conversion request, it indicates that the first conversion request may be a fake or illegal conversion request, and the node in the first blockchain system will not perform the corresponding operation according to the first conversion request.

[0087] By providing private key escrow services to users in the blockchain system (including owners of digital collectibles), it helps to simplify the convenience of users performing blockchain-related operations. The corresponding digital signature generated based on the private key is used to prove the authenticity of the first conversion request, which helps to improve the security of the blockchain system.

[0088] The process of generating the second conversion request will be described below through several examples.

[0089] In some embodiments, the resource conversion method further includes: a resource management server receiving a conversion completion notification sent by a node in a first blockchain system, the conversion completion notification indicating that at least one first resource has been converted; the resource management server sending a second conversion request to a node in a second blockchain system, the second conversion request requesting the conversion of digital collectibles into at least one second resource; wherein the second blockchain system and the first blockchain system are two different blockchain systems.

[0090] In some embodiments, the owner of a digital collectible may wish to convert it into digital resources on different blockchain systems. The owner may provide the target application with instructions for at least one blockchain system. These instructions are used to direct access to the blockchain system.

[0091] The second blockchain system differs from the first blockchain system. For example, the second blockchain system supports different types of business, different methods of packaging transaction events, or different consensus methods compared to the first blockchain system. In some embodiments, the nodes in the second blockchain system are not the same as the nodes in the first blockchain system.

[0092] In some embodiments, a node in the second blockchain system refers to one or more nodes in the second blockchain system. For example, a node in the second blockchain system refers to all nodes in the second blockchain system capable of processing resource conversion tasks.

[0093] A conversion completion notification sent by a node in a blockchain system is used to notify the resource management server that the resource conversion process within the blockchain system is complete. For example, the first blockchain system sends a conversion completion notification to the resource management server to inform the server that the process of converting digital collectibles into the first resource in the first blockchain system is complete.

[0094] In some embodiments, the resource conversion request generated by the target application includes indication information of at least one blockchain system. When the resource conversion request includes indication information of more than one blockchain system, the resource management server generates a first conversion request based on the resource conversion request; determines the first blockchain system based on the blockchain system identifier in the resource conversion request; after a node in the first blockchain system generates a first resource based on the first conversion request, the resource management server receives a conversion completion notification from a node in the first blockchain system, determines a second blockchain system based on the blockchain system indication information in the resource conversion request; the resource management server generates a second conversion request based on the resource conversion request and sends the second conversion request to a node in the second blockchain system.

[0095] In some embodiments, the second resource refers to a digital resource in a second blockchain system.

[0096] In some embodiments, the process by which the resource management server generates the second conversion request is similar to the process by which it generates the first conversion request, requiring the generation of a digital signature corresponding to the second conversion request based on the private key of the digital collectible's owner; however, the digital signature corresponding to the first conversion request and the digital signature corresponding to the second conversion request are different. For details on this process, please refer to the process of generating the digital signature corresponding to the first conversion request; it will not be elaborated upon here.

[0097] In some embodiments, the resource conversion request includes indication information for at least one blockchain system, with each blockchain system corresponding to the quantity of digital resources to be generated. For example, if the owner of a digital collectible wishes to convert the digital collectible on a first blockchain system and a second blockchain system, the resource conversion request includes: the quantity of digital collectibles to be converted: 50; the indication information for the first blockchain system; the quantity of first resources to be generated on the first blockchain system: 40; and the indication information for the second blockchain system; the quantity of second resources to be generated on the second blockchain system: 10.

[0098] Subsequently, the resource management server generates a first conversion request and a second conversion request based on the resource conversion request. In some embodiments, the first conversion request includes: a user address, identification information of the digital collectible, and the quantity of the first resource to be generated in the first blockchain system: 40. The server then determines the first blockchain system based on its indication information and sends the first conversion request to a node within the first blockchain system. Upon receiving a successful conversion notification from the first blockchain node, the resource management server generates a second conversion request based on the resource conversion request. In some embodiments, the second conversion request includes: a user address, identification information of the digital collectible, and the quantity of the second resource to be generated in the second blockchain system: 10. The server then determines the second blockchain system based on its indication information and sends the second conversion request to a node within the second blockchain system.

[0099] In some embodiments, the owner of a digital collectible may wish to convert the digital collectible across three or more blockchain systems. If the three or more blockchain systems include the blockchain system containing the digital collectible, the resource management server can determine the blockchain system containing the digital collectible and randomly select a second, third, etc., blockchain system from the remaining blockchain systems. Optionally, the process by which the resource management server generates a third conversion request corresponding to the third blockchain system is similar to the process of generating a second conversion request, and will not be described in detail here.

[0100] When a digital collectible needs to undergo resource conversion across t blockchain systems, where t is a positive integer greater than 1, the resource management server sequentially generates a first conversion request, a second conversion request, ..., the t-th conversion request. In some embodiments, after one blockchain system sends a conversion completion notification to the resource management server, the resource management server generates and sends a conversion request corresponding to another blockchain system. Sending conversion requests sequentially helps the resource management server and each node in the blockchain system synchronize the conversion process of the digital collectible, maintains data stability across the blockchain systems, and improves the security of the digital collectible splitting process.

[0101] The process of transferring the first resource will be described below through several exemplary embodiments.

[0102] In some embodiments, the resource conversion method further includes: a resource management server receiving a first transfer request sent by a target application, the first transfer request including: a decentralized identity, a quantity of first resources to be transferred, and indication information of a target blockchain system; the resource management server sending a second transfer request to a node in the first blockchain system according to the first transfer request, the second transfer request including a user address, a quantity of first resources to be transferred, and indication information of the target blockchain system; wherein the second transfer request is used to request the locking of the quantity of first resources to be transferred and to generate a target quantity of target resources in the target blockchain system.

[0103] The quantity of the first resource to be transferred refers to the amount of the first resource that needs to be transferred. In some embodiments, the quantity of the first resource to be transferred is a positive integer. If partial transfer of the first resource is allowed, the quantity of the first resource to be transferred can also be a positive number (including integers and decimals).

[0104] The user instructs the target application to transfer a certain amount of first resources and provides instruction information from the target blockchain system. The target application generates a first transfer request based on the user's instruction and sends it to the resource management server. The resource management server determines the user's address based on the decentralized identity (see the example above for details), generates a second transfer request based on the first transfer request and the user's address (including generating a digital signature corresponding to the second transfer request based on the user's private key, see the example above for details), and sends the second transfer request to the nodes in the first blockchain system. The nodes in the first blockchain system complete the transfer process for the first resources based on the second transfer request.

[0105] In some embodiments, assuming it is necessary to convert digital collectibles across multiple blockchain systems to obtain digital resources in multiple blockchain systems, such as a first resource, a second resource, and a third resource, then the digital resources generated from the conversion of digital collectibles in any one blockchain system can be transferred across blockchains. The specific method is similar to the transfer method for the first resource and will not be elaborated here.

[0106] The above method enables the transfer of primary resources across different blockchain systems, which helps improve the flexibility of primary resources during the transfer process.

[0107] Figure 3 This is a flowchart of a resource conversion method provided in an exemplary embodiment of this application. Exemplarily, the entity executing this method may be... Figure 1 The illustrated solution implements an identity management server 20. For example... Figure 3 As shown, the method includes at least one of the following steps (310~330): Step 310: Receive the first query request sent by the resource management server. The first query request includes the decentralized identity of the owner of the digital collection.

[0108] For details regarding decentralized identity, please refer to the example above.

[0109] Step 320: Send a second query request to a node in the first blockchain system. The second query request includes the decentralized identity. The first blockchain system is the blockchain system where the digital collection is located.

[0110] In some embodiments, the identity management server is used only to forward the first query request sent by the resource management server, that is, the query content in the first query request and the second query request is the same.

[0111] In other embodiments, the identity management server needs to perform an initial query operation based on the first query request sent by the resource management server.

[0112] In some embodiments, the identity management server stores occupied decentralized identities; wherein, an occupied decentralized identity refers to a decentralized identity that corresponds to a user address in the blockchain system, or can be understood as the decentralized identity being registered; the identity management server performs an initial query operation, including: the identity management server determining whether the decentralized identity in the first query request belongs to an occupied decentralized identity; if the decentralized identity is an occupied decentralized identity, the identity management server returns an exception message to the resource management server; if the decentralized identity is an occupied decentralized identity, the identity management server generates a second query request based on the first query request and sends the second query request to the nodes in the first blockchain system. The nodes in the first blockchain system query the user address corresponding to the decentralized identity based on the decentralized identity.

[0113] In this way, the identity management server first filters the first query request sent by the resource management server, which helps to reduce the number of second query requests sent to the nodes in the first blockchain system and reduces the query pressure on the nodes in the first blockchain system.

[0114] Step 330: Receive the user address corresponding to the decentralized identity sent by the node in the first blockchain system. The user address is used to transfer digital collectibles.

[0115] If a node in the first blockchain system successfully finds the user address corresponding to the decentralized identity, the identity management server receives the user address from the first blockchain node. If a node in the first blockchain system fails to find the user address corresponding to the decentralized identity, the identity management server receives an exception message from the first blockchain node. The exception message indicates a potential problem with the decentralized identity.

[0116] Step 340: Send the user address corresponding to the decentralized identity to the resource management server. The user address is used when initiating a conversion request for the digital collectible to the first blockchain system. The conversion request is used to convert the digital collectible into at least one first resource.

[0117] The identity management server sends the user address corresponding to the decentralized identity to the resource management server. In this embodiment, the identity management server may receive multiple first query requests from the resource management server within a short period of time.

[0118] In one scenario, the identity management server processes multiple first query requests received in the order they are received, and sends the user addresses corresponding to these multiple first query requests, or exception information, to the resource management server.

[0119] In another scenario, the identity management server sends a decentralized identity change request and the corresponding user address to the resource management server, enabling the resource management server to determine the resource conversion request corresponding to the user address based on the user address returned by the identity management server.

[0120] Please refer to the above introduction for details regarding the user address; it will not be repeated here.

[0121] In summary, by identifying the user address corresponding to the decentralized identity, it helps to prevent the digital collectible owner's user address from being leaked during the process of the target application generating a resource conversion request, which could lead to other users impersonating the owner's user address to initiate processing requests for the digital collectible. This helps to improve the security of resource conversion of digital collectibles.

[0122] In some embodiments, the resource conversion method further includes: an identity management server obtaining user registration information sent by a target application; wherein the user registration information includes: user address, decentralized identity, and owner verification information; if the verification information passes verification, the identity management server sends a storage request to a node in the first blockchain system, the storage request including the user address and decentralized identity, the storage request being used to request the node in the first blockchain system to store the user address and decentralized identity accordingly.

[0123] In some embodiments, verification information is used to verify a user's eligibility to participate in the blockchain system. For example, the owner's verification information is used to verify whether the owner is an imposter. As another example, the owner's verification information is used to verify whether the owner meets the transaction requirements of the blockchain system, such as whether the owner's age meets the minimum age requirement of the first blockchain system.

[0124] In some embodiments, the identity management server obtains user registration information sent by the target application and verifies the owner verification information in the user registration information. If the verification information meets the verification conditions, the identity management server sends a storage request to a node in the first blockchain system.

[0125] In some embodiments, the storage request includes a user address and a decentralized identity. In some embodiments, the storage request also includes the user's public key. In some embodiments, the user's public key is publicly available in the blockchain system, and nodes in the blockchain system can use the user's public key to verify whether a transfer request was issued by the user address corresponding to the public key.

[0126] In some embodiments, nodes in the first blockchain system store the corresponding user addresses and decentralized identities. Nodes in the first blockchain system store user addresses and decentralized identities in their storage space.

[0127] In some embodiments, after a user obtains their user address by registering with a third-party application, the user is redirected from the third-party application to the target application to complete the mapping process between the user address and the decentralized identity.

[0128] In some embodiments, the decentralized identity is determined by the user. The user can input the target decentralized identity into the target application. The target application determines whether the target decentralized identity is already in use. If the target decentralized identity is not in use, the target application sends the user's address, the target decentralized identity, and verification information to the authentication server, requesting the authentication server to store the user's address and the target decentralized identity.

[0129] Third-party applications can be game applications, from which users can purchase game items (equivalent to digital collectibles).

[0130] By storing user addresses and their corresponding decentralized identities within the blockchain system, users can initiate requests to the blockchain system using their decentralized identities. On one hand, using a user's decentralized identity when exchanging digital resources or digital collectibles with other users makes it easier to remember and input. On the other hand, because there is a correspondence between decentralized identities and user addresses—a correspondence stored only in the blockchain system—using a user's decentralized identity to initiate requests related to the blockchain system helps prevent the leakage of critical user information.

[0131] Figure 4 This is a flowchart of a resource conversion method provided in an exemplary embodiment of this application. Exemplarily, the entity executing this method may be... Figure 1 Node 31 in the first blockchain system within the illustrated implementation environment. For example... Figure 4 As shown, the method includes at least one of the following steps (410~430): Step 410: Receive a first conversion request sent by the resource management server. The first conversion request is used to request the conversion of the digital collectible into at least one first resource. The first conversion request includes the user address corresponding to the decentralized identity of the owner of the digital collectible. The user address is used to transfer the digital collectible.

[0132] In some embodiments, the first conversion request includes: the user address corresponding to the decentralized identity of the digital collectible's owner and the digital collectible's identification information. The identification information of the digital collectible is used to indicate the digital collectible.

[0133] In some embodiments, since no two blockchain addresses are exactly the same in a blockchain system, the identification information corresponding to different digital collectibles is different.

[0134] The primary resource refers to the digital resource in the primary blockchain system. Owners of primary resources can obtain other digital resources by exchanging primary resources.

[0135] In some embodiments, there is a correspondence between digital collectibles and first resources. In some embodiments, one digital collectible can only correspond to one type of first resource, and different digital collectibles correspond to different first resources. The first resource corresponding to a digital collectible refers to the resource generated during the resource conversion process of the digital collectible. In some embodiments, a digital collectible and its corresponding first resource cannot be simultaneously owned by the owner of the digital collectible.

[0136] In some embodiments, a node in the first blockchain system refers to any one or more nodes in the first blockchain system. In some embodiments, multiple nodes in the first blockchain system convert digital collectibles into at least one first resource according to a first conversion request.

[0137] The user address of the owner of the digital collectible participates in the resource conversion process of the digital collectible. For details of this process, please refer to the following example.

[0138] In some embodiments, nodes in multiple first blockchain systems need to reach a consensus on at least one first resource obtained through conversion, in order to ensure the correctness of the resource conversion process for digital collectibles.

[0139] Step 420: Based on the first conversion request, lock the digital collection and generate at least one first resource.

[0140] Locking digital collectibles refers to transferring digital collectibles so that the owner cannot control them temporarily or permanently, which helps prevent the same digital collectible from being converted into multiple resources in a short period of time.

[0141] In some embodiments, nodes in the first blockchain system lock the digital collectibles before generating at least one first resource. In other embodiments, nodes in the first blockchain system first generate at least one first resource before locking the digital collectibles. Alternatively, nodes in the first blockchain system can perform both locking the digital collectibles and generating at least one first resource.

[0142] In some embodiments, the resource conversion process of digital collectibles by nodes in the first blockchain system is carried out through smart contracts. The execution time of a smart contract is atomic, meaning that nodes in the first blockchain system will not perform other operations before the smart contract is completed. Therefore, the order in which the digital product is locked and at least one first resource is generated will not affect the conversion process of the digital collectibles.

[0143] In some embodiments, after receiving a first conversion request, the first blockchain node identifies the digital collectible based on the identification information of the digital collectible carried in the first conversion request. Nodes in the first blockchain system perform resource conversion operations related to the digital collectible, including: locking the digital collectible, generating at least one first resource, etc.

[0144] In some embodiments, since the process of the first conversion request converting the digital collectible into resources is atomic, that is, before the splitting process of the digital collectible is completed, the nodes in the first blockchain system will not process other conversion requests, so as to avoid affecting the conversion process of the digital collectible and ensure that the conversion process of the digital collectible proceeds smoothly.

[0145] Step 430: Transfer at least one first resource to the user address.

[0146] In some embodiments, after the first blockchain system converts and obtains the first resource, the nodes in the first blockchain system transfer at least one of the generated first resources to a user address, completing the conversion process of the digital collectible in the first blockchain system. After completing the above transfer process, the owner can freely dispose of at least one of the first resources in the aforementioned user address.

[0147] In the first blockchain system, nodes transfer at least one first resource to a user address. In some embodiments, this process is also completed via the aforementioned smart contract. In some embodiments, the computer program in the smart contract is public and auditable, and using smart contracts to convert digital collectibles helps improve the security of the conversion process.

[0148] After a node in the first blockchain system transfers at least one first resource to a user address, the node in the first blockchain system generates a conversion completion notification and sends the conversion completion notification to the resource management server to notify the node in the first blockchain system that the process of converting the digital collection into a resource has been completed.

[0149] In conclusion, using the decentralized identity of digital collectible owners to participate in the resource conversion process of digital collectibles helps to improve the security of the digital collectible transfer process.

[0150] The following examples illustrate the conversion process of digital collectibles.

[0151] In some embodiments, nodes in the first blockchain system lock digital collectibles and generate at least one first resource according to a first conversion request, including: if the digital collectibles are verified to belong to a user address, the nodes in the first blockchain system transfer the digital collectibles from the user address to a contract address for locking; wherein, the contract address refers to the address corresponding to the smart contract that converts the digital collectibles; and the nodes in the first blockchain system generate at least one first resource according to the first conversion request.

[0152] In some embodiments, after a node in the first blockchain system receives a first conversion request, the node in the first blockchain system determines the user address and the identifier of the digital collectible based on the first conversion request; the node in the first blockchain system verifies whether the digital collectible truly belongs to the owner based on the user address and the identifier of the digital collectible.

[0153] Assume the first blockchain system is the blockchain system where the digital collectibles reside, and transaction events related to the digital collectibles are stored in the nodes of the first blockchain system. The nodes in the first blockchain system can be identified through a lookup operation. After receiving the first conversion request, the nodes in the first blockchain system determine the user address and the digital collectible's identification information based on the first conversion request; the nodes in the first blockchain system then verify whether the digital collectible belongs to the owner (whether the digital collectible belongs to the user address) based on the user address and the digital collectible's identification information.

[0154] In some embodiments, nodes in the first blockchain system store at least one block, and each block includes at least one transaction. The transaction in the block stores the mapping relationship between each digital collectible in the first blockchain system and its corresponding owner.

[0155] If the digital artifact is not owned by the owner, a node in the first blockchain system sends an exception message to the resource management server, alerting the server to an anomaly in the resource conversion process; the node in the first blockchain system then terminates the resource conversion process. If the digital artifact is owned by the owner, the node in the first blockchain system performs the resource conversion on the digital artifact according to the first conversion request.

[0156] Assuming the first blockchain system is not the same as the blockchain system containing the digital collectible, the nodes in the first blockchain system determine the initial blockchain system based on the indication information of the initial blockchain system containing the digital collectible in the first conversion request. The nodes in the first blockchain system generate an ownership query message, which includes the user address and the identifier information of the first product. The nodes in the first blockchain system send this ownership query message to the nodes in the initial blockchain system and receive the query results from the nodes in the initial blockchain system.

[0157] If the query results indicate that the digital artifact belongs to the user's address, the first blockchain system performs the resource conversion process according to the first conversion request. If the query results indicate that the digital artifact does not belong to the user's address, the nodes in the first blockchain system send an exception message to the resource management server to alert the server that there is an anomaly in the current resource conversion process; the nodes in the first blockchain system then terminate the resource conversion process.

[0158] In some embodiments, upon verifying that the digital collectible belongs to a user address, a smart contract in a node of the first blockchain system locks the digital collectible and generates at least one first resource according to a first conversion request. This process is atomic and cannot be interrupted by other events before it is completed.

[0159] The contract address refers to the address corresponding to the smart contract. After the digital collectible is transferred to the contract address and locked, the owner of the digital collectible cannot operate on it.

[0160] In some embodiments, nodes in the first blockchain system generate at least one first resource according to a first conversion request, including: determining the conversion quantity corresponding to the digital collectible and the quantity n of the first resources to be generated, where n is a positive integer; determining the attribute information of the first resource based on the conversion quantity and the attribute information of the digital collectible; determining the identifier of the first resource based on the identifier of the digital collectible; and generating n first resources based on the attribute information and the identifier of the first resource.

[0161] In some embodiments, the first conversion request includes: the conversion quantity corresponding to the digital collectible, the quantity of the first resource to be generated, and the user address. Furthermore, the first conversion request may also include the identification information and attribute information of the digital collectible.

[0162] In some embodiments, the conversion quantity of a digital collectible refers to the total number of digital resources obtained by the owner after converting the digital collectible into digital resources. For example, a conversion quantity of 10 for a digital collectible indicates that the owner of the digital collectible expects to split the digital collectible into 10 digital resources. These 10 digital resources can all be the first resource, or they can be partly the first resource and partly digital resources on other blockchain systems.

[0163] In some embodiments, the quantity of the first resource to be generated refers to the quantity of the first resource obtained after resource conversion of the digital collection.

[0164] In some embodiments, the total number of first resources to be generated is equal to the number of digital collectibles converted. In other embodiments, the total number of first resources to be generated is less than the number of digital collectibles converted; that is, in addition to converting digital collectibles on the first blockchain system, resource conversion is also performed on the digital collectibles in the second blockchain system, the third blockchain system, etc., to obtain a certain number of second resources, third resources, etc., where the first resources, second resources, etc., belong to different blockchain systems.

[0165] In some embodiments, the identification information of the first resource is the same as the identification information of the digital collectible, so as to avoid duplication of the identification information of the first resource with the digital resources already existing in the first blockchain system.

[0166] In some embodiments, the first conversion request may also include indication information of the blockchain system, which is used to indicate the blockchain system. If the first blockchain system is the blockchain system where the digital collection is located, the first conversion request may or may not include the indication information of the first blockchain system.

[0167] If the first blockchain system is not the blockchain system where the digital collectible is located, the first conversion request may include indication information of the blockchain system where the digital collectible is located, so that the nodes in the first blockchain system can record the blockchain system where the digital collectible is located according to the first conversion request.

[0168] In some embodiments, the attribute information of digital collectibles is used to characterize the value attributes of digital collectibles.

[0169] In the process of converting digital collectibles into digital resources, the attribute information of the digital collectibles is transferred to the digital resources obtained through resource conversion. Assuming that the digital collectibles are only converted in the first blockchain system, if the number of first resources to be generated (which is equal to the number of digital collectibles converted) is greater than 1, the sum of the attribute information of multiple first resources equals the attribute information of the digital collectibles.

[0170] In some embodiments, the attribute information of a digital collectible is evenly distributed among multiple digital resources; that is, the attribute information of a first resource is equal to the attribute information of the digital collectible divided by the number of digital collectibles converted. For example, if digital collectible A is converted into 3 first resources, and the attribute information of digital collectible A is 15, then the attribute information of any one of the first resources is 5.

[0171] By locking digital collectibles and generating n digital resources, digital collectibles that cannot be directly divided are transformed into digital resources. This helps improve the liquidity of digital collectibles, lowers the barrier for users in the blockchain system to obtain digital collectibles, and indirectly increases the number of users in the blockchain system.

[0172] In some embodiments, the resource conversion method further includes: a node in the first blockchain system receiving a second query request sent by an identity management server, the second query request including a decentralized identity; wherein the second query request is sent by the identity management server after receiving a first query request carrying a decentralized identity sent by the resource management server; the node in the first blockchain system obtaining the user address corresponding to the decentralized identity; the node in the first blockchain system sending the user address corresponding to the decentralized identity to the identity management server, the user address corresponding to the decentralized identity being sent by the identity management server to the resource management server.

[0173] For details regarding the process, please refer to the above embodiment; further details will not be provided here.

[0174] In some embodiments, the resource conversion method further includes: a node in the first blockchain system receiving a storage request sent by an identity management server, the storage request including a user address and a decentralized identity; wherein, the storage request is sent by the identity management server after receiving user registration information sent by the target application and determining that the owner verification information contained in the user registration information has been verified, the user registration information including: user address, decentralized identity and verification information; In the first blockchain system, nodes store the correspondence between user addresses and decentralized identities. For details of this process, please refer to the example above; it will not be repeated here.

[0175] By storing user addresses and decentralized identities on nodes in a blockchain system, it becomes difficult to alter decentralized identities and their corresponding user addresses, which helps maintain the mapping relationship between decentralized identities and their corresponding user addresses.

[0176] In some embodiments, the resource conversion method further includes: obtaining a second transfer request sent by a resource management server in a first blockchain system; a node in the first blockchain system transferring a first quantity of resources to be transferred from a user address to a contract address for locking, according to the second transfer request; and a node in the first blockchain system sending a generation request to a node in a target blockchain system, the generation request being used to request the generation of a target quantity of target resources, so that the node in the target blockchain system can generate the target quantity of target resources according to the generation request.

[0177] The indication information of the target blockchain system is used to identify the target blockchain system. In some embodiments, after a node in the first blockchain system receives a second transfer request, it determines the quantity of the first resource to be transferred based on the second transfer request. The node in the first blockchain system verifies whether the total quantity of the first resource held in the user address is greater than or equal to the quantity of the first resource to be transferred.

[0178] If the total amount of first resources held in a user address is less than the amount of first resources to be transferred, the nodes in the first blockchain system return an exception message to the resource management server. If the total amount of first resources held in a user address is greater than or equal to the amount of first resources to be transferred, the nodes in the first blockchain system transfer the amount of first resources to be transferred from the user address to the contract address and lock the amount of first resources to be transferred in the contract address.

[0179] A node in the first blockchain system sends a generation request to a node in the target blockchain system.

[0180] In one example, the request includes a target quantity. In some embodiments, the target quantity is equal to the quantity of the first resource to be transferred. In other embodiments, the target quantity is not equal to the quantity of the first resource to be transferred. For example, the target quantity is greater than the quantity of the first resource to be transferred. Yet another example is that the target quantity is less than the quantity of the first resource to be transferred.

[0181] In another example, the request includes the quantity of the first resource to be transferred and the transfer ratio. After receiving the request, a node in the target blockchain system determines the target quantity based on the quantity of the first resource to be transferred and the transfer ratio. For example, the target quantity = the quantity to be transferred. Transfer ratio. The percentage of node storage transferred within the target blockchain system.

[0182] In addition, the request may include instructions from the first blockchain system.

[0183] Nodes in the target blockchain system receive a generation request and generate the target quantity of target resources. When the target quantity equals the quantity of the first resource to be transferred, the attribute information of the first resource is the same as the attribute information of the target resource. When the target quantity equals the quantity of the first resource to be transferred, the numerical value of the attribute information of the target resource equals the numerical value of the attribute information of the first resource. Transfer ratio.

[0184] The above methods enable the conversion of digital resources across different blockchain systems, which helps improve the flexibility of digital resources during the conversion process.

[0185] Figure 5 This application provides a flowchart of a resource conversion method according to an exemplary embodiment. Exemplarily, this method can be applied to... Figure 1 The implementation environment of the described solution. For example... Figure 5 As shown, the method may include the following steps (510~550): Step 510: The resource management server receives a resource conversion request sent by the target application. The resource conversion request is used to request the conversion of the digital collectible into at least one resource. The resource conversion request includes the decentralized identity of the owner of the digital collectible.

[0186] Step 520: The resource management server queries the identity management server to obtain the user address corresponding to the decentralized identity. The user address is used to transfer digital collections.

[0187] The identity management server is used to generate a mapping between user addresses and decentralized identities, so that nodes in the blockchain system can store the mapping between user addresses and decentralized identities.

[0188] After receiving the resource conversion request, the resource management server requests the identity management server to query the user address corresponding to the decentralized identity. If the identity management server successfully finds the user address corresponding to the decentralized identity, it provides the user address corresponding to the decentralized identity to the resource management server, and the resource management server continues to execute step 530.

[0189] If the identity management server cannot successfully find the user address corresponding to the decentralized identity (e.g., the user address corresponding to the decentralized identity does not exist), the identity management server provides an error message to the resource management server. In this case, the resource management server can directly report the error message to the target application and terminate the splitting process for the digital collection.

[0190] The resource management server can also record the number of anomalies and repeat step 220 until the number of anomalies exceeds a threshold. At this point, the resource management server sends an error message to the target application, ending the resource conversion process for the digital collectibles. This threshold can be preset, such as 2 or 3, and this application does not limit its setting. By setting an anomaly threshold, the fault tolerance for errors in querying decentralized identities can be improved, preventing the resource conversion process for digital collectibles from failing due to errors in the query process, thus helping to improve the efficiency of resource conversion for digital collectibles.

[0191] Step 530: The resource management server sends a first conversion request to a node in the first blockchain system. The first conversion request is used to request the conversion of the digital collection into at least one first resource. The first conversion request includes a user address. The first blockchain system is the blockchain system where the digital collection is located.

[0192] In some embodiments, the first blockchain system is the blockchain system where the digital collectible resides. For example, if the digital collectible is created in blockchain system A, then blockchain system A is the first blockchain system. That is, the conversion process of the digital collectible takes place within the blockchain system where the digital collectible resides.

[0193] In other embodiments, the first blockchain system is a blockchain system other than the one containing the digital collectible; or, in other words, the first blockchain system is not the same as the blockchain system containing the digital collectible. For example, the digital collectible is created in blockchain system A, and the first blockchain system is blockchain system B. Blockchain system A and blockchain system B are two different blockchain systems. In some cases, after an owner acquires multiple first resources, if the owner needs to use the first resources for cross-chain transactions, the owner needs to conduct the cross-chain transactions manually. This method enables the cross-chain splitting of the digital collectible, so that the converted first resources are directly in the blockchain system where the owner wishes to conduct the transaction, without requiring the owner to manually conduct cross-chain transactions. This simplifies the owner's operation steps and improves the flexibility of the method for converting digital collectible resources.

[0194] On the other hand, this method enables cross-chain operations to be completed during the conversion of digital collectibles into resources, without requiring nodes in the blockchain system to handle cross-chain related operations again. This helps reduce the number of pending items (which can be called transactions) in the blockchain system, thereby alleviating the processing overhead of nodes in the blockchain system.

[0195] Step 540: Nodes in the first blockchain system lock the digital collection according to the first conversion request and generate at least one first resource.

[0196] Step 550: A node in the first blockchain system transfers at least one first resource to a user address.

[0197] For details regarding the above process, please refer to the implementation examples on the respective implementing entities; they will not be elaborated upon here. Instructions for the blockchain system.

[0198] This application also provides a method for splitting digital collections into multiple digital resources, with the digital resources belonging to different blockchain systems.

[0199] Figure 6 This is a flowchart of a resource conversion method provided in another exemplary embodiment of this application. Exemplarily, this method can be applied to... Figure 1 The implementation environment of the solution shown. For example... Figure 6 As shown, the method may include the following steps (610~690): Step 610: The resource management server receives a resource conversion request sent by the target application. The resource conversion request is used to request the splitting of the digital collectibles. The resource conversion request includes the decentralized identity of the owner of the digital collectibles.

[0200] In some embodiments, the resource conversion request includes the decentralized identity of the owner of the digital collectible, the identifier of the digital collectible, the instruction information of the first blockchain system, the quantity of the first resource to be generated, the instruction information of the second blockchain system, and the quantity of the second resource to be generated.

[0201] The instruction information of the blockchain system is used to instruct the blockchain system.

[0202] Step 620: The resource management server queries and obtains the user address corresponding to the decentralized identity through the identity management server. The user address is used to transfer digital collections.

[0203] Step 630: The resource management server sends a first conversion request to a node in the first blockchain system. The first conversion request is used to request the conversion of the digital collection into at least one first resource. The first conversion request includes a user address. The first blockchain system is the blockchain system where the digital collection is located.

[0204] In some embodiments, the first blockchain system is the blockchain system where the digital collection resides.

[0205] Step 640: Nodes in the first blockchain system lock the digital collection according to the first conversion request and generate at least one first resource.

[0206] Step 650: A node in the first blockchain system transfers at least one first resource to a user address.

[0207] Step 660: A node in the first blockchain system sends a conversion completion notification to the resource management server. The conversion completion notification is used to indicate that at least one first resource conversion is complete.

[0208] In some embodiments, a conversion completion notification can be identified using a single bit character. For example, "1" can be used to indicate that at least one first resource conversion is complete. In some embodiments, a conversion completion notification is sent to the resource management server after a node in the first blockchain system transfers the first resource to a user address. If the resource conversion request includes the quantity of at least one second resource to be generated and indication information of the second blockchain system, the resource management server determines the second blockchain system based on the indication information.

[0209] Step 670: The resource management server sends a second conversion request to a node in the second blockchain system. The second conversion request is used to request the conversion of the digital collection into at least one second resource.

[0210] In some embodiments, after receiving a conversion completion notification from a node in the first blockchain system, the resource management server determines whether a second conversion request needs to be generated based on the resource conversion request. If the resource conversion request only includes indication information from the first blockchain system, the resource management server does not generate a second conversion request.

[0211] When the resource conversion request includes indication information from at least one second blockchain system, the resource management server generates a second conversion request based on the resource conversion request. This includes: the resource management server obtaining the indication information from the second blockchain system, the quantity of the second resource to be generated, and the identification information of the digital collectible based on the resource conversion request; the resource management server determining the interface of the second blockchain system based on the indication information from the second blockchain system; wherein the interface of the second blockchain system is used to receive requests or data sent to nodes in the second blockchain system; the resource management server generating a second conversion request based on the quantity of the second resource to be generated and the identification information of the digital collectible; and the resource management server sending the second conversion request to the interface of the second blockchain system.

[0212] The second conversion request is used to instruct the second blockchain system to convert and generate the second resource.

[0213] In some embodiments, the second conversion request includes: identification information of the digital collectible, the quantity of the second resource to be generated, and the user address. The quantity of the second resource to be generated refers to the quantity of second resources that the nodes in the second blockchain system need to generate.

[0214] In some embodiments, the second conversion request may also include indication information of the blockchain system where the digital collection is located, so that the second blockchain system can record the blockchain system where the digital collection is located.

[0215] Step 680: Nodes in the second blockchain system generate at least one second resource according to the second conversion request.

[0216] In some embodiments, nodes in the second blockchain system determine the quantity m of the second resources to be generated, where m is a positive integer, based on the second conversion request; determine the attribute information of the second resources based on the conversion quantity and the attribute information of the digital collectibles; determine the identification information of the second resources based on the identification information of the digital collectibles; and generate m second resources based on the attribute information and the identification information of the second resources.

[0217] In some embodiments, the attribute information of the second resource is the same as that of the first resource, and the value of the attribute information of the second resource is equal to the value of the attribute information of the digital collection divided by the conversion quantity.

[0218] In some embodiments, the identification information of the second resource is used to identify the second resource in the second blockchain system. In some embodiments, the identification information corresponding to different digital collectibles is different.

[0219] This process is similar to the method by which a node in the first blockchain system generates at least one first resource. Please refer to the above embodiment for details, which will not be repeated here.

[0220] Step 690: A node in the second blockchain system transfers at least one second resource to a user address.

[0221] In the second blockchain system, nodes determine the user address according to the second conversion instruction, and after generating m second resources, transfer the second resources to the user address.

[0222] For other details not described in steps 610-690, please refer to the description in the above embodiments, which will not be repeated here.

[0223] Using the above method, the owner only needs to instruct the target application once to split the digital collection, which can be converted into digital resources in different blockchain systems. This helps to improve the convenience of converting digital collections and enables the conversion of digital collections on multiple blockchain systems according to the different needs of the owner, thereby increasing the flexibility of the digital collection conversion process.

[0224] Figure 7 This application provides a schematic diagram of a resource conversion method according to an exemplary embodiment.

[0225] The target application sends user registration information to the identity management server, which verifies the verification information within the registration information. If the verification passes, the identity management server sends a storage request to a node in the first blockchain system. The identity management server then returns a decentralized identity to the target application.

[0226] When a user needs to split a digital collectible, the target application sends a split request to the resource management server. Upon receiving the split request, the resource management server sends a first query request to the identity management server. The identity management server then sends a second query request to the nodes in the first blockchain system. The nodes in the first blockchain system determine the user address corresponding to the decentralized identity. If a node in the first blockchain system finds the user address corresponding to the decentralized identity, it sends that address to the identity management server. The identity management server then sends the user address to the resource management server. Upon receiving the user address, the resource management server generates a digital signature through a key escrow service. The resource management server sends a first conversion request, which includes the digital signature, to the nodes in the first blockchain system. The nodes in the first blockchain system transfer the digital collectible to the contract address, lock the digital collectible, generate n first resources, and transfer n and the first resources to the user address.

[0227] Subsequently, nodes in the first blockchain system send a conversion completion notification to the resource management server. After receiving the notification, the resource management server sends a second conversion request to nodes in the second blockchain system. Nodes in the second blockchain system generate m second resources and transfer them to the user's address, completing the conversion process of the digital collectible.

[0228] By combining the ERC721 standard with the ERC20 standard, and locking digital collectibles issued under the ERC721 standard while incrementally issuing resources under the ERC20 standard, the liquidity of digital collectibles can be improved.

[0229] The following are embodiments of the apparatus described in this application, which can be used to execute the embodiments of the method described in this application. For details not disclosed in the apparatus embodiments of this application, please refer to the embodiments of the method described in this application.

[0230] Figure 8 A block diagram of a resource conversion apparatus provided in an exemplary embodiment of this application is shown. This apparatus can be implemented as all or part of a terminal device through software, hardware, or a combination of both. The apparatus 800 may include: a request receiving module 810, an address acquisition module 820, and a request sending module 830.

[0231] The request receiving module 810 is used to receive a resource conversion request sent by the target application. The resource conversion request is used to request the conversion of digital collectibles into at least one resource. The resource conversion request includes the decentralized identity of the owner of the digital collectibles. Address acquisition module 820 is used to acquire the user address corresponding to the decentralized identity, and the user address is used to transfer the digital collection; The request sending module 830 is used to send a first conversion request carrying the user address to a node in the first blockchain system. The first conversion request is used to request the conversion of the digital collectible into at least one first resource. The first blockchain system is the blockchain system where the digital collectible is located.

[0232] In some embodiments, the address acquisition module 820 is configured to: send a first query request to an identity management server, the first query request including the decentralized identity; wherein the first query request is used to trigger the identity management server to send a second query request to a node in the first blockchain system, the second query request including the decentralized identity; and receive a user address corresponding to the decentralized identity sent by the identity management server; wherein the user address corresponding to the decentralized identity is obtained by a node in the first blockchain system and sent to the identity management server.

[0233] In some embodiments, the request sending module 830 is configured to: obtain the private key corresponding to the user address; generate a digital signature corresponding to the first conversion request based on the private key; and send the first conversion request to a node in the first blockchain system, wherein the first conversion request includes the digital signature.

[0234] In some embodiments, the device 800 further includes: a notification receiving module ( Figure 8 (Not shown), used to receive a conversion completion notification sent by a node in the first blockchain system, the conversion completion notification indicating that the conversion of at least one first resource is complete; and to send a second conversion request to a node in the second blockchain system, the second conversion request requesting that the digital collection be converted into at least one second resource; wherein the second blockchain system and the first blockchain system are two different blockchain systems.

[0235] In some embodiments, the device 800 further includes: a cross-chain transfer module ( Figure 8(Not shown), used to receive a first transfer request sent by a target application, the first transfer request including: the decentralized identity, the quantity of the first resource to be transferred, and indication information of the target blockchain system; according to the first transfer request, sending a second transfer request to a node in the first blockchain system, the second transfer request including the user address, the quantity of the first resource to be transferred, and indication information of the target blockchain system; wherein, the second transfer request is used to request locking the quantity of the first resource to be transferred, and generating a target quantity of target resources in the target blockchain system.

[0236] Figure 9 A block diagram of a resource conversion apparatus provided in an exemplary embodiment of this application is shown. This apparatus can be implemented as all or part of a terminal device through software, hardware, or a combination of both. The apparatus 900 may include: a request receiving module 910, a request sending module 920, an address receiving module 930, and an address sending module 940.

[0237] The request receiving module 910 is used to receive a first query request sent by the resource management server, wherein the first query request includes the decentralized identity of the owner of the digital collection; The request sending module 920 is used to send a second query request to a node in the first blockchain system, the second query request including the decentralized identity; wherein, the first blockchain system is the blockchain system where the digital collection is located; Address receiving module 930 is used to receive the user address corresponding to the decentralized identity sent by the node in the first blockchain system, and the user address is used to transfer the digital collectibles; Address sending module 940 is used to send the user address corresponding to the decentralized identity to the resource management server. The user address is used when initiating a conversion request for the digital collectible to the first blockchain system. The conversion request is used to convert the digital collectible into at least one first resource.

[0238] In some embodiments, the device 900 further includes an information verification module ( Figure 9 (Not shown), used for: obtaining user registration information sent by the target application; wherein the user registration information includes: the user address, the decentralized identity, and the owner's verification information; if the verification information passes verification, sending a storage request to a node in the first blockchain system, the storage request including the user address and the decentralized identity, the storage request being used to request the node in the first blockchain system to store the user address and the decentralized identity accordingly.

[0239] Figure 10 A block diagram of a resource conversion apparatus provided in an exemplary embodiment of this application is shown. This apparatus can be implemented as all or part of a terminal device through software, hardware, or a combination of both. The apparatus 1000 may include: a request receiving module 1010, a product conversion module 1020, and a resource transfer module 1030.

[0240] The request receiving module 1010 is used to receive a first conversion request sent by the resource management server. The first conversion request is used to request the conversion of digital collectibles into at least one first resource. The first conversion request includes the user address corresponding to the decentralized identity of the owner of the digital collectibles. The user address is used to transfer the digital collectibles. Product conversion module 1020 is used to lock the digital collection according to the first conversion request and generate the at least one first resource; Resource transfer module 1030 is used to transfer the at least one first resource to the user address.

[0241] In some embodiments, the product conversion module 1020 includes: a product locking unit, configured to lock the digital collectible from the user address to a contract address after verifying that the digital collectible belongs to the user address; wherein the contract address refers to the address corresponding to the smart contract that converts the digital collectible; and a resource generation unit, configured to generate the at least one first resource according to the first conversion request.

[0242] In some embodiments, the resource generation unit is configured to determine, based on the first conversion request, the conversion quantity corresponding to the digital collectible and the quantity n of the first resource to be generated, where n is a positive integer; determine the attribute information of the first resource based on the conversion quantity and the attribute information of the digital collectible; the identifier determination unit is configured to determine the identifier of the first resource based on the identifier of the digital collectible; and the resource generation unit is configured to generate n first resources based on the attribute information of the first resource and the identifier of the first resource.

[0243] In some embodiments, the device 1000 further includes: an address lookup module ( Figure 10(Not shown in the image) is used to receive a second query request sent by the identity management server, the second query request including the decentralized identity; wherein, the second query request is sent by the identity management server after receiving a first query request carrying the decentralized identity sent by the resource management server; obtain the user address corresponding to the decentralized identity; send the user address corresponding to the decentralized identity to the identity management server, the user address corresponding to the decentralized identity being sent by the identity management server to the resource management server.

[0244] In some embodiments, the device 1000 further includes: an address storage module ( Figure 10 (Not shown in the image) is used to receive a storage request sent by the identity management server, the storage request including the user address and the decentralized identity; wherein, the storage request is sent by the identity management server after receiving user registration information sent by the target application and determining that the owner's verification information contained in the user registration information has been verified, the user registration information including: the user address, the decentralized identity and the verification information; The user address and the decentralized identity are stored together.

[0245] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules when implementing its functions. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the content structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here. The beneficial effects of the apparatus provided in the above embodiments can be referred to the description of the method embodiments, which will not be repeated here either.

[0246] Figure 11 A structural block diagram of a computer device provided in an exemplary embodiment of this application is shown.

[0247] Typically, computer device 1100 includes a processor 1101 and a memory 1102.

[0248] Processor 1101 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1101 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1101 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1101 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 1101 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0249] The memory 1102 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 1102 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1102 stores a computer program that is loaded and executed by the processor 1101 to implement the above-described method embodiments.

[0250] This application also provides a computer-readable storage medium storing a computer program, which is loaded and executed by a processor to implement the above-described method embodiments.

[0251] The computer-readable medium may include computer storage media and communication media. Computer storage media includes volatile and non-volatile, removable and non-removable media implemented using any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include RAM (Random Access Memory), ROM (Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other solid-state storage technologies, CD-ROM, DVD (Digital Video Disc), or other optical storage, magnetic tape cassettes, magnetic tape, disk storage, or other magnetic storage devices. Of course, those skilled in the art will recognize that the computer storage medium is not limited to the above-mentioned types.

[0252] This application also provides a computer program product, which includes computer instructions stored in a computer-readable storage medium. A processor reads and executes the computer instructions from the computer-readable storage medium to implement the above-described method embodiments.

[0253] It should be understood that "multiple" as used in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0254] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent switching, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A resource conversion method, characterized in that, The method includes: Receive a resource conversion request sent by a target application, the resource conversion request being used to request the conversion of digital collectibles into at least one resource, the resource conversion request including the decentralized identity of the owner of the digital collectibles, and the resource being a digital resource; A first query request is sent to the identity management server, the first query request including the decentralized identity; wherein, the first query request is used to trigger the identity management server to send a second query request to a node in the first blockchain system, the second query request including the decentralized identity; The system receives the user address corresponding to the decentralized identity sent by the identity management server; wherein the user address corresponding to the decentralized identity is obtained by a node in the first blockchain system and sent to the identity management server, and the user address is used to transfer the digital collectibles. A first conversion request carrying the user address is sent to a node in the first blockchain system. The first conversion request is used to request the conversion of the digital collectible into at least one first resource. The first blockchain system is the blockchain system where the digital collectible is located, and the first resource is a digital resource in the first blockchain system.

2. The method according to claim 1, characterized in that, Sending a first conversion request carrying the user address to a node in the first blockchain system includes: Obtain the private key corresponding to the user address; Based on the private key, generate a digital signature corresponding to the first conversion request; The first conversion request is sent to a node in the first blockchain system, the first conversion request including the digital signature.

3. The method according to claim 1, characterized in that, The method further includes: Receive a conversion completion notification sent by a node in the first blockchain system, the conversion completion notification being used to indicate that the conversion of at least one first resource is complete; A second conversion request is sent to a node in a second blockchain system, the second conversion request being used to request the conversion of the digital collection into at least one second resource; wherein the second blockchain system and the first blockchain system are two different blockchain systems.

4. The method according to any one of claims 1 to 3, characterized in that, The method further includes: Receive a first transfer request sent by the target application, the first transfer request including: the decentralized identity, the quantity of the first resource to be transferred, and indication information of the target blockchain system; Based on the first transfer request, a second transfer request is sent to a node in the first blockchain system. The second transfer request includes the user address, the quantity of the first resource to be transferred, and the indication information of the target blockchain system. The second transfer request is used to request the locking of the first resource of the quantity to be transferred, and to generate the target quantity of target resources in the target blockchain system.

5. A resource conversion method, characterized in that, The method includes: Receive a first query request sent by the resource management server, wherein the first query request includes the decentralized identity of the owner of the digital collection; A second query request is sent to a node in the first blockchain system, the second query request including the decentralized identity; wherein, the first blockchain system is the blockchain system where the digital collection is located; Receive the user address corresponding to the decentralized identity sent by the node in the first blockchain system, and the user address is used to transfer the digital collectibles; The user address corresponding to the decentralized identity is sent to the resource management server. The user address is used by the resource management server to initiate a conversion request for the digital collectible to the first blockchain system after receiving a resource conversion request sent by the target application. The resource conversion request is used to request the conversion of the digital collectible into at least one resource. The resource conversion request includes the decentralized identity. The conversion request is used to convert the digital collectible into at least one first resource. The first resource is a digital resource in the first blockchain system. The resource is a digital resource.

6. The method according to claim 5, characterized in that, The method further includes: Obtain user registration information sent by the target application; wherein, the user registration information includes: the user address, the decentralized identity, and the owner's verification information; If the verification information passes verification, a storage request is sent to the nodes in the first blockchain system. The storage request includes the user address and the decentralized identity. The storage request is used to request the nodes in the first blockchain system to store the user address and the decentralized identity accordingly.

7. A resource conversion method, characterized in that, The method includes: The system receives a second query request from an identity management server, the second query request including the decentralized identity of the owner of the digital collectible; wherein, the second query request is sent by the identity management server after receiving a first query request from a resource management server carrying the decentralized identity, the first query request being sent by the resource management server to the identity management server after receiving a resource conversion request from a target application, the resource conversion request being used to request the conversion of the digital collectible into at least one resource, the resource conversion request including the decentralized identity, and the resource being a digital resource; Obtain the user address corresponding to the decentralized identity; The user address corresponding to the decentralized identity is sent to the identity management server, and the user address corresponding to the decentralized identity is sent to the resource management server by the identity management server. The system receives a first conversion request sent by the resource management server. The first conversion request is used to request the conversion of the digital collectibles into at least one first resource. The first conversion request includes the user address corresponding to the decentralized identity. The user address is used to transfer the digital collectibles. According to the first conversion request, the digital collection is locked, and at least one first resource is generated, wherein the first resource is a digital resource in the first blockchain system; Transfer the at least one first resource to the user address.

8. The method according to claim 7, characterized in that, The step of locking the digital collection according to the first conversion request and generating the at least one first resource includes: If it is verified that the digital collectible belongs to the user address, the digital collectible is transferred from the user address to the contract address and locked; wherein, the contract address refers to the address corresponding to the smart contract that converts the digital collectible; Based on the first conversion request, the at least one first resource is generated.

9. The method according to claim 8, characterized in that, The step of generating the at least one first resource according to the first conversion request includes: Based on the first conversion request, determine the conversion quantity corresponding to the digital collection, and the quantity n of the first resource to be generated, where n is a positive integer; Based on the conversion quantity and the attribute information of the digital collection, determine the attribute information of the first resource; The identifier of the first resource is determined based on the identifier of the digital collection; Based on the attribute information and identifier of the first resource, n first resources are generated.

10. The method according to claim 7, characterized in that, The method further includes: The system receives a storage request sent by the identity management server, the storage request including the user address and the decentralized identity; wherein, the storage request is sent by the identity management server after receiving user registration information sent by the target application and determining that the owner's verification information contained in the user registration information has been verified, the user registration information including: the user address, the decentralized identity and the verification information; The user address and the decentralized identity are stored together.

11. A resource conversion device, characterized in that, The device includes: A request receiving module is used to receive a resource conversion request sent by a target application. The resource conversion request is used to request the conversion of digital collectibles into at least one resource. The resource conversion request includes the decentralized identity of the owner of the digital collectibles, and the resource is a digital resource. The address acquisition module is used to send a first query request to the identity management server, the first query request including the decentralized identity; wherein, the first query request is used to trigger the identity management server to send a second query request to a node in the first blockchain system, the second query request including the decentralized identity; and to receive the user address corresponding to the decentralized identity sent by the identity management server; wherein, the user address corresponding to the decentralized identity is obtained by a node in the first blockchain system and sent to the identity management server, and the user address is used to transfer the digital collectibles; The request sending module is used to send a first conversion request carrying the user address to a node in the first blockchain system. The first conversion request is used to request the conversion of the digital collectible into at least one first resource. The first blockchain system is the blockchain system where the digital collectible is located, and the first resource is a digital resource in the first blockchain system.

12. A resource conversion device, characterized in that, The device includes: The request receiving module is used to receive a first query request sent by the resource management server, wherein the first query request includes the decentralized identity of the owner of the digital collection; The request sending module is used to send a second query request to a node in the first blockchain system, the second query request including the decentralized identity; wherein, the first blockchain system is the blockchain system where the digital collection is located; The address receiving module is used to receive the user address corresponding to the decentralized identity sent by the node in the first blockchain system, and the user address is used to transfer the digital collectibles; The address sending module is used to send the user address corresponding to the decentralized identity to the resource management server. The user address is used by the resource management server to initiate a conversion request for the digital collectible to the first blockchain system after receiving a resource conversion request sent by the target application. The resource conversion request is used to request the conversion of the digital collectible into at least one resource. The resource conversion request includes the decentralized identity. The conversion request is used to convert the digital collectible into at least one first resource. The first resource is a digital resource in the first blockchain system. The resource is a digital resource.

13. A resource conversion device, characterized in that, The device includes: The address query module is used to receive a second query request sent by the identity management server, the second query request including the decentralized identity of the owner of the digital collectible; wherein, the second query request is sent by the identity management server after receiving a first query request carrying the decentralized identity from the resource management server, the first query request being sent by the resource management server to the identity management server after receiving a resource conversion request from the target application, the resource conversion request being used to request the conversion of the digital collectible into at least one resource, the resource conversion request including the decentralized identity; obtain the user address corresponding to the decentralized identity; send the user address corresponding to the decentralized identity to the identity management server, the user address corresponding to the decentralized identity being sent by the identity management server to the resource management server, the resource being a digital resource; The request receiving module is used to receive a first conversion request sent by the resource management server. The first conversion request is used to request the conversion of digital collectibles into at least one first resource. The first conversion request includes the user address corresponding to the decentralized identity. The user address is used to transfer the digital collectibles. The product conversion module is used to lock the digital collection according to the first conversion request and generate the at least one first resource, wherein the first resource is a digital resource in the first blockchain system; A resource transfer module is used to transfer the at least one first resource to the user address.

14. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing a computer program that is loaded and executed by the processor to implement the resource conversion method as described in any one of claims 1 to 4, or the resource conversion method as described in claim 5 or 6, or the resource conversion method as described in any one of claims 7 to 10.

15. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, which is loaded and executed by a processor to implement the resource conversion method as described in any one of claims 1 to 4, or the resource conversion method as described in claim 5 or 6, or the resource conversion method as described in any one of claims 7 to 10.

16. A computer program product, characterized in that, The computer program product includes computer instructions stored in a computer-readable storage medium, wherein a processor reads from and executes the computer instructions to implement the resource conversion method as described in any one of claims 1 to 4, or the resource conversion method as described in claim 5 or 6, or the resource conversion method as described in any one of claims 7 to 10.

Citation Information

Patent Citations

  • Information processing method for realizing data sharing and related device

    CN111800438A

  • Original picture protection method based on block chain

    CN114218533A