Blockchain-based data processing method, apparatus, device, and readable storage medium

By generating a combination of target media elements and requesting the creation of virtual resources in the blockchain network, the problem of waste of on-chain virtual resources is solved, and the diversified presentation of off-chain digital products is realized.

CN116561107BActive Publication Date: 2026-06-30TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2022-01-30
Publication Date
2026-06-30

Smart Images

  • Figure CN116561107B_ABST
    Figure CN116561107B_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on blockchain data processing method, device, equipment and readable storage medium, the method includes: response target object is directed to the selection operation of media element selection list, obtains target media element combination;The element category of media element in target media element combination is mutually different;Response is directed to the virtual resource creation operation of target media element combination, generates by the target combination media data of media element in target media element combination;Target combination media data is sent to the virtual resource creation request for target combination media data to blockchain network, so that blockchain network is verified when determining target combination media data by duplicate checking, generates the target on-chain virtual resource corresponding to target combination media data;The unique ownership of target on-chain virtual resource belongs to the target object.Using the present application, it can reduce the waste of on-chain virtual resource, and enrich the presentation style of off-chain digital product.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a data processing method, apparatus, device, and readable storage medium based on blockchain. Background Technology

[0002] An off-chain digital product can only be bound to a unique on-chain virtual resource within the blockchain network. This on-chain virtual resource represents the ownership of the off-chain digital product stored on the blockchain. In other words, when an ordinary object has unique ownership of an on-chain virtual resource, it proves that the off-chain digital product belongs to that user. Off-chain digital products can include media data such as images, videos, music, and games that can be bound to on-chain virtual resources.

[0003] In existing blockchain networks, resource platforms typically generate on-chain virtual resources based on existing off-chain digital products. Ordinary users then acquire these on-chain virtual resources to obtain the corresponding off-chain digital products. Since on-chain virtual resources cannot be modified or deleted once generated, they are wasted if not acquired by ordinary users. Therefore, resource platforms usually select only a limited number of off-chain digital products to generate on-chain virtual resources. This results in a limited selection of off-chain digital products for ordinary users, making it difficult to meet their needs. Summary of the Invention

[0004] This application provides a data processing method, apparatus, device, and readable storage medium based on blockchain, which can reduce the waste of on-chain virtual resources and enrich the presentation style of off-chain digital products.

[0005] One embodiment of this application provides a blockchain-based data processing method, including:

[0006] In response to a selection operation by the target object on the media element selection list, obtain the target media element combination; the target media element combination includes the media elements selected based on the selection operation, and the element categories of the media elements in the target media element combination are different from each other;

[0007] In response to a virtual resource creation operation targeting a combination of media elements, generate target combination media data consisting of the media elements in the target combination of media elements;

[0008] A virtual resource creation request for the target combined media data is sent to the blockchain network so that when the blockchain network determines that the target combined media data has passed the deduplication verification, it generates the target on-chain virtual resource corresponding to the target combined media data; the sole ownership of the target on-chain virtual resource belongs to the target object.

[0009] One embodiment of this application provides a blockchain-based data processing method, including:

[0010] Receives a virtual resource creation request for target combined media data; the target combined media data is generated based on a combination of target media elements; the target combination of media elements includes media elements selected by a selection operation on a media element selection list based on the target object; the element categories of the media elements in the target combination are different.

[0011] The target combined media data is subjected to deduplication verification processing to obtain the deduplication verification results;

[0012] If the deduplication verification result is "passed", then the target on-chain virtual resource corresponding to the target combined media data is generated; the sole ownership of the target on-chain virtual resource belongs to the target object.

[0013] One embodiment of this application provides a blockchain-based data processing device, including:

[0014] The element selection module is used to respond to the selection operation of the target object on the media element selection list and obtain the target media element combination; the target media element combination includes the media elements selected based on the selection operation, and the element categories of the media elements in the target media element combination are different from each other;

[0015] The data generation module is used to respond to the virtual resource creation operation for the target media element combination and generate target combination media data composed of media elements in the target media element combination;

[0016] The resource application module is used to send a virtual resource creation request for the target combined media data to the blockchain network, so that when the blockchain network determines that the target combined media data has passed the deduplication verification, it generates the target on-chain virtual resource corresponding to the target combined media data; the sole ownership of the target on-chain virtual resource belongs to the target object.

[0017] The media element selection list includes m sublists of media elements, where m is a positive integer; media elements in the same sublist of media elements have the same element category.

[0018] The element selection module includes:

[0019] The response unit is used to respond to the target object's selection operation on a sublist of m media elements;

[0020] The combination determination unit is used to obtain the selected media elements in each media element sublist and determine the selected media elements as the target media element combination.

[0021] The aforementioned data processing apparatus further includes:

[0022] The preview module is used to display the combined preview media data corresponding to the target media element combination; the combined preview media data is obtained by merging the media elements in the target media element combination.

[0023] The target media element combination includes m media elements, where m is a positive integer;

[0024] The data generation module includes:

[0025] The first acquisition unit is used to respond to the virtual resource creation operation for the target media element combination and acquire the element media layers corresponding to the m media elements respectively;

[0026] The overlay unit is used to call the image service and overlay m element media layers according to the element combination order configured in the image service to obtain the target combined media data.

[0027] The target media element combination includes m media elements, where m is a positive integer;

[0028] The data generation module includes:

[0029] The second acquisition unit is used to respond to the virtual resource creation operation for the target media element combination and acquire the element media data fragments corresponding to each of the m media elements.

[0030] The splicing unit is used to call the segment splicing service and splice m element media data segments according to the element combination order configured in the segment splicing service to obtain the target combined media data.

[0031] The aforementioned data processing device further includes:

[0032] The first identifier generation module is used to respond to the deduplication operation for the target media element combination and generate the target combination identifier corresponding to the target media element combination.

[0033] The first deduplication module is used to display a message indicating that the combination is already in use if a combination identifier identical to the target combination identifier is found in the identifier database.

[0034] The first deduplication module is also used to display a message indicating that the combination is not in use if no combination identifier identical to the target combination identifier is found in the identifier database.

[0035] The first identifier generation module includes:

[0036] The numbering determination unit is used to respond to the deduplication operation for the target media element combination, and to determine the element number of each media element in the target media element combination in its element category, which is used as the target element number; media elements belonging to the same element category have different element numbers.

[0037] The numbering concatenation unit is used to concatenate the target element numbers according to the element combination order to obtain the target combination identifier; the element combination order refers to the combination order between each media element in the target media element combination when generating the target media element data.

[0038] The first identifier generation module includes:

[0039] The first hash unit is used to perform a first hash process on each media element in the target media element combination to obtain the element hash value;

[0040] The second hash unit is used to perform a second hash process on the element hash value according to the element combination order to obtain the target combination identifier; the element combination order refers to the combination order between each media element in the target media element combination when generating the target combination media data.

[0041] The aforementioned data processing device further includes:

[0042] The second identifier generation module is used to generate a target combination identifier corresponding to the target media element combination based on the virtual resource creation operation.

[0043] The second deduplication module is used to generate target combined media data consisting of media elements in the target combined media if no combined identifier identical to the target combined identifier is found in the identifier database.

[0044] The aforementioned data processing device further includes:

[0045] The database update module is used to display the resource creation success information when the virtual resource on the target chain is successfully created, add the target combination identifier to the identifier database, and obtain the updated identifier database.

[0046] The database update module is also used to display a message that the combination is occupied when the target combination media data fails the deduplication verification in the blockchain network, and to add the target combination identifier to the identifier database to obtain an updated identifier database.

[0047] The aforementioned data processing device further includes:

[0048] The random combination module is used to respond to the random combination operation of the target object on the media element selection list and obtain a random media element combination; the random media element combination includes random media elements randomly selected from the media element selection list based on the random combination operation; the random combination identifier corresponding to the random media element combination is different from the combination identifier in the identifier database;

[0049] The random combination module is also used to respond to virtual resource creation operations for random media element combinations and generate random combination media data composed of media elements in the random media element combination.

[0050] The random combination module is also used to send a virtual resource creation request for the random combination media data to the blockchain network, so that when the blockchain network determines that the random combination media data has passed the deduplication verification, it generates a random on-chain virtual resource corresponding to the target random media data; the sole ownership of the random on-chain virtual resource belongs to the target object.

[0051] The aforementioned data processing device further includes:

[0052] The identification module is used to identify the target combination media data that is bound to the virtual resources on the target chain, and to obtain the target media element combination corresponding to the target combination media data.

[0053] The identification module is also used to generate a target combination identifier corresponding to the target media element combination according to the element combination order; the target combination identifier is used to represent the target object in the blockchain network; the element combination order refers to the combination order between each media element in the target media element combination when generating the target combination media data.

[0054] One embodiment of this application provides a blockchain-based data processing device, including:

[0055] The receiving module is used to receive virtual resource creation requests for target combined media data sent by the service node; the target combined media data is generated based on the target media element combination; the target media element combination includes media elements selected by the selection operation of the media element selection list based on the target object; the element categories of the media elements in the target media element combination are different from each other;

[0056] The deduplication verification module is used to perform deduplication verification on the target combined media data and obtain the deduplication verification results.

[0057] The resource generation module is used to generate virtual resources on the target chain corresponding to the target combined media data if the deduplication verification result is a pass result; the sole ownership of the virtual resources on the target chain belongs to the target object.

[0058] The plagiarism detection and verification module includes:

[0059] The identifier acquisition unit is used to obtain published combination identifiers that are bound to published on-chain virtual resources from the blockchain ledger; the published combination identifiers are generated based on the combination media elements of the published on-chain virtual resources.

[0060] The deduplication detection unit is used to determine the deduplication verification result as "deduplication verification failed" if a combination identifier identical to the target combination identifier is found in the published combination identifiers.

[0061] The deduplication unit is also used to determine the deduplication verification result as passed if no combination identifier identical to the target combination identifier is found in the published combination identifiers.

[0062] The aforementioned data processing device further includes:

[0063] The recording module is used to write virtual resources on the target chain, target combination identifiers, and binding relationships between target objects into the blockchain ledger; the target combination identifier is generated based on the media elements in the target media element combination.

[0064] One embodiment of this application provides a computer device, including: a processor, a memory, and a network interface;

[0065] The processor is connected to the memory and the network interface. The network interface is used to provide a data communication network element, the memory is used to store a computer program, and the processor is used to call the computer program to execute the method in the embodiments of this application.

[0066] One aspect of this application provides a computer-readable storage medium storing a computer program adapted for loading by a processor and executing the methods described in this application.

[0067] One aspect of this application provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the method described in this application.

[0068] In this embodiment, a target media element combination can be obtained in response to a selection operation by a target object on a media element selection list. This target media element combination includes media elements selected based on the selection operation, and the element categories of the media elements in the target media element combination are different. Then, a virtual resource creation operation can be initiated for the target media element combination to generate target combination media data composed of the media elements in the target media element combination. Subsequently, a virtual resource creation request for the target combination media data can be sent to the blockchain network. When the blockchain network determines that the target combination media data passes the deduplication verification, it will generate a target on-chain virtual resource corresponding to the target combination media data. The sole ownership of this target on-chain virtual resource belongs to the target object. Through the method provided in this embodiment, a large number of media element combinations can be obtained by providing a small number of element categories and a small number of media elements. Different media element combinations result in different presentation styles of the combined media data, greatly enriching the presentation styles of off-chain digital products. Furthermore, the target object can select target media element combinations according to its needs and then apply to the blockchain network to generate on-chain virtual resources for the target combination media data corresponding to that target media element combination. The sole ownership of these on-chain virtual resources belongs to the target object, avoiding the waste of on-chain virtual resources. Attached Figure Description

[0069] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0070] Figure 1 This is a schematic diagram of a network architecture provided in an embodiment of this application;

[0071] Figure 2 This is a schematic diagram of a data processing scenario based on blockchain provided in an embodiment of this application;

[0072] Figure 3 This is a flowchart illustrating a blockchain-based data processing method provided in an embodiment of this application;

[0073] Figure 4 This is a schematic diagram of a layer overlay scene provided in an embodiment of this application;

[0074] Figure 5 This is a flowchart illustrating a blockchain-based data processing method provided in an embodiment of this application;

[0075] Figure 6This is a flowchart illustrating a blockchain-based data processing method provided in an embodiment of this application;

[0076] Figure 7 This is a flowchart of a logical method for generating on-chain virtual resources provided in an embodiment of this application;

[0077] Figure 8a This is a schematic diagram of a system architecture provided in an embodiment of this application;

[0078] Figure 8b This is another system architecture diagram provided in the embodiments of this application;

[0079] Figure 9 This is a schematic diagram of data interaction provided in an embodiment of this application;

[0080] Figure 10 This is a schematic diagram of the structure of a blockchain-based data processing device provided in an embodiment of this application;

[0081] Figure 11 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application;

[0082] Figure 12 This is a schematic diagram of another blockchain-based data processing device provided in the embodiments of this application;

[0083] Figure 13 This is a schematic diagram of the structure of another computer device provided in an embodiment of this application. Detailed Implementation

[0084] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0085] Please see Figure 1 , Figure 1This is a schematic diagram of a network architecture provided in an embodiment of this application. Blockchain is a novel application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanisms, and encryption algorithms. It is mainly used to organize data in chronological order and encrypt it into a ledger, making it tamper-proof and forgery-proof. It also allows for data verification, storage, and updating. Essentially, a blockchain is a decentralized database where each node stores the same blockchain. The blockchain network can distinguish nodes into consensus nodes and business nodes, with the consensus node responsible for achieving consensus across the entire blockchain network. The process of writing transaction data into the ledger in a blockchain network can be as follows: the client sends transaction data to a business node, which then relays the transaction data among the business nodes in the blockchain network until the consensus node receives it. The consensus node then packages the transaction data into a block and reaches a consensus with other consensus nodes. After the consensus is passed, the block carrying the transaction data is written into the ledger.

[0086] In this context, it can be understood that a block is a data packet that carries transaction data (i.e., transaction business) on a blockchain network. It is a data structure that is marked with a timestamp and the hash value of the previous block. The transactions in the block are verified and confirmed by the network's consensus mechanism.

[0087] In this context, a hash value, also known as an information feature value or characteristic value, is generated by converting input data of arbitrary length into cryptographic data and producing a fixed output using a hash algorithm. The original input data cannot be retrieved by decrypting the hash value; it is a one-way cryptographic function. In a blockchain, each block (except the initial block) contains the hash value of its predecessor block, which is called the parent block of the current block. The hash value is a core and crucial aspect of blockchain technology, preserving the authenticity of recorded and viewed data, as well as the integrity of the blockchain as a whole.

[0088] It is understood that a blockchain system can include smart contracts. A smart contract can be understood and executed by all nodes in the blockchain (including consensus nodes), capable of executing arbitrary logic and producing results. Users can initiate a transaction request through a client, invoking a smart contract already deployed on the blockchain. Subsequently, the transaction nodes on the blockchain can send the request to the consensus nodes, which can then run the smart contract. It should be understood that a blockchain can include one or more smart contracts, distinguished by an identity document (ID) or name. The client's transaction request can also carry the smart contract's identity document or name, specifying the smart contract the blockchain needs to run. If the smart contract specified by the client requires data retrieval, each consensus node will access its local ledger to read the data. Finally, the consensus nodes will verify the consistency of the execution results (i.e., reach consensus). If they are consistent, the execution result can be stored in their respective local ledgers and returned to the client.

[0089] like Figure 1 As shown, the network architecture may include a consensus node cluster 1000, a service node cluster 100, and a terminal device (client) cluster 10. The consensus node cluster 1000 may include at least two consensus nodes, and the service node cluster 100 may include at least two service nodes. Figure 1 As shown, the consensus node cluster 1000 may include consensus node 1000a, consensus node 1000b, ..., consensus node 1000n; the service node cluster 100 may specifically include service node 100a, service node 100b, ..., service node 100n; and the terminal device cluster 10 may specifically include terminal device 10a, terminal device 10b, ..., terminal device 10n.

[0090] like Figure 1As shown, terminal devices 10a, 10b, ..., 10n can respectively connect to service nodes 100a, 100b, ..., 100n to facilitate data interaction between the terminal devices and the service nodes. Service nodes 100a, 100b, ..., 100n can respectively connect to consensus nodes 1000a, 1000b, ..., 1000n to facilitate data interaction between the service nodes and the consensus nodes. Service nodes 100a, 100b, ..., 100n are interconnected to facilitate data interaction between the service nodes, and consensus nodes 1000a, 1000b, ..., 1000n are interconnected to facilitate data interaction between the consensus nodes.

[0091] It is understandable that the consensus node cluster 1000 and the business node cluster 100 together constitute the blockchain network. Each consensus node in the consensus node cluster 1000 and each business node in the business node cluster 100 stores the same blockchain. In the blockchain, before a block is added to the chain, the block must pass consensus through the consensus node cluster 1000 in the blockchain network. Only after consensus is passed can the block be added to the blockchain. Although the business node cluster 100 does not participate in the block consensus, it helps to propagate block and voting messages, as well as synchronize states. In addition, each consensus node in the consensus node cluster 1000 and each business node in the business node cluster 100 can be called a blockchain node.

[0092] It is understandable that blockchain nodes can conduct transactions or transmit blocks through the aforementioned data connections. The blockchain network can establish data connections between blockchain nodes based on node identifiers. Each blockchain node in the network has a corresponding node identifier, and each blockchain node can store the node identifiers of other blockchain nodes that are connected to it. This allows it to broadcast acquired data or generated blocks to other blockchain nodes based on their node identifiers. For example, business node 100a can maintain a node identifier list as shown in Table 1, which stores the node names and node identifiers of other blockchain nodes.

[0093] Table 1

[0094] Node Name Node identifier Business Node 100a 117.114.151.174 Consensus Node 1000a 117.116.189.145 Business Node 100b 117.114.151.183 Consensus node 1000b 117.117.125.169 … … Consensus Node 1000n 117.116.189.125

[0095] The node identifier can be an Internet Protocol (IP) address or any other information that can be used to identify a blockchain node in a blockchain network. Table 1 only uses IP addresses as an example. For instance, business node 100a can send information (e.g., transaction data) to consensus node 1000a through node identifier 117.116.189.145, and consensus node 1000a can determine that the information was sent by business node 100a through node identifier 117.114.151.174.

[0096] It is understood that the above data connection is not limited to the connection method. It can be connected directly or indirectly through wired communication, or directly or indirectly through wireless communication, or through other connection methods. This application does not impose any restrictions on this.

[0097] It is understood that the blockchain-based data processing method provided in this application embodiment can be executed by computer equipment, which includes, but is not limited to, the aforementioned terminal equipment and blockchain nodes (which can be terminals or servers). The aforementioned server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The aforementioned terminal can be a smartphone, tablet computer, laptop computer, desktop computer, smart speaker, smartwatch, in-vehicle terminal, etc., but is not limited to these.

[0098] It is understood that the embodiments of this application can be applied to various scenarios, including but not limited to cloud technology, cloud gaming, artificial intelligence, smart transportation, and assisted driving.

[0099] like Figure 1As shown, each terminal device in the terminal cluster can have an application client installed. When the application client runs on each terminal device, it can interact with any business node in the aforementioned business node cluster 100, enabling any business node in the business node cluster 100 to receive business data from each terminal device. The application client can be a game application, video editing application, social application, instant messaging application, live streaming application, short video application, video application, music application, shopping application, novel application, payment application, browser, or other application client with the function of displaying text, images, audio, and video data. The application client can be a standalone client or an embedded sub-client integrated into a client (such as an instant messaging client, social client, video client, etc.), without limitation.

[0100] Terminal devices bound to the target object can obtain off-chain digital products through application clients. These off-chain digital products can include media data such as images, videos, music, and game equipment that can be bound to on-chain virtual resources. The on-chain virtual resource represents ownership of the media data stored in the blockchain network; it can be understood as a certificate. When the target object has unique ownership of a certain on-chain virtual resource, it can prove that the media data bound to that virtual resource belongs to the target object.

[0101] To ensure that the off-chain digital products owned by the target entity better meet its needs, this application provides a blockchain-based data processing method. A terminal device can display a media element selection list through an application client. The terminal device can then respond to the target entity's selection operation on the media element selection list to obtain a target media element combination. This target media element combination includes the media elements selected during the selection operation, and the element categories of the media elements in the target media element combination are distinct. The terminal device can then respond to a virtual resource creation operation for the target media element combination, generating target combination media data composed of the media elements in the target media element combination. Finally, the terminal device can send a virtual resource creation request for the target combination media data to the blockchain network. When the blockchain network determines that the target combination media data passes deduplication verification, it generates a target on-chain virtual resource corresponding to the target combination media data. At this point, the sole ownership of the target on-chain virtual resource belongs to the target entity. It should be noted that the target combination media data can only generate a unique target on-chain virtual resource in the blockchain network. If the target on-chain virtual resource is successfully generated, no other on-chain virtual resources can be generated for the target combination media data in the blockchain network.

[0102] To facilitate understanding of the above process, let's take an example where the final target combined media data is an image. In this case, the media elements in the media element selection list can be image elements. When the terminal device responds to the selection operation on the media element selection list, the resulting target media element combination can be the target image element combination. Please refer to [link / reference]. Figure 2 , Figure 2 This is a schematic diagram illustrating a blockchain-based data processing scenario provided in an embodiment of this application. Wherein, as... Figure 2 The terminal device 20 shown can be the one described above. Figure 1 Any terminal device in the terminal device cluster 10 shown, such as terminal device 20, can be terminal device 10a; Figure 2 The blockchain network 200 shown can be the above Figure 1 The blockchain network shown consists of business node cluster 100 and consensus node cluster 1000.

[0103] like Figure 2As shown, terminal device 20 and object A are bound together. Assuming a social media application client is installed on terminal device 20, any ordinary object with login permissions to that social media application can obtain an image bound to an on-chain virtual resource. Object A can first create an image to which they wish to bind the on-chain virtual resource according to their preferences. Specifically, terminal device 20 can display an image creation interface 201 through the social media application client. This image creation interface 201 may include an image element selection list 202, an image preview area 203, and virtual resource creation controls 204. The image element selection list 202 contains different element categories, such as background, hairstyle, facial features, clothing, and accessories. When object A triggers the selection control corresponding to a certain element category, terminal device 20 can display a sublist of image elements corresponding to that element category. This sublist can contain image elements belonging to that element category. For example, if object A triggers the selection control 2021 corresponding to the background, terminal device 20 can display a sublist of image elements 2022 corresponding to the background. This sublist 2022 can contain image elements such as background 1, background 2, and background 3. It can be understood that background 1, background 2, and background 3 have different presentation styles; for example, they can have different colors, patterns, etc. Object A can select its preferred image element from the sublist 2022 as the background for the image of the virtual resource it wants to bind to the blockchain. Similarly, object A can select its preferred image elements from the sublists of image elements corresponding to other element categories. Terminal device 20 responds to object A's selection operation on image element selection list 202, determining the target image element combination. Assuming object A selects background 1, hairstyle 3, facial features 1, top 4, and accessory 2, the target image element combination is [background 1, hairstyle 3, facial features 1, top 4, accessory 2]. Additionally, terminal device 20 can display a preview image of the combination of image elements selected by object A in image preview area 203, allowing object A to understand the overall effect of the blended target image element combination. If object A is not satisfied, they can replace the selected image elements at any time. After making the selection, object A can trigger virtual resource creation control 204 to request the generation of corresponding on-chain virtual resources for the selected target image element combination.

[0104] like Figure 2As shown, terminal device 20 responds to object A's virtual resource creation operation for the target image element combination, generating a target combined image 205 composed of image elements in the target image element combination. It should be understood that the target combined image 205 can be saved in high-definition. The combined preview image displayed in image preview area 203 can be an image presented in a simple image generated by merging image elements, whose resolution and clarity can be lower than the target combined image 205. Alternatively, it can be an image rendered by the terminal device based on the data corresponding to the image elements. Subsequently, terminal device 20 can send a virtual resource creation request for the target combined image 205 to the blockchain network, and the blockchain network will perform a duplicate verification of the target combined image 205. The purpose of the deduplication verification is to verify whether the target image element combination constituting the target image combination 205 is occupied in the blockchain ledger. If the target image element combination is not occupied, it means that the target image combination 205 is unique, and the image composed of the target image element combination has not been bound to on-chain virtual resources in the blockchain network. The blockchain network can generate on-chain virtual resources for the target image combination 205. If the target image element combination has been occupied, it means that the image composed of the target image element combination has already been bound to on-chain virtual resources in the blockchain network. In this case, the blockchain network cannot generate on-chain virtual resources for the target image combination 205, which is also composed of the same target image element combination. Assuming that the target image combination 205 passes the deduplication verification, the blockchain network can generate an on-chain virtual resource for the target image combination 205, bind the target image combination 205, the on-chain virtual resource, and object A. Then, the blockchain network can return a message that the on-chain virtual resource has been successfully created to the terminal device 20. The terminal device 20 can display the resource creation success information and display the target image combination 205. Object A has sole ownership of the on-chain virtual resource bound to the target image combination 205. This means that the target image combination 205 belongs to Object A, and no other object can subsequently apply to create on-chain virtual resources composed of the target image elements. However, Object A can transfer sole ownership of the on-chain virtual resource bound to the target image combination 205 to other objects through a transaction within the blockchain network. It should be understood that because the target image combination 205 is bound to Object A, it can serve as Object A's identity identifier within the blockchain network; for example, the target image combination 205 can serve as Object A's exclusive avatar within the social application.

[0105] It is understandable that the combined images composed of image elements under the element categories included in the image element selection list 202 above are of the portrait type. The resource platform corresponding to the social application can also provide image elements of other element categories, so that ordinary objects can create combined images of other image types, such as combined images of home scene decoration, pet decoration, game equipment assembly, building construction, vehicle or other machinery assembly, etc.

[0106] It is understood that, in the specific embodiments of this application, the data such as the element data selected by the ordinary object obtained, when applied to specific products or technologies, requires user permission or consent, and the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0107] The blockchain-based data processing method provided in this application allows target objects to no longer be limited to selecting media data as their off-chain digital products from media data already bound to on-chain virtual resources. Instead, they can first create their preferred target combination media data through a media element selection list. Then, the terminal device can send a virtual resource creation request for the target combination media data to the blockchain network. When the blockchain network determines that the target combination media data has passed the deduplication verification, it can generate the target on-chain virtual resource corresponding to the target combination media data. By combining media elements, the presentation style of the final target combination media data is enriched. Moreover, once the target combination media data is generated, it will be bound to the target object, preventing a situation where no one obtains it and reducing the waste of on-chain virtual resources.

[0108] Further, please see Figure 3 , Figure 3 This is a flowchart illustrating a blockchain-based data processing method provided in an embodiment of this application. The method can be implemented by a terminal device (e.g., the one described above). Figure 1 The method is executed by any terminal device in the terminal device cluster 10 in the corresponding embodiment. The following description will use the execution of this method by a terminal device as an example. The blockchain-based data processing method may include at least the following steps S101-S103:

[0109] Step S101: In response to the selection operation of the target object on the media element selection list, obtain the target media element combination; the target media element combination includes the media elements selected based on the selection operation, and the element categories of the media elements in the target media element combination are different from each other.

[0110] Specifically, the media elements in the media element selection list are used to construct the target combined media data. The data types of the target combined media data can include image types, video types, music types, text types, etc. Therefore, media elements can include media elements of different data types such as image elements, video elements, text elements, and music elements. It can be understood that the data types of the media elements in the media element selection list should be consistent with the data types of the target combined media data.

[0111] Specifically, the media element selection list can include m sublists of media elements, and each sublist can contain n media elements of the same element category. It should be noted that these n media elements are distinct. Here, m and n are both positive integers. The process of obtaining the target media element combination in response to the target object's selection operation on the media element selection list can be as follows: Respond to the target object's selection operation on the m sublists of media elements, obtain the selected media element from each sublist, and determine the selected media element as the target media element combination. It can be understood that the target media element combination will contain m media elements of different element categories.

[0112] Optionally, the terminal device can display a preview area. During the process of the target user selecting media elements from the selection list, the terminal device can display preview media data based on the selected media elements, allowing the target user to understand the overall effect when the selected media elements are combined, and facilitating the target user to change the selected media elements at any time. Therefore, after the terminal device determines the target media element combination, it will display the corresponding combined preview media data. This combined preview media data is obtained by merging the media elements in the target media element combination, as described above. Figure 2 The combined preview image in the image preview area 203 shown.

[0113] Step S102: In response to the virtual resource creation operation for the target media element combination, generate target combination media data composed of media elements in the target media element combination.

[0114] Specifically, depending on the data type of the media elements in the target media element combination, different combination methods can be selected to process the m media elements in the target media element combination to obtain the target combined media data. The combination methods include splicing, overlaying, merging, insertion, etc.

[0115] Specifically, when the media elements are image elements, target combined media data can be generated by layer overlay. A feasible implementation method for generating target combined media data composed of media elements in the target media element combination in response to the virtual resource creation operation for the target media element combination is as follows: In response to the virtual resource creation operation for the target media element combination, obtain the element media layers corresponding to each of the m media elements; call the image service, and overlay the m element media layers according to the element combination order configured in the image service to obtain the target combined media data. At this point, the target combined media data is an image, hence it can also be called the target combined image. That is, for a target image element combination containing m image elements, its corresponding target combined image can be composed of m element media layers, each element media layer corresponding to an element category. For example, the element category corresponding to the first element media layer is hairstyle, and the element category corresponding to the second element media layer is eyes. After the target image element combination is determined, the image service can be called to add the image elements in the target image element combination to the corresponding element media layers, and then overlay them downwards according to the element combination order configured in the image service to form the final target combined image.

[0116] For ease of understanding, please refer to the following: Figure 4 , Figure 4 This is a schematic diagram of a layer overlay scene provided in an embodiment of this application. Assume there are five element categories for the image elements selectable from the target object: hairstyle, eyes, nose, mouth, and face shape. Each element category includes nine image elements, and these image elements are not entirely identical in appearance; for example, they may differ in color or shape. Therefore, the image elements under each element category can be numbered starting from 01, with different image elements within the same element category corresponding to different numbers. The corresponding image element is selected by numbering. Figure 4As shown, the element media layer sets used for layer overlay are layer set 401, layer set 402, layer set 403, layer set 404, and layer set 405. Among them, the element category of the image element corresponding to the layer in layer set 401 can be hairstyle, the element category of the image element corresponding to the layer in layer set 402 can be eye, the element category of the image element corresponding to the layer in layer set 403 can be nose, the element category of the image element corresponding to the layer in layer set 404 can be mouth, and the element category of the image element corresponding to the layer in layer set 405 can be face shape. Assume layer set 401 contains layers corresponding to hairstyles 01, ..., 08, and 09; layer set 402 contains layers corresponding to eyes 01, ..., 08, and 09; layer set 403 contains layers corresponding to noses 01, ..., 08, and 09; layer set 404 contains layers corresponding to mouths 01, ..., 08, and 09; and layer set 405 contains layers corresponding to faces 01, ..., 08, or 09. Assuming the target image element combination is [hairstyle 05, eyes 04, nose 08, mouth 09, face shape 01], the terminal device can call the image service to obtain layer 406 corresponding to hairstyle 05, layer 407 corresponding to eyes 04, layer 408 corresponding to nose 08, layer 409 corresponding to mouth 09, and layer 410 corresponding to face shape 01. Then, the terminal device can stack layers sequentially according to a pre-configured element combination order, for example, {hairstyle-eyes-nose-mouth-face shape}. That is, layer 406 corresponding to the hairstyle is placed on top, then layer 407 corresponding to the eyes is stacked below layer 406, and so on, to obtain the final target combined image 411. Additionally, by concatenating the numbers corresponding to each image element according to the element combination order, a unique number can be obtained, which can be used as the identifier for the target combined image 411, such as... Figure 4 As shown, the unique ID of the target composite image 411 is 0504080901. This ID can be used for deduplication of composite images; see the following for details. Figure 5 The corresponding implementation example.

[0117] Specifically, when the media elements are text elements or music elements, the target combined media data can be generated by splicing segments. A feasible implementation method for generating target combined media data composed of media elements in the target media element combination in response to the virtual resource creation operation for the target media element combination is as follows: In response to the virtual resource creation operation for the target media element combination, obtain the element media data segments corresponding to m media elements respectively; call the segment splicing service, and splice the m element media data segments according to the element combination order configured in the segment splicing service to obtain the target combined media data. For example, when the media elements are text elements, the target media element combination can also be called the target text element combination. Assuming there are four element categories of text elements available for the target object to choose from: time, location, person, and event, the target text element combination obtained by the terminal device is [yesterday, at school, Xiaoming, studying]. Each text element is its corresponding element media data segment. Assuming the element combination order is {person-time-location-event}, splicing the element media data segments according to the element combination order will yield the target combined media data, which is the target combined sentence, with the content "Xiaoming studied at school yesterday".

[0118] Step S103: Send a virtual resource creation request for the target combined media data to the blockchain network, so that when the blockchain network determines that the target combined media data passes the deduplication verification, it generates a target on-chain virtual resource corresponding to the target combined media data; the sole ownership of the target on-chain virtual resource belongs to the target object.

[0119] Specifically, after identifying the target combination of media data, the terminal device can apply to bind on-chain virtual resources to that target combination of media data. The terminal device can send a virtual resource creation request for the target combination of media data to the blockchain network. This can be understood as the terminal device simply sending the virtual resource creation request to any blockchain node in the blockchain network. The blockchain node receiving the virtual resource creation request will then generate a transaction corresponding to the request and broadcast it to other blockchain nodes in the network, thereby achieving consensus and on-chain recording of the transaction corresponding to the virtual resource creation request. The blockchain nodes can be business nodes, such as those mentioned above. Figure 1 Any business node in the business node cluster 100 shown, but it can also be a consensus node, such as the one mentioned above. Figure 1 Any consensus node in the 1000 consensus node cluster shown.

[0120] Specifically, when the blockchain network determines that the target combination media data has passed the deduplication verification, it can generate the target on-chain virtual resource corresponding to the target combination media data. The sole ownership of the target on-chain virtual resource belongs to the target object. The search and verification process determines whether the target element media combination corresponding to the target combination media data is occupied in the blockchain network. For example, if the target element media combination is occupied by object B, it means that object B, through its bound terminal device, sent a virtual resource creation request to the blockchain network for the target combination media data composed of the target element media combination, and the target on-chain virtual resource corresponding to the target combination media data was generated in the blockchain network. The sole ownership of this target on-chain virtual resource belongs to object B. At this point, object A's application to create the target on-chain virtual resource for the target combination media data will fail because the ownership of the target combination media data belongs to object B. Object A can only acquire the target on-chain virtual resource and thus own the target combination media data by engaging in a transaction with object B for the sole ownership of the target on-chain virtual resource.

[0121] The blockchain-based data processing method provided in this application allows target objects to no longer be limited to selecting media data as their off-chain digital products from media data already bound to on-chain virtual resources. Instead, they can first create their preferred target combination media data through a media element selection list. Then, the terminal device can send a virtual resource creation request for the target combination media data to the blockchain network. When the blockchain network determines that the target combination media data has passed the deduplication verification, it can generate the target on-chain virtual resource corresponding to the target combination media data. By combining media elements, the presentation style of the final target combination media data is enriched. Moreover, once the target combination media data is generated, it will be bound to the target object, preventing a situation where no one obtains it and reducing the waste of on-chain virtual resources.

[0122] Further, please see Figure 5 , Figure 5 This is a flowchart illustrating a blockchain-based data processing method provided in an embodiment of this application. The method can be implemented by a terminal device (e.g., the one described above). Figure 1 The method is executed by any terminal device in the terminal device cluster 10 in the corresponding embodiment. The following description will use the execution of this method by a terminal device as an example. The blockchain-based data processing method may include at least the following steps S201-S206:

[0123] Step S201: In response to the selection operation of the target object on the media element selection list, obtain the target media element combination; the target media element combination includes the media elements selected based on the selection operation, and the element categories of the media elements in the target media element combination are different from each other.

[0124] Specifically, the implementation process of step S201 can be found above. Figure 3 The description of step S101 in the corresponding embodiment will not be repeated here.

[0125] Step S202: In response to the deduplication operation for the target media element combination, generate a target combination identifier corresponding to the target media element combination.

[0126] Specifically, the terminal device can display a deduplication check control while showing the media element selection list. After the target user selects their desired media elements, they can trigger the deduplication check control to confirm whether the media element combination they selected has already been used. The combined media data of already used media element combinations is bound to on-chain virtual resources on the blockchain. Assuming the target user selects the target media element combination and then triggers the deduplication check control, the terminal device will respond to the target user's trigger operation and perform a deduplication check on the target media element combination.

[0127] Specifically, the deduplication check for the target media element combination can be performed by comparing the target media element combination with the media element combinations that have already been occupied on the blockchain. If it is determined that there is already a media element combination that is exactly the same as the target media element combination among the media element combinations that have already been occupied, then the target media element combination has been occupied and the deduplication check for the target media element combination fails; otherwise, the deduplication check for the target media element combination passes.

[0128] Specifically, as mentioned above, media elements can be image elements, text elements, music elements, etc. It is understandable that comparing these elements requires a large amount of computation. Therefore, the terminal device can assign a unique combination identifier to each media element combination. This combination identifier can be composed of simple data such as numbers and letters. When the terminal device performs duplicate checking on the target media element combination, it does not need to check the media elements in the target media element combination for duplicates. It only needs to determine whether the target combination identifier corresponding to the target media element combination is the same as the combination identifier corresponding to the already occupied media element combination.

[0129] Specifically, a feasible implementation method for generating a target combination identifier in response to a deduplication operation targeting a target media element combination is as follows: In response to the deduplication operation targeting the target media element combination, determine the element number of each media element in the target media element combination within its element category, using this number as the target element number; media elements belonging to the same element category have different element numbers; concatenate the target element numbers according to the element combination order to obtain the target combination identifier. Here, the element combination order refers to the combination order between each media element in the target media element combination when generating the target combination media data. For media elements of the same element category provided in the media element selection list, they can have different numbers, as mentioned above. Figure 4 In the illustrated embodiment, there are nine image elements related to hairstyles, each corresponding to a unique number from 01 to 09. However, the numbers corresponding to media elements of different element categories are independent and may be repeated. For each media element category, the terminal device can number them starting from 01. The terminal device concatenates the numbers of each media element in the target media element combination according to the element combination order to obtain a unique number, which serves as the target combination identifier for the target media element combination. For example, as described above... Figure 4 In the embodiment shown, the unique number 0504080901 of the target combination image 411 can be used as its corresponding target combination identifier.

[0130] Specifically, a feasible implementation method for generating a target combination identifier in response to a deduplication operation targeting a target media element combination is as follows: Perform a first hash operation on each media element in the target media element combination to obtain an element hash value; then perform a second hash operation on the element hash values ​​according to the element combination order to obtain the target combination identifier. Here, the element combination order refers to the order in which each media element in the target media element combination is combined when generating the target combination media data. The hash operation refers to compressing messages or data into a digest using a hash function, reducing the data size. Furthermore, even small differences between two pieces of data will result in significantly different hash values, thus different media elements correspond to different element hash values. Therefore, after performing two hash operations on the target media element combination, the resulting hash value can serve as the unique identifier for that target media element combination.

[0131] Step S203: If a combination identifier identical to the target combination identifier is found in the identifier database, a message indicating that the combination is occupied is displayed; if no combination identifier identical to the target combination identifier is found in the identifier database, a message indicating that the combination is not occupied is displayed.

[0132] Specifically, to save on the overhead of requesting from the blockchain network, the terminal device can store the combination identifiers corresponding to already occupied media element combinations in the identifier database. Whenever a new block is added to the blockchain network, containing transactions for on-chain virtual resources corresponding to the combined media data formed by a certain media element combination, the terminal device records the combination identifier corresponding to that media element combination in the identifier database. Therefore, a feasible method for the terminal device to check for duplicate target media element combinations is: obtain the target combination identifier corresponding to the target media element combination, and then traverse the identifier database. If a combination identifier identical to the target combination identifier is found in the identifier database, a message indicating that the combination is occupied is displayed, at which point the target object can reselect from the media selection list; if no combination identifier identical to the target combination identifier is found in the identifier database, a message indicating that the combination is not occupied is displayed, at which point the target object can either perform a virtual resource creation operation for the target media element combination or reselect from the media selection list.

[0133] Step S204: In response to the virtual resource creation operation for the target media element combination, generate a target combination identifier corresponding to the target media element combination based on the virtual resource creation operation.

[0134] Specifically, the deduplication check operation for the target media element combination and the virtual resource creation operation for the target media element combination can be considered as two independent operations; that is, performing the deduplication check operation does not trigger the generation of on-chain virtual resources. To save the overhead of requesting the blockchain network, a deduplication check operation can also be automatically performed when responding to the virtual resource creation operation for the target media element combination. Only when the deduplication verification passes will the step of sending a virtual resource creation request for the target combination media data to the blockchain network be triggered. Therefore, when responding to the virtual resource creation operation for the target media element combination, the terminal device can generate a target combination identifier corresponding to the target media element combination, and then perform a deduplication check on the target media element combination based on the target combination identifier. For specific implementation details, please refer to step S203 above, which will not be elaborated here. Of course, if the terminal device has already responded to the deduplication check operation for the target media element combination, the terminal device can directly obtain the previously generated target combination identifier.

[0135] Step S205: If no combination identifier identical to the target combination identifier is found in the identifier database, target combination media data consisting of media elements in the target media element combination is generated.

[0136] Specifically, when the terminal device determines that the target media element combination is not occupied, it can generate target combination media data consisting of the media elements in the target media element combination. The specific generation process can be found above. Figure 3 The description of step S102 in the corresponding embodiment will not be repeated here.

[0137] Specifically, if a combination identifier that is identical to the target combination identifier is found in the identifier database, the terminal device can display a message indicating that the combination is already in use.

[0138] Step S206: Send a virtual resource creation request for the target combined media data to the blockchain network, so that when the blockchain network determines that the target combined media data passes the deduplication verification, it generates a target on-chain virtual resource corresponding to the target combined media data; the sole ownership of the target on-chain virtual resource belongs to the target object.

[0139] Specifically, the implementation process of step S206 can be found above. Figure 3 The description of step S103 in the corresponding embodiment will not be repeated here.

[0140] Optionally, after the on-chain virtual resource corresponding to the target combination media data composed of the target media element combination is successfully created, the target media element combination is occupied and it is no longer possible to apply for on-chain virtual resources for the target combination media data composed of the target media element combination. Therefore, the terminal device can update the identifier database. That is, when the target on-chain virtual resource is successfully created, the terminal device can display the resource creation success information. This resource creation success information is used to prompt the target object to apply for the resource. Then, the terminal device adds the target combination identifier to the identifier database to obtain the updated identifier database.

[0141] Optionally, because a blockchain network is a multi-node network, data synchronization takes time. Therefore, there may be instances where the combined identifier stored in the identifier database is not entirely identical to the combined identifier in the blockchain ledger. Consequently, when the target media element combination is checked for duplicates by the terminal device, the target combined media data may fail the duplicate verification in the blockchain network. When the target combined media data fails the duplicate verification in the blockchain network, the terminal device will display a message indicating that the combination is already in use, and then add the target combined identifier to the identifier database, thus updating the identifier database.

[0142] Optionally, to address the difficulty for target objects to find unclaimed media element combinations after most media element combinations have already been registered, a method of recommending random media element combinations can be considered to simplify the target object's operational costs. The target object can search for a suitable media element combination through multiple random searches. The terminal device can respond to the target object's random combination operation on the media element selection list, obtaining a random media element combination. This random media element combination includes randomly selected media elements from the media element selection list based on the random combination operation. Furthermore, the random combination identifier corresponding to the random media element combination is different from the combination identifier in the identifier database. Then, the terminal device can respond to a virtual resource creation operation for the random media element combination, generating random combination media data composed of media elements from the random media element combination. It then sends a virtual resource creation request for the random combination media data to the blockchain network. When the blockchain network determines that the random combination media data passes the deduplication verification, it generates a random on-chain virtual resource corresponding to the target random media data. The sole ownership of the random on-chain virtual resource belongs to the target object. The generation of the random combination media data and the random on-chain virtual resource can be found in the descriptions of steps S102 and S103, and will not be repeated here.

[0143] Optionally, after the on-chain virtual resources corresponding to the target combined media data are generated, the ownership of the target combined media data belongs solely to the target object. This is because the target media element combination corresponding to the target combined media data and the target combination identifier corresponding to the target media element combination are unique. Therefore, the target combination identifier can also be used as the identity credential of the target object. The terminal device can perform data identification on the target combined media data bound to the target on-chain virtual resources to obtain the target media element combination corresponding to the target combined media data; then, it generates the target combination identifier corresponding to the target media element combination according to the element combination order; this target combination identifier is used to represent the target object in the blockchain network. The element combination order refers to the combination order between each media element in the target media element combination when generating the target combined media data.

[0144] The method provided in this application identifies target media element combinations using target combination identifiers, reducing the computational load from directly comparing whether target media element combinations are identical and saving computational resources. Simultaneously, an identifier database is set up outside the blockchain to cache the combination identifiers corresponding to media element combinations currently occupied by ordinary objects. When deduplicating elements, the terminal device can first perform a deduplication check in the identifier database, thereby reducing interaction with the blockchain network and saving network resources.

[0145] Further, please see Figure 6 , Figure 6This is a flowchart illustrating a blockchain-based data processing method provided in an embodiment of this application. The method can be implemented using blockchain nodes (e.g., the aforementioned...). Figure 1 Any service node in the service node cluster 100 in the corresponding embodiment, or, as described above Figure 1 This method is executed by any consensus node in the consensus node cluster 1000 in the corresponding embodiment. The following description uses the execution of this method by a blockchain node as an example, wherein the blockchain-based data processing method may include at least the following steps S301-S303:

[0146] Step S301: Receive a virtual resource creation request for target combined media data; the target combined media data is generated based on a target combination of media elements; the target combination of media elements includes media elements selected by a selection operation on a media element selection list based on a target object; the element categories of the media elements in the target combination of media elements are different from each other.

[0147] Specifically, the selection of the target media element combination and the generation of the target combination media data are completed by the terminal device, and the implementation process can be found above. Figure 3 The descriptions of steps S101 and S102 in the corresponding embodiments will not be repeated here.

[0148] Step S302: Perform a deduplication verification process on the target combined media data to obtain the deduplication verification result.

[0149] Specifically, the blockchain nodes in the blockchain network will perform deduplication verification on the target combination media data. This means determining whether the target media element combination corresponding to the target combination media data has a corresponding on-chain virtual resource in the blockchain ledger. If the target media element combination already has a corresponding on-chain virtual resource, the deduplication verification of the target combination media data will fail; if the target media element combination does not have a corresponding on-chain virtual resource, the deduplication verification of the target combination media data will fail.

[0150] Specifically, a feasible method for performing deduplication verification on the target combined media data to obtain the deduplication verification result is as follows: Obtain published combination identifiers that are bound to published on-chain virtual resources from the blockchain ledger. These published combination identifiers are generated based on the media element combinations of the combined media data associated with the published on-chain virtual resources. If a combination identifier identical to the target combination identifier is found among the published combination identifiers, the deduplication verification result is determined to be a failure; if no combination identifier identical to the target combination identifier is found among the published combination identifiers, the deduplication verification result is determined to be a success.

[0151] Step S303: If the deduplication verification result is a successful deduplication verification result, then generate the target chain virtual resource corresponding to the target combined media data; the sole ownership of the target chain virtual resource belongs to the target object.

[0152] Specifically, the virtual resource creation request can carry a resource creation contract identifier. Blockchain nodes can invoke the resource creation contract corresponding to this identifier. During the execution of the resource creation contract, the blockchain node can perform the aforementioned deduplication verification and data legality verification consensus processes on the target combined media data. When the deduplication verification passes and the data is legal, the blockchain node can execute the resource creation function normally, generating the target on-chain virtual resource corresponding to the target combined media data. The sole ownership of the target on-chain virtual resource generated by the blockchain node belongs to the target object. Therefore, the target on-chain virtual resource can be used to prove that the ownership of the target combined media data belongs to the target object. The target object can initiate a transaction for the target on-chain virtual resource through a bound terminal device, for example, transferring the sole ownership of the target on-chain virtual resource to a first object. When the transaction is successful, the ownership of the target combined media data no longer belongs to the target object, but to the first object.

[0153] Optionally, blockchain nodes will write the target on-chain virtual resources, the target combination identifier, and the binding relationship between the target objects into the blockchain ledger. The target combination identifier is generated based on the media elements in the target media element combination; the specific generation method can be found above. Figure 5 The description of step S203 in the corresponding embodiment will not be repeated here.

[0154] Using the method provided in this application embodiment, the blockchain network can create on-chain virtual resources for target combination media data created by the target object. The on-chain virtual resources will be bound to the target object, and there will be no situation where the on-chain virtual resources are created in advance but no one obtains them, thus avoiding the waste of on-chain virtual resources.

[0155] Further, please see Figure 7 , Figure 7 This is a flowchart illustrating a logical method for generating on-chain virtual resources provided in an embodiment of this application. Figure 7 As shown, the logical method for generating on-chain virtual resources may include at least the following steps S71-S77:

[0156] Step S71: Determine the target media element combination.

[0157] Specifically, the resource platform can provide the target object with m types of elements (elements of the same type belong to the same category), and each type of element contains n media elements. Here, m and n are integers. All elements provided by the resource platform can be selected by the target object through the aforementioned media element selection list. Each type of element can correspond to one media element sublist. The target object needs to select one element from each type of element, that is, each media element sublist. The terminal device combines the selected m media elements of different categories to obtain the target media element combination. It can be understood that the number of media element combinations available for the target object to choose from is m. n .

[0158] Step S72: Request a duplicate check on the target media element combination.

[0159] Specifically, media element combinations that already correspond to on-chain virtual resources cannot be selected again. Therefore, the target object needs to be able to request a duplicate check on the selected target media element combinations.

[0160] Step S73: Determine whether the target media element combination corresponds to an on-chain virtual resource.

[0161] Specifically, this plagiarism detection process can be completed by a terminal device; for details, please refer to the above. Figure 5 The descriptions of steps S202 and S203 in the corresponding embodiments also illustrate that this deduplication process can be implemented by a blockchain network. The terminal device can send a deduplication request to a blockchain node in the blockchain network, and the blockchain node can check in the blockchain ledger whether there is an on-chain virtual resource corresponding to the target media element combination. If the target media element combination does not correspond to an on-chain virtual resource, step S74 is executed; if the target media element combination corresponds to an on-chain virtual resource, step S75 is executed.

[0162] Step S74: Request the generation of virtual resources on the target chain corresponding to the target media element combination.

[0163] Specifically, the implementation of step S74 can be found above. Figure 6 The description of step S303 in the corresponding embodiment will not be repeated here.

[0164] Step S75: Determine whether the virtual resources on the target chain have been successfully generated.

[0165] Specifically, if the virtual resource on the target chain is successfully generated, step S76 is executed; if the virtual resource on the target chain fails to be generated, step S77 is executed.

[0166] Step S76 indicates that the virtual resource on the target chain was successfully created.

[0167] Step S77 prompts you to reselect the target media element combination.

[0168] Using the method provided in this application embodiment, only a small amount of media element resources are required to create a large number of media element combinations. This allows the target object to choose its preferred combination as the target media element combination and ensures that the target media element combination is unique. Then, it is bound to on-chain virtual resources. Because the blockchain has tamper-proof characteristics and asset ownership confirmation capabilities, the uniqueness of the ownership of the target combination media data constituted by the target media element combination on the chain can be achieved.

[0169] Further, please see Figure 8a , Figure 8a This is a schematic diagram of a system architecture provided in an embodiment of this application. For example... Figure 8a As shown in the diagram, the system architecture includes a terminal device 80, an application server 81, media resources 82, combined services 83, a database 84, and a blockchain network 85. The terminal device 80 can be one of the aforementioned components. Figure 1 Any terminal device in the terminal device cluster 10 shown, such as terminal device 10a. The application server 81 can be the backend server for a mini-program, a native app, or an H5 (Hypertext Markup Language 5) page, and its architecture can adopt a C / S (Client / Server) or B / S (Browser / Server) model. The media resource 82 contains media elements that can be used to compose combined media data. The combination service 83 is used to combine media elements into combined media data, and may include the aforementioned... Figure 3 The overlay service and fragment stitching service in step S102 of the corresponding embodiment are pending. Database 84 is the one described above. Figure 5 The identifier database mentioned in step S203 of the corresponding embodiment is used to check for duplicates in the target media element combination for target object selection, thereby reducing the interaction between the terminal device 80 and the blockchain network 85.

[0170] It is understandable that the functions provided by application server 81 can be implemented by terminal device 80, and database 84 can also be stored in terminal device 80. This results in a simpler system architecture. For ease of understanding, please refer to [the relevant documentation / reference]. Figure 8b , Figure 8b This is a schematic diagram of another system architecture provided in an embodiment of this application. For example... Figure 8b As shown, the system architecture at this point only includes terminal devices 86, media resources 87, combined services 88, and a blockchain network 89. In... Figure 8bUnder the architecture shown, terminal device 86 can determine the target media element combination and perform a deduplication check on the target media element combination in the locally stored database. The deduplication process can be found in the above description. Figure 5 The description of step S203 in the corresponding embodiment will not be repeated here.

[0171] Through such Figure 8a The system architecture shown allows target objects to autonomously select media elements to obtain target media combination data, and generate on-chain virtual resources for this target media combination data. The key to the success of on-chain virtual resources is ensuring that the target media element combination is not occupied by other objects in the blockchain network 85. Therefore, a database 84 is set up outside the blockchain to cache element combinations currently occupied by users. When deduplicating elements, a deduplication check can be performed in database 84 first, thereby reducing interaction with the chain. For a better understanding of the data interaction process in the system architecture, please refer to [link to relevant documentation]. Figure 9 , Figure 9 This is a schematic diagram of data interaction provided in an embodiment of this application. For example... Figure 9 As shown, when the terminal device 80, application server 81, media resources 82, combination service 83, database 84, and blockchain network 85 jointly create the on-chain virtual resource corresponding to the target combination media data composed of the target media element combination selected by the target object, the data interaction process between them includes the following steps S91 to S912:

[0172] In step S91, the application server 81 responds to the selection operation of the terminal device 80 and can determine the target media element combination.

[0173] In step S92, the application server 81 determines the combined preview media data based on the target media element combination. Then, the application server 81 returns the combined preview media data to the terminal device 80, which displays the combined preview media data.

[0174] In step S93, the terminal device 80 may request the application server 81 to generate target combination media data corresponding to the target media element combination.

[0175] In step S94, the application server 81 can request the database 82 to perform a deduplication check on the target media element combination.

[0176] In step S95, database 82 will return the deduplication result for the target media element combination. If the target media element combination is not occupied, step S96 will continue; if the target media element combination is occupied, the subsequent data interaction process will not be carried out.

[0177] In step S96, the application server 81 requests the combination service 83 to generate the target combination media data corresponding to the target media element combination.

[0178] In step S97, the combination service 83 can combine the target media elements and call the media resources in the media resource 84.

[0179] In step S98, the combination service 83 generates target combined media data based on the invoked media resources and returns it to the application server 81.

[0180] In step S99, the application client sends a virtual resource creation request to the blockchain network. The virtual resource creation request carries information about the target combined media data and is used to request the generation of on-chain virtual resources for the target combined media data.

[0181] In step S910, the blockchain network 85 executes the resource creation contract. During the execution of the resource creation contract, consensus processes such as deduplication and data legality verification are performed on the target media element combination. When the consensus is passed, the resource creation contract is executed normally to generate on-chain virtual resources for the target combination media data.

[0182] In step S911, the blockchain network 85 returns the contract execution result to the application server 81, i.e., whether the on-chain virtual resource has been successfully created.

[0183] In step S912, the on-chain virtual resource is successfully created, and application server 81 will indicate that the on-chain virtual resource has been successfully generated.

[0184] The method provided in this application can reduce the waste of on-chain virtual resources and enrich the presentation style of off-chain digital products.

[0185] Please see Figure 10 , Figure 10 This is a schematic diagram of the structure of a blockchain-based data processing device provided in an embodiment of this application. The data processing device can be a computer program (including program code) running on a computer device; for example, the data processing device is application software. The device can be used to execute corresponding steps in the data processing method provided in the embodiments of this application. Figure 10 As shown, the data processing device 1 may include: an element selection module 11, a data generation module 12, and a resource request module 13.

[0186] The element selection module 11 is used to respond to the selection operation of the target object on the media element selection list and obtain the target media element combination; the target media element combination includes the media elements selected based on the selection operation, and the element categories of the media elements in the target media element combination are different from each other;

[0187] The data generation module 12 is used to respond to the virtual resource creation operation for the target media element combination and generate target combination media data composed of media elements in the target media element combination.

[0188] Resource application module 13 is used to send a virtual resource creation request for the target combined media data to the blockchain network, so that when the blockchain network determines that the target combined media data has passed the deduplication verification, it generates the target on-chain virtual resource corresponding to the target combined media data; the sole ownership of the target on-chain virtual resource belongs to the target object.

[0189] The specific implementation methods of the element selection module 11, data generation module 12, and resource request module 13 can be found in the above description. Figure 3 The descriptions of steps S101-S103 in the corresponding embodiments will not be repeated here.

[0190] The media element selection list includes m sublists of media elements, where m is a positive integer; media elements in the same sublist of media elements have the same element category.

[0191] Please see again. Figure 10 The element selection module 11 includes a response unit 1101 and a combination determination unit 1102.

[0192] Response unit 1101 is used to respond to the selection operation of the target object for the m media element sublist;

[0193] The combination determination unit 1102 is used to obtain the selected media elements in each media element sublist and determine the selected media elements as the target media element combination.

[0194] The aforementioned data processing device 1 further includes a preview module 14.

[0195] The preview module 14 is used to display the combined preview media data corresponding to the target media element combination; the combined preview media data is obtained by merging the media elements in the target media element combination.

[0196] The specific implementation methods of the response unit 1101, the combination determination unit 1102, and the preview module 14 can be found in the above description. Figure 3 The description of step S101 in the corresponding embodiments will not be repeated here.

[0197] The target media element combination includes m media elements, where m is a positive integer;

[0198] Please see again. Figure 10 The data generation module 12 includes: a first acquisition unit 121 and an overlay unit 122.

[0199] The first acquisition unit 121 is used to respond to the virtual resource creation operation for the target media element combination and acquire the element media layers corresponding to the m media elements respectively.

[0200] The overlay unit 122 is used to call the image service and overlay the m element media layers according to the element combination order configured in the image service to obtain the target combined media data.

[0201] The specific implementation methods of the first acquisition unit 121 and the superposition unit 122 can be found in the above description. Figure 3 The description of step S102 in the corresponding embodiments will not be repeated here.

[0202] The target media element combination includes m media elements, where m is a positive integer;

[0203] Please see again. Figure 10 The data generation module 12 includes a second acquisition unit 123 and a splicing unit 124.

[0204] The second acquisition unit 123 is used to respond to the virtual resource creation operation for the target media element combination and acquire the element media data fragments corresponding to the m media elements respectively.

[0205] The splicing unit 124 is used to call the segment splicing service and splice the m element media data segments according to the element combination order configured in the segment splicing service to obtain the target combined media data.

[0206] The specific implementation methods of the second acquisition unit 123 and the splicing unit 124 can be found in the above description. Figure 5 The description of step S102 in the corresponding embodiments will not be repeated here.

[0207] Please see again. Figure 10 The aforementioned data processing device 1 further includes: a first identifier generation module 15 and a first deduplication module 16.

[0208] The first identifier generation module 15 is used to respond to the deduplication operation for the target media element combination and generate the target combination identifier corresponding to the target media element combination.

[0209] The first deduplication module 16 is used to display a message indicating that the combination is already in use if a combination identifier identical to the target combination identifier is found in the identifier database.

[0210] The first deduplication module 16 is also used to display a message indicating that the combination is not in use if no combination identifier identical to the target combination identifier is found in the identifier database.

[0211] The specific implementation methods of the first identifier generation module 15 and the first deduplication module 16 can be found in the above description. Figure 5 The descriptions of steps S202-S203 in the corresponding embodiments will not be repeated here.

[0212] Please see again. Figure 10 The first identifier generation module 15 includes: a number determination unit 151 and a number splicing unit 152.

[0213] The numbering determination unit 151 is used to respond to the deduplication operation for the target media element combination, and to determine the element number of each media element in the target media element combination in its element category, which is used as the target element number; media elements belonging to the same element category have different element numbers.

[0214] Numbering splicing unit 152 is used to splice the target element numbers according to the element combination order to obtain the target combination identifier; the element combination order refers to the combination order between each media element in the target media element combination when generating the target combination media data.

[0215] The specific implementation methods of the numbering determination unit 151 and the numbering splicing unit 152 can be found in the above description. Figure 5 The description of step S202 in the corresponding embodiments will not be repeated here.

[0216] Please see again. Figure 10 The first identifier generation module 15 includes: a first hash unit 153 and a second hash unit 154.

[0217] The first hash unit 153 is used to perform a first hash process on each media element in the target media element combination to obtain the element hash value;

[0218] The second hash unit 154 is used to perform a second hash process on the element hash value according to the element combination order to obtain the target combination identifier; the element combination order refers to the combination order between each media element in the target media element combination when generating the target combination media data.

[0219] The specific implementation methods of the first hash unit 153 and the second hash unit 154 can be found in the above description. Figure 5 The description of step S202 in the corresponding embodiments will not be repeated here.

[0220] Please see again. Figure 10 The aforementioned data processing device 1 further includes: a second identifier generation module 17 and a second deduplication module 18.

[0221] The second identifier generation module 17 is used to generate a target combination identifier corresponding to the target media element combination based on the virtual resource creation operation.

[0222] The second deduplication module 18 is used to perform the step of generating target combined media data composed of media elements in the target combined media if no combined identifier identical to the target combined identifier is found in the identifier database.

[0223] The specific implementation methods of the second identifier generation module 17 and the second deduplication module 18 can be found in the above description. Figure 5 The descriptions of steps S204-S25 in the corresponding embodiments will not be repeated here.

[0224] Please see again. Figure 10 The aforementioned data processing device 1 further includes a database update module 19.

[0225] The database update module 19 is used to display the resource creation success information when the virtual resource on the target chain is successfully created, add the target combination identifier to the identifier database, and obtain the updated identifier database.

[0226] The database update module 19 is also used to display a message that the combination has been occupied when the target combination media data fails the deduplication verification in the blockchain network, and to add the target combination identifier to the identifier database to obtain the updated identifier database.

[0227] The specific implementation of the database update module 19 can be found in the above description. Figure 5 The optional descriptions in the corresponding embodiments will not be repeated here.

[0228] Please see again. Figure 10 The aforementioned data processing device 1 further includes a random combination module 110.

[0229] The random combination module 110 is used to respond to the random combination operation of the target object on the media element selection list and obtain a random media element combination; the random media element combination includes random media elements randomly selected from the media element selection list based on the random combination operation; the random combination identifier corresponding to the random media element combination and the combination identifier in the identifier database are different from each other;

[0230] The random combination module 110 is also used to respond to a virtual resource creation operation for a random combination of media elements and generate random combination media data composed of media elements in the random combination of media elements.

[0231] The random combination module 110 is also used to send a virtual resource creation request for the random combination media data to the blockchain network, so that when the blockchain network determines that the random combination media data has passed the deduplication verification, it generates a random on-chain virtual resource corresponding to the target random media data; the sole ownership of the random on-chain virtual resource belongs to the target object.

[0232] The specific implementation of the random combination module 110 can be found in the above description. Figure 5 The optional descriptions in the corresponding embodiments will not be repeated here.

[0233] Please see again. Figure 10 The aforementioned data processing device 1 further includes: an identification module 111.

[0234] The identification module 111 is used to identify the target combination media data that is bound to the virtual resources on the target chain, and obtain the target media element combination corresponding to the target combination media data.

[0235] The identification module 111 is also used to generate a target combination identifier corresponding to the target media element combination according to the element combination order; the target combination identifier is used to represent the target object in the blockchain network; the element combination order refers to the combination order between each media element in the target media element combination when generating the target combination media data.

[0236] The specific implementation of the identification module 111 can be found in the above description. Figure 5 The optional descriptions in the corresponding embodiments will not be repeated here.

[0237] With the blockchain-based data processing device provided in this application embodiment, the target object is no longer limited to selecting media data as its off-chain digital product from media data already bound to on-chain virtual resources. Instead, it can first create its own target combination media data by selecting a media element list. Then, the terminal device can send a virtual resource creation request for the target combination media data to the blockchain network. When the blockchain network determines that the target combination media data has passed the deduplication verification, it can generate the target on-chain virtual resource corresponding to the target combination media data. By combining media elements, the presentation style of the final target combination media data is enriched. Moreover, once the target combination media data is generated, it will be bound to the target object, and there will be no situation where no one obtains it, which can reduce the waste of on-chain virtual resources.

[0238] Please see Figure 11 , Figure 11 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Figure 11 As shown above, Figure 10The data processing device 1 in the corresponding embodiment can be applied to a computer device 1000, which may include a processor 1001, a network interface 1004, and a memory 1005. Furthermore, the computer device 1000 may also include a user interface 1003 and at least one communication bus 1002. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be high-speed RAM or non-volatile memory, such as at least one disk storage device. Optionally, the memory 1005 may also be at least one storage device located remotely from the processor 1001. Figure 11 As shown, the memory 1005, which is a computer-readable storage medium, may include an operating system, a network communication module, a user interface module, and a device control application.

[0239] In such Figure 11 In the computer device 1000 shown, the network interface 1004 provides network communication elements; the user interface 1003 is mainly used to provide an input interface for the user; and the processor 1001 can be used to call the device control application stored in the memory 1005 to achieve:

[0240] In response to a selection operation by the target object on the media element selection list, obtain the target media element combination; the target media element combination includes the media elements selected based on the selection operation, and the element categories of the media elements in the target media element combination are different from each other;

[0241] In response to a virtual resource creation operation targeting a combination of media elements, generate target combination media data consisting of the media elements in the target combination of media elements;

[0242] A virtual resource creation request for the target combined media data is sent to the blockchain network so that when the blockchain network determines that the target combined media data has passed the deduplication verification, it generates the target on-chain virtual resource corresponding to the target combined media data; the sole ownership of the target on-chain virtual resource belongs to the target object.

[0243] It should be understood that the computer device 1000 described in the embodiments of this application can execute the foregoing text. Figure 3 , Figure 5The description of the data processing method in any corresponding embodiment will not be repeated here. Furthermore, the beneficial effects of using the same method will also not be repeated.

[0244] Furthermore, it should be noted that this application embodiment also provides a computer-readable storage medium, which stores a computer program executed by the aforementioned data processing device 1. The computer program includes program instructions, and when the processor executes the program instructions, it can execute the aforementioned... Figure 3 , Figure 5 The description of the data processing method in any corresponding embodiment is already provided, and therefore will not be repeated here. Furthermore, the beneficial effects of using the same method will also not be repeated. For technical details not disclosed in the computer-readable storage medium embodiments related to this application, please refer to the description of the method embodiments of this application.

[0245] Using the apparatus provided in the embodiments of this application, the blockchain network can create on-chain virtual resources for target combination media data created by the target object. The on-chain virtual resources will be bound to the target object, and there will be no situation where the on-chain virtual resources are created in advance but no one obtains them, thus avoiding the waste of on-chain virtual resources.

[0246] Further, please see Figure 12 , Figure 12 This is a schematic diagram of another blockchain-based data processing device provided in an embodiment of this application. The aforementioned data processing device can be a computer program (including program code) running on a computer device; for example, the data processing device is application software. This device can be used to execute the corresponding steps in the methods provided in the embodiments of this application. Figure 12 As shown, the data processing device 2 may include: a receiving module 21, a deduplication verification module 22, and a resource generation module 23.

[0247] The receiving module 21 is used to receive a virtual resource creation request for target combined media data sent by the service node; the target combined media data is generated based on the target media element combination; the target media element combination includes media elements selected by the selection operation of the media element selection list based on the target object; the element categories of the media elements in the target media element combination are different from each other;

[0248] The deduplication verification module 22 is used to perform deduplication verification on the target combined media data and obtain the deduplication verification result.

[0249] The resource generation module 23 is used to generate virtual resources on the target chain corresponding to the target combined media data if the deduplication verification result is a pass result; the sole ownership of the virtual resources on the target chain belongs to the target object.

[0250] The specific implementation methods of the receiving module 21, the deduplication verification module 22, and the resource generation module 23 can be found in the above description. Figure 6 The descriptions of steps S301-S303 in the corresponding embodiments will not be repeated here.

[0251] Please see again. Figure 12 The plagiarism detection and verification module 22 includes: an identifier acquisition unit 221 and an identifier plagiarism detection unit 222.

[0252] The identifier acquisition unit 221 is used to acquire published combination identifiers that are bound to published on-chain virtual resources from the blockchain ledger; the published combination identifiers are generated based on the combination media elements of the published on-chain virtual resources.

[0253] The deduplication detection unit 222 is used to determine the deduplication verification result as a failure result if a combined identifier identical to the target combined identifier is found in the published combined identifiers.

[0254] The deduplication detection unit 222 is also used to determine the deduplication verification result as a successful result if no combination identifier identical to the target combination identifier is found in the published combination identifiers.

[0255] The specific implementation methods of the identifier acquisition unit 221 and the identifier deduplication unit 222 can be found in the above description. Figure 6 The description of step S302 in the corresponding embodiments will not be repeated here.

[0256] Please see again. Figure 12 The aforementioned data processing device 2 also includes a recording module 24.

[0257] The recording module 24 is used to write the virtual resources on the target chain, the target combination identifier, and the binding relationship between the target objects into the blockchain ledger; the target combination identifier is generated based on the media elements in the target media element combination.

[0258] The specific implementation of the recording module 24 can be found above. Figure 6 The optional descriptions in the corresponding embodiments will not be repeated here.

[0259] Further, please see Figure 13 , Figure 13 This is a schematic diagram of the structure of another computer device provided in an embodiment of this application. For example... Figure 13 As shown above, Figure 13The data processing device 2 in the corresponding embodiment can be applied to a computer device 2000, which may include a processor 2001, a network interface 2004, and a memory 2005. Furthermore, the computer device 2000 also includes a user interface 2003 and at least one communication bus 2002. The communication bus 2002 is used to enable communication between these components. The user interface 2003 may include a display screen and a keyboard; optionally, the user interface 2003 may also include a standard wired interface or a wireless interface. The network interface 2004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 2005 may be high-speed RAM or non-volatile memory, such as at least one disk storage device. Optionally, the memory 2005 may also be at least one storage device located remotely from the processor 2001. Figure 13 As shown, the memory 2005, which is a computer-readable storage medium, may include an operating system, a network communication module, a user interface module, and a device control application program.

[0260] exist Figure 13 In the computer device 2000 shown, the network interface 2004 provides network communication functionality; the user interface 2003 is mainly used to provide an input interface for the user; and the processor 2001 can be used to call the device control application program stored in the memory 2005 to achieve:

[0261] Receives a virtual resource creation request for target combined media data; the target combined media data is generated based on a combination of target media elements; the target combination of media elements includes media elements selected by a selection operation on a media element selection list based on the target object; the element categories of the media elements in the target combination are different.

[0262] The target combined media data is subjected to deduplication verification processing to obtain the deduplication verification results;

[0263] If the deduplication verification result is "passed", then the target on-chain virtual resource corresponding to the target combined media data is generated; the sole ownership of the target on-chain virtual resource belongs to the target object.

[0264] It should be understood that the computer device 2000 described in the embodiments of this application can execute the access control method described in the preceding embodiments, and can also execute the methods described in the preceding embodiments. Figure 11 The description of the data processing device 2 in the corresponding embodiments will not be repeated here. Furthermore, the beneficial effects of using the same method will also not be repeated here.

[0265] Furthermore, it should be noted that this application also provides a computer-readable storage medium, which stores a computer program executed by the data processing device 2 mentioned above. When the processor loads and executes the computer program, it can perform the access control method described in any of the preceding embodiments. Therefore, it will not be repeated here. Additionally, the beneficial effects of using the same method will not be repeated here either. For technical details not disclosed in the embodiments of the computer-readable storage medium involved in this application, please refer to the description of the method embodiments of this application.

[0266] The aforementioned computer-readable storage medium can be an internal storage unit of the data processing apparatus or computer device provided in any of the foregoing embodiments, such as a hard disk or memory of the computer device. The computer-readable storage medium can also be an external storage device of the computer device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., provided on the computer device. Furthermore, the computer-readable storage medium can include both internal and external storage units of the computer device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium can also be used to temporarily store data that has been output or will be output.

[0267] Furthermore, it should be noted that this application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the method provided in any of the preceding corresponding embodiments.

[0268] The terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the term "comprising," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or device that includes a series of steps or units is not limited to the listed steps or modules, but may optionally include steps or modules not listed, or may optionally include other step units inherent to these processes, methods, apparatuses, products, or devices.

[0269] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the foregoing description as a network element. Whether these network elements are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can implement the described network elements using different methods for each specific application, but such implementation should not be considered beyond the scope of this application.

[0270] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.

Claims

1. A blockchain-based data processing method, characterized in that, include: The terminal device displays an image creation interface, which includes an image element selection list, an image preview area, and virtual resource creation controls. The image element selection list contains selection controls for different element categories. When the target object triggers the selection control corresponding to the element category, the terminal device displays a sub-list of image elements corresponding to the triggered element category, and the sub-list of image elements contains image elements belonging to the triggered element category; The terminal device responds to the target object's selection operation on a sublist of m image elements, obtains the selected image elements in each sublist, and displays the combined preview image corresponding to the selected image elements in the image preview area, so that the target object can know the overall effect after the combination of the selected image elements is blended; after the target object has finished making its selection, the selected image elements are determined as the target image element combination, which includes m image elements, and the element categories of the image elements in the target image element combination are all different, where m is a positive integer; When the virtual resource creation control is triggered after the target object is selected, the terminal device responds to the virtual resource creation operation of the target object for the target image element combination, obtains the m element image layers corresponding to the m image elements respectively, calls the image service, and performs layer overlay on the m image layers corresponding to the m image elements according to the element combination order configured in the image service to obtain the target combined image; A virtual resource creation request for the target image combination is sent to the blockchain network, so that when the blockchain network determines that the target image combination passes the deduplication verification, it generates a target on-chain virtual resource corresponding to the target image combination; the sole ownership of the target on-chain virtual resource belongs to the target object.

2. The method of claim 1, wherein, Also includes: In response to the deduplication operation for the target image element combination, a target combination identifier corresponding to the target image element combination is generated; If a combination identifier identical to the target combination identifier is found in the identifier database, a message indicating that the combination is already in use will be displayed. If no matching combination identifier is found in the identifier database, a message indicating that the combination is not in use will be displayed.

3. The method of claim 2, wherein, The response to the deduplication operation of the target image element combination generates a target combination identifier corresponding to the target image element combination, including: In response to the deduplication operation for the target image element combination, the element number of each image element in the target image element combination in its element category is determined and used as the target element number; image elements belonging to the same element category have different element numbers. The target element numbers are concatenated according to the element combination order to obtain the target combination identifier; the element combination order refers to the combination order between each image element in the target image element combination when generating the target combination image data.

4. The method of claim 2, wherein, The response to the deduplication operation of the target image element combination generates a target combination identifier corresponding to the target image element combination, including: Perform a first hash process on each image element in the target image element combination to obtain the element hash value; The element hash value is subjected to a second hashing process according to the element combination order to obtain the target combination identifier; the element combination order refers to the combination order between each image element in the target image element combination when generating the target combination image data.

5. The method of claim 1, wherein, Also includes: Generate a target combination identifier corresponding to the target image element combination based on the virtual resource creation operation; If no matching combination identifier is found in the identifier database, then the step of obtaining the m element image layers corresponding to the m image elements is executed.

6. The method of claim 5, wherein, Also includes: When the virtual resource on the target chain is successfully created, the resource creation success message is displayed, and the target combination identifier is added to the identifier database to obtain an updated identifier database. When the target combination image fails the deduplication verification in the blockchain network, a message indicating that the combination is already in use is displayed, and the target combination identifier is added to the identifier database to obtain an updated identifier database.

7. The method of claim 1, wherein, Also includes: Data recognition is performed on the target combination image that is bound to the virtual resources on the target chain to obtain the target image element combination corresponding to the target combination image; A target combination identifier is generated based on the element combination order of the target image element combination; the target combination identifier is used to represent the target object in the blockchain network; the element combination order refers to the combination order between each image element in the target image element combination when generating the target combination image. 8.A blockchain-based data processing apparatus, characterized by comprising: include: The element selection module is used to display the image creation interface, which includes an image element selection list, an image preview area, and a virtual resource creation control. The image element selection list contains selection controls for different element categories. When the target object triggers the selection control corresponding to the element category, the terminal device displays a sub-list of image elements corresponding to the triggered element category. The sub-list of image elements contains image elements belonging to the triggered element category. In response to the target object's selection operation on a sublist of m image elements, obtain the selected image element in each sublist of image elements; The preview module is used to display a combined preview image corresponding to the image elements selected by the target object in the image preview area, so that the target object can know the overall effect after the combination of the selected image elements is blended; after the target object has made its selection, the selected image elements are determined as the target image element combination, which includes m image elements, and the element categories of the image elements in the target image element combination are different, where m is a positive integer; The data generation module is used to respond to the virtual resource creation operation of the target object for the target image element combination when the virtual resource creation control is triggered after the target object is selected, obtain the m element image layers corresponding to the m image elements respectively, call the image service, and perform layer overlay on the m images corresponding to the m element image layers according to the element combination order configured in the image service to obtain the target combined image; The resource application module is used to send a virtual resource creation request for the target combination image to the blockchain network, so that when the blockchain network determines that the target combination image passes the deduplication verification, it generates the target on-chain virtual resource corresponding to the target combination image; the sole ownership of the target on-chain virtual resource belongs to the target object.

9. A computer device, comprising: include: Processor, memory, and network interface; The processor is connected to the memory and the network interface, wherein the network interface is used to provide data communication functions, the memory is used to store program code, and the processor is used to call the program code to execute the method according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program adapted to be loaded by a processor and to execute the method of any one of claims 1-7.

11. A computer program product comprising computer programs / instructions, characterized in that, When the computer program / instructions are executed by the processor, they can perform the method described in any one of claims 1-7.