Method and apparatus for obtaining virtual resource, electronic device, and storage medium

By displaying virtual widgets on the multimedia resource playback interface and changing animations when certain conditions are met, the problem of monotonous multimedia resource display formats is solved, achieving higher user engagement and fun.

CN119420655BActive Publication Date: 2026-05-12BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
Filing Date
2024-10-31
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

The presentation format of multimedia resources is relatively simple, making it difficult to attract user attention and reducing user engagement.

Method used

A virtual widget is displayed on the multimedia resource playback interface, and a transformation animation is displayed when the interaction conditions are met. After the transformation animation is completed, the virtual resource associated with the multimedia resource can be retrieved by triggering the virtual widget.

Benefits of technology

It enriches the interface display format, increases the fun when playing multimedia resources, and improves user experience and engagement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119420655B_ABST
    Figure CN119420655B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a virtual resource acquisition method and device, electronic equipment and storage medium, and belongs to the technical field of computers. The method comprises: displaying a virtual pendant on a multimedia resource playing interface; in response to the virtual pendant meeting an interactive condition, displaying a transformation animation of the virtual pendant, the transformation animation being used to present a dynamic effect of the virtual pendant changing; after the display of the transformation animation of the virtual pendant is completed, displaying the virtual pendant in a triggerable state; and in response to a trigger operation on the virtual pendant in the triggerable state, displaying an acquisition result of a virtual resource associated with the multimedia resource. The present disclosure provides an interactive mode of collecting virtual resources after watching an animation, enriches the display effect when playing multimedia resources, and improves the interest of collecting virtual resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of computer technology, and in particular to a method, apparatus, electronic device, and storage medium for acquiring virtual resources. Background Technology

[0002] With the rapid development of internet technology, browsing various multimedia resources through internet applications has become a common form of entertainment. Taking video as an example, a terminal can display a video to introduce items, services, etc., and after being triggered, it can jump to the details page of the introduced content.

[0003] However, the above methods present multimedia resources in a relatively simple way, which makes it difficult to attract user attention and thus reduces user engagement. Summary of the Invention

[0004] This disclosure provides a method, apparatus, electronic device, and storage medium for acquiring virtual resources, which can improve the accuracy of acquiring virtual resources.

[0005] According to one aspect of the embodiments of this disclosure, a method for acquiring virtual resources is provided, the method comprising:

[0006] Display virtual widgets on the playback interface of multimedia resources;

[0007] In response to the virtual widget meeting the interaction conditions, a transformation animation of the virtual widget is displayed, which is used to present the dynamic effect of the virtual widget changing.

[0008] After the virtual widget's transformation animation is completed, the virtual widget in a triggerable state is displayed. In response to the triggering operation of the virtual widget in the triggerable state, the acquisition result of the virtual resource associated with the multimedia resource is displayed.

[0009] Optionally, displaying the transformation animation of the virtual widget includes:

[0010] The multiple virtual widgets are transformed into a target pattern composed of the multiple virtual widgets.

[0011] Optionally, transforming the plurality of virtual widgets into a target pattern composed of the plurality of virtual widgets includes:

[0012] The multiple virtual pendants arranged in a row are rotated and translated so that the multiple virtual pendants are arranged radially in the target pattern formed after rotation and translation.

[0013] Optionally, transforming the plurality of virtual widgets into a target pattern composed of the plurality of virtual widgets includes:

[0014] The virtual widgets are transformed into the target pattern, and the target pattern is displayed as rotating.

[0015] Optionally, transforming the plurality of virtual widgets into a target pattern composed of the plurality of virtual widgets includes at least one of the following:

[0016] During the process of transforming multiple virtual widgets into the target pattern, multiple virtual widgets are displayed moving from the off-center area of ​​the screen to the center area of ​​the screen.

[0017] During the process of transforming multiple virtual widgets into the target pattern, the multiple virtual widgets are displayed to change from a first size to a second size, where the first size is different from the second size.

[0018] During the process of transforming multiple virtual widgets into the target pattern, the number of multiple virtual widgets displayed changes from a first number to a second number, where the first number is different from the second number.

[0019] Optionally, transforming the plurality of virtual widgets into a target pattern composed of the plurality of virtual widgets includes:

[0020] During the process of transforming multiple virtual widgets into the target pattern, information associated with the multimedia resource is displayed on at least one of the virtual widgets.

[0021] Optionally, displaying virtual widgets on the multimedia resource playback interface includes any one of the following:

[0022] When the playback duration of the multimedia resource reaches the first duration, the virtual widget is displayed on the playback interface of the multimedia resource;

[0023] In response to an interactive operation on the multimedia resource, the virtual widget is displayed on the playback interface of the multimedia resource, wherein the interactive operation includes at least one of a like operation, a comment operation, a favorite operation, or a share operation;

[0024] When the content currently being played in the multimedia resource is preset content, the virtual widget is displayed on the playback interface of the multimedia resource.

[0025] Optionally, the interaction conditions include at least one of the following:

[0026] The display duration of the virtual widget reaches the second duration;

[0027] The virtual widget was triggered;

[0028] The interactive controls on the playback interface are triggered, and the interactive controls are used to interact with the multimedia resources.

[0029] Optionally, the method further includes:

[0030] A text area is displayed on the playback interface of the multimedia resource. The text area includes at least one of the descriptive text of the multimedia resource or object information, wherein the object information refers to the information of the object that published the multimedia resource.

[0031] The step of displaying the transformation animation of the virtual widget in response to the virtual widget meeting the interaction conditions includes:

[0032] In response to the virtual widget meeting the interaction conditions, the text area is de-displayed, and the transformation animation of the virtual widget is displayed.

[0033] Optionally, displaying virtual widgets on the multimedia resource playback interface includes:

[0034] The virtual widget is displayed as untriggerable on the playback interface of the multimedia resource.

[0035] Optionally, the step of displaying the acquisition result of the virtual resource associated with the multimedia resource in response to a triggerable virtual widget includes:

[0036] In response to a triggering operation on the virtual widget in a triggerable state, a flipping animation of the virtual widget is displayed, the flipping animation of the virtual widget being used to flip the virtual widget;

[0037] The results of obtaining the virtual resource are displayed on the flipped virtual widget.

[0038] Optionally, the number of virtual widgets in the triggerable state can be multiple; the step of displaying the acquisition result of the virtual resource associated with the multimedia resource in response to the triggering operation of the virtual widgets in the triggerable state includes:

[0039] In response to a triggering operation on any of the displayed virtual widgets, the result of obtaining the target virtual resource is displayed, the target virtual resource being the virtual resource associated with the multimedia resource and the triggered virtual widget.

[0040] Optionally, the method further includes:

[0041] After the transformation animation of the virtual widget is completed, a virtual resource claiming control is displayed, which is used to prompt the user to claim the virtual resource.

[0042] In response to the triggering operation of the virtual resource acquisition control, the acquisition result of the virtual resource is displayed.

[0043] Optionally, the method further includes:

[0044] After the virtual widget's transformation animation is displayed, the result of obtaining the virtual resource is displayed in response to the terminal's twisting operation.

[0045] Optionally, displaying the acquisition result of the virtual resource associated with the multimedia resource includes:

[0046] Display the user interface for the virtual resource, and display the acquisition result of the virtual resource on the user interface; or,

[0047] The results of obtaining the virtual resource are displayed on the playback interface.

[0048] Optionally, after displaying the acquisition result of the virtual resource on the playback interface, the method further includes at least one of the following:

[0049] When the display duration of the obtained result reaches a third duration, the user interface of the virtual resource is displayed;

[0050] The playback interface displays the usage controls for the virtual resource. In response to the triggering operation of the usage controls, the usage interface for the virtual resource is displayed.

[0051] Optionally, if the scope of use of the virtual resource is a target item, the user interface is the details interface or the exchange interface of the target item, wherein the details interface is used to introduce the target item, and the exchange interface is used to exchange the target item;

[0052] If the virtual resource is used for any item within the live stream, then the user interface is the live stream interface of the live stream.

[0053] Optionally, the result of obtaining the virtual resource includes the resource quantity of the virtual resource, wherein the virtual resource includes at least one sub-virtual resource, and the resource quantity includes at least one of the resource quantity of each of the at least one sub-virtual resource or the total resource quantity.

[0054] Optionally, the virtual widget is a virtual red envelope; or, the virtual widget is a sticker of the item described in the multimedia resource.

[0055] According to another aspect of the present disclosure, a device for acquiring virtual resources is provided, the device comprising:

[0056] The first display unit is configured to display virtual widgets on the playback interface of multimedia resources;

[0057] The second display unit is configured to display a transformation animation of the virtual widget in response to the virtual widget meeting the interaction conditions. The transformation animation is used to present the dynamic effect of the virtual widget changing.

[0058] The third display unit is configured to display the virtual widget in a triggerable state after the transformation animation of the virtual widget is completed, and to display the acquisition result of the virtual resource associated with the multimedia resource in response to the triggerable virtual widget.

[0059] Optionally, the second display unit is configured to perform:

[0060] The multiple virtual widgets are transformed into a target pattern composed of the multiple virtual widgets.

[0061] Optionally, the second display unit is configured to perform:

[0062] The multiple virtual pendants arranged in a row are rotated and translated so that the multiple virtual pendants are arranged radially in the target pattern formed after rotation and translation.

[0063] Optionally, the second display unit is configured to perform:

[0064] The virtual widgets are transformed into the target pattern, and the target pattern is displayed as rotating.

[0065] Optionally, the second display unit is configured to perform at least one of the following:

[0066] During the process of transforming multiple virtual widgets into the target pattern, multiple virtual widgets are displayed moving from the off-center area of ​​the screen to the center area of ​​the screen.

[0067] During the process of transforming multiple virtual widgets into the target pattern, the multiple virtual widgets are displayed to change from a first size to a second size, where the first size is different from the second size.

[0068] During the process of transforming multiple virtual widgets into the target pattern, the number of multiple virtual widgets displayed changes from a first number to a second number, where the first number is different from the second number.

[0069] Optionally, the second display unit is configured to perform:

[0070] During the process of transforming multiple virtual widgets into the target pattern, information associated with the multimedia resource is displayed on at least one of the virtual widgets.

[0071] Optionally, the first display unit is configured to perform any of the following:

[0072] When the playback duration of the multimedia resource reaches the first duration, the virtual widget is displayed on the playback interface of the multimedia resource;

[0073] In response to an interactive operation on the multimedia resource, the virtual widget is displayed on the playback interface of the multimedia resource, and the interactive operation includes at least one of a like operation, a comment operation, a favorite operation, or a share operation.

[0074] Optionally, the interaction conditions include at least one of the following:

[0075] The display duration of the virtual widget reaches the second duration;

[0076] The virtual widget was triggered;

[0077] The interactive controls on the playback interface are triggered, and the interactive controls are used to interact with the multimedia resources.

[0078] Optionally, the first display unit is further configured to display a text area on the playback interface of the multimedia resource, the text area including at least one of the descriptive text of the multimedia resource or object information, the object information referring to the information of the object that published the multimedia resource;

[0079] The second display unit is configured to, in response to the virtual widget meeting the interaction conditions, cancel the display of the text area and display the transformation animation of the virtual widget.

[0080] Optionally, the first display unit is configured to perform:

[0081] The virtual widget is displayed as untriggerable on the playback interface of the multimedia resource.

[0082] Optionally, the third display unit is configured to perform:

[0083] In response to a triggering operation on the virtual widget in a triggerable state, a flipping animation of the virtual widget is displayed, the flipping animation of the virtual widget being used to flip the virtual widget;

[0084] The results of obtaining the virtual resource are displayed on the flipped virtual widget.

[0085] Optionally, the number of virtual widgets in the triggerable state can be multiple; the third display unit is configured to execute:

[0086] In response to a triggering operation on any of the displayed virtual widgets, the result of obtaining the target virtual resource is displayed, the target virtual resource being the virtual resource associated with the multimedia resource and the triggered virtual widget.

[0087] Optionally, the third display unit is further configured to perform:

[0088] After the transformation animation of the virtual widget is completed, a virtual resource claiming control is displayed, which is used to prompt the user to claim the virtual resource.

[0089] In response to the triggering operation of the virtual resource acquisition control, the acquisition result of the virtual resource is displayed.

[0090] Optionally, the third display unit is further configured to perform:

[0091] After the virtual widget's transformation animation is displayed, the result of obtaining the virtual resource is displayed in response to the terminal's twisting operation.

[0092] Optionally, the third display unit is configured to perform:

[0093] Display the user interface for the virtual resource, and display the acquisition result of the virtual resource on the user interface; or,

[0094] The results of obtaining the virtual resource are displayed on the playback interface.

[0095] Optionally, the third display unit is further configured to perform at least one of the following:

[0096] When the display duration of the obtained result reaches a third duration, the user interface of the virtual resource is displayed;

[0097] The playback interface displays the usage controls for the virtual resource. In response to the triggering operation of the usage controls, the usage interface for the virtual resource is displayed.

[0098] Optionally, if the scope of use of the virtual resource is a target item, the user interface is the details interface or the exchange interface of the target item, wherein the details interface is used to introduce the target item, and the exchange interface is used to exchange the target item;

[0099] If the virtual resource is used for any item within the live stream, then the user interface is the live stream interface of the live stream.

[0100] Optionally, the result of obtaining the virtual resource includes the resource quantity of the virtual resource, wherein the virtual resource includes at least one sub-virtual resource, and the resource quantity includes at least one of the resource quantity of each of the at least one sub-virtual resource or the total resource quantity.

[0101] Optionally, the virtual widget is a virtual red envelope; or, the virtual widget is a sticker of the item described in the multimedia resource.

[0102] According to another aspect of the present disclosure, an electronic device is provided, the electronic device comprising:

[0103] processor;

[0104] Memory used to store the processor's executable instructions;

[0105] The processor is configured to execute the instructions to implement the virtual resource acquisition method as described above.

[0106] According to another aspect of the present disclosure, a computer-readable storage medium is provided, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the virtual resource acquisition method as described above.

[0107] According to another aspect of the present disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the virtual resource acquisition method as described above.

[0108] The method provided in this disclosure displays a virtual widget on the playback interface of a multimedia resource. When the virtual widget meets the interaction conditions, a transformation animation of the virtual widget is displayed. After the transformation animation is completed, the virtual widget can be triggered to claim virtual resources associated with the multimedia resource. Displaying this content while playing multimedia resources enriches the interface presentation, improves the interface display effect, increases the fun of playing multimedia resources, and thus enhances the user experience. Furthermore, it provides an interactive method for claiming virtual resources after watching an animation, increasing the fun of claiming virtual resources and encouraging user interaction with the virtual widget, thereby increasing user engagement.

[0109] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0110] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0111] Figure 1 This is a schematic diagram illustrating an implementation environment according to an exemplary embodiment.

[0112] Figure 2 This is a flowchart illustrating a method for acquiring virtual resources according to an exemplary embodiment.

[0113] Figure 3 This is a flowchart illustrating another method for acquiring virtual resources according to an exemplary embodiment.

[0114] Figure 4 This is a schematic diagram illustrating a virtual widget according to an exemplary embodiment.

[0115] Figure 5 This is a schematic diagram illustrating the transformation animation of a virtual widget according to an exemplary embodiment.

[0116] Figure 6 This is a flowchart illustrating another method for acquiring virtual resources according to an exemplary embodiment.

[0117] Figure 7 This is a schematic diagram illustrating another virtual widget according to an exemplary embodiment.

[0118] Figure 8 This is a schematic diagram illustrating another virtual widget according to an exemplary embodiment.

[0119] Figure 9 This is a flowchart illustrating another method for acquiring virtual resources according to an exemplary embodiment.

[0120] Figure 10 This is a schematic diagram illustrating a details interface of a target item according to an exemplary embodiment.

[0121] Figure 11 This is a block diagram illustrating a virtual resource acquisition device according to an exemplary embodiment.

[0122] Figure 12 This is a block diagram illustrating a terminal according to an exemplary embodiment. Detailed Implementation

[0123] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.

[0124] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0125] It should be noted that the user information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this disclosure are all authorized by the user or fully authorized by all parties. The collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the multimedia resources and virtual resources involved in this disclosure were obtained with full authorization.

[0126] The method for acquiring virtual resources provided in this disclosure can be executed by an electronic device, which can be at least one of a terminal and a server. Figure 1 This is a schematic diagram of an implementation environment provided by an embodiment of this disclosure. See also: Figure 1 The implementation environment includes: terminal 101 and server 102.

[0127] In this embodiment, terminal 101 is used to play multimedia resources such as videos and image sets. In some embodiments, a target application is installed on terminal 101, which is used to play multimedia resources. The target application may be a video application, an audio application, a social application, etc., and is not limited thereto. For example, the target application may take the form of a web application, a microprogram, or a client, and this disclosure is not limited thereto. A microprogram refers to a program that runs on top of other applications, such as a mini-program. Server 102 is used to provide background services for the target application running on terminal 101. For example, in response to a display operation of multimedia resources, terminal 101 obtains the corresponding multimedia resources from server 102 for display. Of course, server 102 may also include other functional servers to provide more comprehensive and diversified services.

[0128] In some embodiments, the terminal 101 displays a virtual widget on the playback interface of the multimedia resource. In response to the virtual widget meeting the interaction conditions, a transformation animation of the virtual widget is displayed. After the transformation animation of the virtual widget is displayed, the user can claim the virtual resource associated with the multimedia resource by triggering the virtual widget.

[0129] Terminal 101 can be at least one of the following devices: smartphone, smartwatch, desktop computer, laptop, virtual reality terminal, augmented reality terminal, wireless terminal, and laptop computer. Terminal 101 has communication capabilities and can access wired or wireless networks. Terminal 101 can refer to one of multiple terminals, and those skilled in the art will understand that the number of such terminals can be more or less. Server 102 can be an independent physical server, a server cluster composed of multiple physical servers, or a distributed file system. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. In some embodiments, server 102 and terminal 101 are directly or indirectly connected via wired or wireless communication, and this disclosure does not limit this aspect.

[0130] Optionally, the number of servers 102 may be more or fewer, and this embodiment of the disclosure does not limit this. Of course, servers 102 may also include other functional servers to provide more comprehensive and diversified services. Server 102 undertakes the main computing work, and terminal 101 undertakes the secondary computing work; or, server 102 undertakes the secondary computing work, and terminal 101 undertakes the main computing work; or, server 102 or terminal 101 can each undertake computing work independently, and this embodiment of the disclosure does not limit this.

[0131] Figure 2 This is a flowchart illustrating a method for acquiring virtual resources according to an exemplary embodiment. See also... Figure 2 This method is executed by the terminal and includes the following steps:

[0132] In step 201, the terminal displays a virtual widget on the multimedia resource playback interface.

[0133] In this embodiment of the disclosure, a target application runs on the terminal, which provides multimedia resource display functionality. The multimedia resources can be videos, images, image sets, etc. The multimedia resources are used to introduce items or services, that is, to promote items or services.

[0134] Virtual widgets are visual elements used for decoration, and can be of any style. The terminal can overlay virtual widgets onto multimedia resources, or display multimedia resources and virtual widgets separately in different areas of the playback interface.

[0135] In some embodiments, the playback interface also displays interactive controls and a text area for the multimedia resources. The interactive controls are used to like, share, comment on, and favorite the multimedia resources. The text area includes at least one of the descriptive text or object information of the multimedia resources. The descriptive text refers to the text of the multimedia resource, and the object information refers to the information of the object that published the multimedia resource.

[0136] In some embodiments, the virtual widget displayed on the playback interface in step 201 is in an untriggerable state.

[0137] In step 202, the terminal responds to the virtual widget meeting the interaction conditions by displaying a transformation animation of the virtual widget, which is used to present the dynamic effect of the virtual widget changing.

[0138] In this embodiment of the disclosure, when the virtual widget meets the interaction conditions, the terminal displays the transformation animation of the virtual widget on the playback interface to present the dynamic effect of the virtual widget changing.

[0139] In some embodiments, the terminal displays the virtual widget's transformation animation while simultaneously canceling the display of multimedia resources; or, the terminal plays multimedia resources in a first area of ​​the playback interface and displays the virtual widget's transformation animation in a second area of ​​the playback interface; or, the terminal overlays the virtual widget's transformation animation onto the multimedia resources, such as displaying a mask on the playback interface and displaying the virtual widget's transformation animation on the mask.

[0140] In some embodiments, the terminal displays the transformation animation of the virtual widget while playing the corresponding sound effect of the transformation animation.

[0141] In step 203, after the virtual widget's transformation animation is displayed, the terminal displays the virtual widget in a triggerable state. In response to the triggering operation of the virtual widget in a triggerable state, the terminal displays the acquisition result of the virtual resource associated with the multimedia resource.

[0142] In this embodiment, after the virtual widget's transformation animation is completed, a triggerable virtual widget is displayed. Users can trigger the virtual widget to claim virtual resources, thus promoting user interaction with the virtual widget. Specifically, after triggering the virtual widget, the virtual resources associated with the multimedia resources are distributed to the currently logged-in user; therefore, the terminal displays the result of obtaining the virtual resources associated with the multimedia resources.

[0143] Virtual resources are used to redeem certain items or services; for example, virtual resources can be virtual resource vouchers. The association of virtual resources with multimedia resources means that the scope of use of virtual resources includes items and services associated with the multimedia resources. For instance, if multimedia resources are used to promote a particular item, then virtual resources can be used to redeem that item.

[0144] The method provided in this disclosure displays a virtual widget on the playback interface of a multimedia resource. When the virtual widget meets the interaction conditions, a transformation animation of the virtual widget is displayed. After the transformation animation is completed, the virtual widget can be triggered to claim virtual resources associated with the multimedia resource. Displaying this content while playing multimedia resources enriches the interface presentation, improves the interface display effect, increases the fun of playing multimedia resources, and thus enhances the user experience. Furthermore, it provides an interactive method for claiming virtual resources after watching an animation, increasing the fun of claiming virtual resources and encouraging user interaction with the virtual widget, thereby increasing user engagement.

[0145] The above Figure 2 The diagram shown is only the basic process of this disclosure. The following is a further explanation of the solution provided in this disclosure based on a specific implementation method. Figure 3 This is a flowchart illustrating another method for acquiring virtual resources according to an exemplary embodiment, the method being executed by a terminal, see [link to flowchart]. Figure 3 The method includes the following steps:

[0146] In step 301, the terminal displays multiple virtual widgets on the multimedia resource playback interface.

[0147] In some embodiments, displaying virtual widgets on the playback interface of multimedia resources includes any of the following:

[0148] (1) When the playback duration of the multimedia resource reaches the first duration, a virtual widget is displayed on the playback interface of the multimedia resource.

[0149] The first duration is a preset duration, such as 0 seconds, 3 seconds, or 5 seconds. If the first duration is 0 seconds, the virtual widget will be displayed simultaneously when the multimedia resource starts playing. If the first duration is greater than 0 seconds, multiple virtual widgets will be displayed after a certain duration has elapsed since the multimedia resource started playing.

[0150] (2) In response to interactive operations on multimedia resources, a virtual widget is displayed on the playback interface of the multimedia resources, wherein the interactive operations include at least one of the following: liking, commenting, collecting, or sharing.

[0151] If the user performs an interactive operation on the multimedia resource, a virtual widget will be displayed on the multimedia resource's playback interface; if the user does not perform an interactive operation on the multimedia resource, no virtual widget will be displayed on the multimedia resource's playback interface.

[0152] In this embodiment of the disclosure, when the playback duration of a multimedia resource reaches a certain duration, or when the user performs an interactive operation on the multimedia resource, it can be indicated that the user is interested in the multimedia resource. Therefore, an additional virtual widget is displayed so as to distribute virtual resources to the user through the virtual widget, which is conducive to promoting user interaction based on multimedia resources and thereby increasing user participation.

[0153] (3) When the currently playing content of the multimedia resource is preset content, a virtual widget is displayed on the playback interface of the multimedia resource. The preset content is the content in the multimedia resource, such as preset keywords or preset video footage.

[0154] Optionally, the preset content can be content associated with the virtual widget. For example, if the virtual widget is associated with an item described in a multimedia resource, then when the currently playing video in the multimedia resource includes that item, the virtual widget will be displayed on the multimedia resource's playback interface. As another example, if the virtual widget is associated with the date type of the current date, then when the currently playing content in the multimedia resource mentions the current date, the virtual widget will be displayed on the multimedia resource's playback interface. In this implementation, the timing of the virtual widget's display is related to the currently playing preset content in the multimedia resource. Therefore, the process from playing the preset content to displaying the virtual widget is more seamless, avoiding the abruptness of suddenly displaying the virtual widget. This improves the effect of playing multimedia resources and displaying virtual widgets, thereby enhancing the user's viewing experience.

[0155] In some embodiments, the virtual widget is a virtual red envelope, where the virtual red envelope is a display element in the style of a red envelope. Alternatively, the virtual widget can be a sticker of an item introduced by a multimedia resource. For example, if the multimedia resource is used to introduce lipstick, then the virtual widget can be a lipstick sticker. In addition, the virtual widget can also be other information associated with the multimedia resource; for example, if the multimedia resource is used to introduce an item from a target producer, the virtual widget can also be an icon of that target producer. In this implementation, the virtual widget can be either a virtual red envelope or a sticker of an item introduced by a multimedia resource, increasing the diversity of virtual widgets and enhancing their appeal.

[0156] In some embodiments, a virtual widget is a display element associated with the date type of the current date. For example, during the Spring Festival, the virtual widget could be a virtual red envelope; during the Mid-Autumn Festival, it could be a mooncake. In this implementation, by displaying date-related virtual widgets while playing multimedia resources, interesting content related to the festival can be created, which not only increases the transparency of information but also enhances the fun of the interface display, enhances the atmosphere of the event and the festival, improves the display effect of the virtual widgets, and thus improves the user experience.

[0157] Figure 4 This is a schematic diagram illustrating a virtual widget according to an exemplary embodiment. See also: Figure 4 The multimedia resource playback interface displays three virtual widgets 401, which can be virtual red envelopes, that is, red envelope-style display elements.

[0158] In step 302, in response to multiple virtual widgets meeting the interaction conditions, the terminal transforms the multiple virtual widgets into a target pattern composed of multiple virtual widgets.

[0159] In this embodiment, the terminal transforms multiple virtual widgets to form a target pattern, which includes the multiple virtual widgets. The target pattern can be any style of pattern, such as an axially symmetric pattern or a centrally symmetric pattern; this embodiment does not limit this.

[0160] In some embodiments, the interaction conditions include at least one of the following: (1) The display duration of the virtual widget reaches a first duration. The virtual widget displays a countdown timer, and reaching the first duration means the countdown timer has finished. After the countdown ends, the terminal is triggered to display the virtual widget's transformation process. (2) The virtual widget is triggered. (3) Interactive controls on the playback interface are triggered. These interactive controls are used to interact with multimedia resources. Multiple interactive controls can be used, for liking, forwarding, commenting, and collecting multimedia resources, respectively. In other embodiments, at least two of the above conditions are combined to trigger the terminal to display the virtual widget's transformation process. For example, if the virtual widget's display duration reaches the first duration and it is triggered, the terminal is triggered to display the virtual widget's transformation process.

[0161] In this embodiment, the terminal automatically triggers the display of the virtual widget's transformation process after the virtual widget has been displayed for a certain period of time. This allocates a certain amount of time for the display of multimedia resources, ensuring the display effect of the multimedia resources and facilitating user interaction based on the multimedia resources. User triggering of the virtual widget can also trigger the terminal to display the virtual widget's transformation process, improving the flexibility of interaction and the efficiency of human-computer interaction. Triggering the interactive controls of the multimedia resources to display the virtual widget's transformation process not only generates interaction with the multimedia resources but also triggers the display of the virtual widget's transformation process, improving the efficiency of human-computer interaction. Furthermore, the user's interaction with the multimedia resources indicates interest in the playing multimedia resources, leading to the display of the related virtual widget's transformation process, improving the rationality and accuracy of the timing of the virtual widget's transformation process display, and facilitating user interaction based on the virtual widget.

[0162] In some embodiments, multiple virtual pendants arranged in a row are rotated and translated so that the multiple virtual pendants are arranged radially in the target pattern formed after rotation and translation.

[0163] In this process, multiple virtual widgets are arranged on the playback interface. The terminal rotates and translates each virtual widget to change their distribution, ultimately resulting in a radial distribution that forms the target pattern. For example, multiple virtual widgets are arranged in a row. By rotating each virtual widget at different angles and translating it in different directions, the transformed virtual widgets form a connected circle, thus creating the target pattern.

[0164] In this embodiment of the disclosure, by rotating and translating multiple virtual widgets arranged in a radial pattern to form a target pattern, the visual appeal of the interface can be further enhanced, the display effect of the virtual widgets' transformation animation can be improved, and thus the user experience can be improved.

[0165] In some embodiments, multiple virtual widgets are transformed into a target pattern, and the target pattern is displayed as rotating. After transforming the multiple virtual widgets into the target pattern, the terminal maintains the rotating target pattern. The rotation center of the target pattern can be its center point. For example, if the target pattern is a circle, the circle can rotate around its dot.

[0166] In this embodiment, after multiple virtual widgets are transformed into a target pattern, the target pattern continues to rotate, maintaining the dynamic display effect of the target pattern, which helps to further improve the user's viewing experience.

[0167] In some embodiments, transforming multiple virtual widgets into a target pattern composed of multiple virtual widgets includes at least one of the following:

[0168] (1) During the process of transforming multiple virtual widgets into a target pattern, the multiple virtual widgets are displayed to move from the non-center area of ​​the screen to the center area of ​​the screen. For example, if the multiple virtual widgets are located in the lower left corner of the screen, then during the transformation process, the multiple virtual widgets are gradually moved from the lower left corner area to the center area of ​​the screen so that after the target pattern is finally formed, the target pattern is displayed in the center area of ​​the screen.

[0169] (2) During the process of transforming multiple virtual widgets into the target pattern, the multiple virtual widgets are displayed to change from a first size to a second size, where the first size and the second size are different. For example, the first size is smaller than the second size, meaning that the virtual widgets are gradually enlarged during the process of transforming multiple virtual widgets into the target pattern. Alternatively, the first size can be larger than the second size, in which case the virtual widgets are gradually reduced in size during the process of transforming multiple virtual widgets into the target pattern.

[0170] (3) During the process of transforming multiple virtual widgets into the target pattern, the number of virtual widgets displayed changes from a first number to a second number, and the first number and the second number are different. For example, if the first number is less than the second number, then during the process of transforming multiple virtual widgets into the target pattern, a dynamic effect of more virtual widgets flying out from one or more virtual widgets can be displayed, or a dynamic effect of more virtual widgets falling from the top of the screen can be displayed.

[0171] In this embodiment of the disclosure, during the process of transforming multiple virtual pendants into a target pattern, the position, size, and quantity of the virtual pendants can also be changed, making the transformation process richer and more eye-catching, adding a variety of innovative display styles, further enhancing the fun, and thus improving the user experience.

[0172] Figure 5 This is a schematic diagram illustrating the transformation animation of a virtual widget according to an exemplary embodiment, such as... Figure 5 As shown, the playback interface displays three virtual widgets 401. In the transformation animation of the virtual widgets, these three virtual widgets 401 gradually translate and rotate from the lower left corner of the screen towards the center. During the translation and rotation, the size of the virtual widgets 401 gradually increases, and more identical virtual widgets 401 gradually fly out from between the three virtual widgets 401. Finally, the multiple virtual widgets 401 form a target pattern 501, which is displayed in the center of the screen. After the target pattern 501 is formed, it can continue to rotate in the center of the screen.

[0173] In some embodiments, the target pattern is a pattern associated with a multimedia resource, such as an item promoted by a target producer. The target pattern could represent the item promoted by the multimedia resource, or it could represent the target producer. In other embodiments, the target pattern can be a pattern associated with the date type of the current date; for example, during the Mid-Autumn Festival, the target pattern could be a mooncake pattern.

[0174] In some embodiments, during the process of transforming multiple virtual widgets into a target image, the terminal displays information associated with a multimedia resource on at least one virtual widget. For example, if the multimedia resource is used to promote an item from a target producer, then at least one of the following can be displayed on the virtual widget: the item, the item's information, the target producer, or the target producer's producer information.

[0175] In some embodiments, during step 301, a text area is also displayed on the multimedia resource playback interface. This text area includes at least one of the multimedia resource's descriptive text or object information, where the object information refers to information about the object that published the multimedia resource. In step 302, in response to the virtual widget meeting the interaction conditions, the text area is de-displayed, and the virtual widget's transformation animation is displayed.

[0176] In other words, when the virtual widget's transformation animation is displayed on the playback interface, the text area is no longer displayed on the playback interface, thus freeing up more space to display the virtual widget's transformation animation.

[0177] Optionally, the terminal displays the virtual widget's transformation animation in full-screen mode, where no information other than the virtual widget's transformation animation is displayed. This information includes text areas, multimedia resources, and interactive controls for those resources.

[0178] Optionally, the terminal displays a mask on the playback interface, and displays the transformation animation of the virtual widget on the mask.

[0179] In this embodiment, when displaying the transformation animation of the virtual widget, the text area is removed to avoid interference from other information on the playback interface, thereby enhancing the visual impact of the animation, improving the interface display effect, and providing users with an immersive viewing experience, thus improving the user experience. Furthermore, full-screen display of the virtual widget's transformation animation is supported, further increasing the vibrancy of the playback interface, adding unexpected surprises for users, and further enhancing the visual impact of the animation.

[0180] In some embodiments, a first close control is also displayed on the playback interface. This first close control, when triggered, cancels the display of the virtual widget's transformation animation. After canceling the virtual widget's transformation animation, the terminal can continue playing multimedia resources, directly jump to the virtual resource acquisition interface, or directly display the virtual resource acquisition result.

[0181] In step 303, after the virtual widget's transformation animation is displayed, the terminal displays the virtual widget in a triggerable state. In response to the triggering operation of the virtual widget in a triggerable state, the terminal displays the acquisition result of the virtual resource associated with the multimedia resource.

[0182] In this embodiment of the disclosure, after the transformation animation of the virtual widget is completed, the virtual widget in a triggerable state is displayed. After the virtual widget is triggered, the virtual resource associated with the multimedia resource is distributed to the currently logged-in object. That is, the currently logged-in object will obtain the virtual resource associated with the multimedia resource. Therefore, the terminal displays the result of obtaining the virtual resource associated with the multimedia resource to prompt the user that the virtual resource has been received.

[0183] The method provided in this disclosure displays a virtual widget on the playback interface of a multimedia resource. When the virtual widget meets the interaction conditions, a transformation animation of the virtual widget is displayed. After the transformation animation is completed, the virtual widget can be triggered to claim virtual resources associated with the multimedia resource. Displaying this content while playing multimedia resources enriches the interface presentation, improves the interface display effect, increases the fun of playing multimedia resources, and thus enhances the user experience. Furthermore, it provides an interactive method for claiming virtual resources after watching an animation, increasing the fun of claiming virtual resources and encouraging user interaction with the virtual widget, thereby increasing user engagement.

[0184] Furthermore, the display shows a dynamic effect that transforms multiple virtual widgets into a target pattern composed of multiple virtual widgets, improving the visual effect, increasing the fun, and enhancing the user's viewing experience.

[0185] The following section will further elaborate on the solution provided in this disclosure based on a specific implementation method. Figure 6 This is a flowchart illustrating another method for acquiring virtual resources according to an exemplary embodiment, the method being executed by a terminal, see [link to flowchart]. Figure 6 The method includes the following steps:

[0186] In step 601, the terminal displays a virtual widget on the multimedia resource playback interface.

[0187] In step 602, the terminal responds to the virtual widget meeting the interaction conditions by displaying a transformation animation of the virtual widget, which is used to present the dynamic effect of the virtual widget changing.

[0188] The process of steps 601-602 is the same as that of steps 301-302 above, and will not be described in detail here.

[0189] After the virtual widget's transformation animation is displayed, the terminal can execute any one of the following steps 603, 604, or 605.

[0190] In step 603, after the virtual widget's transformation animation is displayed, the terminal displays the virtual widget in a triggerable state. In response to the triggering operation of the virtual widget in the triggerable state, the terminal displays the acquisition result of the virtual resource associated with the multimedia resource.

[0191] In some embodiments, after the virtual widget's transformation animation is displayed, the terminal also displays at least one of resource acquisition prompt information or resource acquisition record information. The resource acquisition prompt information prompts the user to claim virtual resources by triggering the virtual widget, while the resource acquisition record information displays any object for which virtual resources have been claimed. In this implementation, by displaying resource acquisition prompt information or resource acquisition record information, the event of acquiring virtual resources and its acquisition status are presented intuitively to the user, increasing information transparency, improving the display effect, attracting user attention, and facilitating user interaction with the virtual widget.

[0192] Figure 7 This is a schematic diagram illustrating another virtual widget according to an exemplary embodiment, such as... Figure 7 As shown, the playback interface displays a virtual widget 701 that can be triggered. In addition, the playback interface also displays resource acquisition prompt information 702, resource acquisition record information 703, and a first close control 704.

[0193] In some embodiments, if multiple virtual widgets in a triggerable state are displayed, then step 303 includes: in response to a triggering operation on any of the displayed virtual widgets, displaying the acquisition result of the target virtual resource, where the target virtual resource is a virtual resource associated with the multimedia resource and the triggered virtual widget. For example... Figure 7 As shown, the playback interface can display two virtual widgets 701, and users can trigger either virtual widget 701 to claim virtual resources.

[0194] The association between target virtual resources and virtual widgets refers to the correspondence between the quantity or type of target virtual resources and virtual widgets. For example, different virtual widgets may correspond to the same or different quantities of virtual resources, and the types of virtual resources may be the same or different.

[0195] Optionally, when the terminal displays multiple virtual widgets, it displays resource information of the virtual resources associated with each virtual widget. Users can choose which virtual widget's associated virtual resources to claim based on the resource information.

[0196] In this embodiment, multiple triggerable virtual widgets are displayed. Users can trigger any virtual widget to claim virtual resources associated with that widget, providing users with freedom of choice, which helps to increase user engagement and enhance the fun of claiming virtual resources. Furthermore, by providing innovative gameplay and choices, it helps to guide users to interact with virtual widgets, improving the user experience.

[0197] In some embodiments, step 303 includes: in response to a triggering operation on a virtual widget in a triggerable state, displaying a flipping animation of the virtual widget, the flipping animation being used to flip the virtual widget; and displaying the acquisition result of the virtual resource on the flipped virtual widget. After the user performs a triggering operation on the virtual widget, the terminal flips the user-triggered virtual widget and displays the acquisition result of the virtual resource on the flipped virtual widget, thereby creating a dynamic effect of the user flipping the virtual widget.

[0198] Optionally, the terminal may play the corresponding sound effect while displaying the virtual widget's flipping animation.

[0199] Figure 8 This is a schematic diagram of another virtual widget according to an exemplary embodiment, wherein the flipped virtual widget 801 is displayed on the overlay of the playback interface, and the flipped virtual widget 801 displays the acquisition result of the virtual resource.

[0200] In this embodiment, after a user triggers a virtual widget, a flipping animation is displayed, turning the widget over. The result of obtaining the virtual resource is then displayed on the flipped widget, improving the display effect of the result and enhancing the fun of obtaining the virtual resource, thereby improving the user experience. Furthermore, flipping the virtual widget adds an unexpected surprise to the user, which helps attract their attention. The ability to obtain a virtual resource simply by triggering any virtual widget achieves lightweight interaction and instant feedback, thus promoting interaction.

[0201] In some embodiments, the result of acquiring virtual resources includes at least one of the following: the amount of virtual resources, the resource acquisition activity to which the virtual resources belong, or the usage time of the virtual resources. In this embodiment of the disclosure, the result of acquiring virtual resources includes information such as resource amount, resource acquisition activity, and usage time, which increases the transparency of information and facilitates interaction.

[0202] For example, a virtual resource includes at least one sub-virtual resource, and the resource quantity includes at least one of the resource quantity of each sub-virtual resource or the total resource quantity. For instance, if a virtual resource includes multiple virtual resource vouchers, each with a certain resource quantity, then the acquisition result displayed on the terminal includes at least one of the resource quantity of each virtual resource voucher and the total resource quantity. In this embodiment of the disclosure, displaying the resource quantity of each sub-virtual resource achieves refined information display and improves information transparency. Displaying the total resource quantity achieves information aggregation and simplifies the interface display.

[0203] Resource acquisition activities, also known as activities that distribute virtual resources, display the resource acquisition activity to which the virtual resource belongs, including the activity theme and activity time. The usage time of the virtual resource includes at least one of the start and end times of use. Furthermore, the acquisition results may also include the scope of use of the virtual resource.

[0204] In some embodiments, the playback interface also displays a fourth duration prompt, i.e., after the fourth duration is displayed, the user is redirected to the usage interface. Optionally, this prompt is displayed on the usage controls of the virtual resource. For example, see [link to documentation]. Figure 8 The overlay on the playback interface also displays a prompt message 803 indicating the use of control 802 and the fourth duration.

[0205] Optionally, a second close control is also displayed on the playback interface. In response to triggering this second close control, the terminal cancels the display overlay and continues playing the multimedia resource on the playback interface. For example, see [link to previous section]. Figure 8 The top left corner of the overlay also displays a second close control 804.

[0206] In step 604, after the virtual widget's transformation animation is displayed, the terminal displays a virtual resource claiming control. The virtual resource claiming control is used to prompt users to claim virtual resources. In response to the triggering operation of the virtual resource claiming control, the terminal displays the acquisition result of the virtual resources associated with the multimedia resources.

[0207] In this embodiment of the disclosure, after the virtual widget's transformation animation is displayed, a virtual resource claiming control can also be displayed to prompt the user to claim virtual resources, thereby improving the flexibility of the interaction.

[0208] In some embodiments, the virtual resource claiming control displays a resource acquisition prompt message, which prompts users to claim virtual resources by triggering the virtual resource claiming control.

[0209] In step 605, after the virtual widget's transformation animation is displayed, the terminal responds to the terminal's twisting operation and displays the acquisition result of the virtual resource associated with the multimedia resource.

[0210] In this embodiment of the disclosure, interaction is achieved through a simple twisting operation, which can improve the efficiency of human-computer interaction.

[0211] In some embodiments, after the virtual widget's transformation animation is displayed, the terminal also displays a resource acquisition prompt message, which prompts the user to claim virtual resources by performing a twisting operation on the terminal.

[0212] The method provided in this disclosure displays a virtual widget on the playback interface of a multimedia resource. When the virtual widget meets the interaction conditions, a transformation animation of the virtual widget is displayed. After the transformation animation is completed, the user can claim the virtual resource associated with the multimedia resource. Displaying this content while playing multimedia resources enriches the interface presentation, improves the interface display effect, increases the fun of playing multimedia resources, and thus enhances the user experience. Furthermore, it provides an interactive method for claiming virtual resources by watching animations, increasing the fun of claiming virtual resources and encouraging user interaction with the virtual widget, thereby increasing user engagement.

[0213] The following section will further elaborate on the solution provided in this disclosure based on a specific implementation method. Figure 9 This is a flowchart illustrating another method for acquiring virtual resources according to an exemplary embodiment, the method being executed by a terminal, see [link to flowchart]. Figure 9 The method includes the following steps:

[0214] In step 901, the terminal displays a virtual widget on the multimedia resource playback interface.

[0215] In step 902, the terminal responds to the virtual widget meeting the interaction conditions by displaying a transformation animation of the virtual widget, which is used to present the dynamic effect of the virtual widget changing.

[0216] The process of steps 901-902 is the same as that of steps 301-302 above, and will not be described in detail here.

[0217] After the virtual widget's transformation animation is displayed, the terminal can execute either step 903 or step 904 below.

[0218] In step 903, after the virtual widget's transformation animation is displayed, the terminal displays the virtual widget in a triggerable state. In response to the triggering operation of the virtual widget in a triggerable state, the user interface of the virtual resource is displayed, and the acquisition result of the virtual resource associated with the multimedia resource is displayed on the user interface.

[0219] In response to a triggering operation on a triggerable virtual widget, the terminal on the playback interface redirects to the virtual resource usage interface, where the acquisition result of the virtual resource is displayed. In this embodiment, the virtual resource usage interface differs depending on the scope of use of the virtual resource.

[0220] In some embodiments, if the scope of use of the virtual resource is a target item, the user interface is the target item's details interface or exchange interface. The details interface is used to introduce the target item, and the exchange interface is used to exchange the target item.

[0221] Virtual resources are dedicated to a single target item, which can be an item within or outside the live stream. The scope of use for virtual resources is the target item; that is, virtual resources can be used to redeem the target item. Therefore, the interface for using virtual resources can be the details page of the target item, for example, see [link to example]. Figure 10 , Figure 10 This is a schematic diagram illustrating a details interface of a target item according to an exemplary embodiment. The details interface displays the virtual resource acquisition result 1001. Optionally, the details interface also displays a third close control. In response to triggering the third close control, the terminal returns to the playback interface to continue playing the multimedia resource. For example, see [link to previous section]. Figure 10 The top left corner of the details page displays a third close control, 1002.

[0222] In this embodiment of the disclosure, the virtual resource is dedicated to this one target item, thereby directly jumping to the details interface or exchange interface of the target item, making it convenient to use the virtual resource in the details interface or exchange interface, shortening the interaction path and improving the interaction efficiency.

[0223] In some embodiments, if the scope of use of the virtual resource is any item within the live stream, the user interface is the live stream interface of the live stream.

[0224] In this system, the live stream room is linked to multimedia resources. Multimedia resources are used to promote the target item; the live stream room is the live stream room of the provider of the target item, who offers the target item and other items. In other words, virtual resources are used for items within the live stream room of the provider of the target item. This links virtual resources with multimedia resources, broadening the scope of virtual resource usage and encouraging users to redeem items based on virtual resources. Alternatively, the live stream room can be the live stream room of the promoter of the target item, who promotes the target item and other items. In other words, virtual resources are used for items within the live stream room of the promoter of the target item. This links virtual resources with multimedia resources, broadening the scope of virtual resource usage and encouraging users to redeem items based on virtual resources.

[0225] In this embodiment of the disclosure, the virtual resource can be used for any item in the live broadcast room, thereby displaying the live broadcast interface of the live broadcast room. This makes it convenient to use the virtual resource for any item in the live broadcast room, shortens the interaction path, and improves the interaction efficiency.

[0226] In other embodiments, multimedia resources are used to promote target items, and the scope of use of virtual resources can also be any item provided by the provider of the target item, not limited to items within the live broadcast room.

[0227] In step 904, after the virtual widget's transformation animation is displayed, the terminal displays the virtual widget in a triggerable state. In response to the triggering operation of the virtual widget in a triggerable state, the acquisition result of the virtual resource associated with the multimedia resource is displayed on the playback interface.

[0228] In response to a triggering operation on a triggerable virtual widget, the terminal displays the virtual resource acquisition result on the playback interface. For example, after the virtual widget's transformation animation is displayed, the terminal displays the triggerable virtual widget on the playback interface. In response to a triggering operation on the triggerable virtual widget, the terminal displays a flipping animation of the virtual widget, and the flipped virtual widget is displayed on the playback interface. The virtual resource acquisition result is then displayed on the flipped virtual widget.

[0229] In some embodiments, after displaying the acquisition result of the virtual resource on the playback interface, a user interface for the virtual resource may be further displayed. Accordingly, at least one of the following may be included: (1) Displaying the user interface for the virtual resource in response to the display duration of the acquisition result reaching a third duration; (2) Displaying a user control for the virtual resource on the playback interface, and displaying the user interface for the virtual resource in response to a trigger operation on the user control. In this embodiment of the present disclosure, after displaying the acquisition result, users can directly jump to the user interface for the virtual resource, shortening the interaction link, improving human-computer interaction efficiency, and facilitating the use of the virtual resource by the user on the user interface, thus promoting interaction.

[0230] The method provided in this disclosure displays a virtual widget on the playback interface of a multimedia resource. When the virtual widget meets the interaction conditions, a transformation animation of the virtual widget is displayed. After the transformation animation is completed, the virtual widget can be triggered to claim virtual resources associated with the multimedia resource. Displaying this content while playing multimedia resources enriches the interface presentation, improves the interface display effect, increases the fun of playing multimedia resources, and thus enhances the user experience. Furthermore, it provides an interactive method for claiming virtual resources after watching an animation, increasing the fun of claiming virtual resources, promoting user interaction, and thus increasing user participation.

[0231] Furthermore, after the virtual widget's transformation animation is displayed, the result of obtaining the virtual resource is directly displayed on the virtual resource's user interface or playback interface, shortening the interaction chain and improving interaction efficiency.

[0232] Figure 11 This is a block diagram illustrating a virtual resource acquisition device according to an exemplary embodiment. See also... Figure 11 The device includes a first display unit 1101, a second display unit 1102 and a third display unit 1103.

[0233] The first display unit 1101 is configured to display virtual widgets on the playback interface of multimedia resources;

[0234] The second display unit 1102 is configured to perform a transformation animation of the virtual widget in response to the virtual widget meeting the interaction conditions. The transformation animation is used to present the dynamic effect of the virtual widget changing.

[0235] The third display unit 1103 is configured to display the virtual widget in a triggerable state after the transformation animation of the virtual widget is displayed, and to display the acquisition result of the virtual resource associated with the multimedia resource in response to the triggering operation of the virtual widget in the triggerable state.

[0236] The apparatus provided in this disclosure displays virtual widgets on the multimedia resource playback interface. When the virtual widgets meet interactive conditions, a transformation animation of the virtual widgets is displayed. After the transformation animation is complete, users can claim virtual resources associated with the multimedia resources by triggering the virtual widgets. Displaying this content while playing multimedia resources enriches the interface presentation, improves the interface display effect, increases the fun of playing multimedia resources, and thus enhances the user experience. Furthermore, it provides an interactive method for claiming virtual resources after watching an animation, increasing the fun of claiming virtual resources and encouraging user interaction with the virtual widgets, thereby increasing user engagement.

[0237] In one possible implementation, the second display unit 1102 is configured to perform:

[0238] Transform multiple virtual widgets into a target pattern composed of multiple virtual widgets.

[0239] In one possible implementation, the second display unit 1102 is configured to perform:

[0240] The multiple virtual pendants are rotated and translated so that they are arranged radially in the target pattern formed by the rotation and translation.

[0241] In one possible implementation, the second display unit 1102 is configured to perform:

[0242] Transform multiple virtual widgets into the target pattern, and display that the target pattern is rotating.

[0243] In one possible implementation, the second display unit 1102 is configured to perform at least one of the following:

[0244] During the process of transforming multiple virtual widgets into the target pattern, multiple virtual widgets are displayed moving from the off-center area of ​​the screen to the center area of ​​the screen.

[0245] During the process of transforming multiple virtual widgets into the target pattern, multiple virtual widgets are displayed to change from a first size to a second size, and the first size and the second size are different;

[0246] During the process of transforming multiple virtual widgets into the target pattern, the number of virtual widgets displayed changes from a first number to a second number, and the first number and the second number are different.

[0247] In one possible implementation, the second display unit 1102 is configured to perform:

[0248] During the process of transforming multiple virtual widgets into a target pattern, information associated with multimedia resources is displayed on at least one virtual widget.

[0249] In one possible implementation, the first display unit 1101 is configured to perform any of the following:

[0250] When the playback duration of a multimedia resource reaches the first duration, a virtual widget is displayed on the playback interface of the multimedia resource.

[0251] In response to interactive operations on multimedia resources, a virtual widget is displayed on the playback interface of the multimedia resources. The interactive operations include at least one of the following: liking, commenting, favorite, or sharing.

[0252] When the content currently being played in a multimedia resource is a preset content, a virtual widget is displayed on the multimedia resource's playback interface.

[0253] In one possible implementation, the interaction conditions include at least one of the following:

[0254] The virtual widget's display duration has reached the second duration;

[0255] The virtual widget was triggered;

[0256] The interactive controls on the playback interface are triggered; these controls are used to interact with multimedia resources.

[0257] In one possible implementation, the first display unit 1101 is further configured to display a text area on the playback interface of the multimedia resource, the text area including at least one of the descriptive text of the multimedia resource or object information, the object information referring to the information of the object that publishes the multimedia resource;

[0258] The second display unit 1102 is configured to respond to the virtual widget meeting the interaction conditions by canceling the display of the text area and displaying the transformation animation of the virtual widget.

[0259] In one possible implementation, the first display unit 1101 is configured to perform:

[0260] Display a virtual widget that is not triggered on the multimedia resource playback interface.

[0261] In one possible implementation, the third display unit 1103 is configured to perform:

[0262] In response to a triggering operation on a virtual widget in a triggerable state, a flipping animation of the virtual widget is displayed. The flipping animation of the virtual widget is used to flip the virtual widget.

[0263] Display the results of virtual resource acquisition on the flipped virtual widget.

[0264] In one possible implementation, the number of virtual widgets that can be triggered is multiple; the third display unit 1103 is configured to execute:

[0265] In response to a trigger operation on any of the displayed virtual widgets, the result of acquiring the target virtual resource is displayed. The target virtual resource is the virtual resource associated with the multimedia resource and the triggered virtual widget.

[0266] In one possible implementation, the third display unit 1103 is also configured to perform:

[0267] After the virtual widget's transformation animation is complete, a virtual resource claiming control is displayed, which prompts users to claim virtual resources.

[0268] In response to a trigger operation on the virtual resource acquisition control, display the result of the virtual resource acquisition.

[0269] In one possible implementation, the third display unit 1103 is also configured to perform:

[0270] After the virtual widget's transformation animation is complete, the result of acquiring the virtual resource is displayed in response to the terminal's twisting operation.

[0271] In one possible implementation, the third display unit 1103 is configured to perform:

[0272] Display the user interface for virtual resources, and show the results of obtaining virtual resources on the user interface; or,

[0273] The results of obtaining virtual resources are displayed on the playback interface.

[0274] In one possible implementation, the third display unit 1103 is also configured to perform at least one of the following:

[0275] When the display time for the obtained results reaches the third duration, the user interface for the virtual resources is displayed;

[0276] The playback interface displays controls for using virtual resources. In response to triggering the use of these controls, the virtual resource usage interface is displayed.

[0277] In one possible implementation, if the scope of use of the virtual resource is a target item, the user interface is the details interface or the exchange interface of the target item. The details interface is used to introduce the target item, and the exchange interface is used to exchange the target item.

[0278] If the virtual resource can be used for any item within the live stream, the user interface will be the live stream interface of the live stream room.

[0279] In one possible implementation, the result of acquiring the virtual resource includes the resource quantity of the virtual resource, the virtual resource including at least one sub-virtual resource, and the resource quantity including at least one of the resource quantity of each of the at least one sub-virtual resource or the total resource quantity.

[0280] In one possible implementation, the virtual widget is a virtual red envelope; or, the virtual widget is a sticker of an item featured in a multimedia resource.

[0281] Regarding the apparatus in the above embodiments, the specific manner in which each unit performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0282] This disclosure provides an electronic device including a processor and a memory for storing processor-executable instructions. The processor is configured to execute instructions to implement the virtual resource acquisition method described above.

[0283] In some embodiments, the electronic device includes a terminal.

[0284] Figure 12A structural block diagram of a terminal 1200 illustrating an exemplary embodiment of this disclosure is shown. The terminal 1200 may be a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The terminal 1200 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.

[0285] Typically, terminal 1200 includes a processor 1201 and a memory 1202.

[0286] Processor 1201 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1201 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1201 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1201 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 1201 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0287] The memory 1202 may include one or more computer-readable storage media, which may be non-transitory. The memory 1202 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1202 are used to store at least one program code, which is executed by the processor 1201 to implement the virtual resource acquisition method provided in the method embodiments of this disclosure.

[0288] In some embodiments, the terminal 1200 may also optionally include a peripheral device interface 1203 and at least one peripheral device. The processor 1201, memory 1202, and peripheral device interface 1203 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1203 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: radio frequency circuitry 1204, display screen 1205, camera assembly 1206, audio circuitry 1207, and power supply 1208.

[0289] Peripheral device interface 1203 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1201 and memory 1202. In some embodiments, processor 1201, memory 1202 and peripheral device interface 1203 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1201, memory 1202 and peripheral device interface 1203 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0290] The radio frequency (RF) circuit 1204 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1204 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1204 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 1204 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1204 can communicate with other terminals via at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: metropolitan area networks (MANs), various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks (WLANs), and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1204 may also include circuitry related to NFC (Near Field Communication), which is not limited in this disclosure.

[0291] Display screen 1205 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 1205 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1201 for processing. In this case, display screen 1205 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1205, which serves as the front panel of terminal 1200; in other embodiments, there may be at least two display screens 1205, respectively disposed on different surfaces of terminal 1200 or in a folded design; in still other embodiments, display screen 1205 may be a flexible display screen, disposed on a curved or folded surface of terminal 1200. Furthermore, display screen 1205 may also be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 1205 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0292] The camera assembly 1206 is used to acquire images or videos. Optionally, the camera assembly 1206 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 1206 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.

[0293] The audio circuit 1207 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 1201 for processing, or input to the radio frequency circuit 1204 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the terminal 1200. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1201 or the radio frequency circuit 1204 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 1207 may also include a headphone jack.

[0294] Power supply 1208 is used to power the various components in terminal 1200. Power supply 1208 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When power supply 1208 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

[0295] Those skilled in the art will understand that Figure 12 The structure shown does not constitute a limitation on terminal 1200 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0296] In an exemplary embodiment, a computer-readable storage medium is also provided, which, when executed by a processor of an electronic device, enables the electronic device to perform the steps in the virtual resource acquisition method described above. For example, the computer-readable storage medium may be a ROM (Read Only Memory), RAM (Random Access Memory), CD-ROM (Compact Disc Read-Only Memory), magnetic tape, floppy disk, and optical data storage device, etc.

[0297] In an exemplary embodiment, a computer program product is also provided, including a computer program that, when executed by a processor of an electronic device, implements the steps in the virtual resource acquisition method described above.

[0298] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0299] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. A method for acquiring virtual resources, characterized in that, The method includes: In response to interactive operations on the multimedia resource in the playback interface, multiple virtual widgets in an untriggerable state are displayed on the playback interface of the multimedia resource. The playback interface of the multimedia resource also includes a text area. The multiple virtual widgets refer to visual elements with decorative functions. The text area includes at least one of the descriptive text or object information of the multimedia resource. The object information refers to the information of the object that published the multimedia resource. The interactive operation includes at least one of the following: like operation, comment operation, favorite operation, or share operation. In response to multiple virtual widgets meeting the interaction conditions, the text area is de-displayed, and the transformation animation of multiple virtual widgets is displayed in full-screen mode on the playback interface. The transformation animation is used to present the dynamic effect of multiple virtual widgets transforming into a target pattern. The target pattern is composed of multiple virtual widgets. In the full-screen mode, no information other than the transformation animation of multiple virtual widgets is displayed. During the process of transforming multiple virtual widgets into the target pattern, the number of multiple virtual widgets displayed changes from a first number to a second number, where the first number is different from the second number. After the transformation animations of the multiple virtual widgets are displayed, the multiple virtual widgets in a triggerable state are displayed. In response to a trigger operation on any of the displayed virtual widgets, a flip animation of the virtual widget is displayed on the playback interface. The acquisition result of the target virtual resource is displayed on the flipped virtual widget. The flip animation of the virtual widget is used to flip the virtual widget. The target virtual resource is a virtual resource associated with the multimedia resource and the triggered virtual widget.

2. The method for acquiring virtual resources according to claim 1, characterized in that, The animation displaying the multiple virtual widgets includes: The multiple virtual pendants arranged in a row are rotated and translated so that the multiple virtual pendants are arranged radially in the target pattern formed after rotation and translation.

3. The method for acquiring virtual resources according to claim 1, characterized in that, The method further includes at least one of the following: During the process of transforming multiple virtual widgets into the target pattern, multiple virtual widgets are displayed moving from the off-center area of ​​the screen to the center area of ​​the screen. During the process of transforming multiple virtual widgets into the target pattern, multiple virtual widgets are displayed to change from a first size to a second size, where the first size is different from the second size.

4. The method for acquiring virtual resources according to claim 1, characterized in that, The step of transforming the multiple virtual widgets into a target pattern composed of the multiple virtual widgets includes: During the process of transforming multiple virtual widgets into the target pattern, information associated with the multimedia resource is displayed on at least one of the virtual widgets.

5. The method for acquiring virtual resources according to claim 1, characterized in that, The method further includes any one of the following: When the playback duration of the multimedia resource reaches a first duration, multiple virtual widgets in an untriggerable state are displayed on the playback interface of the multimedia resource. When the content currently being played in the multimedia resource is preset content, multiple virtual widgets in an untriggerable state are displayed on the playback interface of the multimedia resource.

6. The method for acquiring virtual resources according to claim 1, characterized in that, The interaction conditions include at least one of the following: The display duration of the virtual widget reaches the second duration; The virtual widget was triggered; The interactive controls on the playback interface are triggered, and the interactive controls are used to interact with the multimedia resources.

7. The method for acquiring virtual resources according to any one of claims 1 to 6, characterized in that, The method further includes: After the transformation animations of the multiple virtual widgets are displayed, a virtual resource claiming control is displayed, which is used to prompt users to claim virtual resources. In response to the triggering operation of the virtual resource acquisition control, the acquisition result of the virtual resource is displayed.

8. The method for acquiring virtual resources according to any one of claims 1 to 6, characterized in that, The acquisition result of the target virtual resource includes the resource quantity of the target virtual resource. The target virtual resource includes at least one sub-virtual resource. The resource quantity includes at least one of the resource quantity of each of the at least one sub-virtual resource or the total resource quantity.

9. A device for acquiring virtual resources, characterized in that, The device includes: The first display unit is configured to perform an interactive operation on the multimedia resource in response to the multimedia resource playback interface, displaying multiple virtual widgets in an untriggerable state on the multimedia resource playback interface, the multimedia resource playback interface also including a text area, the multiple virtual widgets being decorative visual elements, the text area including at least one of the multimedia resource's descriptive text or object information, the object information being information about the object that published the multimedia resource, and the interactive operation including at least one of a like operation, a comment operation, a favorite operation, or a share operation; The second display unit is configured to respond to the multiple virtual widgets meeting the interaction conditions by canceling the display of the text area and displaying the transformation animation of the multiple virtual widgets in full-screen mode on the playback interface. The transformation animation is used to present the dynamic effect of the multiple virtual widgets transforming into a target pattern. The target pattern is composed of the multiple virtual widgets. In the full-screen mode, no information other than the transformation animation of the multiple virtual widgets is displayed. The second display unit is further configured to, during the process of transforming the plurality of virtual widgets into the target pattern, display the number of the plurality of virtual widgets changing from a first number to a second number, wherein the first number is different from the second number; The third display unit is configured to display multiple virtual widgets in a triggerable state after the transformation animation of the multiple virtual widgets has been displayed. In response to a trigger operation on any of the displayed virtual widgets, the unit displays a flip animation of the virtual widget on the playback interface and displays the acquisition result of the target virtual resource on the flipped virtual widget. The flip animation of the virtual widget is used to flip the virtual widget, and the target virtual resource is a virtual resource associated with the multimedia resource and the triggered virtual widget.

10. An electronic device, characterized in that, The electronic device includes: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the method for acquiring virtual resources as described in any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is able to perform the method for acquiring virtual resources as described in any one of claims 1 to 8.

12. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method for acquiring virtual resources as described in any one of claims 1 to 8.