Method and device for obtaining virtual resource, computer device and storage medium

CN116739572BActive Publication Date: 2026-10-27TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210207728.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-03
Publication Date
2026-10-27
Estimated Expiration
2042-03-03

AI Technical Summary

Technical Problem

[0003]然而,在虚拟资源的分享和领取过程中,各个用户间通过资源分享和领取操作实现交互,由于单个资源分享消息只能由单个用户发出,实现的是一对多的交互处理,导致资源领取过程中的互动效果差,当需要提高资源领取过程中的互动效果时,需要发送更多的资源分享消息来实现,占用较多的计算资源,进而影响计算资源的利用效率

Benefits of technology

[0045]上述虚拟资源的领取方法、装置、计算机设备、存储介质和计算机程序产品,通过响应于对资源交换消息的领取操作,显示所领取到的虚拟资源,实现对首次领取的虚拟资源值的展示,在第一账号终端,通过显示至少一个触发了针对所述资源交换消息的领取操作的第二账号所对应的候选账号信息,便于进行交换对象的选择,第一账号终端通过向第二账号发起交换邀请操作,在所述交换邀请操作成功,即第二账号终端通过对第一账号发起的交换邀请操作进行交换确认的情况下,将所述第一账号所领取到的虚拟资源值与第二账号所领取到的第二虚拟资源值进行交换,来实现第一账号与第二账号的互动,第一账号与第二账号基于同一个资源交换消息来实现互动,在互动过程中能够有效减少计算资源的占用,进而能够在提高计算资源利用率的同时提高互动效果。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116739572B_ABST
    Figure CN116739572B_ABST
Patent Text Reader

Abstract

The application relates to a virtual resource obtaining method and device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: in response to an obtaining operation of a first account for a resource exchange message, displaying that virtual resources obtained by the first account are a first virtual resource value; displaying at least one candidate account information, a second account to which the candidate account information belongs triggers the obtaining operation for the resource exchange message; in response to an exchange invitation operation for target candidate account information in the candidate account information, if the exchange invitation operation is successful, updating the virtual resources obtained by the first account to a second virtual resource value obtained by a second account to which the target candidate account information belongs. By using the above method, the computing resource utilization rate can be improved, and the interactive effect can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, computer device, storage medium, and computer program product for obtaining virtual resources. Background Technology

[0002] With the development of computer technology, people can now access resources not only offline, but also through resource-receiving terminals that share resources online. These resources include, but are not limited to, virtual red envelopes, electronic coupons, points, points, electronic vouchers, game currency, and virtual items.

[0003] However, in the process of sharing and retrieving virtual resources, users interact with each other through resource sharing and retrieval operations. Since a single resource sharing message can only be sent by a single user, it achieves one-to-many interaction, resulting in poor interaction during the resource retrieval process. When it is necessary to improve the interaction during the resource retrieval process, more resource sharing messages need to be sent, which consumes more computing resources and thus affects the utilization efficiency of computing resources. Summary of the Invention

[0004] Therefore, it is necessary to provide a method, apparatus, computer equipment, computer-readable storage medium, and computer program product for obtaining virtual resources that can improve the utilization of computing resources while enhancing the interactive effect, in order to address the aforementioned technical problems.

[0005] Firstly, this application provides a method for obtaining virtual resources. The method includes:

[0006] In response to the first account's operation of receiving the resource exchange message, the virtual resource received by the first account is displayed as the first virtual resource value;

[0007] Display at least one candidate account information, wherein the second account to which the candidate account information belongs triggers a claim operation for the resource exchange message;

[0008] In response to an exchange invitation operation for the target candidate account information in the candidate account information, if the exchange invitation operation is successful, the virtual resources received by the first account are updated to the second virtual resource value received by the second account to which the target candidate account information belongs.

[0009] Secondly, this application also provides a device for obtaining virtual resources. The device includes:

[0010] The resource acquisition module is used to respond to the resource acquisition operation of the first account in response to the resource exchange message and display the virtual resource acquired by the first account as the first virtual resource value.

[0011] The candidate account display module is used to display at least one candidate account information, wherein the second account to which the candidate account information belongs triggered a claim operation for the resource exchange message;

[0012] The resource exchange module is used to respond to the exchange invitation operation for the target candidate account information in the candidate account information. If the exchange invitation operation is successful, the virtual resources received by the first account are updated to the second virtual resource value received by the second account to which the target candidate account information belongs.

[0013] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0014] In response to the first account's operation of receiving the resource exchange message, the virtual resource received by the first account is displayed as the first virtual resource value;

[0015] Display at least one candidate account information, wherein the second account to which the candidate account information belongs triggers a claim operation for the resource exchange message;

[0016] In response to an exchange invitation operation for the target candidate account information in the candidate account information, if the exchange invitation operation is successful, the virtual resources received by the first account are updated to the second virtual resource value received by the second account to which the target candidate account information belongs.

[0017] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0018] In response to the first account's operation of receiving the resource exchange message, the virtual resource received by the first account is displayed as the first virtual resource value;

[0019] Display at least one candidate account information, wherein the second account to which the candidate account information belongs triggers a claim operation for the resource exchange message;

[0020] In response to an exchange invitation operation for the target candidate account information in the candidate account information, if the exchange invitation operation is successful, the virtual resources received by the first account are updated to the second virtual resource value received by the second account to which the target candidate account information belongs.

[0021] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0022] In response to the first account's operation of receiving the resource exchange message, the virtual resource received by the first account is displayed as the first virtual resource value;

[0023] Display at least one candidate account information, wherein the second account to which the candidate account information belongs triggers a claim operation for the resource exchange message;

[0024] In response to an exchange invitation operation for the target candidate account information in the candidate account information, if the exchange invitation operation is successful, the virtual resources received by the first account are updated to the second virtual resource value received by the second account to which the target candidate account information belongs.

[0025] Sixthly, this application provides a method for obtaining virtual resources. The method includes:

[0026] In response to the second account's operation to claim the resource exchange message, the virtual resource claimed by the second account is displayed as the second virtual resource value;

[0027] Display at least one candidate account information, wherein the first account to which the candidate account information belongs triggers a claim operation for the resource exchange message and an exchange invitation operation for the second account;

[0028] In response to the exchange confirmation operation for the target candidate account information in the candidate account information, the virtual resources received by the second account are updated to the first virtual resource value received by the first account to which the target candidate account information belongs.

[0029] Seventhly, this application also provides a device for obtaining virtual resources. The device includes:

[0030] The resource acquisition module is used to respond to the resource acquisition operation of the second account in response to the resource exchange message, and to display the virtual resource acquired by the second account as the second virtual resource value;

[0031] The candidate account display module is used to display at least one candidate account information, wherein the first account to which the candidate account information belongs triggers the receiving operation for the resource exchange message and the exchange invitation operation for the second account;

[0032] The resource exchange module is used to respond to the exchange confirmation operation for the target candidate account information in the candidate account information, and update the virtual resources received by the second account to the first virtual resource value received by the first account to which the target candidate account information belongs.

[0033] Eighthly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0034] In response to the second account's operation to claim the resource exchange message, the virtual resource claimed by the second account is displayed as the second virtual resource value;

[0035] Display at least one candidate account information, wherein the first account to which the candidate account information belongs triggers a claim operation for the resource exchange message and an exchange invitation operation for the second account;

[0036] In response to the exchange confirmation operation for the target candidate account information in the candidate account information, the virtual resources received by the second account are updated to the first virtual resource value received by the first account to which the target candidate account information belongs.

[0037] Ninthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0038] In response to the second account's operation to claim the resource exchange message, the virtual resource claimed by the second account is displayed as the second virtual resource value;

[0039] Display at least one candidate account information, wherein the first account to which the candidate account information belongs triggers a claim operation for the resource exchange message and an exchange invitation operation for the second account;

[0040] In response to the exchange confirmation operation for the target candidate account information in the candidate account information, the virtual resources received by the second account are updated to the first virtual resource value received by the first account to which the target candidate account information belongs.

[0041] Tenthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0042] In response to the second account's operation to claim the resource exchange message, the virtual resource claimed by the second account is displayed as the second virtual resource value;

[0043] Display at least one candidate account information, wherein the first account to which the candidate account information belongs triggers a claim operation for the resource exchange message and an exchange invitation operation for the second account;

[0044] In response to the exchange confirmation operation for the target candidate account information in the candidate account information, the virtual resources received by the second account are updated to the first virtual resource value received by the first account to which the target candidate account information belongs.

[0045] The aforementioned method, apparatus, computer equipment, storage medium, and computer program product for obtaining virtual resources, in response to a resource exchange message obtaining operation, display the obtained virtual resources, thereby showcasing the value of the first obtained virtual resources. On the first account terminal, by displaying candidate account information corresponding to at least one second account that triggered the resource exchange message obtaining operation, the selection of exchange partners is facilitated. The first account terminal initiates an exchange invitation operation to the second account. Upon successful exchange invitation operation, i.e., when the second account terminal confirms the exchange invitation operation initiated by the first account, the virtual resource value obtained by the first account is exchanged with the second virtual resource value obtained by the second account, thus realizing interaction between the first and second accounts. The first and second accounts interact based on the same resource exchange message, effectively reducing the consumption of computing resources during the interaction process, thereby improving both computing resource utilization and interaction effectiveness. Attached Figure Description

[0046] Figure 1 This is an application environment diagram of a virtual resource acquisition method in one embodiment;

[0047] Figure 2 This is a flowchart illustrating a method for claiming virtual resources in one embodiment;

[0048] Figure 3 This is a schematic diagram illustrating the interface changes for sending resource exchange messages in one embodiment;

[0049] Figure 4 This is a schematic diagram illustrating the interface changes that trigger a take operation for a resource exchange message in one embodiment.

[0050] Figure 5 This is a schematic diagram of an interface showing resource exchange actions in one embodiment;

[0051] Figure 6 This is a schematic diagram of the interface corresponding to the status label of the resource exchange identifier in one embodiment;

[0052] Figure 7This is a schematic diagram illustrating the interface changes when updating the received virtual resource value in one embodiment.

[0053] Figure 8 This is a schematic diagram of the interface for viewing resource exchange and acquisition results in one embodiment;

[0054] Figure 9 This is a flowchart illustrating a method for claiming virtual resources in another embodiment;

[0055] Figure 10 This is a schematic diagram of an interface displaying candidate account information in one embodiment;

[0056] Figure 11 This is a schematic diagram illustrating the interface changes that trigger the display of the exchange invitation processing entry in one embodiment;

[0057] Figure 12 This is a schematic diagram illustrating the interface changes when updating the received virtual resource value in one embodiment.

[0058] Figure 13 This is a schematic diagram illustrating the interface changes during the operable time of the invitation processing entry in one embodiment.

[0059] Figure 14 This is a schematic diagram of the front-end and back-end processing of a method for obtaining virtual resources in one embodiment;

[0060] Figure 15 This is a flowchart illustrating a method for claiming virtual resources in one embodiment;

[0061] Figure 16 This is a structural block diagram of a virtual resource acquisition device in one embodiment;

[0062] Figure 17 This is a structural block diagram of a virtual resource retrieval device in another embodiment;

[0063] Figure 18 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation

[0064] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0065] The method for obtaining virtual resources provided in this application embodiment can be applied to, for example, Figure 1In the application environment shown, the first terminal 102 and the second terminal 106 communicate with the server 104 via a network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated onto the server 104, or it can be located in the cloud or on another network server. In response to the first account's operation to receive the resource exchange message, the first terminal 102 displays the virtual resource received by the first account as the first virtual resource value. The first terminal 102 also displays candidate account information corresponding to at least one second account that triggered the operation to receive the resource exchange message. In response to the exchange invitation operation for the target candidate account information in the candidate account information, the first terminal 102 establishes a communication connection with the second terminal 106, where the second account that triggered the resource exchange message and received the virtual resource as the second virtual resource value resides, via the server 104. The second terminal 106 displays at least one candidate account information corresponding to the first account that triggered both the operation to receive the resource exchange message and the exchange invitation operation for the second account. In response to the exchange confirmation operation for the target candidate account information in the candidate account information, the second terminal 106 updates the virtual resource received by the second account to the first virtual resource value received by the first account to which the target candidate account information belongs. Finally, the first terminal 102 updates the virtual resource received by the first account to the second virtual resource value received by the second account to which the target candidate account information belongs. The terminal 102 can be, but is not limited to, various desktop computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, and smart in-vehicle systems. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted devices. The server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.

[0066] In one embodiment, such as Figure 2 As shown, a method for obtaining virtual resources is provided. Taking the application of this method to a computer device as an example, the computer device can... Figure 1 The first terminal 102 in the method includes the following steps:

[0067] Step 202: In response to the first account's operation to receive the resource exchange message, the virtual resource received by the first account is displayed as the first virtual resource value.

[0068] Resource exchange messages are messages initiated by resource sharers to share virtual resources and allow users who receive the virtual resources to exchange them. The virtual resources associated with resource exchange messages include, but are not limited to, virtual red envelopes, e-coupons, points, e-vouchers, game currency, and virtual items. Virtual items can be game props, game skins, etc. The receiving operation can be a predefined operation, specifically a single click, double click, touch operation, swipe operation, or multi-touch operation on the resource exchange message.

[0069] Resource exchange messages can be claimed by two or more users. Users can set the number of recipients for a resource exchange message to send it to multiple users, allowing multiple users to trigger the claiming action. For example, this can be done within a group or by sending a resource exchange message to multiple users. Generally, a group has two or more members. When a group member sends a resource exchange message, at least two group members can trigger the claiming action to receive the virtual resource for exchange. Sending resource exchange messages to multiple users can be achieved by forwarding the message or by specifying multiple claiming users to send the message to multiple users simultaneously.

[0070] Specifically, resource exchange messages are a specific type of message within resource sharing messages. These message types can include ordinary resource messages where the recipients receive the same resource, resource messages where the recipients are randomly selected based on luck, exclusive resource messages where a specific user can receive a resource, specific operation resource messages where a resource is received through a specified method, and resource exchange messages that allow exchange after receiving a resource.

[0071] In a specific application, such as Figure 3 As shown, the resource sharer is a member of the target group. When the resource sharer triggers the resource sharing icon within their group, the computer device, in response to the resource sharing operation on the icon, displays candidate resource sharing message icons of different message types, such as... Figure 3 The displayed red envelopes include various types such as lucky draw red envelopes, regular red envelopes, exclusive red envelopes, password red envelopes, and exchange red envelopes. When a user selects a target resource sharing message icon from the candidate resource sharing message icons, and the message type corresponding to that icon is a resource exchange message, such as... Figure 3When exchanging red envelopes, the computer device, in response to the selection of the target resource sharing message icon, enters the resource exchange message configuration interface. The configuration parameters for this interface include the total value of the virtual resources to be shared and the number of virtual resources that can be claimed. The number of claimable virtual resources in the resource exchange message must be no less than two to ensure that there are objects available for resource exchange. In response to confirmation of the configuration parameters, the computer device displays the resource exchange message in the group session, allowing group members to claim and exchange virtual resources. For example, a group member sending a red envelope can select "exchange red envelope" as the type of electronic red envelope, set the total amount to 12 yuan, and the number of red envelopes to 5, and click "Put money into red envelope." The "Exchange Red Envelope" message will then be displayed in the group session. Group members can then randomly claim a certain amount of electronic red envelope by clicking "Exchange Red Envelope."

[0072] The first account refers to the account that triggered the claim operation for the resource exchange message. The first account has the authority to trigger the claim operation for resource exchange messages. For example, when the resource exchange message is a message in a group, the first account can be any member in the group who triggers the claim operation and claims virtual resources. Similarly, when the resource exchange message is a live stream message, the first account can be any user watching the live stream who triggers the claim operation and claims virtual resources. The first virtual resource value refers to the amount of virtual resources claimed by the first account when triggering the virtual exchange message. The first virtual resource value is a random value, and the random first virtual resource value assigned to the first account is less than the total virtual resource value corresponding to the resource exchange message. The magnitude of the virtual resource value can be used to represent the amount of virtual resources claimed. The larger the first virtual resource value, the more virtual resources claimed.

[0073] Step 204: Display at least one candidate account information, and the second account to which the candidate account information belongs triggers the claim operation for the resource exchange message.

[0074] In this context, the first account is the currently logged-in account that triggered the operation to retrieve the resource exchange message, while the second account refers to all other accounts besides the first account that triggered the operation to retrieve the resource exchange message. The second account is used to distinguish it from the first account; however, in other embodiments, the second account and the first account can be interchanged. The number of second accounts can be one or more, with "more" meaning two or more. The second account can be one that triggered the operation to retrieve the resource exchange message before the first account did, or one that triggered the operation after the first account did.

[0075] Candidate account information refers to the account information corresponding to the second account that triggered the operation to receive the resource exchange message. Candidate account information is used to represent different accounts. Candidate account information can be displayed through a triggerable identifier, which can be a single triggerable identifier or a combination of multiple identifiers, including at least one triggerable identifier. The computer device confirms that the first account has selected the candidate account information by responding to the triggering operation of the triggerable identifier.

[0076] Specifically, the candidate account information includes an exchange operation identifier and the account identifier of the associated second account. The exchange operation identifier is a triggerable identifier used to confirm whether the first account has selected its associated second account. The account identifier information includes one or more of the following: name, nickname, or avatar, used to distinguish different accounts and facilitate the first account in selecting the object it wants to exchange resources with.

[0077] On the terminal currently logged into by the first account, in response to the first account's claim operation for the resource exchange message, the terminal displays the virtual resource claimed by the first account as the first virtual resource value. On the first virtual resource value display page, candidate account information corresponding to at least one second account that triggered the claim operation for the resource exchange message is displayed. The maximum number of candidate accounts that can be displayed corresponds to the number of users allowed to claim the resource exchange message, specifically one less than the number of users allowed to claim the resource exchange message. For second accounts that triggered the claim operation before the first account, their corresponding candidate account information can be displayed simultaneously with the first virtual resource value. For second accounts that triggered the claim operation after the first account, their corresponding candidate account information is displayed on the terminal logged into by the first account when the second account triggers its claim operation.

[0078] In a specific application, such as Figure 4 As shown, in response to the first account's operation to receive the exchanged red envelope, the terminal displays that the amount of the red envelope received by the first account is 1.8 yuan. Furthermore, on the page displaying the amount of the red envelope received by the first account, candidate account information corresponding to the accounts of at least one other member in the group who triggered the operation to receive the exchanged red envelope is displayed. For each other group member who received the red envelope, the avatar or nickname of that group member can be displayed to distinguish the identity of the group members and facilitate the selection of the exchange partner for the electronic red envelope.

[0079] Step 206: In response to the exchange invitation operation for the target candidate account information in the candidate account information, if the exchange invitation operation is successful, update the virtual resources received by the first account to the second virtual resource value received by the second account to which the target candidate account information belongs.

[0080] The target candidate account information is an account selected from the candidate account information. The computer device confirms the selected target candidate account information by responding to the first account's selection operation. The exchange invitation operation refers to the first account initiating an exchange invitation to the second account to which the target candidate account information belongs. When the first account selects the target candidate account information from the candidate account information, the exchange invitation operation for the selected target candidate account information is triggered. A successful exchange invitation operation means that the invited second account agrees to exchange the virtual resources received by the first account in relation to the resource exchange message.

[0081] Specifically, in response to an exchange invitation operation for the target candidate account information from the candidate account information, the first terminal logged into by the first account sends an exchange invitation to the second account. If the second account agrees to exchange the virtual resources received by the first account in relation to the resource exchange message, i.e., the exchange invitation operation is successful, the first terminal updates the virtual resources received by the first account to the second virtual resource value received by the second account to which the target candidate account information belongs. Simultaneously, the second terminal logged into by the second account updates the virtual resources received by the second account to the first virtual resource value received by the first account. Here, the first terminal and the second terminal are the terminals currently logged into by the first account and the second account, respectively. The first terminal and the second terminal can be different devices, or they can be the same device logged into by the first account and the second account at different times.

[0082] The aforementioned method for acquiring virtual resources displays the acquired virtual resources in response to a resource exchange message acquisition operation, thus showcasing the initial acquired virtual resource value. On the first account terminal, candidate account information corresponding to at least one second account that triggered the resource exchange message acquisition operation is displayed to facilitate the selection of an exchange partner. The first account terminal initiates an exchange invitation operation to the second account. If the exchange invitation operation is successful, the virtual resource value acquired by the first account is exchanged with the second virtual resource value acquired by the second account, thereby achieving interaction between the first and second accounts. The interaction between the first and second accounts is based on the same resource acquisition and exchange message. This interaction effectively reduces the consumption of computing resources, thereby improving both computing resource utilization and the interaction effect.

[0083] In one embodiment, in response to an exchange invitation operation for target candidate account information in the candidate account information, if the exchange invitation operation is successful, the virtual resources received by the first account are updated to the second virtual resource value received by the second account to which the target candidate account information belongs, including:

[0084] In response to an exchange invitation operation triggered for at least one target candidate account among the candidate account information, a virtual resource exchange action is displayed for the target candidate account to which the exchange invitation operation was successful; in response to the virtual resource exchange action, the virtual resources received by the first account are updated to the second virtual resource value received by the second account to which the target candidate account to which the exchange invitation operation was successful belongs.

[0085] The candidate account information can belong to one, two, or more secondary accounts. The primary account can initiate an exchange invitation to one secondary account, or to two or more secondary accounts, but the number of target candidate accounts for a successful exchange invitation operation can be unique.

[0086] The second account that successfully initiates the exchange invitation is one of the multiple second accounts that initiated the exchange invitation. Specifically, it can be the first second user to agree to exchange with the first account, or the last user to exchange with the first account. The specific exchange logic can be set according to the actual scenario.

[0087] A virtual resource exchange action represents an interaction between a first account and a second account that has successfully initiated an exchange invitation. A virtual resource exchange action can be an animated exchange of virtual resources to indicate that the first and second accounts are exchanging virtual resources.

[0088] Specifically, in response to an exchange invitation operation triggered by the first account for at least one target candidate account among the candidate account information, the computer device displays a virtual resource exchange action to represent the virtual resource exchange between the first account and the second account, corresponding to the target candidate account information where the exchange invitation operation was successful. By responding to the completion of the virtual resource exchange action, the computer device updates the virtual resource received by the first account to the second virtual resource value received by the second account.

[0089] In a specific application, such as Figure 5As shown, taking an electronic red envelope as an example of the virtual resource corresponding to a resource exchange message, the computer device responds to the first account's claiming operation for the resource exchange message by displaying an electronic red envelope icon and candidate account information that has claimed the electronic red envelope. The electronic red envelope icon is displayed in the candidate account information, where the size of the icon corresponding to the first account is larger than the size of the icon displayed in the candidate account information. The computer device then responds to the first account's triggering of an exchange invitation operation for the second account belonging to the target candidate account information. If the exchange invitation operation is successful, the computer device displays the electronic red envelope exchange activity between the electronic red envelope icon corresponding to the first account and the electronic red envelope icon corresponding to the second account. Specifically, the electronic red packet exchange action can involve gradually moving the electronic red packet icon corresponding to the second account towards the target position displaying the electronic red packet icon corresponding to the first account, and gradually increasing the size of the electronic red packet icon corresponding to the second account so that when the electronic red packet icon corresponding to the second account moves to the target position, its size is the same as that of the electronic red packet icon corresponding to the first account. When the electronic red packet icon corresponding to the second account moves to the target position, it indicates that the virtual resource exchange between the first account and the second account is completed. The computer device, in response to the completion of the electronic red packet exchange action, updates the virtual resource received by the first account to the second virtual resource value received by the second account.

[0090] In this embodiment, by displaying the virtual resource exchange action between the first account and the second account to which the target candidate account information of the successful exchange invitation operation belongs, and by responding to the virtual resource exchange action to exchange virtual resources, the first account can easily and accurately understand the specific situation of the resource exchange through the display interface of the virtual resource receiving result. This is conducive to enhancing the interaction between multiple resource receiving accounts and improving the efficiency of receiving virtual resources.

[0091] In one embodiment, the virtual resource exchange action is displayed corresponding to the target candidate account information where the exchange invitation operation is successful. This includes: displaying a virtual resource icon to be exchanged corresponding to the target candidate account information where the exchange invitation operation is successful; and displaying the virtual resource exchange action for the virtual resource icon to be exchanged and the resource icon of the virtual resource received by the first account.

[0092] The virtual resource icon to be exchanged is used to represent the type of virtual resource being received. For example, when the resource exchange message is an electronic red packet exchange message, both the first account and the second account receive electronic red packets as virtual resources by triggering the electronic red packet exchange message. On the login terminal of the first account, the received virtual resource can be displayed as an electronic red packet icon, and the value of the electronic red packet received by the first account can be displayed in the icon. In the candidate account information corresponding to the second account, the virtual resource icon to be exchanged is displayed. The virtual resource icon to be exchanged can be a small electronic red packet icon. It should be noted that the specific electronic red packet value is not displayed in the candidate account information corresponding to the second account.

[0093] Specifically, the computer device displays a virtual resource icon to be exchanged corresponding to the target candidate account information where the exchange invitation operation was successfully completed. For the virtual resource icon to be exchanged and the target resource icon of the virtual resource received by the first account, the computer device displays the virtual resource exchange action between the virtual resource icon to be exchanged and the target resource icon, indicating that the first account and the second account have exchanged virtual resources. By responding to the completion of the virtual resource exchange action, the computer device updates the virtual resource received by the first account to the second virtual resource value received by the second account.

[0094] In this embodiment, by displaying the target candidate account information corresponding to the successful exchange invitation operation, the virtual resource icon to be exchanged is displayed, and the virtual resource exchange action between the virtual resource icon to be exchanged and the target resource icon is displayed. The object of virtual resource exchange can be displayed in a visual way, so that the user of the first account can intuitively and timely understand the progress of resource exchange, thereby increasing the user's enthusiasm for resource acquisition and improving interaction with other resource acquisition accounts.

[0095] In one embodiment, in response to an exchange invitation operation triggered for at least one target candidate account among the candidate account information, a virtual resource exchange action is displayed corresponding to the target candidate account information where the exchange invitation operation was successful, including:

[0096] In response to an exchange invitation operation triggered for at least two target candidate accounts in the candidate account information, a virtual resource exchange action is displayed for the target candidate account that first confirms the exchange invitation operation.

[0097] Specifically, the second account that successfully initiates the exchange invitation is unique. It is one of multiple second accounts that respond to the exchange invitation initiated by the first account. The second account that successfully initiates the exchange invitation can be the first second account to confirm the exchange invitation, that is, the first second account to agree to exchange with the first account.

[0098] In a specific application, the accounts receiving resource exchange messages are A, B, C, and D. Taking account A as the first account, accounts B, C, and D are all second accounts. Account A triggers an exchange invitation operation for accounts B, C, and D. Account B is the first to confirm the exchange invitation operation triggered by account A, that is, to complete the resource exchange between account A and account B. The virtual resources received by account A in the resource exchange message receiving operation are updated to the virtual resource value received by account B. The exchange invitation is canceled on the terminals where accounts C and D are located. Specifically, the trigger entry for confirming the exchange invitation operation can be canceled.

[0099] In this embodiment, the virtual resource exchange action is displayed by corresponding to the target candidate account information that first confirms the exchange invitation operation. That is, the second account that first confirms the exchange invitation operation is used as the exchange object to exchange virtual resources with the first account. This can realize the exchange of resources for a specified account with less exchange process and less computational resource data processing, and then the interaction between resource-receiving accounts can be carried out through the exchange of virtual resources.

[0100] It is understood that in other embodiments, the second account that successfully performs the exchange invitation operation can also be the second account that ultimately confirms the exchange invitation operation. Specifically, the computer device displays a virtual resource exchange action in response to exchange invitation operations triggered for at least two target candidate accounts in the candidate account information, corresponding to the target candidate account information for the final confirmed exchange invitation operation.

[0101] In a specific application, taking accounts A, B, C, and D as recipients of resource exchange messages as an example, account A is the first account, and accounts B, C, and D are the second accounts. Account A triggers exchange invitation operations for accounts B, C, and D. Accounts B, C, and D sequentially confirm the exchange invitation operations triggered by account A. The resource exchange process is as follows: account A first exchanges with account B, then exchanges the result with account B with account C, and finally exchanges the result with account C with account D. This updates the virtual resources received by account A in response to the resource exchange message to the virtual resource value received by account D. Furthermore, during the exchange process, the virtual resource value of the exchanged virtual resources is unknown to each account. The final virtual resource exchange result is only displayed after the final exchange partner is determined.

[0102] In this embodiment, by using the second account that last confirmed the exchange invitation operation as the second account that successfully completed the exchange invitation operation, resource exchange between multiple accounts can be realized, thereby increasing the interaction rate between different resource-receiving accounts and enhancing the interaction effect.

[0103] In one embodiment, the method for claiming virtual resources further includes: displaying an exchange operation identifier corresponding to the candidate account information, wherein the status label of the exchange operation identifier is "to be initiated exchange"; and in response to an exchange invitation operation triggered for the target exchange operation identifier corresponding to the target candidate account information in the candidate account information, updating the status label of the target exchange operation identifier from "to be initiated exchange" to "initiated exchange".

[0104] The exchange operation identifier is the trigger point for initiating an exchange invitation. This identifier has a status label indicating the exchange progress for the corresponding account, including "pending exchange," "initiated exchange," and "successful exchange." Each exchange operation identifier corresponds one-to-one with a candidate account, and the exchange operation identifiers for different candidate accounts are independent. It should be noted that when the exchange progress for one target candidate account is successful, the display of the exchange operation identifiers for the remaining candidate accounts can be canceled, or their respective exchange operation identifiers can be set to an untriggerable state.

[0105] Specifically, on the display page showing the virtual resource value received by the first account, candidate account information and exchange operation identifiers corresponding to the candidate account information with the status label "to be initiated" are displayed. The computer device updates the status label of the target exchange operation identifier from "to be initiated" to "exchange initiated" in response to the exchange invitation operation triggered by the target exchange operation identifier corresponding to the target candidate account information in the candidate account information.

[0106] In a specific application, such as Figure 6 As shown, the display page showing the virtual resource value received by the first account displays 1.8 yuan. It also displays avatars of multiple candidate accounts that have received virtual resources, along with corresponding exchange operation icons. The status label of the exchange operation icon is "Exchange," indicating that the current status is pending exchange. When the first account clicks on one of the target exchange operation icons for a second account, triggering an exchange invitation operation for that target second account, the computer device responds by updating the status label of the target exchange operation icon from "Exchange" to "Exchange Initiated," indicating that the current status of the exchange operation icon is initiated and awaits confirmation from the second target account.

[0107] In this embodiment, by displaying the exchange operation identifier corresponding to the candidate account information and the status label of the exchange operation identifier; in response to the exchange invitation operation triggered by the target exchange operation identifier corresponding to the target candidate account information in the candidate account information, the status label of the target exchange operation identifier is updated from pending exchange to initiated exchange. The exchange process can be visually displayed through the update of the status label, so that the user of the first account can intuitively and timely understand the progress of resource exchange, thereby increasing the user's enthusiasm for resource acquisition and improving interaction with other resource acquisition accounts.

[0108] In one embodiment, the method for claiming virtual resources further includes: if the exchange invitation operation fails, updating the status label of the target exchange operation identifier from "Exchange Initiated" to "Exchange Pending".

[0109] The failure of the exchange invitation operation can be due to the second account being invited rejecting the exchange invitation initiated by the first account, or the second account being invited failing to respond to the exchange invitation initiated by the first account within the specified time.

[0110] Specifically, when an invited second account rejects an exchange invitation initiated by a first account, the status label of the target exchange operation corresponding to the invited second account on the first account's display page is updated from "Initiated Exchange" to "Pending Exchange." This allows the first account to treat the second account as the same as other second accounts and to initiate an exchange invitation to one of them again. For example, by changing the status label, the first account can re-initiate an exchange invitation to the second account, ensuring that even if the second account makes a mistake or changes its mind, the first account still has the opportunity to initiate an exchange invitation to that second account.

[0111] In this embodiment, if the exchange invitation operation fails, the status label of the target exchange operation identifier is updated from "initiated exchange" to "pending exchange," so that the status label of the second account is restored to the initial state. The first account can then send an exchange invitation to one of the second accounts again. Even if the second account makes a mistake or changes its mind, the first account still has the opportunity to send an exchange invitation to the second account, increasing the probability of successful interaction and enhancing the interaction effect between the first account and the second account.

[0112] In one embodiment, if the exchange invitation operation is successful, updating the virtual resources received by the first account to the second virtual resource value received by the second account to which the target candidate account information belongs includes: if the exchange invitation operation is successful and the conditions for the end of the exchange activity are met, updating the virtual resources received by the first account to the second virtual resource value received by the second account to which the target candidate account information belongs.

[0113] The exchanging activity termination condition refers to the condition for ending the virtual resource exchange process. This condition can be one or more of the following: the activity duration condition, the number of accounts that completed the exchange, etc. For example, if the activity duration condition is the exchanging activity termination condition, when the exchange invitation operation is successful and the activity duration condition is met, the virtual resources received by the first account will be updated to the second virtual resource value received by the second account belonging to the target candidate account information.

[0114] In this embodiment, by setting an end condition for the exchange activity, the exchange activity for resource exchange messages can be completed under the set conditions. When the exchange invitation operation is successful and the end condition of the exchange activity is met, virtual resources can be exchanged in a centralized manner, avoiding the occupation of computing resources by subsequent continuous and occasional claim exchange operations, thereby improving the utilization efficiency of computing resources.

[0115] In one embodiment, the method for claiming virtual resources further includes: updating the first virtual resource value to an unknown numerical identifier if the exchange invitation operation is successful and the conditions for ending the exchange activity are not met.

[0116] Furthermore, if the exchange invitation operation is successful and the conditions for the exchange activity to end are met, the virtual resources received by the first account will be updated to the second virtual resource value received by the second account to which the target candidate account information belongs, including:

[0117] If the exchange invitation operation is successful and the conditions for the exchange activity to end are met, the unknown value identifier will be updated to the second virtual resource value received by the second account to which the target candidate account information belongs.

[0118] Here, the unknown value identifier is a symbol used to represent an unknown value. By updating the first virtual resource value to the unknown value identifier when the exchange invitation operation is successful but the conditions for ending the exchange activity are not met, the exchange result can be used to visually represent that the exchange between the first virtual resource value and the second virtual resource value received by the second account has been completed. However, the first account cannot know the specific value of the second virtual resource value obtained from the exchange. When the conditions for ending the exchange activity are met, the unknown value identifier is updated to the second virtual resource value received by the second account to which the target candidate account information belongs.

[0119] In a specific application, such as Figure 7As shown, the exchange activity ends when the countdown for exchanging red envelopes reaches 0 seconds. When the second account agrees to exchange red envelopes with the first account when the countdown reaches 2 seconds, the amount of red envelopes in the first account is changed from 1.8 yuan to an unknown value identifier. When the countdown reaches 0 seconds, the unknown value identifier is updated to the amount of red envelopes received by the second account, which is 5.2 yuan, thus realizing the exchange of electronic red envelopes between the first account and the second account.

[0120] In this embodiment, by simultaneously publishing the exchange results for the same resource exchange message, each account that successfully exchanges the resource can simultaneously obtain the virtual resource it received after the exchange. This enables centralized exchange of virtual resources, avoiding the consumption of computing resources by subsequent continuous and sporadic acquisition and exchange operations, and improving the utilization efficiency of computing resources.

[0121] In one embodiment, the method for claiming virtual resources further includes: displaying the duration of the exchange activity in response to a claim operation by a first account for a resource exchange message. Further, if the exchange invitation operation is successful and the conditions for the end of the exchange activity are met, updating the virtual resources claimed by the first account to the second virtual resource value claimed by the second account to which the target candidate account information belongs includes: if the exchange invitation operation is successful and the duration of the exchange activity is zero, updating the virtual resources claimed by the first account to the second virtual resource value claimed by the second account to which the target candidate account information belongs.

[0122] The conditions for ending an exchange activity include the activity's duration reaching zero. The activity's duration is the countdown from the current time to the target time within the valid exchange period. The valid claim period limits the time during which resources can be exchanged; that is, an invitation to exchange claimed virtual resources can only be triggered within the valid claim period.

[0123] Specifically, once the valid exchange period of a resource exchange message is entered, the timer for the current time period relative to the target time within that period is displayed. The valid exchange period defines the time frame for resource exchange; it is the effective time frame of the resource exchange message. For example, the valid exchange period is the 15 seconds from the moment the first resource recipient successfully receives the virtual resource. The valid exchange period is represented by the effective start time to the effective end time. For example, if the effective exchange period is 11:00:00 to 11:00:15, then resource exchange for the virtual resource received by triggering the resource recipient message can only occur within the time frame of 11:00:00 to 11:00:15. The displayed duration of the exchange activity can be the time remaining until 11:00:15. Specifically, this can be achieved by setting 11:00:15 as the target time and displaying a 15-second countdown from 11:00:00 to show the duration of the exchange activity.

[0124] In this embodiment, by using the zero duration of the exchange activity as the condition for updating and displaying virtual resources, the exchange results for the same resource exchange message are published simultaneously. This allows for centralized exchange of virtual resources, avoiding the occupation of computing resources by subsequent continuous and sporadic acquisition and exchange operations, and improving the utilization efficiency of computing resources.

[0125] In one embodiment, the method for claiming virtual resources further includes: dynamically updating the duration of the exchange activity in accordance with changes in the current time; wherein the duration of the exchange activity is the difference between the duration of the exchange activity and the duration of the exchange activity already completed, and the duration of the exchange activity already completed is the time difference between the current time and the time when the first triggering of the resource exchange message was triggered.

[0126] The exchange activity duration is a fixed time set for resource exchange messages. It starts counting from the time the first resource exchange message is triggered, ensuring the exchange activity has been running for a certain period, which is the time difference between the current time and the first trigger time. Since both the exchange activity duration and the first trigger time are fixed, the remaining duration of the exchange activity decreases as the current time changes. A countdown mechanism dynamically updates the remaining duration of the exchange activity, allowing users to intuitively understand the remaining operation time for the resource exchange.

[0127] In this embodiment, the duration of the exchange activity is timed by the trigger time of the first trigger for the resource exchange message. The countdown method is used to dynamically update the duration of the exchange activity. This allows accounts that have received virtual resources by triggering the resource exchange message to exchange resources within the time frame of the exchange activity. This enables centralized processing of resource exchanges, avoids subsequent continuous and sporadic receiving and exchange operations from consuming computing resources, and improves the utilization rate of computing resources.

[0128] In one embodiment, the method for claiming virtual resources further includes: in response to a claim result viewing operation for a resource exchange message, displaying an exchange identifier and the value of the virtual resources after the exchange for the account that triggered the claim operation for the resource exchange message and the exchange invitation operation was successful.

[0129] The exchange identifier represents the currently displayed virtual resource value, which is the result obtained after completing the exchange operation of the virtual resource obtained by triggering the resource exchange message. The "viewing the result" operation refers to viewing the result of the resource exchange message. This operation is performed after the resource exchange is completed, based on a predefined operation triggered by the resource exchange message. Specifically, the viewing result operation can be any of the following: a single click, double click, touch operation, swipe operation, or multi-touch operation related to the resource exchange message.

[0130] Specifically, after the first account updates the virtual resources it received to the second virtual resource value received by the second account, a "View Receipt Details" trigger entry is displayed on the second virtual resource value display page. The terminal where the first account is located enters the receipt details page by responding to the receipt details viewing operation triggered by the trigger entry. On the receipt details page, for accounts that have triggered a receipt operation in response to the resource exchange message and whose exchange invitation operation is successful, the exchange identifier and the virtual resource value after the exchange are displayed. For accounts that have triggered a receipt operation in response to the resource exchange message but have not triggered an exchange invitation operation or whose exchange invitation operation has failed, the virtual resource value of the virtual resources received by triggering the receipt operation is displayed.

[0131] In a specific application, such as Figure 8 As shown, the first account received an electronic red envelope of 5.2 yuan after exchanging electronic red envelopes with the second account. The page displaying the final amount of the electronic red envelope received showed a trigger entry for "View Receipt Details". The terminal of the first account entered the receipt details page by responding to the trigger entry for viewing receipt details, and the final amount of red envelope received was displayed. Specifically, the first account A and the second account B exchanged red envelopes, and the corresponding red envelope receiving result was the amount of the red envelope after the exchange. In the display area of ​​the red envelope amounts of the first account A and the second account B, an exchange mark of "Red Envelope Exchanged" was displayed.

[0132] In this embodiment, in response to the operation of viewing the result of receiving a resource exchange message, the exchange identifier and the virtual resource value after the exchange are displayed for the account that triggered the receiving operation and the exchange invitation operation was successful. This can distinguish whether the virtual resource value finally received was directly received or obtained through the exchange. On the one hand, it can facilitate data marking by computer devices and improve data management efficiency. On the other hand, it can promote the resource sharing method of resource exchange messages, increase the number of people sending resource exchange messages and participating in resource exchanges, and improve the interaction effect.

[0133] In one embodiment, such as Figure 9As shown, a method for obtaining virtual resources is provided. Taking the application of this method to a computer device as an example, the computer device can... Figure 1 The second terminal 106 in the method includes the following steps:

[0134] Step 902: In response to the second account's operation to receive the resource exchange message, the virtual resource received by the second account is displayed as the second virtual resource value.

[0135] Resource exchange messages are messages initiated by resource sharers to share virtual resources and allow users who receive the virtual resources to exchange them. The virtual resources associated with resource exchange messages include, but are not limited to, virtual red envelopes, e-coupons, points, e-vouchers, game currency, and virtual items. Virtual items can be game props, game skins, etc. The receiving operation can be a predefined operation, specifically a single click, double click, touch operation, swipe operation, or multi-touch operation on the resource exchange message.

[0136] Resource exchange messages can be claimed by two or more users. Users can set the number of recipients for a resource exchange message to send it to multiple users, allowing multiple users to trigger the claiming action. For example, this can be done within a group or by sending a resource exchange message to multiple users. Generally, a group has two or more members. When a group member sends a resource exchange message, at least two group members can trigger the claiming action to receive the virtual resource for exchange. Sending resource exchange messages to multiple users can be achieved by forwarding the message or by specifying multiple claiming users to send the message to multiple users simultaneously.

[0137] Specifically, resource exchange messages are a specific type of message within resource sharing messages. These message types can include ordinary resource messages where the recipients receive the same resource, resource messages where the recipients are randomly selected based on luck, exclusive resource messages where a specific user can receive a resource, specific operation resource messages where a resource is received through a specified method, and resource exchange messages that allow exchange after receiving a resource.

[0138] The second account refers to the account that triggered the claim operation for the resource exchange message and was invited to participate in the resource exchange by the first account. The second account has the authority to confirm whether to participate in the resource exchange. For example, when the resource exchange message is a message in a group, the second account can be any member in the group who triggered the claim operation for the resource exchange message, received virtual resources, and was invited to participate in the resource exchange by the first account. As another example, when the resource exchange message is a live stream message, the second account can be any user who triggered the claim operation for the resource exchange message while watching the live stream, received virtual resources, and was invited to participate in the resource exchange by the first account. The second virtual resource value refers to the amount of virtual resources received by the second account when triggering the virtual exchange message. The second virtual resource value is a random value, and the random second virtual resource value obtained by the second account is less than the total virtual resource value corresponding to the resource exchange message. The magnitude of the virtual resource value can be used to represent the amount of virtual resources received. The larger the second virtual resource value, the more virtual resources received.

[0139] Step 904: Display at least one candidate account information. The first account to which the candidate account information belongs triggers the operation of receiving the resource exchange message and the operation of inviting the exchange to the second account.

[0140] The candidate account information is the account information corresponding to the first account that triggered the operation of receiving the resource exchange message and the operation of exchanging invitations to the second account. The candidate account information may include a triggerable identifier, which may be a single triggerable identifier or a combination of multiple identifiers, including at least one triggerable identifier. The computer device confirms that the second account has selected the candidate account information by responding to the triggering operation of the triggerable identifier.

[0141] Specifically, the candidate account information includes an exchange operation identifier and the account identifier information of the associated second account. The exchange operation identifier is a triggerable identifier used to confirm whether the second account has triggered the selection of the first account associated with the exchange operation identifier. The account identifier information includes one or more of the following: name, nickname, or avatar, used to distinguish different accounts and facilitate multiple first accounts in selecting the object they wish to exchange resources with.

[0142] In a specific application, such as Figure 10As shown, on the terminal currently logged into by the second account, in response to the second account's claim operation for the resource exchange message, the terminal displays the virtual resource claimed by the second account as the second virtual resource value. On the display page of the second virtual resource value, it displays candidate account information corresponding to at least one first account that triggered both the claim operation for the resource exchange message and the exchange invitation operation for the second account. The maximum number of candidate account information that can be displayed corresponds to the number of claimers configured in the resource exchange message, specifically one less than the number of claimers configured in the resource exchange message. Only after the second account triggers the claim operation for the resource exchange message can the first account trigger the resource exchange operation for the second account. The candidate account information corresponding to the first account is displayed on the second terminal's display page after the resource exchange operation for the second account is triggered. Specifically, when the first account triggers the resource exchange operation for the second account, the status label corresponding to the first account is updated to "Request to you" on the second terminal's display page, and the account information corresponding to that first account is identified as candidate account information.

[0143] Step 906: In response to the exchange confirmation operation for the target candidate account information in the candidate account information, update the virtual resources received by the second account to the first virtual resource value received by the first account to which the target candidate account information belongs.

[0144] The target candidate account information is an account selected from the candidate account information. The computer device confirms the selected target candidate account information by responding to the selection operation of the second account. The exchange confirmation operation refers to the confirmation operation of the exchange invitation operation initiated by the second account to the first account to which the target candidate account information belongs. When the second account selects the target candidate account information from the candidate account information, the confirmation operation of the exchange invitation operation initiated for the selected target candidate account information is triggered.

[0145] Specifically, the second terminal logged in by the second account responds to the exchange confirmation operation for the target candidate account information in the candidate account information, indicating agreement to exchange the virtual resources obtained by the first account in relation to the resource exchange message. On the second terminal, the virtual resources obtained by the second account are updated to the first virtual resource value obtained by the first account to which the target candidate account information belongs. At the same time, on the first terminal logged in by the first account, the virtual resources obtained by the first account are updated to the second virtual resource value obtained by the second account.

[0146] The aforementioned method for acquiring virtual resources displays the acquired virtual resources in response to a resource exchange message acquisition operation, thus showcasing the initial acquired virtual resource value. On the second account terminal, information on at least one candidate account corresponding to the first account that triggered both the resource exchange message acquisition operation and the exchange invitation operation to the second account is displayed, facilitating confirmation of the exchange partner. The first account terminal initiates an exchange invitation operation to the second account. If the exchange invitation operation is successful, the virtual resource value acquired by the first account is exchanged with the second virtual resource value acquired by the second account, enabling interaction between the first and second accounts. The interaction between the first and second accounts is based on the same resource exchange message for resource acquisition and exchange. This effectively reduces the consumption of computing resources during the interaction process, thereby improving both computing resource utilization and the interaction effect.

[0147] In one embodiment, in response to an exchange confirmation operation for target candidate account information in the candidate account information, updating the virtual resources received by the second account to the first virtual resource value received by the first account to which the target candidate account information belongs includes:

[0148] In response to the selection of a target candidate account from the candidate account information, an exchange invitation processing entry is displayed corresponding to the target candidate account information; in response to the exchange confirmation operation triggered by the exchange invitation processing entry, the virtual resources received by the second account are updated to the first virtual resource value received by the first account to which the target candidate account information belongs.

[0149] The exchange invitation processing entry is used to respond to the exchange invitation operation triggered by the first account. The exchange invitation processing entry can include a confirm exchange entry and a reject exchange entry. By responding to the exchange confirmation operation triggered by the exchange invitation processing entry, the resource exchange with the first account that triggered the exchange invitation operation is confirmed, and the virtual resources received by the second account are updated to the first virtual resource value received by the first account to which the target candidate account information belongs.

[0150] In a specific application, such as Figure 11 As shown, the second terminal responds to the processing trigger operation of the exchange invitation processing entry corresponding to the first account whose status label is "Requesting you" by the second account, and displays candidate processing options for the interaction invitation operation for the first account. When the "Agree to Exchange" option is selected in the candidate processing options, the virtual resources received by the second account are updated to the first virtual resource value received by the first account.

[0151] In another specific application, such as Figure 12As shown, when the countdown to the red envelope exchange is 8 seconds, the second terminal responds to the processing trigger operation of the exchange invitation entry corresponding to the first account whose status label is "Requesting you". It displays candidate processing options for the interaction invitation operation for the first account. When the countdown to the red envelope exchange is 4 seconds, if the second account selects the "Agree to exchange" option in the candidate processing options, it displays a red envelope icon exchange animation between the second account and the first account, and updates the red envelope amount received by the second account from 5.2 yuan to an unknown value identifier. When the countdown to the red envelope exchange is 0 seconds, the unknown value identifier is updated to the red envelope amount received by the first account of 1.8 yuan.

[0152] In this embodiment, by displaying the exchange invitation processing entry corresponding to the target candidate account information, the second account can respond to the exchange invitation operation triggered by the first account based on the exchange invitation processing entry, thereby improving the convenience of user operation, realizing a fast response to the exchange invitation operation triggered by the first account, and improving the response speed.

[0153] In one embodiment, a swap invitation processing entry is displayed corresponding to the target candidate account information, including: displaying a confirm swap entry and a reject swap entry corresponding to the target candidate account information. Further, the method also includes: updating the swap invitation processing entry to a swap invitation initiation entry in response to a reject swap operation triggered by the reject swap entry.

[0154] The "Confirm Exchange" entry is used to agree to an exchange invitation triggered by the first account, while the "Reject Exchange" entry is used to reject an exchange invitation triggered by the first account. The "Initiate Exchange Invitation" entry is used to trigger an exchange invitation.

[0155] Specifically, the terminal containing the second account responds to the second account's "reject exchange" operation triggered by the "reject exchange" entry, rejecting the exchange invitation operation triggered by the first account. In this case, the exchange invitation operation triggered by the first account fails. Conversely, the terminal containing the second account responds to the second account's "confirm exchange" operation triggered by the second account, agreeing to the exchange invitation operation triggered by the first account. In this case, the exchange invitation operation triggered by the first account succeeds, displaying the resource exchange action between the two accounts. In the case of rejecting the exchange invitation operation triggered by the first account, the exchange invitation processing entry is updated to the exchange invitation initiation entry, allowing the second account to still proactively trigger exchange invitation operations against the first account.

[0156] In this embodiment, by displaying a confirmation exchange entry and a rejection exchange entry corresponding to the target candidate account information, in response to the rejection exchange operation triggered by the rejection exchange entry, the exchange invitation processing entry is updated to the exchange invitation initiation entry, thereby switching the initiative to initiate the exchange invitation operation and providing a variety of interaction methods.

[0157] In one embodiment, the method further includes: displaying the operable time for the exchange invitation processing entry; dynamically updating the operable time in accordance with changes in the current time; wherein the operable time is less than or equal to the duration of the exchange activity for the resource exchange message; the duration of the exchange activity is the difference between the duration of the exchange activity and the duration of the exchange activity already performed, and the duration of the exchange activity already performed is the time difference between the current time and the time of the first triggering of the resource exchange message.

[0158] The operable time for the exchange invitation processing entry refers to the time during which the exchange invitation operation triggered by the first account is activated. The duration of the exchange activity can be a countdown from the current time to the target time within the valid exchange period. The operable time displayed for the exchange invitation processing entry can be a fixed duration. The valid claim period is used to limit the time period for resource exchange; that is, only within the valid claim period can an exchange invitation operation for the claimed virtual resources be triggered to exchange resources.

[0159] Specifically, once the valid exchange period of a resource exchange message is entered, the timer for the current time period relative to the target time within that period is displayed. The valid exchange period defines the time frame for resource exchange; it is the effective time frame of the resource exchange message. For example, the valid exchange period is the 15 seconds from the moment the first resource recipient successfully receives the virtual resource. The valid exchange period is represented by the effective start time to the effective end time. For example, if the effective exchange period is 11:00:00 to 11:00:15, then resource exchange for the virtual resource received by triggering the resource recipient message can only occur within the time frame of 11:00:00 to 11:00:15. The displayed duration of the exchange activity can be the time remaining until 11:00:15. Specifically, this can be achieved by setting 11:00:15 as the target time and displaying a 15-second countdown from 11:00:00 to show the duration of the exchange activity. The operable time is less than or equal to the duration of the exchange activity for the resource exchange message. When the duration of the exchange activity for the resource exchange message is 18 seconds, the operable time can be 18 seconds or 15 seconds, etc.

[0160] In a specific application, such as Figure 13As shown, when the exchange activity for the resource exchange message can last for 8 seconds, the operable time of the exchange invitation processing entry is 5 seconds. When the exchange activity for the resource exchange message can last for 8 seconds, the operable time of the exchange invitation processing entry is 0 seconds. At this time, the exchange invitation processing entry is canceled on the second terminal, and the exchange invitation initiation entry for initiating an exchange to the first account is displayed.

[0161] In this embodiment, by displaying the operable time for the exchange invitation processing entry and dynamically updating the operable time in accordance with the current time, the user of the second account can easily and intuitively understand the remaining operation time. Using a countdown to dynamically update the operable time ensures that the time for processing the exchange invitation operation triggered by the first account occurs before the exchange activity ends, reminding the user to process the resource exchange invitation operation as soon as possible. This avoids subsequent continuous and sporadic exchange requests consuming computing resources, thus improving the utilization rate of computing resources.

[0162] This application also provides an application scenario in which the above-described method for obtaining virtual resources is applied. Specifically, the application of the method for obtaining virtual resources in this scenario is as follows:

[0163] In a group chat scenario, when user A sends a message to exchange red envelopes, group members who receive a red envelope can exchange it with other group members based on the amount they received. Once both parties agree to the exchange, the final red envelope amount is the amount received after the exchange. This proactive exchange of red envelopes enhances the flexibility and fun of receiving red envelopes, improving interaction among group members. Specifically, for example... Figure 14 As shown, the acquisition of virtual resources is implemented in two parts: front-end and back-end. The front-end is mainly responsible for displaying user interactions and making different interactive responses based on user actions. The back-end module is mainly responsible for technical processing and data storage, processing back-end data based on the front-end data interaction link.

[0164] Claiming virtual resources involves three main processes: sending red envelopes, opening red envelopes, and exchanging red envelopes. For example... Figure 15 As shown, in the process of sending red envelopes, user A enters a group chat, clicks the red envelope entry point in the group chat, selects the red envelope type as "exchange red envelope", and clicks "exchange red envelope". The server, i.e. the red envelope backend, receives the red envelope sending request initiated by user A, returns the red envelope configuration to the terminal where user A is located, and displays the exchange red envelope parameter configuration page on the terminal where user A is located. After selecting the total amount of the red envelope and the number of recipients, and completing all settings, the backend stores the set exchange red envelope parameters and sends the exchange red envelope to the group chat. Group members can receive a random amount of red envelope by clicking the exchange red envelope sent by user A.

[0165] In the process of opening a red envelope, user B, a member of the group chat, sees the "Exchange Red Envelope" option in the group chat. After clicking on the red envelope, a pop-up window for receiving the red envelope appears, displaying the amount of the red envelope currently received by user B, as well as the avatar information of user C who is also trying to claim a red envelope. Specifically, user B and user C in the group chat each click on the "Exchange Red Envelope" option displayed in the group chat. The red envelope backend responds to user B and user C's clicks by randomly allocating red envelope amounts to user B and user C, and displays the amount of the red envelope received on the respective devices of user B and user C.

[0166] In the red envelope exchange process, user C, a member of the group chat, can click the "Exchange" button below different user avatars to request to exchange red envelope amounts with user B (at this time, user C does not know user B's red envelope amount). User C waits for the invited user B to respond. If the invited user B does not respond or refuses to exchange, the amount received will remain unchanged after the countdown ends. When the invited user agrees to exchange red envelopes, the actual amount received after the exchange will be displayed when the countdown ends. User B and user C can view each other's red envelope amounts on the red envelope details page.

[0167] For user B, a member of a group chat, after clicking to exchange red envelopes, they receive a request from user C to exchange red envelopes in the current window. If user B clicks "Agree to Exchange," the system automatically begins exchanging the red envelope amounts between the two users. If user B refuses to exchange, user C will see a message saying "Red envelope request rejected." If user B takes no action, the original amount will be retained by default after the countdown ends. This process enhances the controllability of users grabbing red envelopes. Initially, users receive a randomly generated red envelope amount, but if they are not satisfied with it, they can choose to exchange it with other users. Both parties agree to exchange their red envelope amounts, increasing the autonomy of the red envelope activity. Simultaneously, it establishes connections between users grabbing red envelopes, enhancing the fun and interaction, and improving the overall interactive effect.

[0168] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0169] Based on the same inventive concept, this application also provides a virtual resource retrieving device for implementing the virtual resource retrieving method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more virtual resource retrieving device embodiments provided below can be found in the limitations of the virtual resource retrieving method described above, and will not be repeated here.

[0170] In one embodiment, such as Figure 16 As shown, a virtual resource acquisition device 1600 is provided, including: a resource acquisition module 1602, a candidate account display module 1604, and a resource exchange module 1606, wherein:

[0171] The resource acquisition module 1602 is used to respond to the acquisition operation of the first account in response to the resource exchange message and display the virtual resource acquired by the first account as the first virtual resource value.

[0172] The candidate account display module 1604 is used to display at least one candidate account information, wherein the second account to which the candidate account information belongs triggers a claim operation for the resource exchange message;

[0173] The resource exchange module 1606 is used to respond to the exchange invitation operation for the target candidate account information in the candidate account information. If the exchange invitation operation is successful, the virtual resources received by the first account are updated to the second virtual resource value received by the second account to which the target candidate account information belongs.

[0174] In one embodiment, the resource exchange module is further configured to, in response to an exchange invitation operation triggered for at least one target candidate account among the candidate account information, display a virtual resource exchange action corresponding to the target candidate account information to which the exchange invitation operation is successful; and, in response to the virtual resource exchange action, update the virtual resource received by the first account to the second virtual resource value received by the second account to which the target candidate account information to which the exchange invitation operation is successful belongs.

[0175] In one embodiment, the resource exchange module is further configured to respond to exchange invitation operations triggered for at least two target candidate account information in the candidate account information respectively, and to display a virtual resource exchange action corresponding to the target candidate account information that first confirms the exchange invitation operation.

[0176] In one embodiment, the resource exchange module is further configured to display a virtual resource icon to be exchanged corresponding to the target candidate account information where the exchange invitation operation is successful; and to display a virtual resource exchange action for the virtual resource icon to be exchanged and the resource icon of the virtual resource received by the first account.

[0177] In one embodiment, the device further includes a swap operation identifier display module, which is used to display a swap operation identifier corresponding to the candidate account information, wherein the status label of the swap operation identifier is "swap to be initiated"; in response to a swap invitation operation triggered for a target swap operation identifier corresponding to a target candidate account information in the candidate account information, the status label of the target swap operation identifier is updated from "swap to be initiated" to "swap initiated".

[0178] In one embodiment, the apparatus further includes a status tag update module, configured to update the status tag of the target exchange operation identifier from "initiated exchange" to "to be initiated exchange" in the event that the exchange invitation operation fails.

[0179] In one embodiment, the resource exchange module is further configured to, upon successful exchange invitation operation and fulfillment of the exchange activity termination conditions, update the virtual resources received by the first account to the second virtual resource value received by the second account to which the target candidate account information belongs.

[0180] In one embodiment, the device further includes an unknown numerical identifier display module, used to update the first virtual resource value to an unknown numerical identifier when the exchange invitation operation is successful and the exchange activity termination condition is not met.

[0181] The resource exchange module is also used to update the unknown value identifier to the second virtual resource value received by the second account to which the target candidate account information belongs when the exchange invitation operation is successful and the conditions for the end of the exchange activity are met.

[0182] In one embodiment, the device further includes a time display module for displaying the duration of the exchange activity in response to a first account's retrieval operation of a resource exchange message;

[0183] The resource exchange module is further configured to, when the exchange invitation operation is successful and the duration of the exchange activity is zero, update the virtual resources received by the first account to the second virtual resource value received by the second account to which the target candidate account information belongs.

[0184] In one embodiment, the time display module is further configured to dynamically update the duration of the exchange activity in accordance with changes in the current time; wherein the duration of the exchange activity is the difference between the duration of the exchange activity and the duration of the exchange activity already performed, and the duration of the exchange activity already performed is the time difference between the current time and the time of the first triggering of the resource exchange message.

[0185] In one embodiment, the device further includes a result viewing module, which, in response to a result viewing operation for the resource exchange message, displays an exchange identifier and the virtual resource value after the exchange for the account that triggered the request operation and successfully initiated the exchange invitation operation for the resource exchange message.

[0186] In one embodiment, such as Figure 17 As shown, a virtual resource acquisition device 1700 is provided, including: a resource acquisition module 1702, a candidate account display module 1704, and a resource exchange module 1706, wherein:

[0187] The resource acquisition module 1700 is used to respond to the acquisition operation of the second account in response to the resource exchange message and to display the virtual resource acquired by the second account as the second virtual resource value.

[0188] The candidate account display module 1704 is used to display at least one candidate account information, wherein the first account to which the candidate account information belongs triggers a receiving operation for the resource exchange message and an exchange invitation operation for the second account;

[0189] The resource exchange module 1706 is used to respond to the exchange confirmation operation for the target candidate account information in the candidate account information, and update the virtual resources received by the second account to the first virtual resource value received by the first account to which the target candidate account information belongs.

[0190] In one embodiment, the resource exchange module is further configured to, in response to a selection operation of a target candidate account in the candidate account information, display an exchange invitation processing entry corresponding to the target candidate account information; and, in response to an exchange confirmation operation triggered by the exchange invitation processing entry, update the virtual resources received by the second account to the first virtual resource value received by the first account to which the target candidate account information belongs.

[0191] In one embodiment, the resource exchange module is further configured to display a confirmation exchange entry and a rejection exchange entry corresponding to the target candidate account information; the device further includes an entry update module, configured to update the exchange invitation processing entry to an exchange invitation initiation entry in response to a rejection exchange operation triggered by the rejection exchange entry.

[0192] In one embodiment, the device further includes a time display module for displaying the operable time for the exchange invitation processing entry; dynamically updating the operable time as the current time changes; wherein the operable time is less than or equal to the duration of the exchange activity for the resource exchange message; the duration of the exchange activity is the difference between the duration of the exchange activity and the duration of the exchange activity already performed, and the duration of the exchange activity already performed is the time difference between the current time and the time of the first triggering of the resource exchange message.

[0193] Each module in the aforementioned virtual resource acquisition device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can invoke and execute the operations corresponding to each module.

[0194] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 18 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements a method for retrieving virtual resources. The display unit of the computer device is used to form a visually visible image. It can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0195] Those skilled in the art will understand that Figure 18The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0196] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0197] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0198] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

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

[0200] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0201] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0202] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for obtaining virtual resources, characterized in that, The method includes: In response to the first account's operation of receiving the resource exchange message, the virtual resource received by the first account is displayed as the first virtual resource value; Display at least one candidate account information, wherein the second account to which the candidate account information belongs triggers a claim operation for the resource exchange message; Display the exchange operation identifier corresponding to the candidate account information, and the status label of the exchange operation identifier is "Exchange to be initiated"; In response to an exchange invitation operation triggered by the target exchange operation identifier corresponding to the target candidate account information in the candidate account information, the status label of the target exchange operation identifier is updated from "to be initiated exchange" to "initiated exchange". If the exchange invitation operation is successful, the virtual resources received by the first account are updated to the second virtual resource value received by the second account to which the target candidate account information belongs.

2. The method according to claim 1, characterized in that, The step of responding to an exchange invitation operation triggered by a target exchange operation identifier corresponding to the target candidate account information in the candidate account information, and updating the virtual resources received by the first account to the second virtual resource value received by the second account to which the target candidate account information belongs, if the exchange invitation operation is successful, includes: In response to an exchange invitation operation triggered for at least one target candidate account among the candidate account information, a virtual resource exchange action is displayed for the target candidate account information for which the exchange invitation operation is successful; the exchange invitation operation is triggered by a target exchange operation identifier corresponding to the at least one target candidate account information. In response to the virtual resource exchange action, the virtual resources received by the first account are updated to the second virtual resource value received by the second account to which the target candidate account information of the successful exchange invitation operation belongs.

3. The method according to claim 2, characterized in that, The response to an exchange invitation operation triggered for at least one target candidate account among the candidate account information, corresponding to the target candidate account information where the exchange invitation operation is successful, displays a virtual resource exchange action, including: In response to an exchange invitation operation triggered for at least two target candidate accounts among the candidate account information, a virtual resource exchange action is displayed for the target candidate account information that first confirms the exchange invitation operation.

4. The method according to claim 2, characterized in that, The target candidate account information corresponding to the successful exchange invitation operation displays the virtual resource exchange action, including: The virtual resource icon to be exchanged is displayed corresponding to the target candidate account information of the successful exchange invitation operation; The animation shows the exchange between the virtual resource icon to be exchanged and the virtual resource icon claimed by the first account.

5. The method according to claim 1, characterized in that, The method further includes: If the exchange invitation operation fails, the status label of the target exchange operation identifier will be updated from "initiated exchange" to "to be initiated exchange".

6. The method according to claim 1, characterized in that, If the exchange invitation operation is successful, updating the virtual resources received by the first account to the second virtual resource value received by the second account to which the target candidate account information belongs includes: If the exchange invitation operation is successful and the conditions for the exchange activity to end are met, the virtual resources received by the first account will be updated to the second virtual resource value received by the second account to which the target candidate account information belongs.

7. The method according to claim 6, characterized in that, The method further includes: If the exchange invitation operation is successful and the conditions for ending the exchange activity are not met, the first virtual resource value will be updated to an unknown numerical identifier. If the exchange invitation operation is successful and the conditions for the exchange activity to end are met, the virtual resources received by the first account will be updated to the second virtual resource value received by the second account to which the target candidate account information belongs, including: If the exchange invitation operation is successful and the conditions for the exchange activity to end are met, the unknown value identifier will be updated to the second virtual resource value received by the second account to which the target candidate account information belongs.

8. The method according to claim 6, characterized in that, The method further includes: In response to the first account's claim operation for the resource exchange message, display the duration of the exchange activity; If the exchange invitation operation is successful and the conditions for the exchange activity to end are met, the virtual resources received by the first account will be updated to the second virtual resource value received by the second account to which the target candidate account information belongs, including: If the exchange invitation operation is successful and the duration of the exchange activity is zero, the virtual resources received by the first account will be updated to the second virtual resource value received by the second account to which the target candidate account information belongs.

9. The method according to claim 8, characterized in that, The method further includes: The duration of the exchange activity is dynamically updated in accordance with the current time. The duration of the exchange activity is the difference between the duration of the exchange activity and the duration of the exchange activity already completed. The duration of the exchange activity already completed is the time difference between the current time and the time when the first triggering of the resource exchange message was initiated.

10. The method according to any one of claims 1 to 9, characterized in that, The method further includes: In response to the operation of viewing the result of the resource exchange message, for the account that triggered the claim operation and the exchange invitation operation was successful, the exchange identifier and the virtual resource value after the exchange are displayed.

11. A method for obtaining virtual resources, characterized in that, The method includes: In response to the second account's operation to claim the resource exchange message, the virtual resource claimed by the second account is displayed as the second virtual resource value; Display at least one candidate account information, wherein the first account to which the candidate account information belongs triggers a claim operation for the resource exchange message and an exchange invitation operation for the second account; In response to the selection operation of the target candidate account information in the candidate account information, an exchange invitation processing entry is displayed corresponding to the target candidate account information. The exchange invitation processing entry includes a confirm exchange entry and a reject exchange entry. In response to the exchange confirmation operation triggered for the confirmed exchange entry, the virtual resources received by the second account are updated to the first virtual resource value received by the first account to which the target candidate account information belongs; In response to the rejection exchange operation triggered by the rejection exchange entry, the exchange invitation processing entry is updated to the exchange invitation initiation entry.

12. The method according to claim 11, characterized in that, The method further includes: Display the available time for the exchange invitation processing entry; The operable time is dynamically updated in accordance with changes in the current time. Wherein, the operable time is less than or equal to the duration of the exchange activity for the resource exchange message; the duration of the exchange activity is the difference between the duration of the exchange activity and the duration of the exchange activity already performed, and the duration of the exchange activity already performed is the time difference between the current time and the time of the first triggering of the resource exchange message.

13. A device for retrieving virtual resources, characterized in that, The device includes: The resource acquisition module is used to respond to the resource acquisition operation of the first account in response to the resource exchange message and display the virtual resource acquired by the first account as the first virtual resource value. The candidate account display module is used to display at least one candidate account information, wherein the second account to which the candidate account information belongs triggered a claim operation for the resource exchange message; The exchange operation identifier display module displays the exchange operation identifier corresponding to the candidate account information, and the status label of the exchange operation identifier is "to be initiated". The resource exchange module is used to respond to an exchange invitation operation triggered by the target exchange operation identifier corresponding to the target candidate account information in the candidate account information, update the status label of the target exchange operation identifier from "to be initiated" to "initiated exchange", and if the exchange invitation operation is successful, update the virtual resources received by the first account to the second virtual resource value received by the second account to which the target candidate account information belongs.

14. The apparatus according to claim 13, characterized in that, The resource exchange module is also used to respond to an exchange invitation operation triggered for at least one target candidate account information in the candidate account information, and to display a virtual resource exchange action corresponding to the target candidate account information for which the exchange invitation operation is successful; In response to the virtual resource exchange action, the virtual resources received by the first account are updated to the second virtual resource value received by the second account to which the target candidate account information of the successful exchange invitation operation belongs. The exchange invitation operation is triggered by the target exchange operation identifier corresponding to the at least one target candidate account information.

15. The apparatus according to claim 14, characterized in that, The resource exchange module is also used to respond to exchange invitation operations triggered for at least two target candidate account information in the candidate account information respectively, and to display a virtual resource exchange action corresponding to the target candidate account information that first confirms the exchange invitation operation.

16. The apparatus according to claim 14, characterized in that, The resource exchange module is also used to display a virtual resource icon to be exchanged corresponding to the target candidate account information of the successful exchange invitation operation; and to display a virtual resource exchange animation for the virtual resource icon to be exchanged and the virtual resource icon received by the first account.

17. The apparatus according to claim 13, characterized in that, The device further includes a status tag update module, used to update the status tag of the target exchange operation identifier from "initiated exchange" to "to be initiated exchange" in the event that the exchange invitation operation fails.

18. The apparatus according to claim 13, characterized in that, The resource exchange module is further configured to, when the exchange invitation operation is successful and the conditions for the end of the exchange activity are met, update the virtual resources received by the first account to the second virtual resource value received by the second account to which the target candidate account information belongs.

19. The apparatus according to claim 18, characterized in that, The device further includes an unknown value identifier display module, which is used to update the first virtual resource value to an unknown value identifier when the exchange invitation operation is successful and the conditions for the end of the exchange activity are not met. The resource exchange module is also used to update the unknown value identifier to the second virtual resource value received by the second account to which the target candidate account information belongs when the exchange invitation operation is successful and the conditions for the end of the exchange activity are met.

20. The apparatus according to claim 18, characterized in that, The device also includes a time display module for displaying the duration of the exchange activity in response to the first account's retrieval operation of the resource exchange message; The resource exchange module is further configured to, when the exchange invitation operation is successful and the duration of the exchange activity is zero, update the virtual resources received by the first account to the second virtual resource value received by the second account to which the target candidate account information belongs.

21. The apparatus according to claim 20, characterized in that, The time display module is also used to dynamically update the duration of the exchange activity in accordance with the change of the current time; wherein, the duration of the exchange activity is the difference between the duration of the exchange activity and the duration of the exchange activity already performed, and the duration of the exchange activity already performed is the time difference between the current time and the time of the first triggering of the resource exchange message.

22. The apparatus according to any one of claims 14 to 21, characterized in that, The device also includes a result viewing module, which is used to respond to the result viewing operation of the resource exchange message, and to display the exchange identifier and the virtual resource value after the exchange for the account that triggered the receiving operation and the exchange invitation operation was successful.

23. A device for retrieving virtual resources, characterized in that, The device includes: The resource acquisition module is used to respond to the resource acquisition operation of the second account in response to the resource exchange message, and to display the virtual resource acquired by the second account as the second virtual resource value; The candidate account display module is used to display at least one candidate account information, wherein the first account to which the candidate account information belongs triggers the receiving operation for the resource exchange message and the exchange invitation operation for the second account; The resource exchange module is used to respond to the selection operation of the target candidate account information in the candidate account information, and to display the exchange invitation processing entry corresponding to the target candidate account information. The exchange invitation processing entry includes a confirmation exchange entry and a rejection exchange entry. In response to the exchange confirmation operation triggered by the confirmation exchange entry, the virtual resources received by the second account are updated to the first virtual resource value received by the first account to which the target candidate account information belongs. The entry update module is used to update the exchange invitation processing entry to the exchange invitation initiation entry in response to the rejection exchange operation triggered by the rejection exchange entry.

24. The apparatus according to claim 23, characterized in that, The device further includes a time display module for displaying the operable time for the exchange invitation processing entry; dynamically updating the operable time as the current time changes; wherein the operable time is less than or equal to the duration of the exchange activity for the resource exchange message; the duration of the exchange activity is the difference between the duration of the exchange activity and the duration of the exchange activity already performed, and the duration of the exchange activity already performed is the time difference between the current time and the time of the first triggering of the resource exchange message.

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

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

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

Citation Information

Patent Citations

  • Resource exchanging method, device and system

    CN104348830A