Virtual resource pack processing methods and related products

CN116661647BActive Publication Date: 2026-09-01TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210152548.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-18
Publication Date
2026-09-01
Estimated Expiration
2042-02-18

AI Technical Summary

Technical Problem

相关技术,虚拟资源包的领取过程,多为领取方和发送方之间的单向互动,即发送方进行虚拟资源包的发送,领取方进行虚拟资源包的领取,领取过程缺乏互动,导致设备处理资源的浪费

Benefits of technology

当接收到针对群组会话的会话界面中虚拟资源包的触发操作时,呈现操作功能项,该操作功能项,用于对群组会话中的目标对象执行目标操作,以领取虚拟资源包中的虚拟资源;当接收到针对操作功能项的触发操作时,对目标对象执行目标操作,并呈现目标操作的执行指示信息;当基于操作功能项,对目标对象执行的目标操作结束时,呈现虚拟资源的资源领取结果。如此,能够借助虚拟资源包的领取,对群组会话中目标对象执行目标操作,实现虚拟资源包领取过程中的多向互动,提高设备处理资源的利用率;同时,使得虚拟资源包的领取过程更具趣味性和多样性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116661647B_ABST
    Figure CN116661647B_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, device, storage medium, and computer program product for processing virtual resource packages. The method includes: responding to a trigger operation of a virtual resource package in a session interface for a group session, presenting an operation function item, the operation function item being used to perform a target operation on a target object in the group session to claim virtual resources in the virtual resource package; responding to a trigger operation on the operation function item, performing the target operation on the target object, and presenting execution instruction information for the target operation; when the target operation performed on the target object based on the operation function item ends, presenting a resource claiming result for the virtual resources. Through this application, by using the claiming of virtual resource packages, a target operation can be performed on a target object in a group session, improving the utilization rate of device processing resources and making the process of claiming virtual resource packages more interesting and diverse.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the development of internet technology, the retrieval of virtual resource packages has become an important function of client applications. However, the retrieval process is often a one-way interaction between the sender and receiver; the sender sends the virtual resource package, and the receiver retrieves it. This lack of interaction leads to a waste of device processing resources. Summary of the Invention

[0003] This application provides a method, apparatus, device, storage medium, and computer program product for processing virtual resource packs. By using virtual resource packs to claim them, target operations can be performed on target objects in group sessions, improving the utilization rate of device processing resources and making the process of claiming virtual resource packs more interesting and diverse.

[0004] The technical solution of this application embodiment is implemented as follows: This application provides a method for processing virtual resource packages, including: In response to a trigger operation of a virtual resource package in the session interface of a group session, an operation function item is presented. The operation function item is used to perform a target operation on a target object in the group session in order to claim the virtual resources in the virtual resource package. In response to a trigger operation for the operation function item, the target operation is performed on the target object, and execution instruction information for the target operation is presented; When the target operation performed on the target object based on the operation function item is completed, the resource acquisition result of the virtual resource is presented.

[0005] This application also provides a method for processing virtual resource packages, including: In response to editing operations of virtual resource packs triggered through the chat interface of a group session, the editing interface of the virtual resource pack is presented; Based on the editing interface, determine the target operation for claiming the virtual resources in the virtual resource package, and the target object in the group session to which the target operation is directed; Based on the target operation and the target object, in response to the sending instruction for the virtual resource package, the virtual resource package is sent and presented in the session interface so that the virtual resource can be retrieved when the target operation is performed on the target object based on the virtual resource package.

[0006] This application also provides a virtual resource package processing apparatus, including: The first presentation module is used to respond to the trigger operation of the virtual resource package in the session interface of the group session and present the operation function item. The operation function item is used to perform the target operation on the target object in the group session to retrieve the virtual resources in the virtual resource package. An execution module is used to respond to a trigger operation for the operation function item, perform the target operation on the target object, and present the execution instruction information of the target operation; The second presentation module is used to present the resource acquisition result of the virtual resource when the target operation performed on the target object based on the operation function item ends.

[0007] In the above scheme, the first presentation module is further configured to present the virtual resource package in the session interface of the group session, and to present the resource instruction information of the virtual resource package in the cover display area of ​​the virtual resource package; wherein, the resource instruction information is used to instruct the target object to perform the target operation in order to claim the virtual resources in the virtual resource package.

[0008] In the above scheme, the first presentation module is further used to present a resource acquisition interface and, in the resource acquisition interface, present the operation function item; correspondingly, the first presentation module is further used to present the object identifier of the target object and the operation instruction information of the operation function item in the resource acquisition interface.

[0009] In the above scheme, the first presentation module is further used to present the remaining preparation time of the operation corresponding to the operation function item; when the remaining preparation time reaches the remaining time threshold, the operation function item is controlled to be in an operable state, so that the target operation can be performed on the target object through the operation function item in the operable state.

[0010] In the above scheme, the execution module is further configured to present the object identifier of the target object; receive a sliding operation for the operation function item; and determine that a trigger operation for the operation function item has been received when the operation function item is slid to the area associated with the object identifier.

[0011] In the above scheme, the first presentation module is further configured to present an operation function item in an active state; correspondingly, the first presentation module is further configured to receive a shaking operation on the electronic device presenting the operation function item; when the shaking operation meets the activation condition, the operation function item is activated so that the operation function item is in the active state.

[0012] In the above scheme, the first presentation module is further configured to present at least two candidate operation function items, the at least two candidate operation function items belonging to the same emotion category, and different candidate operation function items corresponding to different target operations; in response to the selection operation for selecting candidate operation function items, the selected candidate operation function item is presented as the operation function item.

[0013] In the above scheme, the second presentation module is further configured to respond to the viewing command for the session interface, present the session interface, and display an operation animation of performing the target operation on the target object in the session interface.

[0014] In the above scheme, the execution module is further configured to present the number of times the target operation is executed on the target object, and to present a corresponding operation animation for each target operation executed, so as to present the execution instruction information of the target operation.

[0015] In the above scheme, the second presentation module is further used to present the remaining operable time corresponding to the operation function item; when the remaining operable time reaches the remaining time threshold, it is determined that the target operation performed on the target object based on the operation function item has ended.

[0016] In the above scheme, the second presentation module is further used to present the resource value of the virtual resource obtained as the resource acquisition result; wherein, the size of the resource value corresponds to the execution information of the target operation, and the execution information includes at least one of execution count and execution frequency.

[0017] In the above scheme, when there are at least two target objects, the first presentation module is further configured to present operation function items corresponding to each target object; correspondingly, the execution module is further configured to execute the target operation on the target object corresponding to the target operation function item in response to the trigger operation of the target operation function item among the at least two operation function items.

[0018] In the above scheme, when there are at least two target objects, the first presentation module is further configured to select an object to be executed from the at least two target objects and present the operation function item corresponding to the object to be executed; correspondingly, the execution module is further configured to execute the target operation on the object to be executed in response to the trigger operation of the operation function item corresponding to the object to be executed.

[0019] In the above scheme, the first presentation module is further configured to select an object to be executed from at least two target objects based on the operation information corresponding to each target object; wherein the operation information includes at least one of the following: the number of times the target operation is executed, the frequency at which the target object is selected as an object to be executed, and the order in which the target objects are selected as objects to be executed.

[0020] In the above scheme, the second presentation module is further configured to present the execution result of the target operation performed on the target object when the target operation performed on the target object based on the operation function item ends; wherein the execution result includes at least one of the following: the number of times the target operation was performed, the score of the target operation, and the completion degree of the target operation.

[0021] In the above scheme, the first presentation module is further configured to respond to a viewing instruction for the session interface, present the session interface, and when a target virtual resource package is published in the session interface, present interactive information corresponding to the target virtual resource package in the session interface; wherein, the target virtual resource package is configured to receive virtual resources in the target virtual resource package when a first operation is performed on the current object based on the target virtual resource package, and the interactive information includes at least one of the following: the sending object of the target virtual resource package, the receiving object of the target virtual resource package, and the description information of the first operation.

[0022] In the above scheme, the second presentation module is further configured to respond to the viewing command for the session interface, present the session interface, and display the feedback information of the target object for the target operation in the session interface.

[0023] This application also provides a virtual resource package processing apparatus, including: The third presentation module is used to respond to the editing operation of the virtual resource pack triggered by the session interface of the group session and present the editing interface of the virtual resource pack. The determination module is used to determine, based on the editing interface, the target operation for claiming virtual resources in the virtual resource package, and the target object in the group session to which the target operation is directed; A sending module is configured to, based on the target operation and the target object, respond to a sending instruction for the virtual resource package, send the virtual resource package, and present the virtual resource package in the session interface, so as to retrieve the virtual resource when the target operation is performed on the target object based on the virtual resource package.

[0024] In the above scheme, the determining module is further configured to present a selection control for at least one candidate operation in the editing interface, the at least one candidate operation including the target operation; in response to a selection operation for the target candidate operation triggered based on the selection control, the target candidate operation is determined as the target operation for claiming the virtual resource.

[0025] In the above scheme, the determining module is further configured to present an object selection function item in the editing interface; in response to a trigger operation for the object selection function item, present multiple session objects in the group session; and in response to a selection operation for selecting a session object, determine the selected session object as the target object for the target operation.

[0026] In the above scheme, the third presentation module is further configured to present a viewing permission function item corresponding to the virtual resource package in the editing interface. The viewing permission function item is used to set the viewing permission of the target object for the virtual resource package. When the viewing permission set based on the viewing permission function item indicates that the target object can view the virtual resource package, the virtual resource package is made visible to the target object. When the viewing permission set based on the viewing permission function item indicates that the target object cannot view the virtual resource package, the virtual resource package is made invisible to the target object.

[0027] In the above scheme, the third presentation module is also used to present a duration setting function item in the editing interface; wherein, the duration setting function item is used to set the operation duration threshold of the operation function item corresponding to the virtual resource package, and the operation function item is used to perform a target operation on the target object to retrieve the virtual resources in the virtual resource package.

[0028] This application also provides an electronic device, including: Memory, used to store executable instructions; The processor, when executing executable instructions stored in the memory, implements the virtual resource package processing method provided in the embodiments of this application.

[0029] This application also provides a computer-readable storage medium storing executable instructions, which, when executed by a processor, implement the virtual resource package processing method provided in this application.

[0030] This application also provides a computer program product, including a computer program or instructions, which, when executed by a processor, implement the virtual resource package processing method provided in this application.

[0031] The embodiments of this application have the following beneficial effects: When a trigger operation for a virtual resource package is received in the group session's interface, an operation function is presented. This function is used to perform a target operation on a target object within the group session to claim virtual resources from the package. Upon receiving a trigger operation for this function, the target operation is performed on the target object, and execution instructions are displayed. When the target operation performed on the target object based on the function is completed, the resource claiming result is displayed. In this way, by using the claiming of virtual resource packages, target operations can be performed on target objects within the group session, enabling multi-directional interaction during the virtual resource package claiming process and improving the utilization of device processing resources. Simultaneously, it makes the virtual resource package claiming process more engaging and varied. Attached Figure Description

[0032] Figure 1 This is a schematic diagram of the architecture of the virtual resource package processing system 100 provided in this application embodiment; Figure 2 This is a schematic diagram of the structure of an electronic device 500 that implements the virtual resource package processing method provided in this application embodiment; Figure 3 This is a flowchart illustrating the virtual resource package processing method provided in an embodiment of this application; Figure 4 This is a schematic diagram showing the virtual resource package and operation function items provided in the embodiments of this application; Figure 5 This is a schematic diagram showing the operation function items provided in the embodiments of this application; Figure 6 This is a schematic diagram showing the operation function items provided in the embodiments of this application; Figure 7 This is a schematic diagram of the triggering process of the operation function items provided in the embodiments of this application; Figure 8 This is a schematic diagram of the triggering process of the operation function items provided in the embodiments of this application; Figure 9 This is a schematic diagram of the process for claiming virtual resources in a virtual resource package provided in this application embodiment; Figure 10 This is a schematic diagram of the operation animation displayed in the session interface provided in the embodiments of this application; Figure 11 This is a schematic diagram showing the interactive information of the target virtual resource package provided in the embodiments of this application; Figure 12 This is a flowchart illustrating the virtual resource package processing method provided in an embodiment of this application; Figure 13 This is a schematic diagram of the virtual resource package sending process provided in the embodiments of this application; Figure 14 This is a schematic diagram illustrating the process of sending and receiving virtual resource packages provided in related technologies; Figure 15 This is a flowchart illustrating the virtual resource package processing method provided in the embodiments of this application. Detailed Implementation

[0033] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0034] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0035] In the following description, the terms "first, second, third" are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that "first, second, third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0036] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.

[0037] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.

[0038] 1) Client: An application that runs on a terminal and provides various services, such as an instant messaging client or a video playback client.

[0039] 2) In response, used to indicate the conditions or states on which the operation performed depends. When the conditions or states on which it depends are met, one or more operations performed may be performed in real time or with a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations are performed.

[0040] 3) Virtual resources: refer to any form of resource that can be transmitted over a network, measured in "amount"; for example, virtual resources can be "gifts (such as flowers)" in a live streaming scenario, and the amount can be the number of gifts or the price of the gifts; virtual resources can be tips in a live streaming scenario (such as vouchers on a live streaming platform), and the amount can be the number or amount of virtual coins; virtual resources can be electronic currency corresponding to electronic red envelopes, and the amount can be the amount of electronic currency (i.e., the value of electronic currency included in the electronic red envelope, which is based on mobile payment technology to realize the transfer of electronic currency between users).

[0041] 4) Virtual resource package: The information form that carries virtual resources. It contains all the virtual resources obtained through the request of the virtual resource set. For example, a virtual resource package can be information containing gifts or flowers in a live broadcast scene, a virtual resource package can be an electronic red envelope, or a virtual resource package can be information containing electronic currency.

[0042] This application provides a method, apparatus, device, storage medium, and computer program product for processing virtual resource packs. By using virtual resource packs to claim them, target operations can be performed on target objects in group sessions, improving the utilization rate of device processing resources and making the process of claiming virtual resource packs more interesting and diverse.

[0043] The following describes the implementation scenario of the virtual resource package processing method provided in the embodiments of this application. See also Figure 1 , Figure 1 This is a schematic diagram of the architecture of the virtual resource packet processing system 100 provided in this application embodiment. To support an exemplary application, terminals 400-1 and 400-2 are connected to server 200 through network 300. Network 300 can be a wide area network (WAN), a local area network (LAN), or a combination of both, using wireless or wired links to achieve data transmission. Terminal 400-1 corresponds to the sending end of the virtual resource packet, and terminal 400-2 corresponds to the receiving end of the virtual resource packet. Terminals 400-1 and 400-2 can each be equipped with an instant messaging client that supports sending and receiving virtual resource packets.

[0044] Terminal 400-1 is used to respond to the editing operation of the virtual resource package triggered by the session interface of the group session, and to present the editing interface of the virtual resource package; based on the editing interface, to determine the target operation for retrieving the virtual resources in the virtual resource package, and the target object in the group session to which the target operation is targeted; based on the target operation and the target object, in response to the sending instruction for the virtual resource package, to send the virtual resource package to server 200, so that server 200 forwards it to terminal 400-2; and to present the virtual resource package in the session interface; Server 200 is used to receive virtual resource packets sent by terminal 400-1 and send the virtual resource packets to terminal 400-2; Terminal 400-2 is used to receive virtual resource packages sent by server 200 and present the virtual resource packages in the session interface of the group session; in response to a trigger operation on the virtual resource package, it presents operation function items to perform target operations on target objects in the group session based on the operation function items and retrieve virtual resources in the virtual resource package; in response to a trigger operation on the operation function items, it performs target operations on target objects and presents execution instruction information for the target operations; when the target operations performed on target objects based on the operation function items are completed, it presents the resource retrieval result of the virtual resources.

[0045] In some embodiments, the virtual resource package processing method provided in this application can be implemented by various electronic devices. For example, it can be implemented by a terminal alone, by a server alone, or by a terminal and a server working together. This application can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, smart transportation, and assisted driving.

[0046] In some embodiments, the electronic device implementing the processing of virtual resource packages provided in this application can be various types of terminal devices or servers. The server (e.g., server 200) can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. The terminal (e.g., terminal 400-1) can be a smartphone, tablet, laptop, desktop computer, intelligent voice interaction device (e.g., smart speaker), smart home appliance (e.g., smart TV), smartwatch, in-vehicle terminal, etc., but is not limited to these. The terminal and server can be directly or indirectly connected via wired or wireless communication, and this application does not impose any limitations on this.

[0047] In some embodiments, the terminal or server can implement the virtual resource package processing method provided in this application embodiment by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (APP), that is, a program that needs to be installed in the operating system to run; it can also be a mini-program, that is, a program that only needs to be downloaded to the browser environment to run; or it can be a mini-program that can be embedded in any APP. In short, the above-mentioned computer program can be any form of application, module or plugin.

[0048] In some embodiments, multiple servers can form a blockchain, with each server being a node on the blockchain. Information connections can exist between each node in the blockchain, allowing for information transmission between nodes. Furthermore, data related to the virtual resource package processing method provided in this application (such as resource acquisition results, object identifiers, etc.) can be stored on the blockchain.

[0049] The following describes an electronic device that implements a virtual resource package processing method according to embodiments of this application. See also: Figure 2 , Figure 2 This is a schematic diagram of the structure of an electronic device 500 implementing the virtual resource package processing method provided in this application embodiment. The electronic device 500 is used as an example. Figure 1 Taking the terminal shown as an example, the electronic device 500 implementing the virtual resource package processing method provided in this application embodiment includes: at least one processor 510, a memory 550, at least one network interface 520, and a user interface 530. The various components in the electronic device 500 are coupled together through a bus system 540. It is understood that the bus system 540 is used to realize the connection and communication between these components. In addition to a data bus, the bus system 540 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 2 The general labeled all buses as Bus System 540.

[0050] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.

[0051] The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state storage, hard disk drives, optical disk drives, etc. The memory 550 may optionally include one or more storage devices physically located away from the processor 510.

[0052] The memory 550 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 550 described in this application embodiment is intended to include any suitable type of memory.

[0053] In some embodiments, memory 550 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or subsets or supersets thereof, as illustrated below.

[0054] Operating system 551 includes system programs for handling various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, driver layer, etc., for implementing various basic business functions and handling hardware-based tasks; The network communication module 552 is used to reach other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 including: Bluetooth, WiFi, and Universal Serial Bus (USB), etc. In some embodiments, the virtual resource package processing apparatus provided in this application can be implemented in software. Figure 2 A processing device 553 for a virtual resource package stored in memory 550 is shown. The virtual resource package can be software in the form of programs and plug-ins, and includes the following software modules: a first presentation module 5531, an execution module 5532, and a second presentation module 5533. These modules are logically related and can therefore be arbitrarily combined or further divided according to the functions they implement. The functions of each module will be described below.

[0055] The following describes the processing method for virtual resource packages provided in the embodiments of this application. In some embodiments, the processing method for virtual resource packages provided in the embodiments of this application can be implemented by various electronic devices. For example, it can be implemented by a terminal alone, by a server alone, or by a terminal and a server working together. Taking terminal implementation as an example, see [link to documentation]. Figure 3 , Figure 3 This is a flowchart illustrating a method for processing virtual resource packages provided in an embodiment of this application. The method for processing virtual resource packages provided in an embodiment of this application includes: Step 101: The terminal responds to the trigger operation of the virtual resource pack in the session interface for the group session and presents the operation function items.

[0056] The operation function item is used to perform target operations on the target object in the group session in order to retrieve virtual resources in the virtual resource package.

[0057] Here, the terminal can be a receiver of virtual resource packages. In practical applications, the terminal is equipped with a client, such as an instant messaging client. The terminal presents a group chat interface by running the client. Users can communicate with other members in the group through this interface, such as sending text, images, videos, and emoticons. It should be noted that the group chat in this embodiment can be either a one-on-one chat with two members or a group chat with more than two members; this is not limited here.

[0058] In some embodiments, users can also send virtual resource packets during conversations. The terminal displays the received or sent virtual resource packets in the presented group conversation interface. Here, the sender of the virtual resource packet can be the current user or other conversation members in the group conversation. It is understood that the current user can also claim the virtual resource packets they themselves sent.

[0059] In some embodiments, when a user performs a display operation on the group session's session interface and the terminal displays the group session interface, the virtual resource package may be displayed directly in the group session's session interface; or, when a user performs a display operation on the group session's session interface and the terminal displays the group session's session interface, due to newly added session messages, the virtual resource package is not presented in the current group session's session interface. The terminal receives a swipe operation on the group session's session interface and, in response to the swipe operation, scrolls to display session messages so that the virtual resource package is presented in the group session's session interface.

[0060] In some embodiments, for virtual resource packages presented in the chat interface of a group session, users can claim virtual resources from the package by clicking, long-pressing, double-clicking, or other trigger operations. When a terminal receives a trigger operation for a virtual resource package in the chat interface of a group session, it responds to the trigger operation by presenting an operation function item. Based on this operation function item, a target operation is performed on a target object in the group session to claim the virtual resources from the package. In practical applications, the target object can be selected by the sender of the virtual resource package when sending it, or it can be randomly selected in the group session. The target operation is an interaction with the target object, such as "patting," "touching," or "hugging," to interact with the target object by claiming the virtual resources from the package.

[0061] In some embodiments, before presenting the operation function items, the terminal may present a virtual resource package in the group session's session interface and present resource instruction information of the virtual resource package in the cover display area of ​​the virtual resource package; wherein, the resource instruction information is used to instruct the target object to perform the target operation in order to retrieve the virtual resources in the virtual resource package.

[0062] In practical applications, when the terminal displays the virtual resource package in the group session interface, it can also display the resource instruction information of the virtual resource in the cover display area of ​​the virtual resource package. This resource instruction information is used to instruct the target object to perform the target operation in order to claim the virtual resource in the virtual resource package, that is, to show the user how to claim the virtual resource in the virtual resource package.

[0063] In some embodiments, the terminal may present operation function items in the following manner: presenting a resource acquisition interface and presenting operation function items in the resource acquisition interface; correspondingly, the terminal may also present the object identifier of the target object and the operation instruction information of the operation function items in the resource acquisition interface.

[0064] In practical applications, in response to a trigger operation on a virtual resource package within a group session's interface, the terminal presents a resource claiming interface including operation functions. This interface allows users to perform target operations on a target object using these functions to claim virtual resources from the virtual resource package. Simultaneously, the terminal can also display the target object's identifier (such as avatar, nickname, etc.) and operation instructions for the operation functions within the resource claiming interface. These instructions guide the user to perform the target operation on the target object based on the operation functions to claim the virtual resources from the package. In other words, it demonstrates the function of each operation function and how to claim virtual resources using them.

[0065] As an example, see Figure 4 , Figure 4 This is a schematic diagram showing the virtual resource package and operation function items provided in this application embodiment. Here, the terminal presents the virtual resource package in the chat interface of the group chat "XX Exchange Group", and displays the resource instruction information "Initiate a small action to target object W" in the cover display area of ​​the virtual resource package, that is, prompting the user to obtain the virtual resources in the virtual resource package by initiating a small action to target object W, such as... Figure 4As shown in (1); in response to the trigger operation for the virtual resource package, a pop-up resource claiming interface is presented, and the operation function items are presented in the resource claiming interface. At the same time, the object identifier of the target object W (i.e., avatar, nickname and W) and the operation instruction information of the operation function items (i.e., "hug you" and the corresponding "hug" image) are presented, that is, the user is instructed to perform the "hug you" operation on the target object W based on the operation function items to claim the virtual resources in the virtual resource package, such as Figure 4 As shown in (2).

[0066] In some embodiments, the terminal may also display the remaining preparation time for the operation function item; when the remaining preparation time reaches the remaining time threshold, the operation function item is controlled to be in an operable state so that the target operation can be performed on the target object through the operation function item in the operable state.

[0067] In practical applications, preparation time can also be provided to users. That is, after the operation function is presented, the operation function is in an inoperable state, and the user cannot perform the target operation on the target object based on the operation function. At this time, preparation time is provided to the user, and the corresponding remaining preparation time is presented (for example, displayed in the form of a countdown). When the remaining preparation time reaches the remaining time threshold (such as the remaining preparation time being zero), the operation function is controlled to be in an operable state, so that the target operation can be performed on the target object through the operation function in the operable state.

[0068] In some embodiments, the terminal may present an operation function item in the following manner: presenting an operation function item in an active state; correspondingly, the terminal may activate the operation function item in the following manner: receiving a shaking operation on the electronic device presenting the operation function item; when the shaking operation meets the activation condition, activating the operation function item to make the operation function item in an active state.

[0069] In practical applications, this operation function can have an active and inactive state. When the operation function is active, the user can perform a target operation on the target object to obtain virtual resources; when the operation function is inactive, the user cannot perform a target operation on the target object to obtain virtual resources.

[0070] In practice, the activation of this operation function, i.e., switching the operation function from an inactive state to an active state, can be achieved by shaking the electronic device displaying the operation function. This allows the user to choose whether to activate the operation function and gives them preparation time. When the terminal receives a shaking operation from the electronic device displaying the operation function, it determines whether the shaking operation meets the activation conditions. These activation conditions can be preset, such as whether the number of shakes reaches a threshold (reaching a threshold indicates the shaking operation meets the activation conditions), whether the shaking frequency reaches a threshold (reaching a threshold indicates the shaking operation meets the activation conditions), or whether the shaking amplitude reaches a threshold (reaching a threshold indicates the shaking operation meets the activation conditions). When the shaking operation meets the activation conditions, the operation function is activated, placing it in an active state. At this point, the target operation can be performed on the target object through the activated operation function to retrieve virtual resources from the virtual resource package.

[0071] In some embodiments, the terminal may present operation function items in the following manner: presenting at least two candidate operation function items, the at least two candidate operation function items belonging to the same emotion category, and different candidate operation function items corresponding to different target operations; in response to a selection operation for selecting a candidate operation function item, presenting the selected candidate operation function item as an operation function item.

[0072] In practical applications, the terminal can provide users with at least two candidate operation functions, allowing users to select the appropriate function based on their individual needs. These at least two candidate operation functions can belong to the same emotion category, with different candidate operation functions corresponding to different target operations—that is, different target operations within the same emotion category. This emotion category can include comfort, liking, encouragement, anger, pranks, etc., and the corresponding target operations for the candidate function functions could be "hug," "kiss," "send a heart," "pat on the head," "slap," etc. When a selection operation is received to choose a candidate operation function, the selected candidate operation function is presented as the operation function.

[0073] As an example, see Figure 5 , Figure 5 This is a schematic diagram showing the operation function items provided in an embodiment of this application. Here, the terminal presents two candidate operation function items corresponding to the "comfort" emotion category, including the "hug" function item and the "kiss" function item, with the target operations corresponding to "hug" and "kiss" respectively, as shown below. Figure 5 As shown in (1); in response to the selection operation of the "Hug" function item, the "Hug" function item is presented as an operation function item, as shown in (1). Figure 5 As shown in (2).

[0074] In some embodiments, when there are at least two target objects, the terminal can present operation function items in the following manner: present operation function items corresponding to each target object; accordingly, the terminal can perform target operations on the target objects in the following manner: in response to a trigger operation on a target operation function item among at least two operation function items, perform a target operation on the target object corresponding to the target operation function item.

[0075] In practical applications, there can be multiple target objects. In this case, the terminal presents operation function items corresponding to each target object, allowing the user to choose which target object to perform the target operation on. When a trigger operation is received for a target operation function item among at least two operation function items, the target operation is performed on the target object corresponding to the target operation function item.

[0076] As an example, see Figure 6 , Figure 6 This is a schematic diagram showing the operation function items provided in the embodiments of this application. Here, the terminal presents the operation function item "Hug You" corresponding to each target object (object W and object Y). When a trigger operation is received for the operation function item for object W, the "Hug You" operation is performed on object W.

[0077] In some embodiments, when there are at least two target objects, the terminal may present operation function items in the following manner: select an object to be executed from at least two target objects and present the operation function items corresponding to the object to be executed; accordingly, the terminal may perform target operations on the target objects in the following manner: in response to the triggering operation of the operation function items corresponding to the object to be executed, perform the target operation on the object to be executed.

[0078] In some embodiments, the terminal may select an object to be executed from at least two target objects in the following manner: based on the operation information corresponding to each target object, select an object to be executed from at least two target objects; wherein the operation information includes at least one of the following: the number of times the target operation is executed, the frequency at which the target object is selected as an object to be executed, and the order in which the target objects are selected as objects to be executed.

[0079] In practical applications, when there are multiple target objects, the terminal can automatically select an object to be executed from among the multiple target objects for the user and present the corresponding operation function item for that object. When a trigger operation is received for the operation function item corresponding to the object to be executed, the target operation is executed on the object to be executed. In actual implementation, when the terminal automatically selects the object to be executed, it can either select randomly from multiple target objects or select based on the operation information corresponding to each target object. Specifically, it can select the target object with the fewest execution counts based on the number of times the target operation corresponding to each target object is executed; it can select the target object with the lowest frequency of selection based on the frequency at which each target object is selected as an object to be executed; it can determine the target object selected as an object to be executed in the order in which they were selected; or it can determine the score of each target object as an object to be executed based on at least two operation information items and their corresponding weights, and then select the object to be executed from at least two target objects based on this score.

[0080] Step 102: In response to the trigger operation for the operation function item, perform the target operation on the target object and present the execution instruction information of the target operation.

[0081] In practical applications, after the terminal presents an operation function item, a trigger operation can be executed on that function item to perform a target operation on the target object and retrieve virtual resources from the virtual resource package. Simultaneously, the terminal can also present execution instruction information for the target operation during the execution of the target operation on the target object, providing feedback to the user regarding the trigger operation of the operation function item. The execution instruction information can indicate at least one of the following: the target operation is being performed on the target object, the number of times the target operation has been performed, the target object of the target operation, and the specific nature of the target operation. The format of this execution instruction information can be at least one of text, image, audio, or animation formats.

[0082] In some embodiments, the terminal may receive a trigger operation for an operation function item in the following ways: presenting the object identifier of the target object; receiving a swipe operation for the operation function item, and determining that a trigger operation for the operation function item has been received when the operation function item is swiped to the area associated with the object identifier.

[0083] In practical applications, the terminal can display the object identifier of the target object, such as the target object's avatar or nickname. Users can trigger operations on the operation function by sliding it to the area associated with the object identifier. When the terminal receives a sliding operation for an operation function and the operation function is slid into the area associated with the object identifier, it receives a trigger operation for that operation function.

[0084] As an example, see Figure 7 , Figure 7 This is a schematic diagram of the triggering process of the operation function item provided in the embodiment of this application. Here, the terminal displays the object identifier of the target object (i.e., the avatar and nickname "He W"), and the operation function item "Hug You", and also displays the area associated with the object identifier, i.e., area Y, such as Figure 7 As shown in (1); a sliding operation is received for the operation function item "Hug You". When the operation function item is slid to area Y, a trigger operation is received for the operation function item "Hug You", as shown in (1). Figure 7 As shown in (2), the "hug you" operation can then be performed on the target object "object W".

[0085] In some embodiments, the terminal may present the execution instruction information of the target operation in the following manner: present the number of times the target operation is executed on the target object, and present the corresponding operation animation for each target operation executed, so as to present the execution instruction information of the target operation.

[0086] In practical applications, when presenting the execution instruction information of the target operation, the terminal can display the number of times the target operation is executed on the target object. At the same time, when the target operation is executed on the target object each time, the terminal can display the corresponding operation animation, such as the image animation or text animation corresponding to the target operation.

[0087] As an example, see Figure 8 , Figure 8 This is a schematic diagram of the triggering process of the operation function provided in the embodiment of this application. Here, the target object is "object W", the terminal displays the object identifier of "object W" (i.e., the avatar and nickname of object W "He W"), and displays the execution count of the target operation "hug you" performed on "object W" as "+20"; at the same time, for each target operation performed, the corresponding "hug you" image animation is displayed.

[0088] Step 103: When the target operation performed on the target object based on the operation function item is completed, the resource acquisition result of the virtual resource is presented.

[0089] In practical applications, when the target operation performed on the target object based on the operation function is completed, the terminal can present the resource acquisition result of the virtual resources, such as the amount of virtual resources acquired.

[0090] In some embodiments, the terminal may determine the end of the target operation performed on the target object by presenting the remaining operable time corresponding to the operation function item; when the remaining operable time reaches the remaining time threshold, it is determined that the target operation performed on the target object based on the operation function item has ended.

[0091] In practical applications, a corresponding operation duration threshold can be set for each operation function. This means that users can only operate on the function within the specified time limit. For example, if the threshold is 10 seconds, the function can only be operated on within the first 10 seconds after the timer starts. The terminal can also display the remaining operable time for each function. When the remaining operable time reaches the threshold (e.g., when the remaining time reaches zero), the target operation performed on the target object based on the function is considered complete.

[0092] In some embodiments, the terminal presents the resource acquisition result of the virtual resource in the following manner: presenting the resource value of the acquired virtual resource as the resource acquisition result; wherein, the size of the resource value corresponds to the execution information of the target operation, and the execution information includes at least one of the execution count and execution frequency.

[0093] In practical applications, the number of executions and the execution frequency are positively correlated with the value of the virtual resources obtained.

[0094] In some embodiments, when the target operation performed on the target object based on the operation function item is completed, the terminal may present the execution result of the target operation performed on the target object; wherein, the execution result includes at least one of the following: the number of times the target operation was performed, the score of the target operation, and the completion degree of the target operation.

[0095] In practical applications, the score of the target operation can be determined based on at least one of the following: the number of times the target operation is executed, the execution frequency, and the degree of completion.

[0096] As an example, see Figure 9 , Figure 9 This is a schematic diagram illustrating the process of claiming virtual resources in a virtual resource package provided in this application embodiment. Here, the terminal displays the virtual resource package in the chat interface of the group chat "XX Exchange Group", as shown below. Figure 9 As shown in (1); in response to the trigger operation for the virtual resource package, a pop-up resource claiming interface is presented, and the operation function "Hug You" and the corresponding remaining operable time "10 seconds" are displayed in the resource claiming interface. At the same time, the object identifier of the target object W (i.e., avatar, nickname "He W") is displayed, as shown in (1). Figure 9 As shown in (2); in response to the trigger operation for the operation function item "Hug You", the target operation "Hug You" is executed on the target object W, and the number of times the target operation "Hug You" is executed on "object W" is displayed as "+20", and for each target operation executed, the corresponding "Hug You" image animation is displayed, such as Figure 9As shown in (3), and the remaining operable time is "0 seconds", that is, the target operation performed on the target object based on the operation function item has ended. The terminal displays the resource value of the virtual resource obtained, "1.8 gold coins" (i.e., the resource acquisition result), and the execution result of the target operation performed on the target object, "You gave He W a total of 20 hugs", as shown in (3). Figure 9 As shown in (4).

[0097] In some embodiments, after the terminal presents the resource acquisition result of the virtual resource, it can also respond to the viewing command for the session interface, present the session interface, and display the operation animation of performing the target operation on the target object in the session interface.

[0098] In practical applications, the terminal can also display an animation of performing a target operation on a target object within the session interface, reminding the user that they are receiving virtual resources by performing the target operation. This animation can be an image animation, text animation, or similar animation corresponding to the target operation. Simultaneously, a cancellation function can be presented to remove the animation from the session interface, thus avoiding information interruption for the user.

[0099] As an example, see Figure 10 , Figure 10 This is a schematic diagram of the operation animation displayed in the conversation interface provided in this application embodiment. Here, the conversation interface displays the operation animation of performing the target operation on the target object, that is, it presents the object identifier of "object W" (i.e., the avatar and nickname of object W "He W"), and shows the number of times the target operation "hug you" is performed on "object W" "+20"; at the same time, for each target operation performed, the corresponding "hug you" image animation is presented.

[0100] In some embodiments, after the terminal presents the resource acquisition result of the virtual resource, it can also respond to the viewing command for the session interface, present the session interface, and display the feedback information of the target object for the target operation in the session interface.

[0101] In practical applications, the terminal can also display feedback information from the target object in response to the target operation within the conversation interface. This feedback information can be at least one of the following: image feedback, text feedback, emoticon feedback, audio feedback, and video feedback. For example, when the target operation performed on the target object is "give a hug" or "send a heart," the terminal can display the target object's reply with the text feedback message "Thank you for your support."

[0102] In some embodiments, the terminal responds to a viewing instruction for the session interface, presents the session interface, and when a target virtual resource package is published in the session interface, presents interactive information corresponding to the target virtual resource package in the session interface; wherein, the target virtual resource package is used to retrieve virtual resources in the target virtual resource package when a first operation is performed on the current object based on the target virtual resource package, and the interactive information includes at least one of the following: the sending object of the target virtual resource package, the receiving object of the target virtual resource package, and the description information of the first operation.

[0103] In practical applications, when a target virtual resource package corresponding to the current object is published in the session interface (i.e., the virtual resources in the target virtual resource package are obtained by performing the first operation on the current object), when the current object views the session interface, the interactive information corresponding to the target virtual resource package is presented in the session interface. The interactive information may include at least one of the following: the recipient of the target virtual resource package, the recipient of the target virtual resource package, and the description information of the first operation.

[0104] As an example, see Figure 11 , Figure 11 This is a schematic diagram showing the interactive information of the target virtual resource package provided in this application embodiment. Here, in the chat interface of the group chat "XX Exchange Group", the terminal presents the interactive information corresponding to the target virtual resource package, including the sender of the target virtual resource package "Wang Y", the recipient of the target virtual resource package "Li R", the description information of the first operation "hug", and the object identifier of the current object W (i.e., avatar, nickname "He W"). Specifically, it is expressed as "Wang Y sends you a small action red envelope" and "Li R sends you a hug". 22” etc.

[0105] Applying the above embodiments of this application, when a trigger operation for a virtual resource package in a group session's interface is received, an operation function item is presented. This operation function item is used to perform a target operation on a target object in the group session to claim virtual resources from the virtual resource package. When a trigger operation for the operation function item is received, the target operation is performed on the target object, and execution instruction information for the target operation is presented. When the target operation performed on the target object based on the operation function item ends, the resource claiming result for the virtual resource is presented. In this way, by using the claiming of virtual resource packages, a target operation can be performed on a target object in a group session, realizing multi-directional interaction in the virtual resource package claiming process and improving the utilization rate of device processing resources. At the same time, it makes the virtual resource package claiming process more interesting and diverse.

[0106] The following describes the processing method for virtual resource packages provided in the embodiments of this application. In some embodiments, the processing method for virtual resource packages provided in the embodiments of this application can be implemented by various electronic devices. For example, it can be implemented by a terminal alone, by a server alone, or by a terminal and a server working together. Taking terminal implementation as an example, see [link to documentation]. Figure 12 , Figure 12 This is a flowchart illustrating a method for processing virtual resource packages provided in an embodiment of this application. The method for processing virtual resource packages provided in an embodiment of this application includes: Step 201: The terminal responds to the editing operation of the virtual resource package triggered by the session interface of the group session and presents the editing interface of the virtual resource package.

[0107] Here, the terminal can be the sender of the virtual resource package. In practical applications, the terminal is equipped with a client, such as an instant messaging client. The terminal presents a group chat interface by running the client. Users can communicate with other members in the group through this interface, such as sending text, images, videos, and emoticons. It should be noted that the group chat in this embodiment can be either a one-on-one chat with two members or a group chat with more than two members; this is not limited here.

[0108] In some embodiments, users can also send virtual resource packets during conversations. The terminal displays the received or sent virtual resource packets in the presented group conversation interface. Here, the sender of the virtual resource packet can be the current user or other conversation members in the group conversation. It is understood that the current user can also claim the virtual resource packets they themselves sent.

[0109] In practical applications, the group session interface provides editing functionality for virtual resource packages. For example, the group session interface displays a resource editing function for editing virtual resource packages. When a user needs to send a virtual resource package within the group session interface, they can trigger this resource editing function to edit the virtual resource package. The terminal responds to the virtual resource package editing operation triggered through the group session interface by displaying the virtual resource package editing interface.

[0110] Step 202: Based on the editing interface, determine the target operation for retrieving virtual resources from the virtual resource package, and the target object in the group session to which the target operation is directed.

[0111] Here, after the terminal presents the editing interface for the virtual resource package, the user can set the total amount of virtual resources in the virtual resource package to be sent, the number of sub-virtual resource packages in the virtual resource package, the target operation for retrieving the virtual resources in the virtual resource package, and the target object in the group session to which the target operation is targeted, etc. Based on this, the terminal determines the target operation for retrieving the virtual resources in the virtual resource package and the target object in the group session to which the target operation is targeted, based on the editing interface.

[0112] In some embodiments, the terminal may determine the target operation for claiming virtual resources in a virtual resource package based on the editing interface in the following manner: in the editing interface, a selection control for at least one candidate operation is presented, the at least one candidate operation including the target operation; in response to a selection operation for the target candidate operation triggered based on the selection control, the target candidate operation is determined as the target operation for claiming virtual resources.

[0113] In practical applications, the terminal can provide at least one selection control for candidate operations in the editing interface. When a selection operation for a target candidate operation is received based on the selection control, the target candidate operation is determined as the target operation for retrieving virtual resources.

[0114] In some embodiments, the terminal may determine the target object in a group session for which the target operation is targeted by the target operation in the following manner: presenting an object selection function item in the editing interface; presenting multiple session objects in the group session in response to a trigger operation for the object selection function item; and determining the selected session object as the target object for which the target operation is targeted in response to a selection operation for selecting a session object.

[0115] In practical applications, the terminal can provide an object selection function in the editing interface. When a trigger operation is received for the object selection function, multiple session objects in the group session are presented; when a selection operation is received for selecting a session object, the selected session object is determined as the target object for the target operation. In actual implementation, there can be one or more selected session objects, and thus one or more target objects.

[0116] Step 203: Based on the target operation and the target object, in response to the sending instruction for the virtual resource package, send the virtual resource package and present it in the session interface so that the virtual resource can be retrieved when the target operation is performed on the target object based on the virtual resource package.

[0117] Here, when the terminal receives a send instruction for a virtual resource package, it sends the virtual resource package based on the target operation and the target object, and presents the virtual resource package in the session interface. This virtual resource package is used to retrieve virtual resources within it when performing a target operation on the target object based on the virtual resource package.

[0118] In some embodiments, the terminal can set the viewing permissions of a target object for a virtual resource package in the following manner: In the editing interface, a viewing permission function item corresponding to the virtual resource package is presented. The viewing permission function item is used to set the viewing permissions of the target object for the virtual resource package. When the viewing permission set based on the viewing permission function item indicates that the target object can view the virtual resource package, the virtual resource package is made visible to the target object. When the viewing permission set based on the viewing permission function item indicates that the target object cannot view the virtual resource package, the virtual resource package is made invisible to the target object.

[0119] In practical applications, the terminal can provide viewing permission options for virtual resource packages in the editing interface. Based on these viewing permission options, the target object's viewing permissions for the virtual resource package can be set. When the viewing permission set based on the viewing permission option indicates that the target object can view the virtual resource package, the virtual resource package is made visible to the target object, i.e., displayed in the target object's session interface. When the viewing permission set based on the viewing permission option indicates that the target object cannot view the virtual resource package, the virtual resource package is made invisible to the target object, i.e., not displayed in the target object's session interface.

[0120] In some embodiments, the terminal can set the operation duration threshold of the operation function item corresponding to the virtual resource package in the following way: In the editing interface, a duration setting function item is presented; wherein, the duration setting function item is used to set the operation duration threshold of the operation function item corresponding to the virtual resource package, and the operation function item is used to perform a target operation on the target object to retrieve the virtual resources in the virtual resource package.

[0121] In practical applications, the terminal can provide a duration setting function in the editing interface. This function allows users to set the operation duration threshold for the operation function items corresponding to the virtual resource package. That is, users can only operate on the operation function items within this time limit. For example, if the operation duration threshold is 10 seconds, the operation function item can only be operated on within 10 seconds after the timer starts. This allows users to perform target operations on the target object and retrieve virtual resources from the virtual resource package.

[0122] As an example, see Figure 13 , Figure 13This is a schematic diagram of the virtual resource package sending process provided in this application embodiment. Here, the terminal displays the resource editing function item "Small Action Red Packet" for editing the virtual resource package in the group chat interface of the group chat "XX Exchange Group", such as Figure 13 As shown in (1); in response to the trigger operation of the resource editing function item "Small Action Red Envelope", the editing interface of the virtual resource package is presented. The editing interface includes: at least one candidate operation selection control (i.e., "Hug You", "Pat You", "Drink More Water", "Good Luck"), object selection function item "Small Action Recipient", permission viewing function item "Red Envelope Permission", and duration setting function item "Operation Duration", as shown in (1); Figure 13 As shown in (2); in response to a triggering operation that selects a function item for an object, multiple conversation objects in the group conversation (including conversation objects 1-2) and the corresponding confirmation function item "selected" are presented, as shown in (2). Figure 13 As shown in (3); a selection operation for selecting a session object is received, such as Figure 13 As shown in (4); in response to a trigger operation for the confirmation function item "selected", the selected session object (i.e., session object 1) is determined as the target object of the target operation, and the target object "session object 1" is displayed in the editing interface, as shown in (4). Figure 13 As shown in (5), it also displays the target operation "Hug You" selected by the selection control, the viewing permission "Small Action Recipient Cannot See" set based on the viewing permission function item "Red Packet Permission", the operation duration threshold "10 seconds" set based on the duration setting function item "Operation Duration", and the virtual resource package sending function item "Send Red Packet"; in response to the virtual resource package sending instruction triggered based on the sending function item "Send Red Packet", it sends the virtual resource package and presents the virtual resource package in the session interface, such as Figure 13 As shown in (6).

[0123] It should be noted that after the virtual resource package is sent, the sending end of the virtual resource package can also claim the virtual resources. The specific claiming process can be found in the virtual resource package processing method provided in the embodiments of this application described above on the receiving end of the virtual resource package, and will not be repeated here. For example, it may include the following: In some embodiments, the terminal may display resource indication information of the virtual resource package in the cover display area of ​​the virtual resource package presented in the session interface; wherein, the resource indication information is used to instruct the target object to perform a target operation in order to obtain the virtual resources in the virtual resource package.

[0124] In some embodiments, the terminal may respond to a trigger operation on a virtual resource package by presenting operation function items in the following manner: presenting a resource acquisition interface and presenting operation function items in the resource acquisition interface; correspondingly, the terminal may also present the object identifier of the target object and the operation instruction information of the operation function items in the resource acquisition interface.

[0125] In some embodiments, the terminal may also display the remaining preparation time for the operation function item; when the remaining preparation time reaches the remaining time threshold, the operation function item is controlled to be in an operable state so that the target operation can be performed on the target object through the operation function item in the operable state.

[0126] In some embodiments, the terminal may present an operation function item in the following manner: presenting an operation function item in an active state; correspondingly, the terminal may activate the operation function item in the following manner: receiving a shaking operation on the electronic device presenting the operation function item; when the shaking operation meets the activation condition, activating the operation function item to make the operation function item in an active state.

[0127] In some embodiments, the terminal may present operation function items in the following manner: presenting at least two candidate operation function items, the at least two candidate operation function items belonging to the same emotion category, and different candidate operation function items corresponding to different target operations; in response to a selection operation for selecting a candidate operation function item, presenting the selected candidate operation function item as an operation function item.

[0128] In some embodiments, the terminal may receive a trigger operation for an operation function item in the following ways: presenting the object identifier of the target object; receiving a swipe operation for the operation function item, wherein the terminal receives the trigger operation for the operation function item when the operation function item is swiped to the area associated with the object identifier.

[0129] In some embodiments, the terminal presents the resource acquisition result of the virtual resource in the following manner: presenting the resource value of the acquired virtual resource as the resource acquisition result; wherein, the size of the resource value corresponds to the execution information of the target operation, and the execution information includes at least one of the execution count and execution frequency.

[0130] In some embodiments, after the terminal presents the resource acquisition result of the virtual resource, it can also respond to the viewing command for the session interface, present the session interface, and display the feedback information of the target object for the target operation in the session interface.

[0131] In some embodiments, after the terminal presents the resource acquisition result of the virtual resource, it can also respond to the viewing command for the session interface, present the session interface, and display the operation animation of performing the target operation on the target object in the session interface.

[0132] By applying the above embodiments of this application, when sending a virtual resource package, a target operation for retrieving the virtual resource and a target object in the group session to which the target operation is directed are set. When a trigger operation is received for the sent virtual resource package, an operation function item is presented. This operation function item is used to perform the target operation on the target object in the group session to retrieve the virtual resource from the virtual resource package. When a trigger operation is received for the operation function item, the target operation is performed on the target object, and execution instruction information for the target operation is presented. When the target operation performed on the target object based on the operation function item ends, the resource retrieval result of the virtual resource is presented. Thus, by using the retrieval of the virtual resource package, a target operation can be performed on the target object in the group session, realizing multi-directional interaction in the virtual resource package retrieval process and improving the utilization rate of device processing resources. At the same time, it makes the virtual resource package retrieval process more interesting and diverse.

[0133] The following describes an exemplary application of the embodiments of this application in a real-world application scenario.

[0134] In related technologies, see Figure 14 , Figure 14 This is a schematic diagram illustrating the sending and receiving process of virtual resource packages provided in related technologies. Here, when a group member sends a virtual resource package, they first set a text-based receiving password, the number of sub-virtual resource packages within the virtual resource package, and the amount of virtual resources in the virtual resource package. After setting these parameters, the virtual resource package is sent to the group chat. When a group member receives a virtual resource package, they receive the virtual resources by entering the correct text-based receiving password. However, in related technologies, the interaction between user A (sending a virtual resource package), users B / C / D (entering the correct text-based receiving password), and the virtual resources being received is only a one-way interaction between the sender and receiver. Furthermore, the input of the text-based password is complex, resulting in low human-computer interaction efficiency and increased difficulty in receiving virtual resources (such as an increased possibility of failure), leading to wasted device processing resources and a reduced user experience.

[0135] Based on this, embodiments of this application provide a method for processing virtual resource packages to at least solve the aforementioned problems. In embodiments of this application, based on a group session scenario, the sender of the virtual resource package can set a target operation (such as "tap," "pat on the head," "hit," etc.) and one or more target objects in the group session to which the target operation is directed. In practical applications, this target operation serves as a preset function in the group session, connected to the sending and receiving capabilities of the virtual resource package. After the virtual resource package is sent, group members can claim virtual resources from the package by performing the target operation on the target object. Simultaneously, the amount of virtual resources that the corresponding recipient can claim can be determined based on the completion rate of the target operation (such as the frequency and number of times the target operation is performed on the target object).

[0136] Based on the embodiments of this application, user A sends a virtual resource package—users B / C / D trigger a target operation on the target object (user E) in the group session—the target action is performed on user E—user E receives feedback from the target operation—users B / C / D, etc., claim the virtual resources in the virtual resource package; that is, the virtual resource package claiming mechanism is not just a one-way claim, but rather, by claiming the virtual resource package, the sender of the virtual resource package helps convey emotions to the target object in the group session, enhancing social emotional expression and satisfying multi-directional interaction among group members. In this way, the effect of increasing emotional connections between group members is achieved through virtual resource packages, and the diversity and fun of sending and receiving virtual resource packages are increased through multi-directional interaction.

[0137] The following describes the processing method of the virtual resource package provided in the embodiments of this application from the product side.

[0138] First, the process of sending virtual resource packages. See [link / reference]. Figure 13 The process of sending virtual resource packages includes: 1) In the group chat interface, when a user clicks the virtual resource package sending entry, a function item called "Small Action Red Packet" is displayed, which is used to send a virtual resource package to receive virtual resources by performing a target operation on the target object.

[0139] 2) Click the "Small Action Red Envelope" function to enter the editing interface of the virtual resource pack.

[0140] 3) In this editing interface, select the recipient of the target operation (i.e. the target object in the group session). After the user selects the target object, the information of the selected target object will be displayed in the editing interface. In this way, if group members want to receive this virtual resource package, they need to perform the target operation on the target object to successfully receive it.

[0141] 4) Users can also, in the editing interface, a. select the target operation (such as "tap", "pat head", etc.); b. enter the total amount of virtual resource packs (group members receive different amounts of virtual resources based on the operation information of the target operation); c. select the viewing permissions of the virtual resource pack (i.e. whether the virtual resource pack is visible to the target object); d. after completing the editing of the virtual resource pack, click the "send" function to send the virtual resource pack to the group conversation.

[0142] Second, the process for claiming virtual resource packs. See [link / reference]. Figure 9 The process for claiming a virtual resource pack includes: 1) In the group chat interface, users can see the virtual resource package sent by the sender. The cover display area of ​​the virtual resource package can also display resource instruction information to indicate how to claim the virtual resources in the virtual resource package, such as "Initiate a small action to user W to claim virtual resources".

[0143] 2) After clicking on the virtual resource pack, a pop-up resource claiming interface will appear. This interface displays operation functions for the target object to perform the target operation in the group conversation, as well as the object identifier of the target object, such as its avatar and nickname.

[0144] 3) By continuously clicking on the operation function item, the target operation is triggered to be executed on the target object. At this time, the execution instruction information corresponding to the target operation is displayed along with the execution of the target operation, such as the operation animation of the target operation and the number of times the target operation is executed.

[0145] 4) When the remaining time for the corresponding operation function reaches zero, i.e., after the displayed countdown ends, the amount of virtual resources to be claimed is determined and displayed based on the number of times or frequency of the user's target operation. In actual implementation, the amount of virtual resources claimed can be determined based on the interaction frequency of each claimant regarding the operation function. For example, if five people in a group session simultaneously click on the operation function within the time limit, the amount of virtual resources claimed will be determined based on the different interaction frequencies of the five people when the countdown ends.

[0146] Third, the target object (i.e., the recipient of the target operation) receives the interactive information from the virtual resource package. See also... Figure 11 When the target object views the group conversation interface, the virtual resource package recipient's target operation initiated by the target object is displayed to the target object through the conversation interface. At the same time, the information of the virtual resource package sender is displayed, such as the sender's nickname and avatar.

[0147] The following section describes the processing method for the virtual resource package provided in this application from a technical perspective. See [link to relevant documentation]. Figure 15 , Figure 15 This is a flowchart illustrating the processing method for virtual resource packages provided in this application embodiment. The processing method for virtual resource packages provided in this application embodiment includes: 1) triggering a click on the edit button for the virtual resource package; 2) sending an edit instruction; 3) receiving an edit request for the virtual resource package; 4) returning to the supported candidate operations and the edit interface; 5) configuring the target operation; 6) configuring the amount of the virtual resource package; 7) configuring the target object; 8) clicking the complete button; 9) configuring the background storage of the virtual resource package; 10) sending the virtual resource package; 11) receiving the virtual resource package; 12) clicking on the virtual resource package; 13) determining whether the user has already claimed the virtual resource package; 14) if not, performing an interactive operation based on the operation function item; 15) obtaining the number of user interactions; 16) timing the virtual resource package; 17) upon reaching the time limit, providing feedback on the interaction information; 18) claiming the virtual resource.

[0148] In practical applications, the virtual resource package sending process includes: the sender clicks the edit button of the virtual resource package to enter the editing interface of the virtual resource package; the server returns the candidate operations supported by the virtual resource package and the editing interface; after the user edits the virtual resource package and clicks send, the server starts timing for the virtual resource package and pushes the virtual resource package to the recipient's session interface; when the timer expires and the user re-enters the virtual resource package session interface, the distribution status and interactive effects of the virtual resource package are displayed, i.e., feedback interactive information is provided.

[0149] In practical applications, the process of claiming a virtual resource package includes: the virtual resource package is sent to the claimant; the claimant clicks on the virtual resource package and triggers a target operation through the operation function to interact with it; after completing the interaction with the virtual resource package, when the timer for the virtual resource package ends, the claimant receives a corresponding amount of virtual resources based on the number of interactions. Specifically, when the timer for the virtual resource package ends, user i has interacted x_i times, and the total number of interactions for all users is S = (x_1 + x_2 + x_3 + ... + x_n). After the timer for the virtual resource package ends, assuming the total amount of the virtual resource package is M, then the amount of virtual resources claimed by user i is M_i = M. x_i / S.

[0150] By applying the above embodiments of this application, the virtual resource pack receiving mechanism is not merely a one-way receiving mechanism. Instead, by receiving virtual resource packs, the sender of the virtual resource pack conveys emotions to the target audience in the group conversation, enhancing social emotional expression and satisfying multi-directional interaction among group members. Thus, it achieves the effect of increasing emotional connections between group members through virtual resource packs, and through multi-directional interaction, increases the diversity and fun of sending and receiving virtual resource packs.

[0151] It is understood that in the embodiments of this application, data such as user information are involved. When the embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0152] The following description continues to illustrate the exemplary structure of the virtual resource package processing device 553 provided in the embodiments of this application as a software module. In some embodiments, such as Figure 2 As shown, the software modules in the processing device 553 storing the virtual resource package in the memory 550 may include: a first presentation module 5531, configured to present an operation function item in response to a trigger operation of the virtual resource package in the session interface for a group session, the operation function item being configured to perform a target operation on a target object in the group session to claim virtual resources in the virtual resource package; an execution module 5532, configured to perform the target operation on the target object in response to a trigger operation of the operation function item, and present execution instruction information of the target operation; and a second presentation module 5533, configured to present the resource claiming result of the virtual resource when the target operation performed on the target object based on the operation function item ends.

[0153] In some embodiments, the first presentation module 5531 is further configured to present the virtual resource package in the session interface of the group session, and to present the resource indication information of the virtual resource package in the cover display area of ​​the virtual resource package; wherein the resource indication information is used to instruct the target object to perform the target operation to claim the virtual resources in the virtual resource package.

[0154] In some embodiments, the first presentation module 5531 is further configured to present a resource acquisition interface and, in the resource acquisition interface, present the operation function item; correspondingly, the first presentation module 5531 is further configured to present the object identifier of the target object and the operation instruction information of the operation function item in the resource acquisition interface.

[0155] In some embodiments, the first presentation module 5531 is further configured to present the remaining preparation time for the operation corresponding to the operation function item; when the remaining preparation time for the operation reaches the remaining time threshold, the operation function item is controlled to be in an operable state, so as to perform the target operation on the target object through the operation function item in the operable state.

[0156] In some embodiments, the execution module 5532 is further configured to present the object identifier of the target object; receive a sliding operation for the operation function item; and determine that a trigger operation for the operation function item has been received when the operation function item is slid to the area associated with the object identifier.

[0157] In some embodiments, the first presentation module 5531 is further configured to present an operation function item in an active state; correspondingly, the first presentation module 5531 is further configured to receive a shaking operation on the electronic device presenting the operation function item; when the shaking operation meets the activation condition, the operation function item is activated so that the operation function item is in the active state.

[0158] In some embodiments, the first presentation module 5531 is further configured to present at least two candidate operation function items, the at least two candidate operation function items belonging to the same emotion category, and different candidate operation function items corresponding to different target operations; in response to a selection operation for selecting a candidate operation function item, the selected candidate operation function item is presented as the operation function item.

[0159] In some embodiments, the second presentation module 5533 is further configured to present the session interface in response to a viewing instruction for the session interface, and display an operation animation of performing the target operation on the target object in the session interface.

[0160] In some embodiments, the execution module 5532 is further configured to present the number of times the target operation is executed on the target object, and to present a corresponding operation animation for each of the target operations executed, so as to present the execution instruction information of the target operation.

[0161] In some embodiments, the second presentation module 5533 is further configured to present the remaining operable time corresponding to the operation function item; when the remaining operable time reaches the remaining time threshold, it is determined that the target operation performed on the target object based on the operation function item has ended.

[0162] In the above scheme, the second presentation module 5533 is further used to present the resource value of the virtual resource obtained as the resource acquisition result; wherein, the size of the resource value corresponds to the execution information of the target operation, and the execution information includes at least one of execution count and execution frequency.

[0163] In some embodiments, when there are at least two target objects, the first presentation module 5531 is further configured to present operation function items corresponding to each of the target objects; correspondingly, the execution module 5532 is further configured to perform the target operation on the target object corresponding to the target operation function item in response to a trigger operation for the target operation function item among the at least two operation function items.

[0164] In some embodiments, when there are at least two target objects, the first presentation module 5531 is further configured to select an object to be executed from the at least two target objects and present the operation function item corresponding to the object to be executed; correspondingly, the execution module 5532 is further configured to perform the target operation on the object to be executed in response to the trigger operation of the operation function item corresponding to the object to be executed.

[0165] In some embodiments, the first presentation module 5531 is further configured to select an object to be executed from at least two target objects based on operation information corresponding to each target object; wherein the operation information includes at least one of the following: the number of times the target operation is executed, the frequency at which the target object is selected as an object to be executed, and the order in which the target objects are selected as objects to be executed.

[0166] In some embodiments, the second presentation module 5533 is further configured to present the execution result of the target operation performed on the target object when the target operation performed on the target object based on the operation function item ends; wherein the execution result includes at least one of the following: the number of times the target operation was performed, the score of the target operation, and the completion degree of the target operation.

[0167] In some embodiments, the first presentation module 5531 is further configured to present the session interface in response to a viewing instruction for the session interface, and when a target virtual resource package is published in the session interface, to present interactive information corresponding to the target virtual resource package in the session interface; wherein, the target virtual resource package is used to claim virtual resources in the target virtual resource package when a first operation is performed on the current object based on the target virtual resource package, and the interactive information includes at least one of the following: the sending object of the target virtual resource package, the receiving object of the target virtual resource package, and the description information of the first operation.

[0168] In some embodiments, the second presentation module 5533 is further configured to present the session interface in response to a viewing instruction for the session interface, and display feedback information of the target object in response to the target operation in the session interface.

[0169] Applying the above embodiments of this application, when a trigger operation for a virtual resource package in a group session's interface is received, an operation function item is presented. This operation function item is used to perform a target operation on a target object in the group session to claim virtual resources from the virtual resource package. When a trigger operation for the operation function item is received, the target operation is performed on the target object, and execution instruction information for the target operation is presented. When the target operation performed on the target object based on the operation function item ends, the resource claiming result for the virtual resource is presented. In this way, by using the claiming of virtual resource packages, a target operation can be performed on a target object in a group session, realizing multi-directional interaction in the virtual resource package claiming process and improving the utilization rate of device processing resources. At the same time, it makes the virtual resource package claiming process more interesting and diverse.

[0170] This application embodiment also provides a processing apparatus for a virtual resource package, comprising: a third presentation module, configured to present an editing interface for the virtual resource package in response to an editing operation of the virtual resource package triggered through a session interface of a group session; a determination module, configured to determine, based on the editing interface, a target operation for retrieving virtual resources in the virtual resource package, and a target object in the group session to which the target operation is directed; and a sending module, configured to send the virtual resource package in response to a sending instruction for the virtual resource package based on the target operation and the target object, and to present the virtual resource package in the session interface, so that the virtual resources can be retrieved when the target operation is performed on the target object based on the virtual resource package.

[0171] In some embodiments, the determining module is further configured to present a selection control for at least one candidate operation in the editing interface, the at least one candidate operation including the target operation; in response to a selection operation for the target candidate operation triggered based on the selection control, the target candidate operation is determined as the target operation for claiming the virtual resource.

[0172] In some embodiments, the determining module is further configured to present an object selection function item in the editing interface; present multiple session objects in the group session in response to a trigger operation for the object selection function item; and determine the selected session object as the target object for the target operation in response to a selection operation for selecting a session object.

[0173] In some embodiments, the third presentation module is further configured to present a viewing permission function item corresponding to the virtual resource package in the editing interface. The viewing permission function item is used to set the viewing permission of the target object for the virtual resource package. When the viewing permission set based on the viewing permission function item indicates that the target object can view the virtual resource package, the virtual resource package is made visible to the target object. When the viewing permission set based on the viewing permission function item indicates that the target object cannot view the virtual resource package, the virtual resource package is made invisible to the target object.

[0174] In some embodiments, the third presentation module is further configured to present a duration setting function item in the editing interface; wherein the duration setting function item is used to set the operation duration threshold of the operation function item corresponding to the virtual resource package, and the operation function item is used to perform a target operation on the target object to claim the virtual resources in the virtual resource package.

[0175] By applying the above embodiments of this application, when sending a virtual resource package, a target operation for retrieving the virtual resource and a target object in the group session to which the target operation is directed are set. When a trigger operation is received for the sent virtual resource package, an operation function item is presented. This operation function item is used to perform the target operation on the target object in the group session to retrieve the virtual resource from the virtual resource package. When a trigger operation is received for the operation function item, the target operation is performed on the target object, and execution instruction information for the target operation is presented. When the target operation performed on the target object based on the operation function item ends, the resource retrieval result of the virtual resource is presented. Thus, by using the retrieval of the virtual resource package, a target operation can be performed on the target object in the group session, realizing multi-directional interaction in the virtual resource package retrieval process and improving the utilization rate of device processing resources. At the same time, it makes the virtual resource package retrieval process more interesting and diverse.

[0176] This application also provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the virtual resource package processing method provided in this application.

[0177] This application also provides a computer-readable storage medium storing executable instructions, which, when executed by a processor, will cause the processor to execute the virtual resource package processing method provided in this application.

[0178] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or it may be a variety of devices including one or any combination of the above-mentioned memories.

[0179] In some embodiments, executable instructions may take the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a standalone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.

[0180] As an example, executable instructions may, but do not necessarily, correspond to files in the file system. They may be stored as part of a file that holds other programs or data, for example, in one or more scripts in a Hyper Text Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple collaborative files (e.g., a file that stores one or more modules, subroutines, or code sections).

[0181] As an example, executable instructions can be deployed to execute on a single computing device, or on multiple computing devices located in one location, or on multiple computing devices distributed across multiple locations and interconnected via a communication network.

[0182] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of this application are included within the scope of protection of this application.

Claims

1. A method for processing virtual resource packages, characterized in that, The method includes: In response to a trigger operation of a virtual resource package in the session interface of a group session, an operation function item is presented and the remaining operable time corresponding to the operation function item is displayed. The operation function item is used to perform a target operation on a target object in the group session to claim virtual resources in the virtual resource package. Present the object identifier of the target object; receive a swipe operation for the operation function item, and when the operation function item is swiped to the area associated with the object identifier, determine that a trigger operation for the operation function item has been received; In response to a trigger operation for the operation function item, the target operation is performed on the target object, the number of times the target operation is performed on the target object is displayed, and for each target operation performed, a corresponding operation animation is displayed to present the execution indication information of the target operation; When the remaining operable time reaches the remaining time threshold, it is determined that the target operation performed on the target object based on the operation function item has ended. When the target operation performed on the target object based on the operation function item has ended, the resource value of the virtual resource obtained is presented as the resource acquisition result. The resource value is positively correlated with the execution information, and the execution information includes at least one of the execution count and execution frequency. In response to a viewing command for the session interface, the session interface is presented, and an operation animation of performing the target operation on the target object is displayed in the session interface.

2. The method as described in claim 1, characterized in that, Before presenting the operation function items, the method further includes: In the group session's interface, the virtual resource pack is presented, and the resource instruction information of the virtual resource pack is displayed in the cover display area of ​​the virtual resource pack. The resource indication information is used to instruct the target object to perform the target operation in order to claim the virtual resources in the virtual resource package.

3. The method as described in claim 1, characterized in that, The presentation operation function items include: A resource acquisition interface is displayed, and the operation function items are presented in the resource acquisition interface; The method further includes: The resource acquisition interface displays operation instructions for the operation functions.

4. The method as described in claim 1, characterized in that, The presentation operation function items include: Displays the active operation functions; The method further includes: Receive a shaking operation on the electronic device that displays the operation function item; When the shaking operation meets the activation condition, the operation function item is activated so that the operation function item is in the activated state.

5. The method as described in claim 1, characterized in that, The presentation operation function items include: At least two candidate operation function items are presented, and the at least two candidate operation function items belong to the same emotion category. Different candidate operation function items correspond to different target operations. In response to a selection operation for selecting a candidate operation function, the selected candidate operation function is presented as the operation function.

6. The method as described in claim 1, characterized in that, When there are at least two target objects, the presentation operation function items include: Present the corresponding operation function items for each of the target objects; The step of performing the target operation on the target object in response to a trigger operation for the operation function item includes: In response to a trigger operation targeting a target operation function among at least two operation function items, the target operation is performed on the target object corresponding to the target operation function item.

7. The method as described in claim 1, characterized in that, When there are at least two target objects, the presentation operation function items include: From at least two target objects, select an object to be executed and present the corresponding operation function items for the object to be executed; The step of performing the target operation on the target object in response to a trigger operation for the operation function item includes: In response to a triggered operation on the operation function item corresponding to the object to be executed, the target operation is performed on the object to be executed.

8. The method as described in claim 7, characterized in that, The step of selecting the object to be executed from at least two target objects includes: Based on the operation information corresponding to each of the target objects, select an object to be executed from at least two of the target objects; The operation information includes at least one of the following: the number of times the target operation is executed, the frequency at which the target object is selected as the object to be executed, and the order in which the target objects are selected as the object to be executed.

9. The method as described in claim 1, characterized in that, The method further includes: When the target operation performed on the target object based on the operation function item is completed, the execution result of the target operation performed on the target object is presented; The execution result includes at least one of the following: the number of times the target operation is executed, the score of the target operation, and the completion rate of the target operation.

10. The method as described in claim 1, characterized in that, The method further includes: In response to a viewing command for the session interface, the session interface is displayed, and When a target virtual resource package is published in the chat interface, the interactive information corresponding to the target virtual resource package is presented in the chat interface. The target virtual resource package is used to retrieve virtual resources in the target virtual resource package when a first operation is performed on the current object based on the target virtual resource package. The interaction information includes at least one of the following: the sending object of the target virtual resource package, the receiving object of the target virtual resource package, and the description information of the first operation.

11. The method as described in claim 1, characterized in that, After presenting the resource acquisition results of the virtual resource, the method further includes: In response to a viewing command for the session interface, the session interface is displayed, and The session interface displays feedback information from the target object in response to the target operation.

12. A method for processing virtual resource packages, characterized in that, The method includes: In response to editing operations of virtual resource packs triggered through the chat interface of a group session, the editing interface of the virtual resource pack is presented; Based on the editing interface, determine the target operation for claiming the virtual resources in the virtual resource package, and the target object in the group session to which the target operation is directed; Based on the target operation and the target object, in response to the sending instruction for the virtual resource package, the virtual resource package is sent and presented in the session interface; Perform the method of claim 1 to claim virtual resources and present the resource value of the claimed virtual resources.

13. The method as described in claim 12, characterized in that, The step of determining the target operation for claiming virtual resources from the virtual resource package based on the editing interface includes: The editing interface presents a selection control for at least one candidate operation, the at least one candidate operation including the target operation; In response to a selection operation for a target candidate operation triggered by the selection control, the target candidate operation is determined as the target operation for claiming the virtual resource.

14. The method as described in claim 12, characterized in that, Determining the target object in the group session to which the target operation is directed includes: The editing interface presents an object selection function. In response to a triggered operation that selects a function item for the object, multiple session objects in the group session are presented; In response to a selection operation for selecting a session object, the selected session object is identified as the target object for the target operation.

15. The method as described in claim 12, characterized in that, The method further includes: The editing interface displays the viewing permission function items corresponding to the virtual resource package. These viewing permission function items are used to set the viewing permissions of the target object for the virtual resource package. When the viewing permission set based on the viewing permission function item indicates that the target object can view the virtual resource package, the virtual resource package is made visible to the target object; When the viewing permission set based on the viewing permission function item indicates that the target object cannot view the virtual resource package, the virtual resource package is controlled to be invisible to the target object.

16. The method as described in claim 12, characterized in that, The method further includes: The editing interface displays the duration setting function. The duration setting function is used to set the operation duration threshold of the operation function corresponding to the virtual resource package. The operation function is used to perform a target operation on the target object to retrieve the virtual resources in the virtual resource package.

17. A processing apparatus for virtual resource packages, characterized in that, The device includes: The first presentation module is used to respond to a trigger operation of a virtual resource package in the session interface of a group session, present an operation function item, and display the remaining operable time corresponding to the operation function item. The operation function item is used to perform a target operation on a target object in the group session to claim virtual resources in the virtual resource package; present the object identifier of the target object; receive a swipe operation on the operation function item, and when the operation function item is swiped to the area associated with the object identifier, it is determined that a trigger operation on the operation function item has been received. An execution module is used to respond to a trigger operation for the operation function item, perform the target operation on the target object, display the number of times the target operation is performed on the target object, and display a corresponding operation animation for each target operation performed, so as to present the execution indication information of the target operation; The second presentation module is used to determine that the target operation performed on the target object based on the operation function item has ended when the remaining operable time reaches the remaining time threshold. When the target operation performed on the target object based on the operation function item has ended, the module presents the resource value of the virtual resource obtained as the resource acquisition result. The resource value is positively correlated with the execution information, and the execution information includes at least one of the execution count and execution frequency. The second presentation module is also used to respond to a viewing command for the session interface, present the session interface, and display an operation animation of performing the target operation on the target object in the session interface.

18. The apparatus according to claim 17, characterized in that, The first presentation module is further configured to present a resource acquisition interface and, in the resource acquisition interface, present the operation function item; the first presentation module is further configured to present operation instruction information of the operation function item in the resource acquisition interface.

19. A processing apparatus for virtual resource packages, characterized in that, The device includes: The third presentation module is used to respond to the editing operation of the virtual resource pack triggered by the session interface of the group session and present the editing interface of the virtual resource pack. The determination module is used to determine, based on the editing interface, the target operation for claiming virtual resources in the virtual resource package, and the target object in the group session to which the target operation is directed; A sending module is configured to, based on the target operation and the target object, respond to a sending instruction for the virtual resource package, send the virtual resource package, present the virtual resource package in the session interface, execute the method of claim 1 to retrieve virtual resources, and present the resource value of the retrieved virtual resources.

20. The apparatus according to claim 19, characterized in that, The determining module is further configured to present a selection control for at least one candidate operation in the editing interface, the at least one candidate operation including the target operation; in response to a selection operation for the target candidate operation triggered based on the selection control, the target candidate operation is determined as the target operation for claiming the virtual resource.

21. The apparatus according to claim 19, characterized in that, The determining module is further configured to present an object selection function item in the editing interface; and to present multiple session objects in the group session in response to a trigger operation on the object selection function item. In response to a selection operation for selecting a session object, the selected session object is identified as the target object for the target operation.

22. An electronic device, characterized in that, The electronic device includes: Memory, used to store executable instructions; A processor, when executing executable instructions stored in the memory, implements the processing method of the virtual resource package according to any one of claims 1 to 16.

23. A computer-readable storage medium storing computer-executable instructions or a computer program, characterized in that, When the computer-executable instructions or computer program are executed by a processor, the processing method for the virtual resource package as described in any one of claims 1 to 16 is implemented.

24. A computer program product comprising computer-executable instructions or a computer program, characterized in that, When the computer-executable instructions or computer program are executed by a processor, the processing method of the virtual resource package as described in any one of claims 1 to 16 is implemented.

Citation Information

Patent Citations

  • Verification methods and devices and calculation equipment

    CN108121906A

  • Information processing method, device and equipment

    CN112749956A

  • Virtual article interaction method

    CN113542653A