Virtual resource acquisition method and device, equipment and storage medium
By displaying resource prompt components and virtual props on the playback interface of multimedia resources, combined with the flying out and triggering of interactive elements, the problem of single display form of multimedia resources is solved, and user experience and participation is improved.
Patent Information
- Application Number
- CN202411548777.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-14
AI Technical Summary
The display form of existing multimedia resources is relatively single, making it difficult to attract user attention, thereby reducing user participation.
The resource prompt component is displayed on the playback interface of the multimedia resource. In response to the resource prompt component meeting the interaction conditions, displaying virtual props and flying out of multiple interactive elements from the virtual props. The user triggers any interactive element to obtain the virtual resource.
It enriches the interface display form, improves the interface display effect, increases the fun of playing multimedia resources, thereby improving user experience, promoting user interaction, and improving user participation.
Smart Images

Figure CN119449613A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of multimedia technology, and in particular to a method, device, equipment and storage medium for acquiring virtual resources. Background Art
[0002] With the rapid development of Internet technology, browsing various multimedia resources through Internet applications has become a common form of entertainment. Taking multimedia resources as videos as an example, the terminal can display a video to introduce items, services, etc., and after triggering, it can jump to the detailed interface of the introduced content.
[0003] However, in the above method, the display form of multimedia resources is relatively simple, which is difficult to attract user attention, thereby reducing user participation. Summary of the invention
[0004] The present disclosure provides a method, device, equipment and storage medium for acquiring virtual resources, which enriches the interface display form, improves the interface display effect, increases the fun of playing multimedia resources, and thus improves the user experience; and is conducive to promoting user interaction and improving user participation. The technical solution of the present disclosure is as follows.
[0005] According to one aspect of an embodiment of the present disclosure, a method for acquiring a virtual resource is provided, the method comprising:
[0006] Displaying a resource prompt component on a playback interface of a multimedia resource, wherein the resource prompt component is used to prompt acquisition of a virtual resource associated with the multimedia resource;
[0007] In response to the resource prompt component satisfying the interactive condition, displaying a virtual prop on the play interface, and displaying a plurality of interactive elements flying out of the virtual prop;
[0008] In response to a triggering operation on any interactive element, the acquisition result of the virtual resource is displayed.
[0009] In some embodiments, the interaction condition includes at least one of the following:
[0010] The display duration of the resource prompt component reaches a first duration;
[0011] The resource prompt component is triggered;
[0012] The interactive component on the playback interface is triggered, and the interactive component is used to interact with the multimedia resource.
[0013] In some embodiments, in response to a triggering operation on any interactive element, displaying the acquisition result of the virtual resource includes:
[0014] In response to a triggering operation on any interactive element, an interactive animation is displayed, wherein the virtual prop and the interactive element flying out of the virtual prop are enlarged;
[0015] In response to the display duration of the interactive animation reaching a second duration, the acquisition result of the virtual resource is displayed.
[0016] In some embodiments, displaying the interactive animation includes:
[0017] The interactive animation is displayed in a full-screen mode, and information other than the virtual prop and the interactive elements flying out from the virtual prop is not displayed in the full-screen mode.
[0018] In some embodiments, the virtual prop is a virtual tunnel, and the multiple interactive elements include elements of different shapes flying out of the virtual tunnel.
[0019] In some embodiments, the method further comprises:
[0020] In response to the display time of the virtual prop reaching a third time and the plurality of interactive elements not being triggered, displaying an acquisition interface for the virtual resource, wherein at least one virtual resource package is displayed on the acquisition interface;
[0021] In response to a triggering operation on any one of the at least one virtual resource package, the acquisition result of the virtual resource is displayed.
[0022] In some embodiments, in response to a triggering operation on any interactive element, displaying the acquisition result of the virtual resource includes:
[0023] In response to a triggering operation on any interactive element, displaying a use interface of the virtual resource, and displaying the acquisition result of the virtual resource on the use interface; or,
[0024] In response to a triggering operation on any interactive element, the acquisition result of the virtual resource is displayed on the playback interface.
[0025] In some embodiments, after displaying the acquisition result of the virtual resource on the playback interface, the method further includes at least one of the following:
[0026] In response to the display duration of the acquisition result reaching a fourth duration, displaying a usage interface of the virtual resource;
[0027] The playback interface displays a usage control of the virtual resource, and in response to a triggering operation on the usage control, the usage interface of the virtual resource is displayed.
[0028] In some embodiments, if the usage scope of the virtual resource is a target item, the usage interface is a detail interface of the target item; or,
[0029] If the usage scope of the virtual resource is any item in the live broadcast room, the usage interface is the live broadcast interface of the live broadcast room.
[0030] In some embodiments, the multimedia resource is used to promote the target item;
[0031] The live broadcast room is the live broadcast room of the provider of the target item; or,
[0032] The live broadcast room is the live broadcast room of the promoter of the target item.
[0033] In some embodiments, the acquisition result of the virtual resource includes at least one of the resource amount of the virtual resource, the resource acquisition activity to which the virtual resource belongs, and the usage time of the virtual resource.
[0034] In some embodiments, the virtual resource includes at least one sub-virtual resource, and the resource amount includes at least one of a resource amount of each of the at least one sub-virtual resource and a total resource amount.
[0035] In some embodiments, the method further comprises:
[0036] In response to the resource prompt component satisfying the interactive condition, interactive prompt information is displayed on the play interface, where the interactive prompt information is used to prompt triggering an interactive element flying out of the virtual prop to obtain the virtual resource.
[0037] In some embodiments, the method further comprises:
[0038] In response to the twisting operation of the terminal, the acquisition result of the virtual resource is displayed.
[0039] In some embodiments, the method further comprises:
[0040] At least one of a virtual resource icon, a countdown time of the virtual item, and resource acquisition prompt information is displayed on the resource prompt component.
[0041] In some embodiments, the resource acquisition prompt information includes at least one of an activity theme of the resource acquisition activity to which the virtual resource belongs and a date type to which the current date belongs.
[0042] In some embodiments, the method further comprises:
[0043] Displaying at least one of the resource amount of the virtual resource corresponding to the interactive element, the resource information of the multimedia resource, and the resource information of the virtual resource on each interactive element flying out from the virtual prop;
[0044] The displaying the acquisition result of the virtual resource in response to the triggering operation of any interactive element includes:
[0045] In response to a triggering operation on any interactive element, the acquisition result of the virtual resource corresponding to the triggered interactive element is displayed.
[0046] According to another aspect of an embodiment of the present disclosure, a device for acquiring a virtual resource is provided, the device comprising:
[0047] A first display unit is configured to execute displaying a resource prompt component on a playback interface of a multimedia resource, wherein the resource prompt component is used to prompt acquisition of a virtual resource associated with the multimedia resource;
[0048] A second display unit is configured to display a virtual prop on the play interface in response to the resource prompt component satisfying an interactive condition, and display a plurality of interactive elements flying out of the virtual prop;
[0049] The third display unit is configured to display the acquisition result of the virtual resource in response to a triggering operation on any interactive element.
[0050] In some embodiments, the interaction condition includes at least one of the following:
[0051] The display duration of the resource prompt component reaches a first duration;
[0052] The resource prompt component is triggered;
[0053] The interactive component on the playback interface is triggered, and the interactive component is used to interact with the multimedia resource.
[0054] In some embodiments, the third display unit is configured to perform:
[0055] In response to a triggering operation on any interactive element, an interactive animation is displayed, wherein the virtual prop and the interactive element flying out of the virtual prop are enlarged;
[0056] In response to the display duration of the interactive animation reaching a second duration, the acquisition result of the virtual resource is displayed.
[0057] In some embodiments, the third display unit is configured to perform:
[0058] The interactive animation is displayed in a full-screen mode, and information other than the virtual prop and the interactive elements flying out from the virtual prop is not displayed in the full-screen mode.
[0059] In some embodiments, the virtual prop is a virtual tunnel, and the multiple interactive elements include elements of different shapes flying out of the virtual tunnel.
[0060] In some embodiments, the third display unit is further configured to perform:
[0061] In response to the display time of the virtual prop reaching a third time and the plurality of interactive elements not being triggered, displaying an acquisition interface for the virtual resource, wherein at least one virtual resource package is displayed on the acquisition interface;
[0062] In response to a triggering operation on any one of the at least one virtual resource package, the acquisition result of the virtual resource is displayed.
[0063] In some embodiments, the third display unit is configured to perform:
[0064] In response to a triggering operation on any interactive element, displaying a use interface of the virtual resource, and displaying the acquisition result of the virtual resource on the use interface; or,
[0065] In response to a triggering operation on any interactive element, the acquisition result of the virtual resource is displayed on the playback interface.
[0066] In some embodiments, the third display unit is further configured to perform at least one of the following:
[0067] In response to the display duration of the acquisition result reaching a fourth duration, displaying a usage interface of the virtual resource;
[0068] The playback interface displays a usage control of the virtual resource, and in response to a triggering operation on the usage control, the usage interface of the virtual resource is displayed.
[0069] In some embodiments, if the usage scope of the virtual resource is a target item, the usage interface is a detail interface of the target item; or,
[0070] If the usage scope of the virtual resource is any item in the live broadcast room, the usage interface is the live broadcast interface of the live broadcast room.
[0071] In some embodiments, the multimedia resource is used to promote the target item;
[0072] The live broadcast room is the live broadcast room of the provider of the target item; or,
[0073] The live broadcast room is the live broadcast room of the promoter of the target item.
[0074] In some embodiments, the acquisition result of the virtual resource includes at least one of the resource amount of the virtual resource, the resource acquisition activity to which the virtual resource belongs, and the usage time of the virtual resource.
[0075] In some embodiments, the virtual resource includes at least one sub-virtual resource, and the resource amount includes at least one of a resource amount of each of the at least one sub-virtual resource and a total resource amount.
[0076] In some embodiments, the second display unit is further configured to perform:
[0077] In response to the resource prompt component satisfying the interactive condition, interactive prompt information is displayed on the play interface, where the interactive prompt information is used to prompt triggering an interactive element flying out of the virtual prop to obtain the virtual resource.
[0078] In some embodiments, the third display unit is further configured to perform:
[0079] In response to the twisting operation of the terminal, the acquisition result of the virtual resource is displayed.
[0080] In some embodiments, the first display unit is further configured to:
[0081] At least one of a virtual resource icon, a countdown time of the virtual item, and resource acquisition prompt information is displayed on the resource prompt component.
[0082] In some embodiments, the resource acquisition prompt information includes at least one of an activity theme of the resource acquisition activity to which the virtual resource belongs and a date type to which the current date belongs.
[0083] In some embodiments, the second display unit is further configured to perform:
[0084] Displaying at least one of the resource amount of the virtual resource corresponding to the interactive element, the resource information of the multimedia resource, and the resource information of the virtual resource on each interactive element flying out from the virtual prop;
[0085] The third display unit is further configured to execute:
[0086] In response to a triggering operation on any interactive element, the acquisition result of the virtual resource corresponding to the triggered interactive element is displayed.
[0087] According to another aspect of an embodiment of the present disclosure, an electronic device is provided, the electronic device comprising:
[0088] processor;
[0089] a memory for storing instructions executable by the processor;
[0090] The processor is configured to execute the instructions to implement the above-mentioned method for acquiring virtual resources.
[0091] According to another aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the above-mentioned method for acquiring virtual resources.
[0092] According to another aspect of an embodiment of the present disclosure, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the method for acquiring virtual resources is implemented.
[0093] The disclosed embodiment provides a method for acquiring virtual resources, which displays a resource prompt component on the playback interface of multimedia resources. When the interactive conditions are met, virtual props and multiple interactive elements are displayed from the virtual props. These contents are displayed when the multimedia resources are played, which enriches the interface display form, improves the interface display effect, increases the fun of playing multimedia resources, and thus improves the user experience. Moreover, triggering any interactive element can also acquire virtual resources, which is obviously conducive to promoting user interaction and improving user participation.
[0094] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0095] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0096] Figure 1 It is a schematic diagram showing an implementation environment according to an exemplary embodiment.
[0097] Figure 2 The present invention is a flowchart of a method for acquiring virtual resources according to an exemplary embodiment.
[0098] Figure 3 The figure is a flow chart showing another method for acquiring virtual resources according to an exemplary embodiment.
[0099] Figure 4 It is a schematic diagram showing a playback interface displaying a resource prompt component according to an exemplary embodiment.
[0100] Figure 5 It is a schematic diagram of a playback interface according to an exemplary embodiment.
[0101] Figure 6 is a schematic diagram of another playback interface according to an exemplary embodiment.
[0102] Figure 7 It is a schematic diagram of an interactive animation according to an exemplary embodiment.
[0103] Figure 8 The diagram is a schematic diagram showing a result of obtaining a virtual resource according to an exemplary embodiment.
[0104] Fig. 9 It is a schematic diagram of a details interface according to an exemplary embodiment.
[0105] Fig.10 It is a schematic diagram showing an acquisition interface according to an exemplary embodiment.
[0106] Fig.11 The present invention is a block diagram of a device for acquiring virtual resources according to an exemplary embodiment.
[0107] Fig.12 It is a block diagram of a terminal according to an exemplary embodiment. DETAILED DESCRIPTION
[0108] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0109] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0110] It should be noted that the 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, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions. For example, the multimedia resources, virtual resources, etc. involved in this disclosure are all obtained with full authorization.
[0111] The method for acquiring virtual resources provided by the embodiments of the present disclosure can be executed by an electronic device, and the electronic device can be provided as at least one of a terminal and a server. Figure 1 This is a schematic diagram of an implementation environment provided by the embodiment of the present disclosure, see Figure 1 , the implementation environment includes: a terminal 101 and a server 102.
[0112] In an embodiment of the present disclosure, the terminal 101 is used to play multimedia resources such as videos and photo collections. In some embodiments, a target application is installed on the terminal 101, and the target application is used to play multimedia resources. The target application is, for example, a video application, an audio application, a social application, etc., which is not limited to this. For example, the target application takes the form of a web application, a microprogram, or a client, and the present disclosure is not limited to this. Among them, a microprogram refers to a program that relies on other applications to run, such as a small program. The server 102 is used to provide background services for the target application running on the terminal 101. For example, in response to the display operation of the multimedia resources, the terminal 101 obtains the corresponding multimedia resources from the server 102 for display. Of course, the server 102 can also include other functional servers to provide more comprehensive and diversified services.
[0113] In some embodiments, the terminal 101 displays a resource prompt component on the multimedia resource playback interface to prompt the user to obtain virtual resources related to the multimedia resources. In response to the resource prompt component satisfying the interactive condition, a virtual prop and multiple interactive elements flying out of the virtual prop are displayed, and the user triggers any interactive element to obtain the virtual resource, and the acquisition result of the virtual resource is displayed.
[0114] The terminal 101 may be at least one of a smart phone, a smart watch, a desktop computer, a laptop, a virtual reality terminal, an augmented reality terminal, a wireless terminal, and a laptop computer. The terminal 101 has a communication function and can access a wired network or a wireless network. The terminal 101 may generally refer to one of a plurality of terminals, and those skilled in the art may know that the number of the above terminals may be more or less. The server 102 may be an independent physical server, or a server cluster or a distributed file system composed of a plurality of physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. In some embodiments, the server 102 is directly or indirectly connected to the terminal 101 via a wired or wireless communication method, which is not limited in the embodiments of the present disclosure. Optionally, the number of the above servers 102 may be more or less, which is not limited in the embodiments of the present disclosure. Of course, the server 102 may also include other functional servers to provide more comprehensive and diversified services. Among them, the server 102 undertakes the main computing work, and the terminal 101 undertakes the secondary computing work; or, the server 102 undertakes the secondary computing work, and the terminal 101 undertakes the main computing work; or, the server 102 or the terminal 101 can each independently undertake the computing work, which is not limited in the embodiments of the present disclosure.
[0115] Figure 2 is a flowchart of a method for acquiring virtual resources according to an exemplary embodiment. Figure 2 As shown, the method is executed by a terminal, and the method includes the following steps.
[0116] In step S201, the terminal displays a resource prompt component on the playback interface of the multimedia resource, where the resource prompt component is used to prompt the acquisition of a virtual resource associated with the multimedia resource.
[0117] In the disclosed embodiment, a target application is running on the terminal, and the target application provides a display function of multimedia resources. The multimedia resources may be videos, pictures, picture collections, etc. The multimedia resources are used to introduce goods or services, that is, to promote goods or services.
[0118] In the embodiments of the present disclosure, virtual resources are used to exchange certain items or services, such as virtual resources can be virtual resource coupons for exchange, etc. The association of virtual resources with multimedia resources means that the use scope of virtual resources is items, services, etc. associated with multimedia resources. If multimedia resources are used to promote a certain item, virtual resources can be used to exchange the item.
[0119] Among them, the resource prompt component is an information component for transmitting information, which can be in the form of a control, a floating window, a widget, etc., which is not limited in this disclosure. The terminal can cover and display the resource prompt component on the multimedia resource, or display the multimedia resource and the resource prompt component in different areas of the playback interface respectively. The terminal can display the resource prompt component synchronously when displaying the multimedia resource, or display the resource prompt component when the display time of the multimedia resource reaches a preset time, which is not specifically limited here.
[0120] In some embodiments, the play interface also displays interactive components and text description information of the multimedia resource. The interactive components are used to like, forward, comment, collect, etc. the multimedia resource. The text description information is used to indicate the provider of the multimedia resource, the copy of the multimedia resource, etc. Further, the text description information is also used to indicate that the multimedia resource is a multimedia resource for promotion.
[0121] In step S202, in response to the resource prompt component satisfying the interactive condition, the terminal displays the virtual props on the play interface, and displays a plurality of interactive elements flying out of the virtual props.
[0122] In an embodiment of the present disclosure, the terminal cancels displaying multimedia resources while displaying virtual props and interactive elements; or, the terminal plays multimedia resources in a first area on the playback interface and displays virtual props and interactive elements in a second area on the playback interface; or, the terminal overlays and displays virtual props and interactive elements on the multimedia resources, such as displaying a mask on the playback interface and displaying virtual props and interactive elements on the mask.
[0123] In step S203, in response to a triggering operation on any interactive element, the terminal displays the acquisition result of the virtual resource.
[0124] In the embodiment of the present disclosure, the trigger operation may be a click operation, a long press operation, or a drag operation, etc.
[0125] In the disclosed embodiment, different interactive elements may correspond to the same virtual resource, that is, in response to a triggering operation on any interactive element, the same acquisition result is displayed. Alternatively, different interactive elements correspond to different virtual resources, that is, in response to a triggering operation on any interactive element, the terminal displays the acquisition result of the virtual resource corresponding to the triggered interactive element.
[0126] The disclosed embodiment provides a method for acquiring virtual resources, which displays a resource prompt component on the playback interface of multimedia resources. When the interactive conditions are met, virtual props and multiple interactive elements are displayed from the virtual props. These contents are displayed when the multimedia resources are played, which enriches the interface display form, improves the interface display effect, increases the fun of playing multimedia resources, and thus improves the user experience. Moreover, triggering any interactive element can also acquire virtual resources, which is obviously conducive to promoting user interaction and improving user participation.
[0127] Above Figure 2 The following is only the basic process of the present disclosure. The solution provided by the present disclosure is further described based on a specific implementation method. Figure 3 , Figure 3 The present invention is a flowchart of another method for acquiring virtual resources according to an exemplary embodiment. The method is executed by a terminal and includes the following steps.
[0128] In step S301, the terminal displays a resource prompt component on the playback interface of the multimedia resource, where the resource prompt component is used to prompt the acquisition of a virtual resource associated with the multimedia resource.
[0129] In some embodiments, the terminal displays at least one of a virtual resource icon, a countdown time of a virtual item, and resource acquisition prompt information on the resource prompt component.
[0130] Among them, the virtual resource icon is used to indicate the virtual resource, such as the virtual resource icon is the icon of the virtual resource package. Furthermore, the terminal also displays the dynamic effect of the virtual resource icon on the resource prompt component, such as displaying the virtual resource icon shaking on the resource prompt component, or displaying the virtual resource icon circling around the resource prompt component. The countdown time of the virtual prop is used to indicate the time from the current time to the time point of displaying the virtual prop.
[0131] In this embodiment, by displaying the virtual resource icon, countdown duration, and resource acquisition prompt information, the event of acquiring the virtual resource and its acquisition time are intuitively presented to the user, thereby increasing the transparency of the information and improving the display effect of the resource prompt component, attracting user attention, and promoting interaction.
[0132] Optionally, the resource acquisition prompt information includes at least one of the activity theme of the resource acquisition activity to which the virtual resource belongs and the date type to which the current date belongs. The date type also refers to a festival, such as the current date may belong to Festival A. Furthermore, the resource acquisition prompt information also includes at least one of the prompt information about the virtual props that will be displayed, the resource quantity of the virtual resource, and other information. In this implementation, by displaying these resource acquisition prompt information, the resource prompt component is combined with the current activity and date type, and combined with the characteristics of the festival, interesting, informative, and emotionally resonant content related to the festival is produced, which not only increases the transparency of the information, but also increases the fun of the interface display, renders the atmosphere of the activity and the festival, and improves the display effect of the resource prompt component, thereby improving the user experience.
[0133] For example, see Figure 4 , Figure 4 4 is a schematic diagram showing a playback interface with a resource prompt component according to an exemplary embodiment. The playback interface displays a resource prompt component 401, and the resource prompt component 401 displays a virtual resource icon 4011, a countdown duration 4012, and resource acquisition prompt information 4013.
[0134] In step S302, in response to the resource prompt component satisfying the interactive condition, the terminal displays the virtual props on the play interface, and displays a plurality of interactive elements flying out of the virtual props.
[0135] In the disclosed embodiment, the interactive condition includes at least one of the following: (1) the display duration of the resource prompt component reaches a first duration. The countdown duration of the virtual props is displayed on the resource prompt component, and the display duration of the resource prompt component reaches the first duration, that is, the countdown duration of the display has been completed. After the countdown ends, the terminal is triggered to display the virtual props. (2) The resource prompt component is triggered. (3) The interactive component on the playback interface is triggered, and the interactive component is used to interact with multimedia resources. There can be multiple interactive components, which are used to like, forward, comment, collect, etc. multimedia resources. In other embodiments, at least two of the above items are combined to trigger the terminal to display virtual props and interactive elements. For example, when the display duration of the resource prompt component reaches the first duration and is triggered, the terminal is triggered to display virtual props and interactive elements.
[0136] In the disclosed embodiment, after the resource prompt component is displayed for a certain period of time, the terminal is automatically triggered to display virtual props and interactive elements, so that a certain period of time is allocated to the display of multimedia resources, which improves the display effect of multimedia resources and is conducive to promoting users to interact based on multimedia resources. The user triggering the resource prompt component can also trigger the terminal to display virtual props and interactive elements, which improves the flexibility of interaction and the efficiency of human-computer interaction. Triggering the interactive component of multimedia resources to display virtual props and interactive elements, in this way, not only the multimedia resources are interacted with by triggering the interactive component, but also the display of virtual props and interactive elements is triggered, which improves the efficiency of human-computer interaction; and the user triggering the interactive component to interact with the multimedia resources indicates that the user is interested in the multimedia resources being played, and then the virtual props and interactive elements related to it are displayed, which improves the rationality and accuracy of the display timing of virtual props and interactive elements, and is conducive to promoting users to interact based on virtual props and interactive elements.
[0137] In some embodiments, the virtual prop is a virtual tunnel, and the multiple interactive elements include elements of different forms flying out of the virtual tunnel. Further, the virtual tunnel is a virtual space-time tunnel. The different forms refer to at least one of the shapes, colors, and sizes. For example, the multiple interactive elements include icons of multiple virtual resources.
[0138] Each interactive element flies out of the virtual tunnel, that is, the interactive element is displayed flying from far to near. When the interactive element is displayed flying out of the virtual tunnel, the interactive element is also displayed gradually getting bigger until it disappears. In this embodiment, multiple interactive elements of different forms are displayed flying out of the virtual tunnel, which improves the visual effect and increases the fun.
[0139] In other embodiments, the virtual props may also be virtual gift packages, and accordingly, the terminal displays multiple interactive elements flying out of the virtual gift packages. Alternatively, the virtual props may also be virtual houses, and accordingly, the terminal displays multiple interactive elements flying out of the virtual houses; further, multiple interactive elements may also be displayed flying out of the doors or windows of the virtual houses.
[0140] In other embodiments, the virtual props are information associated with the multimedia resource, for example, the virtual props are icons of products promoted by the multimedia resource or icons of target producers, etc. Further, the multiple interactive elements flying out of the virtual props are related to the multimedia resource. For example, if the multimedia resource is used to promote the products of the target producer, the multiple interactive elements may be icons of multiple products produced by the target producer.
[0141] In some embodiments, in response to the resource prompt component satisfying the interactive condition, the terminal displays interactive prompt information on the playback interface, and the interactive prompt information is used to prompt the interactive element that triggers the virtual prop to fly out to obtain the virtual resource. For example, the interactive prompt information is "click XX to obtain XX resource". In this embodiment, by displaying the interactive prompt information, the transparency of the information is improved, which is conducive to promoting the user to interact based on the interactive prompt information.
[0142] In some embodiments, the interactive element will fly out of the virtual props after being displayed in the virtual props for a certain period of time. For example, the interactive element will fly out of the virtual tunnel after flying in the virtual tunnel for a period of time. In this case, the terminal will display the interactive prompt information on the playback interface only after the interactive element flies out of the virtual props.
[0143] In some embodiments, a close control is also displayed on the playback interface, and the close control is used to cancel the display of virtual props and interactive elements after being triggered. After canceling the display of virtual props and interactive elements, the terminal can continue to play the multimedia resource, or directly jump to the virtual resource acquisition interface, or display the virtual resource acquisition result.
[0144] For example, see Figure 5 , Figure 5 5 is a schematic diagram of a playback interface according to an exemplary embodiment. The virtual prop is a virtual tunnel 501, and multiple interactive elements 502 of different forms fly out of the virtual tunnel. Figure 6 , Figure 6 is a schematic diagram of another playback interface according to an exemplary embodiment. Figure 5 , we can see that multiple interactive elements fly out of the virtual tunnel and gradually become larger.
[0145] In step S303, in response to a triggering operation on any interactive element, the terminal displays an interactive animation in which the virtual prop and the interactive element flying out of the virtual prop are enlarged.
[0146] In some embodiments, the above-mentioned display of the interactive animation includes the following implementation method: the terminal displays the interactive animation in a full-screen mode, and no information other than the virtual props and the interactive elements flying out of the virtual props is displayed in the full-screen mode.
[0147] The terminal displays the interactive animation in full screen mode, and can directly cancel the display of information other than virtual props and interactive elements on the playback interface, or display a mask on the playback interface and display the interactive animation on the mask. Figure 7 , Figure 7 It is a schematic diagram of an interactive animation according to an exemplary embodiment.
[0148] In the disclosed embodiment, the interactive animation is displayed in full-screen mode, which improves the visual impact when displaying the interactive animation, avoids interference from other information on the playback interface, improves the interface display effect, and gives users an immersive viewing experience, thereby improving the user experience.
[0149] In step S304, in response to the display duration of the interactive animation reaching a second duration, the terminal displays the acquisition result of the virtual resource.
[0150] The acquisition result of the virtual resource includes at least one of the resource quantity of the virtual resource, the resource acquisition activity to which the virtual resource belongs, and the usage time of the virtual resource. In this embodiment, the acquisition result includes information such as the resource quantity, resource acquisition activity, and usage time, which increases the amount of information transmission and is conducive to promoting user interaction.
[0151] Optionally, the virtual resource includes at least one sub-virtual resource, and the resource amount includes at least one of the resource amount of each of the at least one sub-virtual resource and the total resource amount. For example, the virtual resource includes multiple virtual resource coupons, and the multiple virtual resource coupons each have a certain resource amount, then the acquisition result displayed by the terminal includes at least one of the resource amount of each of the multiple virtual resource coupons and the total resource amount. In this way, by displaying the resource amount of each sub-virtual resource, the detailed display of information is achieved, and the transparency of information is improved. Displaying the total resource amount realizes the aggregation of information and simplifies the interface display.
[0152] Resource acquisition activities are activities for issuing virtual resources. Displaying the resource acquisition activities to which virtual resources belong includes displaying the activity theme, activity time, etc. The use time of virtual resources includes at least one of the start time and the end time of use of virtual resources. Furthermore, the acquisition result may also include the use scope of virtual resources.
[0153] The terminal displaying the acquisition result of the virtual resource may be displaying the acquisition result of the virtual resource on the playback interface. For example, the terminal displays a pop-up window on the playback interface, and displays the acquisition result of the virtual resource on the pop-up window. Further, the terminal displays a mask pop-up window on the playback interface, and displays the acquisition result of the virtual resource on the mask pop-up window. For example, see Figure 8 , Figure 8 8 is a schematic diagram showing a result of obtaining a virtual resource according to an exemplary embodiment, wherein the obtaining result 801 is displayed on a mask pop-up window of the play interface.
[0154] In this embodiment, the acquisition result of the virtual resource is displayed in a pop-up window to inform the user that the virtual resource has been acquired, which is conducive to promoting user interaction.
[0155] In some embodiments, after the terminal displays the acquisition result on the playback interface, it can further display the virtual resource usage interface. Accordingly, it can also include at least one implementation method: in response to the display time of the acquisition result reaching the fourth time, the terminal displays the virtual resource usage interface; the playback interface displays the virtual resource usage control, and in response to the triggering operation of the usage control, the terminal displays the virtual resource usage interface. In this embodiment, after the acquisition result is displayed, it can jump directly to the virtual resource usage interface, shortening the interaction link, improving the efficiency of human-computer interaction, and facilitating the user to use the virtual resource on the virtual resource usage interface, that is, facilitating interaction.
[0156] In some embodiments, the playback interface also displays a prompt message of the fourth duration, that is, the user interface is jumped to after the prompt of the fourth duration. Optionally, the prompt message is displayed on the user control of the virtual resource. For example, continue to refer to Figure 8 The mask pop-up window also displays a usage control 802 and a prompt message 803 for the fourth duration.
[0157] Optionally, a first closing control is also displayed on the mask pop-up window displaying the acquisition result. In response to the triggering operation of the first closing control, the terminal cancels the display of the mask pop-up window and continues to play the multimedia resource on the playback interface. Figure 8 , a first close control 804 is also displayed in the upper left corner of the mask pop-up window.
[0158] In the disclosed embodiment, for different usage scopes of virtual resources, the usage interface of the virtual resources is also different. Optionally, if the usage scope of the virtual resources is a target item, the usage interface is the details interface of the target item; or, if the usage scope of the virtual resources is any item in the live broadcast room, the usage interface is the live broadcast interface of the live broadcast room.
[0159] The virtual resource is dedicated to a target item, which can be an item in the live broadcast room or an item outside the live broadcast room. The use scope of the virtual resource is the target item, that is, the virtual resource can be used to exchange for the target item. The details interface of the target item is used to introduce the target item, and further, the details interface is used to exchange the target item. For example, see Fig. 9 , Fig. 9 It is a schematic diagram of a details interface according to an exemplary embodiment.
[0160] Optionally, a second close control is also displayed on the details interface. In response to a trigger operation on the second close control, the terminal returns to the play interface to continue playing the multimedia resource. Fig. 9 , a second close control 901 is displayed in the upper left corner of the details interface.
[0161] In this embodiment, the virtual resource is dedicated to this target item, and then directly jumps to the detail interface of the target item, which is convenient for using the virtual resource in the detail interface, shortening the interaction path and improving the interaction efficiency. The virtual resource can be used for any item in the live broadcast room, and then the live broadcast interface of the live broadcast room is displayed, which is convenient for using the virtual resource for any item in the live broadcast room, shortening the interaction path and improving the interaction efficiency.
[0162] Among them, the live broadcast room is associated with multimedia resources. Multimedia resources are used to promote the target item; the live broadcast room is the live broadcast room of the provider of the target item, and the provider provides the target item and other items, that is, the virtual resources are used for the items in the live broadcast room of the provider of the target item. In this way, on the basis of associating the virtual resources with the multimedia resources, the scope of use of the virtual resources is expanded, which is conducive to promoting users to exchange items based on virtual resources. Alternatively, the live broadcast room is the live broadcast room of the promoter of the target item, and the promoter promotes the target item and other items, that is, the virtual resources are used for the items in the live broadcast room of the promoter of the target item. In this way, on the basis of associating the virtual resources with the multimedia resources, the scope of use of the virtual resources is expanded, which is conducive to promoting users to exchange items based on virtual resources.
[0163] In other embodiments, multimedia resources are used to promote target items, and the use scope of virtual resources can also be any item provided by the provider of the target item, and the item is not limited to the items in the live broadcast room.
[0164] In the disclosed embodiment, the above steps S303-S304 introduce the process of displaying the acquisition results of virtual resources in response to the triggering operation of any interactive element. In this embodiment, after the interactive element is triggered, the interactive animation is displayed. Since the virtual props and interactive elements in the interactive animation are magnified and displayed, the display effect of the interface is additionally increased, which adds unexpected surprises to the user and helps to attract the user's attention. In addition, the sense of continuity between the interfaces is increased, so that the two originally independent events of the playback interface and the interactive animation have a certain connection, which improves the fun of the interface display and jump. Triggering any interactive element can obtain virtual resources, realize the lightweight, easy-to-use and instant feedback of the interaction, and then promote interaction.
[0165] In the above embodiments, the interactive animation is first displayed after the interactive element is triggered and then the acquisition result is displayed. In other embodiments, the acquisition result can be directly displayed after the interactive element is triggered. The process includes the following two implementation methods: in response to the triggering operation of any interactive element, the terminal displays the user interface of the virtual resource and displays the acquisition result of the virtual resource on the user interface; or, in response to the triggering operation of any interactive element, the terminal displays the acquisition result of the virtual resource on the playback interface. In this embodiment, after the interactive element is triggered, the acquisition result of the virtual resource is directly displayed on the user interface or playback interface of the virtual resource, which shortens the interactive link and improves the interactive efficiency.
[0166] In some embodiments, after the terminal directly displays the acquisition result of the virtual resource on the playback interface, it may subsequently display the usage interface of the virtual resource. Accordingly, in response to the triggering operation of any interactive element, after the terminal displays the acquisition result of the virtual resource on the playback interface, it also includes at least one of the following implementation methods: in response to the display time of the acquisition result reaching a fourth time length, the terminal displays the usage interface of the virtual resource; the playback interface displays the usage controls of the virtual resource, and in response to the triggering operation of the usage controls, the usage interface of the virtual resource is displayed.
[0167] The terminal may also display the acquisition result of the virtual resource on the user interface again while displaying the user interface. Fig. 9 The usage interface of the virtual resource is the detail interface of the target item, and the acquisition result 902 of the virtual resource is displayed on the detail interface.
[0168] In other embodiments, at least one of the resource quantity of the virtual resource, the resource information of the multimedia resource, and the resource information of the virtual resource corresponding to each interactive element flying out of the virtual prop is displayed on each interactive element flying out of the virtual prop; accordingly, in response to the triggering operation of any interactive element, the terminal displays the process of obtaining the virtual resource, including: in response to the triggering operation of any interactive element, the terminal displays the acquisition result of the virtual resource corresponding to the triggered interactive element.
[0169] The resource information of the multimedia resource indicates the content displayed by the multimedia resource, such as indicating the target item promoted by the multimedia resource. The resource information of the virtual resource indicates the type of the virtual resource.
[0170] In the disclosed embodiment, such information is displayed on the interactive element, which improves the transparency of the information. After any interactive element is triggered, the virtual resource corresponding to the interactive element is obtained, which increases the user's sense of participation, improves the flexibility and fun of the interaction, and can promote user interaction.
[0171] In other embodiments, displaying the acquisition result of the virtual resource also includes the following implementation: in response to the twisting operation of the terminal, the terminal displays the acquisition result of the virtual resource. The process of the terminal displaying the acquisition result of the virtual resource can be implemented by any of the above implementations, which will not be repeated here. Accordingly, the above interaction prompt information is also used to prompt the terminal to twist to obtain the virtual resource. In this embodiment, the interaction is realized by a simple twisting operation, which can improve the efficiency of human-computer interaction.
[0172] In the disclosed embodiment, the terminal can play specific sound effects when displaying virtual props and multiple interactive elements, and further, can play specific sound effects when jumping to any interface. In addition, the terminal can vibrate to prompt the user when jumping to any interface or generating any interaction.
[0173] In some embodiments, the user does not trigger the interactive element. In order to improve the user experience and promote interaction, the disclosed embodiment further includes the following steps S305-S306. It should be noted that steps S303-S304 and steps S305-S306 are optional implementation steps. The serial numbers of the two are only for the convenience of description and are not used to limit the execution order of the two.
[0174] In step S305, in response to the display time of the virtual props reaching a third time and the plurality of interactive elements are not triggered, the terminal displays a virtual resource acquisition interface, where at least one virtual resource package is displayed.
[0175] Optionally, the terminal displays a dynamic effect of the virtual resource package on the acquisition interface, such as displaying the virtual resource package shaking.
[0176] In some embodiments, the terminal displays prompt information on the acquisition interface, and the prompt information is used to prompt the triggering of the virtual resource package. Optionally, the interactive prompt information includes at least one of text and an icon, the text is used to prompt the triggering of the virtual resource package, such as the text "click XX package to obtain XX resources"; the icon is a virtual gesture for triggering the virtual resource package.
[0177] For example, see Fig.10 , Fig.10 is a schematic diagram of an acquisition interface according to an exemplary embodiment. Fig.10 (a) in the figure shows an interface for obtaining a virtual resource package 1001. Fig.10 (b) is an acquisition interface showing multiple virtual resource packages 1001 .
[0178] In step S306, in response to a triggering operation on any virtual resource package in the at least one virtual resource package, the terminal displays a result of obtaining the virtual resource.
[0179] In the embodiment of the present disclosure, the terminal may display the acquisition result of the virtual resource on the playback interface or the usage interface. This process may be implemented by any implementation method of displaying the acquisition result of the virtual resource in the above step S304, which will not be repeated here.
[0180] In the embodiment of the present disclosure, when the user does not trigger any interactive element and does not obtain virtual resources, an acquisition interface is also displayed to provide the user with a virtual resource package to facilitate the user to obtain virtual resources, improve user experience, and facilitate user interaction.
[0181] In the disclosed embodiment, during the playback of multimedia resources, by displaying a resource prompt component, the user is prompted to obtain virtual resources associated with the multimedia resources. Then, when the resource prompt component meets the interactive conditions, virtual props are displayed and multiple interactive elements fly out of the virtual props, which improves the interface display effect and increases the fun. In response to the triggering operation of any interactive element, the virtual resource can be obtained, which is conducive to promoting user interaction. If the user does not trigger the interactive element, the virtual resource acquisition interface can also be displayed, which is convenient for the user to obtain the virtual resource, improve the user experience, and facilitate user interaction.
[0182] The disclosed embodiment provides a method for acquiring virtual resources, which displays a resource prompt component on the playback interface of multimedia resources. When the interactive conditions are met, virtual props and multiple interactive elements are displayed from the virtual props. These contents are displayed when the multimedia resources are played, which enriches the interface display form, improves the interface display effect, increases the fun of playing multimedia resources, and thus improves the user experience. Moreover, triggering any interactive element can also acquire virtual resources, which is obviously conducive to promoting user interaction and improving user participation.
[0183] Fig.11 is a block diagram of a device for acquiring virtual resources according to an exemplary embodiment. Fig.11 , the device comprises:
[0184] The first display unit 1101 is configured to execute displaying a resource prompt component on the playback interface of the multimedia resource, where the resource prompt component is used to prompt acquisition of a virtual resource associated with the multimedia resource;
[0185] The second display unit 1102 is configured to display the virtual props on the play interface in response to the resource prompt component satisfying the interactive condition, and display multiple interactive elements flying out of the virtual props;
[0186] The third display unit 1103 is configured to display the acquisition result of the virtual resource in response to a triggering operation on any interactive element.
[0187] In some embodiments, the interaction condition includes at least one of the following:
[0188] The display duration of the resource prompt component reaches the first duration;
[0189] The resource hint component is triggered;
[0190] The interactive component on the playback interface is triggered, and the interactive component is used to interact with multimedia resources.
[0191] In some embodiments, the third display unit 1103 is configured to perform:
[0192] In response to a triggering operation on any interactive element, an interactive animation is displayed, in which a virtual prop and an interactive element flying out of the virtual prop are enlarged;
[0193] In response to the display duration of the interactive animation reaching a second duration, the acquisition result of the virtual resource is displayed.
[0194] In some embodiments, the third display unit 1103 is configured to perform:
[0195] The interactive animation is displayed in full screen mode, and no information other than the virtual props and the interactive elements flying out from the virtual props is displayed in full screen mode.
[0196] In some embodiments, the virtual prop is a virtual tunnel, and the multiple interactive elements include elements of different shapes flying out of the virtual tunnel.
[0197] In some embodiments, the third display unit 1103 is further configured to perform:
[0198] In response to the display time of the virtual props reaching a third time and the plurality of interactive elements not being triggered, displaying a virtual resource acquisition interface, wherein at least one virtual resource package is displayed on the acquisition interface;
[0199] In response to a triggering operation on any one of the at least one virtual resource packages, the acquisition result of the virtual resource is displayed.
[0200] In some embodiments, the third display unit 1103 is configured to perform:
[0201] In response to a triggering operation on any interactive element, a use interface of the virtual resource is displayed, and a result of obtaining the virtual resource is displayed on the use interface; or,
[0202] In response to a triggering operation on any interactive element, the acquisition result of the virtual resource is displayed on the playback interface.
[0203] In some embodiments, the third display unit 1103 is further configured to perform at least one of the following:
[0204] In response to the display duration of the acquired result reaching a fourth duration, displaying a usage interface of the virtual resource;
[0205] A use control of the virtual resource is displayed on the playback interface, and in response to a triggering operation on the use control, a use interface of the virtual resource is displayed.
[0206] In some embodiments, if the usage scope of the virtual resource is a target item, the usage interface is a detail interface of the target item; or,
[0207] If the usage scope of the virtual resources is any item in the live broadcast room, the usage interface is the live broadcast interface of the live broadcast room.
[0208] In some embodiments, multimedia resources are used to promote target items;
[0209] The live broadcast room is the live broadcast room of the provider of the target item; or,
[0210] The live broadcast room is the live broadcast room of the promoter of the target item.
[0211] In some embodiments, the acquisition result of the virtual resource includes at least one of the resource amount of the virtual resource, the resource acquisition activity to which the virtual resource belongs, and the usage time of the virtual resource.
[0212] In some embodiments, the virtual resource includes at least one sub-virtual resource, and the resource amount includes at least one of a resource amount of each of the at least one sub-virtual resource and a total resource amount.
[0213] In some embodiments, the second display unit 1102 is further configured to perform:
[0214] In response to the resource prompt component satisfying the interactive condition, interactive prompt information is displayed on the play interface, and the interactive prompt information is used to prompt the interactive element that triggers to fly out from the virtual prop to obtain the virtual resource.
[0215] In some embodiments, the third display unit 1103 is further configured to perform:
[0216] In response to the twisting operation of the terminal, the acquisition result of the virtual resource is displayed.
[0217] In some embodiments, the first display unit 1101 is further configured to:
[0218] At least one of a virtual resource icon, a countdown time of a virtual item, and resource acquisition prompt information is displayed on the resource prompt component.
[0219] In some embodiments, the resource acquisition prompt information includes at least one of an activity theme of the resource acquisition activity to which the virtual resource belongs and a date type to which the current date belongs.
[0220] In some embodiments, the second display unit 1102 is further configured to perform:
[0221] Displaying at least one of the resource quantity of the virtual resource, the resource information of the multimedia resource, and the resource information of the virtual resource corresponding to each interactive element flying out of the virtual prop;
[0222] The third display unit 1103 is further configured to execute:
[0223] In response to a triggering operation on any interactive element, the acquisition result of the virtual resource corresponding to the triggered interactive element is displayed.
[0224] The disclosed embodiment provides a device for acquiring virtual resources, which displays a resource prompt component on the playback interface of multimedia resources. When the interactive conditions are met, virtual props and multiple interactive elements fly out of the virtual props. In this way, these contents are displayed when the multimedia resources are played, which enriches the interface display form, improves the interface display effect, increases the fun of playing multimedia resources, and thus improves the user experience. Moreover, triggering any interactive element can also acquire virtual resources, which is obviously conducive to promoting user interaction and improving user participation.
[0225] Regarding the device in the above embodiment, the specific manner in which each unit performs the operation has been described in detail in the embodiment of the method, and will not be elaborated here.
[0226] In some embodiments, the electronic device is provided as a terminal. Fig.12 The structure block diagram of a terminal 1200 provided by an exemplary embodiment of the present disclosure is shown. The terminal 1200 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV), a laptop computer or a desktop computer. The terminal 1200 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.
[0227] Typically, the terminal 1200 includes: a processor 1201 and a memory 1202 .
[0228] The processor 1201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1201 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1201 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1201 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1201 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0229] The memory 1202 may include one or more computer-readable storage media, which may be non-transitory. The memory 1202 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1202 is used to store at least one program code, which is used to be executed by the processor 1201 to implement the method for obtaining virtual resources provided in the method embodiment of the present disclosure.
[0230] In some embodiments, the terminal 1200 may further optionally include: a peripheral device interface 1203 and at least one peripheral device. The processor 1201, the memory 1202 and the peripheral device interface 1203 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1203 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1204, a display screen 1205, a camera assembly 1206, an audio circuit 1207 and a power supply 1208.
[0231] The peripheral device interface 1203 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1201 and the memory 1202. In some embodiments, the processor 1201, the memory 1202, and the peripheral device interface 1203 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1201, the memory 1202, and the peripheral device interface 1203 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0232] The radio frequency circuit 1204 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1204 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1204 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency 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, and the like. The radio frequency circuit 1204 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: a metropolitan area network, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1204 may also include circuits related to NFC (Near Field Communication), which is not limited in the present disclosure.
[0233] The display screen 1205 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1205 is a touch display screen, the display screen 1205 also has the ability to collect touch signals on the surface or above the surface of the display screen 1205. The touch signal can be input to the processor 1201 as a control signal for processing. At this time, the display screen 1205 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1205 can be one, and the front panel of the terminal 1200 is set; in other embodiments, the display screen 1205 can be at least two, which are respectively set on different surfaces of the terminal 1200 or are folded; in some other embodiments, the display screen 1205 can be a flexible display screen, which is set on the curved surface or folded surface of the terminal 1200. Even, the display screen 1205 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 1205 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0234] The camera assembly 1206 is used to capture images or videos. Optionally, the camera assembly 1206 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1206 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.
[0235] 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, and convert the sound waves into electrical signals and input them into the processor 1201 for processing, or input them into the radio frequency circuit 1204 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 1200. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1201 or the radio frequency circuit 1204 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1207 may also include a headphone jack.
[0236] The power supply 1208 is used to power various components in the terminal 1200. The power supply 1208 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the 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.
[0237] Those skilled in the art will understand that Fig.12 The structure shown in the figure does not constitute a limitation on the terminal 1200, and the terminal 1200 may include more or fewer components than those shown in the figure, or combine certain components, or adopt a different component arrangement.
[0238] In an exemplary embodiment, a computer-readable storage medium is also provided, and when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the above-mentioned method for acquiring virtual resources. Optionally, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0239] In an exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program. When the computer program is executed by a processor, the method for acquiring virtual resources is implemented.
[0240] In some embodiments, the computer program product involved in the embodiments of the present disclosure may be deployed and executed on one electronic device, or on multiple electronic devices located at one location, or on multiple electronic devices distributed at multiple locations and interconnected by a communication network. Multiple electronic devices distributed at multiple locations and interconnected by a communication network may constitute a blockchain system.
[0241] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and embodiments are to be regarded as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims. All of the above optional technical solutions can be combined in any way to form optional embodiments of the present application, which will not be described one by one here.
[0242] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A method for acquiring virtual resources, characterized in that: The method comprises: Displaying a resource prompt component on a playback interface of a multimedia resource, wherein the resource prompt component is used to prompt acquisition of a virtual resource associated with the multimedia resource; In response to the resource prompt component satisfying the interactive condition, displaying a virtual prop on the play interface, and displaying a plurality of interactive elements flying out of the virtual prop; In response to a triggering operation on any interactive element, the acquisition result of the virtual resource is displayed.
2. The method for acquiring virtual resources according to claim 1, characterized in that: The interaction condition includes at least one of the following: The display duration of the resource prompt component reaches a first duration; The resource prompt component is triggered; The interactive component on the playback interface is triggered, and the interactive component is used to interact with the multimedia resource.
3. The method for acquiring virtual resources according to claim 1, characterized in that: The displaying the acquisition result of the virtual resource in response to the triggering operation of any interactive element includes: In response to a triggering operation on any interactive element, an interactive animation is displayed, wherein the virtual prop and the interactive element flying out of the virtual prop are enlarged; In response to the display duration of the interactive animation reaching a second duration, the acquisition result of the virtual resource is displayed.
4. The method for acquiring virtual resources according to claim 3, characterized in that: The display interactive animation comprises: The interactive animation is displayed in a full-screen mode, and no information other than the virtual prop and the interactive elements flying out from the virtual prop is displayed in the full-screen mode.
5. The method for acquiring virtual resources according to claim 1, characterized in that: The method further comprises: In response to the display time of the virtual prop reaching a third time and the plurality of interactive elements are not triggered, displaying an acquisition interface for the virtual resource, wherein at least one virtual resource package is displayed on the acquisition interface; In response to a triggering operation on any one of the at least one virtual resource package, the acquisition result of the virtual resource is displayed.
6. The method for acquiring virtual resources according to claim 1, characterized in that: The displaying the acquisition result of the virtual resource in response to the triggering operation of any interactive element includes: In response to a triggering operation on any interactive element, a use interface of the virtual resource is displayed, and a result of obtaining the virtual resource is displayed on the use interface; or, In response to a triggering operation on any interactive element, the acquisition result of the virtual resource is displayed on the playback interface.
7. The method for acquiring virtual resources according to claim 6, characterized in that: After displaying the acquisition result of the virtual resource on the playback interface, the method further includes at least one of the following: In response to the display duration of the acquisition result reaching a fourth duration, displaying a usage interface of the virtual resource; The playback interface displays a usage control of the virtual resource, and in response to a triggering operation on the usage control, the usage interface of the virtual resource is displayed.
8. The method for acquiring virtual resources according to claim 1, characterized in that: The acquisition result of the virtual resource includes at least one of the resource amount of the virtual resource, the resource acquisition activity to which the virtual resource belongs, and the usage time of the virtual resource.
9. The method for acquiring virtual resources according to claim 8, characterized in that: The virtual resource includes at least one sub-virtual resource, and the resource amount includes at least one of a resource amount of each of the at least one sub-virtual resource and a total resource amount.
10. The method for acquiring virtual resources according to claim 1, characterized in that: The method further comprises: In response to the resource prompt component satisfying the interactive condition, interactive prompt information is displayed on the play interface, where the interactive prompt information is used to prompt triggering an interactive element flying out of the virtual prop to obtain the virtual resource.
11. The method for acquiring virtual resources according to claim 1, characterized in that: The method further comprises: Displaying at least one of the resource amount of the virtual resource corresponding to the interactive element, the resource information of the multimedia resource, and the resource information of the virtual resource on each interactive element flying out from the virtual prop; The displaying the acquisition result of the virtual resource in response to the triggering operation of any interactive element includes: In response to a triggering operation on any interactive element, the acquisition result of the virtual resource corresponding to the triggered interactive element is displayed.
12. A device for acquiring virtual resources, characterized in that: The device comprises: A first display unit is configured to execute displaying a resource prompt component on a playback interface of a multimedia resource, wherein the resource prompt component is used to prompt acquisition of a virtual resource associated with the multimedia resource; A second display unit is configured to display a virtual prop on the play interface in response to the resource prompt component satisfying an interactive condition, and display a plurality of interactive elements flying out of the virtual prop; The third display unit is configured to display the acquisition result of the virtual resource in response to a triggering operation on any interactive element.
13. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; 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 11.
14. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method for acquiring virtual resources as described in any one of claims 1 to 11.
15. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method for acquiring virtual resources according to any one of claims 1 to 11 is implemented.
Citation Information
Cited By
Interaction method and device in virtual space, electronic equipment and storage medium
CN120378680A
Page interaction method and device, electronic equipment and storage medium
CN120447810A