CN115119011A - Live broadcast room content rebroadcasting method, background server and electronic equipment - Google Patents

Live broadcast room content rebroadcasting method, background server and electronic equipment Download PDF

Info

Publication number
CN115119011A
CN115119011A CN202211043866.1A CN202211043866A CN115119011A CN 115119011 A CN115119011 A CN 115119011A CN 202211043866 A CN202211043866 A CN 202211043866A CN 115119011 A CN115119011 A CN 115119011A
Authority
CN
China
Prior art keywords
target
live broadcast
content
rebroadcast
rebroadcasting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211043866.1A
Other languages
Chinese (zh)
Other versions
CN115119011B (en
Inventor
徐伟
明林清
杨德云
周石浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Baijiayun Technology Co Ltd
Original Assignee
Nanjing Baijiayun 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 Nanjing Baijiayun Technology Co Ltd filed Critical Nanjing Baijiayun Technology Co Ltd
Priority to CN202211043866.1A priority Critical patent/CN115119011B/en
Publication of CN115119011A publication Critical patent/CN115119011A/en
Application granted granted Critical
Publication of CN115119011B publication Critical patent/CN115119011B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen

Abstract

The application provides a live broadcast room content rebroadcasting method, a background server and electronic equipment, wherein the live broadcast room content rebroadcasting method comprises the following steps: receiving a rebroadcasting request of a target content in a target live broadcasting end from a to-be-rebroadcast end; the target content comprises target audio and video data, target courseware and painting brush data; based on the rebroadcasting request, acquiring target audio and video data in a target live broadcast terminal from a content distribution network server; based on a rebroadcasting request, acquiring target courseware and painting brush data in a target live broadcast end from a first signaling server matched with an end to be rebroadcast; the first signaling server is used for acquiring target courseware and painting brush data from a second signaling server matched with the target live broadcast end through a forwarding server; and sending the target audio and video data, the target courseware and the paintbrush data to a terminal to be relayed. The method and the device have the advantages that courseware, painting brush data and audio-video data of the target live broadcast end are relayed in real time, and the requirement for synchronous relay can be met.

Description

Live broadcast room content rebroadcasting method, background server and electronic equipment
Technical Field
The application relates to the technical field of live broadcasting, in particular to a live broadcasting room content rebroadcasting method, a background server and electronic equipment.
Background
With the development and progress of mobile internet, live broadcast software on the market is used and welcomed by more and more users, so that more and more lessee practitioners in various industries carry out live broadcast in live broadcast rooms of the online internet, and show, express and transmit some live broadcast contents to audiences.
When a lesson-giving practitioner is in the live broadcasting process of the current live broadcasting room, live broadcasting contents of other live broadcasting rooms need to be rebroadcast at some moments, under the common condition, when the live broadcasting contents of other live broadcasting rooms are rebroadcast in the current live broadcasting room, only audio contents and video contents of other live broadcasting rooms can be obtained, courseware and painting brush files which are displayed by lesson-giving practitioners of other live broadcasting rooms on the live broadcasting contents cannot be displayed, and true and meaningful synchronous rebroadcasting cannot be realized.
Disclosure of Invention
In view of this, an object of the present application is to provide a live broadcast room content rebroadcasting method, a background server and an electronic device, so that courseware, brush data and audio-video data of a target live broadcast end are rebroadcast in real time, and a requirement for synchronous rebroadcasting can be met.
The embodiment of the application provides a live broadcast room content rebroadcasting method, which is applied to a background server and comprises the following steps:
receiving a rebroadcasting request of a target content in a target live broadcasting end from a to-be-rebroadcast end; the target content comprises target audio and video data, target courseware and painting brush data;
based on the rebroadcasting request, acquiring the target audio and video data in the target live broadcast terminal from a content distribution network server;
based on the rebroadcasting request, acquiring target courseware and painting brush data in the target live end from a first signaling server matched with the end to be rebroadcast; the first signaling server is used for acquiring the target courseware and the painting brush data from a second signaling server matched with the target live broadcast end through a forwarding server;
and sending the target audio and video data, the target courseware and the paintbrush data to the to-be-rebroadcast end so as to enable the to-be-rebroadcast end to rebroadcast the target content of the target live broadcast end.
Further, the receiving a request for relaying the target content in the target live broadcast terminal by the terminal to be relayed includes:
receiving a request for inquiring the rebroadcasting state of the target live broadcasting end by the to-be-rebroadcasting end;
determining whether target content of a target live broadcast end is being broadcast by a target broadcast end or not according to the query request;
and if so, directly receiving a rebroadcasting request of the target content in the target live broadcast end from the to-be-rebroadcast end.
Further, after determining whether the target content of the target live broadcast end is being broadcast by the target broadcast end according to the query request, the method for broadcasting the content of the live broadcast room further includes:
if not, receiving a trigger request of the target content in the target live broadcast end from the to-be-relayed end;
judging whether a rebroadcasting function of the target live broadcast end is started successfully or not according to the trigger request;
and if so, receiving the rebroadcasting request of the target content in the target live broadcasting end from the to-be-rebroadcast end.
Further, the rebroadcasting request includes a courseware and a painting brush rebroadcasting signaling with a forwarding identifier, and the acquiring, based on the rebroadcasting request, target courseware and painting brush data in the target live broadcast end from a first signaling server adapted to the end to be rebroadcast includes:
determining the first signaling server matched with the terminal to be rebroadcast according to the forwarding identifier in the courseware and painting brush rebroadcast signaling, and acquiring the target courseware and painting brush data in the target live broadcast terminal from the first signaling server; the forwarding identifier is used for representing the identity identifier information of the terminal to be relayed.
Furthermore, the courseware and painting brush relay signaling comprises courseware return operation sub signaling, courseware adding operation sub signaling, courseware page turning operation sub signaling, painting brush adding operation sub signaling and painting brush deleting operation sub signaling.
Further, after the target audio and video data, the target courseware and the paintbrush data are sent to the end to be rebroadcast, the method for rebroadcasting the content in the live broadcast room further comprises the following steps:
receiving a request for stopping rebroadcasting of the target content in the target live broadcast end by the to-be-rebroadcast end;
and according to the request for stopping rebroadcasting, stopping rebroadcasting the target content of the target live broadcasting end at the end to be rebroadcast, and live broadcasting the live broadcasting content of the end to be rebroadcast at the rebroadcasting end.
An embodiment of the present application further provides a backend server, where the backend server includes:
the receiving module is used for receiving a rebroadcasting request of a target content in a target live broadcasting end from a to-be-rebroadcast end; the target content comprises target audio and video data, target courseware and painting brush data;
the acquisition module is used for acquiring the target audio and video data in the target live broadcast end from a content distribution network server;
the forwarding module is used for acquiring target courseware and painting brush data in the target live broadcast end from a first signaling server matched with the end to be relayed based on the relay request; the first signaling server is used for acquiring the target courseware and the painting brush data from a second signaling server matched with the target live broadcast end through a forwarding server;
and the display module is used for sending the target audio and video data, the target courseware and the paintbrush data to the to-be-rebroadcast end so as to enable the to-be-rebroadcast end to rebroadcast the target content of the target live broadcast end.
Further, the background server further includes:
a stopping module, configured to receive a request for stopping rebroadcasting of the target content in the target live broadcast end by the to-be-rebroadcast end;
and the target content of the target live broadcast end is stopped being rebroadcast at the end to be rebroadcast according to the request for stopping rebroadcast, and the live broadcast content of the end to be rebroadcast is live broadcast at the rebroadcast end.
An embodiment of the present application further provides an electronic device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when the electronic device is running, the machine-readable instructions when executed by the processor performing the steps of the method of relaying live-room content as described above.
Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for relaying live broadcast content as described above are performed.
Compared with the prior art, the live broadcast room content rebroadcasting method and the device have the advantages that the communication connection is respectively established with the content distribution network server and the forwarding server, so that courseware, painting brush data and audio and video data of a target live broadcast end are rebroadcast in real time, and the requirement of synchronous rebroadcasting can be met.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 shows one of flowcharts of a method for rebroadcasting content in a live room provided in an embodiment of the present application;
fig. 2 shows a second flowchart of a method for relaying content in a live broadcast room according to an embodiment of the present application;
fig. 3 is a flowchart illustrating an embodiment of a method for relaying live broadcast content provided by an embodiment of the present application;
fig. 4 shows one of the schematic structural diagrams of a backend server provided by the embodiment of the present application;
fig. 5 shows a second schematic structural diagram of a backend server provided by an embodiment of the present application;
fig. 6 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
In the figure:
400-background server; 410-a query module; 420-a receiving module; 430-an acquisition module; 440-a forwarding module; 450-a display module; 460-stop module; 600-an electronic device; 610-a processor; 620-memory; 630-bus.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. Every other embodiment that can be obtained by a person skilled in the art without making creative efforts based on the embodiments of the present application falls within the protection scope of the present application.
First, an application scenario to which the present application is applicable will be described. This application can be applied to live technical field, found through the research, when the practitioner of giving lessons is at the live in-process of current live broadcast room, need carry out the rebroadcasting to the live content in other live broadcast rooms at some moment, under the normal conditions, current live broadcast room is when carrying out the live broadcast content rebroadcasting in other live broadcast rooms, can only acquire the audio content and the video content in other live broadcast rooms, can't demonstrate courseware and the painting brush file that the practitioner of giving lessons of other live broadcast rooms carried out the show to this live broadcast content, can't realize just really meaning synchronous rebroadcasting.
Based on the above, the embodiment of the application provides a live broadcast room content rebroadcasting method, a background server and electronic equipment, so that courseware, brush data and audio-video data of a target live broadcast end are rebroadcast in real time, and the requirement of synchronous rebroadcasting can be met.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for relaying live broadcast content according to an embodiment of the present disclosure. As shown in fig. 1, a method for rebroadcasting content in a live broadcast room provided in an embodiment of the present application includes the following steps:
s101, receiving a rebroadcasting request of a target content in a target live broadcasting end from a to-be-rebroadcast end; the target content comprises target audio and video data, target courseware and painting brush data.
In the step, when the end to be rebroadcast needs to rebroadcast the target content of the target live end, the end to be rebroadcast sends a rebroadcast request to the background server to request to acquire the target audio and video data, the target courseware and the paintbrush data which are currently broadcasted by the target live end.
Here, the sending, by the terminal to be relayed, the relay request for obtaining the target content to the target live broadcast terminal may specifically include, but is not limited to, manually operating, by a teaching practitioner including the terminal to be relayed, a interface to be relayed of the terminal to be relayed.
The target live broadcast end receives a broadcast request of acquiring target content, wherein the broadcast request of acquiring the target content sent by the to-be-relayed end to the target live broadcast end can be transmitted through but is not limited to communication through a Websocket, a WebTransport, a WebRTC DataChannel or an Http type interface protocol.
Further, the receiving a request for relaying the target content in the target live broadcast terminal by the terminal to be relayed includes:
and receiving a request for inquiring the rebroadcasting state of the target live broadcasting end by the to-be-rebroadcasting end.
Here, before the to-be-rebroadcast end sends a rebroadcast request of the target content in the target live broadcast end to the background server, the to-be-rebroadcast end preferentially sends an inquiry request for inquiring the rebroadcast state of the target live broadcast end to the background server, where the inquiry request is used to inquire whether the target live broadcast end is in rebroadcast, that is, whether the to-be-rebroadcast end has started the content of the target audio and video data and the target courseware and brush pen data of the rebroadcast target live broadcast end.
Wherein, the query request may be specifically but not limited to: "transfer _ class _ req".
And determining whether the target content of the target live broadcast end is currently broadcasted by the target broadcast end according to the query request.
Here, after the backend server sends the query request to the target live broadcast end, the target live broadcast end returns state information to the backend server, which is used to determine whether the target content of the target live broadcast end is being broadcast by the target broadcast end.
The status information may be, but is not limited to: "transfer _ class _ res".
And if so, directly receiving a rebroadcasting request of the target content in the target live broadcast end from the to-be-rebroadcast end.
Here, if the to-be-rebroadcast end has started the content of the target audio and video data, the target courseware and the paintbrush data of the rebroadcast target live end, the to-be-rebroadcast end sends a rebroadcast request for the target content in the target live end.
And if not, receiving a trigger request of the target content in the target live broadcast end from the to-be-relayed end.
If the target audio and video data and the contents of the target courseware and the brush pen data of the target live broadcast end are determined not to be started by the to-be-relayed end according to the state information, a trigger request of the to-be-relayed end to the target contents in the target live broadcast end is received.
The trigger request may be specifically but not limited to: "transfer _ class _ begin _ req".
And judging whether the rebroadcasting function of the target live broadcast end is successfully started or not according to the trigger request.
Here, after the target live broadcast end receives the trigger request sent by the to-be-rebroadcast end through the background server, the target live broadcast end feeds back a trigger state message to the background server to judge whether the rebroadcast function of the target live broadcast end is successfully started.
The trigger status information may be specifically, but not limited to, "transfer _ class _ begin _ res".
And if so, receiving the rebroadcasting request of the target content in the target live broadcasting end from the to-be-rebroadcast end.
Here, if the to-be-rebroadcast end has successfully started the rebroadcast function of the target live broadcast end, the to-be-rebroadcast end sends a rebroadcast request for the target content in the target live broadcast end to the background server.
S102, based on the rebroadcasting request, the target audio and video data in the target live broadcast terminal is obtained from a content distribution network server.
In the step, the target audio and video data in the target live broadcast end is obtained from a content distribution network server according to an audio and video obtaining signaling in a rebroadcast request, wherein after the target live broadcast end receives the audio and video obtaining signaling in the rebroadcast request, the target live broadcast end firstly carries out data stream preprocessing on the target audio and video data in the target live broadcast end and sends the processed initial audio and video data to a micro control unit in a background server, and the micro control unit carries out confluence, transcoding, encapsulation and the like on the initial audio and video data to generate the target audio and video data and sends the target audio and video data to a to-be-rebroadcast end through the content distribution network server.
Here, the specific process of sending the target audio/video data to the terminal to be relayed may be sending the target audio/video data to the terminal to be relayed through an Http Open Api interface of the background server in a manner of a Websocket, a WebTransport, a WebRTC, a DataChannel, or an Http communication protocol.
S103, acquiring target courseware and painting brush data in the target live broadcast end from a first signaling server matched with the end to be rebroadcast based on the rebroadcast request; the first signaling server is used for acquiring the target courseware and the painting brush data from a second signaling server matched with the target live broadcast end through a forwarding server.
In the step, the background server sends courseware and painting brush rebroadcasting signaling to the rebroadcasting server after receiving courseware and painting brush rebroadcasting signaling in a rebroadcasting request sent by a to-be-rebroadcasting end, after the adaptation is carried out by the rebroadcasting server according to the corresponding rules and formats, the courseware and painting brush rebroadcasting signaling is sent to a second signaling server of the target live broadcasting end by the second signaling server, then the target live broadcasting end sends the target courseware and painting brush data in the target content to the second signaling server adapted to the target service end firstly, then the second signaling server sends the target courseware and the painting brush data to the forwarding server, the second signaling server is matched with the first signaling server of the terminal to be rebroadcast through the secondary packing and analysis processing of the forwarding server, and after the adaptation is determined, the first signaling server broadcasts the target courseware and the paintbrush data to the user side of the live broadcast room to be relayed.
Here, after the user side (the user side refers to a Web browser side, a mobile phone browser side, a PC client side, a Mac client side, a mobile phone App side, an applet side, and the like) acquires courseware and paintbrush relay signaling in a relay request, time information for representing a direct time difference value between target audio and video data and target courseware and paintbrush data is added to the courseware and paintbrush relay signaling, so as to ensure synchronous display between the target audio and video data and the target courseware and paintbrush data, and solve the problem that in the prior art, target content at a target live broadcast side can only be seen in a playback or pseudo live broadcast mode after live broadcast recording at the target live broadcast side is finished, the embodiment provided by the application can realize synchronous relay of target content at the target live broadcast side and play back the target content at the target live broadcast side in real time so as to meet different requirements of an audience in a live broadcast watching process, in addition, the embodiment provided by the application does not need to associate all audiences of the to-be-rebroadcast end to the target live broadcast end, and the effect of watching live broadcast by audiences in the target live broadcast end cannot be influenced.
Further, the relay request includes a courseware with a relay identifier and a brush relay signaling, and step S103 specifically includes:
determining the first signaling server matched with the terminal to be rebroadcast according to the forwarding identifier in the courseware and painting brush rebroadcast signaling, and acquiring the target courseware and painting brush data in the target live broadcast terminal from the first signaling server; the forwarding identifier is used for representing the identity identifier information of the terminal to be relayed.
The background server matches the forwarding identifier in the courseware and painting brush rebroadcasting signaling with a first signaling server identifier mapping table stored in the background server in advance, determines the first signaling server matched with the end to be rebroadcast, sends the courseware and painting brush rebroadcasting signaling comprising a second forwarding identifier to the forwarding server by the first signaling server, and the forwarding server acquires IP address information in the second forwarding identifier, determines a corresponding target live broadcast end according to the IP address information and then sends the corresponding courseware and painting brush rebroadcasting signaling to the target live broadcast end.
The target live broadcast end firstly sends target courseware and painting brush data in target content corresponding to courseware and painting brush relay signaling lines to a second signaling server matched with the target service end, then the second signaling server transmits the target courseware and painting brush data to a forwarding server after being relayed by the relay end, the target courseware and painting brush data are matched with a first signaling server of a to-be-relayed end through secondary packaging and analysis processing of the forwarding server, and after the matching is determined, the target courseware and painting brush data are broadcasted to a user end through the first signaling server.
In the above, the target courseware and brush data include, but are not limited to: and specific operation data after the courseware and painting brush relay signaling operation is targeted.
Furthermore, the courseware and painting brush relay signaling comprises courseware return operation sub signaling, courseware adding operation sub signaling, courseware page turning operation sub signaling, painting brush adding operation sub signaling and painting brush deleting operation sub signaling.
Here, the courseware return operation sub-signaling may specifically be: "doc _ all _ req".
The brush addition operator signaling may specifically be: "shape _ ap pend".
The courseware page turning operation sub-signaling may specifically be: "page _ change".
The brush addition operator signaling may specifically be: "shape _ add".
The brush deletion operator signaling may specifically be: "shape _ delete".
And S104, sending the target audio and video data, the target courseware and the paintbrush data to the to-be-rebroadcast end so as to enable the to-be-rebroadcast end to rebroadcast the target content of the target live broadcast end.
In the step, after acquiring the target audio and video data, the target courseware and the paintbrush data, the first signaling server sends the target audio and video data, the target courseware and the paintbrush data to a terminal to be rebroadcast through an Http Open Api interface for rebroadcast display, wherein the Http Open Api interface includes but is not limited to WebSocket.
Here, the live broadcast display interface of the to-be-rebroadcast end may include, but is not limited to, one to-be-displayed interface, and a to-be-displayed frame is displayed in a superimposed manner on the lower right side of the to-be-displayed interface, the target courseware and the brush data are displayed on the to-be-displayed interface, and the to-be-displayed interface is displayed on the to-be-displayed frame.
The specific position of the frame to be displayed, which is superposed on the interface to be displayed, can be set in a user-defined manner according to different application scenes.
Compared with the prior art, the live broadcast room content rebroadcasting method has the advantages that the communication connection is respectively established between the live broadcast room content rebroadcasting method and the live broadcast room content rebroadcasting method, courseware, painting brush data and audio and video data of a target live broadcast end are rebroadcast in real time, the synchronous rebroadcasting requirement can be met, and further the use experience and experience of audiences are improved.
Referring to fig. 2, fig. 2 is a second flowchart of a method for relaying content in a live broadcast room according to an embodiment of the present application. As shown in fig. 2, a method for relaying content in a live broadcast room provided in an embodiment of the present application includes the following steps:
s201, receiving a rebroadcasting request of a target content in a target live broadcasting end from a to-be-rebroadcast end; the target content comprises target audio and video data, target courseware and painting brush data.
S202, based on the rebroadcasting request, the target audio and video data in the target live broadcast terminal is obtained from a content distribution network server.
S203, acquiring target courseware and painting brush data in the target live broadcast end from a first signaling server matched with the end to be rebroadcast based on the rebroadcast request; the first signaling server is used for acquiring the target courseware and the painting brush data from a second signaling server matched with the target live broadcast end through a forwarding server.
And S204, sending the target audio and video data, the target courseware and the paintbrush data to the to-be-rebroadcast end so as to enable the to-be-rebroadcast end to rebroadcast the target content of the target live broadcast end.
S205, receiving a request for stopping rebroadcasting the target content in the target live broadcast end from the to-be-rebroadcast end.
In this step, after the target live broadcast end finishes live broadcast, or a lesson practitioner in the to-be-relayed end no longer needs the target content in the target live broadcast end, at this time, the lesson practitioner in the to-be-relayed end manually operates the to-be-relayed end, and sends a request for stopping relay broadcast to the background server, so as to stop relay broadcast of the target content in the target live broadcast end.
S206, according to the request for stopping rebroadcasting, stopping rebroadcasting the target content of the target live broadcasting end at the end to be rebroadcast, and live broadcasting the live broadcasting content of the end to be rebroadcast at the end to be rebroadcast.
In this step, after the background server stops receiving the request for stopping rebroadcasting and stops sending the target content of the target live broadcasting end to the to-be-rebroadcasting end, the teaching practitioner of the to-be-rebroadcasting end controls the to-be-rebroadcasting end to continue to live the live broadcasting content of the to-be-rebroadcasting end or directly closes the to-be-rebroadcasting end.
The descriptions of S201 to S204 may refer to the descriptions of S101 to S104, and the same technical effects can be achieved, which are not described in detail herein.
Compared with the prior art, the live broadcast room content rebroadcasting method has the advantages that the communication connection is respectively established between the live broadcast room content rebroadcasting method and the live broadcast room content rebroadcasting method, courseware, painting brush data and audio and video data of a target live broadcast end are rebroadcast in real time, the synchronous rebroadcasting requirement can be met, and further the use experience and experience of audiences are improved.
According to the embodiment provided by the application, the target audio and video data and the target courseware and painting brush data are synchronously relayed through interaction of the background server, the content distribution network server and the forwarding server, and the defect that in the prior art, only a single audio and video of a target live broadcast end can be obtained through a single content distribution network server, but shared courseware and painting brush data cannot be synchronously obtained is overcome.
Because the content distribution network server and the forwarding server in the embodiment provided by the application both have the function of automatic capacity expansion, the embodiment provided by the application can realize that a plurality of terminals to be rebroadcast simultaneously rebroadcast target content in the same target live broadcast terminal while utilizing the background server to interact with the content distribution network server and the forwarding server, is not limited by the capacity of the target live broadcast terminal, and solves the problem of capacity limitation caused by the need of switching all listeners in the terminals to be rebroadcast to the target live broadcast terminal in the prior art.
The embodiment that this application provided can realize the target content in the live end of synchronous rebroadcast target, and carry out real-time playback to the target content in the live end of target, with satisfy the audience and watching the different demands of live process, and the embodiment that this application provided also need not to wait to rebroadcast the whole associations of audience of end to the live end of target, can not influence the effect that audiences watched the live in the live end of target, it can only after the live of the live end of target is recorded to have solved among the prior art, just can see the difficult problem of the target content of the live end of target through the form of playback or pseudo-live.
Referring to fig. 3, fig. 3 is a flowchart illustrating an embodiment of a method for relaying content in a live broadcast room according to an embodiment of the present application, where as shown in fig. 3, the method includes the following steps:
assume that the target live broadcast terminal is a live broadcast room A and the terminal to be rebroadcast is a live broadcast room B.
First, the live broadcast room B sends a request for inquiring the relay status to the live broadcast room a.
And judging whether the live broadcast room A is in rebroadcasting.
If not, receiving a trigger request of the target content of the live broadcast room B; if yes, whether the rebroadcasting function of the live broadcasting room A is started successfully or not is judged.
And receiving a rebroadcasting request of the target content of the live broadcast room B after the rebroadcasting function of the live broadcast room A is successfully started.
And respectively acquiring an audio and video acquisition signaling, courseware and paintbrush rebroadcasting signaling in the rebroadcasting request, and sending the audio and video acquisition signaling, the courseware and paintbrush rebroadcasting signaling to a live broadcasting room A.
And the live broadcast room A sends the target audio and video data to the live broadcast room B through the micro control unit.
And the live broadcast room A sends the target courseware and the brush data to the live broadcast room B through the forwarding server and the second signaling server.
Referring to fig. 4 and 5, fig. 4 is a first schematic structural diagram of a background server provided in the embodiment of the present application, and fig. 5 is a second schematic structural diagram of a background server provided in the embodiment of the present application. As shown in fig. 4, the background server 400 includes:
a receiving module 420, configured to receive a request for relaying a target content in a target live broadcast end by a to-be-relayed end; the target content comprises target audio and video data, target courseware and painting brush data.
An obtaining module 430, configured to obtain the target audio and video data in the target live broadcast end from a content distribution network server.
A forwarding module 440, configured to obtain, based on the rebroadcasting request, target courseware and brush data in the target live broadcast end from a first signaling server adapted to the end to be rebroadcast; the first signaling server is used for acquiring the target courseware and the painting brush data from a second signaling server matched with the target live broadcast end through a forwarding server.
The display module 450 is configured to send the target audio and video data, the target courseware and the paintbrush data to the to-be-rebroadcast end, so that the to-be-rebroadcast end rebroadcasts the target content of the target live broadcast end.
Further, the relay request includes a courseware and a brush relay signaling with a relay identifier, and the obtaining, in the relay request, target courseware and brush data in the target live broadcast end from a first signaling server adapted to the end to be relayed in the relay module 440 includes:
determining the first signaling server matched with the terminal to be rebroadcast according to the forwarding identifier in the courseware and painting brush rebroadcast signaling, and acquiring the target courseware and painting brush data in the target live broadcast terminal from the first signaling server; the forwarding identifier is used for representing the identity identifier information of the terminal to be relayed.
Furthermore, the courseware and painting brush relay signaling comprises courseware return operation sub signaling, courseware adding operation sub signaling, courseware page turning operation sub signaling, painting brush adding operation sub signaling and painting brush deleting operation sub signaling.
Compared with the prior art, the background server 400 provided by the embodiment of the application is in communication connection with the content distribution network server and the forwarding server respectively, so that courseware, painting brush data and audio and video data of a target live broadcast end can be relayed in real time, the requirement of synchronous relay can be met, and further the use experience and experience of audiences are improved.
As shown in fig. 5, fig. 5 is a second schematic structural diagram of a backend server according to the embodiment of the present application, where the backend server 400 includes:
the query module 410 is configured to receive a query request of the target live broadcast end for the rebroadcast state of the to-be-rebroadcast end; and determining whether the target content of the target live broadcast end is currently broadcasted by the target broadcast end according to the query request.
And if so, directly receiving a rebroadcasting request of the target content in the target live broadcast end from the to-be-rebroadcast end.
If not, receiving a trigger request of the target content in the target live broadcast end from the to-be-relayed end; and judging whether the rebroadcasting function of the target live broadcast terminal is successfully started or not according to the trigger request.
And if so, receiving the rebroadcasting request of the target content in the target live broadcast end from the to-be-rebroadcast end.
A receiving module 420, configured to receive a request for relaying a target content in a target live broadcast end by a to-be-relayed end; the target content comprises target audio and video data, target courseware and painting brush data.
An obtaining module 430, configured to obtain the target audio and video data in the target live broadcast end from a content distribution network server.
A forwarding module 440, configured to obtain, based on the rebroadcasting request, target courseware and brush data in the target live broadcast end from a first signaling server adapted to the end to be rebroadcast; the first signaling server is used for acquiring the target courseware and the painting brush data from a second signaling server matched with the target live broadcast end through a forwarding server.
The display module 450 is configured to send the target audio and video data, the target courseware and the paintbrush data to the to-be-rebroadcast end, so that the to-be-rebroadcast end rebroadcasts the target content of the target live broadcast end.
A stopping module 460, configured to receive a request for stopping the relay of the target content in the target live broadcast end from the to-be-relayed end.
And the target content of the target live broadcast end is stopped being rebroadcast at the end to be rebroadcast according to the request for stopping rebroadcast, and the live broadcast content of the end to be rebroadcast is live broadcast at the rebroadcast end.
Compared with the prior art, the background server 400 provided by the embodiment of the application is in communication connection with the content distribution network server and the forwarding server respectively, so that courseware, painting brush data and audio and video data of a target live broadcast end can be relayed in real time, the requirement of synchronous relay can be met, and further the use experience and experience of audiences are improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in fig. 6, the electronic device 600 includes a processor 610, a memory 620, and a bus 630.
The memory 620 stores machine-readable instructions executable by the processor 610, when the electronic device 600 runs, the processor 610 communicates with the memory 620 through the bus 630, and when the machine-readable instructions are executed by the processor 610, the steps of the live broadcast content rebroadcasting method in the method embodiments shown in fig. 1 and fig. 2 may be performed.
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the step of the live broadcast room content rebroadcasting method in the method embodiments shown in fig. 1 and fig. 2 may be executed.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present application and are intended to be covered by the appended claims. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for rebroadcasting content in a live broadcast room is applied to a background server, and is characterized in that the method for rebroadcasting the content in the live broadcast room comprises the following steps:
receiving a rebroadcasting request of a target content in a target live broadcasting end from a to-be-rebroadcast end; the target content comprises target audio and video data, target courseware and painting brush data;
based on the rebroadcasting request, acquiring the target audio and video data in the target live broadcast terminal from a content distribution network server;
based on the rebroadcasting request, acquiring target courseware and painting brush data in the target live end from a first signaling server matched with the end to be rebroadcast; the first signaling server is used for acquiring the target courseware and the painting brush data from a second signaling server matched with the target live broadcast end through a forwarding server;
and sending the target audio and video data, the target courseware and the paintbrush data to the to-be-rebroadcast end so as to enable the to-be-rebroadcast end to rebroadcast the target content of the target live broadcast end.
2. The method for relaying content in a live broadcast room as claimed in claim 1, wherein the receiving of the request for relaying the target content in the target live broadcast end from the terminal to be relayed comprises:
receiving a request for inquiring the rebroadcasting state of the target live broadcasting end by the to-be-rebroadcasting end;
determining whether target content of a target live broadcast end is being broadcast by a target broadcast end or not according to the query request;
and if so, directly receiving a rebroadcasting request of the target content in the target live broadcast end from the to-be-rebroadcast end.
3. The method of claim 2, wherein after determining whether the target content of the target live broadcast end is being broadcast by the target live broadcast end according to the query request, the method further comprises:
if not, receiving a trigger request of the target content in the target live broadcast end from the to-be-relayed end;
judging whether a rebroadcasting function of the target live broadcast end is started successfully or not according to the trigger request;
and if so, receiving the rebroadcasting request of the target content in the target live broadcasting end from the to-be-rebroadcast end.
4. The method for relaying content in a live broadcast room according to claim 1, wherein the relay request includes a courseware and brush relay signaling with a relay identifier, and the obtaining of target courseware and brush data in the target live broadcast end from a first signaling server adapted to the end to be relayed based on the relay request includes:
determining the first signaling server matched with the terminal to be rebroadcast according to the forwarding identifier in the courseware and painting brush rebroadcast signaling, and acquiring the target courseware and painting brush data in the target live broadcast terminal from the first signaling server; the forwarding identifier is used for representing the identity identifier information of the terminal to be relayed.
5. The method of claim 4, wherein the courseware and brush relay signaling comprises courseware return operation sub-signaling, courseware add operation sub-signaling, courseware page turn operation sub-signaling, brush add operation sub-signaling, and brush delete operation sub-signaling.
6. The method for relaying content in a live broadcast room according to claim 1, wherein after the target audio/video data, the target courseware and the paintbrush data are sent to the terminal to be relayed, the method for relaying content in a live broadcast room further comprises:
receiving a request for stopping rebroadcasting of the target content in the target live broadcast end by the to-be-rebroadcast end;
and according to the request for stopping rebroadcasting, stopping rebroadcasting the target content of the target live broadcasting end at the end to be rebroadcast, and live broadcasting the live broadcasting content of the end to be rebroadcast at the rebroadcasting end.
7. A backend server, characterized in that the backend server comprises:
the receiving module is used for receiving a rebroadcasting request of a target content in a target live broadcasting end from a to-be-rebroadcasting end; the target content comprises target audio and video data, target courseware and paintbrush data;
the acquisition module is used for acquiring the target audio and video data in the target live broadcast end from a content distribution network server;
the forwarding module is used for acquiring target courseware and painting brush data in the target live broadcast end from a first signaling server matched with the end to be relayed based on the relay request; the first signaling server is used for acquiring the target courseware and the painting brush data from a second signaling server matched with the target live broadcast end through a forwarding server;
and the display module is used for sending the target audio and video data, the target courseware and the paintbrush data to the to-be-rebroadcast end so as to enable the to-be-rebroadcast end to rebroadcast the target content of the target live broadcast end.
8. A backend server according to claim 7, wherein the backend server further comprises:
a stopping module, configured to receive a request for stopping rebroadcasting of the target content in the target live broadcasting end from the to-be-rebroadcast end;
and the live broadcasting device is also used for stopping the target content of the target live broadcasting end from being rebroadcast at the end to be rebroadcast according to the request for stopping rebroadcast and live broadcasting the live broadcasting content of the end to be rebroadcast at the rebroadcast end.
9. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when the electronic device is operating, the machine-readable instructions being executable by the processor to perform the steps of the method of relaying live-room content as claimed in any one of claims 1 to 6 above.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, performs the steps of the method for relaying content as claimed in any of the claims 1 to 6.
CN202211043866.1A 2022-08-30 2022-08-30 Live broadcast room content rebroadcasting method, background server and electronic equipment Active CN115119011B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211043866.1A CN115119011B (en) 2022-08-30 2022-08-30 Live broadcast room content rebroadcasting method, background server and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211043866.1A CN115119011B (en) 2022-08-30 2022-08-30 Live broadcast room content rebroadcasting method, background server and electronic equipment

Publications (2)

Publication Number Publication Date
CN115119011A true CN115119011A (en) 2022-09-27
CN115119011B CN115119011B (en) 2022-11-01

Family

ID=83336442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211043866.1A Active CN115119011B (en) 2022-08-30 2022-08-30 Live broadcast room content rebroadcasting method, background server and electronic equipment

Country Status (1)

Country Link
CN (1) CN115119011B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117097705A (en) * 2023-10-21 2023-11-21 北京蔚领时代科技有限公司 Audio and video transmission method and system based on WebTransport

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020032784A1 (en) * 1998-03-25 2002-03-14 Community Learning And Information Network Computer architecture for managing courseware in a shared use operating environment
CN110570698A (en) * 2019-08-21 2019-12-13 北京大米科技有限公司 Online teaching control method and device, storage medium and terminal
CN111447456A (en) * 2019-08-21 2020-07-24 广州视源电子科技股份有限公司 Courseware operation method, computer equipment and storage medium
CN112492327A (en) * 2020-10-19 2021-03-12 深圳点猫科技有限公司 Online education double-live-broadcast-room user migration method and device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020032784A1 (en) * 1998-03-25 2002-03-14 Community Learning And Information Network Computer architecture for managing courseware in a shared use operating environment
CN110570698A (en) * 2019-08-21 2019-12-13 北京大米科技有限公司 Online teaching control method and device, storage medium and terminal
CN111447456A (en) * 2019-08-21 2020-07-24 广州视源电子科技股份有限公司 Courseware operation method, computer equipment and storage medium
CN112492327A (en) * 2020-10-19 2021-03-12 深圳点猫科技有限公司 Online education double-live-broadcast-room user migration method and device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117097705A (en) * 2023-10-21 2023-11-21 北京蔚领时代科技有限公司 Audio and video transmission method and system based on WebTransport
CN117097705B (en) * 2023-10-21 2024-01-16 北京蔚领时代科技有限公司 Audio and video transmission method and system based on WebTransport

Also Published As

Publication number Publication date
CN115119011B (en) 2022-11-01

Similar Documents

Publication Publication Date Title
US9148756B2 (en) Output of content from the internet on a media rendering device
CN105335112B (en) Multi-screen display information processing and main control end content sending method and device
EP2940940B1 (en) Methods for sending and receiving video short message, apparatus and handheld electronic device thereof
US7996538B2 (en) Information processing apparatus and content information processing method for transmitting content and event information to a client
CN112073758B (en) Cloud desktop screen projection method and device, computer equipment, computer readable storage medium and cloud desktop screen projection interaction system
CN112073754B (en) Cloud game screen projection method and device, computer equipment, computer readable storage medium and cloud game screen projection interaction system
CN105656910B (en) Media transmission server, media transmission system, user terminal and media transmission method
WO2015191627A1 (en) Media projection method and device, control terminal and cloud server
EP2533544A1 (en) Method and system for implementing message service in interactive iptv
JP6580132B2 (en) Method and apparatus for providing information associated with media content
EP2933982A1 (en) Media stream transfer method and user equipment
US20060206561A1 (en) Personal multimedia on-line broadcasting system and method thereof
CN111107390B (en) Live broadcast service system and live broadcast connection establishment method
CN103167327A (en) Method, device and system of information interaction
CN115119011B (en) Live broadcast room content rebroadcasting method, background server and electronic equipment
WO2015180446A1 (en) System and method for maintaining connection channel in multi-device interworking service
CN105530523B (en) A kind of service implementation method and equipment
JP5495386B2 (en) Content reproduction method, content distribution apparatus, terminal and program for changing presentation method of advertisement information
CN106921634B (en) Multimedia stream multicast method and device
CN102685599B (en) TV program interaction system and method
CN114025244A (en) Audio and video pushing method, device, equipment and computer readable storage medium
CN112714131A (en) Cross-platform microphone connecting method and device, storage medium and electronic equipment
CN104469414A (en) Information system, information put-in method and IPTV system based on multi-screen interaction
CN111884905A (en) Message management method and system
CN105721885B (en) Method, device and system for processing transcoding data

Legal Events

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