CN113395533B - Virtual gift special effect display method and device, computer equipment and storage medium - Google Patents

Virtual gift special effect display method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113395533B
CN113395533B CN202110565947.7A CN202110565947A CN113395533B CN 113395533 B CN113395533 B CN 113395533B CN 202110565947 A CN202110565947 A CN 202110565947A CN 113395533 B CN113395533 B CN 113395533B
Authority
CN
China
Prior art keywords
image
gift
special effect
target
anchor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110565947.7A
Other languages
Chinese (zh)
Other versions
CN113395533A (en
Inventor
沈志铭
骆归
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Boguan Information Technology Co Ltd
Original Assignee
Guangzhou Boguan Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Boguan Information Technology Co Ltd filed Critical Guangzhou Boguan Information Technology Co Ltd
Priority to CN202110565947.7A priority Critical patent/CN113395533B/en
Publication of CN113395533A publication Critical patent/CN113395533A/en
Application granted granted Critical
Publication of CN113395533B publication Critical patent/CN113395533B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23412Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs for generating or manipulating the scene composition of objects, e.g. MPEG-4 objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • H04N21/42653Internal components of the client ; Characteristics thereof for processing graphics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44012Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving rendering scenes according to scene graphs, e.g. MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Computer Graphics (AREA)
  • General Engineering & Computer Science (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the application discloses a method and a device for displaying special effects of virtual gifts, computer equipment and a storage medium. The method comprises the steps of receiving anchor live video data sent by a live broadcast server, and displaying an anchor live video picture according to the anchor live video data; sending a gift presentation request to a live broadcast server; receiving area positioning data returned by the live broadcast server aiming at the gift presentation request; determining a combined area in a main broadcast live video picture according to the area positioning data; generating a display image of the target virtual gift special effect according to the gift giving request; and connecting the target image and the display image in the combination area to form a rendering effect of the target virtual gift special effect, realizing the effect of personalized interaction between the display image of the virtual gift special effect and the main broadcast live video picture, increasing the gift satisfaction of audience users, presenting more shocking special effect and enriching the category of the virtual gift special effect in a live broadcast room.

Description

Virtual gift special effect display method and device, computer equipment and storage medium
Technical Field
The application relates to the technical field of live broadcast, in particular to a virtual gift special effect display method and device, computer equipment and a storage medium.
Background
In live webcasting, when a spectator user in a live broadcast room wants to enjoy a main broadcast, the spectator user may trigger a virtual gift special effect, such as a firework bursting effect and/or a rocket launching effect, in the live broadcast room. In the research and practice process of the prior art, the inventor of the application finds that the types of the virtual gift special effects in the live broadcast room are fixed, the display effect of the virtual gift special effects cannot be combined with the main broadcast in the live broadcast video, and the satisfaction of the audience users in the present can be weakened.
Disclosure of Invention
The embodiment of the application provides a method and a device for displaying a special effect of a virtual gift, computer equipment and a storage medium, which can realize the personalized interaction between a display image of the special effect of the virtual gift and a live broadcast video picture of a main broadcast and enrich the special effect of the virtual gift.
The embodiment of the application provides a method for displaying a special effect of a virtual gift, which comprises the following steps:
receiving anchor live video data sent by a live broadcast server, and displaying an anchor live video picture according to the anchor live video data;
sending a gift presentation request to the live broadcast server;
receiving area positioning data returned by the live broadcast server for the gift giving request;
determining a combined area in the anchor live video picture according to the area positioning data;
generating a display image of a target virtual gift special effect according to the gift presentation request;
and connecting the target image in the combination area with the display image to form the rendering effect of the special effect of the target virtual gift.
Optionally, an embodiment of the present application further provides a method for displaying a special effect of a virtual gift, including:
sending anchor live video data of a target live broadcast room to a live broadcast client;
receiving a gift giving request sent by the live client, and acquiring area positioning data in the anchor live video data according to the gift giving request;
sending the area location data for the gift-giving request to the live client.
Correspondingly, the embodiment of the present application further provides a virtual gift special effect display device, including:
the first receiving unit is used for receiving anchor live video data sent by a live broadcast server and displaying an anchor live video picture according to the anchor live video data;
a first sending unit, configured to send a gift-giving request to the live broadcast server;
a second receiving unit, configured to receive the area location data returned by the live broadcast server for the gift-giving request;
the determining unit is used for determining a combined area in the main broadcast live video picture according to the area positioning data;
a generating unit configured to generate a display image of a target virtual gift special effect according to the gift giving request;
and the forming unit is used for connecting the target image in the combination area with the display image and forming the rendering effect of the special effect of the target virtual gift.
Optionally, the gift-giving request includes a trigger protocol of the target virtual gift special effect, and the generating unit is further configured to:
acquiring the trigger protocol of the target virtual gift special effect from the gift giving request, and determining the category information of the target virtual gift special effect according to the trigger protocol;
generating an image shape of the target virtual gift special effect corresponding to the category information;
and adjusting the size of the image shape according to the matching degree of the size of the combined area and the size of the image shape in proportion to generate the display image.
Optionally, the gift-presentation request includes an interaction rule between a current audience user presenting the target virtual gift special effect and a main broadcast, and the generating unit is further configured to:
acquiring identification information of the current audience user presenting the special effect of the target virtual gift, wherein the identification information comprises a character image photo of the current audience user;
generating a virtual simulation image of the current audience user according to the character image photo;
acquiring anchor information displayed in an anchor live video picture according to the anchor live video data, and generating a preset virtual image corresponding to an anchor in the anchor live video picture according to the anchor information;
and combining the virtual simulation image with the preset virtual image according to the interaction rule of the current audience user and the anchor in the gift presenting request to generate a display image of the special effect of the target virtual gift.
Optionally, the gift-giving request includes a connection rule between the display image of the target virtual gift special effect and the target image, and the forming unit is further configured to:
acquiring a first position connected with the target image on the display image according to the connection rule of the display image and the target image in the gift giving request;
acquiring a second position matched with the first position on the target image;
and connecting the first position and the second position to form the rendering effect.
Optionally, the forming unit is further configured to:
connecting the first location and the second location;
if the display image is overlapped with the combination area, acquiring an overlapped area of the display image and the combination area;
and performing transparency processing on the overlapped area on the display image to form the rendering effect.
Optionally, the gift-giving request further includes additional information, content of the additional information is associated with content of the target virtual gift special effect display, and the forming unit is further configured to:
connecting the target image and the display image in the combination area to form a combined image;
displaying the incidental information within a preset range of the combined image;
and combining the combined image and the additional information to form a rendering effect of the target virtual gift special effect.
Optionally, the second receiving unit is further configured to:
acquiring a positioning point corresponding to the area positioning data in the anchor live video picture;
the determining a combined area in the anchor live video picture according to the area positioning data includes:
and connecting the positioning points to form the combination area connected with the display image of the target virtual gift special effect.
Optionally, the apparatus further comprises:
generating a dynamic picture by the process of forming the rendering effect of the target virtual gift special effect;
and displaying the dynamic picture on a live broadcast interface for displaying the main broadcast live broadcast video picture.
Correspondingly, the embodiment of the present application further provides a virtual gift special effect display device, including:
the second sending unit is used for sending the anchor live video data of the target live broadcast room to the live broadcast client;
the positioning data acquisition unit is used for receiving a gift presentation request sent by the live client and acquiring area positioning data in the anchor live video data according to the gift presentation request;
a third sending unit, configured to send the area location data for the gift-giving request to the live broadcast client.
Optionally, the gift-giving request includes a connection rule between a display image of a target virtual gift special effect and a target image, the target image is formed according to the area location data, and the location data acquiring unit is further configured to:
setting a reference origin in a main broadcast video picture formed by the main broadcast video data;
setting a coordinate system in the anchor live video picture based on the reference origin;
acquiring a target image combined with the target virtual gift special effect in the anchor live video frame according to the connection rule between the display image of the target virtual gift special effect and the target image in the gift giving request;
and taking the coordinate value of the positioning point of the target image in the coordinate system as the area positioning data.
Optionally, the positioning data obtaining unit is further configured to:
detecting the position of a positioning point of the target image in the anchor live video picture in real time;
when the position of the positioning point changes, acquiring the positioning point with the changed position as a newly added positioning point;
and acquiring a newly added coordinate value of the newly added positioning point in the coordinate system, and taking the newly added coordinate value as the area positioning data.
Similarly, an embodiment of the present application further provides a computer device, including:
a memory for storing a computer program;
a processor for performing any of the steps of the virtual gift special effect display method.
Furthermore, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of any one of the virtual gift special effect display methods.
The embodiment of the application provides a method and a device for displaying a special effect of a virtual gift, computer equipment and a storage medium, when audience users in a target live broadcast room give a special effect of the target virtual gift to a main broadcast, a live broadcast client can acquire a target image combined with the special effect of the target virtual gift in a video picture of the main broadcast, and after the target image is connected with a display image of the special effect of the target virtual gift, the contents displayed by the target image and the display image are mutually complemented, so that a rendering effect showing complete contents is formed. When the live broadcast video pictures of the main broadcast are different, the display image of the special effect of the target virtual gift can be connected with the combination area with different target images to form different rendering effects, so that the personalized interaction effect of the display image of the special effect of the virtual gift and the live broadcast video pictures of the main broadcast is realized, the present satisfaction of audience users is increased, the shocking special effect is presented, and the category of the special effect of the virtual gift in a live broadcast room is enriched.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a system diagram of a virtual gift special effect display device provided by an embodiment of the present application;
fig. 2 is a flowchart illustrating a method for displaying a special effect of a virtual gift according to an embodiment of the present application;
FIG. 3 is a schematic view of a bonding area provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a display image of a target virtual gift effect provided by an embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a rendering effect of a target virtual gift effect provided by an embodiment of the present application;
fig. 6 is another flowchart illustrating a method for displaying a special effect of a virtual gift according to an embodiment of the present application;
fig. 7 is an interaction flow diagram of a virtual gift special effect display method provided in an embodiment of the present application;
fig. 8 is a schematic structural diagram of a virtual gift effect display apparatus provided in an embodiment of the present application;
fig. 9 is another structural schematic diagram of a virtual gift effect display apparatus provided in an embodiment of the present application;
fig. 10 is a schematic structural diagram of a computer device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the application provides a method and a device for displaying special effects of virtual gifts, computer equipment and a storage medium. Specifically, the virtual gift special effect display apparatus according to the embodiment of the present application may be executed by a computer device, where the computer device may be a terminal or a server. The terminal may be a terminal device such as a smart phone, a tablet Computer, a notebook Computer, a touch screen, a game machine, a Personal Computer (PC), a Personal Digital Assistant (PDA), and the like, and may further include a client, which may be a game application client, a browser client carrying a game program, or an instant messaging client, and the like. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, cloud functions, cloud storage, network service, cloud communication, middleware service, domain name service, security service, content distribution network service, big data and an artificial intelligence platform.
For example, when the virtual gift special effect display method is operated on a terminal, the terminal device stores a live application program and is used for presenting scenes in a live picture. The terminal device is used for interacting with a user through a graphical user interface, for example, downloading and installing a live application program through the terminal device and running the live application program. The manner in which the terminal device provides the graphical user interface to the user may include a variety of ways, for example, the graphical user interface may be rendered for display on a display screen of the terminal device or presented by holographic projection. For example, the terminal device may include a touch display screen for presenting a graphical user interface including a live video frame, a public screen area, a banner area, a gift area, and the like, and receiving an operation instruction generated by a user acting on the graphical user interface, and a processor for running the live application, generating the graphical user interface, responding to the operation instruction, and controlling display of the graphical user interface on the touch display screen.
For example, when the virtual gift special effect display method runs on a server, the virtual gift special effect display method can be live cloud broadcast. The cloud live broadcast refers to a live broadcast mode based on cloud computing. In the cloud live broadcast operation mode, an operation main body and a live broadcast picture presentation main body of a live broadcast application program are separated, and storage and operation of the virtual gift special effect display method are completed on a cloud live broadcast server. The live broadcast picture presentation is completed at a cloud live broadcast client, and the cloud live broadcast client is mainly used for receiving and sending live broadcast data and presenting a live broadcast picture, for example, the cloud live broadcast client may be a display device with a data transmission function near a user side, such as a mobile terminal, a television, a computer, a palmtop computer, a personal digital assistant, and the like, but a terminal device for processing live broadcast data is a cloud live broadcast server at the cloud end. When live broadcasting is carried out, a user operates the cloud live broadcasting client to send an operation instruction to the cloud live broadcasting server, the cloud live broadcasting server operates a live broadcasting program according to the operation instruction, data such as live broadcasting pictures are coded and compressed, the data are returned to the cloud live broadcasting client through a network, and finally the data are decoded through the cloud live broadcasting client and the live broadcasting pictures are output.
Referring to fig. 1, fig. 1 is a system schematic diagram of a virtual gift special effect display device according to an embodiment of the present application. The system may comprise at least one terminal device 100 and at least one live server 101. A terminal held by a user can be connected to a live broadcast server through different networks, for example, the network can be a wireless network or a wired network, the wireless network can be a Wireless Local Area Network (WLAN), a Local Area Network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, and the like, and the terminal is used for receiving anchor live broadcast video data sent by the live broadcast server and displaying an anchor live broadcast video picture according to the anchor live broadcast video data; sending a gift presentation request to a live broadcast server; receiving area positioning data returned by the live broadcast server aiming at the gift presentation request; determining a combined area in a main broadcast live video picture according to the area positioning data; generating a display image of the target virtual gift special effect according to the gift giving request; and connecting the target image and the display image in the combination area to form the rendering effect of the special effect of the target virtual gift.
The live broadcast server is used for sending anchor live broadcast video data of a target live broadcast room to the live broadcast client; receiving a gift presentation request sent by a live client, and acquiring area positioning data in anchor live video data according to the gift presentation request; and sending the area positioning data for the gift giving request to the live broadcast client.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
The embodiment will be described in terms of a virtual gift special effect display apparatus, which may be specifically integrated in a terminal device, and the terminal device may include a smart phone, a notebook computer, a tablet computer, a personal computer, and the like.
The method for displaying the special effect of the virtual gift provided by the embodiment of the application can be executed by a processor of a terminal device, as shown in fig. 2, the specific flow of the method for displaying the special effect of the virtual gift mainly includes steps 201 to 205, the terminal device can use a JavaScript language to realize the method for displaying the special effect of the virtual gift, and the detailed description is as follows:
step 201, receiving anchor live video data sent by a live broadcast server, and displaying an anchor live video picture according to the anchor live video data.
In the embodiment of the application, in response to the joining operation of the user to the live broadcast room, the terminal equipment confirms the target live broadcast room joined by the user, acquires the room identifier of the target live broadcast room, and sends the room identifier to the live broadcast server, so that the anchor live broadcast video data sent by the anchor broadcast presenting the special effect of the target virtual gift can be acquired, and the anchor live broadcast video data is fed back to the live broadcast client in the terminal equipment. After the live client performs slave processing on the anchor live video data, an anchor live video picture corresponding to the anchor live video data can be obtained, so that the anchor live video picture is played in a video playing area in a target live broadcasting room.
Step 202, sending a gift-giving request to the live broadcast server.
In the embodiment of the application, after the terminal device installs and executes the live application program, various types of live rooms are provided in the live application program, and the live room selected by the current audience user to join in the live application program according to subjective intention is called a target live room. The target live broadcast room can comprise a main live broadcast video picture playing area, a public screen area, a gift area and the like.
In an embodiment of the present application, the virtual gift list of the gift area with the target virtual gift special effect located in the target live broadcast room may include a static target virtual gift special effect and a dynamic target virtual gift special effect, wherein the rendering effect of the static target virtual gift special effect is static and does not change, such as lollipop pictures and/or cake pictures, and the rendering effect of the dynamic target virtual gift special effect is dynamic and can change, such as a running car, a bursting fireworks and/or a sliding airship.
In some embodiments of the present application, the terminal device receives a presentation operation of a viewer user for a special effect of a target virtual gift, may generate a gift presentation request, and sends the gift presentation request to the live broadcast server. The presenting operation may be a touch operation or a non-touch operation performed by the audience user for a target virtual gift special effect in the target live broadcast room, or may be a voice operation. When the presenting operation of the target virtual gift special effect is touch operation, a live broadcast client of the terminal equipment can identify the presenting operation through a touch screen, and the touch operation can be click operation, sliding operation and/or long-press operation and the like; when the presenting operation of the target virtual gift special effect is a non-touch operation, a live broadcast client of the terminal device may recognize the presenting operation through a remote control device such as a laser pen and a remote controller, or through an input device such as a mouse, a keyboard and a mechanical key, or the live broadcast client recognizes that a spectator user performs the presenting operation on the target virtual gift special effect in the live broadcast client by using voice, for example, after the user inputs a voice content such as "present the target virtual gift special effect", the live broadcast client recognizes the voice content and generates a gift presenting request.
In an embodiment of the application, after the audience user performs the presenting operation in the target live broadcast room, the terminal device generates a gift presenting request and sends the gift presenting request to the live broadcast server, so as to request the live broadcast server to realize the presenting effect of the special effect of the target virtual gift. In order for the live broadcast server to know which anchor is presented with the target virtual gift special effect in which live broadcast room of the live broadcast application, the live broadcast client may send a room identifier capable of identifying the target live broadcast room to the live broadcast server, and anchor information capable of identifying the anchor presented with the target virtual gift special effect. Further, in order to enable the live broadcast server to obtain the specific category and the specific rendering mode of the target virtual gift special effect, a trigger protocol of the target virtual gift special effect may be sent to the live broadcast server, and therefore, the gift giving request may include a room identifier of the target live broadcast room, anchor information, and the trigger protocol of the target virtual gift special effect. After receiving the gift giving request, the live broadcast server can directly acquire the room identifier, the anchor information and the trigger protocol of the target virtual gift special effect from the gift giving request, so as to confirm the target live broadcast room, the anchor which wants to give the virtual gift special effect and the specific rendering mode of the target virtual gift special effect.
Specifically, when an audience user watches a live broadcast video picture in a target live broadcast room and wants to present a target virtual gift special effect to one or more of the live broadcasts according to subjective wishes, a gift presenting identification in the target live broadcast room can be clicked, a gift special effect list is generated in the target live broadcast room, the audience user selects a target virtual gift special effect to be presented from the gift special effect list, and the terminal device obtains a trigger protocol of the target virtual gift special effect, a room identification of the target live broadcast room and the main broadcast information of the given live broadcast, so that a gift presenting request is generated, and the gift presenting request is sent to a live broadcast server.
In the embodiment of the application, in order to enable the live broadcast server to know which live broadcast room of the live broadcast application program presents the target virtual gift special effect to which anchor broadcast, the live broadcast client may also only obtain the gift identifier of the target virtual gift special effect, add the gift identifier to the gift presenting request, after the live broadcast server receives the gift presenting request, the live broadcast server obtains the gift identifier of the target virtual gift special effect from the gift presenting request, confirms the target live broadcast room and anchor broadcast presenting the target virtual gift special effect according to the gift identifier, and searches for the corresponding target virtual gift special effect and the corresponding trigger protocol according to the gift identifier.
And step 203, receiving the area positioning data returned by the live broadcast server for the gift giving request.
In the embodiment of the application, the existing target virtual gift special effect is a set gift template, and no matter which main broadcast presents the target virtual gift special effect in which live broadcast room, the rendering effect of the target virtual gift special effect is fixed, and the rendering effect of the existing target virtual gift special effect may be difficult to meet the emotional expression requirement when audience users present gifts, and cannot interact with the content contained in the main broadcast live broadcast video picture. In order to improve the salutation enthusiasm of the user, partial content, namely a combination area, can be acquired in the live broadcast video picture, the target image in the combination area is combined with the display image of the target virtual gift special effect, and the display content of the target image in the combination area and the display image of the target virtual gift special effect is relevant, so that the final rendering effect can be formed. Because the same target virtual gift special effect can be connected with the combination areas of different target images, the same target virtual gift special effect can be connected with different target images to form different rendering effects. The display image of the special effect of the target virtual gift and the live broadcast video picture are personalized and interacted, and the fun of the audience users in presenting the gift is increased.
In the embodiment of the application, after the gift giving request is sent to the live broadcast server, the area location data can be obtained from the feedback, sent by the live broadcast server, for the gift giving request, wherein the area location data is used for determining the combination area in the anchor live video picture, so that the display position of the target virtual gift special effect in the anchor live video picture is determined.
And step 204, determining a combined area in the main broadcast live video picture according to the area positioning data.
In the embodiment of the present application, "receiving the area location data returned by the live broadcast server for the gift-giving request" in step 203 may be implemented by the following step S2031:
step S2031: and acquiring a positioning point corresponding to the area positioning data in the anchor live video picture.
In the embodiment of the application, the area positioning data is position data of the position of the combined area in the anchor live video picture, and identifies the relative position of the positioning point capable of forming the combined area in the anchor live video picture.
In this case, the "determining the combined area in the anchor live video screen from the area positioning data" in step 204 can be realized by the following step S2032:
step S2032: and connecting the positioning points to form a combined area connected with the display image of the target virtual gift special effect.
In an embodiment of the application, after the live broadcast server obtains a gift presentation request of a live broadcast client, a specific category and a specific rendering mode of a target virtual gift special effect are obtained according to a trigger protocol of the target virtual gift special effect included in the gift presentation request, so that a target object required to be combined by the target virtual gift special effect in a main broadcast live video picture is obtained, a relative position relation between a positioning point capable of identifying the target object and the main broadcast live video picture is obtained, and therefore area positioning data is formed. Therefore, after the terminal device acquires the area positioning data, the position of the positioning point of the combined area in the live video picture of the main broadcast can be correspondingly obtained, and then the positioning point is connected to form the combined area connected with the display image of the special effect of the target virtual gift. For example, the position of the combination area is not limited, and may be a head image display area of a main broadcast in a main broadcast video screen, a microphone display area in a main broadcast video screen, or the like.
Specifically, as shown in the schematic diagram of the join area shown in fig. 3, a live interface 300 of the target live broadcast room includes a live broadcast video frame 301, a join area 302 may be obtained in the live broadcast video frame 301 according to the area location data, and the join area 302 may be a head image display area of the live broadcast.
Step 205, generating a display image of the target virtual gift special effect according to the gift giving request.
In an embodiment of the application, different types of display images of virtual gift special effects may be preset by a live broadcast client of a terminal device, and a gift presentation request includes a specific type of a target virtual gift special effect, so that the specific type of the target virtual gift special effect and a corresponding display image thereof may be generated according to the gift presentation request.
In the embodiment of the present application, when the gift-giving request includes the trigger protocol of the target virtual gift special effect, the "generating the display image of the target virtual gift special effect according to the gift-giving request" in step 204 may be implemented by steps S2041 to S2043 as follows:
step S2041: and acquiring a trigger protocol of the target virtual gift special effect from the gift giving request, and determining the category information of the target virtual gift special effect according to the trigger protocol.
Step S2042: and generating an image shape of the target virtual gift special effect corresponding to the category information.
Step S2043: and proportionally adjusting the size of the image shape according to the matching degree of the size of the combined area and the size of the image shape, and generating a display image.
In some embodiments of the present application, since different anchor live video pictures are different, sizes of the combined areas obtained from different anchor live video pictures are different, and sizes of target images in the combined areas are also different. When the combination areas with different contents are combined with the display images with the same category of the special effect of the target virtual gift, the target images with different sizes need to be combined with different sizes of the display images, so that the sizes of the image shapes can be proportionally adjusted according to the matching degree of the sizes of the target images and the sizes of the image shapes, the sizes of the generated display images are matched with the sizes of the target images, the appearance and the attractiveness of the connected rendering effect are increased, and audience users can more intuitively distinguish the contents expressed by the rendering effect.
In the embodiment of the application, the types of the existing virtual gift special effects are single, the personalized customization requirements of audiences cannot be met, and the participation sense of gift delivery of audience users can be reduced, so that the specific target virtual gift special effect can be customized for the audience users according to the requirements of the audience users, and because the gift delivery request comprises the interaction rules between the current audience users who present the target virtual gift special effect and a main broadcast, the live broadcast client can render and display images according to the interaction rules. In this case, the "generation of the display image of the target virtual gift special effect according to the gift-giving request" in step 204 may be realized by steps S2044 to S2047 as follows:
step S2044: and acquiring identification information of the current audience user presenting the special effect of the target virtual gift, wherein the identification information comprises a character image photo of the current audience user.
In the embodiment of the application, in order to customize a display image of a target virtual gift special effect for different audience users, identification information representing characteristics of current audience users can be obtained, and the target virtual gift special effect with different characteristics of the audience users is set according to the difference and the individuation of the identification information. In order to make the user have a better sense of participation in giving gifts, a photo of a character image of the user of the current viewer may be used as the identification information.
In the embodiment of the application, the setting of the identification information is not limited, and the identification information can also be cartoon character pictures and/or custom-generated pictures which represent the subjective preferences of current audience users, and the identification information can be static pictures, short videos, dynamic pictures and the like. The source of the identification information may be obtained by real-time shooting by the viewer user, downloaded from the internet by the viewer user, stored locally in the terminal device, or obtained by screenshot, etc.
Step S2045: and generating a virtual simulation image of the current audience user according to the character image photo.
In the embodiment of the application, after the character image photo uploaded by the current audience user is obtained, the target character in the character image photo can be identified, and the virtual simulation image corresponding to the character image photo is generated according to the posture, the state, the expression and other factors of the target character.
Step S2046: and acquiring anchor information displayed in the anchor live video picture according to the anchor live video data, and generating a preset virtual image corresponding to the anchor in the anchor live video picture according to the anchor information.
In the embodiment of the application, in order to enable the rendering effect of the special effect of the target virtual gift to realize the personalized interaction between the current audience user and the delivered-gift anchor, a preset virtual image which can be matched with anchor information can be formed according to the anchor information, and an anchor image corresponding to the anchor information is assumed by using the preset virtual image. For example, if the anchor information indicates information such as the sex, age, and/or character introduction of the anchor, an avatar conforming to the sex, age, and/or character included in the anchor information may be formed as the preset virtual image. Further, the viewer user can customize the attribute of the preset virtual image for identifying the anchor image according to individual subjective preferences, for example, the related information such as the clothes style, hair style, and/or action posture of the preset virtual image can be customized.
Step S2047: and combining the virtual simulation image with a preset virtual image according to the interaction rule of the current audience user and the anchor in the gift presenting request to generate a display image of the special effect of the target virtual gift.
In the embodiment of the application, the interaction rule of the current audience user and the anchor in the trigger protocol indicates the combination rule of the virtual simulation image and the preset virtual image. For example, if the current audience user and the anchor are embraced by the current audience user and the anchor according to the interaction rule of the current audience user and the anchor, the virtual simulation image representing the current audience user can make an embracing gesture, the preset virtual image representing the anchor image also makes an embracing gesture, and the virtual image of the embracing gesture is formed by combining the virtual simulation image and the preset virtual image. Because the display image needs to be connected with the combination area in the anchor live video picture, the preset virtual image which represents the anchor image can be set to have no head display content, and finally the virtual image of the hugging gesture without the head display content is used as the display image of the special effect of the target virtual gift, so that the virtual image forming the hugging gesture is connected with the head display image of the anchor in the anchor live video picture, and further the personalized interaction between the audience user and the anchor is realized.
Specifically, as shown in the schematic diagram of the display image of the target virtual gift special effect shown in fig. 4, in the live interface 400 of the target live broadcast room, there are a virtual simulation image 4011 representing the current audience user and a preset virtual image 4012 representing the anchor image, the preset virtual image 4012 has no head display area, and the virtual simulation image 4011 and the preset virtual image 4012 form the display image 401 of the target virtual gift special effect.
And step 205, connecting the target image and the display image in the combined area to form a rendering effect of the special effect of the target virtual gift.
In the embodiment of the application, the rendering effect of the target virtual gift special effect is formed by the processing of the terminal equipment, the server can be prevented from processing the target virtual gift special effect and adding the processed target virtual gift special effect into the live broadcast video picture, the processing pressure of the conventional server for processing the target virtual gift special effect presented by a plurality of audience users is reduced, the terminal equipment corresponding to each audience user processes the presentation process of each audience user, and the processing efficiency of the target virtual gift special effect presentation operation is improved.
In the embodiment of the present application, the gift-giving request includes a connection rule between the display image of the target virtual gift special effect and the target image, and "connect the target image and the display image in the combining area to form the rendering effect of the target virtual gift special effect" in step 205 may be implemented through steps S2051 to S2053 as follows:
step S2051: according to the connection rule of the display image and the target image in the gift-giving request, a first position connected with the target image is acquired on the display image.
In this embodiment of the application, if the display image is a virtual simulation image representing a current audience user and a preset virtual image representing a anchor image to form a hugging gesture, the preset virtual image representing the anchor image has no header display content, and the target image in the combination area is a header display area of the anchor in the live broadcast video picture of the anchor, a connection rule between the display image and the target image may be that a shoulder of the preset virtual image representing the anchor image in the display image is connected with an anchor header displayed in the combination area, so that a first position obtained on the display image is a shoulder position of the preset virtual image representing the anchor image.
Step S2052: a second location is acquired on the target image that matches the first location.
In the embodiment of the present application, since the second position on the target image is a position connected to the first position on the display image, when the first position is determined to be the shoulder position of the preset virtual image representing the anchor character, the chin position of the anchor head image whose second position is displayed for the target image can be determined.
Step S2053: and connecting the first position and the second position to form a rendering effect.
In the embodiment of the application, after the first position and the second position which are matched with each other are determined, the shoulder position of the preset virtual image representing the anchor image and the chin position of the anchor head image displayed in the combination area are connected, so that a virtual simulation image representing the current audience user is formed, and a hugging gesture which is a rendering effect is formed with the preset virtual image representing the anchor image and having the head display content, so that the salutation participation of the user is improved, and the personalized interaction between the user and the anchor is realized.
In the embodiment of the application, the formed rendering effect can be displayed at any position in the target live broadcast room, the rendering effect can be only displayed in a live broadcast video picture area of a main broadcast, part of the rendering effect can be displayed in the live broadcast video picture area of the main broadcast, and part of the rendering effect can be displayed in other areas.
Specifically, as shown in the rendering effect diagram of the target virtual gift special effect in fig. 5, the combination area 302 of the anchor head image display area is combined with the display image 401, thereby forming the rendering effect 501.
In the embodiment of the application, if the display image of the target virtual gift special effect is an airplane image, the combination area in the live broadcast video picture of the anchor is the shoulder position of the anchor, and the rendering effect of the target virtual gift special effect is that the airplane takes the front of the anchor as a starting point and flies round the shoulder of the anchor to return to the starting point, when the airplane image moves to the side of the shoulder of the anchor, a situation that a part of the airplane image is blocked by the shoulder of the anchor occurs, and when the airplane moves to the back of the anchor, a situation that the airplane image is completely blocked by the shoulder of the anchor occurs. At this time, "connect the first position and the second position to form the rendering effect" in the above step S2053 may be realized by the following steps S20531 to S20533:
step S20531: connecting the first location and the second location.
In the embodiment of the application, when the first half part area of the airplane image is blocked, the boundary of the blocked area and the unblocked area on the airplane image is determined as a first position, and the position of the anchor shoulder position connected with the first position is determined as a second position.
Step S20532: if the display image overlaps the bonding area, an overlapping area with the bonding area is acquired on the display image.
In the embodiment of the application, the first half part of the airplane image is determined to be coincident with the shoulder position of the anchor, so that the coincident region is the first half part of the airplane image.
Step S20533: the overlapped area is transparently processed on the display image to form a rendering effect.
In the embodiment of the application, the front half part of the airplane image is subjected to transparentization treatment, so that the rendering effect that the airplane flies to the side position of the shoulder of the anchor is formed.
In the embodiment of the present application, the "gift-giving request" in step 201 further includes additional information, the content of the additional information is associated with the content of the target virtual gift special effect display, and "connecting the target image in the combining area with the display image to form the rendering effect of the target virtual gift special effect" in step 205 can be realized through steps S2054 to S2056 as follows:
step S2054: the combined area is connected with the display image to form a combined image.
Step S2055: displaying the incidental information within a preset range of the combined image.
Step S2056: and combining the combined image and the additional information to form a rendering effect of the special effect of the target virtual gift.
In the embodiment of the application, when the audience user gives the target virtual gift special effect to the anchor, the additional information related to the target virtual gift special effect content can be added to the anchor at the same time, and the additional information can be voice information and/or character information and the like. When the target image and the display image are connected to form the combined image, if the additional information is character information, the additional information of the character information can be displayed beside the combined image, if the additional information is voice information, the voice information can be played in the forming process of the combined image, and the voice information can be converted into the character information to be displayed around the combined image, so that the final rendering effect of the special effect of the target virtual gift is formed. For example, as shown in the rendering effect diagram of the target virtual gift effect shown in fig. 5, the incidental information 502 may be included.
In the embodiment of the application, the content of the additional information is not limited and can be set according to subjective preferences of audience users. And the size of the preset range between the incidental information and the combined image is not limited.
In the embodiment of the application, the display of the additional information and the rendering effect can be only watched on the given anchor broadcast or can be watched on all users in the target live broadcast room.
In one or more embodiments of the present application, the virtual gift special effect display method may further include step 206 and step 207:
step 206: and generating a dynamic picture by the forming process of the rendering effect of the target virtual gift special effect.
Step 207: and displaying the dynamic picture on a live broadcast interface of a target live broadcast room for displaying the main broadcast live broadcast video picture.
In the embodiment of the application, in order to help audience users to keep the rendering effect of the target virtual gift special effect, a dynamic picture can be generated in the process of forming the rendering effect of the target virtual gift special effect, and the users can select to show the dynamic picture in a live broadcast interface of a target live broadcast room and store the dynamic picture in a local storage area of the terminal device. In addition, various filters, such as warm color filters or cold color filters, etc., may be added to the moving picture according to subjective wishes. The photo frame can be added to the dynamic picture, the type and the form of the photo frame are not limited, and the photo frame can be flexibly arranged according to actual conditions.
In the embodiment of the present application, the rendering effect of the target virtual gift special effect may also be formed into a static picture, and various filters, for example, a warm color filter or a cold color filter, may be added to the static picture according to subjective wishes. The photo frame can be added to the static picture, the type and the form of the photo frame are not limited, and the photo frame can be flexibly arranged according to actual conditions.
All the above technical solutions can be combined arbitrarily to form the optional embodiments of the present application, and are not described herein again.
The embodiment of the application provides a method for displaying a special effect of a virtual gift, when audience users in a target live broadcast room give a special effect of the target virtual gift to a main broadcast, a live broadcast client can acquire a target image combined with the special effect of the target virtual gift in a video picture of the main broadcast, and after the target image is connected with a display image of the special effect of the target virtual gift, the displayed contents of the target image and the display image are mutually complemented, so that a rendering effect showing complete contents is formed. When the live broadcast video pictures of the main broadcast are different, the display image of the special effect of the target virtual gift can be connected with the combination area with different target images to form different rendering effects, so that the personalized interaction effect of the display image of the special effect of the virtual gift and the live broadcast video pictures of the main broadcast is realized, the present satisfaction of audience users is increased, the shocking special effect is presented, and the category of the special effect of the virtual gift in a live broadcast room is enriched.
An embodiment of the present application provides another virtual gift special effect display method, which may be executed by a processor of a live broadcast server, as shown in fig. 6, a specific flow of the another virtual gift special effect display method mainly includes steps 601 to 605, which are described in detail as follows:
step 601, the anchor live video data of the target live broadcast room is sent to the live broadcast client.
In the embodiment of the application, after receiving a gift presentation request sent by a live broadcast client, a live broadcast server needs to acquire live broadcast video data corresponding to a live broadcast video picture in order to determine a combination area in the live broadcast video picture.
Step 602, receiving a gift giving request sent by a live broadcast client, and acquiring area location data in anchor live video data according to the gift giving request.
In the embodiment of the present application, the gift-giving request of the target virtual gift special effect includes a connection rule between the display image of the target virtual gift special effect and the target image, the target image is formed according to the area location data, and the step 602 of "acquiring the area location data in the anchor live video data according to the gift-giving request" may be implemented by the following steps S6021 to S6024:
step S6021: and setting a reference origin in a main broadcast video picture formed by the main broadcast video data.
In this embodiment of the application, in order to obtain the position of the positioning point of the combination area relative to the anchor live video picture, a reference origin may be first set in the anchor live video picture, a position value of the reference origin in the anchor live video picture may be set as a fixed value, and the position value of the positioning point of the combination area may be obtained using the position value of the reference origin as a reference.
Step S6022: a coordinate system is set in the anchor live video frame based on the reference origin.
In the embodiment of the application, in order to more conveniently obtain the position values of the positioning points in the combined area and make the obtaining rules of the position values of the positioning points the same, a coordinate system may be set in the anchor live video picture based on the reference origin, so that the position value of each positioning point is obtained according to the position of the positioning point in the coordinate system.
Step S6023: and acquiring a target image combined with the target virtual gift special effect in the anchor live video picture according to the connection rule between the display image of the target virtual gift special effect and the target image in the gift giving request.
In the embodiment of the application, if the connection rule between the display image and the anchor live video frame is that the anchor head position in the anchor live video frame of the display image is connected, the target image can be determined to be the anchor head display area.
Step S6024: and taking the coordinate value of the positioning point of the target image in the coordinate system as the area positioning data.
In the embodiment of the present application, if a point forming an outline of a head display area of a anchor is a positioning point, a coordinate value of each positioning point in a coordinate system is acquired as area positioning data.
In this embodiment of the present application, since the anchor may move continuously during the anchor process, the position of the display area relative to the live video frame of the anchor will change continuously, and in order to ensure the connection accuracy between the display image with special effects and the combination area, after "the coordinate value of the positioning point of the target image in the coordinate system is used as the area positioning data" in step S6024, steps S6025 to S6027 may further be provided:
step S6025: and detecting the position of the positioning point of the target image in the main broadcast live video picture in real time.
Step S6026: and when the position of the positioning point changes, acquiring the positioning point with the changed position as a newly added positioning point.
Step S6027: and acquiring a newly added coordinate value of the newly added positioning point in the coordinate system, and taking the newly added coordinate value as the area positioning data.
In the embodiment of the application, when the live broadcast server finds that the position of the positioning point changes, the live broadcast server can actively feed back the area positioning data of the positioning point to the live broadcast client through the Websocket communication protocol.
Step 603, sending the area location data for the gift-giving request to the live broadcast client.
In this application embodiment, after the live broadcast server acquires the area location data, in order to ensure that the live broadcast client acquires the location of the combined area, the live broadcast server needs to respond to the gift presentation request and send the area location data to the live broadcast client.
All the above technical solutions can be combined arbitrarily to form the optional embodiments of the present application, and are not described herein again.
According to the method for displaying the special effect of the target virtual gift, after a live broadcast server receives a gift giving request sent by a live broadcast client, the live broadcast server can acquire a room identifier and anchor information of a target live broadcast room according to the gift giving request, confirms anchor live broadcast video data in the target live broadcast room, and sends the anchor live broadcast video data to the live broadcast client, so that the live broadcast client can display an anchor live broadcast video picture, and the live broadcast server can acquire a trigger protocol of the special effect of the target virtual gift according to the gift giving request, find out area positioning data, so that the live broadcast client can determine a combination area connected with a display image of the special effect of the target virtual gift in the anchor live broadcast video according to the area positioning data, and determine a target image in the combination area, help the live broadcast client to position the display position of the target virtual gift, and provide a part of a rendering effect.
Referring to fig. 7, fig. 7 is an interaction flow diagram of a method for displaying a special effect of a virtual gift according to an embodiment of the present application. The specific process of the method can be as follows:
and 701, the live broadcast server acquires the anchor live broadcast video data corresponding to the anchor information in the target live broadcast room and sends the anchor live broadcast video data to the live broadcast client.
For example, the live broadcast server may obtain the anchor live broadcast video data corresponding to the anchor information in the target live broadcast room according to the room identifier and the anchor information, and send the anchor live broadcast video data to the live broadcast client.
Step 702, the live client receives the live video data of the anchor and displays the live video picture of the anchor.
For example, the live client receives and parses the anchor live video data, generates an anchor live video frame, and displays the anchor live video frame in the target live room.
And 703, the live broadcast client sends a gift giving request to the live broadcast server according to the giving operation aiming at the special effect of the target virtual gift in the target live broadcast room.
For example, after the audience user performs a gifting operation on a gift gifting identifier in the target live broadcast room, a gift gifting request is generated and sent to the live broadcast server, and the gift gifting request may include a room identifier of the target live broadcast room, anchor information, and a trigger protocol of a target virtual gift special effect.
Step 704, the live broadcast server receives the gift giving request, obtains the area location data of the target virtual gift special effect, and sends the area location data to the live broadcast client.
For example, after receiving a gift-giving request sent by a live client, the live server acquires area location data of a combined area from anchor live video data according to a trigger protocol of a target virtual gift special effect in the gift-giving request.
Step 705, when the position of the positioning point forming the area positioning data changes, the live broadcast server sends the area positioning data formed by the changed positioning point to the live broadcast client.
For example, the position of a positioning point of a target object in a live broadcast video picture of an anchor is detected in real time, when the position of the positioning point changes, the positioning point with the changed position is obtained as a new positioning point, a new coordinate value of the new positioning point in a coordinate system is obtained, and the new coordinate value is used as area positioning data.
And step 706, the live broadcast client acquires the combined area in the main broadcast live broadcast video picture according to the area positioning data.
For example, the corresponding positioning points of the area positioning data in the main broadcast live video picture are acquired, the positioning points are connected to form a combined area, and a target image connected with the display image of the target virtual gift special effect is acquired in the combined area.
And step 707, the live broadcast client generates a display image of the target virtual gift special effect according to the gift giving request.
For example, the live broadcast client of the terminal device may preset display images of different types of virtual gift special effects, and the trigger protocol includes a specific type of the target virtual gift special effect, so that the trigger protocol of the target virtual gift special effect may be acquired by the gift giving request, and the specific type of the target virtual gift special effect and the corresponding display image thereof may be generated according to the trigger protocol.
Step 708, connecting the target image and the display image in the combination area to form a rendering effect of the special effect of the target virtual gift.
For example, according to a connection rule between a display image and a combination area in a trigger protocol, a first position connected with the combination area is acquired on the display image, a second position matched with the first position is acquired on the combination area, and the first position and the second position are connected to form a rendering effect.
All the above technical solutions can be combined arbitrarily to form the optional embodiments of the present application, and are not described herein again.
According to the method for displaying the special effect of the target virtual gift, when audience users in a target live broadcast room give the special effect of the target virtual gift to a main broadcast, a live broadcast client can acquire a combination area combined with the special effect of the target virtual gift in a video picture of the main broadcast, and after a target image in the combination area is connected with a display image of the special effect of the target virtual gift, the displayed contents of the target image and the display image are mutually complemented, so that a rendering effect of showing complete contents is formed. The method and the device have the advantages that the effect of personalized interaction between the display image of the special effect of the target virtual gift and the live broadcast video picture of the main broadcast is realized, the present satisfaction of audience users is increased, the shocker special effect is presented, and the class of the special effect of the virtual gift in the live broadcast room is enriched.
In order to better implement the method for displaying the special effect of the virtual gift in the embodiment of the application, the embodiment of the application also provides a device for displaying the special effect of the virtual gift. Referring to fig. 8, fig. 8 is a schematic structural diagram of a virtual gift special effect display device according to an embodiment of the present application. The virtual gift special effect display apparatus may include a first receiving unit 801, a first transmitting unit 802, a second receiving unit 803, a determining unit 804, a generating unit 805, and a forming unit 806.
The first receiving unit 801 is configured to receive anchor live video data sent by a live broadcast server, and display an anchor live video picture according to the anchor live video data;
a first sending unit 802, configured to send a gift-giving request to a live broadcast server;
a second receiving unit 803, configured to receive the area location data returned by the live broadcast server for the gift-giving request;
a determining unit 804, configured to determine a combined area in the anchor live video frame according to the area location data;
a generating unit 805 configured to generate a display image of a target virtual gift special effect according to the gift-giving request;
and a forming unit 806, configured to connect the target image and the display image in the combination area to form a rendering effect of the target virtual gift special effect.
Optionally, the gift-giving request includes a trigger protocol of the target virtual gift special effect, and the generating unit 805 is further configured to:
acquiring a trigger protocol of the target virtual gift special effect from the gift presenting request, and determining the category information of the target virtual gift special effect according to the trigger protocol;
generating an image shape of the target virtual gift special effect corresponding to the category information;
and proportionally adjusting the size of the image shape according to the matching degree of the size of the combined area and the size of the image shape, and generating a display image.
Optionally, the gift-presentation request includes an interaction rule between the current audience user presenting the special effect of the target virtual gift and the anchor, and the generating unit 805 is further configured to:
acquiring identification information of a current audience user presenting a special effect of a target virtual gift, wherein the identification information comprises a character image photo of the current audience user;
generating a virtual simulation image of a current audience user according to the character image photo;
acquiring anchor information displayed in an anchor live video picture according to anchor live video data, and generating a preset virtual image corresponding to an anchor in the anchor live video picture according to the anchor information;
and combining the virtual simulation image with a preset virtual image according to the interaction rule of the current audience user and the anchor in the gift presenting request to generate a display image of the special effect of the target virtual gift.
Optionally, the gift-giving request includes a connection rule between the display image of the target virtual gift special effect and the target image, and the forming unit 806 is further configured to:
acquiring a first position connected with the target image on the display image according to the connection rule of the display image and the target image in the gift giving request;
acquiring a second position matched with the first position on the target image;
and connecting the first position and the second position to form a rendering effect.
Optionally, the forming unit 806 is further configured to:
connecting the first location and the second location;
if the display image is overlapped with the combination area, acquiring an overlapped area of the display image and the combination area;
the overlapped area is transparently processed on the display image to form a rendering effect.
Optionally, the gift-giving request further includes additional information, the content of the additional information is associated with the content of the target virtual gift special effect display, and the forming unit 806 is further configured to:
connecting the target image and the display image in the combination area to form a combined image;
displaying the incidental information within a preset range of the combined image;
and combining the combined image and the additional information to form a rendering effect of the special effect of the target virtual gift.
Optionally, the second receiving unit 803 is further configured to:
acquiring a positioning point corresponding to the area positioning data in a main broadcast live video picture;
determining a combined area in a main broadcast video picture according to the area positioning data, wherein the combined area comprises the following steps:
and connecting the positioning points to form a combined area connected with the display image of the target virtual gift special effect.
Optionally, the apparatus further comprises:
generating a dynamic picture in the process of forming the rendering effect of the target virtual gift special effect;
and displaying the dynamic picture on a live broadcast interface for displaying the main broadcast live broadcast video picture.
All the above technical solutions can be combined arbitrarily to form the optional embodiments of the present application, and are not described herein again.
The target virtual gift special effect display device provided by the embodiment of the application receives anchor live video data sent by a live broadcast server through the first receiving unit 801, and displays an anchor live video picture according to the anchor live video data; then, the first sending unit 802 sends a gift-giving request to the live server; thereafter, the second receiving unit 803 receives the area location data returned by the live broadcast server for the gift-presentation request; then, the determining unit 804 determines a combined area in the anchor live video frame according to the area positioning data, further, the generating unit 805 generates a display image of the target virtual gift special effect according to the gift presentation request, and finally, the forming unit 806 connects the target image and the display image in the combined area to form a rendering effect of the target virtual gift special effect. The method and the device have the advantages that the effect of personalized interaction between the display image of the special effect of the target virtual gift and the live broadcast video picture of the main broadcast is realized, the present satisfaction of audience users is increased, the shocker special effect is presented, and the class of the special effect of the virtual gift in the live broadcast room is enriched.
In order to better implement another method for displaying a virtual gift special effect according to the embodiment of the present application, another device for displaying a virtual gift special effect is further provided according to the embodiment of the present application. Referring to fig. 9, fig. 9 is a schematic structural diagram of another virtual gift special effect display device according to an embodiment of the present application. The virtual gift special effect display apparatus may include a second transmitting unit 901, a positioning data acquiring unit 902, and a third transmitting unit 903.
The second sending unit 901 is configured to send anchor live video data of a target live broadcast room to a live broadcast client;
the positioning data acquiring unit 902 is configured to receive a gift presentation request sent by a live client, and acquire area positioning data in anchor live video data according to the gift presentation request;
a third sending unit 903, configured to send the area location data for the gift-giving request to the live broadcast client.
Optionally, the gift-giving request includes a connection rule between a display image of the target virtual gift special effect and a target image, the target image is formed according to the area location data, and the location data obtaining unit 902 is further configured to:
setting a reference origin in a main broadcast video picture formed by the main broadcast video data;
setting a coordinate system in a main broadcast live video picture based on a reference origin;
acquiring a target image combined with the target virtual gift special effect in a main broadcast live video picture according to a connection rule between a display image of the target virtual gift special effect and the target image in the gift presentation request;
and taking the coordinate value of the positioning point of the target image in the coordinate system as the area positioning data.
Optionally, the positioning data obtaining unit 902 is further configured to:
detecting the position of a positioning point of a target image in an anchor live video picture in real time;
when the position of the positioning point changes, acquiring the positioning point with the changed position as a newly added positioning point;
and acquiring a newly added coordinate value of the newly added positioning point in the coordinate system, and taking the newly added coordinate value as the area positioning data.
All the above technical solutions can be combined arbitrarily to form the optional embodiments of the present application, and are not described herein again.
The target virtual gift special effect display device provided by the embodiment of the application sends anchor live video data of a target live broadcast room to a live broadcast client through a second sending unit 901; then, the positioning data obtaining unit 902 receives a gift presentation request sent by a live client, and obtains the area positioning data in the anchor live video data according to the gift presentation request; finally, the area location data for the gift-presentation request is sent to the live client through the third sending unit 903. Therefore, positioning data of the combined area in the main broadcast video picture is provided for the live broadcast client, so that the live broadcast client can acquire the position of the display area, position the position of the display image of the target virtual gift special effect and finally form the rendering effect of the target virtual gift special effect.
Correspondingly, the embodiment of the application also provides a computer device, which can be a terminal, and the terminal can be a terminal device such as a smart phone, a tablet computer, a notebook computer, a touch screen, a game machine, a personal computer, a personal digital assistant and the like. As shown in fig. 10, fig. 10 is a schematic structural diagram of a computer device according to an embodiment of the present application. The computer device 1000 includes a processor 1001 with one or more processing cores, a memory 1002 with one or more computer-readable storage media, and a computer program stored on the memory 1002 and executable on the processor. The processor 1001 is electrically connected to the memory 1002. Those skilled in the art will appreciate that the computer device configurations illustrated in the figures are not meant to be limiting of computer devices and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
The processor 1001 is a control center of the computer apparatus 1000, connects various parts of the entire computer apparatus 1000 using various interfaces and lines, performs various functions of the computer apparatus 1000 and processes data by running or loading software programs and/or modules stored in the memory 1002, and calling data stored in the memory 1002, thereby performing overall monitoring of the computer apparatus 1000.
In this embodiment of the application, the processor 1001 in the computer device 1000 loads instructions corresponding to processes of one or more applications into the memory 1002, and the processor 1001 runs the applications stored in the memory 1002 according to the following steps, so as to implement various functions:
receiving anchor live video data sent by a live broadcast server, and displaying an anchor live video picture according to the anchor live video data; sending a gift presentation request to a live broadcast server; receiving area positioning data returned by the live broadcast server aiming at the gift presentation request; determining a combined area in a main broadcast live video picture according to the area positioning data; generating a display image of the target virtual gift special effect according to the gift giving request; and connecting the target image and the display image in the combination area to form the rendering effect of the special effect of the target virtual gift.
Sending the anchor live video data of the target live broadcast room to the live broadcast client; receiving a gift presentation request sent by a live client, and acquiring area positioning data in anchor live video data according to the gift presentation request; and sending the area positioning data for the gift giving request to the live client.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Optionally, as shown in fig. 10, the computer device 1000 further includes: touch-sensitive display screen 1003, radio frequency circuit 1004, audio circuit 1005, input unit 1006 and power 1007. The processor 1001 is electrically connected to the touch display screen 1003, the radio frequency circuit 1004, the audio circuit 1005, the input unit 1006, and the power supply 1007, respectively. Those skilled in the art will appreciate that the computer device architecture illustrated in FIG. 10 is not intended to be limiting of computer devices and may include more or less components than those illustrated, or combinations of certain components, or different arrangements of components.
The touch display screen 1003 can be used for displaying a graphical user interface and receiving an operation instruction generated by a user acting on the graphical user interface. The touch display screen 1003 may include a display panel and a touch panel. The display panel may be used, among other things, to display information entered by or provided to a user and various graphical user interfaces of the computer device, which may be made up of graphics, text, icons, video, and any combination thereof. Alternatively, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations of a user on or near the touch panel (for example, operations of the user on or near the touch panel using any suitable object or accessory such as a finger, a stylus pen, and the like), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1001, and can receive and execute commands sent by the processor 1001. The touch panel may cover the display panel, and when the touch panel detects a touch operation thereon or nearby, the touch panel transmits the touch operation to the processor 1001 to determine the type of the touch event, and then the processor 1001 provides a corresponding visual output on the display panel according to the type of the touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 1003 to implement input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two separate components to perform the input and output functions. That is, the touch display 1003 may also be used as a part of the input unit 1006 to implement an input function.
In this embodiment of the application, a live broadcast user interface is generated on the touch display 1003 by executing a live broadcast application through the processor 1001, where the live broadcast user interface includes a live broadcast main broadcast live broadcast video frame, a public screen area for displaying various messages in a target live broadcast room, a gift area for presenting a virtual gift in the target live broadcast room by a viewer user, and the like, after the user performs a presentation operation of a special effect of the target virtual gift in the gift area, a live broadcast client on the computer device sends a gift presentation request to the live broadcast server, and after receiving area positioning data and main broadcast live broadcast video data sent by the live broadcast server, the computer device determines a combination area in the main broadcast live broadcast video area, connects a display image of the generated special effect of the target virtual gift with the combination area, and the display image may be located at any position of the user interface, thereby generating a rendering effect of the special effect of the target virtual gift.
The radio frequency circuit 1004 may be used for transceiving radio frequency signals to establish wireless communication with a network device or other computer device through wireless communication, and for transceiving signals with the network device or other computer device.
Audio circuitry 1005 may be used to provide an audio interface between a user and a computer device through speakers and microphones. The audio circuit 1005 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts a collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 1005, and outputs the audio data to the processor 1001 for processing, for example, to another computer device via the radio frequency circuit 1004, or outputs the audio data to the memory 1002 for further processing. The audio circuitry 1005 may also include an earbud jack to provide communication of a peripheral headset with the computer device.
The input unit 1006 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The power supply 1007 is used to power the various components of the computer device 1000. Optionally, the power supply 1007 may be logically connected to the processor 1001 through a power management system, so as to implement functions of managing charging, discharging, power consumption management, and the like through the power management system. The power supply 1007 may also include any component including one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown in fig. 10, the computer device 1000 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which are not described in detail herein.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
As can be seen from the above, when the computer device provided in this embodiment is used as a live broadcast client, and when an audience user in a target live broadcast room presents a target virtual gift special effect to a live broadcast, the live broadcast client may obtain a target image in a live broadcast video frame of the live broadcast, where the target image is combined with the target virtual gift special effect, and after the target image is connected with a display image of the target virtual gift special effect, the displayed contents of the target image and the display image are mutually supplemented, so as to form a rendering effect representing a complete content. When the live broadcast video pictures of the main broadcast are different, the display image of the special effect of the target virtual gift can be connected with the combination area with different target images to form different rendering effects, so that the personalized interaction effect of the display image of the special effect of the virtual gift and the live broadcast video pictures of the main broadcast is realized, the present satisfaction of audience users is increased, the shocking special effect is presented, and the category of the special effect of the virtual gift in a live broadcast room is enriched.
When the computer equipment provided by the embodiment is used as a live broadcast server, the live broadcast server can confirm live broadcast video data in a target live broadcast room according to room identification and live broadcast information of the target live broadcast room, the live broadcast video data is sent to a live broadcast client, so that the live broadcast client can display live broadcast video pictures, after the live broadcast server receives a gift giving request sent by the live broadcast client, the live broadcast server can find out area positioning data according to a trigger protocol of a target virtual gift special effect in the gift giving request, so that the live broadcast client can determine a target image in a combination area connected with a display image of the target virtual gift special effect in the live broadcast video according to the area positioning data, help the live broadcast client to position a display position of the target virtual gift special effect, and provide a part of a rendering effect.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer-readable storage medium, in which a plurality of computer programs are stored, and the computer programs can be loaded by a processor to execute the steps in any one of the virtual gift special effect display methods provided by the embodiments of the present application. For example, the computer program may perform the following steps:
receiving anchor live video data sent by a live broadcast server, and displaying an anchor live video picture according to the anchor live video data; sending a gift presentation request to a live broadcast server; receiving area positioning data returned by the live broadcast server aiming at the gift presentation request; determining a combined area in a main broadcast video picture according to the area positioning data; generating a display image of the target virtual gift special effect according to the gift giving request; and connecting the target image and the display image in the combination area to form the rendering effect of the special effect of the target virtual gift.
The computer program may further perform the steps of:
sending anchor live video data of a target live broadcast room to a live broadcast client; receiving a gift presentation request sent by a live client, and acquiring area positioning data in anchor live video data according to the gift presentation request; and sending the area positioning data for the gift giving request to the live client.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like.
As the computer program stored in the storage medium can execute the steps in any of the virtual gift special effect display methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any of the virtual gift special effect display methods provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described again here.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
The virtual gift special effect display method, the virtual gift special effect display device, the computer equipment and the storage medium provided by the embodiment of the application are introduced in detail, a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the technical scheme and the core idea of the invention; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (15)

1. A method for displaying a special effect of a virtual gift is characterized by comprising the following steps:
receiving anchor live video data sent by a live broadcast server, and displaying an anchor live video picture according to the anchor live video data;
sending a gift presentation request to the live broadcast server, wherein the gift presentation request comprises an interaction rule of a current audience user presenting a target virtual gift special effect and a main broadcast;
receiving area positioning data returned by the live broadcast server for the gift giving request;
determining a combined area in the anchor live video picture according to the area positioning data;
generating a display image of a target virtual gift special effect with the characteristics of the current audience user according to an interaction rule in the gift presenting request, wherein the display image comprises a preset virtual image of which the attribute is identified by the current audience user, and the preset virtual image is used for representing a main broadcast image;
and connecting the target image in the combination area with a preset virtual image in the display image to form a rendering effect of the special effect of the target virtual gift, wherein the target image is a local area of a main broadcast in the main broadcast live video picture.
2. The method of claim 1, wherein the gift-giving request further includes a triggering protocol for the target virtual gift special effect, and wherein generating the display image of the target virtual gift special effect having the current viewer-user characteristic according to interaction rules in the gift-giving request comprises:
acquiring the trigger protocol of the target virtual gift special effect from the gift giving request, and determining the category information of the target virtual gift special effect according to the trigger protocol;
generating an image shape of the target virtual gift special effect corresponding to the category information;
and adjusting the size of the image shape according to the matching degree of the size of the combined area and the size of the image shape in proportion to generate the display image.
3. The method of claim 1, wherein generating a display image of a target virtual gift special effect having the current viewer-user characteristics according to interaction rules in the gift-giving request comprises:
acquiring identification information of the current audience user presenting the special effect of the target virtual gift, wherein the identification information comprises a character image photo of the current audience user;
generating a virtual simulation image of the current audience user according to the character image photo;
acquiring anchor information displayed in an anchor live video picture according to the anchor live video data, and generating a preset virtual image corresponding to an anchor in the anchor live video picture according to the anchor information;
and combining the virtual simulation image with the preset virtual image according to the interaction rule of the current audience user and the anchor in the gift presenting request to generate a display image of the special effect of the target virtual gift.
4. The method of claim 1, wherein the gift-giving request further includes a connection rule between the display image of the target virtual gift special effect and the target image, and wherein the connection between the target image in the combined area and a preset virtual image in the display image forms a rendering effect of the target virtual gift special effect, and wherein the connection rule comprises:
acquiring a first position connected with the target image on the display image according to the connection rule of the display image and the target image in the gift giving request;
acquiring a second position matched with the first position on the target image;
and connecting the first position and the second position to form the rendering effect.
5. The method of claim 4, wherein the connecting the first location and the second location forms the rendering effect, comprising:
connecting the first location and the second location;
if the display image is overlapped with the combination area, acquiring an overlapped area of the display image and the combination area;
and performing transparency processing on the overlapped area on the display image to form the rendering effect.
6. The method of claim 1, wherein the gift-presentation request further comprises additional information, the content of the additional information is associated with the content of the target virtual gift special effect display, and the connecting the target image in the combined area with a preset virtual image in the display image forms a rendering effect of the target virtual gift special effect, comprising:
connecting the target image and the display image in the combination area to form a combined image;
displaying the incidental information within a preset range of the combined image;
and combining the combined image and the additional information to form a rendering effect of the target virtual gift special effect.
7. The method of claim 1, wherein the receiving the area location data returned by the live broadcast server for the gift-giving request comprises:
acquiring a positioning point corresponding to the area positioning data in the anchor live video picture;
the determining a combined area in the anchor live video picture according to the area positioning data comprises:
and connecting the positioning points to form the combination area connected with the display image of the target virtual gift special effect.
8. The method of claim 1, further comprising:
generating a dynamic picture by the process of forming the rendering effect of the target virtual gift special effect;
and displaying the dynamic picture on a live broadcast interface for displaying the main broadcast live broadcast video picture.
9. A method for displaying a special effect of a virtual gift is characterized by comprising the following steps:
sending anchor live video data of a target live broadcast room to a live broadcast client, wherein the anchor live broadcast video data are used for displaying anchor live broadcast video pictures;
receiving a gift presentation request sent by the live broadcast client, and acquiring area positioning data in the anchor live broadcast video data according to the gift presentation request, wherein the gift presentation request comprises an interaction rule between a current audience user presenting a target virtual gift special effect and an anchor, and the area positioning data is used for determining a combined area in an anchor live broadcast video picture;
sending the area positioning data aiming at the gift giving request to the live broadcast client so that the live broadcast client determines the combination area based on the area positioning data, connecting a target image in the combination area with a preset virtual image in a display image to form a rendering effect of a target virtual gift special effect, wherein the display image is generated according to the interaction rule and has the target virtual gift special effect, the target virtual gift special effect has the characteristics of a current audience user, the display image comprises the preset virtual image of which the attribute is identified by the current audience user, the preset virtual image is used for representing an anchor image, and the target image is a local area of an anchor in an anchor live video picture.
10. The method of claim 9, wherein the gift-giving request includes a connection rule between a display image of a target virtual gift special effect and a target image, the target image being formed according to the area location data, and wherein obtaining the area location data in the anchor live video data according to the gift-giving request includes:
setting a reference origin in a main broadcast video picture formed by the main broadcast video data;
setting a coordinate system in the anchor live video picture based on the reference origin;
according to the connection rule between the display image of the target virtual gift special effect and the target image in the gift presenting request, acquiring a target image combined with the target virtual gift special effect in the anchor live video picture;
and taking the coordinate value of the positioning point of the target image in the coordinate system as the area positioning data.
11. The method according to claim 10, wherein said taking the coordinate value of the positioning point of the target image in the coordinate system as the area positioning data further comprises:
detecting the position of a positioning point of the target image in the anchor live video picture in real time;
when the position of the positioning point changes, acquiring the positioning point with the changed position as a new positioning point;
and acquiring a newly added coordinate value of the newly added positioning point in the coordinate system, and taking the newly added coordinate value as the area positioning data.
12. A virtual gift special effect display device, comprising:
the first receiving unit is used for receiving anchor live video data sent by a live broadcast server and displaying an anchor live video picture according to the anchor live video data;
a first sending unit, configured to send a gift-giving request to the live broadcast server, where the gift-giving request includes an interaction rule between a current audience user giving a target virtual gift special effect and a main broadcast;
a second receiving unit, configured to receive the area location data returned by the live broadcast server for the gift-giving request;
the determining unit is used for determining a combined area in the main broadcast live video picture according to the area positioning data;
a generating unit, configured to generate a display image of a target virtual gift special effect having characteristics of the current viewer user according to an interaction rule in the gift presentation request, where the display image includes a preset virtual image of which an attribute is identified by the current viewer user, and the preset virtual image is used to represent a anchor image;
and the forming unit is used for connecting a target image in the combination area with a preset virtual image in the display image to form a rendering effect of the special effect of the target virtual gift, wherein the target image is a local area of a main broadcast in a main broadcast live video picture.
13. A virtual gift special effect display device, comprising:
the second sending unit is used for sending anchor live video data of a target live broadcast room to the live broadcast client, wherein the anchor live broadcast video data are used for displaying anchor live broadcast video pictures;
the positioning data acquisition unit is used for receiving a gift presentation request sent by the live broadcast client and acquiring regional positioning data in the anchor live broadcast video data according to the gift presentation request, wherein the gift presentation request comprises an interaction rule between a current audience user presenting a target virtual gift special effect and an anchor, and the regional positioning data is used for determining a combination region in an anchor live broadcast video picture;
a third sending unit, configured to send the area location data for the gift giving request to the live broadcast client, so that the live broadcast client determines the combination area based on the area location data, and connects a target image in the combination area with a preset virtual image in a display image to form a rendering effect of a target virtual gift special effect, where the display image is generated according to the interaction rule and has the target virtual gift special effect, the target virtual gift special effect has characteristics of a current audience user, the display image includes the preset virtual image of which an attribute is identified by the current audience user, the preset virtual image is used to represent a main broadcast image, and the target image is a local area of a main broadcast in a main broadcast live video picture.
14. A computer device, comprising:
a memory for storing a computer program;
a processor for implementing the steps in the virtual gift special effect display method of any one of claims 1 to 11 when executing the computer program.
15. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps of the virtual gift special effect display method of any one of claims 1 to 11.
CN202110565947.7A 2021-05-24 2021-05-24 Virtual gift special effect display method and device, computer equipment and storage medium Active CN113395533B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110565947.7A CN113395533B (en) 2021-05-24 2021-05-24 Virtual gift special effect display method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110565947.7A CN113395533B (en) 2021-05-24 2021-05-24 Virtual gift special effect display method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113395533A CN113395533A (en) 2021-09-14
CN113395533B true CN113395533B (en) 2023-03-21

Family

ID=77618831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110565947.7A Active CN113395533B (en) 2021-05-24 2021-05-24 Virtual gift special effect display method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113395533B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473211B (en) * 2021-08-20 2023-07-14 广州博冠信息科技有限公司 Virtual gift processing method and device, storage medium and electronic equipment
CN113873314A (en) * 2021-09-30 2021-12-31 北京有竹居网络技术有限公司 Live broadcast interaction method and device, readable medium and electronic equipment
CN113766290B (en) * 2021-10-20 2023-10-31 广州方硅信息技术有限公司 Live interaction method and device, storage medium and computer equipment
CN113992927B (en) * 2021-10-22 2024-05-24 广州方硅信息技术有限公司 Method and device for generating secondary virtual gift, electronic equipment and storage medium
CN114025189B (en) * 2021-11-02 2023-11-17 百果园技术(新加坡)有限公司 Virtual object generation method, device, equipment and storage medium
CN113784180A (en) * 2021-11-10 2021-12-10 北京达佳互联信息技术有限公司 Video display method, video pushing method, video display device, video pushing device, video display equipment and storage medium
CN114327182B (en) * 2021-12-21 2024-04-09 广州博冠信息科技有限公司 Special effect display method and device, computer storage medium and electronic equipment
CN116567274A (en) * 2022-01-27 2023-08-08 华为云计算技术有限公司 Live broadcast interaction method, device and system
WO2023178640A1 (en) * 2022-03-25 2023-09-28 云智联网络科技(北京)有限公司 Method and system for realizing live-streaming interaction between virtual characters
CN114928748A (en) * 2022-04-07 2022-08-19 广州方硅信息技术有限公司 Rendering processing method, terminal and storage medium of dynamic effect video of virtual gift
CN115225923B (en) * 2022-06-09 2024-03-22 广州博冠信息科技有限公司 Method and device for rendering gift special effects, electronic equipment and live broadcast server
CN117294902A (en) * 2022-06-17 2023-12-26 北京字跳网络技术有限公司 Interaction method based on virtual gift and related equipment
CN116489442A (en) * 2023-04-04 2023-07-25 北京优酷科技有限公司 Live broadcast interaction method and device, electronic equipment and computer storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111526412A (en) * 2020-04-30 2020-08-11 广州华多网络科技有限公司 Panoramic live broadcast method, device, equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109191544A (en) * 2018-08-21 2019-01-11 北京潘达互娱科技有限公司 A kind of paster present methods of exhibiting, device, electronic equipment and storage medium
CN110139142A (en) * 2019-05-16 2019-08-16 北京达佳互联信息技术有限公司 Virtual objects display methods, device, terminal and storage medium
CN110475150B (en) * 2019-09-11 2021-10-08 广州方硅信息技术有限公司 Rendering method and device for special effect of virtual gift and live broadcast system
CN110493630B (en) * 2019-09-11 2020-12-01 广州华多网络科技有限公司 Processing method and device for special effect of virtual gift and live broadcast system
CN110557649B (en) * 2019-09-12 2021-12-28 广州方硅信息技术有限公司 Live broadcast interaction method, live broadcast system, electronic equipment and storage medium
CN112533053B (en) * 2020-11-30 2022-08-23 北京达佳互联信息技术有限公司 Live broadcast interaction method and device, electronic equipment and storage medium
JP2021051763A (en) * 2020-12-03 2021-04-01 ステルスバリュー合同会社 Information processing device and program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111526412A (en) * 2020-04-30 2020-08-11 广州华多网络科技有限公司 Panoramic live broadcast method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113395533A (en) 2021-09-14

Similar Documents

Publication Publication Date Title
CN113395533B (en) Virtual gift special effect display method and device, computer equipment and storage medium
EP3873100A1 (en) Interactive method and apparatus for live streaming
CN114205324B (en) Message display method, device, terminal, server and storage medium
CN114466209B (en) Live broadcast interaction method and device, electronic equipment, storage medium and program product
CN112118477B (en) Virtual gift display method, device, equipment and storage medium
CN113727130B (en) Message prompting method, system and device for live broadcasting room and computer equipment
CN112492339B (en) Live broadcast method, device, server, terminal and storage medium
CN113411656B (en) Information processing method, information processing device, computer equipment and storage medium
CN112516589A (en) Game commodity interaction method and device in live broadcast, computer equipment and storage medium
CN112261481B (en) Interactive video creating method, device and equipment and readable storage medium
CN114245221B (en) Interaction method and device based on live broadcasting room, electronic equipment and storage medium
CN113485617B (en) Animation display method and device, electronic equipment and storage medium
US11930228B2 (en) Computer program, server device, terminal device and method
CN109754275B (en) Data object information providing method and device and electronic equipment
CN113645476B (en) Picture processing method and device, electronic equipment and storage medium
CN114430494B (en) Interface display method, device, equipment and storage medium
CN109819341B (en) Video playing method and device, computing equipment and storage medium
CN109788327B (en) Multi-screen interaction method and device and electronic equipment
CN116437155A (en) Live broadcast interaction method and device, computer equipment and storage medium
CN114189731B (en) Feedback method, device, equipment and storage medium after giving virtual gift
CN115193043A (en) Game information sending method and device, computer equipment and storage medium
CN112261482B (en) Interactive video playing method, device and equipment and readable storage medium
CN112073799B (en) Virtual resource management method and device, computer equipment and readable storage medium
CN115379250B (en) Video processing method, device, computer equipment and storage medium
CN115002496B (en) Information processing method and device of live broadcast platform, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant