CN114765695A - Live broadcast data processing method, device, equipment and medium - Google Patents

Live broadcast data processing method, device, equipment and medium Download PDF

Info

Publication number
CN114765695A
CN114765695A CN202110056610.3A CN202110056610A CN114765695A CN 114765695 A CN114765695 A CN 114765695A CN 202110056610 A CN202110056610 A CN 202110056610A CN 114765695 A CN114765695 A CN 114765695A
Authority
CN
China
Prior art keywords
video
data
live broadcast
anchor
terminal
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
CN202110056610.3A
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 ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network 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 ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202110056610.3A priority Critical patent/CN114765695A/en
Publication of CN114765695A publication Critical patent/CN114765695A/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/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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/4722End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting additional data associated with the content

Abstract

The embodiment of the disclosure relates to a live data processing method, a live data processing device and a live data processing medium, wherein the method is applied to a main broadcast terminal and comprises the following steps: based on the video sharing operation of the anchor user on the live broadcasting room page, sending a video sharing request to the server, so that the server acquires the first video data and the anchor audio data and sends the combined first video live broadcasting data to the audience terminal; acquiring first video data, and playing the first video data in a live broadcast room page; the method comprises the steps of switching first video data based on video switching operation of a main broadcasting user, sending a video switching instruction corresponding to the video switching operation to a server, and indicating the server to acquire second video data and send second video live broadcast data obtained by combining the second video data with main broadcasting audio data to audience terminals through the video switching instruction. The method and the system support the anchor to switch the watched videos in live broadcast and synchronize the watched videos to audiences, and improve the interactive effect in a live broadcast scene.

Description

Live broadcast data processing method, device, equipment and medium
Technical Field
The present disclosure relates to the field of live broadcast technologies, and in particular, to a live broadcast data processing method, apparatus, device, and medium.
Background
With the rapid development of internet technology and live broadcast technology, people have become an important entertainment mode for watching live broadcast through the internet.
At present, the interaction between a main broadcast and audiences in a live broadcast scene lacks topic content, cannot meet the scene requirements of carrying out multiple interactions on the same content, and needs to be improved.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, the present disclosure provides a live data processing method, apparatus, device and medium.
The embodiment of the disclosure provides a live data processing method, which is applied to a main broadcast terminal and comprises the following steps:
based on the video sharing operation of an anchor user on a live broadcasting room page, sending a video sharing request to a server, so that the server acquires first video data and anchor audio data and sends the combined first video live broadcasting data to a viewer terminal;
acquiring the first video data, and playing the first video data in the live broadcast room page;
switching the first video data based on the video switching operation of the anchor user, and sending a video switching instruction corresponding to the video switching operation to the server, wherein the video switching instruction indicates the server to acquire second video data and send second video live broadcast data obtained by combining the second video data with the anchor audio data to audience terminals.
The embodiment of the present disclosure further provides a live data processing method, which is applied to a viewer terminal, and includes:
acquiring first video live broadcast data, wherein the first video live broadcast data are obtained by combining first video data and anchor audio data played by an anchor terminal by a service end;
playing the first video live broadcast data on a live broadcast room page of a main broadcast user;
and acquiring second video live broadcast data, and switching and playing the second video live broadcast data on the page of the live broadcast room, wherein the second video live broadcast data is obtained after a server receives a video switching instruction sent by the anchor terminal, and the second video data is combined with the anchor audio data.
The embodiment of the present disclosure further provides a live data processing method, which is applied to a server and includes:
receiving a video sharing request sent by an anchor terminal, and acquiring first video data and anchor audio data based on the video sharing request;
merging the first video data and the anchor audio data to obtain first video live broadcast data, and sending the first video live broadcast data to a viewer terminal so that the viewer terminal plays the first video live broadcast data on a live broadcast room page of an anchor user;
and receiving a video switching instruction sent by the anchor terminal, acquiring second video data, combining the second video data with the anchor audio data to obtain second video live broadcast data, and sending the second video live broadcast data to the audience terminal so that the audience terminal switches and plays the second video live broadcast data on the page of the live broadcast room.
The embodiment of the present disclosure further provides a live data processing apparatus, where the apparatus is configured in an anchor terminal, and the apparatus includes:
the video sharing module is used for sending a video sharing request to the server based on video sharing operation of an anchor user on a live broadcasting room page, so that the server acquires first video data and anchor audio data and sends the combined first video live broadcasting data to a viewer terminal;
the video playing module is used for acquiring the first video data and playing the first video data in the live broadcast room page;
and the video switching module is used for switching the first video data based on the video switching operation of the anchor user and sending a video switching instruction corresponding to the video switching operation to the server, wherein the video switching instruction indicates the server to acquire second video data and send the second video live broadcast data obtained by combining the second video data and the anchor audio data to the audience terminal.
The embodiment of the present disclosure further provides a live data processing apparatus, where the apparatus is configured at a viewer terminal, and the apparatus includes:
the data acquisition module is used for acquiring first video live broadcast data, wherein the first video live broadcast data are obtained by combining first video data and anchor audio data played by an anchor terminal by a service end;
the video synchronous playing module is used for playing the first video live broadcast data on a live broadcast room page of a main broadcast user;
and the switching module is used for acquiring second video live broadcast data and switching and playing the second video live broadcast data on a live broadcast room page, wherein the second video live broadcast data is obtained after a server side receives a video switching instruction sent by the anchor terminal, and the second video data is combined with the anchor audio data.
The embodiment of the present disclosure further provides a live data processing apparatus, where the apparatus is configured at a server, and the apparatus includes:
the sharing receiving module is used for receiving a video sharing request sent by an anchor terminal and acquiring first video data and anchor audio data based on the video sharing request;
the data sending module is used for merging the first video data and the anchor audio data to obtain first video live broadcast data and sending the first video live broadcast data to the audience terminal so that the audience terminal can play the first video live broadcast data on a live broadcast room page of an anchor user;
and the switching and forwarding module is used for receiving a video switching instruction sent by the anchor terminal, acquiring second video data, combining the second video data with the anchor audio data to obtain second video live broadcast data, and sending the second video live broadcast data to the audience terminal so that the audience terminal can switch and play the second video live broadcast data in the live broadcast room page.
An embodiment of the present disclosure further provides an electronic device, including: a processor; a memory for storing the processor-executable instructions; the processor is configured to read the executable instructions from the memory and execute the instructions to enable the electronic device to implement the live data processing method provided by the embodiment of the disclosure.
The embodiment of the present disclosure also provides a computer-readable storage medium, where the storage medium stores a computer program, and when the computer program is executed by a computing device, the computing device is enabled to implement the live data processing method provided by the embodiment of the present disclosure.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages: according to the live broadcast data processing scheme provided by the embodiment of the disclosure, the anchor terminal sends a video sharing request to the server based on the video sharing operation of an anchor user on a live broadcast room page, so that the server acquires first video data and anchor audio data and sends the combined first video live broadcast data to the audience terminal; acquiring first video data, and playing the first video data in a live broadcasting room page; the method comprises the steps of switching first video data based on video switching operation of a main broadcasting user, sending a video switching instruction corresponding to the video switching operation to a server, and indicating the server to acquire second video data and send second video live broadcast data obtained by combining the second video data with main broadcasting audio data to audience terminals through the video switching instruction. By adopting the technical scheme, the anchor can watch the video in the live broadcast and synchronize the watched video and the voice to each audience after confluence, the appeal that the anchor and the audiences consume the video content together is met, the synchronization efficiency is improved, the anchor is supported to switch the watched video in the live broadcast, and the videos of the audiences are also synchronously switched, so that the anchor can more diversify the control of the video in the live broadcast scene, and the interaction effect in the live broadcast scene is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and components are not necessarily drawn to scale.
Fig. 1 is a schematic flow chart of a live data processing method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a live broadcast room page provided in an embodiment of the present disclosure;
FIG. 3 is a schematic view of another live room page provided by an embodiment of the present disclosure;
fig. 4 is a schematic diagram of another live room page provided by the embodiment of the present disclosure;
fig. 5 is a schematic flowchart of another live data processing method according to an embodiment of the present disclosure;
fig. 6 is a schematic view of another live room page provided by an embodiment of the present disclosure;
fig. 7 is a schematic flowchart of another live data processing method according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a live data processing apparatus according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of another live data processing apparatus according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of a further live data processing apparatus according to an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and the embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein is intended to be open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Fig. 1 is a flowchart illustrating a live data processing method according to an embodiment of the present disclosure, where the method may be executed by a live data processing apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 1, the method is applied to a anchor terminal, and includes:
step 101, based on a video sharing operation of a anchor user on a live broadcast room page, sending a video sharing request to a server, so that the server acquires first video data and anchor audio data and sends the combined first video live broadcast data to a viewer terminal.
The anchor user is a user currently performing live broadcast, is equivalent to a host of a live broadcast room, has control authority over the live broadcast room, and can control various functions. The audience terminal may be a terminal that enters the live room of the anchor user, and the audience refers to a user watching the live room. The live room page is a page for displaying a live room in the anchor terminal.
In the embodiment of the disclosure, the anchor terminal can detect the operation of the anchor user on the page of the live broadcast room in real time, and if the video sharing operation of the anchor user is detected, a video sharing request is sent to the server. The specific form of the video sharing operation is not limited, for example, the video sharing operation may be a trigger operation of a anchor user on a setting key set on a live broadcast room page, and the setting key may be set in a software or hardware manner; or may be triggered by setting a voice command for the anchor user.
The video sharing request may be a request for video sharing by the anchor user in a live broadcast. After receiving the video sharing request, the server can acquire first video data from the video server and anchor audio data of an anchor user from an anchor terminal, combine the first video data and the anchor audio data to obtain first video live broadcast data, and send the first video live broadcast data to the audience terminal, so that the audience terminal plays the first video live broadcast data.
Exemplarily, fig. 2 is a schematic diagram of a live broadcast room page provided by an embodiment of the present disclosure, and as shown in fig. 2, a live broadcast room page on a main broadcast terminal is shown in the diagram, a frame of live broadcast by a main broadcast user is shown in the live broadcast room page, the frame is a head portrait of the main broadcast user, and after the main broadcast user triggers "watch together" below the live broadcast room page, a video sharing request can be sent to a server. Other interactive buttons, such as "chat room" and "KTV" in the figure, can also be included in the panel of the room play where "watch together" is located below the live room page.
As shown in fig. 2, the top left corner of the live room page in the figure also shows the avatar and name of the anchor user, named as "small a", and the focus button; the top right of the live room page also shows the head portrait of the audience currently entering the live room and the number of interactions between the audience and the anchor, and the top right shows the total number of audiences entering the live room, as 2333 in the figure; the lower left of the live room page also shows comment information sent by different viewers watching the live broadcast, such as "the main sound of viewer 1 is very audible," the coming "of viewer 2, and" the fuel "of viewer 3 in the figure.
And 102, acquiring first video data, and playing the first video data in a live broadcasting room page.
The first video data refers to one of a plurality of recommended video data related to the anchor user, and can be determined according to information such as historical video browsing records or user figures of the anchor user.
Specifically, the anchor terminal can acquire first video data from the video server while sending a video sharing request based on video sharing operation of an anchor user on a live broadcast room page, and plays the first video data through a built-in video player in the live broadcast room page, so that the anchor terminal and the audience terminal can synchronously play videos in a live broadcast scene in real time. The video server can store a plurality of video data and is used for interacting with the anchor terminal to realize video playing, and the video server and the server for live broadcast management are the same server or different servers.
Exemplarily, fig. 3 is a schematic diagram of another live broadcast room page provided by the embodiment of the present disclosure, and as shown in fig. 3, a picture of the live broadcast room page during playing of the first video data is shown, where the picture is a flower.
And 103, switching the first video data based on the video switching operation of the anchor user, and sending a video switching instruction corresponding to the video switching operation to the server, wherein the video switching instruction instructs the server to acquire the second video data and send the second video live broadcast data obtained by combining the second video data with the anchor audio data to the audience terminal.
The video switching operation refers to one of specific operations of the anchor user acting on a live broadcast room page, and the video switching operation may include a slide-up operation and/or a slide-down operation, and the like. The video switching instruction is an instruction corresponding to a video switching operation. The second video data refers to another of the plurality of recommended video data associated with the anchor user, the second video data being different from the first video data.
In an embodiment of the present disclosure, switching first video data based on a video switching operation of an anchor user includes: and acquiring second video data based on the video switching operation, and switching the first video data into the second video data in the live broadcast room page for playing.
Specifically, after detecting the video switching operation of the anchor user on the first video data through the built-in video player, that is, when detecting that the anchor user performs an up-sliding operation or a down-sliding operation on the interface of the first video data being played, the anchor terminal may acquire the second video data, and switch from playing the first video data to playing the second video data in the live broadcast room page. The video player is a component which is arranged in a live broadcast room and used for controlling videos, and the video player can realize various functions of controlling videos in a non-live broadcast scene, such as video playing, video switching and the like.
In the embodiment of the disclosure, the anchor terminal, based on the video switching operation of the anchor user, may generate a video switching instruction corresponding to the video switching operation while switching to play the second video data, and send the video switching instruction to the server. After receiving the video switching instruction, the server side can acquire second video data and send the second video live broadcast data obtained by combining the second video data with the anchor audio data to the audience terminal; the video switching instruction can also be sent to the audience terminal, and then the second video live broadcast data obtained by combining the second video data and the anchor audio data is sent to the audience terminal in response to a data acquisition request of the audience terminal, so that the audience terminal switches from playing the first video live broadcast data to playing the second video live broadcast data, and the synchronous switching with the video switching of the anchor terminal is realized.
Fig. 4 is a schematic diagram of another live broadcast room page provided by an embodiment of the present disclosure, and as shown in fig. 4, a picture in the live broadcast room page when second video data is played is shown, where the picture is another flower different from fig. 3, and it represents that the anchor terminal switches from playing the first video data to playing the second video data.
In the embodiment of the disclosure, after the anchor starts the live broadcast, the synchronization of the video watched by the anchor in the live broadcast is supported to a plurality of audience users in a live broadcast room, so that a plurality of people can synchronously watch the video in real time, and when the anchor switches the video, the audience can switch the video along with the live broadcast in real time. The video watched by the anchor can be a recommended video stream determined based on the relevant information of the anchor, namely, the video recommendation capability is accessed, the anchor refreshes or switches videos in the video recommended stream or live preview streams and the like through up-and-down sliding operation in a live broadcast scene, and the operation is synchronized to audiences in a live broadcast room, so that the interaction between the anchor and the audiences in the live broadcast process is more diversified.
According to the live broadcast data processing scheme provided by the embodiment of the disclosure, the anchor terminal sends a video sharing request to the server based on the video sharing operation of the anchor user on the page of the live broadcast room, so that the server acquires first video data and anchor audio data and sends the combined first video live broadcast data to the audience terminal; acquiring first video data, and playing the first video data in a live broadcasting room page; the method comprises the steps of switching first video data based on video switching operation of a main broadcasting user, sending a video switching instruction corresponding to the video switching operation to a server, and indicating the server to acquire second video data and send second video live broadcast data obtained by combining the second video data with main broadcasting audio data to audience terminals through the video switching instruction. By adopting the technical scheme, the anchor can watch videos in live broadcasting and synchronize the watched videos and the voice to each audience after confluence, the appeal that the anchor and the audiences consume video contents together is met, the synchronization efficiency is improved because the video data and the audio data are synchronized after confluence, and the anchor is supported to switch the watched videos in live broadcasting and synchronously switch the audiences' videos, so that the anchor can control the videos more variously in live broadcasting scenes, and the interactive effect in live broadcasting scenes is improved.
In some embodiments, the live data processing method provided by the embodiment of the present disclosure may further include: playing and controlling the first video data or the second video data based on video control operation of a main player user, wherein the video control operation comprises at least one of playing operation, pause operation, fast forward operation, slow playing operation and skip operation; and sending a video control instruction corresponding to the video control operation to the server so that the server sends the first video live broadcast data to which the play control is applied or the second video live broadcast data to which the play control is applied to the audience terminal.
The video control operation may be a control operation performed by the anchor user on the played video, and may be the same as a control operation in a non-live scene, for example, the video control operation may include a play operation, a pause operation, a fast forward operation, a slow play operation, a skip operation, and the like. The video control instruction is an instruction corresponding to a video control operation.
When the anchor terminal receives a video control operation of an anchor user, the anchor terminal can send a video control instruction to the server while performing specific play control processing on the first video data or the second video data, so that the server correspondingly adjusts the first video data or the second video data based on the video control instruction, and sends the adjusted first video live broadcast data or the adjusted second video live broadcast data combined with the anchor audio data to the audience terminal, and the audience terminal realizes synchronous play control with the anchor terminal when playing the adjusted first video live broadcast data or the adjusted second video live broadcast data; or the server side can send the video control instruction to the audience terminal, and the audience terminal executes the video control instruction on the first video data in the first video live broadcast data, or executes the video control instruction on the second video data in the second video live broadcast data, so that synchronous playing control with the anchor terminal is realized.
In the scheme, the anchor can switch the watched video in the live broadcasting process and can also control video playing, meanwhile, the control on the video can synchronously provide for the audience watching the live broadcasting, the appeal that the anchor and the audience consume the video content together can be met, various controls on the video under live broadcasting scenes and the audience can be met, interaction under more scenes is realized, and the live broadcasting effect is further improved.
In some embodiments, the first video data or the second video data includes video author information and/or video interaction information, where the video interaction information includes at least one of video approval information, video comment information, and video sharing information.
The video author information and/or the video interaction information of the first video data can be displayed in the first video data played by the live broadcast room page of the anchor terminal, and the video author information and/or the video interaction information of the second video data can be displayed in the second video data. The video author information may include a head portrait, a name, an introduction and the like of a video author, the video interaction information may include an interactive interface, a dynamic effect, specific interaction information and the like, and the video interaction information may include information such as a number of prawns, a number of comments, specific comments, a number of shares and the like.
In some embodiments, the live data processing method provided by the embodiment of the present disclosure may further include: displaying video data interaction information corresponding to the video interaction operation on the first video data or the second video data based on the video interaction operation of the anchor user, wherein the video interaction operation comprises at least one of a praise operation, a comment operation and a share operation; and sending a video interaction instruction corresponding to the video interaction operation to the server, so that the server sends the first video live broadcast data loaded with the video data interaction information or the second video live broadcast data loaded with the video data interaction information to the audience terminal.
The video interaction operation may be an interaction operation performed by the anchor user for the played video, and may be the same as the video interaction operation in the non-live scene, for example, the video interaction operation may include a praise operation, a comment operation, a share operation, and the like. The video interaction instruction is an instruction corresponding to video interaction operation. The video data interaction information can be understood as updated video interaction information corresponding to the video interaction operation after the video interaction operation is executed on the basis of the video interaction information already shown in the live broadcast room page.
After the anchor terminal detects the video interaction operation of the anchor user through the built-in video player, video data interaction information corresponding to the video interaction operation can be displayed, for example, the video interaction operation is a praise operation, and a praise dynamic effect and an updated praise number can be displayed on a live broadcast room page; the video interaction operation is a comment operation, a comment frame can be displayed on a live broadcast page, the comment sending is supported, and the sent comments and the updated comment number are displayed; the video interaction operation is a sharing operation, a sharing interface can be displayed on a live broadcast room page, the first video data can be shared, and the updated sharing number can be displayed.
Illustratively, referring to fig. 3, video author information may be shown on top of the viewer comments in the live room page, including the head portrait, name, and brief introduction of the video author, such as "small B" for the name of the video author, and "blossom in spring, fourteen-five-six, here short video information". In addition, a function control for supporting the anchor user to perform video interaction is also shown on the right side of the live broadcast page in fig. 3, where the function control includes a like control, a comment control, and a sharing control in the figure, the video interaction information is 1234, the comment number is 6, and the sharing number is 89, and after the anchor user performs video interaction operation by triggering the function control, the video interaction information may be updated to obtain video data interaction information.
Illustratively, referring to fig. 4, a frame of the live-air page during playback of the second video data is shown, where the frame is another flower than that shown in fig. 3. Although the video author information corresponding to fig. 4 is the same as that of fig. 3, the video interaction information corresponding to fig. 4 is different from that of fig. 3, such as the comment number 2566 and the comment number 655 in fig. 4, which characterize that the anchor has performed video switching.
The anchor terminal can send a video interaction instruction to the server while displaying video data interaction information corresponding to the video interaction operation on the first video data or the second video data based on the video interaction operation of the anchor user, so that the server sends the first video live broadcast data loaded with the video data interaction information or the second video live broadcast data loaded with the video data interaction information to the audience terminal, and the audience terminal displays the video data interaction information to realize interaction synchronization with the anchor terminal.
In the scheme, the anchor can switch the watched video in the live broadcasting process and can also perform interactive operation on the video, and meanwhile, the interactive operation can be synchronized for the audience watching the live broadcasting, so that the appeal that the anchor and the audience consume the video content together can be met, the interaction of the anchor on the video in the live broadcasting scene can be met, the interaction under more scenes can be realized, and the live broadcasting effect is further improved.
In some embodiments, the live data processing method may further include: sending a microphone connecting request to a server based on the microphone connecting operation of the anchor user so that the server sends the microphone connecting request to a viewer terminal; and receiving the audience audio data of the audience terminal forwarded by the server, and playing the audience audio data.
Wherein, connecting to the microphone can be understood as realizing real-time communication interaction between a main broadcasting and audiences in a telephone-like manner in the live broadcasting process. The microphone connecting operation can be realized by the trigger operation of the anchor user on the live broadcast room page, and the setting key can be set in a software or hardware mode. Specifically, after detecting the mic connection operation of the anchor user, the anchor terminal may send a mic connection request to the server, where the mic connection request may include an audience identifier of a special audience selected by the anchor user to perform mic connection, and the server may forward the mic connection request to an audience terminal corresponding to the audience identifier. If the special audience receives the wheat connecting request, the server can send the audience audio data of the special audience to the anchor terminal, and the anchor terminal plays the audience audio data, so that real-time voice wheat connecting between the anchor user and the special audience is realized. At the moment, all audiences who live broadcast is watched by the anchor speech can hear in real time, so that the speech of the audiences connected with the microphone is realized, and the anchor can also hear in real time.
Illustratively, referring to fig. 3, a main user and a viewer who currently conduct real-time microphone connection are shown below the viewer comment on the live room page, the main user is on the far left, and the main user can select the viewer by triggering the "+" button and send a microphone connection request to the selected viewer. In the embodiment of the disclosure, after live broadcasting is started, a multi-user real-time voice playing method (namely real-time voice playing with wheat) can be switched, so that a video can be synchronously watched by a host and a plurality of users of audiences in real time, and the playing method of the multi-user real-time voice playing with the audiences can be switched without closing the live broadcasting; the audience and the common audience can not be disconnected and quit live broadcasting by switching the playing method and connecting the real-time voice to the audience.
In the scheme, the anchor can watch videos together with audiences in the live broadcasting process, the watched videos are switched, real-time voice connection with the audiences can be supported, switching of different playing methods between the anchor and the audiences in the live broadcasting scene is realized or the video is switched simultaneously, interaction of the anchor and more scenes of the audiences in the live broadcasting scene can be met, and the live broadcasting experience effect of the audiences is improved.
In addition, referring to fig. 4, when the anchor broadcasts the video synchronously with the audience in real time in the live broadcast scene, the anchor broadcasts can switch to other interactive processes in real time by triggering other interactive keys in the room play panel on the page of the live broadcast room, for example, the anchor broadcasts can switch to the interaction of chatting among multiple people in the chat room by clicking the key of the "chat room", or can switch to the interaction of singing among multiple people by clicking the key of the "KTV". In addition, in the switching process, the audience who is connected with the microphone in real time cannot disconnect the connection, and the common audience cannot exit the live broadcast room. In the embodiment of the disclosure, the playing methods between the anchor and the audiences in the live scene are more various, and the multiple playing methods can be flexibly switched and simultaneously carried out as required, so that the interaction between the anchor and the audiences is enhanced, and the live experience effect of the audiences is improved.
Fig. 5 is a flowchart illustrating another live data processing method according to an embodiment of the present disclosure, where the method may be performed by a live data processing apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 5, the method is applied to a viewer terminal, and includes:
step 201, obtaining first video live broadcast data, where the first video live broadcast data is obtained by merging first video data and anchor audio data played by an anchor terminal by a service end.
The audience terminal can be a terminal entering a live broadcast room of a main broadcast user, the audience refers to a user watching the live broadcast room, the permission of the audience is different from that of the main broadcast user, and the control on the live broadcast room cannot be carried out.
In the embodiment of the disclosure, the audience terminal can display the live broadcast room page of the anchor user based on the operation of the audience and receive the first video live broadcast data sent by the server. The first video live broadcast data is obtained by acquiring first video data from the video server and anchor audio data of an anchor user from an anchor terminal after the server receives the video sharing request, and combining the first video data and the anchor audio data.
Step 202, playing the first video live broadcast data on the live broadcast room page of the anchor user.
After the audience terminal acquires the first video live broadcast data, the first video live broadcast data can be played on a live broadcast room page of the anchor user to realize synchronous playing of the same video as the anchor terminal, so that the audience can watch the same video as the anchor user and hear the sound of the anchor user in real time.
Illustratively, fig. 6 is a schematic diagram of another live room page provided by an embodiment of the present disclosure, which illustrates a live room page on a viewer terminal, where the live room page illustrates a live frame, and compared with fig. 2, the frames of the viewer terminal and the anchor terminal are the same, and the video interaction information is also the same. However, the function control at the bottom of the live broadcast room page in the anchor terminal is different from the function control at the bottom of the live broadcast room page in the audience terminal, and the function control shown in fig. 6 only supports the live broadcast interaction functions of comment, initiating a microphone connection request, commanding a comment, gift giving and the like of the audience.
And 203, acquiring second video live broadcast data, and switching and playing the second video live broadcast data on a live broadcast room page, wherein the second video live broadcast data is obtained after the server receives a video switching instruction sent by the anchor terminal, and the second video data is combined with the anchor audio data.
The second video data are different from the first video data, and the second video live broadcast data are obtained by combining the second video data and the anchor audio data.
In the embodiment of the disclosure, when the anchor terminal switches to play the second video data, the viewer terminal can receive the second video live data sent by the server, and switch from playing the first video live data to playing the second video live data on the page of the live broadcast room, so as to realize the switching of playing videos synchronously with the attention terminal. The audience terminal can directly receive second video live broadcast data generated by the server terminal based on the video switching instruction and play the second video live broadcast data to realize video switching, and can also receive the video switching instruction sent by the server terminal and send a data acquisition request to acquire the second video live broadcast data to realize video switching.
In some embodiments, the live data processing method according to the embodiment of the present disclosure may further include: and acquiring and playing the first video live data which is forwarded after the server receives the video control instruction and to which the playing control is applied or the second video live data which is forwarded after the server receives the video control instruction, wherein the playing control is the control executed by the anchor terminal on the first video data or the second video data based on the video control operation of the anchor user.
The control operations for the anchor user may also include video control operations. The method comprises the steps that when a main broadcasting terminal carries out specific playing control processing on first video data or second video data, a video control instruction can be sent to a server side, so that the server side carries out corresponding adjustment on the first video data or the second video data based on the video control instruction, the adjusted first video live broadcast data or second video live broadcast data combined with main broadcasting audio data are sent to a spectator terminal, and when the spectator terminal plays the adjusted first video live broadcast data or second video live broadcast data, synchronous playing control with the main broadcasting terminal is achieved; or the server side can send the video control instruction to the audience terminal, and the audience terminal executes the video control instruction on the first video data in the first video live broadcast data, or executes the video control instruction on the second video data in the second video live broadcast data, so that synchronous playing control with the anchor terminal is realized.
In the scheme, the audience terminal can keep synchronous control with the anchor terminal, and the control instruction can comprise various types, so that various requirements of the anchor and the audience in the scene of watching videos together are met, interaction in more scenes is realized, and the live broadcast effect is further improved.
In some embodiments, the live data processing method according to the embodiment of the present disclosure may further include: and acquiring and playing the first video live broadcast data loaded with the video data interaction information or the second video live broadcast data loaded with the video data interaction information, which is forwarded after the server receives the video interaction instruction, wherein the video interaction instruction corresponds to the video interaction operation of the anchor user.
The video interaction operation can comprise a praise operation, a comment operation, a share operation and the like. The video data interaction information can be understood as updated video interaction information corresponding to the video interaction operation after the video interaction operation is executed on the basis of the video interaction information already displayed in the live broadcast room page. The video data interaction information may include updated information such as the number of praise, the number of comments, specific comments, the number of shares, and the like.
When the anchor terminal displays video data interaction information corresponding to the video interaction operation on the first video data or the second video data based on the video interaction operation of the anchor user, the audience terminal can obtain the first video live broadcast data which is forwarded by the server and loaded with the video data interaction information or the second video live broadcast data which is forwarded by the server and loaded with the video data interaction information, the video data interaction information is displayed in a live broadcast room page, and therefore synchronization with the anchor terminal is achieved.
In the scheme, the audience terminal can keep synchronous interaction with the anchor terminal, and the interaction operation can comprise various types, so that various requirements of the anchor and the audience in the scene of watching videos together are met, interaction in more scenes is realized, and the live broadcast effect is further improved.
In some embodiments, the live data processing method may further include: receiving a microphone connecting request of a main broadcasting terminal forwarded by a server; and sending the response of the microphone and the collected audience audio data to the server so that the server sends the audience audio data to the main broadcasting terminal and other audience terminals except the audience terminal.
The microphone connecting receiving response refers to a response that the audience terminal determines to connect the microphone based on the operation of the audience after receiving the microphone connecting request. Specifically, after the audience terminal receives the microphone connecting request, if it is determined that the current audience receives the microphone connecting request, the audience terminal can send a microphone connecting receiving response and audience audio data to the server, so that the server sends the audience audio data to the anchor terminal and other audience terminals except the current audience terminal, and real-time microphone connecting between the anchor user and the current audience is realized. At this time, the audience who is currently connected with the microphone speaks, and the anchor and other audiences can also hear in real time.
In the scheme, the audience can watch the video together with the anchor in the live scene, and can also carry out real-time voice connection with the anchor, so that the switching of different playing methods between the anchor and the audience in the live scene is realized or the switching is carried out simultaneously, the interaction of the anchor and more scenes of the audience in the live scene can be met, and the live experience effect of the audience is improved.
According to the live broadcast data processing scheme provided by the embodiment of the disclosure, a spectator terminal acquires first video live broadcast data, wherein the first video live broadcast data is obtained by combining first video data and anchor audio data played by an anchor terminal by a service terminal; playing first video live broadcast data on a live broadcast room page of a main broadcast user; and acquiring second video live broadcast data, and switching and playing the second video live broadcast data on a live broadcast room page, wherein the second video live broadcast data is obtained after a server side receives a video switching instruction sent by a main broadcast terminal, and the second video data is combined with main broadcast audio data. By adopting the technical scheme, audiences can watch the same video and listen to the voice of the anchor in the live broadcast, the appeal that the anchor and the audiences consume the video content together is met, the video data and the audio data are merged and then synchronized, the synchronization efficiency is improved, the anchor switches the watched video in the live broadcast, and the videos of the audiences are synchronously switched, so that the control of the video by the anchor under the live broadcast scene is more diversified, and the interactive effect under the live broadcast scene is improved.
Fig. 7 is a flowchart illustrating a further live data processing method according to an embodiment of the present disclosure, where the method may be performed by a live data processing apparatus, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 7, the method is applied to a server, and includes:
step 301, receiving a video sharing request sent by an anchor terminal, and acquiring first video data and anchor audio data based on the video sharing request.
The server side is used for carrying out live broadcast management. The video sharing request can be sent by the anchor terminal based on the video sharing operation of the anchor user on the page of the live broadcast room. The server can receive a video sharing request sent by the anchor terminal, and then can acquire first video data from the video server and anchor audio data of an anchor user from the anchor terminal. The video server and the server for live broadcast management are the same server, and can also be different servers.
Step 302, merging the first video data and the anchor audio data to obtain first video live broadcast data, and sending the first video live broadcast data to the audience terminal, so that the audience terminal plays the first video live broadcast data on the page of the live broadcast room of the anchor user.
After the server acquires the first video data and the anchor audio data based on the video sharing request, the server can combine the first video data and the anchor audio data to obtain first video live broadcast data, and send the first video live broadcast data to the audience terminal, so that the audience terminal plays the first video live broadcast data on a live broadcast room page of an anchor user.
And 303, receiving a video switching instruction sent by the anchor terminal, acquiring second video data, combining the second video data with anchor audio data to obtain second video live broadcast data, and sending the second video live broadcast data to the audience terminal so that the audience terminal can switch and play the second video live broadcast data in a live broadcast room page.
In the embodiment of the disclosure, the anchor terminal, based on the video switching operation of the anchor user, may generate a video switching instruction corresponding to the video switching operation while switching to play the second video data, and send the video switching instruction to the server. After receiving the video switching instruction sent by the anchor terminal, the server terminal can acquire second video data and send the second video live broadcast data obtained by combining the second video data and the anchor audio data to the audience terminal, so that the audience terminal switches from playing the first video data to playing the second video data on a live broadcast page. Or after receiving the video switching instruction, the server may send the video switching instruction to the audience terminal, and then send the second video live broadcast data obtained by combining the second video data and the anchor audio data to the audience terminal in response to a data acquisition request of the audience terminal, so that the audience terminal switches from playing the first video live broadcast data to playing the second video live broadcast data, thereby realizing synchronous switching between video switching of the audience terminal and the anchor terminal.
In some embodiments, the live data processing method provided by the embodiment of the present disclosure may further include: and receiving a video control instruction sent by the anchor terminal, and sending the first video live broadcast data to which the play control is applied or the second video live broadcast data to which the play control is applied to the audience terminal so as to enable the audience terminal to play.
The control operation of the anchor user can also comprise video control operation, the anchor terminal can send a video control instruction to the server while carrying out specific play control processing on the first video data or the second video data, the server can correspondingly adjust the first video data or the second video data based on the video control instruction, and send the adjusted first video live broadcast data or the adjusted second video live broadcast data combined with the anchor audio data to the audience terminal, and when the audience terminal plays the adjusted first video live broadcast data or the adjusted second video live broadcast data, the synchronous control of the audience terminal and the anchor terminal is realized. Or, the server may send the video control instruction to the viewer terminal, and the viewer terminal executes the video control instruction on the first video data in the first video live broadcast data, or executes the video control instruction on the second video data in the second video live broadcast data, so as to implement synchronous play control with the anchor terminal.
In some embodiments, the live data processing method provided by the embodiment of the present disclosure may further include: and receiving a video interaction instruction sent by the anchor terminal, and sending the first video live broadcast data loaded with the video data interaction information or the second video live broadcast data loaded with the video data interaction information to the audience terminal so as to play the audience terminal.
The video interaction operation can comprise a praise operation, a comment operation, a share operation and the like. The video data interaction information can be understood as updated video interaction information corresponding to the video interaction operation after the video interaction operation is executed on the basis of the video interaction information already shown in the live broadcast room page.
The method comprises the steps that when a main broadcasting terminal displays video data interaction information corresponding to video interaction operation on first video data or second video data based on video interaction operation of a main broadcasting user, a video interaction instruction can be sent to a server side, and the server side can send first video live broadcast data loaded with the video data interaction information or second video live broadcast data loaded with the video data interaction information to audience terminals based on the video interaction instruction, so that the audience terminals display the video data interaction information in a live broadcast room page, and synchronous interaction of the main broadcasting terminal and the audience terminals is achieved.
In the scheme, the server side can realize the synchronization of video playing, the synchronization of video interaction and the synchronization of video control of the audience terminal and the anchor terminal through the data interaction between the audience terminal and the anchor terminal, and because the control instruction can comprise various types, various requirements of the anchor terminal and audiences in the scene of watching videos together are met, the interaction in more scenes is realized, and the live broadcast effect is further improved.
In some embodiments, the live data processing method may further include: receiving a microphone connecting request sent by a main broadcasting terminal, and sending the microphone connecting request to a spectator terminal; and receiving the microphone receiving response and the audience audio data sent by the audience terminal, and sending the audience audio data to the anchor terminal and other audience terminals except the audience terminal so that the anchor terminal and other audience terminals except the audience terminal play the audience audio data.
After detecting the microphone connecting operation of the anchor user, the anchor terminal may send a microphone connecting request to the server, where the microphone connecting request may include an audience identifier of a particular audience selected by the anchor user to connect to the microphone, and the server may forward the microphone connecting request to an audience terminal corresponding to the audience identifier. After the audience terminal receives the microphone connecting request, if the current audience receives the microphone connecting request, the microphone connecting receiving response and the audience audio data can be sent to the server. The server side sends the audience audio data to the anchor terminal and other audience terminals except the current audience terminal, and real-time connection between the anchor user and the current audience is achieved. At the moment, all audiences who live broadcast is watched by the anchor speech can hear in real time, so that the speech of the audiences connected with the microphone is realized, and the anchor and other audiences can also hear in real time.
In the scheme, the server side can realize that the anchor and the audience watch videos together under a live scene through data interaction between the audience terminal and the anchor terminal, can also realize real-time voice connection between the anchor and the audience, realizes switching or simultaneous execution of different playing methods between the anchor and the audience under the live scene, can meet interaction of more scenes of the anchor and the audience under the live scene, and improves live experience effects of the audience.
According to the live broadcast data processing scheme provided by the embodiment of the disclosure, a server receives a video sharing request sent by a main broadcast terminal, and acquires first video data and main broadcast audio data based on the video sharing request; merging the first video data and the anchor audio data to obtain first video live broadcast data, and sending the first video live broadcast data to a viewer terminal so that the viewer terminal plays the first video live broadcast data on a live broadcast room page of an anchor user; and receiving a video switching instruction sent by the anchor terminal, acquiring second video data, combining the second video data with anchor audio data to obtain second video live broadcast data, and sending the second video live broadcast data to the audience terminal so that the audience terminal can switch and play the second video live broadcast data in a live broadcast room page. By adopting the technical scheme, the server side can realize that the anchor and the audiences synchronously watch videos in a live scene through interaction with the audience terminal and the anchor terminal, the anchor can watch the videos in the live broadcast and synchronize the watched videos and voice to each audience after confluence, the appeal of consuming video contents by the anchor and the audiences together is met, the synchronization efficiency is improved because the videos and the audio data are resynchronized after confluence, the anchor is supported to switch the watched videos in the live broadcast, and the videos of the audiences are also synchronously switched, so that the anchor more diversifies the control of the videos in the live scene, and the interactive effect under the live scene is improved.
Fig. 8 is a schematic structural diagram of a live data processing apparatus provided in an embodiment of the present disclosure, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 8, the apparatus is provided in a anchor terminal, and includes:
the video sharing module 401 is configured to send a video sharing request to a server based on a video sharing operation of an anchor user on a live broadcast room page, so that the server obtains first video data and anchor audio data and sends the merged first video live broadcast data to a viewer terminal;
a video playing module 402, configured to obtain the first video data, and play the first video data in the live broadcast room page;
the video switching module 403 is configured to switch the first video data based on a video switching operation of the anchor user, and send a video switching instruction corresponding to the video switching operation to the server, where the video switching instruction instructs the server to obtain second video data and send the second video live data obtained by combining the second video data with the anchor audio data to a viewer terminal.
Optionally, the video switching module 403 is specifically configured to:
and acquiring the second video data based on the video switching operation, and switching the first video data into the second video data in the live broadcast room page for playing.
Optionally, the apparatus further includes a video control module, specifically configured to:
performing play control on the first video data or the second video data based on a video control operation of the anchor user, wherein the video control operation comprises at least one of a play operation, a pause operation, a fast forward operation, a slow play operation and a jump operation;
and sending a video control instruction corresponding to the video control operation to the server, so that the server sends the first video live broadcast data to which the play control is applied or the second video live broadcast data to which the play control is applied to the audience terminal.
Optionally, the apparatus further includes a video interaction module, specifically configured to:
displaying video data interaction information corresponding to the video interaction operation on the first video data or the second video data based on the video interaction operation of the anchor user, wherein the video interaction operation comprises at least one of a praise operation, a comment operation and a share operation;
and sending a video interaction instruction corresponding to the video interaction operation to the server, so that the server sends the first video live broadcast data loaded with the video data interaction information or the second video live broadcast data loaded with the video data interaction information to the audience terminal.
Optionally, the first video data or the second video data includes video author information and/or video interaction information, where the video interaction information includes at least one of video approval information, video comment information, and video sharing information.
Optionally, the apparatus further includes a microphone connecting request module, configured to:
sending a microphone connecting request to a server based on the microphone connecting operation of the anchor user so that the server sends the microphone connecting request to the audience terminal;
and receiving the audience audio data of the audience terminal forwarded by the server, and playing the audience audio data.
The live data processing device provided by the embodiment of the disclosure can execute the live data processing method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 9 is a schematic structural diagram of another live data processing apparatus provided in an embodiment of the present disclosure, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 9, the apparatus is provided in a viewer terminal, and includes:
the data acquiring module 501 is configured to acquire first video live broadcast data, where the first video live broadcast data is obtained by merging first video data and anchor audio data that are played by a anchor terminal by a server;
a video synchronous playing module 502, configured to play the first video live broadcast data on a live broadcast room page of a host user;
the switching module 503 is configured to acquire second video live broadcast data, and switch and play the second video live broadcast data on a live broadcast room page, where the second video live broadcast data is obtained after a server receives a video switching instruction sent by the anchor terminal, and the second video data is combined with the anchor audio data.
Optionally, the apparatus further includes a control module, configured to:
and acquiring the first video live broadcast data after the playing control is applied or the second video live broadcast data after the playing control is applied, which are forwarded after the server receives a video control instruction, and playing, wherein the playing control is the control executed by the anchor terminal on the first video data or the second video data based on the video control operation of the anchor user.
Optionally, the apparatus further includes an interaction module, configured to:
and acquiring the first video live broadcast data loaded with the video data interaction information or the second video live broadcast data loaded with the video data interaction information and forwarded by the server after receiving a video interaction instruction, and playing the first video live broadcast data or the second video live broadcast data, wherein the video interaction instruction corresponds to the video interaction operation of the anchor user.
Optionally, the apparatus further includes a microphone receiving module, configured to:
receiving a wheat connection request of the anchor terminal forwarded by the server;
and sending the microphone connection receiving response and the acquired audience audio data to the server so that the server sends the audience audio data to the anchor terminal and other audience terminals except the audience terminal.
The live data processing device provided by the embodiment of the disclosure can execute the live data processing method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 10 is a schematic structural diagram of still another live data processing apparatus provided in an embodiment of the present disclosure, where the apparatus may be implemented by software and/or hardware, and may be generally integrated in an electronic device. As shown in fig. 10, the apparatus is provided in a server, and includes:
the sharing receiving module 601 is configured to receive a video sharing request sent by an anchor terminal, and obtain first video data and anchor audio data based on the video sharing request;
a data sending module 602, configured to merge the first video data and the anchor audio data to obtain first video live broadcast data, and send the first video live broadcast data to a viewer terminal, so that the viewer terminal plays the first video live broadcast data on a live broadcast room page of an anchor user;
and a switching and forwarding module 603, configured to receive a video switching instruction sent by the anchor terminal, obtain second video data, combine the second video data with the anchor audio data to obtain second live video data, and send the second live video data to the audience terminal, so that the audience terminal switches and plays the second live video data in the live broadcast room.
Optionally, the apparatus further includes a control forwarding module, configured to:
and receiving a video control instruction sent by the anchor terminal, and sending the first video live broadcast data to which the play control is applied or the second video live broadcast data to which the play control is applied to the audience terminal so as to enable the audience terminal to play.
Optionally, the apparatus further includes an interaction forwarding module, configured to:
and receiving a video interaction instruction sent by the anchor terminal, and sending the first video live broadcast data loaded with video data interaction information or the second video live broadcast data loaded with the video data interaction information to the audience terminal so as to enable the audience terminal to play.
Optionally, the apparatus further comprises a wheat connection implementation module for
Receiving a microphone connecting request sent by the anchor terminal, and sending the microphone connecting request to the audience terminal;
and receiving the microphone receiving response and the audience audio data sent by the audience terminal, and sending the audience audio data to the main broadcasting terminal and other audience terminals except the audience terminal so that the main broadcasting terminal and other audience terminals except the audience terminal play the audience audio data.
The live data processing device provided by the embodiment of the disclosure can execute the live data processing method provided by any embodiment of the disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. Referring now specifically to fig. 11, a schematic diagram of an electronic device 700 suitable for use in implementing embodiments of the present disclosure is shown. The electronic device 700 in the disclosed embodiment may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 11 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 11, electronic device 700 may include a processing means (e.g., central processing unit, graphics processor, etc.) 701 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage means 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the electronic apparatus 700 are also stored. The processing device 701, the ROM 702, and the RAM 703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Generally, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 708 including, for example, magnetic tape, hard disk, etc.; and a communication device 709. The communication means 709 may allow the electronic device 700 to communicate with other devices, wireless or wired, to exchange data. While fig. 11 illustrates an electronic device 700 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, the processes described above with reference to the flow diagrams may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via the communication means 709, or may be installed from the storage means 708, or may be installed from the ROM 702. The computer program performs the above-described functions defined in the live data processing method of the embodiment of the present disclosure when executed by the processing apparatus 701.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having 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. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: based on the video sharing operation of an anchor user on a live broadcasting room page, sending a video sharing request to a server, so that the server acquires first video data and anchor audio data and sends the combined first video live broadcasting data to a viewer terminal; acquiring the first video data, and playing the first video data in the live broadcast room page; switching the first video data based on the video switching operation of the anchor user, and sending a video switching instruction corresponding to the video switching operation to the server, wherein the video switching instruction instructs the server to acquire second video data and send the second video live broadcast data obtained by combining the second video data with the anchor audio data to audience terminals.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring first video live broadcast data, wherein the first video live broadcast data are obtained by combining first video data and anchor audio data played by an anchor terminal by a service end; playing the first video live broadcast data on a live broadcast room page of a main broadcast user; and acquiring second video live broadcast data, and switching and playing the second video live broadcast data on a live broadcast room page, wherein the second video live broadcast data is obtained after a server side receives a video switching instruction sent by an anchor terminal, and the second video data is combined with anchor audio data.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a video sharing request sent by an anchor terminal, and acquiring first video data and anchor audio data based on the video sharing request; merging the first video data and the anchor audio data to obtain first video live broadcast data, and sending the first video live broadcast data to a viewer terminal so that the viewer terminal plays the first video live broadcast data on a live broadcast room page of an anchor user; and receiving a video switching instruction sent by the anchor terminal, acquiring second video data, combining the second video data with the anchor audio data to obtain second video live broadcast data, and sending the second video live broadcast data to the audience terminal so that the audience terminal switches and plays the second video live broadcast data on the page of the live broadcast room.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, including conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Wherein the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
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.
Embodiments of the present disclosure also provide a computer program product, which includes a computer program/instruction, and when executed by a processor, the computer program/instruction implements the live data processing method provided in any embodiment of the present disclosure.
According to one or more embodiments of the present disclosure, the present disclosure provides a live data processing method applied to an anchor terminal, including:
based on video sharing operation of a main broadcasting user on a live broadcasting room page, sending a video sharing request to a server side, so that the server side obtains first video data and main broadcasting audio data and sends the combined first video live broadcasting data to audience terminals;
acquiring the first video data, and playing the first video data in the live broadcast room page;
switching the first video data based on the video switching operation of the anchor user, and sending a video switching instruction corresponding to the video switching operation to the server, wherein the video switching instruction indicates the server to acquire second video data and send second video live broadcast data obtained by combining the second video data with the anchor audio data to audience terminals.
According to one or more embodiments of the present disclosure, in a live data processing method provided by the present disclosure, switching the first video data based on a video switching operation of the anchor user includes:
and acquiring the second video data based on the video switching operation, and switching the first video data into the second video data in the live broadcast room page for playing.
According to one or more embodiments of the present disclosure, in a live data processing method provided by the present disclosure, the method further includes:
performing play control on the first video data or the second video data based on a video control operation of the anchor user, wherein the video control operation comprises at least one of a play operation, a pause operation, a fast forward operation, a slow play operation and a skip operation;
and sending a video control instruction corresponding to the video control operation to the server, so that the server sends the first video live broadcast data to which the play control is applied or the second video live broadcast data to which the play control is applied to the audience terminal.
According to one or more embodiments of the present disclosure, in a live data processing method provided by the present disclosure, the method further includes:
displaying video data interaction information corresponding to the video interaction operation on the first video data or the second video data based on the video interaction operation of the anchor user, wherein the video interaction operation comprises at least one of a praise operation, a comment operation and a share operation;
and sending a video interaction instruction corresponding to the video interaction operation to the server, so that the server sends the first video live broadcast data loaded with the video data interaction information or the second video live broadcast data loaded with the video data interaction information to the audience terminal.
According to one or more embodiments of the present disclosure, in the live data processing method provided by the present disclosure, the first video data or the second video data includes video author information and/or video interaction information, where the video interaction information includes at least one of video point approval information, video comment information, and video sharing information.
According to one or more embodiments of the present disclosure, in a live data processing method provided by the present disclosure, the method further includes:
sending a microphone connecting request to a server based on the microphone connecting operation of the anchor user so that the server sends the microphone connecting request to the audience terminal;
and receiving the audience audio data of the audience terminal forwarded by the server, and playing the audience audio data.
According to one or more embodiments of the present disclosure, the present disclosure provides a live data processing method, applied to a viewer terminal, including:
acquiring first video live broadcast data, wherein the first video live broadcast data are obtained by combining first video data and anchor audio data played by an anchor terminal by a service end;
playing the first video live broadcast data on a live broadcast room page of a main broadcast user;
and acquiring second video live broadcast data, and switching and playing the second video live broadcast data on the page of the live broadcast room, wherein the second video live broadcast data is obtained after a server receives a video switching instruction sent by the anchor terminal, and the second video data is combined with the anchor audio data.
According to one or more embodiments of the present disclosure, in the live data processing method provided by the present disclosure, the method further includes:
and acquiring the first video live broadcast data after the playing control is applied or the second video live broadcast data after the playing control is applied, which are forwarded after the server receives a video control instruction, and playing, wherein the playing control is the control executed by the anchor terminal on the first video data or the second video data based on the video control operation of the anchor user.
According to one or more embodiments of the present disclosure, in the live data processing method provided by the present disclosure, the method further includes:
and acquiring the first video live broadcast data loaded with video data interaction information or the second video live broadcast data loaded with video data interaction information and forwarded after the server receives a video interaction instruction, and playing the first video live broadcast data or the second video live broadcast data, wherein the video interaction instruction corresponds to the video interaction operation of the anchor user.
According to one or more embodiments of the present disclosure, in a live data processing method provided by the present disclosure, the method further includes:
receiving a microphone connecting request of the anchor terminal forwarded by the server;
and sending the audience audio data received and responded by the microphone to the server so that the server sends the audience audio data to the main broadcasting terminal and other audience terminals except the audience terminal.
According to one or more embodiments of the present disclosure, the present disclosure provides a live data processing method, applied to a server, including:
receiving a video sharing request sent by an anchor terminal, and acquiring first video data and anchor audio data based on the video sharing request;
merging the first video data and the anchor audio data to obtain first video live broadcast data, and sending the first video live broadcast data to a viewer terminal so that the viewer terminal plays the first video live broadcast data on a live broadcast room page of an anchor user;
and receiving a video switching instruction sent by the anchor terminal, acquiring second video data, combining the second video data with the anchor audio data to obtain second video live broadcast data, and sending the second video live broadcast data to the audience terminal so that the audience terminal switches and plays the second video live broadcast data on the page of the live broadcast room.
According to one or more embodiments of the present disclosure, in a live data processing method provided by the present disclosure, the method further includes:
and receiving a video control instruction sent by the anchor terminal, and sending the first video live broadcast data to which the play control is applied or the second video live broadcast data to which the play control is applied to the audience terminal so as to enable the audience terminal to play.
According to one or more embodiments of the present disclosure, in a live data processing method provided by the present disclosure, the method further includes:
and receiving a video interaction instruction sent by the anchor terminal, and sending the first video live broadcast data loaded with video data interaction information or the second video live broadcast data loaded with the video data interaction information to the audience terminal so as to enable the audience terminal to play.
According to one or more embodiments of the present disclosure, in a live data processing method provided by the present disclosure, the method further includes:
receiving a microphone connecting request sent by the anchor terminal, and sending the microphone connecting request to the audience terminal;
and receiving the microphone receiving response and the audience audio data sent by the audience terminal, and sending the audience audio data to the main broadcasting terminal and other audience terminals except the audience terminal so that the main broadcasting terminal and other audience terminals except the audience terminal play the audience audio data.
According to one or more embodiments of the present disclosure, there is provided a live data processing apparatus configured at an anchor terminal, including:
the video sharing module is used for sending a video sharing request to the server based on video sharing operation of a main broadcasting user on a live broadcasting room page, so that the server can acquire first video data and main broadcasting audio data and send the combined first video live broadcasting data to a viewer terminal;
the video playing module is used for acquiring the first video data and playing the first video data in the live broadcast room page;
and the video switching module is used for switching the first video data based on the video switching operation of the anchor user and sending a video switching instruction corresponding to the video switching operation to the server, wherein the video switching instruction indicates the server to acquire second video data and send the second video live broadcast data obtained by combining the second video data with the anchor audio data to the audience terminal.
According to one or more embodiments of the present disclosure, in a live data processing apparatus provided by the present disclosure, the video switching module is specifically configured to:
and acquiring the second video data based on the video switching operation, and switching the first video data into the second video data in the live broadcast room page for playing.
According to one or more embodiments of the present disclosure, in a live data processing apparatus provided by the present disclosure, the apparatus further includes a video control module, specifically configured to:
performing play control on the first video data or the second video data based on a video control operation of the anchor user, wherein the video control operation comprises at least one of a play operation, a pause operation, a fast forward operation, a slow play operation and a skip operation;
and sending a video control instruction corresponding to the video control operation to the server, so that the server sends the first video live broadcast data to which the play control is applied or the second video live broadcast data to which the play control is applied to the audience terminal.
According to one or more embodiments of the present disclosure, in a live data processing apparatus provided by the present disclosure, the apparatus further includes a video interaction module, specifically configured to:
displaying video data interaction information corresponding to the video interaction operation on the first video data or the second video data based on the video interaction operation of the anchor user, wherein the video interaction operation comprises at least one of a praise operation, a comment operation and a share operation;
and sending a video interaction instruction corresponding to the video interaction operation to the server, so that the server sends the first video live broadcast data loaded with the video data interaction information or the second video live broadcast data loaded with the video data interaction information to the audience terminal.
According to one or more embodiments of the present disclosure, in a live data processing apparatus provided by the present disclosure, the first video data or the second video data includes video author information and/or video interaction information, where the video interaction information includes at least one of video approval information, video comment information, and video sharing information.
According to one or more embodiments of the present disclosure, in a live data processing apparatus provided by the present disclosure, the apparatus further includes a microphone connecting request module, configured to:
sending a microphone connecting request to a server based on the microphone connecting operation of the anchor user so that the server sends the microphone connecting request to the audience terminal;
and receiving the audience audio data of the audience terminal forwarded by the server, and playing the audience audio data.
According to one or more embodiments of the present disclosure, there is provided a live data processing apparatus configured at a viewer terminal, including:
the data acquisition module is used for acquiring first video live broadcast data, wherein the first video live broadcast data are obtained by combining first video data and anchor audio data played by an anchor terminal by a service end;
the video synchronous playing module is used for playing the first video live broadcast data on a live broadcast room page of a main broadcast user;
and the switching module is used for acquiring second video live broadcast data and switching and playing the second video live broadcast data on the page of the live broadcast room, wherein the second video live broadcast data is obtained after a server receives a video switching instruction sent by the anchor terminal, and the second video data is combined with the anchor audio data.
According to one or more embodiments of the present disclosure, in a live data processing apparatus provided by the present disclosure, the apparatus further includes a control module, configured to:
and acquiring the first video live broadcast data after the playing control is applied or the second video live broadcast data after the playing control is applied, which are forwarded after the server receives a video control instruction, and playing, wherein the playing control is the control executed by the anchor terminal on the first video data or the second video data based on the video control operation of the anchor user.
According to one or more embodiments of the present disclosure, in a live data processing apparatus provided by the present disclosure, the apparatus further includes an interaction module, configured to:
and acquiring the first video live broadcast data loaded with video data interaction information or the second video live broadcast data loaded with video data interaction information and forwarded after the server receives a video interaction instruction, and playing the first video live broadcast data or the second video live broadcast data, wherein the video interaction instruction corresponds to the video interaction operation of the anchor user.
According to one or more embodiments of the present disclosure, in a live data processing apparatus provided by the present disclosure, the apparatus further includes a microphone connecting receiving module, configured to:
receiving a wheat connection request of the anchor terminal forwarded by the server;
and sending the microphone connection receiving response and the acquired audience audio data to the server so that the server sends the audience audio data to the anchor terminal and other audience terminals except the audience terminal.
According to one or more embodiments of the present disclosure, the present disclosure provides a live data processing apparatus configured at a server, including:
the sharing receiving module is used for receiving a video sharing request sent by an anchor terminal and acquiring first video data and anchor audio data based on the video sharing request;
the data sending module is used for merging the first video data and the anchor audio data to obtain first video live broadcast data and sending the first video live broadcast data to the audience terminal so that the audience terminal can play the first video live broadcast data on a live broadcast room page of an anchor user;
and the switching and forwarding module is used for receiving a video switching instruction sent by the anchor terminal, acquiring second video data, combining the second video data with the anchor audio data to obtain second video live broadcast data, and sending the second video live broadcast data to the audience terminal so that the audience terminal can switch and play the second video live broadcast data in the live broadcast room page.
According to one or more embodiments of the present disclosure, in a live data processing apparatus provided by the present disclosure, the apparatus further includes a control forwarding module, configured to:
and receiving a video control instruction sent by the anchor terminal, and sending the first video live broadcast data to which the play control is applied or the second video live broadcast data to which the play control is applied to the audience terminal so as to enable the audience terminal to play.
According to one or more embodiments of the present disclosure, in a live data processing apparatus provided by the present disclosure, the apparatus further includes an interaction forwarding module, configured to:
and receiving a video interaction instruction sent by the anchor terminal, and sending the first video live broadcast data loaded with video data interaction information or the second video live broadcast data loaded with the video data interaction information to the audience terminal so as to enable the audience terminal to play.
According to one or more embodiments of the present disclosure, in a live data processing apparatus provided by the present disclosure, the apparatus further includes a connecting-to-microphone implementation module, configured to implement the connecting-to-microphone implementation
Receiving a microphone connecting request sent by the main broadcasting terminal, and sending the microphone connecting request to the audience terminal;
and receiving the microphone receiving response and the audience audio data sent by the audience terminal, and sending the audience audio data to the main broadcasting terminal and other audience terminals except the audience terminal so that the main broadcasting terminal and other audience terminals except the audience terminal play the audience audio data.
In accordance with one or more embodiments of the present disclosure, there is provided an electronic device including:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory, and execute the instructions to enable the electronic device to implement any live data processing method provided by the present disclosure.
According to one or more embodiments of the present disclosure, there is provided a computer-readable storage medium storing a computer program which, when executed by a computing device, causes the computing device to implement any of the live data processing methods as provided by the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and the technical features disclosed in the present disclosure (but not limited to) having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (19)

1. A live broadcast data processing method is applied to a main broadcast terminal and comprises the following steps:
based on video sharing operation of a main broadcasting user on a live broadcasting room page, sending a video sharing request to a server side, so that the server side obtains first video data and main broadcasting audio data and sends the combined first video live broadcasting data to audience terminals;
acquiring the first video data, and playing the first video data in the live broadcast room page;
switching the first video data based on the video switching operation of the anchor user, and sending a video switching instruction corresponding to the video switching operation to the server, wherein the video switching instruction instructs the server to acquire second video data and send the second video live broadcast data obtained by combining the second video data with the anchor audio data to audience terminals.
2. The method of claim 1, wherein switching the first video data based on a video switching operation of the anchor user comprises:
and acquiring the second video data based on the video switching operation, and switching the first video data into the second video data in the live broadcast room page for playing.
3. The method of claim 1, further comprising:
performing play control on the first video data or the second video data based on a video control operation of the anchor user, wherein the video control operation comprises at least one of a play operation, a pause operation, a fast forward operation, a slow play operation and a skip operation;
and sending a video control instruction corresponding to the video control operation to the server, so that the server sends the first video live broadcast data to which the play control is applied or the second video live broadcast data to which the play control is applied to the audience terminal.
4. The method of claim 1, further comprising:
displaying video data interaction information corresponding to the video interaction operation on the first video data or the second video data based on the video interaction operation of the anchor user, wherein the video interaction operation comprises at least one of a praise operation, a comment operation and a share operation;
and sending a video interaction instruction corresponding to the video interaction operation to the server, so that the server sends the first video live broadcast data loaded with the video data interaction information or the second video live broadcast data loaded with the video data interaction information to the audience terminal.
5. The method according to any one of claims 1 to 4, wherein video author information and/or video interaction information is included in the first video data or the second video data, wherein the video interaction information includes at least one of video approval information, video comment information and video sharing information.
6. The method of claim 1, further comprising:
sending a microphone connecting request to a server based on the microphone connecting operation of the anchor user so that the server sends the microphone connecting request to the audience terminal;
and receiving the audience audio data of the audience terminal forwarded by the server, and playing the audience audio data.
7. A live data processing method is applied to a viewer terminal and comprises the following steps:
acquiring first video live broadcast data, wherein the first video live broadcast data are obtained by combining first video data and anchor audio data played by an anchor terminal by a service end;
playing the first video live broadcast data on a live broadcast room page of a main broadcast user;
and acquiring second video live broadcast data, and switching and playing the second video live broadcast data on the page of the live broadcast room, wherein the second video live broadcast data is obtained after a server receives a video switching instruction sent by the anchor terminal, and the second video data is combined with the anchor audio data.
8. The method of claim 7, further comprising:
and acquiring the first video live broadcast data after the playing control is applied or the second video live broadcast data after the playing control is applied, which are forwarded after the server receives a video control instruction, and playing, wherein the playing control is the control executed by the anchor terminal on the first video data or the second video data based on the video control operation of the anchor user.
9. The method of claim 7, further comprising:
and acquiring the first video live broadcast data loaded with video data interaction information or the second video live broadcast data loaded with video data interaction information and forwarded after the server receives a video interaction instruction, and playing the first video live broadcast data or the second video live broadcast data, wherein the video interaction instruction corresponds to the video interaction operation of the anchor user.
10. The method of claim 7, further comprising:
receiving a wheat connection request of the anchor terminal forwarded by the server;
and sending the audience audio data received and responded by the microphone to the server so that the server sends the audience audio data to the main broadcasting terminal and other audience terminals except the audience terminal.
11. A live data processing method is applied to a server and comprises the following steps:
receiving a video sharing request sent by an anchor terminal, and acquiring first video data and anchor audio data based on the video sharing request;
merging the first video data and the anchor audio data to obtain first video live broadcast data, and sending the first video live broadcast data to a viewer terminal so that the viewer terminal plays the first video live broadcast data on a live broadcast room page of an anchor user;
and receiving a video switching instruction sent by the anchor terminal, acquiring second video data, combining the second video data with the anchor audio data to obtain second video live broadcast data, and sending the second video live broadcast data to the audience terminal so that the audience terminal switches and plays the second video live broadcast data on the page of the live broadcast room.
12. The method of claim 11, further comprising:
and receiving a video control instruction sent by the anchor terminal, and sending the first video live broadcast data to which the play control is applied or the second video live broadcast data to which the play control is applied to the audience terminal so as to enable the audience terminal to play.
13. The method of claim 11, further comprising:
and receiving a video interaction instruction sent by the anchor terminal, and sending the first video live broadcast data loaded with video data interaction information or the second video live broadcast data loaded with the video data interaction information to the audience terminal so as to enable the audience terminal to play.
14. The method of claim 11, further comprising:
receiving a microphone connecting request sent by the anchor terminal, and sending the microphone connecting request to the audience terminal;
and receiving the microphone receiving response and the audience audio data sent by the audience terminal, and sending the audience audio data to the main broadcasting terminal and other audience terminals except the audience terminal so that the main broadcasting terminal and other audience terminals except the audience terminal play the audience audio data.
15. A live data processing apparatus, configured at an anchor terminal, comprising:
the video sharing module is used for sending a video sharing request to the server based on video sharing operation of a main broadcasting user on a live broadcasting room page, so that the server can acquire first video data and main broadcasting audio data and send the combined first video live broadcasting data to a viewer terminal;
the video playing module is used for acquiring the first video data and playing the first video data in the live broadcast room page;
and the video switching module is used for switching the first video data based on the video switching operation of the anchor user and sending a video switching instruction corresponding to the video switching operation to the server, wherein the video switching instruction indicates the server to acquire second video data and send the second video live broadcast data obtained by combining the second video data and the anchor audio data to the audience terminal.
16. A live data processing apparatus, configured at a viewer terminal, comprising:
the data acquisition module is used for acquiring first video live broadcast data, wherein the first video live broadcast data are obtained by combining first video data and anchor audio data played by an anchor terminal by a service end;
the video synchronous playing module is used for playing the first video live broadcast data on a live broadcast room page of a main broadcast user;
and the switching module is used for acquiring second video live broadcast data and switching and playing the second video live broadcast data on a live broadcast room page, wherein the second video live broadcast data is obtained after a server side receives a video switching instruction sent by the anchor terminal, and the second video data is combined with the anchor audio data.
17. A live data processing apparatus, configured to a server, comprising:
the sharing receiving module is used for receiving a video sharing request sent by an anchor terminal and acquiring first video data and anchor audio data based on the video sharing request;
the data sending module is used for merging the first video data and the anchor audio data to obtain first video live broadcast data and sending the first video live broadcast data to the audience terminal so that the audience terminal can play the first video live broadcast data on a live broadcast room page of an anchor user;
and the switching and forwarding module is used for receiving a video switching instruction sent by the anchor terminal, acquiring second video data, combining the second video data with the anchor audio data to obtain second video live broadcast data, and sending the second video live broadcast data to the audience terminal so that the audience terminal can switch and play the second video live broadcast data in the live broadcast room page.
18. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the instructions to enable the electronic device to implement the live data processing method of any one of claims 1 to 14.
19. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a computing device, causes the computing device to carry out the live data processing method of any of the preceding claims 1-14.
CN202110056610.3A 2021-01-15 2021-01-15 Live broadcast data processing method, device, equipment and medium Pending CN114765695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110056610.3A CN114765695A (en) 2021-01-15 2021-01-15 Live broadcast data processing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110056610.3A CN114765695A (en) 2021-01-15 2021-01-15 Live broadcast data processing method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN114765695A true CN114765695A (en) 2022-07-19

Family

ID=82364318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110056610.3A Pending CN114765695A (en) 2021-01-15 2021-01-15 Live broadcast data processing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN114765695A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618785A (en) * 2014-04-16 2015-05-13 腾讯科技(北京)有限公司 Audio and video playing method, device and system
CN106028166A (en) * 2016-06-24 2016-10-12 北京小米移动软件有限公司 Method and device for switching live broadcasting rooms in live broadcasting process
CN106534890A (en) * 2016-11-29 2017-03-22 北京小米移动软件有限公司 Live-based video processing method and device
CN106658205A (en) * 2016-11-22 2017-05-10 广州华多网络科技有限公司 Studio video streaming synthesis control method, device and terminal equipment
US20170272784A1 (en) * 2016-03-16 2017-09-21 Xiaomi Inc. Live video broadcasting method and device
CN107317815A (en) * 2017-07-04 2017-11-03 上海鋆创信息技术有限公司 A kind of method and device, storage medium and the terminal of video superposition
CN109618178A (en) * 2019-01-21 2019-04-12 北京奇艺世纪科技有限公司 A kind of live broadcasting method, apparatus and system
CN110198472A (en) * 2019-04-25 2019-09-03 腾讯科技(深圳)有限公司 The playback method and device of video resource
CN110267064A (en) * 2019-06-12 2019-09-20 百度在线网络技术(北京)有限公司 Audio broadcast state processing method, device, equipment and storage medium
CN111314720A (en) * 2020-01-23 2020-06-19 网易(杭州)网络有限公司 Live broadcast and microphone connection control method and device, electronic equipment and computer readable medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618785A (en) * 2014-04-16 2015-05-13 腾讯科技(北京)有限公司 Audio and video playing method, device and system
US20170272784A1 (en) * 2016-03-16 2017-09-21 Xiaomi Inc. Live video broadcasting method and device
CN106028166A (en) * 2016-06-24 2016-10-12 北京小米移动软件有限公司 Method and device for switching live broadcasting rooms in live broadcasting process
CN106658205A (en) * 2016-11-22 2017-05-10 广州华多网络科技有限公司 Studio video streaming synthesis control method, device and terminal equipment
WO2018095174A1 (en) * 2016-11-22 2018-05-31 广州华多网络科技有限公司 Control method, device, and terminal apparatus for synthesizing video stream of live streaming room
CN106534890A (en) * 2016-11-29 2017-03-22 北京小米移动软件有限公司 Live-based video processing method and device
CN107317815A (en) * 2017-07-04 2017-11-03 上海鋆创信息技术有限公司 A kind of method and device, storage medium and the terminal of video superposition
CN109618178A (en) * 2019-01-21 2019-04-12 北京奇艺世纪科技有限公司 A kind of live broadcasting method, apparatus and system
CN110198472A (en) * 2019-04-25 2019-09-03 腾讯科技(深圳)有限公司 The playback method and device of video resource
CN110267064A (en) * 2019-06-12 2019-09-20 百度在线网络技术(北京)有限公司 Audio broadcast state processing method, device, equipment and storage medium
CN111314720A (en) * 2020-01-23 2020-06-19 网易(杭州)网络有限公司 Live broadcast and microphone connection control method and device, electronic equipment and computer readable medium

Similar Documents

Publication Publication Date Title
CN111818359B (en) Processing method and device for live interactive video, electronic equipment and server
US20210281909A1 (en) Method and apparatus for sharing video, and storage medium
CN106105246B (en) Display methods, apparatus and system is broadcast live
US9736518B2 (en) Content streaming and broadcasting
CN110910860B (en) Online KTV implementation method and device, electronic equipment and storage medium
US9756373B2 (en) Content streaming and broadcasting
WO2022237571A1 (en) Image fusion method and apparatus, electronic device, and storage medium
CN111343477B (en) Data transmission method and device, electronic equipment and storage medium
JP6131053B2 (en) Information playback terminal
CN111583952A (en) Audio processing method and device, electronic equipment and storage medium
CN114095671A (en) Cloud conference live broadcast system, method, device, equipment and medium
US20220210501A1 (en) Method and apparatus for playing data
CN112099750A (en) Screen sharing method, terminal, computer storage medium and system
JP2006041888A (en) Information processing apparatus and method therefor, recording medium and program
JP2024048339A (en) Server, terminal and computer program
CN115396684A (en) Connecting wheat display method and device, electronic equipment and computer readable medium
CN114765695A (en) Live broadcast data processing method, device, equipment and medium
CN115174946A (en) Display method, device, equipment, storage medium and program product of live broadcast page
CN114125358A (en) Cloud conference subtitle display method, system, device, electronic equipment and storage medium
KR102164833B1 (en) Apparatus and method for transmitting multimedia contents
JP2020174378A (en) Synchronization of media rendering in heterogeneous networking environment
CN115086729B (en) Wheat connecting display method and device, electronic equipment and computer readable medium
CN116366905B (en) Video playing method and device and electronic equipment
WO2023237102A1 (en) Voice chat display method and apparatus, electronic device, and computer readable medium
JP2024518472A (en) Image fusion method, device, electronic device, and storage medium

Legal Events

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