A virtual resource transfer method, device, electronic device and storage medium

By generating transfer paths and updating resource identifiers on the virtual resource transfer page, the problem of low efficiency of virtual resource transfer in the prior art is solved, and the effect of simplifying the process and improving efficiency is achieved.

CN111476562BActive Publication Date: 2025-06-06TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202010275555.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-09
Publication Date
2025-06-06
Estimated Expiration
2040-04-09

AI Technical Summary

Technical Problem

In the prior art, virtual resource transfer is relatively low, and it requires withdrawal of cash and purchase of virtual products through bank card, which is complex and inefficient.

Method used

By displaying the virtual resource transfer page, including resource transfer quantity control, resource transfer confirmation control and virtual resource account management control, the transfer path for virtual resource transfer is generated based on user operations, and the resource identification is updated according to resource transfer permissions, and the resource transfer is finally completed when the user confirms.

Benefits of technology

The virtual resource transfer process is simplified and the efficiency of resource transfer is improved. Users do not need to withdraw cash to their bank card before purchasing virtual products.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111476562B_ABST
    Figure CN111476562B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a virtual resource transfer method, device, electronic device and storage medium. The virtual resource transfer method includes: displaying a resource transfer page corresponding to a first virtual product, determining the resources to be transferred in the virtual resource account; when a touch operation on a management control is detected, generating a transfer path for the virtual resource transfer according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account; updating the resource identifier of the resource to be transferred according to the resource transfer authority and the transfer path to obtain the updated resource to be transferred; when a trigger operation on a resource transfer confirmation control is detected, transferring the updated resource to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product. Therefore, the efficiency of resource transfer can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a virtual resource transfer method, device, electronic equipment and storage medium. Background Art

[0002] With the development of economic globalization and Internet technology, more and more financial services have emerged. For example, users can transfer funds from their bank cards to the resource management account of instant messaging software. The resource management account is a monetary fund resource management account provided to users by the merchants of instant messaging software in cooperation with some fund companies. Users can not only use the virtual resources in the resource management account for daily consumption, but also use the virtual resources in the resource management account to purchase financial products on the financial service platform. However, in the current purchasing method, the efficiency of virtual resource transfer is low. Summary of the invention

[0003] The embodiment of the present invention provides a virtual resource transfer method and device, which can improve the efficiency of resource transfer.

[0004] An embodiment of the present invention provides a virtual resource transfer method, comprising:

[0005] Displaying a resource transfer page corresponding to the first virtual product, the resource transfer page including a resource transfer quantity control, a resource transfer confirmation control, and a management control for a virtual resource account, the virtual resource account being a resource account for the second virtual product;

[0006] Determining resources to be transferred in the virtual resource account based on a quantity editing operation on a resource transfer quantity control;

[0007] When a touch operation on the management control is detected, a transfer path for virtual resource transfer is generated according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account;

[0008] The resource identifier of the resource to be transferred is updated according to the resource transfer authority and the transfer path to obtain the updated resource to be transferred;

[0009] When a trigger operation on the resource transfer confirmation control is detected, the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product.

[0010] Accordingly, an embodiment of the present invention further provides a virtual resource transfer device, comprising:

[0011] A first display module, configured to display a resource transfer page corresponding to the first virtual product, wherein the resource transfer page includes a resource transfer quantity control, a resource transfer confirmation control, and a management control for a virtual resource account, wherein the virtual resource account is a resource account for the second virtual product;

[0012] A determination module, configured to determine resources to be transferred in the virtual resource account based on a quantity editing operation on a resource transfer quantity control;

[0013] A generating module, configured to generate a transfer path for virtual resource transfer according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account when a touch operation on the management control is detected;

[0014] An updating module, used for updating the resource identifier of the resource to be transferred according to the resource transfer authority and the transfer path, and obtaining the updated resource to be transferred;

[0015] The transfer module is used to transfer the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product when a trigger operation on the resource transfer confirmation control is detected.

[0016] Optionally, in some embodiments of the present invention, the transfer module includes:

[0017] an acquiring unit, configured to acquire a product type of the first virtual product when a trigger operation on a resource transfer confirmation control is detected;

[0018] An extraction unit, used to extract the account identifier of the virtual resource account and the transfer path from the resource identifier corresponding to the updated resource to be transferred;

[0019] a determining unit, configured to determine a transfer method of resource transfer according to a product type and an account identifier of the first virtual product;

[0020] The transfer unit is used to transfer the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path and the determined transfer method.

[0021] Optionally, in some embodiments of the present invention, the determining unit includes:

[0022] An acquisition subunit, used to acquire a set of virtual products corresponding to the account identifier;

[0023] A first detection subunit, configured to detect, based on a product type of the first virtual product, whether the first virtual product is a virtual product in the virtual product set;

[0024] a determination subunit, configured to determine that the transfer mode of resource transfer is an unlimited transfer mode when the first virtual product is a virtual product in the virtual product set, and to determine that the transfer mode of resource transfer is a limited transfer mode when the first virtual product is not a virtual product in the virtual product set;

[0025] The transfer unit is specifically used to: transfer the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path and the unlimited transfer method, or; transfer the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path and the limited transfer method.

[0026] Optionally, in some embodiments of the present invention, the transfer unit is specifically used for:

[0027] Check whether the time node of the triggering operation is within the resource transfer period;

[0028] When the time node is within the resource transfer period, the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path;

[0029] When the time node is not within the resource transfer period, a resource transfer certificate is generated, and the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path within the next resource transfer period.

[0030] Optionally, in some embodiments of the present invention, the transfer unit is specifically used for:

[0031] Obtaining the total amount of resource transfer corresponding to the limit transfer method;

[0032] Check whether the total amount of resource transfer is greater than the resources to be transferred after the update;

[0033] When the total amount of resource transfer is greater than or equal to the updated resources to be transferred, the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path;

[0034] When the total amount of resource transfer is less than the updated resources to be transferred, virtual resources corresponding to the total amount of resource transfer are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path.

[0035] Optionally, in some embodiments of the present invention, the generating module is specifically used for:

[0036] Determining a transfer node when transferring virtual resources according to the resource transfer authority corresponding to the virtual resource account;

[0037] Based on the account identifier of the virtual resource account and the transfer node, a transfer path for the virtual resource transfer is generated.

[0038] Optionally, in some embodiments of the present invention, the update module is specifically used to:

[0039] Constructing transfer information of virtual resource transfer according to the resource transfer authority and the transfer path;

[0040] The transfer information is added to the resource identifier of the resource to be transferred to obtain the updated resource to be transferred.

[0041] Optionally, in some embodiments of the present invention, the first display module is specifically used for:

[0042] Collecting product information of the first virtual product;

[0043] A resource transfer page corresponding to the first virtual product is displayed according to the product information, wherein the resource transfer page includes a resource transfer quantity control, a resource transfer confirmation control, and a virtual resource account management control.

[0044] Optionally, in some embodiments of the present invention, a second display module is further included, and the second display module is specifically used for:

[0045] displaying a product selection list including a first virtual product;

[0046] When a selection operation for a first virtual product in the product selection list is detected, a resource transfer page corresponding to the first virtual product is displayed.

[0047] An embodiment of the present invention first displays a resource transfer page corresponding to a first virtual product, wherein the resource transfer page includes a resource transfer quantity control, a resource transfer confirmation control, and a management control of a virtual resource account, wherein the virtual resource account is a resource account of a second virtual product. Then, based on a quantity editing operation on the resource transfer quantity control, resources to be transferred are determined in the virtual resource account. When a touch operation on the management control is detected, a transfer path for the virtual resource transfer is generated according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account. Then, the resource identifier of the resource to be transferred is updated according to the resource transfer authority and the transfer path to obtain the updated resource to be transferred. When a trigger operation on the resource transfer confirmation control is detected, the updated resource to be transferred is transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product. Therefore, the efficiency of resource transfer can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0049] Figure 1a is a scenario schematic diagram of a virtual resource transfer method provided by an embodiment of the present invention;

[0050] Figure 1b It is an optional structural diagram of the distributed system 100 provided in an embodiment of the present invention applied to a blockchain system;

[0051] Figure 1c It is an optional schematic diagram of a block structure (Block Structure) provided in an embodiment of the present invention;

[0052] Figure 1d is a flow chart of a virtual resource transfer method provided by an embodiment of the present invention;

[0053] Figure 1e is a schematic diagram of a transfer path of a virtual resource transfer method provided by an embodiment of the present invention;

[0054] Figure 1f is another transfer path schematic diagram of the virtual resource transfer method provided by an embodiment of the present invention;

[0055] Figure 2a is another flow chart of the virtual resource transfer method provided by an embodiment of the present invention;

[0056] Figure 2b is another scenario schematic diagram of the virtual resource transfer method provided by an embodiment of the present invention;

[0057] Figure 2c is a schematic diagram of a product selection list of a virtual resource transfer method provided by an embodiment of the present invention;

[0058] Figure 2d It is a schematic diagram of a resource transfer page of a first virtual product of a virtual resource transfer method provided by an embodiment of the present invention;

[0059] Figure 3a It is a structural diagram of a first implementation mode of a virtual resource transfer device provided by an embodiment of the present invention;

[0060] Figure 3b is a structural diagram of a second implementation of the virtual resource transfer device provided in an embodiment of the present invention;

[0061] Figure 4It is a schematic diagram of the structure of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0062] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0063] The embodiments of the present invention provide a virtual resource transfer method, device, electronic device and storage medium.

[0064] Among them, the virtual resource transfer device can be specifically integrated into devices such as terminals or servers. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. The terminal can be a smart phone, tablet computer, laptop computer, desktop computer, smart speaker, smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, and this application does not limit this.

[0065] See also Figure 1aThe embodiment of the present invention provides a virtual resource transfer system, hereinafter referred to as the transfer management system, the transfer system includes a user, a terminal and a server, the virtual resource transfer device is integrated in the terminal, and an instant messaging software is run on the terminal. When the user purchases a first virtual product through the instant messaging software, the display screen of the terminal can display a resource transfer page corresponding to the first virtual product. The resource transfer page includes a resource transfer quantity control, a resource transfer confirmation control and a management control of a virtual resource account. The virtual resource account is a resource account of a second virtual product. Then, based on the user's quantity editing operation on the resource transfer quantity control, the resources to be transferred are determined in the virtual resource account. For example, on the resource transfer page The number of shares required to purchase the first virtual product is input as 1000, then the number of virtual resources that need to be transferred to purchase 1000 shares of the first virtual product (i.e., the resources to be transferred) is determined in the virtual resource account; when a user's touch operation on the management control is detected, a transfer path for the virtual resource transfer is generated according to the account ID of the virtual resource account and the resource transfer authority corresponding to the virtual resource account; then, the resource ID of the resource to be transferred is updated according to the resource transfer authority and the transfer path to obtain the updated resources to be transferred; when a user's trigger operation on the resource transfer confirmation control is detected, the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product.

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

[0067] Take the distributed system as the blockchain system as an example, see Figure 1b , Figure 1b This is an optional structural diagram of the distributed system 100 provided by the embodiment of the present invention applied to the blockchain system. It is formed by multiple nodes (any form of computing devices in the access network, such as servers, user terminals) and clients, and the nodes form a peer-to-peer (Peer To Peer, P2P) network. The P2P protocol is an application layer protocol running on the Transmission Control Protocol (Transmission Control Protocol, TCP) protocol. In a distributed system, any machine such as a server or a terminal can join and become a node. The node includes a hardware layer, an intermediate layer, an operating system layer, and an application layer.

[0068] See also Figure 1b The functions of each node in the blockchain system shown include:

[0069] (1) Routing: A basic function of a node, used to support communication between nodes.

[0070] (2) Applications, which are deployed in the blockchain to implement specific businesses according to actual business needs, record data related to the implementation of the functions to form record data, carry digital signatures in the record data to indicate the source of the task data, and send the record data to other nodes in the blockchain system so that other nodes can add the record data to a temporary block when they successfully verify the source and integrity of the record data.

[0071] The services implemented by the application may include:

[0072] The wallet is used to provide the function of conducting electronic currency transactions, including initiating transactions, that is, sending the transaction record of the current transaction to other nodes in the blockchain system. After successful verification by other nodes, as a response to acknowledge the validity of the transaction, the transaction record data is stored in the temporary block of the blockchain; of course, the wallet also supports querying the remaining electronic currency in the electronic currency address;

[0073] The shared ledger is used to provide functions such as storage, query and modification of account data. The record data of the operation on the account data is sent to other nodes in the blockchain system. After the other nodes verify the validity, they will store the record data in a temporary block as a response to acknowledge the validity of the account data. They can also send confirmation to the node that initiated the operation.

[0074] Smart contracts are computerized protocols that can execute the terms of a contract. They are implemented through code deployed on a shared ledger that is executed when certain conditions are met. The code is used to complete automated transactions based on actual business needs, such as querying the logistics status of the goods purchased by the buyer and transferring the buyer's electronic currency to the merchant's address after the buyer signs for the goods. Of course, smart contracts are not limited to executing contracts for transactions, but can also execute contracts for processing received information.

[0075] For example, specifically, in the virtual resource transfer method provided in the embodiment of the present invention, when the virtual resource transfer meets the preset conditions, the code can be used to complete the automated virtual resource transfer according to the actual business needs, and the resource transfer record generated during the virtual resource transfer can also be sent to other nodes in the blockchain system. After the other nodes successfully verify, as a response to acknowledge the validity of the resource transfer, the resource transfer record generated during the virtual resource transfer is stored in a temporary block of the blockchain.

[0076] (3) Blockchain, including a series of blocks that are connected to each other in the order of their generation. Once a new block is added to the blockchain, it will not be removed. The block records the record data submitted by the nodes in the blockchain system.

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

[0078] Compared with the existing virtual resource transfer scheme, when transferring virtual resources, this scheme can transfer virtual resources from the virtual resource account to the resource receiving account corresponding to the first virtual product according to the account ID of the virtual resource account and the resource transfer authority corresponding to the virtual resource account. There is no need to withdraw the virtual resources in the first resource account to the user's bank card and then purchase the first virtual product with the bank card. Therefore, the process of virtual resource transfer is simplified, thereby improving the efficiency of resource transfer.

[0079] It should be noted that the order of description of the following embodiments is not intended to limit the priority order of the embodiments.

[0080] A method for transferring virtual resources comprises: displaying a resource transfer page corresponding to a first virtual product, determining resources to be transferred in a virtual resource account based on a quantity editing operation on a resource transfer quantity control, generating a transfer path for the virtual resource transfer according to an account identifier of the virtual resource account and resource transfer authority corresponding to the virtual resource account when a touch operation on a management control is detected, updating a resource identifier of the resource to be transferred according to the resource transfer authority and the transfer path to obtain updated resources to be transferred, and transferring the updated resources to be transferred from the virtual resource account to a resource receiving account corresponding to the first virtual product when a trigger operation on a resource transfer confirmation control is detected.

[0081] See also Figure 1d , Figure 1d A schematic diagram of a flow chart of a virtual resource transfer method provided by an embodiment of the present invention. The specific flow of the virtual resource transfer method may be as follows:

[0082] 101. Display a resource transfer page corresponding to a first virtual product.

[0083] The resource transfer page includes a resource transfer quantity control, a resource transfer confirmation control, and a virtual resource account management control. The virtual resource account is a resource account of the second virtual product. For example, specifically, the corresponding resource transfer page can be displayed according to the product information of the first virtual product. That is, optionally, in some embodiments, the step of "displaying the resource transfer page corresponding to the first virtual product" can specifically include:

[0084] (11) collecting product information of the first virtual product;

[0085] (12) displaying a resource transfer page corresponding to the first virtual product according to the product information;

[0086] Among them, the product information of the first virtual product is provided by the platform that provides the product, for example, it can be a third-party service agency. Furthermore, the resource transfer page can also include the purchase rate of the first virtual product and the corresponding third-party service agency, etc., which can be set according to actual conditions.

[0087] Optionally, in an embodiment of the present invention, the first virtual product may be any virtual product under the third-party service platform. For example, the third-party service agency may be a third-party fund service agency, which corresponds to a third-party fund service platform (hereinafter referred to as the service platform). The service platform includes multiple virtual products. During the actual virtual resource transfer process, a product selection list including all virtual products may be displayed, and the first virtual product may be determined from the product selection list based on the user's selection. That is, optionally, in some embodiments, it further includes:

[0088] (21) displaying a product selection list including the first virtual product;

[0089] (22) When a selection operation for a first virtual product in the product selection list is detected, a resource transfer page corresponding to the first virtual product is displayed.

[0090] Among them, the style of the product selection list can be pre-set by the interface design engineer, and the selection operation can be triggered by the user, for example, the user clicks the control corresponding to the first virtual product, or it can be triggered by the server, for example, the server can determine the virtual product XX as the first virtual product in the product selection list according to the preset strategy, which depends on the actual situation and will not be described in detail here. It should be noted that the present invention is only described by taking the third-party fund platform as an example, and it is not intended to limit the invention.

[0091] 102. Based on the quantity editing operation on the resource transfer quantity control, determine the resources to be transferred in the virtual resource account.

[0092] Among them, the number of virtual resources to be transferred can be determined based on the number of virtual resources purchased for the first virtual product input by the user, such as "1,000 yuan"; of course, the number of resources to be transferred can also be determined based on the share of the first virtual product purchased input by the user, for example, buying "100 copies of the first virtual product", and then based on the unit price of the first virtual product at the time of purchase, to obtain the resources to be transferred.

[0093] 103. When a touch operation on the management control is detected, a transfer path for the virtual resource transfer is generated according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account.

[0094] Among them, the virtual resource account is an account provided to the user by the platform corresponding to the second virtual product, and can be obtained by the user after registering in advance on the platform corresponding to the second virtual product (hereinafter referred to as the service platform). The service party registers with the information processing platform through the terminal. After successful registration, the service platform allocates resource transfer authority and account identification to the virtual resource account. The account identification carries the account type of the virtual resource account and the resource transfer situation of the virtual resource account in the historical period. Different account types authorize different types of first virtual products. For example, the types of first virtual products authorized by virtual resource account A are "money fund" and "index fund", and the type of first virtual product authorized by virtual resource account B is "money fund". Resource transfer authority refers to whether a resource account has the authority to directly transfer virtual resources to another resource account. If yes, it means that it has the right to transfer resources, otherwise it means that it has no right to directly transfer resources. If the type of the first virtual product authorized by virtual resource account A is "money fund" and "index fund", but the resource transfer permission of virtual resource account A indicates that virtual resource account A has the permission to transfer virtual resources to the first virtual product of the "money fund" type, then virtual resource account A can directly transfer virtual resources to the first virtual product of the "money fund" type. Figure 1e As shown, the netting settlement method is also called the net settlement method. The netting settlement method for virtual products only counts the net amount of each virtual product after the receivables and payables of the netting settlement are offset. The main advantage of the netting settlement method is that it can simplify the operating procedures and improve the settlement efficiency. It should be noted that when the conditions for resource transfer settlement are not met during the transfer of virtual resources, in this embodiment, the conversion accounting method can be used, that is, the transferred resources are recorded, and the corresponding virtual resources are transferred when the conditions for resource transfer are met. For details, please refer to the following.

[0095] It should be noted that the management control of the virtual resource account is configured to select the account identification of the virtual resource account and the resource transfer authority corresponding to the virtual resource account. Of course, the management control of the virtual resource account can also be configured to select the name of the virtual resource account, wherein the management control may include a virtual button and an account information area. The name of the virtual resource account can be displayed in the account information area. When the user clicks the virtual button, the graphic style of the virtual button can be adjusted so that the user knows that the virtual resource account has been selected. Alternatively, when the user clicks the virtual button, a prompt message of the selected virtual resource account is displayed on the resource transfer page. The specific settings are made according to the actual situation.

[0096] In this embodiment, a transfer path for virtual resource transfer can be generated according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account. The resource transfer path is used to indicate the nodes through which the transferred resources pass. If the types of the first virtual product authorized by the virtual resource account A are "money fund" and "index fund", the resource transfer authority of the virtual resource account A indicates that the virtual resource account A has the authority to transfer virtual resources to the first virtual product of the "money fund" type, and the type of the target first virtual product B is "money fund", then the transfer path is: virtual resource account of the virtual resource account A-resource receiving account of the target first virtual product B; if the types of the first virtual product authorized by the virtual resource account A are "money fund" and "index fund", the resource transfer authority of the virtual resource account A indicates that the virtual resource account A has the authority to transfer virtual resources to the first virtual product of the "money fund" type, and the type of the target first virtual product B is "index fund", because the virtual resource account A cannot directly transfer virtual resources to the first virtual product of the "index fund" type, in this embodiment, please refer to Figure 1f , the resources to be transferred can be transferred to the resource receiving account of the first virtual product through the managed resource account. Then, the transfer path is the virtual resource account of virtual resource account A-managed resource account-resource receiving account of the target first virtual product B, and the server where the managed resource account is located also needs to verify the virtual resource account A. When the verification passes, the transfer path is generated.

[0097] 104. Update the resource identifier of the resource to be transferred according to the resource transfer authority and the transfer path, and obtain the updated resource to be transferred.

[0098] The method for updating the resource identifier of the resource to be transferred may include:

[0099] The first method is to add, that is, to add the transfer information during the virtual transfer to the resource identifier of the resource to be transferred, so as to facilitate the subsequent transfer of the transferred virtual resource from the resource receiving account of the first virtual product to the virtual resource account, that is, optionally, in some embodiments, the step of "updating the resource identifier of the resource to be transferred according to the resource transfer authority and the transfer path to obtain the updated resource to be transferred" may specifically include:

[0100] (31) Constructing transfer information of virtual resource transfer according to resource transfer authority and transfer path;

[0101] (32) Add the transfer information to the resource identifier of the resource to be transferred to obtain the updated resource to be transferred.

[0102] For example, according to the resource transfer authority, transfer path and parameter information during resource transfer (such as transfer time and the type of resources to be transferred), transfer information for virtual resource transfer is constructed, and then the transfer information is added to the resource identifier of the resource to be transferred to obtain the updated resource to be transferred. Specifically, the transfer information can be encoded and the encoded transfer information is added to the encoding information of the resource identifier of the resource to be transferred to obtain the updated resource to be transferred, wherein the type of resources to be transferred can include virtual currency type and electronic currency type. Electronic currency is an encrypted serial number representing cash, which can be used to represent the currency values ​​of various amounts in reality; virtual currency is based on cryptography and modern network peer-to-peer network borrowing technology, generated by complex mathematical algorithms, and is a special electronic and digital network cryptographic currency, such as game coins in game applications, etc.

[0103] The second method is: replacement, that is, replacing the resource identifier of the resource to be transferred according to the resource transfer authority and the transfer path to obtain the updated resource to be transferred. Specifically, the second identifier of the resource to be transferred can be constructed according to the resource transfer authority, the transfer path and the resource identifier of the resource to be transferred (hereinafter referred to as the first identifier), wherein the difference between the first identifier and the second identifier is that the second identifier carries information such as the resource transfer authority and the transfer path, so as to facilitate the subsequent transfer of the transferred virtual resources from the resource receiving account of the first virtual product to the virtual resource account.

[0104] It should be noted that the difference between the updated resources to be transferred and the resources to be transferred is that the resource identifiers of the two are different, and the updated identifier to be transferred carries the transfer path and resource transfer authority.

[0105] 105. When a trigger operation on the resource transfer confirmation control is detected, the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product.

[0106] For example, specifically, the transfer method of resource transfer can be determined according to the product type of the first virtual product and the account identifier of the virtual resource account, and then, based on the transfer path and the determined transfer method, the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product. That is, optionally, in some embodiments, the step of "when a trigger operation for a resource transfer confirmation control is detected, transferring the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product" can specifically include:

[0107] (41) when a trigger operation on the resource transfer confirmation control is detected, obtaining a product type of the first virtual product;

[0108] (42) extracting the account identifier and transfer path of the virtual resource account from the resource identifier corresponding to the updated resource to be transferred;

[0109] (43) determining a transfer method for resource transfer according to the product type of the first virtual product and the account identifier;

[0110] (44) Based on the transfer path and the determined transfer method, the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product.

[0111] The product type of the first virtual product may be "money fund", "index fund" or "futures fund", etc. Different product types correspond to different risks. For example, the 7-day annualized rate of the first virtual product with the product type of "money fund" is 3.9%, while the 7-day annualized rate of the first virtual product with the product type of "index fund" is 5.4%. Therefore, it is possible to determine whether the user corresponding to the virtual resource account has the ability to bear the risk of the first virtual product according to the account identifier. For example, the personal information filled in when the virtual resource account is registered, such as occupation, income and work address, etc., can be obtained according to the account identifier. The transactions of the virtual resource account in the historical time period can also be obtained according to the account identifier to determine whether the user corresponding to the virtual resource account has the ability to bear the risk of the first virtual product. The virtual product set corresponding to the account identifier can also be obtained, wherein the virtual product set is generated together when the virtual resource account is registered, and includes multiple virtual products that meet the risks that the virtual resource account can bear. That is, optionally, in some embodiments, the step of "determining the transfer method of resource transfer according to the product type of the first virtual product and the account identifier" can specifically include:

[0112] (51) Obtain a set of virtual products corresponding to the account identifier;

[0113] (52) based on the product type of the first virtual product, detecting whether the first virtual product is a virtual product in the virtual product set;

[0114] (53) When the first virtual product is a virtual product in the virtual product set, determining that the transfer mode of resource transfer is an unlimited transfer mode;

[0115] (54) When the first virtual product is not a virtual product in the virtual product set, the transfer method of resource transfer is determined to be a quota transfer method.

[0116] Among them, in this embodiment, the limit transfer method refers to that the amount of virtual resource transfer is limited. Taking the purchase of funds through electronic currency as an example, the limit transfer method indicates that the total amount of purchase shall not exceed 1,000 yuan. Then, the user can only purchase the first virtual product with an amount less than or equal to 1,000 yuan through the virtual resource account. If the user enters a value greater than the transferable virtual resource quantity in the resource transfer quantity control, the words "transfer failed" and the like can be displayed on the terminal interface to inform the user. In order to improve the efficiency of resource transfer, the virtual resources corresponding to the limit transfer method can be transferred. That is, optionally, in some embodiments, the step of "transferring the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path and the unlimited transfer method" can specifically include:

[0117] (61) Obtaining the total amount of resource transfer corresponding to the limit transfer method;

[0118] (62) Check whether the total amount of resource transfer is greater than the updated resources to be transferred;

[0119] (63) when the total amount of resource transfer is greater than or equal to the updated resources to be transferred, transferring the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path;

[0120] (64) When the total amount of resource transfer is less than the updated resources to be transferred, virtual resources corresponding to the total amount of resource transfer are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path.

[0121] Furthermore, for some virtual products, the settlement method is calculated based on the trading day. For example, for domestic funds, the general settlement method is "T+1". T refers to the purchase date. A user buys 100 shares of a fund on T day. On T day, the transaction is only registered, and the 100 shares of the fund are not transferred to the account, so they cannot be sold on T day. On "T+1" day, the 100 shares of the fund have been transferred to the user's corresponding account. In addition, the "T+1" settlement method refers to transactions that occur within the time allowed for resource transfer. For example, the time allowed for resource transfer is 9:00 a.m. every day. to 2 p.m., if the user buys a fund after 3 p.m. on March 1, then the date on which the user successfully buys the fund is 9 a.m. on March 2. Therefore, when a trigger operation for the resource transfer confirmation control is detected, it is necessary to obtain the time node of the trigger operation, and then, based on the time node and the transfer path, the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product, that is, optionally, in some embodiments, the step of "based on the transfer path and the unlimited transfer method, the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product" may specifically include:

[0122] (71) Detect whether the time node of the triggering operation is within the resource transfer period;

[0123] (72) when the time node is within the resource transfer period, transferring the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path;

[0124] (73) When the time node is not within the resource transfer period, a resource transfer certificate is generated, and within the next resource transfer period, the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path.

[0125] It is understandable that in the quota mode, before transferring the virtual resources in the virtual resource account, it is also possible to detect whether the time node of the triggering operation is within the resource transfer period. For details, please refer to the above embodiment and will not be repeated here.

[0126] An embodiment of the present invention first displays a resource transfer page corresponding to a first virtual product, the resource transfer page including a resource transfer quantity control, a resource transfer confirmation control and a management control of a virtual resource account, the virtual resource account being the resource account of a second virtual product, and then, based on a quantity editing operation on the resource transfer quantity control, determining resources to be transferred in the virtual resource account, and when a touch operation on the management control is detected, generating a transfer path for the virtual resource transfer according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account, and then, updating the resource identifier of the resource to be transferred according to the resource transfer authority and the transfer path to obtain the updated resource to be transferred, and when a trigger operation on the resource transfer confirmation control is detected, transferring the updated resource to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product. Compared with the existing virtual resource transfer scheme, when transferring virtual resources, the embodiment of the present invention can transfer virtual resources from the virtual resource account to the resource receiving account corresponding to the first virtual product according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account. There is no need to withdraw the virtual resources in the first resource account to the user's bank card and then purchase the first virtual product through the bank card. Therefore, the process of virtual resource transfer is simplified, thereby improving the efficiency of resource transfer.

[0127] The method described in the embodiment will be further described in detail below with examples.

[0128] In this embodiment, the virtual resource transfer device is specifically integrated in a terminal as an example for description.

[0129] See also Figure 2a , a virtual resource transfer method, the specific process can be as follows:

[0130] 201. The terminal displays a resource transfer page corresponding to a first virtual product.

[0131] The resource transfer page includes a resource transfer quantity control, a resource transfer confirmation control, and a management control for a virtual resource account, where the virtual resource account is a resource account of the second virtual product.

[0132] 202. The terminal determines the resources to be transferred in the virtual resource account based on the quantity editing operation on the resource transfer quantity control.

[0133] Among them, the terminal can determine the resources to be transferred according to the number of virtual resources entered by the user to purchase the first virtual product. For example, if the number of virtual resources entered by the user to purchase the first virtual product is "1,500 yuan", then the terminal can determine that the resources to be transferred are the virtual resources corresponding to 1,500 yuan in the virtual resource account according to the user's input.

[0134] 203. When the terminal detects a touch operation on the management control, the terminal generates a transfer path for the virtual resource transfer according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account.

[0135] In this embodiment, the terminal may generate a transfer path for virtual resource transfer according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account, where the resource transfer path is used to indicate the nodes through which the transferred resources pass.

[0136] 204. The terminal updates the resource identifier of the resource to be transferred according to the resource transfer authority and the transfer path, and obtains the updated resource to be transferred.

[0137] For example, the terminal may add the transfer information during virtual transfer to the resource identifier of the resource to be transferred, so as to subsequently transfer the transferred virtual resource from the resource receiving account of the first virtual product to the virtual resource account.

[0138] 205. When the terminal detects a trigger operation on the resource transfer confirmation control, the terminal transfers the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product.

[0139] For example, specifically, the terminal can determine the transfer method of resource transfer based on the product type of the first virtual product and the account identifier of the virtual resource account, and then transfer the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path and the determined transfer method.

[0140] To facilitate understanding of the virtual resource transfer method provided by the embodiment of the present invention, please refer to Figure 2b , there is an instant messaging software running on the terminal. When the user wants to purchase a fund product (Fund Q) through the instant messaging software, the user can call the fund service platform of the fund service company corresponding to Fund Q through the instant messaging software. After the call is successful, the terminal can display a product selection list including Fund Q, such as Figure 2c As shown, when the terminal detects the user's selection operation on fund Q in the product selection list, the resource transfer page of fund Q is displayed, such as Figure 2dAs shown, the resource transfer page includes a resource transfer quantity control, a resource transfer confirmation control and a management control for a virtual resource account; based on the quantity editing operation on the resource transfer quantity control, the resources to be transferred are determined in the virtual resource account, and the terminal updates the resource identifier of the resources to be transferred according to the resource transfer authority and the transfer path to obtain the updated resources to be transferred. When a touch operation on the management control is detected, according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account, when the terminal detects a trigger operation on the resource transfer confirmation control, the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product. For example, if the purchase amount entered by the user is 1,000 yuan, the terminal transfers 1,000 yuan of virtual resources from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the resource transfer authority.

[0141] As can be seen from the above, the terminal of the embodiment of the present invention first displays the resource transfer page corresponding to the first virtual product, the resource transfer page includes a resource transfer quantity control, a resource transfer confirmation control and a management control of the virtual resource account, the virtual resource account is the resource account of the second virtual product, and then, the terminal determines the resources to be transferred in the virtual resource account based on the quantity editing operation on the resource transfer quantity control, when the terminal detects the touch operation on the management control, the terminal generates a transfer path for the virtual resource transfer according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account, then, the terminal updates the resource identifier of the resource to be transferred according to the resource transfer authority and the transfer path, and obtains the updated resources to be transferred, when the terminal detects the trigger operation on the resource transfer confirmation control, the terminal transfers the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product. Compared with the existing virtual resource transfer scheme, when transferring virtual resources in the embodiment of the present invention, the terminal can transfer the virtual resources from the virtual resource account to the resource receiving account corresponding to the first virtual product according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account. There is no need to withdraw the virtual resources in the first resource account to the user's bank card and then purchase the first virtual product through the bank card. Therefore, the process of virtual resource transfer is simplified, thereby improving the efficiency of resource transfer.

[0142] To facilitate better implementation of the virtual resource transfer method of the embodiment of the present invention, the embodiment of the present invention also provides a virtual resource transfer device (referred to as transfer device) based on the above. The meanings of the terms are the same as those in the above virtual resource transfer method, and the specific implementation details can refer to the description in the method embodiment.

[0143] See also Figure 3a , Figure 3aA schematic diagram of the structure of a virtual resource transfer device provided in an embodiment of the present invention, wherein the processing device may include a first display module 301, a determination module 302, a generation module 303, an update module 304 and a transfer module 305, which may be specifically as follows:

[0144] The first display module 301 is used to display a resource transfer page corresponding to the first virtual product.

[0145] The resource transfer page includes a resource transfer quantity control, a resource transfer confirmation control, and a management control for a virtual resource account, where the virtual resource account is a resource account of the second virtual product.

[0146] Optionally, in some embodiments, the first display module 301 may be specifically used to: collect product information of the first virtual product, and display a resource transfer page corresponding to the first virtual product according to the product information.

[0147] Optionally, in some embodiments, see Figure 3b The transfer device also includes a second display module 305, which can be specifically used to: display a product selection list containing the first virtual product, and when a selection operation for the first virtual product in the product selection list is detected, display a resource transfer page corresponding to the first virtual product.

[0148] A determination module 302, configured to determine the resources to be transferred in the virtual resource account based on the quantity editing operation on the resource transfer quantity control;

[0149] Among them, the determination module 302 can determine the number of resources to be transferred based on the number of virtual resources purchased for the first virtual product input by the user, such as "1,000 yuan"; of course, the determination module 302 can also determine the number of resources to be transferred based on the share of the first virtual product purchased input by the user, for example, buying "100 copies of the first virtual product", and then the determination module 302 determines the number of resources to be transferred based on the unit price of the first virtual product at the time of purchase to obtain the resources to be transferred.

[0150] The generating module 303 is used to generate a transfer path for the virtual resource transfer according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account when a touch operation on the management control is detected.

[0151] For example, the generation module 303 may generate a transfer path for virtual resource transfer according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account, where the resource transfer path is used to indicate the nodes through which the transferred resources pass.

[0152] Optionally, in some embodiments, the generation module 303 can be specifically used to: determine the transfer node when the virtual resource is transferred according to the resource transfer authority corresponding to the virtual resource account, and generate a transfer path for the virtual resource transfer based on the account identifier and transfer node of the virtual resource account.

[0153] The updating module 304 is used to update the resource identifier of the resource to be transferred according to the resource transfer authority and the transfer path to obtain the updated resource to be transferred.

[0154] For example, specifically, the update module 304 can add the transfer information during the virtual transfer to the resource identifier of the resource to be transferred, so as to facilitate the subsequent transfer of the transferred virtual resources from the resource receiving account of the first virtual product to the virtual resource account, that is, optionally, in some embodiments, the update module 304 can be specifically used to: construct the transfer information of the virtual resource transfer according to the resource transfer authority and the transfer path, and add the transfer information to the resource identifier of the resource to be transferred to obtain the updated resource to be transferred.

[0155] The transfer module 305 is used to transfer the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product when a trigger operation on the resource transfer confirmation control is detected.

[0156] For example, specifically, the transfer module 305 can determine the transfer method of resource transfer based on the product type of the first virtual product and the account identifier of the virtual resource account. Then, the transfer module 305 transfers the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path and the determined transfer method.

[0157] Optionally, in some embodiments, the transfer module 305 may specifically include:

[0158] An acquiring unit, configured to acquire a product type of the first virtual product when a trigger operation on the resource transfer confirmation control is detected;

[0159] An extraction unit, used to extract the account identifier of the virtual resource account and the transfer path from the resource identifier corresponding to the updated resource to be transferred;

[0160] A determination unit, configured to determine a transfer method of resource transfer according to a product type of the first virtual product and an account identifier;

[0161] The transfer unit is used to transfer the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path and the determined transfer method.

[0162] Optionally, in some embodiments, the determining unit may specifically include:

[0163] An acquisition subunit is used to acquire a set of virtual products corresponding to an account identifier;

[0164] A first detection subunit, configured to detect whether the first virtual product is a virtual product in the virtual product set based on the product type of the first virtual product;

[0165] a determination subunit, configured to determine that the transfer mode of resource transfer is an unlimited transfer mode when the first virtual product is a virtual product in the virtual product set, and to determine that the transfer mode of resource transfer is a limited transfer mode when the first virtual product is not a virtual product in the virtual product set;

[0166] The transfer unit can be specifically used to: transfer the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path and the unlimited transfer method, or; transfer the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path and the limited transfer method.

[0167] Optionally, in some embodiments, the transfer unit can be specifically used to: detect whether the time node of the triggering operation is within the resource transfer period; when the time node is within the resource transfer period, the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path; when the time node is not within the resource transfer period, a resource transfer certificate is generated, and within the next resource transfer period, the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path.

[0168] Optionally, in some embodiments, the transfer unit can be specifically used to: obtain the total resource transfer amount corresponding to the limit transfer method, detect whether the total resource transfer amount is greater than the updated resources to be transferred, and when the total resource transfer amount is greater than or equal to the updated resources to be transferred, transfer the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path; when the total resource transfer amount is less than the updated resources to be transferred, transfer the virtual resources corresponding to the total resource transfer amount from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path.

[0169] It can be seen that the first display module 301 of the embodiment of the present invention displays the resource transfer page corresponding to the first virtual product, and the resource transfer page includes a resource transfer quantity control, a resource transfer confirmation control and a management control of the virtual resource account, and the virtual resource account is the resource account of the second virtual product. Then, the determination module 302 determines the resources to be transferred in the virtual resource account based on the quantity editing operation on the resource transfer quantity control. When the generation module 303 detects a touch operation on the management control, it generates a transfer path for the virtual resource transfer according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account. Then, the update module 304 updates the resource identifier of the resource to be transferred according to the resource transfer authority and the transfer path to obtain the updated resource to be transferred. When the transfer module 305 detects a trigger operation on the resource transfer confirmation control, it transfers the virtual resources from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the resource transfer authority and the resource quantity. Compared with the existing virtual resource transfer scheme, in the embodiment of the present invention, when transferring virtual resources, the update module 304 updates the resource identifier of the resource to be transferred, and the transfer module 305 transfers the virtual resources from the virtual resource account to the resource receiving account corresponding to the first virtual product according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account. There is no need to withdraw the virtual resources in the first resource account to the user's bank card and then purchase the first virtual product through the bank card. Therefore, the process of virtual resource transfer is simplified, thereby improving the efficiency of resource transfer.

[0170] Accordingly, an embodiment of the present invention further provides a terminal, such as Figure 4 As shown, the terminal may include a radio frequency (RF) circuit 401, a memory 402 including one or more computer-readable storage media, an input unit 403, a display unit 404, a sensor 405, an audio circuit 406, a wireless fidelity (WiFi) module 407, a processor 408 including one or more processing cores, and a power supply 409. Those skilled in the art will appreciate that Figure 4 The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0171] The RF circuit 401 can be used for receiving and sending signals during information transmission or calls. In particular, after receiving the downlink information of the base station, it is handed over to one or more processors 408 for processing; in addition, the data related to the uplink is sent to the base station. Usually, the RF circuit 401 includes but is not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM) card, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, etc. In addition, the RF circuit 401 can also communicate with the network and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to the Global System of Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.

[0172] The memory 402 can be used to store software programs and modules. The processor 408 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the terminal (such as audio data, a phone book, etc.), etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 402 may also include a memory controller to provide the processor 408 and the input unit 403 with access to the memory 402.

[0173] The input unit 403 can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, in a specific embodiment, the input unit 403 may include a touch-sensitive surface and other input devices. The touch-sensitive surface, also known as a touch display screen or a touch pad, can collect the user's touch operations on or near it (such as the user's operation on or near the touch-sensitive surface using any suitable object or accessory such as a finger, a stylus, etc.), and drive the corresponding connection device according to a pre-set program. Optionally, the touch-sensitive surface may include a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into the touch point coordinates, and then sends it to the processor 408, and can receive and execute the command sent by the processor 408. In addition, the touch-sensitive surface can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic waves. In addition to the touch-sensitive surface, the input unit 403 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as a volume control key, a switch key, etc.), a trackball, a mouse, a joystick, and the like.

[0174] The display unit 404 can be used to display information input by the user or information provided to the user and various graphical user interfaces of the terminal, which can be composed of graphics, text, icons, videos and any combination thereof. The display unit 404 may include a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc. Further, the touch-sensitive surface may cover the display panel. When the touch-sensitive surface detects a touch operation on or near it, it is transmitted to the processor 408 to determine the type of touch event. Subsequently, the processor 408 provides a corresponding visual output on the display panel according to the type of touch event. Although in Figure 4 In the embodiment, the touch-sensitive surface and the display panel are used as two independent components to realize input and output functions, but in some embodiments, the touch-sensitive surface and the display panel can be integrated to realize input and output functions.

[0175] The terminal may also include at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and / or backlight when the terminal is moved to the ear. As a type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used for applications that identify the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors that can be configured in the terminal, such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., they will not be repeated here.

[0176] The audio circuit 406, the speaker, and the microphone can provide an audio interface between the user and the terminal. The audio circuit 406 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 406 and converted into audio data, and then the audio data is output to the processor 408 for processing, and then sent to another terminal through the RF circuit 401, or the audio data is output to the memory 402 for further processing. The audio circuit 406 may also include an earplug jack to provide communication between an external headset and the terminal.

[0177] WiFi is a short-range wireless transmission technology. The terminal can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 407. It provides users with wireless broadband Internet access. Figure 4 A WiFi module 407 is shown, but it is understandable that it is not an essential component of the terminal and can be omitted as required without changing the essence of the invention.

[0178] Processor 408 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire mobile phone. By running or executing software programs and / or modules stored in memory 402 and calling data stored in memory 402, it executes various functions of the terminal and processes data, thereby performing overall detection of the mobile phone. Optionally, processor 408 may include one or more processing cores; preferably, processor 408 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into processor 408.

[0179] The terminal also includes a power supply 409 (such as a battery) for supplying power to each component. Preferably, the power supply can be logically connected to the processor 408 through a power management system, so that the power management system can manage charging, discharging, and power consumption management. The power supply 409 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0180] Although not shown, the terminal may also include a camera, a Bluetooth module, etc., which will not be described in detail here. Specifically in this embodiment, the processor 408 in the terminal will load the executable files corresponding to the processes of one or more applications into the memory 402 according to the following instructions, and the processor 408 will run the applications stored in the memory 402 to achieve various functions:

[0181] The resource transfer page corresponding to the first virtual product is displayed, and based on the quantity editing operation on the resource transfer quantity control, the resources to be transferred are determined in the virtual resource account. When a touch operation on the management control is detected, a transfer path for the virtual resource transfer is generated according to the account ID of the virtual resource account and the resource transfer authority corresponding to the virtual resource account. The resource ID of the resource to be transferred is updated according to the resource transfer authority and the transfer path to obtain the updated resources to be transferred. When a trigger operation on the resource transfer confirmation control is detected, the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product.

[0182] An embodiment of the present invention first displays a resource transfer page corresponding to a first virtual product, the resource transfer page including a resource transfer quantity control, a resource transfer confirmation control and a management control of a virtual resource account, the virtual resource account being the resource account of a second virtual product, and then, based on a quantity editing operation on the resource transfer quantity control, determining resources to be transferred in the virtual resource account, and when a touch operation on the management control is detected, generating a transfer path for the virtual resource transfer according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account, and then, updating the resource identifier of the resource to be transferred according to the resource transfer authority and the transfer path to obtain the updated resource to be transferred, and when a trigger operation on the resource transfer confirmation control is detected, transferring the updated resource to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product. Compared with the existing virtual resource transfer scheme, when transferring virtual resources, the embodiment of the present invention can transfer virtual resources from the virtual resource account to the resource receiving account corresponding to the first virtual product according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account. There is no need to withdraw the virtual resources in the first resource account to the user's bank card and then purchase the first virtual product through the bank card. Therefore, the process of virtual resource transfer is simplified, thereby improving the efficiency of resource transfer.

[0183] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0184] To this end, an embodiment of the present invention provides a storage medium in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any virtual resource transfer method provided in the embodiment of the present invention. For example, the instructions can execute the following steps:

[0185] The resource transfer page corresponding to the first virtual product is displayed, and based on the quantity editing operation on the resource transfer quantity control, the resources to be transferred are determined in the virtual resource account. When a touch operation on the management control is detected, a transfer path for the virtual resource transfer is generated according to the account ID of the virtual resource account and the resource transfer authority corresponding to the virtual resource account. The resource ID of the resource to be transferred is updated according to the resource transfer authority and the transfer path to obtain the updated resources to be transferred. When a trigger operation on the resource transfer confirmation control is detected, the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product.

[0186] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0187] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0188] Since the instructions stored in the storage medium can execute the steps in any virtual resource transfer method provided in the embodiments of the present invention, the beneficial effects that can be achieved by any virtual resource transfer method provided in the embodiments of the present invention can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0189] The above is a detailed introduction to a virtual resource transfer method, device, terminal and storage medium provided in an embodiment of the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A virtual resource transfer method, It is characterized in that include: Displaying a resource transfer page corresponding to the first virtual product, the resource transfer page including a resource transfer quantity control, a resource transfer confirmation control, and a virtual resource account management control, the virtual resource account being a resource account provided to the user by the platform corresponding to the second virtual product; Determining resources to be transferred in the virtual resource account based on a quantity editing operation on the resource transfer quantity control; When a touch operation on the management control is detected, a transfer path for virtual resource transfer is generated according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account; wherein the resource transfer authority refers to whether a resource account can directly transfer virtual resources to another resource account; the transfer path is used to indicate the nodes through which the transferred resources pass; The resource identifier of the resource to be transferred is updated according to the resource transfer authority and the transfer path to obtain the updated resource to be transferred; When a trigger operation on the resource transfer confirmation control is detected, the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product.

2. The method according to claim 1, It is characterized in that When a trigger operation for the resource transfer confirmation control is detected, transferring the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product includes: When the trigger operation on the resource transfer confirmation control is detected, obtaining the product type of the first virtual product; Extracting the account identifier and transfer path of the virtual resource account from the resource identifier corresponding to the updated resource to be transferred; Determining a transfer method for resource transfer according to the product type and account identifier of the first virtual product; Based on the transfer path and the determined transfer method, the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product.

3. The method according to claim 2, It is characterized in that The determining the transfer method of resource transfer according to the product type and account identifier of the first virtual product includes: Obtaining a set of virtual products corresponding to the account identifier; Based on the product type of the first virtual product, detecting whether the first virtual product is a virtual product in a set of virtual products; When the first virtual product is a virtual product in a virtual product set, determining the transfer mode of resource transfer to be an unlimited transfer mode; When the first virtual product is not a virtual product in the virtual product set, determining that the transfer mode of resource transfer is a quota transfer mode; The transferring of the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path and the determined transfer method includes: transferring the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path and the unlimited transfer method, or; transferring the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path and the limited transfer method.

4. The method according to claim 3, It is characterized in that The transferring of the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path and the unlimited transfer method includes: Check whether the time node of the triggering operation is within the resource transfer period; When the time node is within the resource transfer period, the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path; When the time node is not within the resource transfer period, a resource transfer certificate is generated, and the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path within the next resource transfer period.

5. The method according to claim 3, It is characterized in that The transferring of the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path and the limit transfer method includes: Obtaining the total amount of resource transfer corresponding to the limit transfer method; Detecting whether the total amount of resource transfer is greater than the updated resources to be transferred; When the total amount of resource transfer is greater than or equal to the updated resources to be transferred, the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path; When the total amount of resource transfer is less than the updated resources to be transferred, virtual resources corresponding to the total amount of resource transfer are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path.

6. The method according to any one of claims 1 to 5, It is characterized in that When a touch operation on the management control is detected, a transfer path for virtual resource transfer is generated according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account, including: Determining a transfer node when transferring virtual resources according to the resource transfer authority corresponding to the virtual resource account; Based on the account identifier of the virtual resource account and the transfer node, a transfer path for the virtual resource transfer is generated.

7. The method according to any one of claims 1 to 5, It is characterized in that The updating of the resource identifier of the resource to be transferred according to the resource transfer authority and the transfer path to obtain the updated resource to be transferred includes: Constructing transfer information of virtual resource transfer according to the resource transfer authority and the transfer path; The transfer information is added to the resource identifier of the resource to be transferred to obtain the updated resource to be transferred.

8. The method according to any one of claims 1 to 5, It is characterized in that The displaying of the resource transfer page corresponding to the first virtual product includes: Collecting product information of the first virtual product; A resource transfer page corresponding to the first virtual product is displayed according to the product information, wherein the resource transfer page includes a resource transfer quantity control, a resource transfer confirmation control, and a virtual resource account management control.

9. The method according to any one of claims 1 to 5, It is characterized in that Also includes: displaying a product selection list including a first virtual product; When a selection operation on a first virtual product in the product selection list is detected, a resource transfer page corresponding to the first virtual product is displayed.

10. A virtual resource transfer device, It is characterized in that include: A first display module, configured to display a resource transfer page corresponding to the first virtual product, wherein the resource transfer page includes a resource transfer quantity control, a resource transfer confirmation control, and a management control for a virtual resource account, wherein the virtual resource account is a resource account provided to the user by the platform corresponding to the second virtual product; A determination module, configured to determine the resources to be transferred in the virtual resource account based on a quantity editing operation on the resource transfer quantity control; A generation module, configured to generate a transfer path for virtual resource transfer according to the account identifier of the virtual resource account and the resource transfer authority corresponding to the virtual resource account when a touch operation on the management control is detected; wherein the resource transfer authority refers to the authority of whether a resource account can directly transfer virtual resources to another resource account; and the transfer path is used to indicate the nodes through which the transferred resources pass; An updating module, used for updating the resource identifier of the resource to be transferred according to the resource transfer authority and the transfer path, and obtaining the updated resource to be transferred; The transfer module is used to transfer the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product when a trigger operation on the resource transfer confirmation control is detected.

11. The device according to claim 10, It is characterized in that The transfer module comprises: an acquiring unit, configured to acquire a product type of the first virtual product when a trigger operation on a resource transfer confirmation control is detected; An extraction unit, used to extract the account identifier of the virtual resource account and the transfer path from the resource identifier corresponding to the updated resource to be transferred; a determining unit, configured to determine a transfer method of resource transfer according to a product type and an account identifier of the first virtual product; The transfer unit is used to transfer the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path and the determined transfer method.

12. The device according to claim 11, It is characterized in that The determining unit comprises: An acquisition subunit, used to acquire a set of virtual products corresponding to the account identifier; A first detection subunit, configured to detect whether the first virtual product is a virtual product in a virtual product set based on a product type of the first virtual product; a determination subunit, configured to determine that the transfer mode of resource transfer is an unlimited transfer mode when the first virtual product is a virtual product in the virtual product set, and to determine that the transfer mode of resource transfer is a limited transfer mode when the first virtual product is not a virtual product in the virtual product set; The transfer unit is specifically used to: transfer the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path and the unlimited transfer method, or; transfer the updated resources to be transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path and the limited transfer method.

13. The device according to claim 12, It is characterized in that The transfer unit is specifically used for: Check whether the time node of the triggering operation is within the resource transfer period; When the time node is within the resource transfer period, the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path; When the time node is not within the resource transfer period, a resource transfer certificate is generated, and the updated resources to be transferred are transferred from the virtual resource account to the resource receiving account corresponding to the first virtual product based on the transfer path within the next resource transfer period.

14. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, in, When the processor executes the program, the steps of the virtual resource transfer method according to any one of claims 1 to 10 are implemented.

15. A storage medium, It is characterized in that A computer program is stored thereon, wherein when the computer program is executed by a processor, the steps of the virtual resource transfer method according to any one of claims 1 to 10 are implemented.

Citation Information

Patent Citations

  • Virtual resource transfer method and device, terminal and storage medium

    CN108596579A

  • Device for resource configuration and resource configuration method

    CN110175824A