CN114339354A - Live broadcast rebroadcasting method, device, equipment and readable storage medium - Google Patents
Live broadcast rebroadcasting method, device, equipment and readable storage medium Download PDFInfo
- Publication number
- CN114339354A CN114339354A CN202111679117.3A CN202111679117A CN114339354A CN 114339354 A CN114339354 A CN 114339354A CN 202111679117 A CN202111679117 A CN 202111679117A CN 114339354 A CN114339354 A CN 114339354A
- Authority
- CN
- China
- Prior art keywords
- room
- live broadcast
- audience
- live
- client
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000002452 interceptive effect Effects 0.000 claims abstract description 85
- 230000000694 effects Effects 0.000 claims abstract description 73
- 230000003993 interaction Effects 0.000 claims abstract description 52
- 238000004590 computer program Methods 0.000 claims description 3
- 230000001360 synchronised effect Effects 0.000 abstract description 13
- 230000008569 process Effects 0.000 description 14
- 238000004891 communication Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000036651 mood Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The application discloses a live broadcast relay method, a live broadcast relay device, equipment and a readable storage medium, wherein the live broadcast content of a live broadcast room of a main broadcast is obtained, and the live broadcast content is synchronized to a client corresponding to audiences of the live broadcast room and the relay room; acquiring interactive information sent by audiences in the live broadcast room and the rebroadcast room; and synchronizing the interaction information to the live broadcast room and the rebroadcast room so as to realize the interaction between the audience of the live broadcast room and the audience of the rebroadcast room. Therefore, the method and the system can realize the rebroadcasting of the live broadcast content of the live broadcast room, and the audience of the live broadcast room and the client of the audience of the rebroadcasting room can synchronously play the live broadcast content of the live broadcast room of the anchor broadcast. In addition, regardless of whether the viewer sends the interactive information in the live room or in the relay room, the interactive information can be synchronized into the live room and the relay room. The audience in the live broadcast room and the audience in the relay broadcast room can interact, and further, the relay broadcast effect is better.
Description
Technical Field
The present application relates to the field of internet live broadcast technologies, and in particular, to a live broadcast relay method, apparatus, device, and readable storage medium.
Background
Because live broadcasting has the advantages of intuition, rapidness, no regional limitation and the like, watching live broadcasting becomes a common entertainment mode. During the viewing of a live broadcast by a viewer, a message is typically sent to interact with the live anchor and other viewers. In addition, the viewer can express his/her preference by sending the present.
Wherein, when the anchor is live, the live content of other anchors may need to be rebroadcast and interacted with, so as to attract more audiences. Furthermore, in the live broadcast field, it is possible to relay a live broadcast of a subscription anchor within a specific time in an official live broadcast room in order to cater for the audience and to direct the anchor. Thus, in the field of live broadcasting, how to implement rebroadcasting has attracted attention from many parties.
In summary, a live broadcasting method is needed for realizing the broadcast of live contents.
Disclosure of Invention
In view of the above, the present application provides a live broadcast relay method, apparatus, device and readable storage medium for implementing relay of live broadcast content.
In order to achieve the above object, the following solutions are proposed:
a live broadcast relay method includes:
acquiring live broadcast content of a live broadcast room of a main broadcast, and synchronizing the live broadcast content to client sides corresponding to audiences of the live broadcast room and a rebroadcast room;
acquiring interactive information sent by audiences in the live broadcast room and the rebroadcast room;
and synchronizing the interaction information to the live broadcast room and the rebroadcast room so as to realize the interaction between the audience of the live broadcast room and the audience of the rebroadcast room.
Preferably, synchronizing the interaction information to the live broadcast room and the rebroadcast room to realize the interaction between the audience of the live broadcast room and the audience of the rebroadcast room comprises:
when the interactive information comes from the audience in the live broadcast room, synchronizing the interactive information to the client of the audience in the relay broadcast room;
and when the interactive information comes from the audience in the relay room, synchronizing the interactive information to the client of the audience in the live broadcast room.
Preferably, the interaction information includes any one or more of the following: types of gift special effects and chat contents;
when the interactive information comes from the audience in the live broadcast room, synchronizing the interactive information to the client of the audience in the relay broadcast room, comprising:
when the type of the gift special effect and/or the chat content come from the audience in the live broadcast room, synchronizing the chat content to the client of the audience in the relay broadcast room, and/or synchronizing the type of the gift special effect to the client of the audience in the relay broadcast room so that the client of the audience in the relay broadcast room can display the gift special effect corresponding to the type of the gift special effect;
when the interactive information comes from the audience in the relay room, synchronizing the interactive information to the client of the audience in the live broadcast room comprises the following steps:
and when the type of the gift special effect and/or the chat content come from the audience in the relay room, synchronizing the chat content to the client side of the audience in the live broadcast room, and/or synchronizing the type of the gift special effect to the client side of the audience in the live broadcast room so that the client side of the audience in the live broadcast room can display the gift special effect corresponding to the type of the gift special effect.
Preferably, before acquiring the live content of the live room of the anchor, the method further includes:
acquiring preset starting time of the live broadcast room;
calculating the time difference between the starting time and the current time, and comparing the time difference with the preset total live broadcast countdown time to obtain a comparison result;
and when the comparison result shows that the time difference is less than or equal to the total countdown time length of the live broadcast, sending a countdown instruction to the client sides corresponding to the audiences of the live broadcast room and the relay room so as to display countdown.
Preferably, after acquiring the live content of the live room of the anchor, the method further includes:
storing the live broadcast content and the live broadcast time in a memory;
after the mutual information of audience synchronization between the live broadcast room and the rebroadcast room is obtained, the method further comprises the following steps:
and storing the interaction information and the interaction time thereof in a memory.
Preferably, the acquiring the live broadcast content of the live broadcast room of the anchor and synchronizing the live broadcast content to the clients corresponding to the viewers in the live broadcast room and the relay room includes:
when a target live broadcasting room audience or a target rebroadcasting room audience selects live broadcasting contents in a historical time period, calling historical live broadcasting contents and historical interactive information corresponding to the historical time period in a memory, and synchronizing the historical live broadcasting contents and the historical interactive information to the target live broadcasting room audience or a client corresponding to the target rebroadcasting room audience.
A live relay device comprising:
the content acquisition unit is used for acquiring the live broadcast content of a live broadcast room of a main broadcast and synchronizing the live broadcast content to the client sides corresponding to audiences of the live broadcast room and the rebroadcast room;
the information acquisition unit is used for acquiring interactive information sent by audiences in the live broadcast room and the rebroadcast room;
and the information synchronization unit is used for synchronizing the interactive information to the live broadcast room and the rebroadcast room so as to realize the interaction between the audience of the live broadcast room and the audience of the rebroadcast room.
Preferably, the information synchronization unit includes:
the broadcasting room synchronizing unit is used for synchronizing the interactive information to a client of a broadcasting room audience when the interactive information comes from the broadcasting room audience;
and the live broadcast room synchronizing unit is used for synchronizing the interactive information to the client side of the audience in the live broadcast room when the interactive information comes from the audience in the live broadcast room.
A live broadcast relay device comprising a memory and a processor;
the memory is used for storing programs;
the processor is configured to execute the program, and implement each step of the live broadcast relay method.
A readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the live relaying method as described above.
As can be seen from the foregoing technical solutions, the live broadcast relay method, apparatus, device and readable storage medium provided by the present application may obtain live broadcast content of a live broadcast room of a main broadcast, where the live broadcast content may include audio and video, and then synchronize the live broadcast content to the live broadcast room and a client corresponding to an audience of the relay room; then, the interactive information sent by the audience in the live broadcast room and the rebroadcast room can be obtained; finally, the interaction information can be synchronized to the live broadcast room and the rebroadcast room, so that the interaction between the audience in the live broadcast room and the audience in the rebroadcast room is realized. Therefore, the method and the system can realize the rebroadcasting of the live broadcast content of the live broadcast room, and the audience of the live broadcast room and the client of the audience of the rebroadcasting room can synchronously play the live broadcast content of the live broadcast room of the anchor broadcast.
In addition, in this application, the interactive information can be synchronized to the live broadcast room and the rebroadcast room, so as to realize the interaction between the audience in the live broadcast room and the audience in the rebroadcast room, that is, the interactive information can be synchronized to the live broadcast room and the rebroadcast room no matter the audience sends the interactive information in the live broadcast room or the rebroadcast room. Based on the method, the audience in the live broadcast room and the audience in the relay broadcast room can interact, and further, better relay broadcast effect is brought.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic diagram of an architecture of an optional live broadcast relay system according to an embodiment of the present application;
fig. 2 is a flowchart of a live broadcast relay method disclosed in an embodiment of the present application;
fig. 3 is a schematic diagram of a live broadcast relay process according to an example of the present application;
fig. 4 is a block diagram of a structure of a live broadcast relay device disclosed in an embodiment of the present application;
fig. 5 is a block diagram of a hardware structure of a live broadcast relay device disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Before explaining a specific implementation process of the live broadcasting relay method, a live broadcasting relay system of the present application is explained, and in a specific case, reference may be made to fig. 1, where fig. 1 is a schematic view of an architecture of an optional live broadcasting relay system provided in an embodiment of the present application.
As shown in fig. 1, the system architecture may include: server 10, client 20 of the relay room audience, client 30 of the live room audience, client 40 of the anchor.
The server 10 may be a server providing live broadcast and rebroadcast services for the client 20 of the audience in the rebroadcast room, the client 30 of the audience in the live broadcast room, and the client 40 of the anchor; the client 20 of the audience in the relay room and the client 30 of the audience in the live broadcast room can be terminal devices corresponding to the audience, and the audience can watch live broadcast video by acquiring live broadcast content sent by the server 10; the audience can upload the interactive information to the server 10 through the client 20 of the audience in the relay room and the client 30 of the audience in the live broadcast room, so as to realize the interaction with the audience in other live broadcast rooms and the audience in the relay room; the viewer can view the live video by acquiring the live content transmitted from the server 10 through the client 20 of the viewer in the relay room and the client 30 of the viewer in the live room. The client 40 of the anchor may be a terminal device corresponding to the anchor, and the anchor may initiate a request for creating a live broadcast room to the server 10 through the client 40 of the anchor and send live broadcast content to the server 10.
In some embodiments, the client 20 of the rebroadcast audience, the client 30 of the live audience, and the client 40 of the anchor may be used interchangeably with each other. For example, a anchor may use an anchor client 40 to provide a live video service to a viewer; the anchor may also act as a viewer viewing live video provided by other anchors using either the client 20 of the rebroadcast viewer or the client 30 of the live-cast viewer. As another example, a relay room viewer may use the client 20 of the relay room viewer as a live room viewer to view live video provided by a main broadcast in a live room, or as a main broadcast to provide live video services to the viewer.
In some embodiments of the present application, the client 20 of the relay room audience, the client 30 of the live room audience, and the client 40 of the anchor may be smart phones, tablet computers, personal computers, notebook computers, virtual reality terminal devices, augmented reality terminal devices, and the like. Among them, the client 20 of the audience in the relay room, the client 30 of the audience in the live broadcast room, and the client 40 of the anchor may have internet products installed therein for providing the live broadcast service of the internet, for example, the internet products may be applications APP, ww an pages, applets, etc. related to the live broadcast service of the internet used in a computer or a smart phone.
Further, when an internet product providing an internet live broadcast service is installed in the client 40 of the anchor, the anchor may initiate a request for opening a live broadcast room to the server 10 through the client 40 of the anchor, the server 10 may issue a fixed channel number to the client 40 of the anchor in response to the request for opening the live broadcast room, and the client 40 of the anchor may transmit live broadcast content uploaded by the anchor to the server 10 through the fixed channel number.
When internet products providing internet live broadcast services are installed in the client 20 of the inter-broadcasting audience and the client 30 of the live broadcasting audience, the audience can send chat contents and/or requests for sending gifts to the server 10 through the client 20 of the inter-broadcasting audience and the client 30 of the live broadcasting audience, so as to realize interaction with other live broadcasting audience and the inter-broadcasting audience.
Based on the live broadcast relay system architecture shown in fig. 1, the live broadcast relay method of the present application will be described in detail from the perspective of the server 10.
Fig. 2 shows a flow chart of a live broadcast relay method provided by the embodiment of the present application.
Step S110, acquiring live broadcast content of a live broadcast room of a main broadcast, and synchronizing the live broadcast content to clients corresponding to audiences of the live broadcast room and a rebroadcast room.
Specifically, the anchor client 40 may autonomously upload anchor live content to the server 10 in the form of a live video stream. When the server 10 receives the live video stream, the live video stream may be transmitted to the client 20 of the live audience and the client 30 of the live audience for viewing by the audience.
And step S120, acquiring interactive information sent by audiences in the live broadcast room and the rebroadcast room.
Specifically, when the audience watches the live broadcast, the system can perform information interaction with other audiences, so that the process of watching the live broadcast is more vigorous, and better watching experience is brought to the audiences.
Thus, to achieve the above object, the server 10 may obtain the interactive information transmitted by the viewer, and the viewer may upload the interactive information to the server 10 through the client 20 of the inter-broadcast viewer or the client 30 of the live-broadcast viewer.
The interactive information may include various information, for example, chat content between viewers, or types of gift special effects given by the viewers for the main broadcast. When the audience presents gifts for the main broadcasting, the gifts are all presented as virtual gifts, and different virtual gifts have different gift special effects. Based on this, when the audience gives the gift, the corresponding special effect of the gift can be displayed to inform the anchor and other audience of the type of the gift given.
And step S130, synchronizing the interactive information to the live broadcast room and the rebroadcast room so as to realize the interaction between the audience in the live broadcast room and the audience in the rebroadcast room.
Specifically, the server 10 may send the interaction information uploaded by the viewer through the client 20 of the inter-audience or the client 30 of the live-audience to the clients 20 and 30 of the inter-audience and the other viewers, so as to realize the interaction between the viewer and the other viewers.
As can be seen from the foregoing technical solutions, the live broadcast relay method, the apparatus, the device and the readable storage medium provided in the embodiments of the present application may obtain live broadcast content of a live broadcast room of a main broadcast, where the live broadcast content may include audio and video, and then synchronize the live broadcast content to the live broadcast room and a client corresponding to an audience of the live broadcast room; then, the interactive information sent by the audience in the live broadcast room and the rebroadcast room can be obtained; finally, the interaction information can be synchronized to the live broadcast room and the rebroadcast room, so that the interaction between the audience in the live broadcast room and the audience in the rebroadcast room is realized. Therefore, the method and the system can realize the rebroadcasting of the live broadcast content of the live broadcast room, and the audience of the live broadcast room and the client of the audience of the rebroadcasting room can synchronously play the live broadcast content of the live broadcast room of the anchor broadcast.
In addition, in this application, the interactive information can be synchronized to the live broadcast room and the rebroadcast room, so as to realize the interaction between the audience in the live broadcast room and the audience in the rebroadcast room, that is, the interactive information can be synchronized to the live broadcast room and the rebroadcast room no matter the audience sends the interactive information in the live broadcast room or the rebroadcast room. Based on the method, the audience in the live broadcast room and the audience in the relay broadcast room can interact, and further, better relay broadcast effect is brought.
In some embodiments of the present application, it is contemplated that viewers and broadcasters may be alerted before a live broadcast begins, that the live broadcast and the rebroadcast are about to begin, and that attention of the viewers and the broadcasters is drawn to better begin the live broadcast and the rebroadcast. Thus, the following steps may be added before acquiring the live content of the live room of the anchor at step S110:
s210, acquiring the preset starting time of the live broadcast room.
Specifically, the time when the live content is uploaded by the host may be preset, and this time is used as the start time. The start time may be stored in a database. Based on this, a preset start time of the live broadcast may be obtained from a database.
S220, calculating the time difference between the starting time and the current time, and comparing the time difference with the preset total live broadcast countdown time to obtain a comparison result.
Specifically, the total duration of the live broadcast countdown can be preset, the total duration of the live broadcast countdown can be any duration, for example, 5 minutes, 4 minutes, 1 minute, and the like, and the user can set the duration according to specific situations. A preset total duration of the live countdown may be stored in the database.
Based on this, when the time difference between the current time and the start time is obtained through calculation, the total live countdown time length is obtained from the database, the time difference is compared with the total live countdown time length, and a comparison result is obtained.
Wherein, the difference between the time difference and the total counting down time of the live broadcast can be calculated, and the difference is used as the comparison result.
The time difference between the start time and the current time may be calculated periodically before the live broadcast starts. For example, the time difference between the start time and the current time may be calculated every 1 minute.
And S230, when the comparison result shows that the time difference is smaller than or equal to the total countdown time of the live broadcast, sending a countdown instruction to the client corresponding to the audience in the live broadcast room and the rebroadcast room so as to display countdown.
Specifically, when the time difference is equal to the live countdown total time, the countdown may be displayed in the live room and the relay room.
When the time difference is less than the live countdown total time, the countdown time may be displayed in the live room and the relay room.
The countdown instructions may be sent to the clients corresponding to the viewers in the live room and the rebroadcast room to display the countdown in the clients corresponding to the viewers in the live room and the rebroadcast room.
Considering that the anchor may be live in advance, the live content of the live room may be acquired while the countdown is displayed, but is not played in the clients of the viewers in the live room and the rebroadcast room.
It can be seen from the above technical solutions that a countdown display mode is added in this embodiment to remind the viewers in the live broadcast room and the viewers in the relay room that live broadcast is about to start. Therefore, through the scheme, the user can watch interested live broadcast content in time.
In some embodiments of the present application, it is contemplated that a viewer who misses a live broadcast may need to watch the playback. Thus, after acquiring the live content of the live room of the anchor at step S110, the following steps may be added:
and S310, storing the live broadcast content and the live broadcast time in a memory.
Specifically, in the process of live broadcast by the anchor, live broadcast content uploaded to the server 10 by the anchor may be stored in the memory. And storing the live broadcast content and the corresponding live broadcast time at the same time.
Based on this, considering that the recording of the interactive information during the live broadcast process can increase the interest and participation sense of the audience when watching the live broadcast return visit, after the step S120 of acquiring the interactive information sent by the audience in the live broadcast room and the relay room, the following steps are added:
and S320, storing the interaction information and the interaction time thereof in a memory.
Specifically, the interactive information uploaded by the audience in the live broadcast room and the audience in the rebroadcast room can be stored in the memory during the live broadcast process of the anchor. And storing the corresponding interaction time while storing the interaction information.
According to the technical scheme, the live broadcast content and the corresponding time thereof, and the interactive information and the corresponding interactive time thereof can be stored in the memory so that the audience can watch the live broadcast playback.
In some embodiments of the present application, a process of step S110, obtaining live content of a live broadcast room of a main broadcast, and synchronizing the live content to a client corresponding to a viewer in the live broadcast room and a relay room is described in detail.
Specifically, when a target live broadcasting room audience or a target rebroadcasting room audience selects live broadcasting contents in a historical time period, historical live broadcasting contents and historical interactive information corresponding to the historical time period in a memory are called, and the historical live broadcasting contents and the historical interactive information are synchronized to the target live broadcasting room audience or a client corresponding to the target rebroadcasting room audience.
When the audience changes or in the live broadcast room, the server 10 may call the historical live broadcast content and the historical interactive information corresponding to the historical time period in the memory, and send the historical live broadcast content and the historical interactive information to the client corresponding to the audience, so as to realize live broadcast playback.
The interactive information comprises interactive information sent by audience in a live broadcast room, an anchor broadcast and a rebroadcast room.
It can be seen from the foregoing technical solutions that the present embodiment provides an alternative way for watching live playback, and live playback is implemented by calling live content and interaction information in a memory and sending the live content and the interaction information to a client. Therefore, the method and the device can help the audience missing the live broadcast to watch the live playback.
In some embodiments of the present application, the process of synchronizing the interaction information to the live broadcast room and the rebroadcast room in step S130 to realize the interaction between the audience in the live broadcast room and the audience in the rebroadcast room is described in detail.
And S10, synchronizing the interactive information to the client 20 of the audience in the broadcasting room when the interactive information comes from the audience in the broadcasting room.
Specifically, after the live-room viewers upload the interactive information to the server 10, the clients 20 of the respective live-room viewers and the clients 30 of the other respective live-room viewers may receive the interactive information sent by the server 10.
And S11, synchronizing the interactive information to the client 30 of the live broadcasting audience when the interactive information comes from the live broadcasting audience.
Specifically, after the inter-broadcasting audience uploads the interactive information to the server 10, the client 30 of each live broadcasting audience and the clients 20 of other inter-broadcasting audiences can receive the interactive information sent by the server 10.
It can be seen from the above technical solutions that in this embodiment, the client 30 of the audience in the live broadcast room and the client 20 of the audience in the relay room can both receive the interactive information uploaded by the audience, so that the audience in the live broadcast room and the audience in the relay room can interact with each other as long as the audience watches the live broadcast, regardless of whether the audience in the live broadcast room or the audience in the relay room.
In some embodiments of the present application, the interactive information may be a type of gift effect and/or chat content, considering that the information uploaded to the server 10 by the viewer is generally a type of chat content and a gift effect. Based on this, the process of synchronizing the interactive information to the client 20 of the live room viewer when the interactive information comes from the live room viewer at step S10 will be described in detail.
Specifically, when the chat content uploaded by the viewer to the server 10 is from a live room viewer, the chat content is synchronized to the client 20 of the live room viewer.
The server 10, upon receiving the chat content, can determine whether the chat content is from the client 30 of the live broadcast audience or from the client 20 of the relay broadcast audience, and synchronize the chat content to the client 20 of each relay broadcast audience when the chat content is from the client 30 of the live broadcast audience. Based on this, the clients 20 of the respective relay room viewers and the clients 30 of the respective live room viewers can view the chat content in the same time period.
When the type of the gift special effect uploaded to the server 10 by the audience comes from the live-room audience, the type of the gift special effect is synchronized to the client 20 of the relay-room audience, so that the client 20 of the relay-room audience displays the gift special effect corresponding to the type of the gift special effect.
The server 10 receives the type of the gift special effect, determines whether the type of the gift special effect is from the client 30 of the live-air audience or from the client 20 of the relay-air audience, and synchronizes the type of the gift special effect to the client 20 of each relay-air audience when the type of the gift special effect is from the client 30 of the live-air audience. Based on this, the client 20 of each live broadcast audience and the client 30 of each live broadcast audience can both view the special effect of the gift in the same time period, and know that the audience gives the gift for the main broadcast.
Next, the process of synchronizing the interactive information to the client 30 of the live audience when the interactive information comes from the live audience at step S11 will be described in detail.
Specifically, when the chat content comes from the live broadcast audience, the chat content is synchronized to the client 30 of the live broadcast audience, so that the client 30 of the live broadcast audience displays the chat content.
The server 10, upon receiving the chat content, can determine whether the chat content is from the client 30 of the live broadcast audience or from the client 20 of the relay broadcast audience, and synchronize the chat content to the client 30 of each live broadcast audience when the chat content is from the client 20 of the relay broadcast audience. Based on this, the clients 20 of the respective relay room viewers and the clients 30 of the respective live room viewers can view the chat content in the same time period.
When the type of the gift special effect comes from the audience of the relay room, the type of the gift special effect is synchronized to the client 30 of the audience of the live broadcast room, so that the client 30 of the audience of the live broadcast room displays the gift special effect corresponding to the type of the gift special effect.
The server 10 receives the type of the gift special effect, determines whether the type of the gift special effect is from the client 30 of the live broadcast audience or from the client 20 of the relay audience, and synchronizes the type of the gift special effect to the client 30 of each live broadcast audience when the type of the gift special effect is from the client 20 of the relay audience. Based on this, the client 20 of each live broadcast audience and the client 30 of each live broadcast audience can both view the special effect of the gift in the same time period, and know that the audience gives the gift for the main broadcast.
It can be seen from the above technical solutions that, in the present embodiment, the types of the chat content and the gift special effect uploaded by the viewers can be received by both the client 30 of the viewers in the live broadcast room and the client 20 of the viewers in the relay broadcast room, so that as long as the viewers in the live broadcast are watched, the viewers in both the live broadcast room and the relay broadcast room can perform chat and communication.
Next, the present application will be described by way of an example in a specific scenario with reference to fig. 3.
The following description will take the interactive information sent by the audience in the live broadcast room as the type of the special effect of the gift, and the interactive information sent by the audience in the relay broadcast room as the chat content as an example.
S20, the server 10 issues a countdown command to the client 20 of the inter-broadcasting viewer.
In particular, the countdown instructions indicate a need to display a countdown in the client 20 of each rebroadcast viewer to alert the rebroadcast viewer that a live broadcast is about to begin.
S21, the server 10 issues a countdown command to the client 30 of the viewer in the live broadcast room.
In particular, the countdown instructions indicate a need to display a countdown in the client 30 of each live room viewer to alert the live room viewer that a live broadcast is about to begin.
S22, the server 10 issues a countdown command to the anchor client 40.
In particular, the countdown instructions indicate that a countdown needs to be displayed in the client 40 of the anchor to alert the anchor that a live broadcast is about to begin. And a countdown instruction can be issued to the client side of the rebroadcast room so as to display the countdown in the rebroadcast room.
It should be noted that the server 10 issues countdown instructions to the client 20 of the rebroadcast audience, the client 30 of the live audience, and the client 40 of the anchor at the same time.
S23, the countdown is displayed on the client 20 of each inter-broadcast viewer.
Specifically, when the client 20 of each relay room viewer receives the countdown instruction, the countdown may be performed in the client 20 of the relay room viewer and displayed.
S24, the countdown is displayed on the client 30 of each live broadcast viewer.
Specifically, when the client 30 of each live room viewer receives the countdown instruction, the countdown may be performed in the live room viewer's client 30 and displayed.
S25, displaying the countdown in the client 40 of the anchor.
Specifically, when the anchor client 40 receives the countdown instruction, the countdown may be performed in the anchor client 40 and displayed.
S26, the client 20 of the inter-broadcasting viewer transmits the type of the gift effect to the server 10.
Specifically, when the viewer gives a gift for the anchor, the special effect of the gift is displayed. Thus, when a relay-room viewer gives a gift for a main broadcast through the client 20 of the relay-room viewer, the type of special effect corresponding to the gift may be uploaded to display the special effect corresponding to the gift in the live room and the relay room, thereby indicating that there is a viewer giving a gift for a main broadcast.
S27, the server 10 issues the type of gift effect to the client 20 of each inter-cast viewer.
Specifically, the server 10 may issue the type of the gift effect to the clients 20 of the respective relay-room viewers for displaying the gift effect in the clients 20 of the respective relay-room viewers.
S28, the server 10 issues the type of gift effect to the client 30 of each live room audience.
Specifically, the server 10 may issue the type of gift effect to the respective live-room viewer's client 30 for display in the respective live-room viewer's client 30.
S29, the server 10 issues the type of gift special effect to the client 40 of the anchor.
Specifically, the server 10 may issue the type of gift certificate into the client 40 of the anchor for display in the client 40 of the anchor, alerting the anchor to the presentation of the gift by the audience.
And S30, displaying the gift special effect corresponding to the gift special effect type in the client 20 of each inter-broadcasting audience.
Specifically, when receiving the type of the gift certificate issued by the server 10, the gift certificate may be displayed in the client 20 of each inter-broadcasting viewer.
And S31, displaying the gift special effect corresponding to the gift special effect type in the client 30 of each live broadcast room audience.
Specifically, when receiving the type of the gift certificate issued by the server 10, the gift certificate may be displayed in the client 30 of each live-air viewer.
And S32, displaying the gift special effect corresponding to the gift special effect type in the client 40 of the anchor.
Specifically, when receiving the type of the gift special effect issued by the server 10, the gift special effect may be displayed in the client 40 of the anchor.
S33, the client 30 of the live audience sends chat content to the server 10.
In particular, in the process of a viewer watching a live broadcast, it may be necessary to publish ideas, express appeal, or mood. Therefore, the audience can send the chat content to interact with other audiences, so that the live broadcast is more vigorous, and the watching experience of the user is improved.
Thus, when a live-room viewer wants to interact with other viewers, chat content can be sent to the server 10 through the live-room viewer's client 30.
S34, the server 10 sends the chat content to the client 20 of each inter-broadcasting audience.
Specifically, the server 10 can send the chat content to the client 20 of each inter-broadcasting audience, so as to allow other inter-broadcasting audiences to participate in the chat.
S35, the server 10 issues the chat content to the client 30 of each live broadcast audience.
Specifically, the server 10 can send the chat content to the clients 30 of the viewers in the respective live rooms, so that the viewers in the live rooms can interact with the viewers in the relay rooms.
S36, the server 10 issues the chat content to the client 40 of the anchor.
Specifically, the server 10 can issue the chat content to the anchor client 40 for display in the anchor client 40 to alert the anchor viewer of the idea.
S37, displaying the chat content in the client 20 of each inter-broadcast audience.
Specifically, when receiving the chat content transmitted by the server 10, the chat content can be displayed in the client 20 of each inter-broadcast audience for interaction of each audience.
S38, the chat content is displayed on the client 30 of each live room viewer.
Specifically, when receiving the chat content transmitted by the server 10, the chat content may be displayed in the client 30 of each live broadcast audience for interaction of each audience.
S39, displaying the chat content in the client 40 of the anchor.
Specifically, when receiving the type of the gift certificate issued by the server 10, the chat content may be displayed in the client 40 of the anchor.
It can be found from the embodiment in the specific scenario that in the embodiment of the present application, the interaction information of the audience can be sent to each client, so as to promote the interaction between the audience and the anchor and improve the live broadcast effect.
The following describes a live broadcasting relay device provided in the present application, and a live broadcasting relay device described below and a live broadcasting relay method described above may be referred to in correspondence with each other.
First, referring to fig. 4, a live broadcasting relay apparatus is described, and as shown in fig. 4, the live broadcasting relay apparatus may include:
a content obtaining unit 100, configured to obtain live content of a live broadcast room of a main broadcast, and synchronize the live content to clients corresponding to viewers in the live broadcast room and a relay broadcast room;
an information obtaining unit 110, configured to obtain interactive information sent by viewers in the live broadcast room and the relay broadcast room;
and an information synchronization unit 120, configured to synchronize the interaction information to the live broadcast room and the rebroadcast room, so as to implement the interaction between the audience in the live broadcast room and the audience in the rebroadcast room.
Further, the information synchronization unit may include:
the broadcasting room synchronizing unit is used for synchronizing the interactive information to a client of a broadcasting room audience when the interactive information comes from the broadcasting room audience;
and the live broadcast room synchronizing unit is used for synchronizing the interactive information to the client side of the audience in the live broadcast room when the interactive information comes from the audience in the live broadcast room.
Further, the inter-broadcasting synchronization unit may include:
the first relay broadcasting room synchronizing unit is used for synchronizing the chat content to the client side of the audience in the relay broadcasting room when the type of the gift special effect and/or the chat content comes from the audience in the live broadcasting room, and/or synchronizing the type of the gift special effect to the client side of the audience in the relay broadcasting room so that the client side of the audience in the relay broadcasting room can display the gift special effect corresponding to the type of the gift special effect;
based on this, the live broadcast synchronization unit may include:
and the first live broadcast room synchronizing unit is used for synchronizing the chat content to the client side of the audience in the live broadcast room when the type of the gift special effect and/or the chat content comes from the audience in the live broadcast room, and/or synchronizing the type of the gift special effect to the client side of the audience in the live broadcast room so as to enable the client side of the audience in the live broadcast room to display the gift special effect corresponding to the type of the gift special effect.
Further, the live broadcasting relay apparatus may further include:
the time acquisition unit is used for acquiring the preset start time of the live broadcast room;
the time difference acquisition unit is used for calculating the time difference between the starting time and the current time and comparing the time difference with the preset total counting down time of the live broadcast to obtain a comparison result;
and the countdown display unit is used for sending a countdown instruction to the client sides corresponding to the audiences of the live broadcast room and the relay broadcast room to display the countdown when the comparison result shows that the time difference is less than or equal to the total countdown time of the live broadcast.
Further, the live broadcasting relay apparatus may further include:
the content storage unit is used for storing the live broadcast content and the live broadcast time in a memory;
and the information storage unit is used for storing the interaction information and the interaction time thereof in the memory.
Further, the content acquiring unit may include:
the system comprises a first content acquisition unit, a first server and a second server, wherein the first content acquisition unit is used for calling historical live broadcast content and historical interaction information corresponding to a historical time period in a memory when a target live broadcast room audience or a target relay room audience selects live broadcast content in the historical time period, and synchronizing the historical live broadcast content and the historical interaction information to the target live broadcast room audience or a client corresponding to the target relay room audience.
The live broadcasting relay device can be applied to live broadcasting relay equipment such as a server and a PC terminal. Optionally, fig. 5 shows a block diagram of a hardware structure of the live broadcast relay device, and referring to fig. 5, the hardware structure of the live broadcast relay device may include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;
in the embodiment of the application, the number of the processor 1, the communication interface 2, the memory 3 and the communication bus 4 is at least one, and the processor 1, the communication interface 2 and the memory 3 complete mutual communication through the communication bus 4;
the processor 1 may be a central processing unit CPU, or an application Specific Integrated circuit asic, or one or more Integrated circuits configured to implement embodiments of the present invention, etc.;
the memory 3 may include a high-speed RAM memory, and may further include a non-volatile memory (non-volatile memory) or the like, such as at least one disk memory;
wherein the memory stores a program and the processor can call the program stored in the memory, the program for:
acquiring live broadcast content of a live broadcast room of a main broadcast, and synchronizing the live broadcast content to client sides corresponding to audiences of the live broadcast room and a rebroadcast room;
acquiring interactive information sent by audiences in the live broadcast room and the rebroadcast room;
and synchronizing the interaction information to the live broadcast room and the rebroadcast room so as to realize the interaction between the audience of the live broadcast room and the audience of the rebroadcast room.
Alternatively, the detailed function and the extended function of the program may be as described above.
Embodiments of the present application further provide a storage medium, where a program suitable for execution by a processor may be stored, where the program is configured to:
acquiring live broadcast content of a live broadcast room of a main broadcast, and synchronizing the live broadcast content to client sides corresponding to audiences of the live broadcast room and a rebroadcast room;
acquiring interactive information sent by audiences in the live broadcast room and the rebroadcast room;
and synchronizing the interaction information to the live broadcast room and the rebroadcast room so as to realize the interaction between the audience of the live broadcast room and the audience of the rebroadcast room.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. The various embodiments of the present application may be combined with each other. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A live broadcast relay method is characterized by comprising the following steps:
acquiring live broadcast content of a live broadcast room of a main broadcast, and synchronizing the live broadcast content to client sides corresponding to audiences of the live broadcast room and a rebroadcast room;
acquiring interactive information sent by audiences in the live broadcast room and the rebroadcast room;
and synchronizing the interaction information to the live broadcast room and the rebroadcast room so as to realize the interaction between the audience of the live broadcast room and the audience of the rebroadcast room.
2. The method of claim 1, wherein synchronizing the interaction information to the live room and the rebroadcast room to enable live room audience and rebroadcast room audience interaction comprises:
when the interactive information comes from the audience in the live broadcast room, synchronizing the interactive information to the client of the audience in the relay broadcast room;
and when the interactive information comes from the audience in the relay room, synchronizing the interactive information to the client of the audience in the live broadcast room.
3. The method of claim 2, wherein the interaction information comprises any one or more of: types of gift special effects and chat contents;
when the interactive information comes from the audience in the live broadcast room, synchronizing the interactive information to the client of the audience in the relay broadcast room, comprising:
when the type of the gift special effect and/or the chat content come from the audience in the live broadcast room, synchronizing the chat content to the client of the audience in the relay broadcast room, and/or synchronizing the type of the gift special effect to the client of the audience in the relay broadcast room so that the client of the audience in the relay broadcast room can display the gift special effect corresponding to the type of the gift special effect;
when the interactive information comes from the audience in the relay room, synchronizing the interactive information to the client of the audience in the live broadcast room comprises the following steps:
and when the type of the gift special effect and/or the chat content come from the audience in the relay room, synchronizing the chat content to the client side of the audience in the live broadcast room, and/or synchronizing the type of the gift special effect to the client side of the audience in the live broadcast room so that the client side of the audience in the live broadcast room can display the gift special effect corresponding to the type of the gift special effect.
4. The method of claim 1, further comprising, prior to obtaining live content of a live room of a main broadcast:
acquiring preset starting time of the live broadcast room;
calculating the time difference between the starting time and the current time, and comparing the time difference with the preset total live broadcast countdown time to obtain a comparison result;
and when the comparison result shows that the time difference is less than or equal to the total countdown time length of the live broadcast, sending a countdown instruction to the client sides corresponding to the audiences of the live broadcast room and the relay room so as to display countdown.
5. The method of claim 1, further comprising, after obtaining live content of a live room of a main broadcast:
storing the live broadcast content and the live broadcast time in a memory;
after the mutual information of audience synchronization between the live broadcast room and the rebroadcast room is obtained, the method further comprises the following steps:
and storing the interaction information and the interaction time thereof in a memory.
6. The method of claim 5, wherein the obtaining live content of a live broadcast room of a main broadcast and synchronizing the live content to clients corresponding to viewers in the live broadcast room and a rebroadcast room comprises:
when a target live broadcasting room audience or a target rebroadcasting room audience selects live broadcasting contents in a historical time period, calling historical live broadcasting contents and historical interactive information corresponding to the historical time period in a memory, and synchronizing the historical live broadcasting contents and the historical interactive information to the target live broadcasting room audience or a client corresponding to the target rebroadcasting room audience.
7. A live broadcast relay device, comprising:
the content acquisition unit is used for acquiring the live broadcast content of a live broadcast room of a main broadcast and synchronizing the live broadcast content to the client sides corresponding to audiences of the live broadcast room and the rebroadcast room;
the information acquisition unit is used for acquiring interactive information sent by audiences in the live broadcast room and the rebroadcast room;
and the information synchronization unit is used for synchronizing the interactive information to the live broadcast room and the rebroadcast room so as to realize the interaction between the audience of the live broadcast room and the audience of the rebroadcast room.
8. The apparatus of claim 7, wherein the information synchronization unit comprises:
the broadcasting room synchronizing unit is used for synchronizing the interactive information to a client of a broadcasting room audience when the interactive information comes from the broadcasting room audience;
and the live broadcast room synchronizing unit is used for synchronizing the interactive information to the client side of the audience in the live broadcast room when the interactive information comes from the audience in the live broadcast room.
9. A live broadcast relay device, comprising a memory and a processor;
the memory is used for storing programs;
the processor, configured to execute the program, and implement the steps of the live broadcast relaying method according to any one of claims 1-6.
10. A readable storage medium having stored thereon a computer program, characterized in that the computer program, when being executed by a processor, carries out the steps of the live relaying method as claimed in any one of the claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111679117.3A CN114339354A (en) | 2021-12-31 | 2021-12-31 | Live broadcast rebroadcasting method, device, equipment and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111679117.3A CN114339354A (en) | 2021-12-31 | 2021-12-31 | Live broadcast rebroadcasting method, device, equipment and readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114339354A true CN114339354A (en) | 2022-04-12 |
Family
ID=81022941
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111679117.3A Pending CN114339354A (en) | 2021-12-31 | 2021-12-31 | Live broadcast rebroadcasting method, device, equipment and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114339354A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108259922A (en) * | 2016-12-28 | 2018-07-06 | 中兴通讯股份有限公司 | A kind of interaction live broadcasting method, apparatus and system |
CN109561351A (en) * | 2018-12-03 | 2019-04-02 | 网易(杭州)网络有限公司 | Network direct broadcasting back method, device and storage medium |
CN111225225A (en) * | 2018-11-27 | 2020-06-02 | 腾讯科技(深圳)有限公司 | Live broadcast playback method, device, terminal and storage medium |
CN111246236A (en) * | 2020-01-22 | 2020-06-05 | 北京达佳互联信息技术有限公司 | Interactive data playing method, device, terminal, server and storage medium |
CN111385593A (en) * | 2018-12-29 | 2020-07-07 | 广州市百果园信息技术有限公司 | Cross-platform live content synchronization method and device, storage medium and server |
CN112752114A (en) * | 2020-12-28 | 2021-05-04 | 北京达佳互联信息技术有限公司 | Method and device for generating live broadcast playback interactive message, server and storage medium |
CN113179416A (en) * | 2021-04-26 | 2021-07-27 | 腾讯科技(深圳)有限公司 | Live content rebroadcasting method and related equipment |
-
2021
- 2021-12-31 CN CN202111679117.3A patent/CN114339354A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108259922A (en) * | 2016-12-28 | 2018-07-06 | 中兴通讯股份有限公司 | A kind of interaction live broadcasting method, apparatus and system |
CN111225225A (en) * | 2018-11-27 | 2020-06-02 | 腾讯科技(深圳)有限公司 | Live broadcast playback method, device, terminal and storage medium |
CN109561351A (en) * | 2018-12-03 | 2019-04-02 | 网易(杭州)网络有限公司 | Network direct broadcasting back method, device and storage medium |
CN111385593A (en) * | 2018-12-29 | 2020-07-07 | 广州市百果园信息技术有限公司 | Cross-platform live content synchronization method and device, storage medium and server |
CN111246236A (en) * | 2020-01-22 | 2020-06-05 | 北京达佳互联信息技术有限公司 | Interactive data playing method, device, terminal, server and storage medium |
CN112752114A (en) * | 2020-12-28 | 2021-05-04 | 北京达佳互联信息技术有限公司 | Method and device for generating live broadcast playback interactive message, server and storage medium |
CN113179416A (en) * | 2021-04-26 | 2021-07-27 | 腾讯科技(深圳)有限公司 | Live content rebroadcasting method and related equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11792444B2 (en) | Dynamic viewpoints of live event | |
US20090300143A1 (en) | Method and apparatus for interacting with media programming in real-time using a mobile telephone device | |
WO2017166510A1 (en) | Method and device for information display in live broadcast | |
US11523168B2 (en) | System and method for synchronizing on-air commercial programming with interactive applications | |
CN109714622B (en) | Video data processing method and device and electronic equipment | |
US10582260B2 (en) | Delivering content | |
EP2579605B1 (en) | Synchronising digital media content | |
US8797357B2 (en) | Terminal, system and method for providing augmented broadcasting service using augmented scene description data | |
KR101647633B1 (en) | Method and apparatus for transmitting and receiving personal broadcasting data based on peer to peer communication | |
CN102137284A (en) | Method, device and system for controlling broadcasting of messages | |
CN104012101A (en) | Video playback system | |
KR100607223B1 (en) | Method and System for Providing Joint Viewing Service of Moving Picture | |
WO2011101653A1 (en) | Interactive broadcast system | |
WO2015196602A1 (en) | Advertisement playing method based on internet protocol television, service device and system | |
CN106303672A (en) | A kind of synchronous broadcast method based on recorded broadcast video and device | |
CN114268810A (en) | Live video display method, system, equipment and storage medium | |
CN114339354A (en) | Live broadcast rebroadcasting method, device, equipment and readable storage medium | |
CN113923530B (en) | Interactive information display method and device, electronic equipment and storage medium | |
KR100939904B1 (en) | Method and System for Providing Joint Viewing Service of Moving Picture | |
US12149764B2 (en) | Systems and methods for enhancing group media consumption sessions | |
US20240129568A1 (en) | Systems and methods for enhancing group media consumption sessions | |
US20240129572A1 (en) | Systems and methods for enhancing group media consumption sessions | |
CN114760485A (en) | Video carousel method, system and related equipment | |
JP2010087979A (en) | Program distribution system, program distribution server, program playback terminal, program distribution method, server and terminal control program | |
JP7350200B1 (en) | Video distribution device, video distribution method, video distribution program, and system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20220412 |