CN113840154A - Live broadcast interaction method and system based on virtual gift and computer equipment - Google Patents

Live broadcast interaction method and system based on virtual gift and computer equipment Download PDF

Info

Publication number
CN113840154A
CN113840154A CN202111106715.1A CN202111106715A CN113840154A CN 113840154 A CN113840154 A CN 113840154A CN 202111106715 A CN202111106715 A CN 202111106715A CN 113840154 A CN113840154 A CN 113840154A
Authority
CN
China
Prior art keywords
virtual gift
target
live broadcast
content
broadcast room
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.)
Granted
Application number
CN202111106715.1A
Other languages
Chinese (zh)
Other versions
CN113840154B (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 Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Cubesili 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 Cubesili Information Technology Co Ltd filed Critical Guangzhou Cubesili Information Technology Co Ltd
Priority to CN202111106715.1A priority Critical patent/CN113840154B/en
Publication of CN113840154A publication Critical patent/CN113840154A/en
Application granted granted Critical
Publication of CN113840154B publication Critical patent/CN113840154B/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/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
    • 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • 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

Abstract

The application relates to the technical field of network live broadcast, and provides a live broadcast interaction method, a live broadcast interaction system and computer equipment based on virtual gifts, wherein the method comprises the following steps: the audience client side responds to a content adding instruction of the target virtual gift, acquires a live broadcast room identifier and target content data, generates a content adding request according to the live broadcast room identifier and the target content data, and sends the content adding request to the server, so that the server responds to the content adding request and sends a content display instruction to the client side in the live broadcast room corresponding to the live broadcast room identifier; the target virtual gift is a virtual gift with a special effect displayed in a live broadcast room interface corresponding to the live broadcast room identifier at present; and the client side in the live broadcast room responds to the content display instruction to acquire target content data and displays the target content on the target virtual gift according to the target content data. Compared with the prior art, the method and the device have the advantages that the live broadcast interactive experience of the user is improved, and the production of live broadcast interactive behaviors is promoted.

Description

Live broadcast interaction method and system based on virtual gift and computer equipment
Technical Field
The embodiment of the application relates to the technical field of network live broadcast, in particular to a live broadcast interaction method and system based on a virtual gift and computer equipment.
Background
With the rapid development of the internet technology and the streaming media technology, in the process of network live broadcast, various types of interaction can be performed between audiences and a main broadcast so as to improve the live broadcast interaction experience between the audiences and the main broadcast, and specifically, the interaction mode between the audiences and the main broadcast can be that the audiences give a virtual gift to the main broadcast in a live broadcast room.
At present, after audience presents a special virtual gift to a main broadcast in a live broadcast room, the special effect of the virtual gift is displayed in a live broadcast room interface within a certain display time length. Because other audiences can only watch the special effect of the virtual gift, the experience of the live broadcast interaction felt by the audiences is relatively weak, the enthusiasm of the live broadcast interaction is difficult to improve, and the live broadcast watching retention rate and the live broadcast watching time length cannot be improved.
Disclosure of Invention
The embodiment of the application provides a live broadcast interaction method, a live broadcast interaction system and computer equipment based on virtual gifts, and the technical problems that live broadcast interaction experience brought by presenting the virtual gifts is weak and audience interaction enthusiasm cannot be improved can be solved, and the technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a live broadcast interaction method based on a virtual gift, including the steps of:
the audience client side responds to a content adding instruction of the target virtual gift, acquires a live broadcast room identifier and target content data, generates a content adding request according to the live broadcast room identifier and the target content data, and sends the content adding request to the server, so that the server responds to the content adding request and sends a content display instruction to the client side in the live broadcast room corresponding to the live broadcast room identifier; the target virtual gift is a virtual gift with a special effect displayed in a live broadcast room interface corresponding to the live broadcast room identifier at present;
and the client side in the live broadcast room responds to the content display instruction to acquire target content data and displays the target content on the target virtual gift according to the target content data.
In a second aspect, an embodiment of the present application provides a live broadcast interaction method based on a virtual gift, including the steps of:
the server responds to the virtual gift presenting request, acquires a live broadcast room identifier and a target virtual gift identifier, and sends a virtual gift presenting instruction containing the target virtual gift identifier to a client side in the live broadcast room corresponding to the live broadcast room identifier;
the client side in the live broadcast room responds to the virtual gift giving instruction, obtains virtual gift data corresponding to the target virtual gift identification, and displays the special effect of the target virtual gift in each live broadcast room interface according to the virtual gift data corresponding to the target virtual gift identification;
the audience client-side responds to a content addition instruction of the target virtual gift, acquires a live broadcast room identifier and target content data, generates a content addition request according to the live broadcast room identifier and the target content data, and sends the content addition request to the server; the target virtual gift is a virtual gift with a special effect displayed in a live broadcast room interface at present;
the server responds to the content addition request and sends a content display instruction to a client in the live broadcast room;
and the client side in the live broadcast room responds to the content display instruction to acquire target content data and displays the target content on the target virtual gift according to the target content data.
In a third aspect, an embodiment of the present application provides a live broadcast interactive system based on a virtual gift, including: a server and a client; the client comprises a spectator client and a main broadcasting client;
the server is used for responding to the virtual gift giving request, acquiring the direct broadcasting room identifier and the target virtual gift identifier, and sending a virtual gift giving instruction containing the target virtual gift identifier to the client side in the direct broadcasting room corresponding to the direct broadcasting room identifier;
the client side in the live broadcast room is used for responding to the virtual gift giving instruction, acquiring virtual gift data corresponding to the target virtual gift identification, and displaying the special effect of the target virtual gift in each live broadcast room interface according to the virtual gift data corresponding to the target virtual gift identification;
the audience client is used for responding to a content addition instruction of the target virtual gift, acquiring a live broadcast room identifier and target content data, generating a content addition request according to the live broadcast room identifier and the target content data, and sending the content addition request to the server; the target virtual gift is a virtual gift with a special effect displayed in a live broadcast room interface at present;
the server is used for responding to the content addition request and sending a content display instruction to the client in the live broadcast room;
and the client in the live broadcast room is used for responding to the content display instruction, acquiring target content data and displaying the target content on the target virtual gift according to the target content data.
In a fourth aspect, the present application provides a computer device, a processor, a memory, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method according to the first aspect or the second aspect when executing the computer program.
In a fifth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the method according to the first aspect or the second aspect.
In the embodiment of the application, the audience client side responds to a content addition instruction of the target virtual gift to obtain a live broadcast room identifier and target content data, generates a content addition request according to the live broadcast room identifier and the target content data, and sends the content addition request to the server, so that the server responds to the content addition request and sends a content display instruction to the client side in the live broadcast room corresponding to the live broadcast room identifier; the target virtual gift is a virtual gift with a special effect displayed in a live broadcast room interface corresponding to the live broadcast room identifier at present; and the client side in the live broadcast room responds to the content display instruction to acquire target content data and displays the target content on the target virtual gift according to the target content data. According to the embodiment of the application, under a live network scene, the target virtual gift with the special effect displayed on the interface of the live broadcast room at present can be added with the target content on the target virtual gift based on the interaction between the user and the target virtual gift, so that the effect that the target content is attached to the target virtual gift for displaying is achieved, the live broadcast interactive experience brought by the fact that the user presents the virtual gift can be improved, the generation of live broadcast interactive behaviors is promoted, and the live broadcast watching retention rate and the live broadcast watching duration can be improved.
For a better understanding and implementation, the technical solutions of the present application are described in detail below with reference to the accompanying drawings.
Drawings
Fig. 1 is a schematic view of an application scenario of a virtual gift-based live broadcast interaction method according to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a virtual gift-based live broadcast interaction method according to a first embodiment of the present application;
fig. 3 is a schematic view illustrating a display of a virtual gift box in a live broadcast interface according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a display of a special effect of a target virtual gift in a live broadcast interface according to an embodiment of the present application;
fig. 5 is a schematic display diagram of target content in a live broadcast interface according to an embodiment of the present application;
fig. 6 is a schematic flowchart illustrating a virtual gift-based live interaction method according to a second embodiment of the present application;
fig. 7 is another schematic flowchart of a virtual gift-based live interaction method according to a second embodiment of the present application;
fig. 8 is a schematic display diagram of a second interactive control provided in the embodiment of the present application in a live view interface;
fig. 9 is a schematic flowchart of a virtual gift-based live interaction method according to a third embodiment of the present application;
fig. 10 is a schematic diagram illustrating display of target content, a user avatar, and a user name in a live broadcast interface according to an embodiment of the present application;
fig. 11 is a schematic flowchart illustrating a virtual gift-based live interaction method according to a fourth embodiment of the present application;
fig. 12 is a schematic flowchart of a virtual gift-based live interaction method according to a fifth embodiment of the present application;
fig. 13 is a schematic flowchart illustrating a virtual gift-based live interaction method according to a sixth embodiment of the present application;
fig. 14 is a schematic structural diagram of a virtual gift-based live interactive system according to a seventh embodiment of the present application;
fig. 15 is a schematic structural diagram of a computer device according to an eighth embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if/if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
As will be appreciated by those skilled in the art, the terms "client," "terminal device," and "terminal device" as used herein include both wireless signal receiver devices, which include only wireless signal receiver devices without transmit capability, and receiving and transmitting hardware devices, which include receiving and transmitting hardware devices capable of two-way communication over a two-way communication link. Such a device may include: cellular or other communication devices such as personal computers, tablets, etc. having single or multi-line displays or cellular or other communication devices without multi-line displays; PCS (personal communications Service), which may combine voice, data processing, facsimile and/or data communications capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global positioning system) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "client," "terminal device" can be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. The "client", "terminal Device" used herein may also be a communication terminal, a web terminal, a music/video playing terminal, such as a PDA, an MID (Mobile Internet Device) and/or a Mobile phone with music/video playing function, and may also be a smart tv, a set-top box, and the like.
The hardware referred to by the names "server", "client", "service node", etc. is essentially a computer device with the performance of a personal computer, and is a hardware device having necessary components disclosed by the von neumann principle, such as a central processing unit (including an arithmetic unit and a controller), a memory, an input device, an output device, etc., wherein a computer program is stored in the memory, and the central processing unit loads a program stored in an external memory into the internal memory to run, executes instructions in the program, and interacts with the input and output devices, thereby accomplishing specific functions.
It should be noted that the concept of "server" as referred to in this application can be extended to the case of a server cluster. According to the network deployment principle understood by those skilled in the art, the servers should be logically divided, and in physical space, the servers may be independent from each other but can be called through an interface, or may be integrated into one physical computer or a set of computer clusters. Those skilled in the art will appreciate this variation and should not be so limited as to restrict the implementation of the network deployment of the present application.
Referring to fig. 1, fig. 1 is a schematic view of an application scenario of a live broadcast interaction method based on a virtual gift according to an embodiment of the present application, where the application scenario includes an anchor client 101, a server 102, and a viewer client 103 according to an embodiment of the present application, and the anchor client 101 and the viewer client 103 interact with each other through the server 102.
The anchor client 101 is a client that transmits a live video, and is generally a client used by an anchor (i.e., a live anchor user) in live streaming.
The viewer client 103 refers to an end that receives and views a live video, and is typically a client employed by a viewer viewing a video in a live network (i.e., a live viewer user).
The hardware at which the anchor client 101 and viewer client 103 are directed is essentially a computer device, and in particular, as shown in fig. 1, it may be a type of computer device such as a smart phone, smart interactive tablet, and personal computer. Both the anchor client 101 and the viewer client 103 may access the internet via known network access means to establish a data communication link with the server 102.
Server 102, acting as a business server, may be responsible for further connecting with related audio data servers, video streaming servers, and other servers providing related support, etc., to form a logically associated server cluster for serving related terminal devices, such as anchor client 101 and viewer client 103 shown in fig. 1.
In the embodiment of the present application, the anchor client 101 and the audience client 103 may join in the same live broadcast room (i.e., a live broadcast channel), where the live broadcast room is a chat room implemented by means of an internet technology, and generally has an audio/video broadcast control function. The anchor user is live in the live room through the anchor client 101, and the audience of the audience client 103 can log in the server 102 to enter the live room to watch the live.
In the live broadcast room, interaction between the anchor and the audience can be realized through known online interaction modes such as voice, video, characters and the like, generally, the anchor performs programs for the audience in the form of audio and video streams, and economic transaction behaviors can also be generated in the interaction process. Of course, the application form of the live broadcast room is not limited to online entertainment, and can also be popularized to other relevant scenes, such as a video conference scene, a product recommendation sale scene and any other scenes needing similar interaction.
Specifically, the viewer watches live broadcast as follows: a viewer may click on a live application installed on the viewer client 103 and choose to enter any one of the live rooms, triggering the viewer client 103 to load a live room interface for the viewer, the live room interface including a number of interactive components, for example: the video component, the virtual gift bar component, the public screen component and the like can enable audience users to watch live broadcast in a live broadcast room by loading the interactive components, and perform various online interactions, wherein the online interaction modes comprise but are not limited to presenting virtual gifts, speaking on a public screen and the like.
The embodiment of the application provides a live broadcast interaction method based on a virtual gift. Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a virtual gift-based live broadcast interaction method according to a first embodiment of the present application, including the following steps:
s101: the audience client side responds to a content adding instruction of the target virtual gift, acquires a live broadcast room identifier and target content data, generates a content adding request according to the live broadcast room identifier and the target content data, and sends the content adding request to the server, so that the server responds to the content adding request and sends a content display instruction to the client side in the live broadcast room corresponding to the live broadcast room identifier; and the target virtual gift is a virtual gift with a special effect displayed in a live broadcast room interface corresponding to the live broadcast room identifier at present.
S102: and the client side in the live broadcast room responds to the content display instruction to acquire target content data and displays the target content on the target virtual gift according to the target content data.
In this embodiment, a live broadcast interaction method based on a virtual gift is described with a client as an execution subject. Meanwhile, in order to more clearly illustrate each step in the live broadcast interaction method based on the virtual gift, the server-oriented description is also given to help understand the overall scheme. Wherein, the client comprises an anchor client and a spectator client.
Before describing step S101, the process of presenting the target virtual gift will be described as follows:
referring to fig. 3, fig. 3 is a schematic view illustrating a display of a virtual gift box in a live broadcast interface according to an embodiment of the present application. It can be seen that a number of virtual gifts 32 are displayed in the virtual gift box 31, and viewers can browse the virtual gifts 32 in the virtual gift box 31 and can select any one of the virtual gifts to be presented to the anchor.
In the embodiment of the application, for some virtual gifts with relatively high value, the virtual gifts have corresponding virtual gift special effect data, and the display size of the special effects in the live broadcast room interface is large. And when the audience selects to present a certain virtual gift to the anchor, the audience client generates a virtual gift presenting request according to the target virtual gift identifier corresponding to the target virtual gift selected by the audience, and sends the virtual gift presenting request to the server.
And the server responds to the virtual gift giving request, acquires the live broadcast room identifier and the target virtual gift identifier, and sends a virtual gift giving instruction containing the target virtual gift identifier to the client side in the live broadcast room corresponding to the live broadcast room identifier.
And responding to the virtual gift giving instruction by the client in the live broadcast room, acquiring virtual gift data corresponding to the target virtual gift identification, and displaying the special effect of the target virtual gift in each live broadcast room interface according to the virtual gift data corresponding to the target virtual gift identification.
The live broadcast room identification is a live broadcast room identification corresponding to a live broadcast room where the audience client is located, and the client in the live broadcast room comprises a main broadcast client and the audience client in the live broadcast room.
The virtual gift data includes, but is not limited to, virtual gift special effect data, virtual gift display size, virtual gift display position, virtual gift display duration, and the like.
Referring to fig. 4, fig. 4 is a schematic view illustrating a display of a special effect of a target virtual gift in a live broadcast interface according to an embodiment of the present application. Since fig. 4 is a static diagram, the dynamic presentation effect of the special effect cannot be presented, but it is confirmed that the special effect 41 of the target virtual gift is presented in the live view interface 42 in the form of animation. In addition, the display size of the effect 41 of the target virtual gift is large, and the corresponding virtual gift value is also high.
In step S101, the viewer client acquires a live broadcast room identifier and target content data in response to a content addition instruction for the target virtual gift, generates a content addition request based on the live broadcast room identifier and the target content data, transmits the content addition request to the server, and causes the server to transmit a content display instruction to a client in the live broadcast room corresponding to the live broadcast room identifier in response to the content addition request.
And the target virtual gift is a virtual gift with a special effect displayed in a live broadcast room interface corresponding to the live broadcast room identifier at present.
The content addition instruction to the target virtual gift is issued by the viewer client.
Specifically, in an alternative embodiment, the viewer client issues the content append instruction for the target virtual gift as follows:
the target user can trigger the target virtual gift displayed in the live broadcast interface through any one preset trigger mode such as long-press trigger or double-click trigger, the audience client receives the user trigger position, obtains the display area of the target virtual gift in the live broadcast interface, judges whether the user trigger position is in the display area, and if the user trigger position is in the display area, the audience client generates and sends a trigger instruction for the target virtual gift.
The method comprises the steps that an audience client side responds to a trigger instruction of a target virtual gift to obtain first interaction control data, displays a first interaction control in a live broadcast interface according to the first interaction control data, wherein the first interaction control is used for obtaining target content added by a target user, responds to a content addition confirmation instruction of the target virtual gift to obtain target content data containing the target content, and sends a content addition instruction of the target virtual gift.
Wherein the triggering instruction for the target virtual gift is issued after the target user successfully triggers the target virtual gift.
The first interactive control data includes display data of the first interactive control and function data of the first interactive control. The display data of the first interactive control is used for determining the display position, the display size, the display style and the like of the first interactive control. The functional data of the first interactive control is used for realizing the function of the first interactive control for acquiring the target content added by the target user.
The content addition confirmation instruction to the target virtual gift is issued after the target user confirms the addition target content. The target content may be a virtual gift, text, an expression, a combination of text and an expression, and the like.
If the target content is a content with a certain value, for example: a virtual gift. Then, the additional confirmation instruction to the contents of the target virtual gift needs to be issued after the target user successfully pays the corresponding virtual gift value. For a detailed description of this section, reference may be made to the following examples.
It should be further noted that, in the embodiment of the present application, the target user is a viewer in the live broadcast room to watch the live broadcast.
After the viewer client issues a content addition instruction for the target virtual gift, the viewer client acquires the live broadcast room identification and the target content data in response to the content addition instruction for the target virtual gift. The content adding instruction at least comprises a live broadcast room identifier and target content data, and the target content data at least comprises the target content acquired through the first interactive control.
And the audience client generates a content addition request according to the live broadcast room identifier and the target content data, and sends the content addition request to the server, so that the server responds to the content addition request and sends a content display instruction to the client in the live broadcast room corresponding to the live broadcast room identifier.
With respect to S102, the client in the live broadcast room acquires target content data in response to the content display instruction, and displays the target content on the target virtual gift according to the target content data.
In the present embodiment, the target content data includes the target content but does not include the display position of the target content, and therefore, the display position of the target content can be randomly confirmed when the target content is displayed on the target virtual gift.
The display position of the randomly confirmed target content needs to be in the display area where the target virtual gift is located, so that the effect that the target content is attached to the special effect of the target virtual gift for display is achieved.
Referring to fig. 5, fig. 5 is a schematic view illustrating display of target content in a live broadcast interface according to an embodiment of the present application. It can be seen that the target content 51 is displayed attached to the special effect 41 of the target virtual gift in fig. 5.
During the period that the special effect of the target virtual gift is displayed in the live broadcast interface, a plurality of target contents can be added on the target virtual gift. However, when the client in the live broadcast room responds to the target virtual gift display end instruction, the target virtual gift displayed in the live broadcast room interface and all the target content displayed on the target virtual gift are cancelled. That is, the additional target content disappears as the display of the target virtual gift ends.
In an optional embodiment, the number of times of content addition may be further limited, so as to prevent the problem that the content is added by too many users and the display effect of the content is reduced, specifically, the method further includes the steps of: the viewer client stops responding to the content addition instruction to the target virtual gift in response to the content addition stop instruction transmitted by the server.
The content adding stopping instruction is sent when the content adding times of the target virtual gift are acquired by the server and reach a preset adding times threshold value.
For example: if the preset adding time threshold is 30 times, the server will send out a content adding stop instruction when the content adding time reaches 30 times, and the viewer client will stop responding to the content adding stop instruction sent by the server, and the target user can not add any more content.
In the embodiment of the application, the audience client side responds to a content addition instruction of the target virtual gift to obtain a live broadcast room identifier and target content data, generates a content addition request according to the live broadcast room identifier and the target content data, and sends the content addition request to the server, so that the server responds to the content addition request and sends a content display instruction to the client side in the live broadcast room corresponding to the live broadcast room identifier; the target virtual gift is a virtual gift with a special effect displayed in a live broadcast room interface corresponding to the live broadcast room identifier at present; and the client side in the live broadcast room responds to the content display instruction to acquire target content data and displays the target content on the target virtual gift according to the target content data. According to the embodiment of the application, under a live network scene, the target virtual gift with the special effect displayed on the interface of the live broadcast room at present can be added with the target content on the target virtual gift based on the interaction between the user and the target virtual gift, so that the effect that the target content is attached to the target virtual gift for displaying is achieved, the live broadcast interactive experience brought by the fact that the user presents the virtual gift can be improved, the generation of live broadcast interactive behaviors is promoted, and the live broadcast watching retention rate and the live broadcast watching duration can be improved.
Referring to fig. 6, fig. 6 is a flowchart illustrating a virtual gift-based live broadcast interaction method according to a second embodiment of the present application, where the method includes the following steps:
s201: the audience client side responds to a content adding instruction of the target virtual gift, acquires a live broadcast room identifier and target content data, generates a content adding request according to the live broadcast room identifier and the target content data, and sends the content adding request to the server, so that the server responds to the content adding request and sends a content display instruction to the client side in the live broadcast room corresponding to the live broadcast room identifier; and the target virtual gift is a virtual gift with a special effect displayed in a live broadcast room interface corresponding to the live broadcast room identifier at present.
S202: a client side in the live broadcast room responds to a content display instruction, obtains target content data, analyzes the target content data, obtains target content and a user trigger position, and displays the target content at the user trigger position; the user triggering position is a position where the target user triggers the target virtual gift in the live broadcast room interface.
In this embodiment, the flow of step S201 is completely the same as that of step S101, and the difference is that the obtained target content data is different, and in this embodiment, the target content data at least includes the target content and the user trigger position.
Next, how to obtain target content data including at least target content and a user trigger position in the process of triggering the viewer client to issue a content addition instruction to the target virtual gift in the present embodiment will be described.
In an alternative embodiment, referring to fig. 7, the viewer client, in response to the content addition instruction for the target virtual gift, comprises steps S203 to S205:
s203: the audience client side responds to a trigger instruction of the target virtual gift and acquires a user trigger position and first interaction control data.
S204: the audience client displays the first interactive control in the live broadcast room interface according to the first interactive control data; the first interactive control is used for acquiring target content added by a target user.
S205: and the audience client responds to the content addition confirmation instruction of the target virtual gift, obtains target content data according to the target content and the user trigger position, and sends out a content addition instruction of the target virtual gift.
It can be seen that the flow for triggering the viewer client to issue the content addition instruction for the target virtual gift is the same as the flow shown in the first embodiment, except that in step S203, the viewer client, in response to the trigger instruction for the target virtual gift, obtains not only the first interaction control data but also the user trigger position, and in step S205, the viewer client obtains the target content data according to the target content and the user trigger position, so that the target content data at least includes the target content and the user trigger position.
For the description of the triggering instruction, the first interactive control data and the first interactive control of the target virtual gift, reference may be made to the first embodiment, and a description thereof will not be repeated.
Regarding step S202, on the basis that the target content data at least includes the target content and the user trigger position, the client in the live broadcast room acquires the target content data in response to the content display instruction, parses the target content data, acquires the target content and the user trigger position, and displays the target content at the user trigger position.
The user triggering position is a position where the target user triggers the target virtual gift in the live broadcast room interface.
That is to say, in this embodiment, where the target user triggers the target virtual gift, the target content added by the target user will be displayed at the triggered position, so that the target user has an experience that the target user can paste the target content on the target virtual gift, and further, the generation of the live broadcast interaction behavior of the user is better promoted, and the interest of the live broadcast interaction is increased.
In an optional embodiment, the step of acquiring the user trigger position and the first interaction control data in step S203 includes:
and the audience client acquires second interactive control data, displays the second interactive control in a live broadcast interface according to the second interactive control data, and acquires a target content type selected by a user through the second interactive control and acquires first interactive control data corresponding to the target content type.
In this embodiment, the first interactive control for acquiring the target content is different in consideration of different types of target content that different target users wish to add. Therefore, when responding to the trigger instruction of the target virtual gift, the audience client acquires the second interaction control data first, displays the second interaction control in the live broadcast room interface according to the second interaction control data, and acquires the target content type selected by the user through the second interaction control and then acquires the first interaction control data corresponding to the target content type.
And the second interactive control data comprises display data of the second interactive control and function data of the second interactive control. The display data of the second interactive control is used for determining the display position, the display size, the display style and the like of the second interactive control, and the functional data of the second interactive control is used for realizing the function of the second interactive control for acquiring the target content type selected by the target user.
Referring to fig. 8, fig. 8 is a schematic view illustrating a display of a second interactive control in a live view interface according to an embodiment of the present application. As can be seen from fig. 8, the second interactive control 81 displays two target content types, namely a virtual gift additional type 811 and a text and/or expression additional type 812. Then, after the target user selects a different target content type, the acquired first interaction control data corresponding to the target content type is also different, for example: the first interactive control data corresponding to the virtual gift addition type may be virtual gift bar control data, and the first interactive control data corresponding to the text and/or expression addition type may be input bar control data. Fig. 8 is an example showing only two target content types, and a plurality of target content types may be actually provided to further enhance the interest of the interaction.
In an optional embodiment, when the first interactive control or the second interactive control is displayed in the live broadcast interface, the target user does not finish operating, but the display of the special effect of the target virtual gift is finished.
Therefore, when the first interactive control is displayed in the live broadcast interface, if the audience client responds to the target virtual gift display ending instruction, the first interactive control is cancelled to be displayed in the live broadcast interface, prompt information for stopping content addition is acquired, and the prompt information is displayed in the live broadcast interface.
Similarly, when the second interactive control is displayed in the live broadcast interface, if the audience client responds to the target virtual gift display ending instruction, the second interactive control is cancelled to be displayed in the live broadcast interface, the prompt information for stopping content addition is acquired, and the prompt information is displayed in the live broadcast interface.
The prompt information can inform the target user that the special effect of the target virtual gift is displayed and ended, and the content can not be added, so that the live broadcast interactive experience of the user is improved.
Referring to fig. 9, fig. 9 is a flowchart illustrating a virtual gift-based live broadcast interaction method according to a third embodiment of the present application, where the method includes the following steps:
s301: the audience client side responds to a content adding instruction of the target virtual gift, acquires a live broadcast room identifier and target content data, generates a content adding request according to the live broadcast room identifier and the target content data, and sends the content adding request to the server, so that the server responds to the content adding request and sends a content display instruction to the client side in the live broadcast room corresponding to the live broadcast room identifier; and the target virtual gift is a virtual gift with a special effect displayed in a live broadcast room interface corresponding to the live broadcast room identifier at present.
S302: a client side in the live broadcast room responds to a content display instruction, obtains target content data, analyzes the target content data, obtains target content and a user trigger position, and displays the target content at the user trigger position; the user triggering position is a position where the target user triggers the target virtual gift in the live broadcast room interface.
S303: a client in the live broadcast room acquires a target user identifier and a user head portrait corresponding to the target user identifier and/or a user name corresponding to the target user identifier, and displays the user head portrait corresponding to the acquired target user identifier and/or the user name corresponding to the target user identifier on one side of target content; the target user identification is a user identification corresponding to a target user triggering the target virtual gift.
The difference between this embodiment and the second embodiment is in step S303, that is, in this embodiment, not only the target content is displayed at the user trigger position, but also the user avatar corresponding to the target user identifier and/or the user name corresponding to the target user identifier are displayed on one side of the target content.
In this embodiment, the client in the live broadcast room responds to the content display instruction, and not only obtains the target content data, but also obtains the target user identifier.
The target user identifier is a user identifier corresponding to a target user triggering the target virtual gift, and may also be understood as a user identifier corresponding to a viewer client sending a content addition request to the server.
The user avatar corresponding to the target user identifier and/or the user name corresponding to the target user identifier may both be displayed on one side of the target content, or the user avatar corresponding to the target user identifier may be displayed on one side of the target content, or the user name corresponding to the target user identifier may be displayed on one side of the target content.
Wherein, one side of the target content may refer to any position near the target content, such as: the upper side of the target content.
Referring to fig. 10, fig. 10 is a schematic view illustrating display of target content, a user avatar and a user name in a live broadcast interface according to an embodiment of the present application, and it can be seen that the target content 1001, the user avatar 1002 and the user name 1003 in fig. 10 are displayed on a special effect 41 of a target virtual gift. The user avatar 1002 and the user name 1003 are displayed on the upper side of the target content 1001.
In this embodiment, by displaying the user avatar corresponding to the target user identifier and/or the user name corresponding to the target user identifier on one side of the target content, the anchor and the audience in the live broadcast room can know which audience adds the target content to the target virtual gift at present, so that the interactive atmosphere in the live broadcast room can be better enhanced, and the generation of live broadcast interactive behavior is promoted.
Referring to fig. 11, fig. 11 is a schematic flowchart illustrating a virtual gift-based live broadcast interaction method according to a fourth embodiment of the present application, where the method includes the following steps:
s401: responding to a trigger instruction of the target virtual gift by the audience client, and acquiring a user trigger position and virtual gift bar control data when the target content type selected by the target user to be added is a virtual gift addition type; the user triggering position is a position where the target user triggers the target virtual gift in the live broadcast room interface.
S402: the audience client displays the virtual gift bar in the live broadcast room interface according to the virtual gift bar control data; the virtual gift column is used for acquiring the virtual gift added by the target user.
S403: and the audience client responds to the successful virtual gift payment instruction, obtains target content data according to the user trigger position and the virtual gift identification corresponding to the virtual gift added by the target user, and sends out the virtual gift adding instruction.
S404: the audience client responds to a virtual gift adding instruction of the target virtual gift, acquires a live broadcast room identifier and target content data, generates a content adding request according to the live broadcast room identifier and the target content data, and sends the content adding request to the server, so that the server responds to the content adding request and sends a content display instruction to the client in the live broadcast room corresponding to the live broadcast room identifier; and the target virtual gift is a virtual gift with a special effect displayed in a live broadcast room interface corresponding to the live broadcast room identifier at present.
S405: and the client side in the live broadcast room responds to the content display instruction, acquires target content data, analyzes the target content data, acquires a user trigger position, a virtual gift identifier and a virtual gift image corresponding to the virtual gift identifier, and displays the virtual gift image corresponding to the virtual gift identifier at the user trigger position.
In the present embodiment, it is explained in detail how to issue a virtual gift addition instruction and how to display an added virtual gift when the target user selects that the added target content type is a virtual gift addition type.
Regarding step S401, the viewer client acquires a user trigger position and virtual gift bar control data when the target user selects the target content type to be added as a virtual gift addition type in response to the trigger instruction for the target virtual gift.
And the target virtual gift is a virtual gift with a special effect displayed in a live broadcast room interface corresponding to the live broadcast room identifier at present.
The user trigger position is a position where the target user triggers the target virtual gift in the live broadcast room interface.
The triggering instruction for the target virtual gift is issued after the target user successfully triggers the target virtual gift, and for the specific triggering process, reference may be made to the description of the above embodiment.
In an alternative embodiment, the target content type selected by the target user to be added is a virtual gift addition type, which may be understood as that the target user selects the virtual gift addition type in the second interactive control, so that the viewer client is triggered to obtain the first interactive control data corresponding to the user trigger position and the virtual gift addition type.
In this embodiment, the first interactive control data corresponding to the virtual gift addition type is virtual gift bar control data.
With respect to step S402, the viewer client displays the virtual gift bar in the live room interface according to the virtual gift bar control data.
The virtual gift bar control data includes display data of the virtual gift bar and function data of the virtual gift bar. The display data of the virtual gift certificate includes, but is not limited to, style data of the virtual gift certificate, size data of the virtual gift certificate, position data of the virtual gift certificate, internal layout data of the virtual gift certificate, and display images, display sizes, display positions, and the like of the respective virtual gifts in the virtual gift certificate.
The virtual gift bar is displayed in the live broadcast interface so that the target user can browse the virtual gift, and the virtual gift added by the target user is obtained through the virtual gift bar.
In step S403, the viewer client, in response to the virtual gift payment success instruction, obtains the target content data according to the user trigger location and the virtual gift identifier corresponding to the virtual gift added by the target user, and issues a virtual gift addition instruction.
If the target user selects to add the virtual gift, the corresponding virtual gift value needs to be paid, when the payment is successful, the server sends a virtual gift payment success instruction to the audience client, the audience client responds to the virtual gift payment success instruction, target content data is obtained according to the user trigger position and a virtual gift identifier corresponding to the virtual gift added by the target user, and the virtual gift addition instruction is sent.
In an alternative embodiment, before step S403, the spectator client obtains the virtual gift added by the target user, determines whether the virtual gift added by the target user has a special effect, and if not, sends a virtual gift payment request including the target user identifier and the virtual gift identifier to the server.
In this embodiment, by determining whether the virtual gift added by the target user has a special effect, only when the virtual gift added by the target user has no special effect, a virtual gift payment request including the target user identifier and the virtual gift identifier is sent to the server, so that the server responds to the virtual gift payment request, deducts a virtual gift value corresponding to the virtual gift identifier from an account corresponding to the target user identifier, and sends a virtual gift payment success instruction to the viewer client after the deduction is successful.
In another optional embodiment, the spectator client obtains the virtual gift added by the target user, judges whether the virtual gift added by the target user has special effects, if so, displays prompt information that the special effects of the virtual gift cannot be displayed in the live broadcast interface, and sends a virtual gift payment request containing the target user identification and the virtual gift identification to the server when the spectator client responds to the instruction for confirming the virtual gift addition.
In this embodiment, if a target user adds a special virtual gift, the target user needs to prompt the user that the special effect of the virtual gift is not displayed, and send a virtual gift payment request to the server after the target user confirms, so as to further improve the interactive experience of the user.
Regarding step S404, the viewer client, in response to the virtual gift addition instruction for the target virtual gift, acquires the live broadcast room identifier and the target content data, generates a content addition request according to the live broadcast room identifier and the target content data, sends the content addition request to the server, and causes the server, in response to the content addition request, to send a content display instruction to the client in the live broadcast room corresponding to the live broadcast room identifier; and the target virtual gift is a virtual gift with a special effect displayed in a live broadcast room interface corresponding to the live broadcast room identifier at present.
Step S404 may refer to the related description of the foregoing embodiment, and it should be emphasized that, in this embodiment, the obtained target content data at least includes the user trigger position and the virtual gift identifier.
Regarding step S405, the client in the live broadcast room, in response to the content display instruction, acquires the target content data, parses the target content data, acquires the user trigger position, the virtual gift identifier, and the virtual gift image corresponding to the virtual gift identifier, and displays the virtual gift image corresponding to the virtual gift identifier at the user trigger position.
The client side in the live broadcast room analyzes the target content data, obtains the user trigger position and the virtual gift identification, obtains the virtual gift image corresponding to the virtual gift identification according to the virtual gift identification, and displays the virtual gift image corresponding to the virtual gift identification at the user trigger position.
In an alternative embodiment, the virtual gift image corresponding to the virtual gift symbol may be adjusted to a uniform display size.
In another optional embodiment, the virtual gift value corresponding to the virtual gift identifier may be obtained first, and the virtual gift image corresponding to the virtual gift identifier may be scaled according to the display size corresponding to the virtual gift value interval in which the virtual gift value is located. Thereby resulting in a relatively high value virtual gift with a correspondingly larger display size of the virtual gift image.
In the embodiment, the user can add the virtual gift on the target virtual gift by triggering the target virtual gift, so that some virtual gifts without special effects can be displayed depending on the special effect of the target virtual gift, the display effect of the virtual gifts is improved, the generation of live broadcast interaction behavior is effectively promoted, and the interaction interest in the live broadcast process is increased.
Referring to fig. 12, fig. 12 is a schematic flowchart illustrating a virtual gift-based live broadcast interaction method according to a fifth embodiment of the present application, where the method includes the following steps:
s501: the audience client responds to a trigger instruction of the target virtual gift, and when the target content type selected by the target user to be added is a character and/or expression adding type, user trigger position and input column control data are obtained; the user triggering position is a position where the target user triggers the target virtual gift in the live broadcast room interface.
S502: the audience client displays the input field in the live broadcasting room interface according to the input field control data; the input field is used for acquiring characters and/or expressions input by a target user.
S503: and the audience client responds to the character and/or expression addition confirmation instruction, obtains target content data according to the user trigger position and the characters and/or expressions input by the target user, and sends out a character and/or expression addition instruction.
S504: the audience client side responds to a character and/or expression addition instruction of the target virtual gift, acquires a live broadcast room identifier and target content data, generates a content addition request according to the live broadcast room identifier and the target content data, and sends the content addition request to the server, so that the server responds to the content addition request and sends a content display instruction to the client side in the live broadcast room corresponding to the live broadcast room identifier; and the target virtual gift is a virtual gift with a special effect displayed in a live broadcast room interface corresponding to the live broadcast room identifier at present.
S505: and responding to the content display instruction by a client in the live broadcast room, acquiring target content data, analyzing the target content data, acquiring a user trigger position and characters and/or expressions input by a target user, and displaying the characters and/or expressions input by the target user at the user trigger position.
In this embodiment, it is elaborated how to issue a text and/or expression addition type addition instruction and how to display the added text and/or expression when the target user selects that the added target content type is a text and/or expression addition type.
Regarding step S501, in response to a trigger instruction for the target virtual gift, the viewer client acquires a user trigger position and input field control data when the target user selects an additional target content type as a text and/or expression additional type; the user triggering position is a position where the target user triggers the target virtual gift in the live broadcast room interface.
And the target virtual gift is a virtual gift with a special effect displayed in a live broadcast room interface corresponding to the live broadcast room identifier at present.
The user trigger position is a position where the target user triggers the target virtual gift in the live broadcast room interface.
The triggering instruction for the target virtual gift is issued after the target user successfully triggers the target virtual gift, and for the specific triggering process, reference may be made to the description of the above embodiment.
In an alternative embodiment, the target content type selected by the target user as the text and/or expression addition type may be understood as that the target user selects the text and/or expression addition type in the second interaction control, so that the viewer client is triggered to obtain the first interaction control data corresponding to the user trigger position and the text and/or expression addition type.
In this embodiment, the first interaction control data corresponding to the text and/or expression addition type is input field control data.
S502, the audience client displays the input field in the live broadcast interface according to the input field control data; the input field is used for acquiring characters and/or expressions input by a target user.
The input field control data includes display data of the input field and function data of the input field. The display data of the input field is used to determine the display style, display size, display position, and the like of the input field. The function data of the input field is used for realizing the function of acquiring the characters and/or expressions input by the target user.
In step S503, in response to the text and/or expression addition confirmation instruction, the viewer client obtains the target content data according to the user trigger position and the text and/or expression input by the target user, and issues a text and/or expression addition instruction.
In an optional embodiment, before S503, the viewer client sends a text detection request to the server, receives a text detection result of the text and/or the expression added by the target user returned by the server, and sends a text and/or expression addition confirmation instruction if the text and/or the expression added by the target user passes the text detection, so as to prevent sensitive words from being displayed in the live broadcast interface.
In step 504, the viewer client responds to the character and/or expression addition instruction of the target virtual gift, acquires the live broadcast room identifier and the target content data, generates a content addition request according to the live broadcast room identifier and the target content data, and sends the content addition request to the server, so that the server responds to the content addition request and sends a content display instruction to the client in the live broadcast room corresponding to the live broadcast room identifier; and the target virtual gift is a virtual gift with a special effect displayed in a live broadcast room interface corresponding to the live broadcast room identifier at present.
Step S404 may refer to the related description of the foregoing embodiment, and it should be emphasized that, in this embodiment, the obtained target content data at least includes the user trigger position and the text and/or expression input by the target user.
Regarding step S505, the client in the live broadcast room responds to the content display instruction, acquires target content data, parses the target content data, acquires the user trigger position and the text and/or expression input by the target user, and displays the text and/or expression input by the target user at the user trigger position.
In an alternative embodiment, the client in the live broadcast room may convert the text and/or expression input by the target user into an image, and display the image at the user-triggered location.
In this embodiment, the user can add characters and/or expressions on the target virtual gift by triggering the target virtual gift, so that the interaction effect between the user and the target virtual gift is improved, the generation of live broadcast interaction behavior is effectively promoted, and the interaction interest in the live broadcast process is increased.
Referring to fig. 13, fig. 13 is a flowchart illustrating a live broadcast interaction method based on virtual gifts according to a sixth embodiment of the present application, where the method includes the following steps:
s601: and the server responds to the virtual gift giving request, acquires the live broadcast room identifier and the target virtual gift identifier, and sends a virtual gift giving instruction containing the target virtual gift identifier to the client side in the live broadcast room corresponding to the live broadcast room identifier.
S602: and responding to the virtual gift giving instruction by the client in the live broadcast room, acquiring virtual gift data corresponding to the target virtual gift identification, and displaying the special effect of the target virtual gift in each live broadcast room interface according to the virtual gift data corresponding to the target virtual gift identification.
S603: the audience client-side responds to a content addition instruction of the target virtual gift, acquires a live broadcast room identifier and target content data, generates a content addition request according to the live broadcast room identifier and the target content data, and sends the content addition request to the server; the target virtual gift is a virtual gift which displays a special effect in a live broadcast interface at present.
S604: and the server responds to the content addition request and sends a content display instruction to the client in the live broadcast room.
S605: and the client side in the live broadcast room responds to the content display instruction to acquire target content data and displays the target content on the target virtual gift according to the target content data.
In this embodiment, a live broadcast interaction method based on a virtual gift is described with a client and a server as execution subjects. Wherein, the client comprises an anchor client and a spectator client. For the explanation of the specific steps, reference may be made to the above-mentioned examples, which are not repeated here.
Referring to fig. 14, fig. 14 is a schematic structural diagram of a virtual gift-based live broadcast interactive system according to a seventh embodiment of the present application, including: a server 141 and a client 142; clients 142 include viewer client 1421 and anchor client 1422;
the server 141 is configured to respond to the virtual gift giving request, acquire a live broadcast room identifier and a target virtual gift identifier, and send a virtual gift giving instruction including the target virtual gift identifier to the client 142 in the live broadcast room corresponding to the live broadcast room identifier;
the client 142 in the live broadcast room is configured to respond to the virtual gift giving instruction, obtain virtual gift data corresponding to the target virtual gift identifier, and display a special effect of the target virtual gift in each live broadcast room interface according to the virtual gift data corresponding to the target virtual gift identifier;
the viewer client 1421 is configured to, in response to a content addition instruction for the target virtual gift, obtain a live broadcast room identifier and target content data, generate a content addition request according to the live broadcast room identifier and the target content data, and send the content addition request to the server 141; the target virtual gift is a virtual gift with a special effect displayed in a live broadcast room interface at present;
the server 141 is configured to send a content display instruction to the client 142 in the live broadcast room in response to the content addition request;
the client 142 in the live broadcast room is configured to obtain target content data in response to the content display instruction, and display the target content on the target virtual gift according to the target content data.
The live broadcast interactive system based on the virtual gift provided by the embodiment and the live broadcast interactive method based on the virtual gift belong to the same concept, and details of the implementation process are shown in the method embodiment and are not described herein.
Please refer to fig. 15, which is a schematic structural diagram of a computer device according to an eighth embodiment of the present application. As shown in fig. 15, the computer device 15 may include: a processor 150, a memory 151, and a computer program 152 stored in the memory 151 and operable on the processor 150, for example: live broadcast interactive program based on virtual gift; the steps in the first to sixth embodiments are implemented by the processor 150 executing the computer program 152.
The processor 150 may include one or more processing cores, among others. The processor 150 is connected to various parts in the computer device 15 by various interfaces and lines, executes various functions of the computer device 15 and processes data by executing or executing instructions, programs, code sets or instruction sets stored in the memory 151 and calling data in the memory 151, and optionally, the processor 150 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), Programmable Logic Array (PLA). The processor 150 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing contents required to be displayed by the touch display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 150, but may be implemented by a single chip.
The Memory 151 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 151 includes a non-transitory computer-readable medium. The memory 151 may be used to store instructions, programs, code sets or instruction sets. The memory 151 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch instructions, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 151 may optionally be at least one memory device located remotely from the processor 150.
The embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the method steps of the foregoing embodiment, and a specific execution process may refer to specific descriptions of the foregoing embodiment, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules, so as to perform all or part of the functions described above. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, a module or a unit may be divided into only one logical function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium and used by a processor to implement the steps of the above-described embodiments of the method. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc.
The present invention is not limited to the above-described embodiments, and various modifications and variations of the present invention are intended to be included within the scope of the claims and the equivalent technology of the present invention if they do not depart from the spirit and scope of the present invention.

Claims (20)

1. A live broadcast interaction method based on virtual gifts is characterized by comprising the following steps:
the method comprises the steps that an audience client side responds to a content adding instruction of a target virtual gift to obtain a live broadcast room identifier and target content data, a content adding request is generated according to the live broadcast room identifier and the target content data, the content adding request is sent to a server, and the server responds to the content adding request and sends a content displaying instruction to a client side in a live broadcast room corresponding to the live broadcast room identifier; the target virtual gift is a virtual gift with a special effect currently displayed in a live broadcast room interface corresponding to the live broadcast room identifier;
and the client side in the live broadcast room responds to the content display instruction, acquires the target content data, and displays the target content on the target virtual gift according to the target content data.
2. The virtual gift-based live interactive method of claim 1, wherein said displaying target content on the target virtual gift according to the target content data comprises the steps of:
a client in the live broadcast room analyzes the target content data, acquires the target content and a user trigger position, and displays the target content at the user trigger position; the user triggering position is a position where a target user triggers the target virtual gift in the live broadcast room interface.
3. The virtual gift-based live interactive method of claim 1, wherein said displaying target content on the target virtual gift according to the target content data comprises the steps of:
a client in the live broadcast room analyzes the target content data, acquires the target content and a user trigger position, and displays the target content at the user trigger position; the user trigger position is a position where a target user triggers the target virtual gift in the live broadcast room interface;
a client in the live broadcast room acquires a target user identifier and a user avatar corresponding to the target user identifier and/or a user name corresponding to the target user identifier, and displays the user avatar corresponding to the acquired target user identifier and/or the user name corresponding to the target user identifier on one side of the target content; the target user identifier is a user identifier corresponding to the target user triggering the target virtual gift.
4. The virtual gift-based live interactive method of claim 2, wherein the viewer client, in response to the content addition instruction for the target virtual gift, is preceded by the steps of:
the audience client side responds to a trigger instruction of the target virtual gift and acquires the user trigger position and first interaction control data;
the audience client displays a first interactive control in the live broadcast room interface according to the first interactive control data; the first interactive control is used for acquiring target content added by the target user;
and the audience client responds to a content addition confirmation instruction of the target virtual gift, obtains the target content data according to the target content and the user trigger position, and sends out the content addition instruction of the target virtual gift.
5. The virtual gift-based live interactive method of claim 4, wherein the viewer client, in response to the trigger instruction for the target virtual gift, is preceded by the steps of:
the audience client receives the user trigger position and acquires a display area of the target virtual gift in the live broadcast room interface;
and if the user trigger position is in the display area, the audience client sends a trigger instruction for the target virtual gift.
6. The virtual gift-based live interactive method of claim 4 or 5, wherein the viewer client displays a first interactive control in the live room interface according to the first interactive control data, and the method comprises the following steps:
and if the audience client responds to the target virtual gift display ending instruction, canceling to display the first interactive control in the live broadcast interface, acquiring prompt information for stopping content addition, and displaying the prompt information in the live broadcast interface.
7. The virtual gift-based live interaction method of claim 4 or 5, wherein the step of obtaining the user-triggered location and first interaction control data comprises:
the audience client side obtains second interaction control data and displays a second interaction control in the live broadcast room interface according to the second interaction control data;
and the audience client acquires the target content type selected by the target user through the second interactive control, and acquires the first interactive control data corresponding to the target content type.
8. The virtual gift-based live interaction method of claim 7, wherein the viewer client obtains second interaction control data, and displays a second interaction control in the live interaction room interface according to the second interaction control data, and the method comprises the following steps:
and if the audience client responds to the target virtual gift display ending instruction, canceling to display the second interactive control in the live broadcast interface, acquiring prompt information for stopping content addition, and displaying the prompt information in the live broadcast interface.
9. The virtual gift-based live interaction method of any of claims 1-5, wherein said content addition instruction comprises a virtual gift addition instruction, and said viewer client responds to the content addition instruction of the target virtual gift before, comprising the steps of:
the audience client responds to the trigger instruction of the target virtual gift, and when the target content type selected by the target user to be added is the virtual gift adding type, the user trigger position and the virtual gift bar control data are obtained; wherein the user trigger position is a position in the live broadcast room interface where the target user triggers the target virtual gift;
the audience client displays a virtual gift bar in the live broadcast room interface according to the virtual gift bar control data; the virtual gift bar is used for acquiring a virtual gift added by the target user;
and the audience client responds to a successful virtual gift payment instruction, obtains the target content data according to the user trigger position and the virtual gift identification corresponding to the virtual gift added by the target user, and sends the virtual gift adding instruction.
10. The virtual gift-based live interactive method of claim 9, wherein said displaying target content on the target virtual gift according to the target content data comprises the steps of:
and the client side in the live broadcast room analyzes the target content data, acquires the user trigger position, the virtual gift identification and the virtual gift image corresponding to the virtual gift identification, and displays the virtual gift image corresponding to the virtual gift identification at the user trigger position.
11. The virtual gift-based live interactive method of claim 9, wherein the viewer client, in response to the virtual gift payment success instruction, is preceded by the steps of:
and the audience client acquires the virtual gift added by the target user, judges whether the virtual gift added by the target user has a special effect, and if not, sends a virtual gift payment request containing the target user identifier and the virtual gift identifier to the server.
12. The virtual gift-based live interaction method of any one of claims 1-5, wherein the content addition instruction comprises a text and/or emoticon addition instruction, and the viewer client, in response to the content addition instruction for the target virtual gift, comprises the steps of:
the audience client responds to a trigger instruction of the target virtual gift, and when the target content type selected by the target user to be added is a character and/or expression adding type, user trigger position and input column control data are obtained; wherein the user trigger position is a position in the live broadcast room interface where the target user triggers the target virtual gift;
the audience client displays an input field in the live broadcast room interface according to the input field control data; the input field is used for acquiring characters and/or expressions input by the target user;
and the audience client responds to a character and/or expression addition confirmation instruction, obtains the target content data according to the user trigger position and the characters and/or expressions input by the target user, and sends out the character and/or expression addition instruction.
13. A virtual gift-based live interactive method as claimed in claim 12, wherein said displaying target content on said target virtual gift according to said target content data comprises the steps of:
and the client side in the live broadcast room analyzes the target content data, acquires the user trigger position and the characters and/or expressions input by the target user, and displays the characters and/or expressions input by the target user at the user trigger position.
14. A virtual gift-based live interactive method as claimed in claim 12, wherein said viewer client responds to a text and/or emoticon addition confirmation command before it, comprising the steps of:
and the audience client sends a character detection request to the server, receives a character detection result of the character and/or the expression added by the target user returned by the server, and sends a character and/or expression addition confirmation instruction if the character and/or the expression added by the target user passes the character detection.
15. The virtual gift-based live interaction method of any one of claims 1-5, further comprising the steps of:
the viewer client stopping responding to the content addition instruction of the target virtual gift in response to a content addition stop instruction sent by the server; wherein the content addition stop instruction is issued when the number of content additions to the target virtual gift is obtained at the server and reaches a preset addition threshold.
16. The virtual gift-based live interaction method of any one of claims 1-5, further comprising the steps of:
and the client side in the live broadcast room responds to a target virtual gift display ending instruction, and cancels the target virtual gift displayed in the live broadcast room interface and all the target content displayed on the target virtual gift.
17. A live broadcast interaction method based on virtual gifts is characterized by comprising the following steps:
the server responds to a virtual gift presenting request, acquires a live broadcast room identifier and a target virtual gift identifier, and sends a virtual gift presenting instruction containing the target virtual gift identifier to a client side in a live broadcast room corresponding to the live broadcast room identifier;
the client side in the live broadcast room responds to the virtual gift giving instruction, obtains virtual gift data corresponding to the target virtual gift identification, and displays the special effect of the target virtual gift in each live broadcast room interface according to the virtual gift data corresponding to the target virtual gift identification;
the audience client-side responds to a content adding instruction of the target virtual gift, acquires the live broadcast room identification and target content data, generates a content adding request according to the live broadcast room identification and the target content data, and sends the content adding request to the server; the target virtual gift is a virtual gift which displays a special effect in the live broadcast room interface currently;
the server responds to the content addition request and sends a content display instruction to a client in the live broadcast room;
and the client side in the live broadcast room responds to the content display instruction, acquires the target content data, and displays the target content on the target virtual gift according to the target content data.
18. A live interactive system based on virtual gifts, comprising: a server and a client; the client comprises an audience client and a main broadcasting client;
the server is used for responding to a virtual gift giving request, acquiring a live broadcast room identifier and a target virtual gift identifier, and sending a virtual gift giving instruction containing the target virtual gift identifier to a client side in the live broadcast room corresponding to the live broadcast room identifier;
the client side in the live broadcast room is used for responding to the virtual gift giving instruction, acquiring virtual gift data corresponding to the target virtual gift identification, and displaying the special effect of the target virtual gift in each live broadcast room interface according to the virtual gift data corresponding to the target virtual gift identification;
the audience client is used for responding to a content addition instruction of the target virtual gift, acquiring the live broadcast room identifier and target content data, generating a content addition request according to the live broadcast room identifier and the target content data, and sending the content addition request to the server; the target virtual gift is a virtual gift which displays a special effect in the live broadcast room interface currently;
the server is used for responding to the content addition request and sending a content display instruction to a client in the live broadcast room;
and the client in the live broadcast room is used for responding to the content display instruction, acquiring the target content data and displaying the target content on the target virtual gift according to the target content data.
19. A computer device, comprising: processor, memory and computer program stored in the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 16 or 17 are implemented by the processor when executing the computer program.
20. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 16 or 17.
CN202111106715.1A 2021-09-22 2021-09-22 Live broadcast interaction method and system based on virtual gift and computer equipment Active CN113840154B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111106715.1A CN113840154B (en) 2021-09-22 2021-09-22 Live broadcast interaction method and system based on virtual gift and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111106715.1A CN113840154B (en) 2021-09-22 2021-09-22 Live broadcast interaction method and system based on virtual gift and computer equipment

Publications (2)

Publication Number Publication Date
CN113840154A true CN113840154A (en) 2021-12-24
CN113840154B CN113840154B (en) 2023-12-19

Family

ID=78960348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111106715.1A Active CN113840154B (en) 2021-09-22 2021-09-22 Live broadcast interaction method and system based on virtual gift and computer equipment

Country Status (1)

Country Link
CN (1) CN113840154B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114286124A (en) * 2021-12-30 2022-04-05 广州方硅信息技术有限公司 Method, device, medium and computer equipment for displaying interactive bubbles in live broadcast room
CN114422821A (en) * 2022-02-14 2022-04-29 广州方硅信息技术有限公司 Live broadcast home page interaction method, device, medium and equipment based on virtual gift
CN114760519A (en) * 2022-04-20 2022-07-15 广州方硅信息技术有限公司 Interaction method, device and equipment based on gift special effect of live broadcast room and storage medium
CN115134627A (en) * 2022-07-01 2022-09-30 广州博冠信息科技有限公司 Live broadcast room information processing method and device, readable storage medium and electronic equipment
CN116761011A (en) * 2023-08-21 2023-09-15 浙江印象软件有限公司 Real-time loading method and system for special effect data of live virtual article
WO2023227031A1 (en) * 2022-05-24 2023-11-30 北京字跳网络技术有限公司 Methods for giving and displaying gift in livestreaming room, and related device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107302489A (en) * 2017-06-02 2017-10-27 北京潘达互娱科技有限公司 Message display method and device
US20200143447A1 (en) * 2016-12-26 2020-05-07 Hong Kong Liveme Corporation Limited Method and device for recommending gift and mobile terminal
CN112383786A (en) * 2020-11-03 2021-02-19 广州繁星互娱信息科技有限公司 Live broadcast interaction method, device, system, terminal and storage medium
CN113038229A (en) * 2021-02-26 2021-06-25 广州方硅信息技术有限公司 Virtual gift broadcasting control method, virtual gift broadcasting control device, virtual gift broadcasting control equipment and virtual gift broadcasting control medium
CN113170216A (en) * 2021-03-15 2021-07-23 百果园技术(新加坡)有限公司 Live broadcast-based gift delivery method and device, equipment and storage medium
CN113329234A (en) * 2021-05-28 2021-08-31 腾讯科技(深圳)有限公司 Live broadcast interaction method and related equipment
CN113395565A (en) * 2021-05-19 2021-09-14 广州虎牙科技有限公司 Display method of virtual gift and related device and equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200143447A1 (en) * 2016-12-26 2020-05-07 Hong Kong Liveme Corporation Limited Method and device for recommending gift and mobile terminal
CN107302489A (en) * 2017-06-02 2017-10-27 北京潘达互娱科技有限公司 Message display method and device
CN112383786A (en) * 2020-11-03 2021-02-19 广州繁星互娱信息科技有限公司 Live broadcast interaction method, device, system, terminal and storage medium
CN113038229A (en) * 2021-02-26 2021-06-25 广州方硅信息技术有限公司 Virtual gift broadcasting control method, virtual gift broadcasting control device, virtual gift broadcasting control equipment and virtual gift broadcasting control medium
CN113170216A (en) * 2021-03-15 2021-07-23 百果园技术(新加坡)有限公司 Live broadcast-based gift delivery method and device, equipment and storage medium
CN113395565A (en) * 2021-05-19 2021-09-14 广州虎牙科技有限公司 Display method of virtual gift and related device and equipment
CN113329234A (en) * 2021-05-28 2021-08-31 腾讯科技(深圳)有限公司 Live broadcast interaction method and related equipment

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114286124A (en) * 2021-12-30 2022-04-05 广州方硅信息技术有限公司 Method, device, medium and computer equipment for displaying interactive bubbles in live broadcast room
CN114286124B (en) * 2021-12-30 2024-02-06 广州方硅信息技术有限公司 Method and device for displaying interactive bubbles in live broadcasting room, medium and computer equipment
CN114422821A (en) * 2022-02-14 2022-04-29 广州方硅信息技术有限公司 Live broadcast home page interaction method, device, medium and equipment based on virtual gift
CN114760519A (en) * 2022-04-20 2022-07-15 广州方硅信息技术有限公司 Interaction method, device and equipment based on gift special effect of live broadcast room and storage medium
WO2023227031A1 (en) * 2022-05-24 2023-11-30 北京字跳网络技术有限公司 Methods for giving and displaying gift in livestreaming room, and related device
CN115134627A (en) * 2022-07-01 2022-09-30 广州博冠信息科技有限公司 Live broadcast room information processing method and device, readable storage medium and electronic equipment
CN116761011A (en) * 2023-08-21 2023-09-15 浙江印象软件有限公司 Real-time loading method and system for special effect data of live virtual article
CN116761011B (en) * 2023-08-21 2023-11-14 浙江印象软件有限公司 Real-time loading method and system for special effect data of live virtual article

Also Published As

Publication number Publication date
CN113840154B (en) 2023-12-19

Similar Documents

Publication Publication Date Title
CN113840154B (en) Live broadcast interaction method and system based on virtual gift and computer equipment
WO2020010819A1 (en) Live broadcast room-based data interaction method and device, terminal, and storage medium
CN113727130B (en) Message prompting method, system and device for live broadcasting room and computer equipment
CN113438490A (en) Live broadcast interaction method, computer equipment and storage medium
CN113453029B (en) Live broadcast interaction method, server and storage medium
CN113840156A (en) Live broadcast interaction method and device based on virtual gift and computer equipment
CN113949892A (en) Live broadcast interaction method and system based on virtual resource consumption and computer equipment
CN113824976A (en) Method and device for displaying approach show in live broadcast room and computer equipment
CN113573083A (en) Live wheat-connecting interaction method and device and computer equipment
CN114666671B (en) Live broadcast praise interaction method, device, equipment and storage medium
CN114666672B (en) Live fight interaction method and system initiated by audience and computer equipment
CN113573105B (en) Live broadcast interaction method based on virtual gift of screen and computer equipment
CN113824984A (en) Virtual gift pipelining display method, system, device and computer equipment
CN113938696A (en) Live broadcast interaction method and system based on user-defined virtual gift and computer equipment
CN113824979A (en) Live broadcast room recommendation method and device and computer equipment
CN113891162B (en) Live broadcast room loading method and device, computer equipment and storage medium
CN114885191A (en) Interaction method, system, device and equipment based on exclusive nickname of live broadcast room
CN114501065A (en) Virtual gift interaction method and system based on face jigsaw and computer equipment
CN114760519A (en) Interaction method, device and equipment based on gift special effect of live broadcast room and storage medium
CN113938698A (en) Display control method and device for live user data and computer equipment
CN113411622B (en) Loading method and device of live broadcast interface, client and storage medium
CN113727125B (en) Live broadcast room screenshot method, device, system, medium and computer equipment
CN113938700B (en) Live broadcast room switching method and device and computer equipment
CN114666646B (en) Live broadcast room cover interaction method, system, device, equipment and medium
CN115065838A (en) Live broadcast room cover interaction method, system and device and electronic equipment

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