Resource data processing method and device based on block chain and computer equipment

By using the first identity and the second identity identification in blockchain applications to find the target account, the account memory problem in blockchain resource interaction is solved, and the interaction efficiency and accuracy are improved.

CN120390018APending Publication Date: 2025-07-29TENPAY PAID TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410128481.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-29
Publication Date
2025-07-29

AI Technical Summary

Technical Problem

During the process of existing blockchain resource interaction, users need to provide a long digital account to log in, which makes it difficult to remember and cannot effectively ensure the efficiency and accuracy of the interaction process.

Method used

By launching the blockchain application in a digital virtual scenario, using the first identity and second identity provided by the target object, the target account is found in the blockchain application, and a resource transfer request is generated, and the resource transfer request is executed to complete the operation on the blockchain network.

Benefits of technology

It effectively reduces the difficulty of memory blockchain account information and improves the efficiency and accuracy of resource data interaction process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120390018A_ABST
    Figure CN120390018A_ABST
Patent Text Reader

Abstract

The invention relates to a resource data processing method and device based on a block chain, computer equipment, a storage medium and a computer program product. The method comprises the following steps: in response to an application starting operation of a target object, starting a block chain application pointed by the application starting operation in a digital virtual scene; when it is detected that the target object triggers a resource transfer operation through the block chain application, determining a first identity identifier in resource transfer information submitted by the target object; searching a target account in the block chain application based on the first identity label and a second identity label of the target object in the digital virtual scene; generating a resource transfer request according to the target account and the resource transfer information; and executing the resource transfer request on a block chain network of the block chain application to obtain a resource transfer result of the resource transfer operation. The resource transfer processing in the block chain can be completed under the condition that only the first identity label is provided, and the efficiency and accuracy of the block chain resource data interaction process are effectively improved.
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 method, device, computer device, storage medium, and computer program product for processing resource data based on blockchain. Background Art

[0002] With the development of computer technology and network technology, blockchain technology has emerged. Blockchain is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, and encryption algorithms. Blockchain, in essence, is a decentralized database, a string of data blocks generated by using cryptographic methods. Each data block contains information about a batch of network transactions, which is used to verify the validity (anti-counterfeiting) of the information and generate the next block. Blockchain can include the blockchain underlying platform, the platform product service layer, and the application service layer. Currently, blockchain can be applied to the interactive processing of various resource data.

[0003] Currently, for the resource interaction processing process of blockchain, users need to provide a long digital account for login. However, these digital accounts are long, which are not only difficult to remember but also cannot guarantee the efficiency of account input, and this login method cannot effectively ensure the efficiency and accuracy of the blockchain resource data interaction process. Summary of the Invention

[0004] Based on this, in view of the above technical problems, it is necessary to provide a method, device, computer device, computer-readable storage medium, and computer program product for processing resource data based on blockchain that can improve the efficiency and accuracy of data interaction.

[0005] In a first aspect, this application provides a method for processing resource data based on blockchain, including:

[0006] Respond to the application startup operation of the target object, and start the blockchain application pointed to by the application startup operation in the digital virtual scenario;

[0007] When it is detected that the target object triggers a resource transfer operation through the blockchain application, determine the first identity identifier in the resource transfer information submitted by the target object through the resource transfer operation;

[0008] Based on the first identity identifier and the second identity identifier of the target object in the digital virtual scenario, search for the target account associated with the resource transfer operation in the blockchain application;

[0009] Generate a resource transfer request according to the target account and the resource transfer information;

[0010] Execute the resource transfer request on the blockchain network of the blockchain application to obtain the resource transfer result of the resource transfer operation.

[0011] In a second aspect, the present application further provides a blockchain-based resource data processing device, including:

[0012] An application startup module, configured to respond to an application startup operation of a target object and start the blockchain application pointed to by the application startup operation in a digital virtual scenario;

[0013] An identity extraction module, configured to determine a first identity identifier in the resource transfer information submitted by the target object through the resource transfer operation when it is detected that the target object triggers a resource transfer operation through the blockchain application;

[0014] An account lookup module, configured to look up a target account associated with the resource transfer operation in the blockchain application based on the first identity identifier and a second identity identifier of the target object in the digital virtual scenario;

[0015] A request generation module, configured to generate a resource transfer request according to the target account and the resource transfer information;

[0016] A request processing module, configured to execute the resource transfer request on the blockchain network of the blockchain application to obtain the resource transfer result of the resource transfer operation.

[0017] In a third aspect, the present application further provides a computer device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0018] Respond to an application startup operation of a target object and start the blockchain application pointed to by the application startup operation in a digital virtual scenario;

[0019] When it is detected that the target object triggers a resource transfer operation through the blockchain application, determine a first identity identifier in the resource transfer information submitted by the target object through the resource transfer operation;

[0020] Based on the first identity identifier and a second identity identifier of the target object in the digital virtual scenario, look up a target account associated with the resource transfer operation in the blockchain application;

[0021] Generate a resource transfer request according to the target account and the resource transfer information;

[0022] Execute the resource transfer request on the blockchain network of the blockchain application to obtain the resource transfer result of the resource transfer operation.

[0023] Fourthly, the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0024] In response to an application startup operation of a target object, start the blockchain application pointed to by the application startup operation in a digital virtual scenario;

[0025] When it is detected that the target object triggers a resource transfer operation through the blockchain application, determine a first identity identifier in the resource transfer information submitted by the target object through the resource transfer operation;

[0026] Based on the first identity identifier and a second identity identifier of the target object in the digital virtual scenario, search for a target account associated with the resource transfer operation in the blockchain application;

[0027] Generate a resource transfer request according to the target account and the resource transfer information;

[0028] Execute the resource transfer request on the blockchain network of the blockchain application to obtain a resource transfer result of the resource transfer operation.

[0029] Fifthly, the present application further provides a computer program product, including a computer program. When the computer program is executed by a processor, the following steps are implemented:

[0030] In response to an application startup operation of a target object, start the blockchain application pointed to by the application startup operation in a digital virtual scenario;

[0031] When it is detected that the target object triggers a resource transfer operation through the blockchain application, determine a first identity identifier in the resource transfer information submitted by the target object through the resource transfer operation;

[0032] Based on the first identity identifier and a second identity identifier of the target object in the digital virtual scenario, search for a target account associated with the resource transfer operation in the blockchain application;

[0033] Generate a resource transfer request according to the target account and the resource transfer information;

[0034] Execute the resource transfer request on the blockchain network of the blockchain application to obtain a resource transfer result of the resource transfer operation.

[0035] The above blockchain-based resource data processing method, device, computer device, storage medium, and computer program product start the blockchain application pointed to by the application start operation in the digital virtual scenario by responding to the application start operation of the target object. The target object can start the corresponding blockchain application through the application start operation in the digital virtual scenario and begin to process the resource data related to the blockchain. When it is detected that the target object triggers a resource transfer operation through the blockchain application, the first identity identifier attached by the target object in the resource transfer operation is extracted. Then, the target account associated with the resource transfer operation can be directly found in the blockchain application by combining the first identity identifier and the second identity identifier of the target object in the digital virtual scenario. The target object only needs to provide the first identity identifier to find the target account, which can effectively reduce the difficulty of remembering blockchain account information. Then, a resource transfer request can be generated according to the target account and the resource transfer information. Finally, the resource transfer request is executed on the blockchain network of the blockchain application to obtain the resource transfer result of the resource transfer operation. In this application, after the target object logs in to the blockchain application in the digital virtual scenario, the blockchain application account of the target object is directly restored according to the first identity identifier provided by the target object in the digital virtual scenario. The target object does not need to remember a long blockchain application account, but only needs to provide the first identity identifier that can be used to restore the blockchain application account. The processing of resource transfer in the blockchain can be completed when the target object only provides the first identity identifier, effectively improving the efficiency and accuracy of the blockchain resource data interaction process. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for use in the description of the embodiments or related technologies. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0037] Figure 1 Schematic structural diagram of a distributed system applied to a blockchain system in an embodiment;

[0038] Figure 2 Schematic diagram of a block structure in an embodiment;

[0039] Figure 3 Schematic flowchart of a blockchain-based resource data processing method in an embodiment;

[0040] Figure 4 Schematic diagram of an interface of a blockchain application interaction interface in an embodiment;

[0041] Figure 5Schematic diagram of the information filling page during the account creation process in an embodiment;

[0042] Figure 6 Schematic diagram of the authentication interface in an embodiment;

[0043] Figure 7 Block diagram of the blockchain node in an embodiment;

[0044] Figure 8 Schematic flowchart of the resource data processing method based on blockchain in another embodiment;

[0045] Figure 9 Block diagram of the resource data processing device based on blockchain in an embodiment;

[0046] Figure 10 Internal structure diagram of the computer device in an embodiment. Detailed implementation manners

[0047] In order to make the objectives, technical solutions and advantages of the present application clearer and more understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0048] In this article, it is necessary to understand the following terms:

[0049] Blockchain: Blockchain technology is a distributed ledger technology in the field of information technology. Generally, it consists of consensus, transaction blocks and state data storage, cryptographic identity security, etc. Since the ledger is distributedly stored and the blocks are consensus-based, it has characteristics such as immutability, traceability, and joint maintenance.

[0050] Smart contract: A smart contract is a computer protocol designed to spread, verify, or execute a contract in an information-based manner. Smart contracts allow for trusted transactions without a third party, and these transactions are traceable and irreversible.

[0051] Resource interaction pool: The blockchain resource interaction pool refers to a buffer for storing resource interaction data that has not been packed into blocks in the blockchain network. The resource interactions in the resource interaction pool need to be verified before being packed into the blockchain. That is, the execution process of the resource interactions in the resource interaction pool is as follows: verify the resource interaction information -> call the smart contract to execute the resource interaction -> pack a new block -> broadcast the new block.

[0052] The system involved in the embodiments of the present application may be a distributed system formed by connecting a client and multiple nodes (any form of computing device in the access network, such as a server, user terminal) through network communication.

[0053] Taking the distributed system as a blockchain system as an example, refer to Figure 1 , Figure 1 FIG. is an optional structural schematic diagram of the distributed system 100 provided by the embodiments of the present invention applied to a blockchain system, formed by multiple nodes 200 (any form of computing device in the access network, such as a lease management server, terminal) and a rental terminal device 300 (a device connected to the node, used to provide rental services for users, such as shared bicycles, shared power banks, shared cars, etc.). A peer-to-peer network is formed among the nodes. The peer-to-peer protocol is an application layer protocol running on top of the Transmission Control Protocol (TCP). In a distributed system, any machine such as a server or terminal can join and become a node. A node includes a hardware layer, an intermediate layer, an operating system layer, and an application layer.

[0054] Refer to Figure 1 The functions of each node in the blockchain system shown involve the following functions:

[0055] 1) Routing, the basic function of a node, used to support communication between nodes.

[0056] In addition to the routing function, a node may also have the following functions:

[0057] 2) Application, used to be deployed in the blockchain, implement specific services according to actual business needs, record the data related to the implemented functions to form record data, carry a digital signature in the record data to indicate the source of the task data, and send the record data to other nodes in the blockchain system. When other nodes verify the source and integrity of the record data successfully, the record data is added to the temporary block.

[0058] For example, the services implemented by the application include:

[0059] 2.1) Wallet, used to provide the function of resource interaction, including initiating resource interaction (that is, sending the resource interaction record of the current resource interaction to other nodes in the blockchain system. After other nodes verify successfully, as a response to acknowledging the validity of the resource interaction, the record data of the resource interaction is deposited into the temporary block of the blockchain; of course, the wallet also supports querying the remaining resource amount in the resource address;

[0060] 2.2) Shared ledger, which is used to provide functions such as storage, query, and modification of account data, sends the recorded data of operations on the account data to other nodes in the blockchain system. After other nodes verify its validity, as a response to acknowledging the validity of the account data, the recorded data is stored in a temporary block, and can also send a confirmation to the node that initiated the operation.

[0061] 2.3) Smart contract, a computerized protocol that can execute the terms of a certain contract, implemented by code deployed on the shared ledger for execution when certain conditions are met. According to actual business requirements, the code is used to complete automated resource interactions. For example, query the logistics status of the goods purchased by the buyer, and transfer the corresponding resources of the buyer to the merchant's address after the buyer signs for the goods. Of course, smart contracts are not limited to executing contracts for resource interactions, but can also execute contracts for processing received information.

[0062] 3) Blockchain, including a series of blocks (Block) that are sequentially connected in the order of generation. Once a new block is added to the blockchain, it will not be removed again. The block records the recorded data submitted by nodes in the blockchain system.

[0063] See Figure 2 , Figure 2 is an optional schematic diagram of the block structure provided by the embodiment of the present invention. Each block includes the hash value of the resource interaction record stored in this block (the hash value of this block), and the hash value of the previous block. The blocks are connected through hash values to form a blockchain. In addition, the block can also include information such as the timestamp when the block is generated. Blockchain, essentially a decentralized database, is a string of data blocks generated by using cryptographic methods. Each data block contains relevant information for verifying the validity of its information (anti-counterfeiting) and generating the next block.

[0064] This application is applicable to resource data processing based on the above blockchain network, and can be through, for example Figure 1The digital virtual device 300 shown in the figure enables the digital virtual device 300 to provide a digital virtual scenario for the target object. The target object can start a blockchain application in the digital virtual scenario. At this time, the digital virtual device 300 can respond to the application start operation of the target object and start the blockchain application pointed to by the application start operation in the digital virtual scenario. The digital virtual device 300 is a blockchain node 200 and communicates with other blockchain nodes. When the target object hopes to process resource interaction on the blockchain application, it can trigger a resource transfer operation through the digital virtual device 300 and attach a first identity identifier to the resource transfer operation. When the digital virtual device 300 detects that the target object triggers a resource transfer operation through the blockchain application, it first determines the first identity identifier in the resource transfer information submitted by the target object through the resource transfer operation; based on the first identity identifier and the second identity identifier of the target object in the digital virtual scenario, it searches for the target account associated with the resource transfer operation in the blockchain application; generates a resource transfer request according to the target account and the resource transfer information; and executes the resource transfer request on the blockchain network of the blockchain application to obtain the resource transfer result of the resource transfer operation. The digital virtual device 300 can be a device such as a terminal or a server that can provide a digital virtual scenario. The terminal can be, but is not limited to, various personal computers, laptop computers, smartphones, brain-computer interface devices, tablets, Internet of Things devices, and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart in-vehicle devices, etc. The portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server can be implemented by an independent server or a server cluster composed of multiple servers. The provided digital virtual scenario can specifically include display scenarios and interaction scenarios implemented based on technologies such as Virtual Reality (VR), Augmented Reality (AR), Mix Reality (MR), and Extended Reality (XR), and also include metaverse scenarios implemented based on one or more of these technologies.

[0065] In an exemplary embodiment, as Figure 3 shown, a method for processing resource data based on a blockchain is provided. Taking this method as applied to Figure 1 the digital virtual device 300 in it as an example, the following steps 302 to 310 are included. Among them:

[0066] Step 302, in response to the application start operation of the target object, start the blockchain application pointed to by the application start operation in the digital virtual scenario.

[0067] Among them, the application startup operation refers to the operation of starting a blockchain application in a digital virtual scenario. The target object can, in the digital virtual scenario provided by the digital virtual device 300, operate the digital virtual device 300 through its own will to perform interaction actions, and the digital virtual device 300 can then respond to the application startup operation of the target object and perform the processing of starting the application. The digital virtual scenario specifically refers to the scenarios realized by technologies such as virtual reality, augmented reality, mixed reality, and extended reality. These technologies can provide the target object with an experience based on the physical world or virtual world through the digital virtual device 300, increasing the immersion of the target object. The blockchain application refers to an application program implemented based on a blockchain network. It can access the blockchain network through the blockchain application and perform corresponding resource transfer processing.

[0068] Exemplarily, the target object can operate the digital virtual device 300 to start the digital virtual scenario provided by the digital virtual device, and then browse the scenario information provided by the digital virtual scenario within the digital virtual scenario, or directly interact with the scenario content within the digital virtual scenario. In addition, relevant blockchain application programs are also mounted on the digital virtual scenario, which can be triggered by the interaction actions of the target object. When the target object triggers the application startup operation of the blockchain application within the digital virtual scenario, the digital virtual device 300 can respond to the application startup operation of the target object and start the blockchain application pointed to by the application startup operation in the digital virtual scenario, and display the corresponding blockchain application interface for the target object. The blockchain application interface contains corresponding application startup information, including information such as the login identifier of the blockchain application. In one embodiment, the digital virtual scenario can specifically be a shopping scenario. At this time, the target object can browse various goods displayed in real time within the digital virtual scenario. When the target object hopes to purchase a specified good, it can click the startup button of the blockchain application within the digital virtual scenario to start the blockchain application and complete the resource interaction processing within the blockchain application, thereby completing the process of purchasing the good.

[0069] Step 304, in the case of detecting that the target object triggers a resource transfer operation through the blockchain application, determine the first identity identifier in the resource transfer information submitted by the target object through the resource transfer operation.

[0070] Among them, the resource transfer operation is an operation that transfers and interacts the resources in the target object's account with the resources in other accounts in the blockchain network. For example, when the target object wishes to purchase goods or services, the resource transfer process for the purchase can be realized by triggering the resource transfer operation. The target object can submit corresponding resource transfer information through the resource transfer operation. The resource transfer information carries information such as the interacting object, the amount of resources for interaction, interaction record information, and the first identity identifier of the target object itself. The first identity identifier refers to the identity identifier information directly filled in and submitted by the user from the interface after triggering the resource transfer operation. The first identity identifier is specifically a short number identifier. The account information of the target object in the blockchain application can be restored from different types of identity identifiers of the target object in the digital virtual scenario through the first identity identifier, thereby completing the account login and resource interaction process. The length of the first identity identifier can be specifically set to 4-8 digits to facilitate the target object's memory of the first identity identifier.

[0071] Exemplarily, after the blockchain application is launched by the target object, the digital virtual scenario will display the corresponding operation interface of the blockchain application. The target object can confirm the resource transfer-related information in the operation interface of the blockchain application, and on this basis, fill in various authentication information including the first identity identifier, and can also improve the resource transfer information. After confirmation and filling are completed, the resource transfer operation can be confirmed by clicking the submit button on the operation page, and the content of the operation page is submitted as the resource transfer information to the digital virtual device 300. When the digital virtual device 300 receives the resource transfer information and determines that it has detected that the target object triggers the resource transfer operation through the blockchain application, it then extracts the first identity identifier from the resource transfer information submitted by the target object to find the account used by the target object for resource transfer processing, and at the same time, the first identity identifier can also be used as the voucher information for the resource transfer operation process. In one embodiment, the target object realizes the resource interaction processing in the shopping process in the digital virtual scenario through the blockchain application. After the blockchain application is launched in the digital virtual scenario, the application interaction interface seen by the target object is as Figure 4 shown. The target object can confirm the merchant information, product information, and the resource transfer amount corresponding to the product in the interaction interface, and then fill in information such as the first identity identifier in the corresponding fields of the interface. Then click the confirmation button to trigger the resource transfer operation, and submit the resource transfer information carried by the interface to the digital virtual device 300.

[0072] Step 306: Search for the target account associated with the resource transfer operation in the blockchain application based on the first identity identifier and the second identity identifier of the target object in the digital virtual scenario.

[0073] Among them, the second identity identifier of the target object in the digital virtual scenario refers to the identity identifier data bound by the target object in the digital virtual scenario. The unique target object can be identified in the digital virtual scenario through the second identity identifier. By associating the first identity identifier with the second identity identifier, the target account held by the target object can be associated and found, thereby completing the resource interaction process. The target account refers to the account held by the target object in the blockchain application. The target object may have multiple accounts, and the target account is the account bound to the first identity identifier provided by the target object.

[0074] Exemplarily, when the digital virtual device 300 extracts the first identity identifier from the resource transfer information, it can simultaneously determine the second identity identifier of the target object in the digital virtual scenario. The second identity identifier can be determined through the login information provided by the target object when logging in to the digital virtual scenario, or through the identification information provided by the target object during the digital virtual scenario interaction process. Including digital identification data and biometric identification data, etc., can be used as the second identity identifier to identify the target object. Thus, based on the first identity identifier and the second identity identifier, the target account associated with the resource transfer operation can be found in the blockchain application. In one embodiment, the account identifier of the target object in the blockchain application can be restored based on the first identity identifier and the second identity identifier, so as to find the target account associated with the resource transfer operation, and then the resource transfer operation can be processed based on the authentication information in the resource transfer information.

[0075] Step 308, generate a resource transfer request according to the target account and the resource transfer information.

[0076] Among them, the resource transfer request refers to the process of transferring the data resources in the target account according to the resource interaction amount in the resource transfer information. The resource transfer request can be submitted to the blockchain network, and then the blockchain network executes the resource transfer request to obtain the corresponding resource transfer result.

[0077] Exemplarily, after the digital virtual device 300 finds the target account associated with the resource transfer operation, it can generate a resource transfer request based on the target account and the submitted resource transfer information. The resource transfer request contains information such as the target account information held by the target object, the interaction resource amount, the interaction record, and the interaction object. The resource transfer request can be uploaded to the resource interaction pool of the blockchain network to execute the resource transfer request, thereby obtaining the corresponding resource transfer result and completing the resource interaction process of the target object in the digital virtual scenario.

[0078] Step 310, execute the resource transfer request on the blockchain network of the blockchain application to obtain the resource transfer result of the resource transfer operation.

[0079] Among them, the resource transfer result refers to the result data after the completion of the resource transfer finally recorded in the blockchain network, including record information such as the interaction timestamp involved in the resource transfer process, the accounts of the two parties involved in the interaction, the changes in the resource amounts in the accounts, and the changes in the ownership permissions of the resource data.

[0080] Exemplarily, after obtaining the resource transfer request, it is also necessary to execute the generated resource transfer request through the blockchain network of the blockchain application to achieve resource transfer processing. In order to perform resource transfer between blockchain accounts, the resource transfer request can be executed through a smart contract for resource transfer processing in the blockchain network to achieve the change of resource data in the account and generate corresponding record blocks. During the execution of the resource transfer request, the digital virtual device 300 needs to first upload the lease settlement request to the blockchain network. At this stage, the authentication process of the digital virtual device 300 needs to be completed first. After the authentication is completed, the resource transfer request is saved to the resource interaction pool of the blockchain network. Then, in the resource interaction pool, the resource transfer requests can be processed batch by batch through the resource transfer contract, and the corresponding resource transfer results are obtained and saved to the next block of the blockchain to complete the recording of the resource interaction processing process.

[0081] The above blockchain-based resource data processing method starts the blockchain application pointed to by the application start operation in the digital virtual scenario by responding to the application start operation of the target object. The target object can start the corresponding blockchain application through the application start operation in the digital virtual scenario and start to perform blockchain-related resource data processing. And when it is detected that the target object triggers a resource transfer operation through the blockchain application, the first identity identifier attached by the target object in the resource transfer operation is extracted. Then, the target account associated with the resource transfer operation can be directly found in the blockchain application by combining the first identity identifier and the second identity identifier of the target object in the digital virtual scenario. The target object only needs to provide the first identity identifier to find the target account, which can effectively reduce the difficulty of remembering blockchain account information. Then, a resource transfer request can be generated according to the target account and the resource transfer information; finally, the resource transfer request is executed on the blockchain network of the blockchain application to obtain the resource transfer result of the resource transfer operation. Through this application, after the target object logs in to the blockchain application in the digital virtual scenario, the blockchain application account of the target object can be restored directly according to the first identity identifier provided by the target object in the digital virtual scenario. The target object does not need to remember a long blockchain application account, but only needs to provide the first identity identifier that can be used to restore the blockchain application account, and the processing of resource transfer in the blockchain can be completed when the target object only provides the first identity identifier, effectively improving the efficiency and accuracy of the blockchain resource data interaction process.

[0082] In an exemplary embodiment, step 306 includes: looking up a third identity identifier of the target object in the blockchain application according to the second identity identifier of the target object in the digital virtual scene; and looking up a target account associated with the resource transfer operation in the blockchain application based on the first identity identifier and the third identity identifier.

[0083] Wherein, the third identity identifier corresponds to the second identity identifier of the target object in the digital virtual scene and is bound to the second identity identifier of the target object in the digital virtual scene. Therefore, after determining the second identity identifier, the third identity identifier of the target object in the blockchain application can be looked up in the blockchain network. At the same time, the first identity identifier and the third identity identifier can be combined to look up the target account associated with the resource transfer operation in the blockchain application. In a specific embodiment, the third identity identifier is a digital account ID assigned by the blockchain network to the target object. The third identity identifier can correspond to multiple accounts, and the first identity identifier corresponds to one of the accounts, that is, the target account. The third identity identifier is longer than the first identity identifier and is difficult to fully remember. Therefore, in this application, by binding the third identity identifier to the second identity identifier of the target object in the digital virtual scene, when the target object is in the digital virtual scene, the target account can be determined by combining the second identity identifier of the target object in the digital virtual scene with the first identity identifier input by the target object.

[0084] Exemplarily, the second identity identifier of the target object in the digital virtual scenario will be pre-bound to the identity identifier of the target object in the blockchain application. After obtaining the second identity identifier, the third identity identifier can be found in the blockchain application through the second identity identifier. The third identity identifier is the identifier information uniquely corresponding to the target object in the blockchain application. Therefore, after restoring the third identity identifier, the target account associated with the resource transfer operation specified by the target object can be determined by combining the first identity identifier and the third identity identifier. At this time, the first identity identifier can be used to find the target account associated with the resource transfer operation from the multiple accounts determined by the third identity identifier. At the same time, the first identity identifier can also be used as the authentication information of the target account to perform the authentication process of the resource interaction process. In one embodiment, for the process of determining the target account, it includes: determining multiple object accounts corresponding to the target object based on the third identity identifier; finding the target account associated with the resource transfer operation in the object accounts based on the first identity identifier. After determining the third identity identifier of the target object, multiple object accounts associated with the current target object can be determined in the blockchain network through the third identity identifier. Each object account corresponds to its own first identity identifier. Therefore, the target account associated with the resource transfer operation can be directly found in the object accounts based on the first identity identifier. In this embodiment, the third identity identifier of the target object in the blockchain application is found through the second identity identifier, and then the target account is determined based on the first identity identifier and the third identity identifier. The account identification and authentication process of the complete resource transfer process can effectively improve the authentication efficiency of the resource transfer process based on the blockchain, thereby improving the overall processing efficiency of the resource transfer process.

[0085] In an exemplary embodiment, the method further includes: obtaining an account creation request of the target object for the blockchain application; extracting the first identity identifier in the account creation request; generating a third identity identifier corresponding to the first identity identifier and the second identity identifier.

[0086] Among them, the account creation request refers to the request submitted by the target object when it hopes to create an initial account on the blockchain application. The account creation request carries the first identity identifier, which is bound to the initial account. When the target object submits an account creation request for the blockchain application, the blockchain node that executes the request can determine the second identity identifier of the target object in the blockchain network according to the account creation request. Then, the third identity identifier is generated from the first identity identifier and the second identity identifier.

[0087] Exemplarily, for the third identity identifier uniquely corresponding to the target object, it can be determined by the first identity identifier submitted by the target object and the second identity identifier of the target object in the digital virtual scenario when the target object creates an initial account. When the target object hopes to log in to the blockchain application and create an identity in the blockchain network, it can start the blockchain application in the digital virtual scenario and fill in various types of information including the first identity identifier in the account creation interface of the blockchain application, and then submit the corresponding account creation request. Then the blockchain node will obtain the account creation request of the target object for the blockchain application; extract the first identity identifier in the account creation request; then search for the second identity identifier of the target object in the digital virtual scenario, and combine the first identity identifier and the second identity identifier to directly correspond to the third identity identifier, and use the generated third identity identifier as the digital identity ID of the target object, and at the same time bind the association relationship between the second identity identifier and the third identity identifier. In one embodiment, for the information filling page of the account creation request in the blockchain application, its content can refer to Figure 5 As shown, the target object can fill in the first identity identifier as a short number therein, and at the same time set its own ID in the blockchain network. In addition, personalized content such as interests and avatars can also be set. In another embodiment, for the generation process of the third identity identifier, it can splice the first identity identifier and the second identity identifier to obtain the identification text splicing data; perform digital signature processing on the identification text splicing data to generate the third identity identifier. Digital signature is some data attached to the data unit, or a cryptographic transformation performed on the data unit. This data or transformation allows the recipient of the data unit to confirm the source and integrity of the data unit and protect the data from being forged by others (such as the recipient). By processing based on the identification text splicing data through a specific digital signature algorithm, the identification text splicing data can be converted into a unique third identity identifier, and then this third identity identifier can be used as the identity ID of the target object, while the first identity identifier is the identification information of the first account under this identity ID. In addition, in another embodiment, the target object can also create more accounts based on the third identity identifier when logged in, and set the corresponding first identity identifier for each account. In this embodiment, the corresponding third identity identifier is generated through the account creation request, so as to create the digital identity uniquely corresponding to the target object and multiple blockchain accounts corresponding to the target object based on the third identity identifier, thereby ensuring the efficiency and accuracy of the subsequent resource data processing process.

[0088] In an exemplary embodiment, an identity creation request is generated based on a first identity identifier, a third identity identifier, and the correspondence between the third identity identifier and a second identity identifier; the identity creation request is executed on the blockchain network of the blockchain application to store the first identity identifier and the third identity identifier in the blockchain network.

[0089] Exemplarily, during the process of creating identity information for a blockchain application, after obtaining the first identity identifier and generating the third identity identifier, in order to effectively store the identity information of the target object, an identity creation request can be generated based on the first identity identifier, the third identity identifier, and the correspondence between the third identity identifier and the second identity identifier. In a specific embodiment, corresponding structured data can be generated according to the first identity identifier, the second identity identifier, and the third identity identifier, and then an identity creation request is generated based on the structured data. The third identity identifier in the structured data can be used to represent the identity of the target object in the blockchain application, while the second identity identifier is used to find the third identity identifier during the resource transfer process, and the first identity identifier is used to specify the account corresponding to the structured data. By executing the identity creation request on the blockchain network of the blockchain application, the corresponding structured data can be saved in the block of the blockchain network, completing the processing flow of account information recording. In this embodiment, by executing the identity creation request to store the identity identifier of the target object in the blockchain network, the recognition effect of the identity identifier during the subsequent resource data processing is ensured.

[0090] In an exemplary embodiment, the method further includes: obtaining identity identifier update information, and extracting first identifier update information from the identity identifier update information; generating an identity update request based on the first identifier update information and the second identity identifier of the target object in the digital virtual scenario; executing the identity update request on the blockchain network of the blockchain application to update the stored first identity identifier in the blockchain network.

[0091] Exemplarily, when the target object wishes to update the identity identification information stored in the blockchain network, it may submit identity identification update information to the blockchain node providing the digital virtual scenario. The identity identification update information may include the original first identity identification and the updated first identity identification. Then, the blockchain node generates an identity update request based on the identity identification update information submitted by the target object and the second identity identification of the target object in the digital virtual scenario. The second identity identification can be used to find the third identity identification uniquely corresponding to the target object in the blockchain application, and thus, based on the third identity identification, the update process of the first identity identification data is completed. That is, the identity update request is executed on the blockchain network of the blockchain application. By executing the smart contract, the third identity identification corresponding to the second identity identification is found, so as to determine the multiple accounts corresponding to the target object. Then, among the accounts determined by the original first identity identification that need to update the identification, the identification information of the account is updated to the first identity identification submitted by the target. Finally, the blockchain network updates the stored first identity identification, completing the update process of the first identity identification. In another embodiment, when the target object wishes to create a new sub-account, after logging in to the blockchain application through the first identity identification and the third identity identification, it may submit the first identity identification corresponding to the new sub-account to generate a sub-account creation request. Then, the sub-account creation request is executed through the smart contract corresponding to the sub-account creation of the blockchain network. Based on the existing structured data, the structured data for the newly created sub-account of the target object is copied, and the original first identity identification is replaced with the first identity identification newly submitted by the target object. In this embodiment, the identity identification update information is used to complete the update process of the identity identification of the target object in the blockchain network, thereby effectively ensuring the efficiency and accuracy of the identity identification data update and reducing the security risk brought by the leakage of the identity identification data.

[0092] In an exemplary embodiment, before step 306, it further includes: extracting the identity identification feature data from the resource transfer information; performing identity authentication processing on the target object based on the identity identification feature data to obtain an identity authentication result; and finding the second identity identification of the target object in the digital virtual scenario based on the identity authentication result.

[0093] Among them, the identity identification feature data is the identification data attached by the target object when transferring resources and used to prove the identity information of the target object. The identity identification feature data can be recorded when the target object logs in to the digital virtual scenario and then attached and submitted to the blockchain node for processing when the target object performs a resource transfer operation and submits the resource transfer information. In a specific embodiment, the identity identification feature data can be identification data such as the account password of the digital virtual scenario pre-entered by the target object, or the identification data generated based on the biological characteristics of the target object. The identity of the target object can be identified and authenticated through the object identity feature data.

[0094] Exemplarily, for the process of obtaining the second identity identifier, if the target object has already logged in its identity information in the digital virtual scene, when performing resource transfer processing, the identity identifier feature data is attached to the resource transfer information and submitted to the blockchain node. If the target object has not filled in the login information in the digital virtual scene, a corresponding information filling interface can be popped up during the resource transfer process to prompt the target object to fill in the identity identifier feature data of the target object in the digital virtual scene in the interface, or directly collect the corresponding identity identifier feature data through a sensing device. Therefore, after obtaining the resource transfer information, the identity identifier feature data in the resource transfer information can be directly extracted, and the target object can be authenticated based on the identity identifier feature data to obtain an identity authentication result. If the authentication is successful, it indicates that the target object has a second identity identifier in the digital virtual scene. Therefore, the second identity identifier of the target object in the digital virtual scene can be found based on the identity authentication result. If the authentication fails, it indicates that the target object does not have a second identity identifier in the digital virtual scene. At this time, a corresponding authentication failure message needs to be fed back to the target object in the digital virtual scene. In this embodiment, the second identity identifier of the target object in the digital virtual scene is authenticated and recognized through the identity identifier feature data in the resource transfer information submitted by the target object, thereby effectively improving the processing efficiency and accuracy of the resource data transfer process.

[0095] In an exemplary embodiment, before step 306, it further includes: based on the first identity identifier, searching for multiple identity verification identifiers corresponding to the first identity identifier; after performing partial occlusion processing on the identity verification identifiers, generating an identity verification interface based on the partially occluded identity verification identifiers; obtaining the identifier selection information and identifier filling information fed back by the target object based on the identity verification interface; performing identity authentication processing on the target object based on the identifier selection information and identifier filling information to obtain the second identity identifier of the target object in the digital virtual scene.

[0096] Among them, the identity verification identifier refers to the identifier data specifically set for authenticating the target object. For each blockchain account held by the target object, an identity verification identifier corresponding to the blockchain account can be set, and each identity verification identifier is bound to the first identity identifier of the blockchain account. The identity verification identifier can be a verification code directly set by the target object, or can be automatically generated based on the target object's common login location, historical resource transfer information, account name, or account settings, etc., so as to ensure the uniqueness of the identity verification identifier.

[0097] Exemplarily, when the target object is inconvenient to directly log in in the digital virtual scenario for considerations such as information security and cannot provide the corresponding second identity identifier, in order to implement the identity authentication process for the target object. An identity authentication interface can be generated based on the identity authentication identifier, and the authentication can be completed based on the identity authentication interface. Since the first identity identifiers of the short number type will appear repeatedly, there may be a situation where one first identity identifier corresponds to multiple blockchain accounts. At this time, it is necessary to determine the account held by the target object from multiple blockchain accounts. At this time, the identity authentication identifier can be used to authenticate and identify the account information, so as to perform the identity authentication and the extraction process of the second identity identifier. At this time, based on the first identity identifier provided by the target object, multiple blockchain accounts corresponding to the first identity identifier can be searched, and then the identity authentication identifiers corresponding to these blockchain accounts can be obtained, and partial occlusion processing can be performed on these identity authentication identifiers, and then the verification interface generated by these identity authentication identifiers, such as Figure 6 shown, is fed back to the target object. The target object selects one identifier corresponding to itself from the multiple identity authentication identifiers displayed on the identity authentication interface, and fills in the occluded part in the identity authentication identifier. Thus, the identifier selection information and identifier filling information fed back by the target object based on the identity authentication interface are obtained, and the target object is authenticated based on the identifier selection information and identifier filling information. If the authentication is successful, the second identity identifier of the target object in the digital virtual scenario can be obtained. If the authentication fails, the corresponding authentication failure information needs to be fed back in the digital virtual scenario. In this embodiment, the identifier selection information and identifier filling information submitted by the target object are obtained through the identity authentication interface, so as to complete the identity authentication of the target object, and thus obtain the second identity identifier of the target object in the digital virtual scenario, which can effectively ensure the acquisition efficiency of the second identity identifier, and thus ensure the processing efficiency of the resource data processing process.

[0098] In an exemplary embodiment, the method further includes: uploading a resource transfer request to a resource interaction pool of a blockchain network of a blockchain application; when the block generation condition is met, calling a resource transfer contract through the blockchain network to execute the resource transfer request in the resource interaction pool to obtain a resource transfer result.

[0099] Exemplarily, for the specific process of resource transfer request processing, after generating a resource transfer request, the resource transfer request can be uploaded to the resource interaction pool of the blockchain network of the blockchain application, and then the resource data transfer and settlement processing of these resource transfer requests can be completed in the resource interaction pool. For the resource transfer requests in the resource interaction pool, when the block generation conditions are met, the blockchain nodes will read out all the requests in the resource interaction pool at one time, and perform the corresponding resource interaction settlement processing for the resource transfer requests among them. In one embodiment, block generation can be triggered periodically, for example, triggering block generation processing at a certain time interval. In another embodiment, block generation can be triggered according to the request volume of the resource interaction pool. When the resource volume threshold is reached, block generation can be directly triggered. After triggering block generation, the resource transfer contract can be called through the blockchain network to execute the resource transfer requests in the resource interaction pool to obtain the resource transfer results. Thus, the efficiency and accuracy of the block generation process are ensured. In this embodiment, by using the resource interaction pool to store resource transfer requests and perform related processing of resource transfer, the efficiency and accuracy of transfer and settlement processing in the resource transfer process can be effectively improved.

[0100] In an exemplary embodiment, the method further includes: generating a next block of the blockchain network based on the resource transfer result; sending the next block to each block node of the blockchain network for consensus processing to obtain a consensus result; performing a consensus verification process based on the consensus result; and when the consensus verification process passes, performing a storage process on the next block.

[0101] Among them, consensus processing is a way to process newly generated blocks through a consensus mechanism. As a data structure that stores data in chronological order, the blockchain supports different consensus mechanisms. The consensus mechanism is an important component of blockchain technology. The goal of the blockchain consensus mechanism is to enable all honest nodes to maintain a consistent view of the blockchain, while satisfying two properties: Consistency. The prefix parts of the blockchains saved by all honest nodes are exactly the same. Validity. The information published by a certain honest node will eventually be recorded in the blockchains of all other honest nodes.

[0102] Exemplarily, when the request is processed and the next block is generated, in order to store the newly generated block in the blockchain, the nodes on the blockchain need to complete the consensus processing of the newly generated block. At this time, the next block is sent to each block node in the blockchain network for consensus processing to obtain the consensus results of each block node on the newly generated next block. After obtaining the consensus results feedback by each block node, consensus verification processing can be performed based on the consensus results; if the consensus verification processing passes, the next block can be stored to update the blockchain. If the consensus verification fails, the information indicating the failure of the consensus verification is directly feedback. In this embodiment, the generated next block is verified through consensus verification, so as to save the result obtained from the resource interaction settlement to the blockchain, forming a complete data processing chain and ensuring the traceability of the resource interaction settlement request processing process.

[0103] In one embodiment, the detailed structure of the blockchain node for implementing resource data processing based on the blockchain in this application can be referred to as shown in FIG. 7, including:

[0104] The network module, which is the module for the blockchain node to interact with other blockchain nodes in the blockchain network; the network module exposes a unified port externally and provides an access method. It can implement the functions of requesting to chain and data query. Requesting to chain can transmit the resource interaction settlement request to the module of the blockchain network. Data query means that based on the query statement sent by the user, the data in the blockchain is queried and feedback is provided.

[0105] The authentication module, which is the module for the blockchain node to verify the permissions of the request. It includes a signature verification module, which is the module for the blockchain node to verify the signature of the request. It also includes a permission verification module, which is the module for the blockchain node to judge the permissions of the requester's identity, that is, whether there is permission to perform the request operation.

[0106] The resource interaction pool module, which is the module for caching various requests and executing them.

[0107] The smart contract execution module, which is used to execute various smart contracts in the blockchain network. For example, the module can, when the block generation conditions are met, call the resource transfer contract in the blockchain network to execute the resource transfer request in the resource interaction pool to obtain the resource transfer result. That is, data processing is performed by executing the smart contract.

[0108] The block generation module, which is the module for generating a new block after all requests in the current block are executed.

[0109] The consensus module, which is the module for the blockchain node to conduct consensus voting.

[0110] Storage module, a module for a blockchain node to store blockchain data. It includes a state database, which is a database for storing the latest variable states. It also includes a block ledger, which is a text file for storing blocks.

[0111] Digital virtual scene module, which is used to provide a digital virtual scene for a target object.

[0112] Human-computer interaction module, which is used to provide a human-computer interaction interface. The target object can perform human-computer interaction processing within the digital virtual scene through the human-computer interaction module.

[0113] This application also provides an application scenario, which applies the above-mentioned blockchain-based resource data processing method. Specifically, the application of the blockchain-based resource data processing method in this application scenario is as follows:

[0114] After the user logs in to the digital virtual scene and hopes to shop within the digital virtual scene, the relevant processing of resource data for the shopping process can be achieved through this application. First, the user can complete the identity authentication process on the digital virtual device by means of face or fingerprint. After the identity authentication is completed, the digital virtual device can provide digital virtual scene services for the user. The user can browse commodity information within the digital virtual scene. When the target object selects the commodity to be purchased, a resource transfer process for the purchased commodity can be initiated. At this time, the blockchain application is awakened in response to the user's operation, that is, the blockchain application pointed to by the application start operation is started under the digital virtual scene, and a corresponding commodity purchase interface is fed back based on the commodity selected by the user. The user can confirm the commodity information on the commodity purchase interface and fill in the short number identification information corresponding to their own resource account in the identification field, and then submit the completed commodity purchase interface. Then the digital virtual device can be used as a blockchain node to process the transfer of resource data. First, after the digital virtual device detects that the user has submitted the commodity purchase interface, it can confirm that the user has triggered the resource transfer operation. At this time, the resource transfer information can be extracted from the commodity purchase interface, and the first identity identifier therein can be identified. At the same time, the identity identifier feature data submitted by the user when logging in to the digital virtual scene is extracted from the resource transfer information; the user is authenticated based on the identity identifier feature data to obtain an identity authentication result; the second identity identifier of the user in the digital virtual scene is found based on the identity authentication result. Then the third identity identifier of the user in the blockchain application is found according to the second identity identifier of the user in the digital virtual scene; multiple object accounts corresponding to the target object are determined based on the third identity identifier; the target account associated with the resource transfer operation is found in the object accounts based on the first identity identifier. After the target account is determined, a resource transfer request can be generated according to the target account and the resource transfer information. Finally, the resource transfer request is uploaded to the resource interaction pool of the blockchain network of the blockchain application; when the block generation condition is met, the resource transfer contract is called through the blockchain network to execute the resource transfer request in the resource interaction pool to obtain a resource transfer result. After obtaining the resource transfer structure, a next block of the blockchain network can also be generated based on the resource transfer result; the next block is sent to each block node of the blockchain network for consensus processing to obtain a consensus result; consensus verification processing is performed based on the consensus result; when the consensus verification processing passes, the next block is stored. Thus, the resource transfer result is saved to the blockchain network.

[0115] In a specific embodiment, it further includes processing flows such as account creation and account update. For the account creation process, the user can submit an application on the operation interface of the blockchain application, and the blockchain node obtains the user's account creation request for the blockchain application; extracts the first identity identifier in the account creation request; splices the first identity identifier and the second identity identifier to obtain the identification text splicing data; performs digital signature processing on the identification text splicing data to generate the third identity identifier. Finally, based on the first identity identifier, the third identity identifier, and the corresponding relationship between the third identity identifier and the second identity identifier, an identity creation request is generated; and the identity creation request is executed on the blockchain network of the blockchain application to store the first identity identifier and the third identity identifier in the blockchain network. For the account update process, after the user logs in, the user can submit identity identifier update information through the blockchain application, and the blockchain node obtains the identity identifier update information and extracts the first identifier update information in the identity identifier update information; generates an identity update request based on the first identifier update information and the second identity identifier of the target object in the digital virtual scene; executes the identity update request on the blockchain network of the blockchain application to update the stored first identity identifier in the blockchain network.

[0116] In one embodiment, the complete process of resource data processing based on the blockchain in this application can be referred to Figure 8 as shown in

[0117] Step 801, in response to the application startup operation of the target object, start the blockchain application pointed to by the application startup operation in the digital virtual scene. Step 803, when it is detected that the target object triggers a resource transfer operation through the blockchain application, determine the first identity identifier in the resource transfer information submitted by the target object through the resource transfer operation. Step 805, extract the identity identifier feature data in the resource transfer information. Step 807, perform identity authentication processing on the target object based on the identity identifier feature data to obtain an identity authentication result. Step 809, search for the second identity identifier of the target object in the digital virtual scene based on the identity authentication result. Step 811, search for the third identity identifier of the target object in the blockchain application according to the second identity identifier of the target object in the digital virtual scene. Step 813, determine multiple object accounts corresponding to the target object based on the third identity identifier. Step 815, search for the target account associated with the resource transfer operation in the object accounts based on the first identity identifier. Step 817, generate a resource transfer request according to the target account and the resource transfer information. Step 819, execute the resource transfer request on the blockchain network of the blockchain application to obtain the resource transfer result of the resource transfer operation.

[0118] It should be understood that although the steps in the flowcharts involved in the above embodiments are shown in sequence according to the indications of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, the execution of these steps has no strict order limit, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.

[0119] Based on the same inventive concept, an embodiment of the present application also provides a blockchain-based resource data processing device for implementing the above-mentioned blockchain-based resource data processing method. The solution provided by this device to solve the problem is similar to the solution described in the above method. Therefore, the specific limitations in one or more embodiments of the following blockchain-based resource data processing device can refer to the limitations on the blockchain-based resource data processing method in the above text, and will not be repeated here.

[0120] In an exemplary embodiment, as Figure 9 shown, a blockchain-based resource data processing device is provided, including:

[0121] An application start module 902, configured to respond to an application start operation of a target object and start a blockchain application pointed to by the application start operation in a digital virtual scenario.

[0122] An identity extraction module 904, configured to determine a first identity identifier in the resource transfer information submitted by the target object through the resource transfer operation when detecting that the target object triggers a resource transfer operation through the blockchain application.

[0123] An account lookup module 906, configured to look up a target account associated with the resource transfer operation in the blockchain application based on the first identity identifier and a second identity identifier of the target object in the digital virtual scenario.

[0124] A request generation module 908, configured to generate a resource transfer request according to the target account and the resource transfer information.

[0125] A request processing module 910, configured to execute the resource transfer request on the blockchain network of the blockchain application to obtain a resource transfer result of the resource transfer operation.

[0126] In one embodiment, the account lookup module 906 is specifically configured to: look up the third identity identifier of the target object in the blockchain application according to the second identity identifier of the target object in the digital virtual scene; and look up the target account associated with the resource transfer operation in the blockchain application based on the first identity identifier and the third identity identifier.

[0127] In one embodiment, it further includes an account creation module, which is configured to: obtain an account creation request of the target object for the blockchain application; extract the first identity identifier from the account creation request; and generate a third identity identifier corresponding to the first identity identifier and the second identity identifier.

[0128] In one embodiment, the account creation module is specifically configured to: splice the first identity identifier and the second identity identifier to obtain identification text splicing data; and perform digital signature processing on the identification text splicing data to generate a third identity identifier.

[0129] In one embodiment, it further includes an account information storage module, which is configured to: generate an identity creation request based on the first identity identifier, the third identity identifier, and the correspondence between the third identity identifier and the second identity identifier; and execute the identity creation request on the blockchain network of the blockchain application to store the first identity identifier and the third identity identifier in the blockchain network.

[0130] In one embodiment, it further includes an information update module, which is configured to: obtain identity identifier update information, and extract the first identifier update information from the identity identifier update information; generate an identity update request based on the first identifier update information and the second identity identifier of the target object in the digital virtual scene; and execute the identity update request on the blockchain network of the blockchain application to update the stored first identity identifier in the blockchain network.

[0131] In one embodiment, the account lookup module 906 is specifically configured to: determine multiple object accounts corresponding to the target object based on the third identity identifier; and look up the target account associated with the resource transfer operation in the object accounts based on the first identity identifier.

[0132] In one embodiment, it further includes a first scene identifier acquisition module, which is configured to: extract identity identifier feature data from the resource transfer information; perform identity authentication processing on the target object based on the identity identifier feature data to obtain an identity authentication result; and look up the second identity identifier of the target object in the digital virtual scene based on the identity authentication result.

[0133] In one embodiment, it further includes a second scenario identification obtaining module, which is configured to: based on the first identity identification, search for multiple authentication identifications corresponding to the first identity identification; perform partial occlusion processing on the authentication identifications, and then generate an authentication interface based on the partially occluded authentication identifications; obtain the identification selection information and identification filling information fed back by the target object based on the authentication interface; perform identity authentication processing on the target object based on the identification selection information and identification filling information to obtain the second identity identification of the target object in the digital virtual scenario.

[0134] In one embodiment, the request processing module 910 is specifically configured to: upload the resource transfer request to the resource interaction pool of the blockchain network of the blockchain application; when the block generation condition is met, call the resource transfer contract through the blockchain network to execute the resource transfer request in the resource interaction pool to obtain a resource transfer result.

[0135] In one embodiment, it further includes a block generation module, which is configured to: generate the next block of the blockchain network based on the resource transfer result; send the next block to each block node of the blockchain network for consensus processing to obtain a consensus result; perform consensus verification processing based on the consensus result; when the consensus verification processing passes, perform storage processing on the next block.

[0136] Each module in the above blockchain-based resource data processing device can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.

[0137] In an exemplary embodiment, a computer device is provided. The computer device can be a server, and its internal structure diagram can be as Figure 10As shown in the figure. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O), and a communication interface. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data related to the processing of resource data in the blockchain. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals through a network connection. When the computer program is executed by the processor, it implements a method for processing resource data based on the blockchain.

[0138] Those skilled in the art can understand that Figure 10 the structure shown in the figure is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.

[0139] In one embodiment, a computer device is further provided, including a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the steps in the above method embodiments are implemented.

[0140] In one embodiment, a computer-readable storage medium is provided, storing a computer program. When the computer program is executed by the processor, the steps in the above method embodiments are implemented.

[0141] In one embodiment, a computer program product or a computer program is provided. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the steps in the above method embodiments.

[0142] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.

[0143] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memories. Non-volatile memories can include read-only memory (ROM), magnetic tapes, floppy disks, flash memories, optical memories, high-density embedded non-volatile memories, resistive random access memories (ReRAM), magnetoresistive random access memories (MRAM), ferroelectric random access memories (FRAM), phase change memories (PCM), graphene memories, etc. Volatile memories can include random access memory (RAM) or external cache memories, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., without limitation. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, data processing logics based on quantum computing, etc., without limitation.

[0144] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this specification.

[0145] The above-described embodiments merely represent several implementation manners of the present application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the appended claims.

Claims

1. A resource data processing method based on blockchain, characterized in that, The method includes: In response to an application startup operation of a target object, start the blockchain application pointed to by the application startup operation in a digital virtual scenario; When detecting that the target object triggers a resource transfer operation through the blockchain application, determine a first identity identifier in the resource transfer information submitted by the target object through the resource transfer operation; Based on the first identity identifier and a second identity identifier of the target object in the digital virtual scenario, search for a target account associated with the resource transfer operation in the blockchain application; Generate a resource transfer request according to the target account and the resource transfer information; Execute the resource transfer request on the blockchain network of the blockchain application to obtain a resource transfer result of the resource transfer operation.

2. The method according to claim 1, characterized in that The searching for a target account associated with the resource transfer operation in the blockchain application based on the first identity identifier and the second identity identifier of the target object in the digital virtual scenario includes: Search for a third identity identifier of the target object in the blockchain application according to the second identity identifier of the target object in the digital virtual scenario; Based on the first identity identifier and the third identity identifier, search for a target account associated with the resource transfer operation in the blockchain application.

3. The method according to claim 2, wherein The method further includes: Obtain an account creation request of the target object for the blockchain application; Extract the first identity identifier in the account creation request; Generate a third identity identifier corresponding to the first identity identifier and the second identity identifier.

4. The method according to claim 3, wherein The generating a third identity identifier corresponding to the first identity identifier and the second identity identifier includes: Perform a splicing process on the first identity identifier and the second identity identifier to obtain identification text splicing data; Perform a digital signature process on the identification text splicing data to generate a third identity identifier.

5. The method according to claim 3, wherein The method further includes: Generate an identity creation request based on the first identity identifier, the third identity identifier, and the correspondence between the third identity identifier and the second identity identifier; Execute the identity creation request on the blockchain network of the blockchain application to store the first identity identifier and the third identity identifier in the blockchain network.

6. The method according to claim 5, characterized in that, The method further includes: Obtain identity identifier update information, and extract a first identifier update information in the identity identifier update information; Generate an identity update request based on the first identifier update information and the second identity identifier of the target object in the digital virtual scenario; Execute the identity update request on the blockchain network of the blockchain application to update the stored first identity identifier in the blockchain network.

7. The method according to claim 2, wherein The searching for a target account associated with the resource transfer operation in the blockchain application based on the first identity identifier and the third identity identifier includes: Determine a plurality of object accounts corresponding to the target object based on the third identity identifier; Search for a target account associated with the resource transfer operation in the object accounts based on the first identity identifier.

8. The method according to claim 1, characterized in that Before looking up the target account associated with the resource transfer operation in the blockchain application based on the first identity identifier and the second identity identifier of the target object in the digital virtual scene, the following steps are also included: Extract the identity identifier feature data from the resource transfer information; Perform identity authentication processing on the target object based on the identity identifier feature data to obtain an identity authentication result; Look up the second identity identifier of the target object in the digital virtual scene based on the identity authentication result.

9. The method according to claim 1, characterized in that, Before looking up the target account associated with the resource transfer operation in the blockchain application based on the first identity identifier and the second identity identifier of the target object in the digital virtual scene, the following steps are also included: Based on the first identity identifier, look up multiple identity verification identifiers corresponding to the first identity identifier; After performing partial occlusion processing on the identity verification identifiers, generate an identity verification interface based on the partially occluded identity verification identifiers; Obtain the identifier selection information and identifier filling information fed back by the target object based on the identity verification interface; Perform identity authentication processing on the target object based on the identifier selection information and the identifier filling information to obtain the second identity identifier of the target object in the digital virtual scene.

10. The method according to any one of claims 1 to 9, characterized in that Executing the resource transfer request on the blockchain network of the blockchain application to obtain the resource transfer result of the resource transfer operation includes: Upload the resource transfer request to the resource interaction pool of the blockchain network of the blockchain application; When the block generation condition is met, call the resource transfer contract through the blockchain network to execute the resource transfer request in the resource interaction pool to obtain a resource transfer result.

11. The method according to claim 10, wherein The method further includes: Generate the next block of the blockchain network based on the resource transfer result; Send the next block to each block node of the blockchain network for consensus processing to obtain a consensus result; Perform consensus verification processing based on the consensus result; When the consensus verification processing passes, perform storage processing on the next block.

12. A resource data processing device based on blockchain, characterized in that, The device includes: An application startup module, configured to respond to an application startup operation of a target object and start the blockchain application pointed to by the application startup operation in a digital virtual scene; An identifier extraction module, configured to determine the first identity identifier in the resource transfer information submitted by the target object through the resource transfer operation when detecting that the target object triggers a resource transfer operation through the blockchain application; An account lookup module, configured to look up the target account associated with the resource transfer operation in the blockchain application based on the first identity identifier and the second identity identifier of the target object in the digital virtual scene; A request generation module, configured to generate a resource transfer request according to the target account and the resource transfer information; A request processing module, configured to execute the resource transfer request on the blockchain network of the blockchain application to obtain the resource transfer result of the resource transfer operation.

13. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 11.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 11.

15. A computer program product comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 11.