Live broadcast room gift control method and device, electronic device and storage medium
By configuring display effects or providing vibration effects for the anchor user when the virtual gift overlaps with the anchor user's virtual image, the problem of insufficient interaction in virtual live broadcast is solved, and the user immersion and interactive experience are improved.
Patent Information
- Application Number
- CN202211282707.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-19
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2042-10-19
AI Technical Summary
In existing virtual live broadcasts, there is less interaction between viewers and hosts, resulting in reduced user immersion, and the display of virtual gifts does not affect the live broadcast content.
By configuring display effects or providing vibration effects for the anchor user when the virtual gift overlaps with the anchor user's virtual image, interaction is simulated and the operability of the virtual gift is expanded.
It improves the diversity of interaction between anchors and viewers and user immersion, enriches live broadcast content, and enhances user experience.
Smart Images

Figure CN115604499B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet technology, and in particular to a method and device for controlling gifts in a live broadcast room, an electronic device, a computer-readable storage medium, and a computer program product. Background Art
[0002] With the continuous development of internet technology and advancements in streaming media, live streaming is gaining increasing attention from users. Currently, common live streaming methods include interactive live broadcasts with real hosts, where live footage of the host interacts with viewers in the live broadcast room. Furthermore, with the diversification of live broadcast methods, virtual live broadcasts using avatars have also gained widespread adoption. Compared to live broadcasts with real hosts, virtual live broadcasts can virtualize both the host and the live broadcast scene.
[0003] The approaches described in this section are not necessarily approaches that have been previously conceived or employed. Unless otherwise indicated, it should not be assumed that any approach described in this section is prior art simply by virtue of its inclusion in this section. Similarly, unless otherwise indicated, the issues raised in this section should not be considered as having been recognized in any prior art. Summary of the Invention
[0004] The present disclosure provides a live broadcast room gift control method and device, electronic equipment, computer-readable storage medium and computer program product.
[0005] According to one aspect of the present disclosure, a live broadcast room gift control method applied to a server is provided, comprising: receiving one or more gift giving instructions from an audience client; generating one or more first virtual images corresponding to the one or more gift giving instructions; for each of the one or more first virtual images, determining whether a position of the first virtual image overlaps with a position of a second virtual image of the anchor user; in response to determining that the position of the first virtual image overlaps with a position of the second virtual image of the anchor user, configuring a first display effect for the second virtual image; and providing a live broadcast stream to the anchor client and the audience client, so that the live broadcast room is displayed at the anchor client and the audience client as a live broadcast room scene containing the one or more first virtual images and the second virtual image with the first display effect.
[0006] According to another aspect of the present disclosure, a live broadcast room gift control method applied to a server is also provided, including: receiving one or more gift giving instructions from an audience client; generating one or more first virtual images corresponding to the one or more gift giving instructions; for each of the one or more first virtual images, determining whether the position of the first virtual image overlaps with the position of the second virtual image of the anchor user; in response to determining that the position of the first virtual image overlaps with the position of the second virtual image of the anchor user, providing configuration information including a vibration effect to the anchor client and / or the audience client.
[0007] According to another aspect of the present disclosure, a live broadcast room gift control method applied to an audience client is also provided, including: sending one or more gift giving instructions; receiving a live stream of the live broadcast room from a server, the live stream including one or more first virtual images corresponding to the one or more gift giving instructions, a second virtual image of the anchor user and its display effect; and displaying the one or more first virtual images and the second virtual image with the display effect based on the live stream, wherein the one or more first virtual images are generated according to the above-mentioned live broadcast room gift control method applied to the server, and wherein the display effect is determined according to the above-mentioned live broadcast room gift control method applied to the server.
[0008] According to another aspect of the present disclosure, a live broadcast room gift control method applied to an audience client is also provided, including: sending one or more gift giving instructions; receiving a live stream of the live broadcast room and configuration information associated with a vibration effect from a server, the live stream including one or more first virtual images corresponding to the one or more gift giving instructions and a second virtual image of the anchor user; and configuring the associated vibration effect for the audience client based on the configuration information, wherein the one or more first virtual images are generated according to the above-mentioned live broadcast room gift control method applied to the server, and wherein the configuration information is provided according to the above-mentioned live broadcast room gift control method applied to the server.
[0009] According to another aspect of the present disclosure, a live broadcast room gift control device applied to a server is also provided, including: a receiving unit, configured to receive one or more gift giving instructions from an audience client; a generating unit, configured to generate one or more first virtual images corresponding to the one or more gift giving instructions; a determining unit, configured to determine, for each of the one or more first virtual images, whether the position of the first virtual image overlaps with the position of the second virtual image of the anchor user; a configuring unit, configured to configure a display effect for the second virtual image in response to determining that the position of the first virtual image overlaps with the position of the second virtual image of the anchor user; and a providing unit, configured to provide a live broadcast stream to the anchor client and the audience client, so that the live broadcast room is displayed at the anchor client and the audience client as a live broadcast room scene containing one or more first virtual images and the second virtual image with the display effect.
[0010] According to another aspect of the present disclosure, a live broadcast room gift control device applied to a server is also provided, including: a receiving unit, configured to receive one or more gift giving instructions from an audience client; a generating unit, configured to generate one or more first virtual images corresponding to the one or more gift giving instructions; a determining unit, configured to determine, for each of the one or more first virtual images, whether the position of the first virtual image overlaps with the position of the second virtual image of the anchor user; and a providing unit; configured to provide configuration information including a vibration effect to the anchor client and / or the audience client in response to determining that the position of the first virtual image overlaps with the position of the second virtual image of the anchor user.
[0011] According to another aspect of the present disclosure, a live broadcast room gift control device applied to an audience client is also provided, including: a sending unit, configured to send one or more gift giving instructions; a receiving unit, configured to receive a live stream of the live broadcast room from a server, the live stream including one or more first virtual images corresponding to the one or more gift giving instructions, a second virtual image of the anchor user and its display effect; and a display unit, configured to display the one or more first virtual images and the second virtual image with the display effect based on the live stream, wherein the one or more virtual images are generated according to the above-mentioned live broadcast room gift control method applied to the server, and wherein the display effect is determined according to the above-mentioned live broadcast room gift control method applied to the server.
[0012] According to another aspect of the present disclosure, a live broadcast room gift control device applied to an audience client is also provided, including: a sending unit, configured to send one or more gift giving instructions; a receiving unit, configured to receive a live stream of the live broadcast room and configuration information associated with a vibration effect from a server, the live stream including one or more first virtual images corresponding to the one or more gift giving instructions and a second virtual image of the anchor user; and a configuration unit, configured to configure an associated vibration effect for the audience client based on the configuration information, wherein the one or more first virtual images are generated according to the above-mentioned live broadcast room gift control method applied to the server, and wherein the configuration information is provided according to the above-mentioned live broadcast room gift control method applied to the server.
[0013] According to another aspect of the present disclosure, an electronic device is also provided, including: at least one processor; and at least one memory communicatively connected to the at least one processor, wherein the at least one memory stores a computer program, and when the computer program is executed by the at least one processor, the computer program implements the above-mentioned live broadcast room gift control method applied to the server and the live broadcast room gift control method applied to the audience client.
[0014] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing a computer program is also provided, wherein the computer program, when executed by a processor, implements the above-mentioned live broadcast room gift control method applied to the server and the live broadcast room gift control method applied to the audience client.
[0015] According to another aspect of the present disclosure, a computer program product is also provided, including a computer program, wherein when the computer program is executed by a processor, the computer program implements the above-mentioned live broadcast room gift control method applied to the server and the live broadcast room gift control method applied to the audience client.
[0016] According to one or more embodiments of the present disclosure, by configuring a display effect for the virtual image of the anchor user when a virtual gift in the live broadcast room overlaps with the virtual image of the anchor user, the interaction between the virtual gift and the virtual image of the anchor user can be simulated, the operability of the virtual gift can be expanded, and the live broadcast content can be more diverse. In this way, direct interaction between the anchor user and the audience user is achieved, the user's immersion in the live broadcast process is improved, and the user experience of the live broadcast platform is enhanced. Alternatively or additionally, according to one or more embodiments of the present disclosure, by providing a vibration effect when a virtual gift in the live broadcast room overlaps with the virtual image of the anchor user, the live broadcast content can be enriched from multiple dimensions, the diversity of interaction between the audience user and the anchor user can be further expanded, and a more realistic virtual live broadcast scene is created for the audience user.
[0017] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings illustrate exemplary embodiments and constitute a part of the specification. Together with the description of the specification, they serve to explain exemplary implementation of the embodiments. The illustrated embodiments are for illustrative purposes only and do not limit the scope of the claims. Throughout the drawings, the same reference numerals designate similar, but not necessarily identical, elements.
[0019] Figure 1 A schematic diagram illustrating an exemplary system in which the various methods described herein may be implemented according to an embodiment of the present disclosure;
[0020] Figure 2 A flow chart of a live broadcast room gift control method applied to a server according to an embodiment of the present disclosure is shown;
[0021] Figure 3 A flowchart of determining whether the position of a gift avatar overlaps with the position of a host avatar according to an embodiment of the present disclosure is shown;
[0022] Figure 4 A flowchart of determining whether the motion trajectory of a gift avatar overlaps with the position of the avatar of the host user according to an embodiment of the present disclosure is shown;
[0023] Figure 5 A schematic diagram showing how collision volumes are generated for the gift avatar and the anchor user's avatar, respectively, according to an embodiment of the present disclosure;
[0024] Figure 6 A flowchart of configuring display effects for a virtual image of a live broadcast user according to an embodiment of the present disclosure is shown;
[0025] Figure 7 A schematic diagram illustrating configuring display effects for a gift avatar and a host user's avatar in response to determining that the position of the gift avatar overlaps with the position of the host user's avatar according to an embodiment of the present disclosure is shown;
[0026] Figure 8 A schematic diagram illustrating configuring another different display effect for the anchor user's avatar after stopping displaying the gift avatar according to an embodiment of the present disclosure is shown;
[0027] Figure 9 A flowchart of another live broadcast room gift control method applied to a server according to an embodiment of the present disclosure is shown;
[0028] Figure 10 A flow chart of a live broadcast room gift control method applied to a viewer client according to an embodiment of the present disclosure is shown;
[0029] Figure 11 A flowchart of another live broadcast room gift control method applied to a viewer client according to an embodiment of the present disclosure is shown;
[0030] Figure 12 The following is a structural block diagram of a live broadcast room gift control device applied to a server according to an embodiment of the present disclosure;
[0031] Figure 13 A structural block diagram of another live broadcast room gift control device applied to a server according to an embodiment of the present disclosure is shown;
[0032] Figure 14 A structural block diagram of a live broadcast room gift control device applied to a viewer client according to an embodiment of the present disclosure is shown;
[0033] Figure 15 A structural block diagram of another live broadcast room gift control device applied to a viewer client according to an embodiment of the present disclosure is shown;
[0034] Figure 16 A structural block diagram of an exemplary electronic device that can be used to implement the embodiments of the present disclosure is shown. DETAILED DESCRIPTION
[0035] The following description of exemplary embodiments of the present disclosure is made in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be appreciated by those skilled in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0036] In this disclosure, unless otherwise specified, the use of terms such as "first" and "second" to describe various elements is not intended to limit the positional relationship, temporal relationship, or importance relationship of these elements. Such terms are only used to distinguish one element from another. In some examples, the first element and the second element may refer to the same instance of the element, while in some cases, based on the context of the description, they may also refer to different instances.
[0037] The terms used in the descriptions of the various examples described in this disclosure are for the purpose of describing specific examples only and are not intended to be limiting. Unless the context clearly indicates otherwise, if the number of elements is not specifically limited, the element may be one or more. In addition, the term "and / or" used in this disclosure encompasses any one and all possible combinations of the listed items.
[0038] As live streaming continues to expand, it's no longer limited to live broadcasts featuring real people. Instead, various virtualization technologies can be used to generate virtual hosts, and virtual broadcasts can be conducted based on these hosts. The inventors note that currently, virtual live broadcast rooms created using virtualization technologies only virtualize the host and the live broadcast scene. Furthermore, gifts given by viewers during a live broadcast are displayed only in a specific gift display area and have no impact on the live broadcast content. This results in less interaction between viewers and the host, reducing user immersion in the live broadcast.
[0039] In light of this, embodiments of the present disclosure provide a method for controlling gifts in a live broadcast room. This method can simulate the interaction between virtual gifts and the host user's avatar, expand the operability of virtual gifts, and diversify the live broadcast content. This enables direct interaction between the host user and the audience users, increasing user immersion during the live broadcast and thus enhancing the user experience of the live broadcast platform. Furthermore, by providing a vibration effect when simulating the interaction between virtual gifts and the host user's avatar, the live broadcast content can be enriched in multiple dimensions, further expanding the diversity of interactions between the audience users and the host user.
[0040] The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0041] Figure 1 FIG2 is a schematic diagram of an exemplary system 100 in which the various methods and apparatuses described herein may be implemented according to an embodiment of the present disclosure. Figure 1 , system 100 includes one or more client devices 101, 102, 103, 104, 105, and 106, a server 120, and one or more communication networks 110 coupling the one or more client devices to the server 120. The client devices 101, 102, 103, 104, 105, and 106 may be configured to execute one or more applications. It should be understood that although Figure 1 Only six client devices are depicted, but the present disclosure can support any number of client devices.
[0042] In an embodiment of the present disclosure, the server 120 may run one or more services or software applications that enable execution of the live broadcast room gift control method as described in the present disclosure.
[0043] In some embodiments, server 120 may also provide other services or software applications that may include non-virtualized environments and virtualized environments. In some embodiments, these services may be provided as web-based services or cloud services, such as provided to users of client devices 101, 102, 103, 104, 105, and / or 106 under a software as a service (SaaS) model.
[0044] exist Figure 1 In the configuration shown, the server 120 may include one or more components that implement the functions performed by the server 120. These components may include software components, hardware components, or a combination thereof that can be executed by one or more processors. Users operating client devices 101, 102, 103, 104, 105, and / or 106 may, in turn, utilize one or more client applications to interact with the server 120 to utilize the services provided by these components. It should be understood that a variety of different system configurations are possible, which may differ from the system 100. Therefore, Figure 1 is one example of a system for implementing the various methods described herein and is not intended to be limiting.
[0045] A user may use client devices 101, 102, 103, 104, 105, and / or 106 to initiate communication with server 120. The client device may provide an interface that enables a user of the client device to interact with the client device. The client device may also output information to the user via the interface.
[0046] Client devices 101, 102, 103, 104, 105, and / or 106 may include various types of computer devices, such as portable handheld devices, general-purpose computers (such as personal computers and laptops), workstation computers, wearable devices, smart screen devices, self-service terminal devices, service robots, gaming systems, thin clients, various messaging devices, sensors or other sensing devices, etc. These computer devices may run various types and versions of software applications and operating systems, such as Microsoft Windows, Apple iOS, UNIX-like operating systems, Linux, or Linux-like operating systems (such as Google Chrome OS); or include various mobile operating systems, such as Microsoft Windows Mobile OS, iOS, Windows Phone, and Android. Portable handheld devices may include cellular phones, smartphones, tablet computers, personal digital assistants (PDAs), etc. Wearable devices may include head-mounted displays (such as smart glasses) and other devices. Gaming systems may include various handheld gaming devices, internet-enabled gaming devices, etc. Client devices are capable of executing a variety of different applications, such as various internet-related applications, communication applications (such as email applications), and short message service (SMS) applications, and may use various communication protocols.
[0047] The network 110 may be any type of network known to those skilled in the art that can support data communications using any of a variety of available protocols, including but not limited to TCP / IP, SNA, IPX, etc. By way of example only, the one or more networks 110 may be a local area network (LAN), an Ethernet-based network, a token ring, a wide area network (WAN), the Internet, a virtual network, a virtual private network (VPN), an intranet, an extranet, a public switched telephone network (PSTN), an infrared network, a wireless network (e.g., Bluetooth, WIFI), and / or any combination of these and / or other networks.
[0048] Server 120 may include one or more general-purpose computers, specialized server computers (e.g., PC (personal computer) servers, UNIX servers, mid-range servers), blade servers, mainframe computers, server clusters, or any other suitable arrangement and / or combination. Server 120 may include one or more virtual machines running virtual operating systems, or other computing architectures involving virtualization (e.g., one or more flexible pools of logical storage devices that may be virtualized to maintain a server's virtual storage device). In various embodiments, server 120 may run one or more services or software applications that provide the functionality described below.
[0049] The computing units in the server 120 may run one or more operating systems including any of the operating systems described above as well as any commercially available server operating systems. The server 120 may also run any of a variety of additional server applications and / or middle-tier applications, including HTTP servers, FTP servers, CGI servers, JAVA servers, database servers, and the like.
[0050] In some implementations, server 120 may include one or more applications to analyze and consolidate data feeds and / or event updates received from users of client devices 101, 102, 103, 104, 105, and / or 106. Server 120 may also include one or more applications to display the data feeds and / or real-time events via one or more display devices of client devices 101, 102, 103, 104, 105, and / or 106.
[0051] In some embodiments, server 120 may be a distributed system server or a server integrated with blockchain. Server 120 may also be a cloud server, or an intelligent cloud computing server or intelligent cloud host equipped with artificial intelligence technology. A cloud server is a host product within the cloud computing service system that addresses the management difficulties and poor scalability of traditional physical hosts and virtual private servers (VPS) services.
[0052] The system 100 may also include one or more databases 130. In some embodiments, these databases can be used to store data and other information. For example, one or more of the databases 130 can be used to store information such as gift giving instructions and preset configurations. The databases 130 can reside in various locations. For example, the database used by the server 120 can be local to the server 120, or can be remote from the server 120 and can communicate with the server 120 via a network-based or dedicated connection. The databases 130 can be of different types. In some embodiments, the databases used by the server 120 can be, for example, relational databases. One or more of these databases can store, update, and retrieve data to and from the databases in response to commands.
[0053] In some embodiments, one or more of the databases 130 may also be used by applications to store application data. The databases used by the applications may be different types of databases, such as a key-value store, an object store, or a conventional store backed by a file system.
[0054] Figure 1The system 100 may be configured and operated in various ways to enable application of the various methods and apparatuses described in accordance with the present disclosure.
[0055] Figure 2 FIG. 2 shows a flow chart of a live broadcast room gift control method 200 applied to a server according to an embodiment of the present disclosure. Figure 2 As shown, method 200 may include: step S210, receiving one or more gift giving instructions from the audience client; step S220, generating one or more first virtual images corresponding to the one or more gift giving instructions; step S230, for each of the one or more first virtual images, determining whether the position of the first virtual image overlaps with the position of the second virtual image of the anchor user; step S240, in response to determining that the position of the first virtual image overlaps with the position of the second virtual image of the anchor user, configuring a first display effect for the second virtual image; and step S250, providing a live broadcast stream to the anchor client and the audience client, so that the live broadcast room is displayed at the anchor client and the audience client as a live broadcast room scene containing the one or more first virtual images and the second virtual image with the first display effect.
[0056] By generating an avatar corresponding to a gift-giving instruction and configuring a display effect for the host's avatar when a virtual gift overlaps with the host's avatar, the interaction between the virtual gift and the host's avatar can be simulated, expanding the operability of the virtual gift and diversifying live broadcast content. Furthermore, direct interaction between the virtual host and the audience can be achieved, satisfying the audience's need to create live content, effectively narrowing the distance between the audience and the host, and increasing the interaction rate.
[0057] It should be understood that the method disclosed herein can also be used for the real image of a real anchor displayed on a live broadcast page, that is, when it is determined that the position of the virtual image of the gift overlaps with the position of the real image of the real anchor displayed on the live broadcast page, a corresponding display effect is configured for the real image, such as stickers and animation effects corresponding to tears, blushing, surprised expressions, etc.
[0058] According to some embodiments of the present disclosure, method 200 may further include: for each gift giving instruction in the one or more gift giving instructions, determining the gift category corresponding to the gift giving instruction; and determining the number of gift giving instructions under each gift category, and wherein step S220, generating one or more first virtual images corresponding to the one or more gift giving instructions may include: for each gift category, in response to determining that the number of gift giving instructions under the gift category exceeds a predetermined threshold, generating a first virtual image corresponding to the gift category.
[0059] According to some embodiments, the gift category may be specific to each live broadcast platform, such as rocket, heart, yacht, etc. When the same gift giving instruction is received, the gift category corresponding to the gift giving instruction may be incremented by 1. When the number of gift giving instructions under the gift category exceeds a predetermined threshold (e.g., 20, 50, 100, etc.), a corresponding gift avatar is generated. In some examples, the gift avatar may be a avatar that has a higher correspondence with the gift category, for example, a rocket avatar is generated for the gift category rocket, a heart avatar is generated for the gift category heart, a yacht avatar is generated for the yacht gift category, etc. In other examples, the gift avatar may also be a avatar that has a lower correspondence with the gift category, for example, a spark avatar is generated for the gift category rocket, a cupid avatar is generated for the gift category heart, a wave avatar is generated for the yacht gift category, etc.
[0060] According to other embodiments, the number of gift giving instructions may be counted without classifying the gifts, and when the number of gift giving instructions exceeds a predetermined threshold, a corresponding gift avatar may be generated.
[0061] By setting a threshold for the number of gift giving instructions for each gift category, it is possible to prevent too many gift avatars from being displayed on the live broadcast interface, thereby avoiding affecting the live broadcast content due to a cluttered live broadcast interface.
[0062] Figure 3 The flowchart of determining whether the position of the gift virtual image overlaps with the position of the host virtual image according to an embodiment of the present disclosure is shown. Figure 3 As shown, step S230, determining, for each of the one or more first virtual images, whether the position of the first virtual image overlaps with the position of the host user's second virtual image, may include: step S310, determining the motion trajectory of the first virtual image according to a first preset configuration; and step S320, determining whether the motion trajectory of the first virtual image overlaps with the position of the host user's second virtual image. Thus, any motion trajectory that suits the preferences of the host user or viewer user can be configured for the virtual gift, thereby increasing user immersion during the live broadcast and enhancing the fun of the live broadcast content.
[0063] According to some embodiments of the present disclosure, the first preset configuration may include the movement speed of one or more first avatars. For example, the movement speed of each gift avatar may be set to a constant to display the gift avatar moving at a uniform speed with a straight line trajectory.
[0064] According to some embodiments of the present disclosure, the first preset configuration may include the motion acceleration of one or more first avatars. For example, the motion acceleration of each gift avatar may be set to gravity acceleration to generate a motion trajectory with free fall characteristics.
[0065] According to some embodiments of the present disclosure, the first preset configuration may include a movement direction of one or more first avatars. For example, each gift avatar may be set to move toward the avatar of the anchor user to simulate an animation effect of the gift avatar hitting the avatar of the anchor user.
[0066] According to some embodiments of the present disclosure, the first preset configuration may include the starting position of one or more first virtual images. For example, the starting position of the gift virtual image may be any position such as the top, bottom, left or right of the live broadcast interface. For another example, after obtaining the starting position of the gift virtual image, the motion trajectory of the gift virtual image may be controlled by configuring a motion acceleration for the gift virtual image. For example, the acceleration may be the acceleration of gravity of the earth, in which case the gift virtual image has the characteristics of free fall on the earth, and the motion trajectory is a falling motion trajectory. The acceleration may also be the acceleration of gravity of the moon, in which case the gift virtual image has the characteristics of moving on the moon, and the motion trajectory is also a falling motion trajectory. The acceleration may also be zero, in which case the gift virtual image has the characteristics of weightlessness, and the motion trajectory is a floating motion trajectory.
[0067] According to some embodiments of the present disclosure, the first preset configuration may include a target position of one or more first avatars. For example, the target position of a gift avatar may be the avatar of the anchor user, simulating an animation effect of the gift avatar hitting the avatar of the anchor user.
[0068] Through the first preset configuration, a customized motion trajectory can be configured for each gift virtual image, thereby enriching the diversity of the live broadcast room display effect. For example, according to actual needs, the gift virtual image can be moved in the virtual scene of the live broadcast room according to trajectories such as lateral movement and diagonal movement to further expand the operability of the virtual gift. It should be understood that although the above examples are shown separately for illustrative and non-restrictive purposes, they can also be combined in any way. For example, the first preset configuration may include one or more of the movement speed, movement acceleration, movement direction, starting position and target position of the one or more first virtual images.
[0069] According to other embodiments of the present disclosure, the configuration of the target position and movement direction of the gift avatar by the audience user may also be received from the audience client.
[0070] Figure 4The flowchart of determining whether the motion trajectory of the gift avatar overlaps with the position of the avatar of the anchor user according to an embodiment of the present disclosure is shown. Figure 4 As shown, step S320, determining whether the motion trajectory of the first virtual image overlaps with the position of the second virtual image of the anchor user may include: step S410, generating corresponding collision bodies for the first virtual image and the second virtual image respectively; step S420, determining one or more first coordinates of the outline of the collision body corresponding to the first virtual image; step S430, determining one or more second coordinates of the outline of the collision body corresponding to the second virtual image; and step S440, in response to determining that at least one first coordinate of the one or more first coordinates is the same as at least one second coordinate of the one or more second coordinates, determining that the motion trajectory of the first virtual image overlaps with the position of the second virtual image.
[0071] According to some embodiments of the present disclosure, the Unity engine can be used to generate corresponding collision bodies for each gift virtual image and the virtual image of the anchor user. For example, the Unity engine can be used to set the collision body corresponding to the gift virtual image to a sphere. In this case, the coordinates of the outline of the spherical collision body can be determined based on the center of the sphere and the radius of the sphere. For another example, the Unity engine can be used to set the collision body corresponding to the gift virtual image to a cylinder. In this case, the coordinates of the outline of the cylindrical collision body can be determined based on the radius and height. For another example, the Unity engine can be used to set the collision body corresponding to the virtual image of the anchor user to an ellipsoid. In this case, the coordinates of the outline of the ellipsoid collision body can be determined based on the focus, major axis and minor axis.
[0072] Figure 5 The collision bodies 530 and 540 generated for the gift virtual image 510 and the anchor user's virtual image 520 in a 2D scene are shown. Figure 5 As shown, collision body 530 of gift avatar 510 may have a cylindrical outline, and collision body 540 of avatar 520 may have an ellipsoidal outline. When gift avatar 510 moves along its motion trajectory, if the coordinates of any point on the outline of collision body 530 are the same as the coordinates of any point on the outline of collision body 540, it can be determined that the motion trajectory of the gift avatar overlaps with the position of the host user's avatar.
[0073] By generating a corresponding collision volume for each gift avatar and the host user's avatar, a collision effect can be triggered when the gift avatar's trajectory overlaps with the host user's avatar's position. This enables direct interaction between the host user and the audience users based on the characteristics of the collision volume. Furthermore, based on the characteristics of the collision volume between the gift avatar and the host user's avatar, a variety of collision effects can be easily implemented for display.
[0074] It should be understood that other suitable methods can be used to generate corresponding collision bodies for each gift avatar and the anchor user's avatar, and are not limited to the Unity engine in the above example. It should also be understood that for illustrative purposes only, Figure 5 The collision body of the gift virtual image and the collision body of the anchor user's virtual image in 2D mode are shown, but in actual operation, the collision body is implemented in 3D mode. The anchor user can adjust the display effect by switching the camera's 2D mode (such as orthogonal mode) or 3D mode (such as perspective mode). In addition, the collision body generated for the gift virtual image and the anchor user's virtual image will not be displayed in the live broadcast interface. It should also be understood that other suitable algorithms can also be used to generate 2D or 3D gift virtual image models and anchor user virtual image models, so that the corresponding collision effect is triggered when the outlines of the two overlap.
[0075] Figure 6 The flowchart of configuring the display effect for the virtual image of the anchor user when the positions of the gift virtual image and the virtual image of the anchor user overlap according to an embodiment of the present disclosure is shown. Figure 6 As shown, step S240, in response to determining that the position of the first virtual image overlaps with the position of the second virtual image of the anchor user, configuring the first display effect for the second virtual image may include: step S610, determining one or more first control parameters associated with the first display effect; step S620, determining one or more second control parameters associated with the second display effect, wherein the second display effect is associated with the currently captured action of the anchor user, the action including facial expression and / or body movement; step S630, for each of the one or more first control parameters, determining whether the first control parameter corresponds to one or more second control parameters; step S640, in response to determining that the first control parameter corresponds to any second control parameter of the one or more second control parameters: assigning a first weight to the first control parameter and assigning a second weight to the corresponding second control parameter; and configuring the first display effect and the second display effect according to the first control parameter and its first weight, and the corresponding second control parameter and its second weight.
[0076] According to some embodiments of the present disclosure, the first display effect may include but is not limited to tears, blushing, surprised expression, etc. Correspondingly, the first control parameter may include but is not limited to tears parameter, blushing parameter, eye size parameter, etc.
[0077] According to some embodiments, facial capture technology can be used to capture any movements of the host user, such as squinting or laughing, and based on this, the host user's virtual image can be controlled to achieve various display effects. The second display effect can be the same as the first display effect, or it can be different from the first display effect. For example, the second display effect can include tears, blushing, surprise, leaning forward, falling, etc. Correspondingly, the second control parameters can be the same as the first control parameters, or they can be different from the first control parameters. For example, the second control parameters can include a tear parameter, a blush parameter, an eye size parameter, a body tilt angle parameter, etc.
[0078] It should be understood that the above examples are shown for illustrative purposes only and not for limiting purposes. The first control parameter and the second control parameter may also be a combination of two or more thereof, and the scope of protection claimed in the present disclosure is not limited in this respect.
[0079] According to some embodiments, if the characteristics (i.e., body parts) of the virtual image of the anchor user controlled by the first control parameter are the same as the characteristics of the virtual image of the anchor user controlled by the second control parameter, then it is determined that the first control parameter corresponds to the second control parameter (i.e., the first display effect conflicts with the second display effect). In some examples, the first display effect and the second display effect are the same (e.g., both are squinting). In this case, both control the eyes of the virtual image of the anchor user, and it can be determined that the first control parameter corresponds to the second control parameter. In other examples, the first display effect and the second display effect are different (e.g., the first display effect is a surprised stare, but the second display effect associated with the currently captured action of the anchor user is squinting). In this case, both control the eyes of the virtual image of the anchor user. Even if the first display effect is different from the second display effect, it can be determined that the first control parameter corresponds to the second control parameter. The following describes in detail how to assign weights to the first control parameter and the second control parameter in this case and configure the first display effect and the second display effect based on this.
[0080] When the gift virtual image overlaps with the virtual image of the anchor user, and the first control parameter corresponds to any second control parameter, by setting weight values for the first control parameter and the second control parameter, different priority combinations for the display results can be obtained, thereby obtaining different display results, thereby expanding the diversity of interaction between the anchor user and the audience user.
[0081] According to some embodiments of the present disclosure, continue to refer to Figure 6 In step S240, in response to determining that the position of the first virtual image overlaps with the position of the second virtual image of the anchor user, configuring the first display effect for the second virtual image may also include: in step S650, in response to determining that the first control parameter does not correspond to any second control parameter of the one or more second control parameters: configuring the first display effect according to the first control parameter; and configuring the second display effect according to the one or more second control parameters.
[0082] According to some embodiments, if it is determined that the first display effect is a sticker effect, it can be determined that the first control parameter does not correspond to any second control parameter (that is, the first display effect does not conflict with the second display effect). For example, the first display effect is the tearing effect in the sticker effect. Since the sticker effect does not involve the control of the body part features of the virtual image of the anchor user, it can be determined that the first control parameter controlling the first display effect does not correspond to any second control parameter. In this case, the tearing effect can be displayed in the form of a sticker according to the corresponding first control parameter, and the corresponding second display effect can be configured according to the second control parameter for simultaneous display. For example, the virtual image of the anchor user displays the tearing sticker effect and the squinting expression at the same time.
[0083] According to some embodiments of the present disclosure, method 200 may further include: in response to determining that the first control parameter corresponds to any second control parameter of one or more second control parameters, determining whether the first display effect associated with the first control parameter and the first display effect associated with the corresponding second control parameter can be superimposed, and wherein, assigning a first weight to the first control parameter and assigning a second weight to the corresponding second control parameter in step S640 may include: in response to determining that the first display effect associated with the first control parameter and the second display effect associated with the corresponding second control parameter cannot be superimposed, setting the first weight to 1 and setting the second weight to 0.
[0084] In some embodiments, if the first control parameter corresponds to one or more second control parameters, and the first display effect is a display effect that completely changes the expression and / or action of the anchor user's virtual image, it can be determined that the first display effect and the second display effect cannot be superimposed. Accordingly, the first display effect can be configured and displayed according to the first control parameter, while abandoning the configuration of the second display effect associated with the expression and / or action of the currently captured anchor user. In other embodiments, if the first control parameter corresponds to one or more second control parameters, and the first display effect is different from the second display effect, it can be determined that the two cannot be superimposed. For example, if the first display effect is the surprised staring effect in the "collision effect", and the second display effect is determined to be the squinting effect because the currently captured action of the anchor user is squinting, it can be determined that the first display effect and the second display effect cannot be superimposed.
[0085] In some embodiments, if the first control parameter corresponds to one or more second control parameters, it can be determined that the expression and / or action corresponding to the first display effect is the same as the expression and / or action corresponding to the second display effect to determine that the two can be superimposed. For example, if it is determined that the expression and / or action corresponding to the first display effect belongs to the first category, and it is determined that the expression and / or action corresponding to the second display effect also belongs to the first category, it can be determined that the first display effect and the second display effect can be superimposed. For example, if the first display effect corresponds to bowing the head in the action category, and because the action of the anchor user currently captured is bowing the head and it is determined that the second display effect also corresponds to bowing the head in the action category, it can be determined that the first display effect and the second display effect can be superimposed.
[0086] By setting a weight value for the first display effect that is greater than the second display effect when the first display effect and the second display effect cannot be superimposed, the "collision effect" can be given a higher priority, so that the "collision effect" is displayed first compared to the display effect determined based on the currently captured actions of the anchor user, thereby more realistically simulating the interaction between the virtual gift and the anchor user's virtual image, and enhancing the audience's immersion in the live broadcast content.
[0087] According to some other embodiments of the present disclosure, assigning a first weight to the first control parameter and assigning a second weight to the corresponding second control parameter in step S640 may also include: in response to determining that the first display effect associated with the first control parameter and the second display effect associated with the corresponding second control parameter can be superimposed, setting the first weight and the second weight to arbitrary values, for example, setting the first weight and the second weight to 50%, setting the first weight to 30% and setting the second weight to 70%, etc.
[0088] According to some embodiments of the present disclosure, the above-mentioned live broadcast room gift control method 200 may also include: obtaining the display duration of the first display effect; and wherein, configuring the first display effect and the second display effect for display according to the first control parameter and its first weight, and the corresponding second control parameter and its second weight in step S640 may include: in response to determining that the first display effect associated with the first control parameter and the second display effect associated with the corresponding second control parameter cannot be superimposed, during the display duration: configuring the first display effect according to the first control parameter; and giving up configuring the second display effect; and in response to determining that the first display effect associated with the first control parameter and the second display effect associated with the corresponding second control parameter can be superimposed, during the display duration: superimposing the first display effect and the second display effect according to the first control parameter and the corresponding second control parameter.
[0089] In some examples, such as the first display effect being the surprised staring effect in the "collision effect" mentioned above and the second display effect being determined to be the squinting effect because the currently captured action of the anchor user is squinting, since the weight assigned to the first control parameter is 1 and the weight assigned to the second control parameter is 0, only the first display effect (i.e., the surprised staring effect) will be displayed and the second display effect (i.e., the squinting effect) will be abandoned.
[0090] In other examples, such as the example in which the first display effect is the head-down effect in the "collision effect" and the second display effect is determined to be a head-down effect because the currently captured action of the anchor user is head-down, the head-down control parameter associated with the first display effect is, for example, 50%, and the head-down control parameter associated with the second display effect is, for example, 25%. The first display effect and the second display effect can be superimposed in combination with these head-down control parameters and their corresponding weights. For example, when the weight of the head-down control parameter associated with the first display effect is 50% and the weight of the head-down control parameter associated with the second display effect is also 50%, a configuration of a head-down effect of 75% relative to the normal head-down level can be obtained.
[0091] This allows for a more realistic animation effect by comprehensively considering the interaction between the gift avatar and the host user's avatar, as well as the host user's current facial expressions and body movements. It also expands the diversity of interactions between the host user and the audience, further enhancing the audience's immersion in the live content.
[0092] Figure 7 The figure schematically shows the display effect of the virtual image 720 of the anchor user when the position of the gift virtual image 710 overlaps with the position of the anchor user's virtual image 720 on the live broadcast interface 700. Figure 7As shown, the display effect can be a surprised expression 730. It should be understood that, except Figure 7 In addition to the examples shown, the display effects configured for the host user's avatar may also include seeing stars, leaning, squinting, anger, etc. Furthermore, to further enhance the audience's immersion in the live content, the host user's avatar animation effects may be accompanied by associated sound effects, such as the host making a sound like "ouch."
[0093] According to some embodiments of the present disclosure, the above-mentioned live broadcast room gift control method may also include: during the display duration, determining whether the motion trajectory of another first virtual image that is the same as the first virtual image overlaps with the position of the second virtual image; in response to determining that the motion trajectory of another first virtual image that is the same as the first virtual image overlaps with the position of the second virtual image, increasing the display duration.
[0094] During the display duration, the server can continue to receive gift giving instructions sent by the viewer client. Therefore, it is possible that a gift giving instruction identical to the gift giving instruction corresponding to the currently displayed gift avatar is received from the viewer client, or the number of identical gift giving instructions exceeds a predetermined threshold, and the same gift avatar is generated for display. In this case, if the motion trajectory of the newly generated gift avatar overlaps with the position of the anchor user's avatar again, the display duration of the first display effect configured for the anchor user's avatar can be increased. For example, continue to refer to Figure 7 When the positions of gift avatar 710 (pineapple) and host avatar 720 overlap, a surprised expression is configured as an animation effect for host avatar 720 and displayed for the duration of the display. When another gift avatar (pineapple) is generated and collides with the head of host avatar 720, the duration of the surprised expression can be extended (for example, from 5 seconds to 10 seconds), without having to wait for the host avatar's expression to resume and then configure the surprised expression again.
[0095] This further enriches the diversity of the live broadcast room display effects, makes the host user's reaction to the gifts given by the audience users more realistic, and increases the fun of the live broadcast content.
[0096] According to some embodiments of the present disclosure, assigning a first weight to the first control parameter and a second weight to the corresponding second control parameter in step S640 may further include gradually decreasing the first weight and gradually increasing the second weight over a predetermined period of time after the display duration. By gradually decreasing the first weight and gradually increasing the second weight during the transition period, the priority of the "collision effect" can be adjusted, simulating a transition animation effect in which the host user's avatar transitions from an animation effect caused by a "collision" to an animation effect based on the currently captured motion of the host user.
[0097] According to some embodiments, the predetermined time period may be any time period such as 3 seconds, 5 seconds, or 10 seconds, and the scope of protection claimed in the present disclosure is not limited in this respect.
[0098] According to some embodiments, if the first display effect associated with the first control parameter and the second display effect associated with the corresponding second control parameter cannot be superimposed, then during a predetermined time period, when the first weight decreases to less than the second weight, the configuration of the first display effect is abandoned, and the second display effect is configured for display according to the corresponding second control parameter. For example, in the above example where the first display effect is a surprised staring effect and the second display effect is a squinting effect, and it is determined that superposition cannot be performed, the weight assigned to the first control parameter will gradually decrease from 1, and the weight assigned to the second control parameter will gradually increase from 0. When the weight assigned to the first control parameter decreases to less than the weight assigned to the second control parameter, the display of the first display effect (i.e., the surprised staring effect) will be abandoned, and only the second display effect (i.e., the squinting effect) will be displayed, thereby simulating the host user's real reaction to the "collision".
[0099] According to other embodiments, if a first display effect associated with the first control parameter and a second display effect associated with the corresponding second control parameter are capable of being superimposed, then during a predetermined time period, the first and second display effects are superimposed for display based on the first control parameter and its first weight, as well as the corresponding second control parameter and its second weight. For example, in the example described above, where the first display effect is the "bow effect" in the "collision effect," and the second display effect is determined to be a bow effect because the currently captured action of the anchor user is bowing, and thus the first and second display effects are determined to be superimposed, the bow control parameter associated with the first display effect is, for example, 50%, and the bow control parameter associated with the second display effect is, for example, 25%. In this case, the first and second display effects can be superimposed based on these bow control parameters and their corresponding weights. For example, if the weight of the bow control parameter associated with the first display effect is 50%, and the weight of the bow control parameter associated with the second display effect is also 50%, a bow effect with a bow level of 75% relative to the normal state can be configured.
[0100] With the change of the priority of the "collision effect", the interaction between the virtual image of the anchor user and the virtual image of the gift can be simulated more realistically, which is conducive to enhancing the audience's immersion in the live broadcast.
[0101] According to some embodiments of the present disclosure, the above-mentioned live broadcast room gift control method may further include: after a predetermined time period, configuring a third display effect for the second virtual image that is different from the first display effect and the second display effect.
[0102] According to some embodiments, the third display effect may include any facial expression or body movement of the anchor user's virtual image. For example, Figure 8 The figure schematically shows that after the display of the gift avatar is stopped, another different display effect is configured for the avatar of the anchor user on the live interface 800. Figure 8 As shown, the anchor user's virtual image 810 is Figure 7 The surprised expression 730 in the video is transformed into a sweating expression 820 and a blushing expression 830, and a tie-pulling action 840 is also configured for them.
[0103] After the "collision effect" ends, by configuring a different display effect for the anchor user's virtual image, the interaction between the audience and the anchor user can be further diversified. At the same time, a more realistic virtual live broadcast scene is created for the audience users.
[0104] According to some embodiments of the present disclosure, the first display effect is determined according to a first preset configuration.
[0105] For example, if the starting position of the gift avatar is determined to be far from the host user's avatar according to the first preset configuration (for example, exceeding a preset threshold), the first display effect can be set to tears and squinting. If the starting position of the gift avatar is determined to be close to the host user's avatar according to the first preset configuration (for example, less than the preset threshold), the first display effect can be set to only tears.
[0106] Similarly, if the gift avatar's movement speed is determined to be high (e.g., exceeding a preset threshold) according to the first preset configuration, the first display effect may be set to stare and lean. If the gift avatar's movement speed is determined to be low (e.g., less than the preset threshold) according to the first preset configuration, the first display effect may be set to stare only.
[0107] It should be understood that the above examples are shown for illustrative purposes only, and the corresponding first display effect can also be determined based on the first preset configuration including factors such as the motion acceleration, motion direction, target position, etc. of the gift virtual image.
[0108] The display effect of the host user's virtual image is determined according to the first preset configuration of the motion information indicating the gift virtual image, which further enhances the authenticity and fun of the interaction between the virtual gift and the host user, thereby helping to increase the audience user's stickiness to the live broadcast content.
[0109] According to some embodiments of the present disclosure, in response to determining that the position of the gift virtual image overlaps with the position of the anchor user's virtual image, the motion trajectory of the gift virtual image can also be changed. For example, if the motion trajectory of the gift virtual image is a falling motion trajectory and has free-fall characteristics, it collides with the head of the anchor user's virtual image during the falling process. In this scenario, the live broadcast interface can display that the gift virtual image has deviated from the original motion trajectory due to the collision, such as tilting to one side and showing a rebound effect (related to the current speed, acceleration, etc. of the gift virtual image), and then continues to free fall. If the gift virtual image continues to overlap and collide with the outline of the anchor user's virtual image in the subsequent free fall, the motion trajectory of the gift virtual image can be further changed until it reaches the bottom of the live broadcast interface.
[0110] According to some embodiments of the present disclosure, in response to determining that the position of the gift avatar overlaps with the position of the anchor user's avatar, a display effect may be configured for the gift avatar. Figure 7 , which schematically shows the display effect of the collision spark configured for the gift virtual image 710 when the position of the gift virtual image 710 overlaps with the position of the anchor user's virtual image 720. It should be understood that except Figure 7 In addition to the examples shown, the display effects configured for the gift avatar can also include effects such as the gift avatar cracking or emitting colorful light spots. In addition, to further enhance the viewer's immersion in the live broadcast content, it is also possible to play associated sound effects such as collision or explosion sounds while displaying the animation effects of the gift avatar.
[0111] By configuring a corresponding display effect for the gift avatar or altering its trajectory when its position overlaps with the host's avatar, a realistic collision effect can be simulated, satisfying viewers' creative needs for live content and enhancing their sense of engagement. This not only increases user immersion during the live broadcast but also makes it more engaging, thereby strengthening the stickiness of the live content with viewers.
[0112] It should be understood that when the position of the gift virtual image overlaps with the position of the virtual image of the anchor user, each of the above two operations can be performed separately or simultaneously.
[0113] Figure 9FIG. 9 is a flow chart showing another live room gift control method 900 applied to a server according to an embodiment of the present disclosure. Figure 9 As shown, method 900 may include: step S910, receiving one or more gift giving instructions from the audience client; step S920, generating one or more first virtual images corresponding to the one or more gift giving instructions; step S930, for each of the one or more first virtual images, determining whether the position of the first virtual image overlaps with the position of the second virtual image of the anchor user; and step S940, in response to determining that the position of the first virtual image overlaps with the position of the second virtual image of the anchor user, providing configuration information associated with the vibration effect to the anchor client and the audience client.
[0114] By configuring vibration effects for the "collision effect," live broadcast content can be enriched in multiple dimensions, further expanding the diversity of interactions between viewers and hosts. At the same time, a more realistic virtual live broadcast scene is created for viewers.
[0115] It should be understood that the above-mentioned live broadcast room gift control method disclosed in the present invention can also be used for the real image of the real anchor displayed in the live broadcast page, that is, when it is determined that the position of the virtual image of the gift overlaps with the position of the real image of the real anchor displayed in the live broadcast page, the configuration information associated with the vibration effect is configured.
[0116] It should also be understood that the operations, features, elements, etc. included in steps S910, S920, and S930 of the live broadcast room gift control method 900 may correspond to the operations, features, elements, etc. included in the corresponding steps S210, S220, and S230 of the live broadcast room gift control method 200, and reference has been made to the above steps S910, S920, and S930. Figure 2-Figure 4 and Figure 6 Therefore, the advantages described above for these steps in the live broadcast room gift control method 200 are also applicable to the corresponding steps in the live broadcast room gift control method 900. For the sake of brevity, certain operations, features and advantages are not repeated here.
[0117] According to some embodiments, when the position of the gift virtual image is determined to overlap with the position of the virtual image of the anchor user via the server, the determination information can be transmitted to the anchor client, and a vibration start instruction is generated via the anchor client. Then, the vibration start instruction can be transmitted to the server as a whole together with the live stream (video stream) by a live streaming tool (e.g., OBS software). When the server receives the vibration start instruction and the whole of the live stream, the vibration start instruction is demodulated therefrom and vibration parameters associated with the vibration effect are provided for each client that supports vibration effects. For example, if the client is a mobile phone terminal, the vibration of the mobile phone terminal can be triggered, and if the client is a tablet computer, a laptop computer, etc., the vibration of the handle can be triggered when it is detected that the client is connected to an input device such as a handle.
[0118] According to some embodiments of the present disclosure, the configuration information associated with the vibration effect may include a preset duration for one or more first virtual images. For example, the duration of the vibration effect can be configured by the anchor client or the audience client, or the duration of the vibration effect can be configured as the default duration of the live broadcast platform. For example, each time the gift virtual image "collides" with the virtual image of the anchor user, the default vibration duration of the live broadcast platform may be 1 frame (60 milliseconds), etc. When the duration ends, the vibration end instruction can be transmitted to the server together with the live stream (video stream) as a whole through the live streaming tool (for example, OBS software). When the server receives the vibration end instruction and the live stream as a whole, it demodulates the vibration end instruction from it and notifies each client that supports the vibration effect to end the vibration effect.
[0119] According to other embodiments of the present disclosure, the configuration information associated with the vibration effect may include a preset vibration intensity for one or more first avatars to determine the vibration effect. For example, the vibration intensity of the vibration effect can be configured by the host client or the viewer client, or the vibration intensity of the vibration effect can be configured to the default vibration intensity of the live broadcast platform. For example, each time the gift avatar "collides" with the host user's avatar, the live broadcast platform's default vibration intensity may be 10% intensity, etc.
[0120] In some examples, the vibration effect can be provided via the left motor and the right motor in the client device or an external input device of the client device (such as a controller, etc.). In this case, the configuration information associated with the vibration effect can also include information indicating whether the left motor vibrates, the right motor vibrates, or the left and right motors vibrate simultaneously, as well as the corresponding vibration intensity.
[0121] According to some embodiments of the present disclosure, configuration information associated with a vibration effect can be determined based on a preset configuration, where the preset configuration includes one or more of the following: the starting position, target position, motion speed, motion acceleration, and motion direction of one or more first virtual avatars. In some examples, the vibration effect can be determined based on the starting position of the one or more first virtual avatars included in the first preset configuration. For example, if the starting position is far from the location of the host user's virtual avatar, a longer duration and greater vibration intensity can be configured. In other examples, the vibration effect can be determined based on the motion speed of the one or more first virtual avatars included in the first preset configuration. For example, if the motion speed is high, a longer duration and greater vibration intensity can be configured. In still other examples, the vibration effect can be determined based on the motion acceleration of the one or more first virtual avatars included in the first preset configuration. For example, if the motion acceleration is high, a longer duration and greater vibration intensity can be configured. In yet other examples, the vibration effect can be determined based on two or more of the starting position, motion speed, and motion acceleration.
[0122] By determining the configuration information associated with the vibration effect through preset configuration, such as preset duration and preset vibration effect, a specific vibration effect can be configured for each "collision effect" and the vibration effect can be associated with the virtual gift image. This not only increases the audience's sense of reality in the live broadcast room, but also further enriches the interactive diversity of the live broadcast room.
[0123] Figure 10 FIG. 1 shows a flow chart of a live broadcast room gift control method 1000 applied to a viewer client according to an embodiment of the present disclosure. Figure 10 As shown, the live broadcast room gift control method 1000 may include: step S1010, sending one or more gift giving instructions; step S1020, receiving a live stream of the live broadcast room from the server, the live stream including one or more first virtual images corresponding to the one or more gift giving instructions, the second virtual image of the anchor user and its display effect; and step S1030, displaying the one or more first virtual images and the second virtual image with the display effect based on the live stream, wherein the one or more first virtual images are generated according to the live broadcast room gift control method 200 applied to the server of the present disclosure, and wherein the display effect is determined according to the live broadcast room gift control method 200 applied to the server of the present disclosure.
[0124] It should be understood that the operations, features, elements, etc. included in each step of the live broadcast room gift control method 1000 may correspond to the operations, features, elements, etc. included in each step of the live broadcast room gift control method 200, and reference has been made to Figure 2-Figure 4 and Figure 6 Therefore, the advantages described above for the live broadcast room gift control method 200 are also applicable to the live broadcast room gift control method 1000. For the sake of brevity, certain operations, features and advantages are not repeated here.
[0125] Figure 11 FIG. 1 shows a flow chart of a live broadcast room gift control method 1100 applied to a viewer client according to an embodiment of the present disclosure. Figure 11 As shown, the live broadcast room gift control method 1100 may include: step S1110, sending one or more gift giving instructions; step S1120, receiving the live broadcast stream of the live broadcast room and configuration information associated with the vibration effect from the server, the live broadcast stream including one or more first virtual images corresponding to the one or more gift giving instructions and the second virtual image of the anchor user; and step S1130, based on the configuration information, configuring the associated vibration effect for the audience client, wherein the one or more first virtual images are generated according to the live broadcast room gift control method 900 applied to the server of the present disclosure, and wherein the configuration information is provided according to the live broadcast room gift control method 900 applied to the server of the present disclosure.
[0126] It should be understood that the operations, features, elements, etc. included in each step of the live broadcast room gift control method 1100 may correspond to the operations, features, elements, etc. included in each step of the live broadcast room gift control method 900, and reference has been made to the above. Figure 9 Therefore, the advantages described above for the live broadcast room gift control method 900 are also applicable to the live broadcast room gift control method 1100. For the sake of brevity, certain operations, features and advantages are not repeated here.
[0127] Figure 12 FIG. 1 shows a structural block diagram of a live broadcast room gift control device 1200 applied to a server according to an embodiment of the present disclosure. Figure 12As shown, the live broadcast room gift control device 1200 may include: a receiving unit 1210, configured to receive one or more gift giving instructions from an audience client; a generating unit 1220, configured to generate one or more first virtual images corresponding to the one or more gift giving instructions; a determining unit 1230, configured to determine, for each of the one or more first virtual images, whether the position of the first virtual image overlaps with the position of the second virtual image of the anchor user; a configuring unit 1240, configured to configure a display effect for the second virtual image in response to determining that the position of the first virtual image overlaps with the position of the second virtual image of the anchor user; and a providing unit 1250, configured to provide a live broadcast stream to the anchor client and the audience client, so that the live broadcast room is displayed at the anchor client and the audience client as a live broadcast room scene containing the one or more first virtual images and the second virtual image with the display effect.
[0128] According to some embodiments of the present disclosure, the configuration unit 1240 may include: a first control parameter determination unit, configured to determine one or more first control parameters associated with a first display effect; a second control parameter determination unit, configured to determine one or more second control parameters associated with a second display effect, wherein the second display effect is associated with a currently captured action of the anchor user, the action including an expression action and / or a body action; a corresponding unit, configured to determine, for each of the one or more first control parameters, whether the first control parameter corresponds to one or more second control parameters; a weight assignment unit, configured to, in response to determining that the first control parameter corresponds to any second control parameter of the one or more second control parameters, assign a first weight to the first control parameter and assign a second weight to the corresponding second control parameter; and a first configuration subunit, configured to, in response to determining that the first control parameter corresponds to any second control parameter of the one or more second control parameters, configure the first display effect and the second display effect according to the first control parameter and its first weight, and the corresponding second control parameter and its second weight.
[0129] According to some embodiments of the present disclosure, the configuration unit 1240 may further include: a second configuration subunit, configured to configure the first display effect according to the first control parameter in response to determining that the first control parameter does not correspond to any second control parameter in one or more second control parameters; and a third configuration subunit, configured to configure the second display effect according to one or more second control parameters in response to determining that the first control parameter does not correspond to any second control parameter in one or more second control parameters.
[0130] According to some embodiments of the present disclosure, the live broadcast room gift control device 1200 may also include: a superposition unit, configured to determine whether the first display effect associated with the first control parameter and the second display effect associated with the corresponding second control parameter can be superimposed in response to determining that the first control parameter corresponds to any second control parameter of one or more second control parameters; and wherein the weight allocation unit may include: a unit configured to set the first weight to 1 and the second weight to 0 in response to determining that the first display effect associated with the first control parameter and the second display effect associated with the corresponding second control parameter cannot be superimposed.
[0131] According to some embodiments of the present disclosure, the live broadcast room gift control device 1200 may also include: a unit configured to obtain the display duration of the first display effect, and wherein the first configuration subunit may include: a unit configured to, in response to determining that the first display effect associated with the first control parameter and the second display effect associated with the corresponding second control parameter cannot be superimposed, configure the first display effect according to the first control parameter during the display duration and abandon configuring the second display effect; and a unit configured to, in response to determining that the first display effect associated with the first control parameter and the second display effect associated with the corresponding second control parameter can be superimposed, superimpose the first display effect and the second display effect according to the first control parameter and its weight and the corresponding second control parameter and its weight during the display duration.
[0132] According to some embodiments of the present disclosure, the live broadcast room gift control device 1200 may also include: a unit configured to determine whether the position of another first virtual image that is identical to the first virtual image overlaps with the position of the second virtual image during the display duration; and a unit configured to increase the display duration in response to determining that the position of another first virtual image that is identical to the first virtual image overlaps with the position of the second virtual image.
[0133] According to some embodiments of the present disclosure, the weight allocating unit may further include: a unit configured to gradually reduce the first weight and gradually increase the second weight within a predetermined period of time after the display duration.
[0134] According to some embodiments of the present disclosure, the first configuration subunit may include: a unit configured to, in response to determining that the first display effect associated with the first control parameter and the second display effect associated with the corresponding second control parameter cannot be superimposed, abandon configuring the first display effect during a predetermined time period when the first weight decreases to less than the second weight, and configure the second display effect according to the corresponding second control parameter; and a unit configured to, in response to determining that the first display effect associated with the first control parameter and the second display effect associated with the corresponding second control parameter can be superimposed, superimpose the first display effect and the second display effect according to the first control parameter and its first weight, and the corresponding second control parameter and its second weight during a predetermined time period.
[0135] According to some embodiments of the present disclosure, the live broadcast room gift control device 1200 may further include: a unit configured to configure a third display effect different from the first display effect and the second display effect for the second virtual image after a predetermined time period.
[0136] According to some embodiments of the present disclosure, the live broadcast room gift control device 1200 may also include: a unit configured to determine the gift category corresponding to each of the one or more gift giving instructions; and a unit configured to determine the number of gift giving instructions under each gift category, and wherein the generation unit 1220 may include: a unit configured to generate a first virtual image corresponding to the gift category for each gift category in response to determining that the number of gift giving instructions under the gift category exceeds a predetermined threshold.
[0137] According to some embodiments of the present disclosure, the determination unit 1230 may include: a motion trajectory determination unit, configured to determine the motion trajectory of the first virtual image according to a first preset configuration; and an overlapping unit, configured to determine whether the motion trajectory of the first virtual image overlaps with the position of the second virtual image of the anchor user.
[0138] According to some embodiments of the present disclosure, the first preset configuration may include one or more of the following: a starting position of one or more first virtual images; a target position of one or more first virtual images; a movement speed of one or more first virtual images; a movement acceleration of one or more first virtual images; and a movement direction of one or more first virtual images.
[0139] According to some embodiments of the present disclosure, the overlapping unit may include: a unit configured to generate corresponding collision bodies for the first virtual image and the second virtual image respectively; a unit configured to determine one or more first coordinates of the outline of the collision body corresponding to the first virtual image; a unit configured to determine one or more second coordinates of the outline of the collision body corresponding to the second virtual image; and a unit configured to determine that the motion trajectory of the first virtual image overlaps with the position of the second virtual image in response to determining that at least one first coordinate of the one or more first coordinates is the same as at least one second coordinate of the one or more second coordinates.
[0140] According to some embodiments of the present disclosure, the first display effect is determined according to a first preset configuration.
[0141] According to some embodiments of the present disclosure, the live broadcast room gift control device 1200 may also include: a unit configured to change the motion trajectory of the first virtual image in response to determining that the position of the first virtual image overlaps with the position of the second virtual image of the anchor user; and / or a unit configured to configure a fourth display effect for the first virtual image in response to determining that the position of the first virtual image overlaps with the position of the second virtual image of the anchor user.
[0142] It should be understood that Figure 12 The various units 1210-1250 of the apparatus 1200 shown in FIG can be compared with the reference Figure 2 The steps S210-S250 in the method 200 described above correspond to each other. Therefore, the operations, features and advantages described above for the method 200 are also applicable to the apparatus 1200 and the units included therein. For the sake of brevity, some operations, features and advantages are not described in detail here. Figure 13 FIG. 1 shows a structural block diagram of another live broadcast room gift control device 1300 applied to a server according to an embodiment of the present disclosure. Figure 13 The live broadcast room gift control device 1300 may include: a receiving unit 1310, configured to receive one or more gift giving instructions from an audience client; a generating unit 1320, configured to generate one or more first virtual images corresponding to the one or more gift giving instructions; a determining unit 1330, configured to determine, for each of the one or more first virtual images, whether the position of the first virtual image overlaps with the position of the second virtual image of the anchor user; and a providing unit 1340, configured to provide configuration information including a vibration effect to the anchor client and / or the audience client in response to determining that the position of the first virtual image overlaps with the position of the second virtual image of the anchor user.
[0143] According to some embodiments of the present disclosure, the configuration information associated with the vibration effect includes: a preset duration for one or more first virtual images; and / or a preset vibration intensity for one or more first virtual images.
[0144] According to some embodiments of the present disclosure, configuration information associated with the vibration effect is determined based on a preset configuration, and the preset configuration includes one or more of the following: a starting position, a target position, a movement speed, a movement acceleration, and a movement direction of one or more first virtual images.
[0145] It should be understood that Figure 13 The various units 1310-1340 of the apparatus 1300 shown in FIG can be compared with the reference Figure 9 The steps S910-S940 in the method 900 described above correspond to each other. Therefore, the operations, features and advantages described above for the method 900 are also applicable to the apparatus 1300 and the units included therein. For the sake of brevity, some operations, features and advantages are not repeated here.
[0146] Figure 14 FIG. 1 shows a structural block diagram of a live broadcast room gift control device 1400 applied to a viewer client according to an embodiment of the present disclosure. Figure 14 As shown, the live broadcast room gift control device 1400 may include: a sending unit 1410, configured to send one or more gift giving instructions; a receiving unit 1420, configured to receive a live stream of the live broadcast room from a server, the live stream including one or more first virtual images corresponding to the one or more gift giving instructions, a second virtual image of the anchor user and its display effect; and a display unit 1430, configured to display the one or more first virtual images and the second virtual image with the display effect based on the live stream, wherein the one or more virtual images are generated according to the live broadcast room gift control method 200 applied to the server of the present disclosure, and wherein the display effect is determined according to the live broadcast room gift control method 200 applied to the server of the present disclosure.
[0147] It should be understood that Figure 14 The various units 1410-1430 of the apparatus 1400 shown in FIG can be compared with the reference Figure 10 The steps S1010-S1030 in the method 1000 described above correspond to each other. Therefore, the operations, features and advantages described above for the method 1000 are also applicable to the apparatus 1400 and the units included therein. For the sake of brevity, some operations, features and advantages are not described here in detail.
[0148] Figure 15 FIG. 1 shows a structural block diagram of a live broadcast room gift control device 1500 applied to an audience client according to an embodiment of the present disclosure. Figure 15 As shown, the live broadcast room gift control device 1500 may include: a sending unit 1510, configured to send one or more gift giving instructions; a receiving unit 1520, configured to receive a live stream of the live broadcast room and configuration information associated with a vibration effect from a server, the live stream including one or more first virtual images corresponding to the one or more gift giving instructions and a second virtual image of the anchor user; and a configuration unit 1530, configured to configure an associated vibration effect for the audience client based on the configuration information, wherein the one or more first virtual images are generated according to the live broadcast room gift control method 900 applied to the server of the present disclosure, and wherein the configuration information is provided according to the live broadcast room gift control method 900 applied to the server of the present disclosure.
[0149] It should also be understood that various techniques may be described herein in the general context of software hardware elements or program modules. Figure 12-15 The various units described may be implemented in hardware or in hardware in combination with software and / or firmware. For example, these units may be implemented as computer program code / instructions that are configured to be executed in one or more processors and stored in a computer-readable storage medium. Alternatively, these units may be implemented as hardware logic / circuits. For example, in some embodiments, one or more of the receiving unit 1210, the generating unit 1220, the determining unit 1230, the configuring unit 1240, and the providing unit 1250, or the receiving unit 1310, the generating unit 1320, the determining unit 1330, and the providing unit 1340, or the sending unit 1410, the receiving unit 1420, and the display unit 1430, or the sending unit 1510, the receiving unit 1520, and the configuring unit 1530 may be implemented together in a system on chip (SoC). The SoC may include an integrated circuit chip (which includes a processor (e.g., a central processing unit (CPU), a microcontroller, a microprocessor, a digital signal processor (DSP), etc.), a memory, one or more communication interfaces, and / or one or more components in other circuits), and may optionally execute received program code and / or include embedded firmware to perform functions.
[0150] According to another aspect of the present disclosure, an electronic device is also provided, comprising: at least one processor; and at least one memory communicatively connected to the at least one processor; wherein the at least one memory stores a computer program, and the computer program implements the above-mentioned live broadcast room gift control method when executed by the at least one processor.
[0151] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing a computer program is also provided, wherein the computer program implements the above-mentioned live broadcast room gift control method when executed by a processor.
[0152] According to another aspect of the present disclosure, a computer program product is also provided, including a computer program, wherein the computer program implements the above-mentioned live broadcast room gift control method when executed by a processor.
[0153] See also Figure 16 , a block diagram of an electronic device 1600 that can serve as a server of the present disclosure will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device can be different types of computer devices, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0154] like Figure 16 As shown, the electronic device 1600 may include at least one processor 1610 , a working memory 1620 , an input unit 1640 , a display unit 1650 , a speaker 1660 , a storage unit 1670 , a communication unit 1680 , and other output units 1690 , which can communicate with each other via a system bus 1630 .
[0155] The processor 1610 may be a single processing unit or multiple processing units, all of which may include a single or multiple computing units or multiple cores. The processor 1610 may be implemented as one or more microprocessors, microcomputers, microcontrollers, digital signal processors, central processing units, state machines, logic circuits, and / or any device that manipulates signals based on operational instructions. The processor 1610 may be configured to retrieve and execute computer-readable instructions stored in the working memory 1620, the storage unit 1670, or other computer-readable media, such as program code of an operating system 1620a, program code of an application program 1620b, and the like.
[0156] The working memory 1620 and the storage unit 1670 are examples of computer-readable storage media for storing instructions that are executed by the processor 1610 to implement the various functions described above. The working memory 1620 may include both volatile memory and non-volatile memory (e.g., RAM, ROM, etc.). In addition, the storage unit 1670 may include a hard drive, a solid-state drive, removable media, including external and removable drives, memory cards, flash memory, floppy disks, optical disks (e.g., CDs, DVDs), storage arrays, network attached storage, storage area networks, etc. The working memory 1620 and the storage unit 1670 may all be collectively referred to herein as memory or computer-readable storage media, and may be non-transitory media capable of storing computer-readable, processor-executable program instructions as computer program code, which may be executed by the processor 1610 as a specific machine configured to implement the operations and functions described in the examples herein.
[0157] The input unit 1660 may be any type of device capable of inputting information into the electronic device 1600. The input unit 1660 may receive input digital or character information, and generate key signal input related to user settings and / or function control of the electronic device, and may include but is not limited to a mouse, a keyboard, a touch screen, a trackpad, a trackball, a joystick, a microphone and / or a remote control. The output unit may be any type of device capable of presenting information, and may include but is not limited to a display unit 1650, a speaker 1660, and other output units 1690. Other output units 1690 may include, but are not limited to, video / audio output terminals, vibrators, and / or printers. The communication unit 1680 allows the electronic device 1600 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks, and may include but is not limited to a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as Bluetooth. TM devices, 802.11 devices, Wi-Fi devices, WiMAX devices, cellular communication devices, and / or the like.
[0158] The application program 1620b in the working register 1620 can be loaded to execute the various methods and processes described above, such as Figure 2 Steps S210-S250, Figure 3 Steps S310-S320, Figure 4 Steps S410-S440, Figure 6 Steps S610-S650, Figure 9 Steps S910-S940 in Figure 10 Steps S1010-S1030, Figure 11For example, in some embodiments, the various methods described above may be implemented as a computer software program that is tangibly contained in a machine-readable medium, such as the storage unit 1670. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 1600 via the storage unit 1670 and / or the communication unit 1680. When the computer program is loaded and executed by the processor 1610, one or more steps of the methods 200, 900, 1000, and 1100 described above may be performed. Alternatively, in other embodiments, the processor 1610 may be configured to perform the methods 200, 900, 1000, and 1100 in any other appropriate manner (e.g., by means of firmware).
[0159] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0160] The program code for implementing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0161] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0162] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0163] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), and the Internet.
[0164] Computer systems may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The client and server relationship arises through computer programs running on the respective computers and having a client-server relationship to each other.
[0165] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved. This is not limited herein.
[0166] Although the embodiments or examples of the present disclosure have been described with reference to the accompanying drawings, it should be understood that the above-mentioned methods, systems and devices are merely exemplary embodiments or examples, and the scope of the present invention is not limited by these embodiments or examples, but is only limited by the claims after authorization and their equivalents. Various elements in the embodiments or examples may be omitted or replaced by their equivalents. In addition, the steps may be performed in an order different from that described in this disclosure. Further, the various elements in the embodiments or examples may be combined in various ways. It is important that as technology evolves, many of the elements described herein may be replaced by equivalent elements that appear after this disclosure.
Claims
1. A live broadcast room gift control method, applied to a server, comprising: receiving one or more gift giving instructions from a viewer client; generating one or more first avatars corresponding to the one or more gift giving instructions; For each of the one or more first virtual images, determining whether a position of the first virtual image overlaps with a position of a second virtual image of the anchor user; In response to determining that the position of the first virtual image overlaps with the position of the second virtual image of the anchor user, configuring a first display effect for the second virtual image includes: determining one or more first control parameters associated with the first display effect; Determining one or more second control parameters associated with a second display effect, wherein the second display effect is associated with a currently captured action of the anchor user, the action including an expression and / or a body movement; For each of the one or more first control parameters, determining whether the first control parameter corresponds to the one or more second control parameters; In response to determining that the first control parameter corresponds to any second control parameter of the one or more second control parameters: assigning a first weight to the first control parameter and a second weight to the corresponding second control parameter; and configuring the first display effect and the second display effect according to the first control parameter and its first weight, and the corresponding second control parameter and its second weight; and A live stream is provided to the anchor client and the audience client so that the live broadcast room is displayed at the anchor client and the audience client as a live broadcast room scene including the one or more first virtual images and the second virtual image with the first display effect.
2. The method according to claim 1, wherein In response to determining that the position of the first virtual image overlaps with the position of the second virtual image of the anchor user, configuring the first display effect for the second virtual image further includes: In response to determining that the first control parameter does not correspond to any second control parameter of the one or more second control parameters: Configure the first display effect according to the first control parameter; and The second display effect is configured according to the one or more second control parameters.
3. The method according to claim 1 or 2, further comprising: In response to determining that the first control parameter corresponds to any second control parameter of the one or more second control parameters, determining whether a second display effect associated with the first control parameter and associated with the corresponding second control parameter can be superimposed; and The step of assigning a first weight to the first control parameter and assigning a second weight to the corresponding second control parameter includes: In response to determining that a first display effect associated with the first control parameter and a second display effect associated with the corresponding second control parameter cannot be superimposed, the first weight is set to 1 and the second weight is set to 0.
4. The method according to claim 3, further comprising: Obtaining the display duration of the first display effect; and Configuring the first display effect and the second display effect according to the first control parameter and its first weight, and the corresponding second control parameter and its second weight includes: In response to determining that a first display effect associated with the first control parameter and a second display effect associated with the corresponding second control parameter cannot be superimposed, during the display duration: Configure the first display effect according to the first control parameter; and Abandon configuring the second display effect; and In response to determining that a first display effect associated with the first control parameter and a second display effect associated with the corresponding second control parameter can be superimposed, during the display duration: The first display effect and the second display effect are superimposed according to the first control parameter and its first weight, and the corresponding second control parameter and its second weight.
5. The method according to claim 4, further comprising: During the display time period, determining whether a position of another first virtual image identical to the first virtual image overlaps with a position of the second virtual image; as well as In response to determining that a position of another first virtual image identical to the first virtual image overlaps with a position of the second virtual image, the display duration is increased.
6. The method according to claim 4, wherein: Assigning a first weight to the first control parameter and assigning a second weight to the corresponding second control parameter further includes: In a predetermined time period after the display duration, the first weight is gradually reduced and the second weight is gradually increased.
7. The method according to claim 6, wherein: Configuring the first display effect and the second display effect according to the first control parameter and its first weight, and the corresponding second control parameter and its second weight includes: In response to determining that the first display effect associated with the first control parameter and the second display effect associated with the corresponding second control parameter cannot be superimposed, during the predetermined time period: When the first weight decreases to be less than the second weight: Abandon configuring the first display effect; and configuring the second display effect according to the corresponding second control parameter; and In response to determining that a first display effect associated with the first control parameter and a second display effect associated with the corresponding second control parameter are capable of being superimposed, during the predetermined time period: The first display effect and the second display effect are superimposed according to the first control parameter and its first weight, and the corresponding second control parameter and its second weight.
8. The method according to claim 6, further comprising: After the predetermined period of time, a third display effect different from the first display effect and the second display effect is configured for the second avatar.
9. The method according to claim 1 or 2, further comprising: For each of the one or more gift giving instructions, determining a gift category corresponding to the gift giving instruction; as well as Determine the number of gift instructions under each gift category, and The step of generating one or more first virtual images corresponding to the one or more gift giving instructions includes: For each gift category, in response to determining that the number of gift giving instructions under the gift category exceeds a predetermined threshold, a first avatar corresponding to the gift category is generated.
10. The method according to claim 1 or 2, wherein: For each of the one or more first virtual images, determining whether a position of the first virtual image overlaps with a position of a second virtual image of the anchor user includes: Determining a motion trajectory of the first virtual image according to a first preset configuration; and Determine whether the motion trajectory of the first virtual image overlaps with the position of the second virtual image of the anchor user.
11. The method according to claim 10, wherein: The first preset configuration includes one or more of the following: a movement speed of the one or more first virtual images; the movement acceleration of the one or more first virtual images; the movement direction of the one or more first virtual images; a starting position of the one or more first virtual images; as well as The target position of the one or more first virtual images.
12. The method according to claim 10, wherein: Determining whether the motion trajectory of the first virtual image overlaps with the position of the second virtual image of the anchor user includes: generating corresponding collision volumes for the first virtual image and the second virtual image respectively; determining one or more first coordinates of a contour of a collision volume corresponding to the first virtual image; determining one or more second coordinates of a contour of a collision volume corresponding to the second virtual image; and In response to determining that at least one first coordinate of the one or more first coordinates is the same as at least one second coordinate of the one or more second coordinates, it is determined that the motion trajectory of the first virtual image overlaps with the position of the second virtual image of the anchor user.
13. The method according to claim 10, wherein: The first display effect is determined according to the first preset configuration.
14. The method according to claim 10, further comprising: In response to determining that the position of the first virtual image overlaps with the position of the second virtual image of the anchor user: Changing the motion trajectory of the first virtual image; and / or A fourth display effect is configured for the first virtual image.
15. The method according to claim 1 or 2, further comprising: In response to determining that the position of the first virtual image overlaps with the position of the second virtual image of the anchor user, configuration information associated with the vibration effect is provided to the anchor client and / or the viewer client.
16. The method according to claim 15, wherein The configuration information associated with the vibration effect includes: a predetermined duration for the one or more first avatars; and / or A preset vibration intensity for the one or more first virtual images.
17. The method according to claim 15, wherein: The configuration information associated with the vibration effect is determined based on a preset configuration, wherein the preset configuration includes one or more of the following: a starting position, a target position, a movement speed, a movement acceleration, and a movement direction of the one or more first virtual images.
18. A live broadcast room gift control method, applied to a viewer client, comprising: Send one or more gift giving instructions; receiving a live stream of the live broadcast room from a server, the live stream including one or more first virtual images corresponding to the one or more gift giving instructions, a second virtual image of the anchor user and a display effect thereof; and displaying the one or more first virtual images and the second virtual image having the display effect based on the live stream, The one or more first virtual images are generated according to the method of any one of claims 1-17, and the display effect is determined according to the method of any one of claims 1-17.
19. A live broadcast room gift control device, applied to a server, comprising: a receiving unit configured to receive one or more gift giving instructions from a viewer client; a generating unit configured to generate one or more first virtual images corresponding to the one or more gift giving instructions; a determining unit configured to determine, for each of the one or more first virtual images, whether a position of the first virtual image overlaps with a position of a second virtual image of the host user; A configuration unit is configured to, in response to determining that a position of the first virtual image overlaps with a position of a second virtual image of the anchor user, configure a display effect for the second virtual image, the configuration unit comprising: a first control parameter determining unit configured to determine one or more first control parameters associated with a first display effect; a second control parameter determination unit configured to determine one or more second control parameters associated with a second display effect, wherein the second display effect is associated with a currently captured action of the anchor user, the action including an expression and / or a body movement; a corresponding unit configured to determine, for each of the one or more first control parameters, whether the first control parameter corresponds to one or more second control parameters; a weight assigning unit configured to, in response to determining that the first control parameter corresponds to any second control parameter of the one or more second control parameters, assign a first weight to the first control parameter and assign a second weight to the corresponding second control parameter; and A first configuration subunit is configured to, in response to determining that the first control parameter corresponds to any second control parameter of the one or more second control parameters, configure the first display effect and the second display effect according to the first control parameter and its first weight, and the corresponding second control parameter and its second weight; and A providing unit is configured to provide a live stream to the anchor client and the audience client, so that the live broadcast room is displayed at the anchor client and the audience client as a live broadcast room scene including the one or more first virtual images and the second virtual image with the display effect.
20. A live broadcast room gift control device, applied to a viewer client, comprising: a sending unit, configured to send one or more gift giving instructions; a receiving unit configured to receive a live stream of the live broadcast room from a server, the live stream including one or more first virtual images corresponding to the one or more gift giving instructions, a second virtual image of the anchor user, and a display effect thereof; as well as A display unit is configured to display the one or more first virtual images and the second virtual image with the display effect based on the live stream, The one or more first virtual images are generated according to the method of any one of claims 1-17, and the display effect is determined according to the method of any one of claims 1-17.
21. An electronic device comprising: at least one processor; as well as at least one memory communicatively coupled to the at least one processor, The at least one memory stores a computer program, and when the computer program is executed by the at least one processor, the method according to any one of claims 1 to 18 is implemented.
22. A non-transitory computer-readable storage medium storing a computer program, wherein: When the computer program is executed by a processor, the computer program implements the method according to any one of claims 1 to 18.
23. A computer program product comprising a computer program, wherein When the computer program is executed by a processor, the computer program implements the method according to any one of claims 1 to 18.