Virtual gift-based interaction method and related equipment
The method and device enable real-time customization of virtual gifts by combining user-selected images and attributes, addressing the lack of personalization in current virtual gift systems and improving user experience.
Patent Information
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- BEIJING ZITIAO NETWORK TECH CO LTD
- Filing Date
- 2023-06-19
- Publication Date
- 2026-06-22
AI Technical Summary
Current virtual gift interaction methods in online scenarios lack user customization options, limiting personalized expression and enhancing user experience.
A method and device that allow users to customize virtual gifts in real-time by combining their chosen images and attributes, enabling multi-dimensional customization of virtual gifts.
Enriches the interaction process and enhances user engagement by allowing users to create personalized virtual gifts that reflect their unique needs and preferences.
Smart Images

Figure 0007877505000001 
Figure 0007877505000002 
Figure 0007877505000003
Abstract
Description
Technical Field
[0001] [Cross - reference to Related Applications] This disclosure claims priority to a Chinese patent application filed on June 17, 2022, with application number 202210694194.4 and application title "Interaction Method and Related Equipment Based on Virtual Gifts", the entire content of which is incorporated herein by reference.
[0002] [Technical Field] This disclosure relates to the field of computer technology, and particularly to an interaction method and related equipment based on virtual gifts.
Background Art
[0003] In the current online interaction scenario, a user selects a favorite virtual gift from the virtual gifts provided by a related application program and gives it to an online interaction target, thereby achieving the purpose of giving a gift online.
Summary of the Invention
[0004] According to a first aspect of this disclosure, an interaction method based on virtual gifts is provided. This method includes: Receiving a first image determined in a custom interface of virtual gifts in a target live - streaming room by a user; In response to detecting the virtual gift sending instruction of the user, obtaining a second image corresponding to the target live - streaming room; Generating a target virtual gift based on the first image and the second image; And sending the target virtual gift to a live - streaming room account related to the target live - streaming room.
[0005] According to a second aspect of this disclosure, an interaction device based on virtual gifts is provided. This device includes: A receiving module for receiving a first image determined by the user in a custom interface for virtual gifts in a target live streaming room, In response to detecting the user's virtual gift sending command, an acquisition module for acquiring a second image corresponding to the target live streaming room, A custom module for generating a target virtual gift based on the first image and the second image, The system includes a sending module for sending the target virtual gift to the live streaming room account associated with the target live streaming room.
[0006] A third aspect of the present disclosure provides an electronic device comprising one or more processors, memory, and one or more programs, wherein the one or more programs are stored in the memory and executed by the one or more processors, and the programs are used to execute instructions of the method described in the first aspect.
[0007] A fourth aspect of the present disclosure provides a non-volatile computer-readable storage medium containing a computer program, which, when the computer program is executed by one or more processors, causes the processors to execute the method described in the first aspect.
[0008] According to a fifth aspect of the present disclosure, a computer program product is provided, which includes computer program instructions, and when the computer program instructions are executed on a computer, the computer causes the computer to perform the method described in the first aspect.
[0009] As can be seen from the above, the virtual gift-based interaction method and related equipment disclosed herein acquires the live streaming screen of the target live streaming room in real time, combines it with a first image determined by the user to make custom settings for the virtual gift, and satisfies the user's unique needs and enhances the user experience. [Brief explanation of the drawing]
[0010] To more clearly illustrate the technical concepts in this disclosure or related technologies, the following briefly introduces the drawings that may be used in the examples or related technical descriptions. Obviously, the drawings in the following descriptions are merely examples of the disclosure, and a person skilled in the art could obtain other drawings based on these without any creative effort. [Figure 1] This is a schematic diagram of the virtual gift-based interaction architecture of the embodiment of the present disclosure. [Figure 2] This is a schematic diagram of the hardware structure of an exemplary terminal according to the embodiments of this disclosure. [Figure 3] This is a flowchart of the virtual gift-based interaction method in the embodiments of this disclosure. [Figure 4] This is a schematic diagram of the live streaming interface of an embodiment of the present disclosure. [Figure 5] This is a schematic diagram of a custom control interface in an embodiment of the present disclosure. [Figure 6] This is a schematic diagram of a custom interface in an embodiment of the present disclosure. [Figure 7] This is a schematic diagram of the custom interface for the virtual letter gift in the embodiments of this disclosure. [Figure 8] This is a schematic diagram of a custom interface for a virtual photo gift in an embodiment of the present disclosure. [Figure 9] This is a schematic diagram of the live streaming interface of an embodiment of the present disclosure. [Figure 10] This is a schematic diagram of a virtual gift-based interaction device according to an embodiment of the present disclosure. [Modes for carrying out the invention]
[0011] To further clarify the purpose, technical proposal, and advantages of this disclosure, specific examples are described below with reference to the drawings.
[0012] It should be noted that, unless otherwise defined, technical or scientific terms used in the embodiments of this disclosure should have the ordinary meaning understood by those skilled in the art of the field to which this disclosure belongs. The terms “first,” “second,” and similar terms used in the embodiments of this disclosure do not indicate any order, number, or importance, but are used to distinguish different components. Similar terms such as “includes” or “contains” mean that the element or thing that appears before the term covers the elements or things and their equivalents listed after the term without excluding other elements or things. Similar terms such as “connected” or “linked” are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. “Up,” “down,” “left,” “right,” etc., are used only to describe relative positional relationships, and if the absolute position of the described object changes, its relative positional relationship changes accordingly.
[0013] Currently, there is a growing trend of sending virtual gifts to interaction targets in online interaction scenarios. However, in the current virtual gift interaction process, users can only select from virtual gifts provided by the interaction application program, and these selectable virtual gifts are already created and cannot be edited by the user. One interaction method improves this by allowing users to edit the colors of existing virtual gifts, mitigating to some extent the problem of virtual gifts not being editable by the user. However, editing only one dimension does not satisfy the user's need for personalized customization of virtual gifts, and the interaction method is monolithic. Therefore, how to enrich virtual gift interaction and improve the user experience is a technical challenge that must be addressed urgently.
[0014] Therefore, embodiments of the present disclosure provide an interaction method and related devices based on virtual gifts, which can obtain the live broadcast screen of the target live broadcast room in real time, customize virtual gifts together with the first image determined by the user, meet the personalized needs of the user, and improve the interaction experience of virtual gifts.
[0015] FIG. 1 shows a schematic diagram of an interaction architecture based on virtual gifts according to an embodiment of the present disclosure. Referring to FIG. 1, this interaction architecture 100 based on virtual gifts may include a server 110, a terminal 120, and a network 130 that provides a communication link. The server 110 and the terminal 120 can be connected via a wired or wireless network 130. Here, the server 110 may be an independent physical server, or may be a server cluster or a distributed system composed of multiple physical servers, or may be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, and CDN.
[0016] The terminal 120 may be implemented by hardware or software. For example, when the terminal 120 is implemented by hardware, it may be various electronic devices having a display and supporting page display, including but not limited to smartphones, tablet computers, e-book readers, laptop computers, and desktop computers. When the terminal 120 is implemented by software, it can be installed on the above-listed electronic devices and may be implemented as multiple software or software modules (for example, software or software modules used to provide distributed services), or may be implemented as a single software or software module, and is not specifically limited thereto.
[0017] It should be noted that the virtual gift-based interaction method provided by the embodiments of the present application may be executed by the terminal 120 or by the server 110. It should be understood that the numbers of terminals, networks, and servers in FIG. 1 are schematic and are not intended to be limiting. According to the needs of implementation, any number of terminals, networks, and servers may be provided.
[0018] FIG. 2 shows a schematic hardware structure diagram of an exemplary electronic device provided by an embodiment of the present disclosure. As shown in FIG. 2, the electronic device 200 may include a processor 202, a memory 204, a network module 206, a peripheral interface 208, and a bus 210. Here, the processor 202, the memory 204, the network module 206, and the peripheral interface 208 realize internal communication connections between each other within the electronic device 200 via the bus 210.
[0019] The processor 202 may be a central processing unit (CPU), an image processor, a neural network processor (NPU), a microcontroller (MCU), a programmable logic device, a digital signal processor (DSP), an application specific integrated circuit (ASIC), or one or more integrated circuits. The processor 202 may be used to execute functions related to the technologies described in the present disclosure. In some embodiments, the processor 202 may further include a plurality of processors integrated into a single logical assembly. For example, as shown in FIG. 2, the processor 202 may include a plurality of processors 202a, 202b, and 202c.
[0020] Memory 204 can be configured to store data (e.g., instructions, computer code, etc.). As shown in Figure 2, the data stored in memory 204 may include program instructions (e.g., program instructions for implementing the predictive reliability evaluation method of the model in the embodiment of this disclosure) and data to be processed (e.g., the memory may store configuration files for other modules, etc.). The processor 202 can access the program instructions and data stored in access memory 204 and execute the program instructions to manipulate the data to be processed. Memory 204 may include volatile or non-volatile storage devices. In some embodiments, memory 204 may include random access memory (RAM), read-only memory (ROM), optical disks, magnetic disks, hard disks, solid-state drives (SSDs), flash memory, memory sticks, etc.
[0021] The network module 206 can be configured to provide the electronic device 200 with communication with other external devices via a network. This network may be any wired or wireless network capable of transmitting and receiving data. For example, this network may be a wired network, a local wireless network (e.g., Bluetooth®, WiFi, Near Field Communication (NFC), etc.), a cellular network, the Internet, or a combination of the above. To make it clear, the type of network is not limited to the above examples. In some embodiments, the network module 106 may include any combination of any number of network interface controllers (NICs), radio frequency modules, transceivers, modems, routers, gateways, adapters, cellular network chips, etc.
[0022] The peripheral interface 208 can be configured to connect the electronic device 200 to one or more peripheral devices to enable information input and output. For example, the peripheral devices may include input devices such as keyboards, mice, touchpads, touchscreens, microphones, and various sensors, and output devices such as displays, speakers, vibrators, and indicator lights.
[0023] Bus 210 can be configured to transmit information between each assembly of the electronic device 200 (e.g., processor 202, memory 204, network module 206, and peripheral interface 208), for example, via an internal bus (e.g., processor-memory bus), an external bus (USB port, PCI-E bus), etc.
[0024] It should be noted that the architecture of the electronic device 200 described above shows only the processor 202, memory 204, network module 206, peripheral interface 208 and bus 210, but in a specific implementation, the architecture of this electronic device 200 may further include other assemblies necessary to achieve normal operation. As those skilled in the art will understand, the architecture of the electronic device 200 may include only the assemblies necessary to implement the embodiment of this disclosure, and does not necessarily have to include all the assemblies shown in the figures.
[0025] Figure 3 shows a flowchart of a virtual gift-based interaction method provided by an embodiment of the present disclosure. This method 300 may be used to implement a virtual gift-based interaction, and may be implemented by the server 110 or terminal 120 in Figure 1, or by both the server 110 and terminal 120. As shown in Figure 3, the virtual gift-based interaction method 300 may further include the following steps.
[0026] The user enters an interaction scenario (e.g., a target live streaming room) through an interaction application program to interact with a target in real time, and can interact with the target (e.g., a caster) in the live streaming interface within this interaction scenario. Referring to Figure 4, Figure 4 shows a schematic diagram of a live streaming interface according to an embodiment of the present disclosure. In Figure 4, the target 410 is live streaming in the live streaming interface. The interaction application program can provide the user with a gift interface 430 which includes a virtual gift list 420, and this gift interface 430 can be hidden and displayed when a corresponding pre-configured gift control is triggered. Here, the virtual gift list 420 includes several virtual gift labels (e.g., gifts 401-408), each virtual gift label indicating the type of corresponding virtual gift.
[0027] The user can choose from multiple virtual gift labels, and if the virtual gift label displayed in the current virtual gift list 420 does not contain one that the user wants to select, the user can change the virtual gift label in the virtual gift list 420 using the control 440 (e.g., page up or page down).
[0028] After the user selects (e.g., clicks) a target virtual gift label, such as "Gift 406", a custom control for the virtual gift can be displayed on the gift interface 430, as shown in Figure 5. Figure 5 shows a schematic diagram of a custom control interface according to an embodiment of the present disclosure. In Figure 5, the custom control 510 may be used to custom-draw a virtual gift corresponding to the virtual gift label (e.g., "Gift 406") selected by the user in the virtual gift list 420. At this time, the gift interface 430 may also display recommended virtual gifts (e.g., Recommendation 1-3) for the virtual gift label selected by the user, and these recommended virtual gifts may be those already created by the interaction application program, i.e., sent historical target virtual gifts. The user can select a target virtual gift from the recommended virtual gifts and send it directly to the target object (e.g., Target Object 410), making the interaction easy and quick.
[0029] According to embodiments of this disclosure, a user can custom generate a targeted virtual gift based on their needs and send it to a target recipient. The user can trigger a custom control 510 of a virtual gift label (e.g., "Gift 407" in Figure 4) to enter a custom interface for the corresponding virtual gift.
[0030] In some embodiments, Method 300 may also include displaying a custom interface corresponding to a virtual gift label in response to detecting a first operation of a custom control on a virtual gift label by a user, wherein the virtual gift label is used to indicate the type of virtual gift.
[0031] Here, virtual gifts may contain different element objects, and the type of virtual gift may be determined based on the element objects in the virtual gift. For example, virtual gifts having the same element object may be of the same type. Specifically, the types of virtual gifts include, but are not limited to, letter virtual gifts, photographic virtual gifts, or item virtual gifts. Letter virtual gifts may all contain the same element object, an envelope image; photographic virtual gifts may all contain the same element object, a photo frame image; and item virtual gifts may all contain the same element object, an item image. Furthermore, different virtual gift labels may represent different virtual gift types. For example, in Figure 4, the virtual gift label "Gift 406" may be used to represent a letter virtual gift, the virtual gift label "Gift 407" may be used to represent a photographic virtual gift, and the virtual gift label "Gift 408" may be used to represent an item virtual gift.
[0032] Referring to Figure 6, which shows a schematic diagram of a custom interface in an embodiment of the present disclosure, the custom interface 640 includes element target labels 610'-630' for at least one element target 610-630, where element target 610 corresponds to element target label 610', element target 620 corresponds to element target label 620', and element target 630 corresponds to element target label 630'. Each element target includes at least one attribute, and the custom interface 640 further includes attribute labels for each attribute, for example, multiple attributes of element target 610 each correspond to attribute labels 611'-614'. Each attribute includes at least one attribute value, and the custom interface 640 further includes attribute value labels for each attribute value, for example, an attribute corresponding to attribute label 611' may include attribute value labels 6111'-6113'.
[0033] In one embodiment, the custom interface 640 further includes a preview area 650 for the virtual gift, which may include, for example, several element targets 610-630. Here, if an element target is an audio target, it does not have to be displayed in the preview area 650, or it is displayed in the preview area 650 with an audio label for the audio target. This audio label may be used to indicate the presence of the audio target, and / or to play the audio target when the user triggers this audio label. Thus, the preview area 650 allows the user to directly see the effect of creating a virtual gift when custom creating one, to determine whether the created virtual gift meets their individual needs, and to make it easier for the user to adjust.
[0034] In embodiments of this disclosure, the custom interface 640 may further include a first control for randomly determining an attribute value, for example, the control "Random" in Figure 6. The custom interface 640 may further include a second control for resetting an attribute value, for example, the control "Reset" in Figure 6. The custom interface 640 may further include a gift sending control for sending a virtual gift that has already been created, for example, the control "Send Instantly" in Figure 6.
[0035] It should be understood that the above virtual gifts and custom interfaces are illustrative and not intended to be restrictive. Virtual gifts and custom interfaces may include, but are not limited to, more or fewer, elements, attributes, and attribute values.
[0036] In some embodiments, method 300 may also include receiving at least one element target determined by the user in the custom interface, and attribute values of a plurality of attributes of the element target, wherein the type of the at least one element target includes at least one of an image target, a text target, or an audio target.
[0037] Here, the element target and attribute values of its attributes determined by the user in the custom interface may be selected from pre-configured element targets, pre-configured attributes, and pre-configured attribute values provided by the interaction application program, the user may locally upload or remotely retrieve (e.g., download from a network) the element target, the user may draw the element target in real time, and the attribute values of its attributes may be determined based on the element target drawn by the user in real time, i.e., the original data drawn directly by the user in real time may be used as the element target, thereby providing the user with a more flexible and individual creation space, satisfying the user's diverse needs, and further enhancing the virtual gift interaction experience. In some embodiments, receiving at least one element target determined by the user in the custom interface includes receiving the element target determined from the user's pre-configured element targets, or receiving the element target generated by the user in real time, the element target generated by the user in real time may be an element target uploaded by the user in real time or an element target drawn in real time.
[0038] In some embodiments, receiving attribute values of multiple attributes of the element target determined by the user in the custom interface includes receiving attribute values of multiple attributes of the element target determined by the user from each of the pre-set attribute values of the attributes.
[0039] In some embodiments, receiving attribute values for multiple attributes of the element target determined by the user in the custom interface includes receiving the element target generated in real time by the user and determining the attribute values for multiple attributes of the element target.
[0040] Specifically, as shown in Figure 6, the element target A corresponding to the element target label 610' may be a pre-configured target element. After selecting a virtual gift label, the user can trigger a custom control to enter a custom interface, which displays the labels of pre-configured element targets corresponding to the virtual gift label for the user to select. When the user selects the element target label 610', the custom interface 640 displays the attribute labels 611'-614' of attribute A-1. When the user selects the attribute label 611', the custom interface 640 displays the attribute value labels 6111'-6114', allowing the user to determine the attribute value of attribute A-1 of element target A from the attribute value labels 6111'-6114'. Similarly, the user can determine the attribute values of other element targets or other attributes. Then, the user can select the attribute values of each attribute of each element target in the custom interface 640, which are displayed in the preview area 650. Specifically, each time the user determines the attribute value of an attribute, the preview area 650 displays the corresponding attribute change of the element target.
[0041] Element target B corresponding to element target label 630' may be an object uploaded by the user (e.g., uploaded locally or retrieved from a network) or drawn in real time. For example, the user can perform a first trigger operation (e.g., double-click) on element target label 630', providing the user with a drawing interface. The user then inputs element target C containing multiple attributes into this drawing interface, and the attribute values of each attribute of element target C are determined accordingly. The user then exits this drawing interface and returns to custom interface 640. At this point, the user can perform a second trigger operation (e.g., single-click) on element target label 630', displaying the element target C entered by the user in preview area 650. This overcomes the limitations of the number and patterns of pre-set element targets, allowing the user to freely create virtual gifts and further enhance the playability of virtual gifts. At this point, the user can perform the first trigger operation again on element target label 630' for already generated element target C, re-entering the drawing interface to modify or update element target C.
[0042] In some embodiments, a target virtual gift is generated based on the element target and the attribute values of multiple attributes of the element target.
[0043] According to the embodiments of this disclosure, virtual gifts can be formed by combining element objects of the same or different types and multiple attributes thereof. Combinations can be based on one or more element objects, such as image objects, text objects, or audio objects. For example, a combination of an image object and a text object, a combination of at least two image objects, or multiple attributes of a single image can all form a virtual gift. Compared to single-dimensional interaction methods that currently only allow for modification of the color of virtual gifts, virtual gifts according to the embodiments of this disclosure can be customized based on more flexible and open multi-dimensionality, enriching the interaction process of online interaction scenarios and increasing the playfulness and user engagement of virtual gifts.
[0044] In some embodiments, the target virtual gift includes a first image object and a first text object located in a first designated area of the first image object. Here, the first image subject includes a letter image, and the multiple attributes of the letter image include multiple of the following: letter shape, letter color, letter shape, unfolding video, unfolding sound, folding video, or folding sound. The first text object includes text content, and the multiple attributes of the text content include multiple of the following: text font, text color, text content, or appearance method.
[0045] Here, the letter virtual gift may include a combination of an image target and a text target, and the first designated area may be a pre-configured area or an area specified by the user. As shown in Figure 7, Figure 7 shows a schematic diagram of a custom interface for a letter virtual gift according to an embodiment of the present disclosure. In Figure 7, the preview area 650 can display the effect of the letter virtual gift, and the letter virtual gift includes a first image target and a first text target. The first image target includes a letter image 710, and the user can perform multidimensional custom creations on the letter image 710 according to the attributes of the letter image 710. For example, the attribute value for letter shape may include rectangle, square, heart shape, circle, etc., the attribute value for letter edge may include lace, straight line, etc., the attribute value for letter color may include red, yellow, white, green, etc., the attribute value for letter graphic attribute may include various different typesetting patterns and / or shapes, the attribute value for unfold / fold video may include various different unfold / fold letter video, and the attribute value for unfold / fold sound may include various letter unfold / fold audio. As can be seen, users can customize letter images from attributes of multiple different dimensions, increasing the playability of virtual gifts and meeting the individual needs of users. The attributes of the first text object 720 include text font, text color, text content, or appearance method. Here, text font includes but is not limited to handwritten, Song typeface, Gothic typeface, clerical script typeface, etc., text color includes various different colors, text content may be pre-set character content, and appearance method includes but is not limited to all appearance, one line at a time appearance, or one character at a time appearance. The user can select a corresponding attribute value for at least one attribute of the letter image 710 and the first text target 720 (unselected attributes may have their default attribute values), thereby generating a letter-type virtual gift as the target virtual gift.
[0046] The user may generate the first image target and / or the first text target in real time. The user may draw an envelope image using a drawing panel, upload an image directly from local memory as an envelope image, or download an image from the network as an envelope image. Simultaneously, the user can input a text target using an input device. For example, after triggering a custom operation of the attribute label "Text Content" corresponding to the label "Text Content 720", the user can input the text content using a keyboard or by handwriting using a handwriting device, and determine the attribute values of the two attributes, font and color, of the input text content based on the attribute labels "Text Font" and "Text Color". Furthermore, when the user inputs the text content by handwriting using a handwriting device, this handwritten content may be directly used as the first text target.
[0047] In some embodiments, the target virtual gift further includes a first audio object, the audio object having multiple attributes including an audio type and a playback method, wherein the attribute value of the audio type includes music or a human voice, and the playback method includes synchronized presentation with the first image object or synchronized presentation with the first text object.
[0048] Specifically, the letter virtual gift in Figure 7 may have an audio target set, may not be displayed in the preview area 650, or may be displayed in the preview area 650 by the corresponding identifier. When the attribute value of the music type of the first audio target is music, this music can be played when this letter virtual gift is presented, and this music may be pre-set music, or it may be audio uploaded in real time by the user locally or based on the network.
[0049] The text content of the first text object 720 can appear in various ways and does not have to appear at the same time as the envelope image 710. In that case, if the attribute value of the playback method of the first audio object is synchronized presentation with the first image object, the first audio object may be played at the same time as the first image object is presented. If the attribute value of the playback method of the first audio object is synchronized presentation with the first text object, the first audio object may not be played when the first image object is presented, and then the first audio object may be played when the first text object is presented.
[0050] In some embodiments, the method 300 further includes obtaining the first text object by performing voice recognition based on the first audio object.
[0051] Here, when the user generates the first text target in real time, the text content of the first text target may be obtained from the audio input by the user (i.e., the first audio target). In this case, the first audio target input by the user may match the text content of the first text target and be presented synchronously, that is, the presentation progress may be the same. This is advantageous when presenting this letter-type virtual gift to the target, as it achieves the effect of reading the letter content to the user, realistically reflects the user's feelings, and enhances the interaction effect of the virtual gift.
[0052] In some embodiments, the target virtual gift includes a second image object and a third image object located in a second designated region of the second image object. Here, the second image target includes a photo frame image, the third image target includes a real-time image of the target object acquired by the user, and the multiple attributes of the photo frame image include multiple of the following: photo frame pattern, photo frame color, or photo frame design.
[0053] A virtual photo gift may include a combination of multiple image targets, and the second designated area may be a pre-configured area or an area specified by the user. As shown in Figure 8, Figure 8 shows a schematic diagram of a custom interface for a virtual photo gift according to an embodiment of the present disclosure. In Figure 8, the preview area 650 can display the effect of the virtual photo gift, and the virtual photo gift includes a second image target 810 and a third image target 820. The second image target 810 may include a photo frame image, and the multiple attributes of the photo frame image may include multiple of photo frame patterns, photo frame colors, or photo frame designs. The attribute values for the photo frame pattern may include various different styles of photo frame patterns, the attribute values for the photo frame color may include various different colors, and the attribute values for the photo frame design may include various different edge designs. The user may generate the second image target 810 in real time, for example, by drawing a photo frame image using a paint panel, by directly uploading an image from local memory as a photo frame image, or by downloading an image from a network as a photo frame image. The third image target 820 may include a real-time image of the target object acquired by the user. For example, the user may take a screenshot from the current live streaming interface and acquire a real-time image of the target object 410 as the third image target. Furthermore, the real-time image may be processed (e.g., cropped, effects added) before being used as the third image target, thereby enhancing the appeal of the virtual gift of photo frames.
[0054] In addition to Figure 3, step S310, the user receives a first image (e.g., the second image target 810 in Figure 8) determined by the user in the custom interface of the virtual gift for the target live streaming room (e.g., the custom interface 640 in Figure 8).
[0055] In some embodiments, receiving a first image (e.g., the second image target 810 in Figure 8) determined by the user in a custom interface for the virtual gift (e.g., the custom interface 640 in Figure 8) is: The custom interface (for example, custom interface 640 in Figure 8) displays at least one attribute relating to the first image (for example, photo frame pattern, photo frame color, photo frame design in Figure 8) and at least one attribute value (for example, the attribute values of the photo frame pattern in Figure 8 are pattern 1, pattern 2, pattern 3, and pattern 4). Determining the target attribute value for each of the attributes based on the at least one attribute value, To generate the first image (for example, the second image target 810 in Figure 8) based on the target attribute value corresponding to each of the aforementioned attributes, or The system includes receiving the first image (e.g., the second image target 810 in Figure 8) that has been uploaded in real time by the user (e.g., by directly uploading an image from local memory as a photo frame image, or by downloading an image from the network as a photo frame image) or drawn (e.g., by drawing a photo frame image using a paint panel).
[0056] Here, at least one attribute value may be an attribute value corresponding to a single attribute, for example, the attribute value of the selected attribute. As shown in Figure 8, in Figure 8 the attribute "Photo Frame Pattern" is selected, and at least one attribute value "Pattern 1, Pattern 2, Pattern 3, Pattern 4" is displayed in the custom interface. If the custom interface is large enough, at least one attribute value may include all attribute values corresponding to each of all attributes, for example, all attribute values corresponding to each of the attributes "Photo Frame Pattern, Photo Frame Color, Photo Frame Design" may be displayed. The first image can be generated by determining the target attribute value corresponding to each attribute from the attribute values corresponding to each attribute.
[0057] In some embodiments, receiving the first image drawn in real time by the user is In response to detecting a paint command, the paint panel, including the paint tool controls, is displayed. This includes receiving the trajectory drawn by the user using the paint tool control and generating the first image.
[0058] Specifically, the custom interface may provide the user with a paint panel, which may further provide multiple paint tool controls, allowing the user to autonomously draw any image as the primary image on the paint panel using these controls. In this way, not only can the user be given a space to customize virtual gifts more flexibly, but the variety of interactions with custom virtual gifts can also be increased.
[0059] In some embodiments, the first image includes an accessory image, the accessory image having at least one attribute of an accessory pattern, accessory color, or accessory design. Specifically, the method for determining the accessory image is similar to that for the photo frame image and may be determined by the attribute value of at least one attribute provided by a custom interface, or by uploading or drawing in real time, which will not be described further here. The accessory image may be an image for decorating the second image (for example, the third image object 820 in Figure 8).
[0060] In step S320, in response to detecting the user's virtual gift sending command, a second image corresponding to the target live streaming room (for example, the third image target 820 in Figure 8) is acquired.
[0061] In step S330, a target virtual gift is generated based on the first image (for example, the second image target 810 in Figure 8) and the second image (for example, the third image target 820 in Figure 8).
[0062] In some embodiments, generating a target virtual gift based on the first image and the second image is possible. The process involves obtaining the target image in the second image (for example, the third image target 820 in Figure 8), This includes generating a target virtual gift based on the first image (for example, the second image target 810 in Figure 8) and the image of the target object in the second image (for example, the third image target 820 in Figure 8).
[0063] Specifically, after acquiring a real-time image of the target live streaming room, target identification can be performed on this real-time image to determine the target object 410 in the real-time image, and a third image object 820 that includes this target object 410. Then, a target virtual gift can be generated based on the second image object 810 and the third image object 820.
[0064] In some embodiments, generating a target virtual gift based on the first image and the second image is possible. The target region image of the second image is determined based on the size of the specified region of the first image, This includes fusing the target region image with a specified region in the first image to generate the target virtual gift.
[0065] In some embodiments, determining the target region image of the second image based on the size of a designated region of the first image is: To obtain the target image in the second image, This includes reducing or enlarging the image containing the target object to the specified size based on the size of the specified region of the first image, thereby obtaining the target region image.
[0066] Specifically, since the size of the real-time image of the target live streaming room obtained directly may not match the size of the first image, it is necessary to process the real-time image, such as by cutting, and then merge it with the first image. The first image may have a designated area for displaying a portion of the second image. For example, in Figure 8, the intermediate area of the second image target 810 is used to display the third image target 820. The size of the image displayed in this designated area may be determined according to the size of the intermediate area of the second image target 810. For example, the real-time image may be cut first, a portion of the real-time image including the target target 410 may be reserved, this portion of the real-time image after cutting may be enlarged or reduced to a size that matches the intermediate area of the second image target 810, and then merged with the intermediate area of the second image target 810 to generate the target virtual gift.
[0067] In one embodiment, method 300 is, Displaying the target virtual gift in the preview interface, Receiving an adjustment command from the user for the target virtual gift, and re-determining a second image including the target object, Based on the re-determined second image, a new target region image is obtained, This may further include updating the target virtual gift based on the new target region image.
[0068] Specifically, if the user is not satisfied with the target virtual gift displayed in the preview interface 650, they can adjust the target virtual gift. For example, if the user is not satisfied with the position of the third image target 820, which is the target object in Figure 8, they can send an adjustment command to the target virtual gift by performing a pre-configured operation (e.g., dragging the image of the third image target 820). This will re-determine the second image containing the third image target 820 as a new target region image (e.g., an image that positions the third image target 820 in the center), and generate a new target virtual gift based on the re-determined target region image and the second image target.
[0069] In some embodiments, the third image target may include a plurality of sub-targets, each sub-target containing a plurality of different images relating to the target target. Furthermore, the plurality of sub-targets are arranged in the second image target in a predetermined arrangement (e.g., array format, radial format). Furthermore, the positions of the plurality of sub-targets in the second image target are specified by the user. In addition, the user can obtain real-time images of different facial expressions or different actions of the target target as sub-targets in the live streaming interface. This enhances the fun and playfulness of the virtual photo gift while also satisfying the user's individual needs.
[0070] In some embodiments, the target virtual gift further includes a second audio object, wherein the multiple attributes of the second audio object include an audio type and a playback method, wherein the attribute value of the audio type includes music or non-music, and the playback method includes synchronized presentation with the target virtual gift.
[0071] Specifically, similar to the first audio target of a letter-type virtual gift, the second audio target of a photo-type virtual gift does not have to be displayed in the preview area 650, but may be displayed in the preview area 650 by a corresponding identifier. If the attribute value of the music type of the second audio target is music, this music can be played when presenting this letter-type virtual gift, and this music may be pre-set music or music uploaded in real time by the user locally or based on the network. If the attribute value of the music type is not music, this non-music may be a pre-set audio effect, such as cheers or applause, or an audio effect uploaded in real time by the user locally or based on the network.
[0072] In some embodiments, the target virtual gift includes a fourth image object, and the multiple attributes of the fourth image object include multiple of the following: color, seal, tool, presentation method, or overall decoration of the fourth image object.
[0073] A virtual item gift may include one image object. This image object may include multiple attributes, and the preview area may display the effect of the virtual item gift. A virtual item gift may include a fourth image object, which may be a pre-set object image, an object image drawn by the user using a drawing panel, or an object image uploaded directly from local memory or downloaded from a network. The color attribute value of the fourth image object may include various different colors, and the user can select different color attribute values to swap the color of the item in the item image. The seal attribute value of the fourth image object may include no seal and / or seals of various different shapes, and the user may select a seal of a different shape and set it on or around the fourth image object, or the user may select the no seal attribute value and thereby not set a seal. The tool attribute value of the fourth image object may include multiple different tools, which are related to the item displayed on the fourth image object. For example, if the item is a car, the tool attribute value may include multiple different courses, and if the item is a flower, the tool attribute value may include multiple different vases. The attribute value for the fourth image object presentation method includes multiple different video and / or audio effects relating to the item. For example, if the item is a car, the video effects may include, but are not limited to, driving from far away to near, driving from near to far, or flashing. The audio effects may include, but are not limited to, brake sounds, horn sounds, and motor sounds. The attribute value for the fourth image object overall decoration includes multiple different overall decoration styles relating to the item.
[0074] In some embodiments, the target virtual gift may further have value attributes, such as virtual resources. When the target virtual gift is sent to the target, the value attributes of the target virtual gift are transferred to the target, and the target can acquire the virtual resource corresponding to the virtual gift. Furthermore, in some embodiments, the value attributes are further determined based on a numerical value of the virtual resource entered by the user.
[0075] Step S340: Send the target virtual gift to the live streaming room account associated with the target live streaming room.
[0076] Here, the live streaming room account associated with the target live streaming room may include the live streaming room account of the target live streaming room, or it may include the live streaming room account corresponding to any one of the casters participating in the live streaming in the target live streaming room. Specifically, a user can trigger an operation on the send control to send a target virtual gift to a target object in the interaction scenario (e.g., target object 410 in Figure 9) via the network, either online or offline. For example, a caster who is live streaming in a target live streaming room may belong to this target live streaming room, and the target virtual gift may be sent to the live streaming room account corresponding to the target live streaming room. A caster who is live streaming in a target live streaming room may not belong to this target live streaming room, and the target virtual gift may be sent to the live streaming account corresponding to this caster. A target live streaming room may contain multiple casters, some of whom belong to this target live streaming room, and some who do not belong to this target live streaming room, and the user can determine a target caster from these multiple casters and send a target virtual gift to the live streaming room account corresponding to the target caster. After sending a target virtual gift, the custom interface 640 can be hidden, and the user can automatically return to the live streaming interface, as shown in Figure 9, which shows a schematic diagram of the live streaming interface according to an embodiment of the present disclosure. In Figure 9, the user hides the custom interface 640 after sending a target virtual gift to the target 410. Furthermore, a gift presentation video of the target virtual gift being sent to the target 410 can be displayed on the live streaming interface, thereby realizing the transition from sending the target virtual gift to its arrival at the target and enhancing the user interaction experience.
[0077] In some embodiments, after sending the target virtual gift to the live streaming room account of the target live streaming room, the method 300 then: The custom interface displays a recommended gift label for the target virtual gift, The system may further include detecting a trigger action by the user on the recommended gift label, and sending the target virtual gift to the live streaming room account of the target live streaming room.
[0078] Here, when a user needs to send a virtual gift in the current interaction scenario or another interaction scenario after sending a customized target virtual gift, the most recently sent target virtual gift from the history of virtual gifts of the same type can be displayed to the user as a recommendation, allowing the user to interact with virtual gifts quickly and easily, improving interaction efficiency and effectiveness. For example, as shown in Figure 5, when a user interacts with (e.g., clicks) the virtual gift label "Gift 406", the recommended gift label "Recommendation 1" displayed in the gift interface 430 can represent the most recently sent target virtual gift among the virtual gift types corresponding to "Gift 406".
[0079] It should be noted that the methods of the embodiments of this disclosure can be performed on the premise that the acquired audio data is downloaded with the permission of the owner.
[0080] The virtual gift-based interaction method according to the embodiments of this disclosure can solve problems such as the fact that the way virtual gifts are played and their effects are currently monolithic, failing to meet users' individual customization needs for virtual gifts and reducing the user interaction experience. In the embodiments of this disclosure, the live streaming screen of the target live streaming room is acquired in real time, and a first image determined by the user is combined with it to customize the virtual gift, thereby meeting the user's individual needs and improving the user interaction experience.
[0081] It should be noted that the methods of the embodiments of this disclosure may be performed by a single device, such as a single computer or server. The methods of the embodiments may also be applied to distributed scenarios in which multiple devices cooperate to complete the process. In such distributed scenarios, one of these multiple devices may perform one or more steps of the methods of the embodiments of this disclosure, and these multiple devices may interact with each other to complete the method.
[0082] For the purposes of this disclosure, several embodiments have been described above. Other embodiments are within the scope of the appended claims. In some cases, the operations or steps described in the claims may be performed in a different order than those in the embodiments above, and the desired results may still be achieved. Furthermore, the processes depicted in the drawings may not necessarily require the specific illustrated order or sequence, and the desired results may still be achieved. In some embodiments, multitasking and parallel processing may also be possible or advantageous.
[0083] Based on the same inventive concept and corresponding to the methods of any of the above embodiments, the present disclosure further provides an interaction device based on virtual gifts.
[0084] Referring to Figure 10, the interaction device based on the virtual gift is A receiving module for receiving a first image determined by the user in a custom interface for virtual gifts in a target live streaming room, In response to detecting the user's virtual gift sending command, an acquisition module for acquiring a second image corresponding to the target live streaming room, A custom module for generating a target virtual gift based on the first image and the second image, The system includes a sending module for sending the target virtual gift to the live streaming room account associated with the target live streaming room.
[0085] For the sake of convenience, when describing the above device, its functions will be divided into various modules and described accordingly. Of course, when implementing this disclosure, the functions of each module can be realized with the same or multiple software and / or hardware.
[0086] The apparatus of the above embodiment is used to implement the virtual gift-based interaction method in any one of the embodiments described above, and has the beneficial effects of the embodiment of the method in question, which will not be described further here.
[0087] Based on the same inventive concept and corresponding to the methods of any of the above embodiments, the present disclosure further provides a non-temporary computer-readable storage medium in which computer instructions are stored, and which are used to cause the computer to execute the virtual gift-based interaction method described in any one of the above embodiments.
[0088] The computer-readable media of this embodiment include persistent and non-persistent, removable and non-removable media, and information storage can be realized by any method or technique. The information may be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random-access memory (SRAM), dynamic random-access memory (DRAM), other types of random-access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital purpose disc (DVD) or other optical storage devices, magnetic cassette tapes, magnetic tape magnetic disk storage devices or other magnetic storage devices or any other non-transmission media that can be used to store information accessible by a computing device.
[0089] The computer instructions stored in the storage medium of the above embodiment cause the computer to execute the virtual gift-based interaction method described in any one of the above embodiments, and have the beneficial effects of the embodiment of the corresponding method, which will not be described further here.
[0090] Those skilled in the art should understand that the consideration of the above-described embodiments is illustrative and not intended to imply that the scope of the Disclosure (including the claims) is limited to these examples, and that, in the spirit of the Disclosure, the technical features of the above embodiments or different embodiments may be combined, the steps may be carried out in any order, and many other variations of different aspects of the embodiments of the Disclosure described above exist and are not provided in detail for brevity.
[0091] Furthermore, in order to simplify the explanation and discussion and to avoid making the embodiments of this disclosure difficult to understand, the provided drawings may or may not show known power / ground connections of integrated circuit (IC) chips and other components. Also, in order to avoid making the embodiments of this disclosure difficult to understand, the apparatus may be shown in block diagram form, taking into consideration the following facts, namely that the details of the embodiments of the apparatus relating to these block diagrams are highly dependent on the platform on which the embodiments of this disclosure are to be carried out (i.e., these details should be entirely within the understanding of those skilled in the art). If specific details (e.g., circuits) are described to describe the exemplary embodiments of this disclosure, it will be obvious to those skilled in the art that the embodiments of this disclosure can be carried out if these specific details are absent or if there are changes to these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0092] Although specific embodiments of this disclosure have already been described, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art based on the preceding description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) can be used in the embodiments considered.
[0093] The embodiments of this disclosure are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of this disclosure should be included within the scope of protection of this disclosure.
Claims
1. A method of interaction based on virtual gifts, The first image determined by the user in the custom interface of the virtual gift for the target live streaming room, In response to detecting the user's virtual gift sending command, a second image corresponding to the target live streaming room is acquired, To generate a target virtual gift based on the first image and the second image, Sending the aforementioned target virtual gift to the live streaming room account associated with the aforementioned target live streaming room, The custom interface displays a recommended gift label corresponding to the target virtual gift, A virtual gift-based interaction method, which includes sending the target virtual gift to the live streaming room account of the target live streaming room in response to detecting a trigger operation on the recommended gift label by the user.
2. Receiving the first image determined by the user in the custom interface of the virtual gift is The custom interface will display at least one attribute and at least one attribute value relating to the first image. Determining the target attribute value for each of the attributes based on the at least one attribute value, To generate the first image based on the target attribute value corresponding to each of the aforementioned attributes, or The method according to claim 1, comprising receiving the first image uploaded or drawn in real time by the user.
3. Receiving the first image drawn in real time by the user means In response to detecting a drawing command, the paint panel, including the paint tool controls, is displayed. The method of claim 2, further comprising receiving a trajectory drawn by the user using the paint tool control and generating the first image.
4. The first image includes a photo frame image, and at least one attribute of the photo frame image includes at least one of a photo frame pattern, a photo frame color, or a photo frame design, The method according to claim 2, wherein the first image includes an accessory image, and at least one attribute of the accessory image includes at least one of an accessory pattern, an accessory color, or an accessory design.
5. Generating a target virtual gift based on the first image and the second image is: The target region image of the second image is determined based on the size of the specified region of the first image, The method according to claim 1, comprising fusing the target region image with a specified region in the first image to generate the target virtual gift.
6. Determining the target region image of the second image based on the size of the specified region of the first image is: To obtain the image of the target object in the second image, The method according to claim 5, further comprising reducing or enlarging an image including the target object to the specified size based on the size of a specified region of the first image, in order to obtain the target region image.
7. Generating a target virtual gift based on the first image and the second image is: To obtain the image of the target object in the second image, The method according to claim 1, comprising generating a target virtual gift based on the first image and the image of the target object in the second image.
8. Displaying the target virtual gift in the preview interface, Receiving an adjustment command from the user for the target virtual gift, and re-determining a second image including the target object, Based on the re-determined second image, a new target region image is obtained, The method according to claim 6, further comprising updating the target virtual gift based on the new target region image.
9. An interaction device based on virtual gifts, A receiving module for receiving a first image determined by the user in a custom interface for virtual gifts in a target live streaming room, In response to detecting the user's virtual gift sending command, an acquisition module for acquiring a second image corresponding to the target live streaming room, A custom module for generating a target virtual gift based on the first image and the second image, A transmission module for sending the target virtual gift to the live streaming room account associated with the target live streaming room, The custom interface includes a display module that displays a recommended gift label corresponding to the target virtual gift, Includes, The transmitting module is further used as a virtual gift-based interaction device to send the target virtual gift to the live streaming room account of the target live streaming room in response to the detection of a trigger operation by the user on the recommended gift label.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method according to any one of claims 1 to 8 is realized.
11. A non-temporary computer-readable storage medium, wherein computer instructions are stored in the non-temporary computer-readable storage medium, and the computer instructions are used to cause a computer to execute the method according to any one of claims 1 to 8.
12. A computer program comprising computer program instructions, wherein when the computer program instructions are executed on a computer, the computer causes the computer to perform the method according to any one of claims 1 to 8.