CN114466236A - Interaction method and device for live broadcast room, electronic equipment and readable storage medium - Google Patents

Interaction method and device for live broadcast room, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN114466236A
CN114466236A CN202210061525.0A CN202210061525A CN114466236A CN 114466236 A CN114466236 A CN 114466236A CN 202210061525 A CN202210061525 A CN 202210061525A CN 114466236 A CN114466236 A CN 114466236A
Authority
CN
China
Prior art keywords
interactive
interaction
pendant
terminal
live broadcast
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.)
Pending
Application number
CN202210061525.0A
Other languages
Chinese (zh)
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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202210061525.0A priority Critical patent/CN114466236A/en
Publication of CN114466236A publication Critical patent/CN114466236A/en
Pending legal-status Critical Current

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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/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/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides an interaction method and device for a live broadcast room, electronic equipment and a readable storage medium, and relates to the technical fields of cloud service, information flow and the like. The interaction method of the live broadcast room comprises the following steps: the server receives an interaction request sent by a first terminal; determining a first interaction strategy according to the target live broadcast room information; acquiring first interaction data according to the first interaction strategy; and sending the first interaction data to the first terminal. The interaction method of the live broadcast room comprises the following steps: the method comprises the steps that a first terminal acquires target live broadcast room information under the condition that an interaction function is detected to be triggered; sending an interaction request containing the target live broadcast room information to a server; receiving first interactive data sent by the server, loading a corresponding first pendant container according to the first interactive data, and displaying a first interactive pendant corresponding to the first pendant container in a target live broadcast room. This openly can promote the interactive flexibility and the interactive efficiency in live room.

Description

Interaction method and device for live broadcast room, electronic equipment and readable storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to the field of cloud services, information flows, and the like. Provided are a live broadcast room interaction method and device, an electronic device and a readable storage medium.
Background
With the rapid development of the internet and streaming media technology, various live broadcast platforms come into play, and more wonderful and rich entertainment life and social experience are brought to users. In the prior art, a mode of displaying an interactive pendant in a live interface of a live broadcast room is generally adopted, so that interaction between a user and the live broadcast room is realized. However, in the prior art, when interaction is realized through the interactive pendant, the problems of complicated interaction steps and low interaction flexibility and interaction efficiency exist.
Disclosure of Invention
According to a first aspect of the present disclosure, there is provided a live broadcast room interaction method, including: the method comprises the steps that a server side receives an interaction request sent by a first terminal, wherein the interaction request comprises target live broadcast room information; determining a first interaction strategy according to the target live broadcast room information; acquiring first interaction data according to the first interaction strategy; and sending the first interactive data to the first terminal, so that the first terminal loads a corresponding first pendant container according to the first interactive data, and displays a first interactive pendant corresponding to the first pendant container in a target live broadcast room.
According to a second aspect of the present disclosure, there is provided a live broadcast room interaction method, including: the method comprises the steps that a first terminal acquires target live broadcast room information under the condition that an interaction function is detected to be triggered; sending an interaction request containing the target live broadcast room information to a server, wherein the target live broadcast room information is used for the server to determine a first interaction strategy; receiving first interactive data sent by the server, loading a corresponding first pendant container according to the first interactive data, and displaying a first interactive pendant corresponding to the first pendant container in a target live broadcast room.
According to a third aspect of the present disclosure, an interactive device in a live broadcast room is provided, which is located at a server side, and includes: the first receiving unit is used for receiving an interaction request sent by a first terminal, wherein the interaction request comprises target live broadcast room information; the first determining unit is used for determining a first interaction strategy according to the target live broadcast room information; the first acquisition unit is used for acquiring first interaction data according to the first interaction strategy; the first sending unit is used for sending the first interactive data to the first terminal, so that the first terminal loads a corresponding first pendant container according to the first interactive data, and displays a first interactive pendant corresponding to the first pendant container in a target live broadcast room.
According to a fourth aspect of the present disclosure, an interactive device in a live broadcast room is provided, where the interactive device is located at a first terminal, and the interactive device includes: the detection unit is used for acquiring the target live broadcast room information under the condition that the interaction function is detected to be triggered; a fourth sending unit, configured to send an interaction request including the target live broadcast room information to a server, where the target live broadcast room information is used by the server to determine a first interaction policy; and the second receiving unit is used for receiving the first interactive data sent by the server, loading a corresponding first pendant container according to the first interactive data, and displaying the first interactive pendant corresponding to the first pendant container in a target live broadcast room.
According to a fifth aspect of the present disclosure, there is provided an electronic device comprising: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described above.
According to a sixth aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method as described above.
According to a seventh aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the method as described above.
According to the technical scheme, the server side and the first terminal are interacted, the first interactive data are acquired to display the first interactive hanging pieces, the first interactive data acquired according to the first interactive strategy are adapted to the live broadcast room where the first terminal enters, accuracy in acquiring the first interactive data is improved, the purpose that different interactive hanging pieces are displayed on the live broadcast interface of the first terminal to interact is achieved according to different live broadcast rooms where the first terminal enters, and flexibility and efficiency in interaction in a target live broadcast room are improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
FIG. 1 is a schematic diagram according to a first embodiment of the present disclosure;
FIG. 2 is a schematic diagram according to a second embodiment of the present disclosure;
FIG. 3 is a schematic diagram according to a third embodiment of the present disclosure;
FIG. 4 is a schematic diagram according to a fourth embodiment of the present disclosure;
FIG. 5 is a schematic diagram according to a fifth embodiment of the present disclosure;
FIG. 6 is a schematic diagram according to a sixth embodiment of the present disclosure;
FIG. 7 is a schematic diagram according to a seventh embodiment of the present disclosure;
FIG. 8 is a schematic diagram according to an eighth embodiment of the present disclosure;
fig. 9 is a block diagram of an electronic device for implementing a live room interaction method according to an embodiment of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram according to a first embodiment of the present disclosure. As shown in fig. 1, the interaction method of the live broadcast room of the present embodiment specifically includes the following steps:
s101, a server receives an interaction request sent by a first terminal, wherein the interaction request comprises target live broadcast room information;
s102, determining a first interaction strategy according to the target live broadcast room information;
s103, acquiring first interaction data according to the first interaction strategy;
s104, sending the first interactive data to the first terminal, so that the first terminal loads a corresponding first pendant container according to the first interactive data, and displaying a first interactive pendant corresponding to the first pendant container in a target live broadcast room.
An execution main body of the interaction method of the live broadcast room is a server side, the server side determines a first interaction strategy according to an interaction request sent by a first terminal, then obtains first interaction data corresponding to the first interaction strategy, and finally sends the first interaction data to the first terminal, the server side of the embodiment determines the first interaction strategy through target live broadcast room information sent by the first terminal, so that the first interaction data obtained according to the first interaction strategy are more adaptive to the live broadcast room entered by the first terminal, accuracy in obtaining the first interaction data is improved, different interaction pendants are displayed on a live broadcast interface of the first terminal according to different live broadcast rooms entered by the first terminal, and flexibility and efficiency in interaction in the target live broadcast room are improved.
The first terminal in this embodiment is a terminal used by a user who enters a live broadcast room and watches live broadcast, and the first terminal may be an intelligent terminal such as a smart phone, a tablet computer, and a vehicle-mounted device, that is, the first terminal in this embodiment realizes interaction in the live broadcast room through interaction with a server terminal.
After executing S101 to receive an interaction request sent by a first terminal, a server in this embodiment may obtain target live broadcast room information from the received interaction request; in this embodiment, S101 is executed to obtain target live broadcast room information from the interaction request, specifically, at least one of live broadcast type information and live broadcast room identification information corresponding to a live broadcast room (i.e., a target live broadcast room) entered by the first terminal.
In this embodiment, the live broadcast type information obtained by executing S101 may be one of service types such as live shopping, live game, live entertainment, and the like; the live broadcast room identification information obtained in step S101 in this embodiment may be ID information of a live broadcast room, or may be ID information of a main broadcast of the live broadcast room.
It can be understood that, in this embodiment, the server side establishes an Instant Message (IM) channel with the first terminal, so that the server side receives the interaction request sent by the first terminal and sends the interaction data to the first terminal through the IM channel.
After the server in this embodiment executes S101 to receive an interaction request containing target live broadcast room information sent by the first terminal, execute S102 to determine a first interaction policy according to the target live broadcast room information contained in the interaction request. In this embodiment, the first interaction policy determined in step S102 corresponds to the target live broadcast room (i.e., the live broadcast room entered by the first terminal).
Because different interaction policies include different pendant identification information, the first interaction policy determined in step S102 in this embodiment includes first pendant identification information corresponding to a live broadcast room into which the first terminal enters, and the different pendant identification information corresponds to different interactive pendants.
In this embodiment, the interactive pendant is a view object which is displayed in a live broadcast interface and can be interacted with by clicking after the first terminal enters the live broadcast room; the interactive hanging piece in the embodiment can comprise a red packet hanging piece, a coupon hanging piece, a lottery drawing hanging piece, a bean vermicelli hanging piece and the like.
For example, if the interactive pendant in this embodiment is a coupon pendant, the first terminal may display the coupon pendant in a live broadcast interface after entering a live broadcast room; after clicking the coupon pendant by the user, the randomly issued coupon can be received.
Specifically, when the server side in this embodiment executes S102 to determine the first interaction policy according to the target live broadcast room information, the optional implementation manner that may be adopted is as follows: matching target live broadcast room information in the received interaction request in a first preset relation table, wherein the first preset relation table of the embodiment comprises different live broadcast room information and interaction strategies corresponding to the different live broadcast room information; and taking the interaction strategy matched with the target live broadcast room information in the first preset relation table as a first interaction strategy.
The first preset relationship table of this embodiment may include different live broadcast type information and corresponding interaction strategies, may also include different live broadcast room identification information and corresponding interaction strategies, and may also include different live broadcast types, different live broadcast room identification information and corresponding interaction strategies, so as to achieve the purpose that the first terminal displays the interaction pendant corresponding to the entered live broadcast room in the live broadcast interface after entering the live broadcast room having different live broadcast type information and/or live broadcast room identification information.
That is to say, this embodiment realizes the purpose of confirming the interactive pendant that carries out the show in the live broadcast interface of this live broadcast room according to the target live broadcast room information that first terminal sent through setting up the first preset relation table that contains different live broadcast room information and the interactive strategy that corresponds thereof, can promote accuracy and efficiency when confirming the interactive strategy.
In addition, if the server in this embodiment fails to find the interaction policy matching the target live broadcast room information in the preset relationship table when executing S102, the server may use a preset fixed interaction policy as the first interaction policy.
After the server side in this embodiment executes S102 to determine the first interaction policy, the server side executes S103 to obtain first interaction data corresponding to the first interaction policy according to the first interaction policy.
In the first interaction data obtained by executing S103 in this embodiment, the operation data corresponding to each piece of pendant identification information in the first interaction policy is included, that is, the pendant container corresponding to different interaction pendants in the first terminal needs to be loaded with the corresponding operation data, so that the purpose of displaying different interaction pendants in the live interface can be achieved.
Specifically, in this embodiment, when the step S103 is executed to obtain the first interaction data according to the first interaction policy, the optional implementation manner that can be adopted is as follows: determining a first target interactive pendant according to first pendant identification information in a first interactive strategy; and acquiring operation data corresponding to the determined first target interactive pendant to serve as first interactive data.
In this embodiment, the operation data corresponding to different interactive pendants is pre-stored in the server, so that after the first target interactive pendant is determined according to the first pendant identification information in the first interactive policy, the operation data corresponding to the first target interactive pendant can be obtained and used as the first interactive data, thereby achieving the purpose of obtaining different operation data as the first interactive data for different live rooms.
In the first interaction data obtained by executing S103 in this embodiment, the operation data corresponding to each first target interaction pendant includes the following contents: the method comprises the following steps of displaying an icon of a first target interactive pendant, displaying a display style of the first target interactive pendant, clicking a popup frame style after the first target interactive pendant is clicked, updating a mechanism of the first target interactive pendant, a server end interface of the first target interactive pendant, a scattering mechanism of the first target interactive pendant, countdown of the first target interactive pendant, display priority of the first target interactive pendant, position of the first target interactive pendant in a live broadcast interface and the like.
In this embodiment, after the server side executes S103 to obtain the first interactive data, executes S104 to send the first interactive data to the first terminal, so that the first terminal loads a corresponding first pendant container according to the first interactive data, and displays a first interactive pendant corresponding to the first pendant container in the live broadcast.
In this embodiment, when the server executes S103 to send the first interactive data to the first terminal, the server may directly send the first interactive data determined according to the first interactive policy to the first terminal through the IM channel.
When the server side in this embodiment executes S103 to send the first interactive data to the first terminal, the optional implementation manner that can be adopted is as follows: generating a first interactive message according to the first interactive data, in this embodiment, a preset method may be used to perform messaging processing on the first interactive data, so that the generated first interactive message may include, in addition to the first interactive data, other content for better controlling the interactive pendant to display; and sending the generated first interactive message to the first terminal.
In the first interactive message generated by the server according to the first interactive data in step S103, in addition to the running data corresponding to different first pendant identification information, the server may further include live version information, ID information of a live room, sending time and ending time of the message (used to indicate a valid period of the message, so that a outdated or untimely message touch is lost), pre-action information (used to control an interactive behavior of the first terminal), post-action information (used to indicate a next instruction or action that the first terminal should operate in different interactive pendants after the message touches the first terminal), action information (used to indicate an action that the first terminal needs to perform after the message touches the first terminal, for example, directly using the first interactive data or calling the interactive data through an Interface), an API (Application Programming Interface, application program interface) information (for obtaining interactive data through a corresponding API), a service type of the live broadcast room (for filtering redundant information), and the like.
It can be understood that, before the server side in this embodiment executes S103 to send the first interaction data or the first interaction information to the first terminal, the server side may further record the first interaction data or the first interaction information sent each time for storage, so as to perform tracking and positioning according to the recorded content, and dynamically adjust the interaction policy.
Fig. 2 is a schematic diagram according to a second embodiment of the present disclosure. As shown in fig. 2, the interaction method of the live broadcast room of the present embodiment specifically includes the following steps:
s201, a server receives terminal attribute information sent by a first terminal;
s202, determining a second interaction strategy according to the terminal attribute information;
s203, acquiring second interaction data according to the second interaction strategy;
s204, the second interactive data are sent to the first terminal, so that the first terminal loads a corresponding second pendant container according to the second interactive data, and a second interactive pendant corresponding to the second pendant container is displayed in a target live broadcast room.
That is to say, the server side in this embodiment may further determine a corresponding second interaction policy according to the terminal attribute information sent by the first terminal, and after second interaction data corresponding to the second interaction policy is obtained, send the second interaction data to the first terminal, so that the first terminal displays a corresponding interaction pendant according to the second interaction data, thereby achieving the purpose of updating the interaction pendant displayed in the live broadcast room according to different terminal attribute information, so that the second interaction pendant displayed in the live broadcast room corresponds to the attribute information of the first terminal, and thereby improving flexibility when interaction is performed in the live broadcast room.
The terminal attribute information received by the server executing S201 in this embodiment may include at least one of a device type of the first terminal, a system type of the first terminal, a network type used by the first terminal, and portrait information of the first terminal.
It can be understood that, in this embodiment, the second pendant identification information included in the second interaction policy determined in S202 is executed, and the second pendant identification information corresponds to the terminal attribute information and is unrelated to the live broadcast room entered by the first terminal.
When the server side in this embodiment executes S202 to determine the second interaction policy according to the terminal attribute information sent by the first terminal, the optional implementation manner that can be adopted is as follows: matching the received terminal attribute information in a second preset relation table, wherein the second preset relation table of the embodiment comprises different terminal attribute information and interaction strategies corresponding to the different terminal attribute information; and taking the interaction strategy matched with the terminal attribute information in the second preset relation table as a second interaction strategy.
In addition, when the server side in this embodiment determines the second interaction policy according to the terminal attribute information sent by the first terminal in step S202, the server side may also input the received terminal attribute information to a policy acquisition model obtained through pre-training, so that an output result of the policy acquisition model is used as the second interaction policy corresponding to the terminal attribute information.
In this embodiment, when the step S203 is executed to obtain the second interaction data according to the determined second interaction policy, the optional implementation manner that can be adopted is as follows: determining a second target interactive pendant according to second pendant identification information in a second interactive strategy; and acquiring operation data corresponding to the determined second target interactive pendant to serve as second interactive data.
In this embodiment, when the server side executes S204 to send the second interactive data to the first terminal, the server side may directly send the second interactive data to the first terminal, or may generate second interactive information according to the second interactive data, and then send the second interactive information to the first terminal.
The process of the server side in the embodiment when generating the second interaction information according to the second interaction data is similar to the process when generating the first interaction information according to the first interaction data in the above embodiment, and is not repeated herein; the server side in this embodiment may also record the sent second interaction data or second interaction information for storage.
Fig. 3 is a schematic diagram according to a third embodiment of the present disclosure. As shown in fig. 3, the interaction method of the live broadcast room of the present embodiment specifically includes the following steps:
s301, the server receives a third interaction strategy sent by the second terminal;
s302, acquiring third interaction data according to the third interaction strategy;
s303, sending the third interactive data to the first terminal, so that the first terminal loads a corresponding third pendant container according to the third interactive data, and displaying a third interactive pendant corresponding to the third pendant container in a target live broadcast room.
That is to say, the server side in this embodiment may further obtain third interactive data according to a third interactive policy sent by the second terminal, so that the first terminal loads a corresponding third pendant container according to the third interactive data, so as to display a third interactive pendant corresponding to the third pendant container in the live broadcast room, and perform manual intervention on the displayed interactive pendant through interaction between the server side, the second terminal and the first terminal, thereby achieving a purpose of controlling the interactive pendant displayed by the first terminal by the second terminal, and ensuring stability during interaction through the interactive pendant in the live broadcast room.
The second terminal in this embodiment corresponds to the operating user, that is, the operating user controls the interactive pendant displayed by the first terminal through the used second terminal; the second terminal in this embodiment may be an intelligent terminal such as a smart phone, a tablet computer, and a vehicle-mounted device, and may also be a server side corresponding to an operating user.
In this embodiment, the server side includes third pendant identification information in the third interaction policy sent by the second terminal and received by the step S302.
In this embodiment, when the step S302 is executed to obtain the third interaction data according to the received third interaction policy, the optional implementation manner that may be adopted is as follows: determining a third target interactive pendant according to third pendant identification information in a third interactive strategy; and acquiring running data corresponding to the determined third target interactive pendant to serve as third interactive data.
In this embodiment, when the server side executes S303 to send the third interactive data to the first terminal, the server side may directly send the third interactive data to the first terminal, or may generate third interactive information according to the third interactive data, and then send the third interactive information to the first terminal.
The process of the server side generating the third interaction information according to the third interaction data in this embodiment is similar to the process of generating the first interaction information according to the first interaction data in the foregoing embodiment, and is not described herein again; the server side in this embodiment may also record the sent third interaction data or third interaction information for storage.
Fig. 4 is a schematic diagram according to a fourth embodiment of the present disclosure. As shown in fig. 4, the interaction method of the live broadcast room of the present embodiment specifically includes the following steps:
s401, the first terminal acquires target live broadcast room information under the condition that the interaction function is triggered;
s402, sending an interaction request containing the target live broadcast room information to a server side, wherein the target live broadcast room information is used for the server side to determine a first interaction strategy;
s403, receiving first interactive data sent by the server, loading a corresponding first pendant container according to the first interactive data, and displaying a first interactive pendant corresponding to the first pendant container in a target live broadcast room.
The main execution body of the interaction method of the live broadcast room in this embodiment is the first terminal, and when the first terminal detects that the interaction function is triggered, after the information of the target live broadcast room is obtained, an interaction request containing the information of the target live broadcast room is sent to a server side, further receiving first interactive data sent by the server, loading a corresponding first pendant container according to the first interactive data, show the first interactive pendant that corresponds with first pendant container in the live room of target, this embodiment sends the mode of the live room information of target through first terminal to the server end, receives the server end and sends the first interactive data that correspond with the live room information of target, realizes the difference according to the live room that first terminal got into, comes the purpose of the interactive pendant that the show corresponds with the live room that gets into, has promoted the flexibility when first terminal carries out the interaction in the live room of target.
When the first terminal in this embodiment executes S401 to detect whether the interactive function is triggered, it may detect whether the first terminal enters the live broadcast room through live broadcast application, and may also detect whether the first terminal clicks an interactive button after entering the live broadcast room.
In this embodiment, the first terminal executes S401 to detect that the first terminal enters the live broadcast room through the live broadcast application, or detects that the first terminal clicks the interactive button after entering the live broadcast room, and then uses the entered live broadcast room as a target live broadcast room, and further obtains live broadcast type information and/or live broadcast room identification information of the target live broadcast room as target live broadcast room information.
After executing S401 to obtain the target live broadcast room information, the first terminal in this embodiment executes S402 to send an interaction request including the obtained target live broadcast room information to the server, so that the server determines a first interaction policy according to the target live broadcast room information.
In this embodiment, the first terminal may send an interaction request to the server through an IM channel established between the first terminal and the server, and receive interaction data sent by the server.
In this embodiment, after the first terminal executes S402 to send the interaction request including the target live broadcast room information to the server, the first terminal executes S403 to receive the first interaction data sent by the server, and loads the corresponding first pendant container according to the received first interaction data, so that the first interaction pendant corresponding to the first pendant container is displayed in the target live broadcast room.
The first terminal stores pendant containers corresponding to different interactive pendants locally in advance; the pendant container corresponding to the interactive pendant in this embodiment can be regarded as a frame of the interactive pendant, and the loading of the pendant can be completed only by combining with the running data sent by the server, so that the purpose of displaying the corresponding interactive pendant in the target live broadcast room is achieved.
It can be understood that, when executing S403, the first terminal in this embodiment may directly receive the first interaction data sent by the server, or may receive a first interaction message generated according to the first interaction data sent by the server.
After the first terminal of this embodiment executes S403 to receive the first interactive data sent by the server, the following contents may also be included: acquiring terminal attribute information; the obtained terminal attribute information is sent to a server side, and the sent terminal attribute information is used for the server side to determine a second interaction strategy; and receiving second interactive data sent by the server, loading a corresponding second pendant container according to the second interactive data, and displaying a second interactive pendant corresponding to the second pendant container in the target live broadcast room.
That is to say, the first terminal in this embodiment may also obtain the second interactive data sent by the server in a manner of sending terminal attribute information to the server, so that different interactive hangers are displayed in the target live broadcast room according to different terminal attributes, and personalization during interaction in the target live broadcast room is achieved.
After the first terminal of this embodiment executes S403 to receive the first interactive data sent by the server, the following contents may also be included: receiving third interactive data sent by a server; and loading a corresponding third pendant container according to the third interactive data, and displaying a third interactive pendant corresponding to the third pendant container in the target live broadcast room.
That is to say, the first terminal in this embodiment may also obtain the third interactive data in a manner that the second terminal sends the third interactive policy to the server, so that the first terminal can display the third interactive pendant corresponding to the third interactive policy in the target live broadcast room, and the purpose of performing interaction in the target live broadcast room according to interaction among the first terminal, the second terminal, and the server is achieved.
It can be understood that the screen of the first terminal is limited, and the number of the interactive pendants displayed on the live interface of the first terminal is correspondingly limited. Because the first terminal in this embodiment receives the first interactive data, the second interactive data, and the third interactive data, and different interactive data correspond to different interactive pendants, the first terminal in this embodiment can display the interactive pendants with higher priorities according to the priorities of the interactive pendants in the interactive data; and under the condition that a plurality of same interactive pendants exist, only one first terminal is displayed.
Fig. 5 is a schematic diagram according to a fifth embodiment of the present disclosure. As shown in fig. 5, the interactive apparatus 500 of the live broadcast room of the present embodiment is located at a server side, and includes:
the first receiving unit 501 is configured to receive an interaction request sent by a first terminal, where the interaction request includes target live broadcast room information;
the first determining unit 502 is configured to determine a first interaction policy according to the target live broadcast room information;
a first obtaining unit 503, configured to obtain first interaction data according to the first interaction policy;
the first sending unit 504 is configured to send the first interaction data to the first terminal, so that the first terminal loads a corresponding first pendant container according to the first interaction data, and displays a first interaction pendant corresponding to the first pendant container in a target live broadcast room.
After receiving the interaction request sent by the first terminal, the first receiving unit 501 may obtain target live broadcast room information from the received interaction request; the target live broadcasting room information obtained by the first receiving unit 501 from the interaction request is specifically at least one of live broadcasting type information and live broadcasting room identification information corresponding to a live broadcasting room (namely, a target live broadcasting room) entered by the first terminal.
The live broadcast type information acquired by the first receiving unit 501 may be one of service types such as live shopping, live game, live entertainment and the like; the live broadcast room identification information acquired by the first receiving unit 501 may be ID information of a live broadcast room or ID information of a main broadcast of the live broadcast room.
It can be understood that, in this embodiment, the server side establishes an Instant Message (IM) channel with the first terminal, so that the server side receives the interaction request sent by the first terminal and sends the interaction data to the first terminal through the IM channel.
In this embodiment, after the first receiving unit 501 receives the interaction request containing the target live broadcast room information sent by the first terminal, the first determining unit 502 determines the first interaction policy according to the target live broadcast room information contained in the interaction request. The first interaction policy determined by the first determining unit 502 corresponds to a target live broadcast room (i.e., a live broadcast room entered by the first terminal).
Since different interaction policies include different pendant identification information, the first interaction policy determined by the first determining unit 502 includes first pendant identification information corresponding to a live broadcast room into which the first terminal enters, and the different pendant identification information corresponds to different interaction pendants.
In this embodiment, the interactive pendant is a view object which is displayed in a live broadcast interface and can be interacted with by clicking after the first terminal enters the live broadcast room; the interactive hanging piece in the embodiment can comprise a red packet hanging piece, a coupon hanging piece, a lottery drawing hanging piece, a bean vermicelli hanging piece and the like.
Specifically, when the first determining unit 502 determines the first interaction policy according to the target live broadcast room information, the optional implementation manner that can be adopted is as follows: matching target live broadcast room information in the received interaction request in a first preset relation table; and taking the interaction strategy matched with the target live broadcast room information in the first preset relation table as a first interaction strategy.
The first preset relationship table of the first determining unit 502 may include different live broadcast type information and corresponding interaction strategies, may also include different live broadcast room identification information and corresponding interaction strategies, and may also include different live broadcast types, different live broadcast room identification information and corresponding interaction strategies, so as to achieve the purpose that after the first terminal enters a live broadcast room with different live broadcast type information and/or live broadcast room identification information, the first terminal displays an interactive pendant corresponding to the entered live broadcast room in a live broadcast interface.
That is to say, the first determining unit 502 achieves the purpose of determining the interactive pendant displayed in the live broadcast interface of the live broadcast room according to the target live broadcast room information sent by the first terminal by setting the first preset relationship table containing different live broadcast room information and the corresponding interactive strategies, and can improve the accuracy and efficiency when determining the interactive strategies.
If the first determining unit 502 cannot find the interaction policy matched with the target live broadcast room information in the preset relationship table, the preset fixed interaction policy may be used as the first interaction policy.
In this embodiment, after the first determining unit 502 determines the first interaction policy, the first obtaining unit 503 obtains first interaction data corresponding to the first interaction policy according to the first interaction policy.
The first interaction data acquired by the first acquiring unit 503 includes operation data corresponding to each piece of pendant identification information in the first interaction policy, that is, pendant containers corresponding to different interaction pendants in the first terminal need to be loaded with corresponding operation data, so that the purpose of displaying different interaction pendants in a live interface can be achieved.
Specifically, when the first obtaining unit 503 obtains the first interaction data according to the first interaction policy, the optional implementation manner that can be adopted is as follows: determining a first target interactive pendant according to first pendant identification information in a first interactive strategy; and acquiring operation data corresponding to the determined first target interactive pendant to serve as first interactive data.
In this embodiment, the operation data corresponding to different interactive pendants is pre-stored in the server, so that after the first target interactive pendant is determined according to the first pendant identification information in the first interactive policy, the operation data corresponding to the first target interactive pendant can be obtained and used as the first interactive data, thereby achieving the purpose of obtaining different operation data as the first interactive data for different live rooms.
In the first interaction data acquired by the first acquiring unit 503, the operation data corresponding to each first target interaction pendant includes the following contents: the method comprises the following steps of displaying an icon of a first target interactive pendant, displaying a display style of the first target interactive pendant, clicking a popup frame style after the first target interactive pendant is clicked, updating a mechanism of the first target interactive pendant, a server end interface of the first target interactive pendant, a scattering mechanism of the first target interactive pendant, countdown of the first target interactive pendant, display priority of the first target interactive pendant, position of the first target interactive pendant in a live broadcast interface and the like.
In this embodiment, after the first obtaining unit 503 obtains the first interaction data, the first sending unit 504 sends the first interaction data to the first terminal, so that the first terminal loads a corresponding first pendant container according to the first interaction data, and displays the first interaction pendant corresponding to the first pendant container in the live broadcast room.
When the first sending unit 504 sends the first interaction data to the first terminal, the first interaction data determined according to the first interaction policy may be directly sent to the first terminal through the IM channel.
When the first sending unit 504 sends the first interactive data to the first terminal, the optional implementation manners that may be adopted are: generating a first interactive message according to the first interactive data; and sending the generated first interactive message to the first terminal.
The first interactive message generated by the first sending unit 504 according to the first interactive data may include, in addition to the running data corresponding to different first pendant identification information, live version information, ID information of a live room, sending time and end time of the message (used for representing an effective period of the message so as to drop out a outdated or untimely message touch), pre-action information (used for controlling an interactive behavior of the first terminal), post-action information (used for representing a next instruction or behavior that the first terminal should operate in different interactive pendants after the message touches the first terminal), action information (used for representing an action to be performed by the first terminal after the message touches the first terminal, such as directly using the first interactive data or calling the interactive data through an Interface), API (Application Programming Interface) information (used for obtaining the interactive data through a corresponding API), and a corresponding Application Program Interface (API) information, Type of traffic in the live room (for filtering redundant information), etc.
It is to be understood that, before the first sending unit 504 sends the first interaction data or the first interaction information to the first terminal, the first interaction data or the first interaction information sent each time may also be recorded for storage, so as to perform tracking and positioning according to the recorded content, and dynamically adjust the interaction policy.
The interactive apparatus 500 of the live broadcast room of the present embodiment may further include a second sending unit 505, configured to execute the following: receiving terminal attribute information sent by a first terminal; determining a second interaction strategy according to the terminal attribute information; acquiring second interaction data according to a second interaction strategy; and sending the second interactive data to the first terminal so that the first terminal loads a corresponding second pendant container according to the second interactive data, and displaying a second interactive pendant corresponding to the second pendant container in the target live broadcast room.
That is to say, the second sending unit 505 may further determine a corresponding second interaction policy according to the terminal attribute information sent by the first terminal, and after second interaction data corresponding to the second interaction policy is obtained, send the second interaction data to the first terminal, so that the first terminal displays a corresponding interaction pendant according to the second interaction data, thereby achieving the purpose of updating the interaction pendant displayed in the live broadcast room according to different terminal attribute information, so that the second interaction pendant displayed in the live broadcast room corresponds to the attribute information of the first terminal, and thereby improving flexibility when interaction is performed in the live broadcast room.
The terminal attribute information received by the second transmitting unit 505 may include at least one of a device type of the first terminal, a system type of the first terminal, a network type used by the first terminal, and portrait information of the first terminal.
It can be understood that the second pendant identification information included in the second interaction policy determined by the second sending unit 505 corresponds to the terminal attribute information, and is not related to the live broadcast room entered by the first terminal.
When the second sending unit 505 determines the second interaction policy according to the terminal attribute information sent by the first terminal, the optional implementation manners that may be adopted are: matching the received terminal attribute information in a second preset relation table; and taking the interaction strategy matched with the terminal attribute information in the second preset relation table as a second interaction strategy.
In addition, when determining the second interaction policy according to the terminal attribute information sent by the first terminal, the second sending unit 505 may further input the received terminal attribute information to a policy obtaining model obtained by pre-training, so as to use an output result of the policy obtaining model as the second interaction policy corresponding to the terminal attribute information.
When the second sending unit 505 obtains the second interaction data according to the determined second interaction policy, the optional implementation manners that can be adopted are as follows: determining a second target interactive pendant according to second pendant identification information in a second interactive strategy; and acquiring operation data corresponding to the determined second target interactive pendant to serve as second interactive data.
When sending the second interactive data to the first terminal, the second sending unit 505 may directly send the second interactive data to the first terminal, or may generate second interactive information according to the second interactive data, and then send the second interactive information to the first terminal.
The process of the second sending unit 505 when generating the second interactive information according to the second interactive data is similar to the process when generating the first interactive information according to the first interactive data in the foregoing embodiment, and is not described herein again in this embodiment; the second sending unit 505 may also record the sent second interaction data or second interaction information for storage.
The interactive apparatus 500 of the live broadcast room of the present embodiment may further include a third sending unit 506, configured to execute the following: receiving a third interaction strategy sent by a second terminal; acquiring third interaction data according to a third interaction strategy; and sending the third interactive data to the first terminal, so that the first terminal loads a corresponding third pendant container according to the third interactive data, and displaying a third interactive pendant corresponding to the third pendant container in the target live broadcast room.
That is to say, the third sending unit 506 may further obtain third interactive data according to a third interactive policy sent by the second terminal, so that the first terminal loads a corresponding third pendant container according to the third interactive data, so as to display a third interactive pendant corresponding to the third pendant container in the live broadcast room, and perform manual intervention on the displayed interactive pendant through interaction between the server side, the second terminal and the first terminal, thereby achieving a purpose of controlling the interactive pendant displayed by the first terminal by the second terminal, and ensuring stability during interaction through the interactive pendant in the live broadcast room.
The third interaction policy sent by the second terminal and received by the third sending unit 506 includes third pendant identification information.
When the third sending unit 506 obtains the third interaction data according to the received third interaction policy, the optional implementation manners that can be adopted are as follows: determining a third target interactive pendant according to third pendant identification information in a third interactive strategy; and acquiring running data corresponding to the determined third target interactive pendant to serve as third interactive data.
When the third sending unit 506 sends the third interactive data to the first terminal, the third interactive data may be directly sent to the first terminal, or third interactive information may be generated according to the third interactive data, so as to send the third interactive information to the first terminal.
The process of the third sending unit 506 when generating the third interactive information according to the third interactive data is similar to the process when generating the first interactive information according to the first interactive data in the foregoing embodiment, and is not described herein again in this embodiment; the third sending unit 506 may also record the sent third interaction data or third interaction information for storage.
Fig. 6 is a schematic diagram according to a sixth embodiment of the present disclosure. As shown in fig. 6, the interactive device 600 of the live broadcast room of the present embodiment is located at a first terminal, and includes:
the detecting unit 601 is configured to acquire target live broadcast room information when detecting that the interactive function is triggered;
a fourth sending unit 602, configured to send an interaction request including the target live broadcast room information to a server, where the target live broadcast room information is used by the server to determine a first interaction policy;
the second receiving unit 603 is configured to receive the first interactive data sent by the server, load a corresponding first pendant container according to the first interactive data, and display a first interactive pendant corresponding to the first pendant container in a target live broadcast room.
When detecting whether the interactive function is triggered, the detecting unit 601 may detect whether the first terminal enters the live broadcast room through the live broadcast application, and may also detect whether the first terminal clicks the interactive button after entering the live broadcast room.
When detecting that the first terminal enters the live broadcast room through the live broadcast application or detecting that the first terminal clicks an interaction button after entering the live broadcast room, the detection unit 601 uses the entered live broadcast room as a target live broadcast room to further acquire live broadcast type information and/or live broadcast room identification information of the target live broadcast room as target live broadcast room information.
In this embodiment, after the detection unit 601 acquires the target live broadcast room information, the fourth sending unit 602 sends an interaction request including the acquired target live broadcast room information to the server, so that the server determines the first interaction policy according to the target live broadcast room information.
In this embodiment, after the fourth sending unit 602 sends the interaction request including the target live broadcast room information to the server, the second receiving unit 603 receives the first interaction data sent by the server, and loads the corresponding first pendant container according to the received first interaction data, so that the first interaction pendant corresponding to the first pendant container is displayed in the target live broadcast room.
The first terminal stores pendant containers corresponding to different interactive pendants locally in advance; the pendant container corresponding to the interactive pendant in this embodiment can be regarded as a frame of the interactive pendant, and the loading of the pendant can be completed only by combining with the running data sent by the server, so that the purpose of displaying the corresponding interactive pendant in the target live broadcast room is achieved.
It can be understood that the second receiving unit 603 may directly receive the first interaction data sent by the server, or may receive a first interaction message sent by the server and generated according to the first interaction data.
The interactive apparatus 600 of the live broadcast room of the present embodiment may further include a third receiving unit 604, configured to execute the following: acquiring terminal attribute information; the obtained terminal attribute information is sent to a server side, and the sent terminal attribute information is used for the server side to determine a second interaction strategy; and receiving second interactive data sent by the server, loading a corresponding second pendant container according to the second interactive data, and displaying a second interactive pendant corresponding to the second pendant container in the target live broadcast room.
That is to say, the third receiving unit 604 may obtain the second interactive data sent by the server terminal by sending the terminal attribute information to the server terminal, so as to display different interactive pendants in the target live broadcast room according to different terminal attributes, thereby implementing personalization during interaction in the target live broadcast room.
The interactive apparatus 600 in the live broadcast room of the present embodiment may further include a fourth receiving unit 605, configured to execute the following: receiving third interactive data sent by a server; and loading a corresponding third pendant container according to the third interactive data, and displaying a third interactive pendant corresponding to the third pendant container in the target live broadcast room.
That is to say, the fourth receiving unit 605 may further obtain the third interactive data by sending the third interactive policy to the server through the second terminal, so that the first terminal can display the third interactive pendant corresponding to the third interactive policy in the target live broadcast room, and the purpose of performing interaction in the target live broadcast room according to interaction among the first terminal, the second terminal, and the server is achieved.
It can be understood that the screen of the first terminal is limited, and the number of the interactive pendants displayed on the live interface of the first terminal is correspondingly limited.
The first terminal receives the first interactive data, the second interactive data and the third interactive data, and different interactive data correspond to different interactive pendants, so that the first terminal in the embodiment can display the interactive pendants with higher priorities according to the priorities of the interactive pendants in the interactive data; and under the condition that a plurality of same interactive pendants exist, only one first terminal is displayed.
Fig. 7 is a schematic diagram according to a seventh embodiment of the present disclosure. As shown in fig. 7, this embodiment shows a schematic diagram when a first pendant corresponding to an entered target live broadcast room is displayed in a live broadcast interface after a first terminal enters the target live broadcast room; in this embodiment, the pendant is displayed on the right side of the interface of the live broadcast room, and the displayed first pendant includes a pendant 1, a pendant 2, and a pendant 3.
Fig. 8 is a schematic diagram according to an eighth embodiment of the present disclosure. As shown in fig. 8, this embodiment shows a schematic diagram of a first terminal when displaying a second pendant corresponding to attribute information of the first terminal (for example, identification information of the first terminal) in a live broadcast interface after entering a target live broadcast room, in this embodiment, a pendant is displayed on the right side of the live broadcast room interface, and the displayed second pendant includes a pendant 1, a pendant 4, a pendant 5, and a pendant 6.
In the technical scheme of the disclosure, the acquisition, storage, application and the like of the personal information of the related user all accord with the regulations of related laws and regulations, and do not violate the good customs of the public order.
The present disclosure also provides an electronic device, a readable storage medium, and a computer program product according to embodiments of the present disclosure.
Fig. 9 is a block diagram of an electronic device of a live broadcast interaction method according to an embodiment of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 7, the apparatus 900 includes a computing unit 901, which can perform various appropriate actions and processes in accordance with a computer program stored in a Read Only Memory (ROM)902 or a computer program loaded from a storage unit 908 into a Random Access Memory (RAM) 903. In the RAM903, various programs and data required for the operation of the device 900 can also be stored. The calculation unit 901, ROM902, and RAM903 are connected to each other via a bus 904. An input/output (I/O) interface 905 is also connected to bus 904.
A number of components in the device 900 are connected to the I/O interface 905, including: an input unit 906 such as a keyboard, a mouse, and the like; an output unit 907 such as various types of displays, speakers, and the like; a storage unit 908 such as a magnetic disk, optical disk, or the like; and a communication unit 909 such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 909 allows the device 900 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The computing unit 901 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 901 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The computing unit 901 performs the respective methods and processes described above, such as the live room interactive method. For example, in some embodiments, the live room interaction method may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 908.
In some embodiments, part or all of the computer program may be loaded and/or installed onto device 900 via ROM902 and/or communications unit 909. When loaded into RAM903 and executed by computing unit 901, may perform one or more of the steps of the live-room interaction method described above. Alternatively, in other embodiments, the computing unit 901 may be configured to perform the live-room interaction method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable direct broadcast station interaction device, such that the program code, when executed by the processor or controller, causes the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a presentation device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for presenting information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server can be a cloud Server, also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service ("Virtual Private Server", or simply "VPS"). The server may also be a server of a distributed system, or a server incorporating a blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be executed in parallel or sequentially or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved.
The above detailed description should not be construed as limiting the scope of the disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present disclosure should be included in the scope of protection of the present disclosure.

Claims (24)

1. A method for interaction between live broadcasts comprises the following steps:
the method comprises the steps that a server side receives an interaction request sent by a first terminal, wherein the interaction request comprises target live broadcast room information;
determining a first interaction strategy according to the target live broadcast room information;
acquiring first interaction data according to the first interaction strategy;
and sending the first interactive data to the first terminal, so that the first terminal loads a corresponding first pendant container according to the first interactive data, and displays a first interactive pendant corresponding to the first pendant container in a target live broadcast room.
2. The method of claim 1, wherein the determining a first interaction policy from the target live room information comprises:
matching the target live broadcast room information in a first preset relation table;
and taking the interaction strategy matched with the target live broadcast room information in the first preset relation table as the first interaction strategy.
3. The method of any of claims 1-2, wherein the obtaining first interaction data according to the first interaction policy comprises:
determining a first target interactive pendant according to first pendant identification information in the first interactive strategy;
and acquiring running data corresponding to the first target interactive pendant to serve as the first interactive data.
4. The method according to any one of claims 1-3, wherein the transmitting the first interaction data to the first terminal comprises:
generating a first interactive message according to the first interactive data;
and sending the first interactive message to the first terminal.
5. The method of any of claims 1-4, further comprising,
the server receives the terminal attribute information sent by the first terminal;
determining a second interaction strategy according to the terminal attribute information;
acquiring second interaction data according to the second interaction strategy;
and sending the second interactive data to the first terminal, so that the first terminal loads a corresponding second pendant container according to the second interactive data, and displays a second interactive pendant corresponding to the second pendant container in a target live broadcast room.
6. The method of claim 5, wherein the determining a second interaction policy according to the terminal attribute information comprises:
matching the terminal attribute information in a second preset relation table;
and taking the interaction strategy matched with the terminal attribute information in the second preset relation table as the second interaction strategy.
7. The method of any of claims 5-6, wherein the obtaining second interaction data according to the second interaction policy comprises:
determining a second target interactive pendant according to second pendant identification information in the second interactive strategy;
and acquiring running data corresponding to the second target interactive pendant to serve as the second interactive data.
8. The method of any of claims 1-7, further comprising,
the server side receives a third interaction strategy sent by the second terminal;
acquiring third interaction data according to the third interaction strategy;
and sending the third interactive data to the first terminal, so that the first terminal loads a corresponding third pendant container according to the third interactive data, and displays a third interactive pendant corresponding to the third pendant container in a target live broadcast room.
9. The method of claim 8, wherein the obtaining third interaction data according to the third interaction policy comprises:
determining a third target interactive pendant according to third pendant identification information in the third interactive strategy;
and acquiring running data corresponding to the third target interactive pendant to serve as the third interactive data.
10. A method for interaction between live broadcasts comprises the following steps:
the method comprises the steps that a first terminal acquires target live broadcast room information under the condition that an interaction function is detected to be triggered;
sending an interaction request containing the target live broadcast room information to a server, wherein the target live broadcast room information is used for the server to determine a first interaction strategy;
receiving first interactive data sent by the server, loading a corresponding first pendant container according to the first interactive data, and displaying a first interactive pendant corresponding to the first pendant container in a target live broadcast room.
11. The method of claim 10, further comprising,
acquiring terminal attribute information;
sending the terminal attribute information to the server, wherein the terminal attribute information is used for the server to determine a second interaction strategy;
and receiving second interactive data sent by the server, loading a corresponding second pendant container according to the second interactive data, and displaying a second interactive pendant corresponding to the second pendant container in a target live broadcast room.
12. The method of any of claims 10-11, further comprising,
receiving third interactive data sent by the server side;
and loading a corresponding third pendant container according to the third interactive data, and displaying a third interactive pendant corresponding to the third pendant container in a target live broadcast room.
13. An interactive device of a live broadcast room is positioned at a server side and comprises:
the first receiving unit is used for receiving an interaction request sent by a first terminal, wherein the interaction request comprises target live broadcast room information;
the first determining unit is used for determining a first interaction strategy according to the target live broadcast room information;
the first acquisition unit is used for acquiring first interaction data according to the first interaction strategy;
the first sending unit is used for sending the first interactive data to the first terminal, so that the first terminal loads a corresponding first pendant container according to the first interactive data, and displays a first interactive pendant corresponding to the first pendant container in a target live broadcast room.
14. The apparatus according to claim 13, wherein the first determining unit, when determining the first interaction policy according to the target live broadcast room information, specifically performs:
matching the target live broadcast room information in a first preset relation table;
and taking the interaction strategy matched with the target live broadcast room information in the first preset relation table as the first interaction strategy.
15. The apparatus according to any one of claims 13 to 14, wherein the first obtaining unit, when obtaining the first interaction data according to the first interaction policy, specifically performs:
determining a first target interactive pendant according to first pendant identification information in the first interactive strategy;
and acquiring running data corresponding to the first target interactive pendant as the first interactive data.
16. The apparatus according to any one of claims 13 to 15, wherein the first sending unit, when sending the first interaction data to the first terminal, specifically performs:
generating a first interactive message according to the first interactive data;
and sending the first interactive message to the first terminal.
17. The apparatus according to any of claims 13-16, further comprising a second sending unit configured to perform:
receiving terminal attribute information sent by the first terminal;
determining a second interaction strategy according to the terminal attribute information;
acquiring second interaction data according to the second interaction strategy;
and sending the second interactive data to the first terminal, so that the first terminal loads a corresponding second pendant container according to the second interactive data, and displays a second interactive pendant corresponding to the second pendant container in a target live broadcast room.
18. The apparatus according to any of claims 13-17, further comprising a third transmitting unit configured to perform:
receiving a third interaction strategy sent by a second terminal;
acquiring third interaction data according to the third interaction strategy;
and sending the third interactive data to the first terminal, so that the first terminal loads a corresponding third pendant container according to the third interactive data, and displays a third interactive pendant corresponding to the third pendant container in a target live broadcast room.
19. An interactive device of a live broadcast room, which is located at a first terminal, comprises:
the detection unit is used for acquiring the target live broadcast room information under the condition that the interaction function is detected to be triggered;
a fourth sending unit, configured to send an interaction request including the target live broadcast room information to a server, where the target live broadcast room information is used by the server to determine a first interaction policy;
and the second receiving unit is used for receiving the first interactive data sent by the server, loading a corresponding first pendant container according to the first interactive data, and displaying the first interactive pendant corresponding to the first pendant container in a target live broadcast room.
20. The apparatus of claim 19, further comprising a third receiving unit configured to perform:
acquiring terminal attribute information;
sending the terminal attribute information to the server, wherein the terminal attribute information is used for the server to determine a second interaction strategy;
and receiving second interactive data sent by the server, loading a corresponding second pendant container according to the second interactive data, and displaying a second interactive pendant corresponding to the second pendant container in a target live broadcast room.
21. The apparatus according to any of claims 19-20, further comprising a fourth receiving unit configured to perform:
receiving third interactive data sent by the server side;
and loading a corresponding third pendant container according to the third interactive data, and displaying a third interactive pendant corresponding to the third pendant container in a target live broadcast room.
22. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-12.
23. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-12.
24. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-12.
CN202210061525.0A 2022-01-19 2022-01-19 Interaction method and device for live broadcast room, electronic equipment and readable storage medium Pending CN114466236A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210061525.0A CN114466236A (en) 2022-01-19 2022-01-19 Interaction method and device for live broadcast room, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210061525.0A CN114466236A (en) 2022-01-19 2022-01-19 Interaction method and device for live broadcast room, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN114466236A true CN114466236A (en) 2022-05-10

Family

ID=81410133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210061525.0A Pending CN114466236A (en) 2022-01-19 2022-01-19 Interaction method and device for live broadcast room, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN114466236A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547819A (en) * 2018-11-23 2019-03-29 广州虎牙信息科技有限公司 List methods of exhibiting, device and electronic equipment is broadcast live
CN110460881A (en) * 2019-08-01 2019-11-15 广州虎牙科技有限公司 Management method, device, computer equipment and the storage medium of attribute tags
CN111405300A (en) * 2020-02-28 2020-07-10 北京达佳互联信息技术有限公司 Pendant display method and device, electronic equipment and computer readable storage medium
CN113114731A (en) * 2021-03-19 2021-07-13 北京达佳互联信息技术有限公司 Task processing method, device, server and storage medium
CN113747207A (en) * 2021-08-11 2021-12-03 北京达佳互联信息技术有限公司 Data transmission method and device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547819A (en) * 2018-11-23 2019-03-29 广州虎牙信息科技有限公司 List methods of exhibiting, device and electronic equipment is broadcast live
CN110460881A (en) * 2019-08-01 2019-11-15 广州虎牙科技有限公司 Management method, device, computer equipment and the storage medium of attribute tags
CN111405300A (en) * 2020-02-28 2020-07-10 北京达佳互联信息技术有限公司 Pendant display method and device, electronic equipment and computer readable storage medium
CN113114731A (en) * 2021-03-19 2021-07-13 北京达佳互联信息技术有限公司 Task processing method, device, server and storage medium
CN113747207A (en) * 2021-08-11 2021-12-03 北京达佳互联信息技术有限公司 Data transmission method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US11962861B2 (en) Live streaming room red packet processing method and apparatus, and medium and electronic device
US9619275B2 (en) Data processing method, apparatus and mobile terminal
US20170075737A1 (en) Method of displaying notifications and electronic device adapted thereto
US10455542B2 (en) Method of synchronizing notification messages for electronic devices and electronic devices
EP2562984A1 (en) Method and device for processing desktop sharing
US20220353551A1 (en) Live broadcast room page loading method and apparatus, and terminal, server and storage medium
US11829588B2 (en) Method, apparatus, and system for generating resource value transfer request
US9871833B2 (en) Adjusting the display of social media updates to varying degrees of richness based on environmental conditions and importance of the update
CN115659039A (en) Information recommendation method, information recommendation device, information display method, information recommendation equipment, information display medium and program product
CN114840163A (en) Interactive information display method, device and equipment
CN114466236A (en) Interaction method and device for live broadcast room, electronic equipment and readable storage medium
CN112966201B (en) Object processing method, device, electronic equipment and storage medium
CN113747423A (en) Cloud mobile phone state synchronization method, device, equipment, storage medium and program product
CN113382310B (en) Information recommendation method and device, electronic equipment and medium
CN113722378B (en) Method, device, electronic equipment and medium for collecting information
CN114265535B (en) Floor page display method, device, equipment and medium for push message
CN113676746B (en) Method, apparatus, device and medium for detecting live broadcast jitter
CN114401337A (en) Data sharing method, device and equipment based on cloud mobile phone and storage medium
CN110875870B (en) Electronic red packet monitoring method, system and terminal equipment
CN114399333A (en) Method, device, equipment and storage medium for detecting medium information releasing effect
CN116962339A (en) Message pushing method, device, equipment and storage medium
CN113961207A (en) Application control method, device, electronic equipment and medium
CN113342442A (en) Information display method and device based on intelligent screen, intelligent screen equipment and medium
CN116436883A (en) Method, device, electronic equipment and readable storage medium for link transmission
CN115455128A (en) Electronic fence remaining white processing method and device

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