CN114900707A - Live broadcasting method and system - Google Patents

Live broadcasting method and system Download PDF

Info

Publication number
CN114900707A
CN114900707A CN202210427392.4A CN202210427392A CN114900707A CN 114900707 A CN114900707 A CN 114900707A CN 202210427392 A CN202210427392 A CN 202210427392A CN 114900707 A CN114900707 A CN 114900707A
Authority
CN
China
Prior art keywords
content
live
server
anchor
demand
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
CN202210427392.4A
Other languages
Chinese (zh)
Other versions
CN114900707B (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.)
Hunan Happly Sunshine Interactive Entertainment Media Co Ltd
Original Assignee
Hunan Happly Sunshine Interactive Entertainment Media 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 Hunan Happly Sunshine Interactive Entertainment Media Co Ltd filed Critical Hunan Happly Sunshine Interactive Entertainment Media Co Ltd
Priority to CN202210427392.4A priority Critical patent/CN114900707B/en
Publication of CN114900707A publication Critical patent/CN114900707A/en
Application granted granted Critical
Publication of CN114900707B publication Critical patent/CN114900707B/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/242Synchronization processes, e.g. processing of PCR [Program Clock References]
    • 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
    • H04N21/43076Synchronising 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 of the same content streams on multiple devices, e.g. when family members are watching the same movie on different devices
    • 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/47202End-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 content on demand, e.g. video on demand

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The live broadcasting method and system can enable a user client to synchronously play a first live broadcasting content and a second live broadcasting content, realize that different anchor broadcasters and users can simultaneously watch on-demand contents with consistent progress and contents of a plurality of anchor broadcasters and live microphones, and improve live broadcasting interactivity.

Description

Live broadcasting method and system
Technical Field
The present application relates to the field of computer technologies, and in particular, to a live broadcast method and system.
Background
Currently, a main viewing video is generally a single main live video, which interacts with the audience.
However, the live broadcast method has a problem of poor interactivity.
Disclosure of Invention
In order to solve the above technical problems, embodiments of the present application provide a live broadcast method and system to achieve the purpose of improving live broadcast interactivity, and the technical scheme is as follows:
one aspect of the present application provides a live broadcast method, including:
the method comprises the steps that a service server responds to a video-on-demand request of at least one anchor client, a video-on-demand address is obtained from the video-on-demand request, and first attribute information and second attribute information of current video-on-demand content corresponding to the video-on-demand address are obtained, wherein the first attribute information is used for representing an identifier of the current video-on-demand content, and the second attribute information is used for representing the playing progress and the playing state of the current video-on-demand content;
the business server sends the first attribute information to at least one anchor client and sends the second attribute information to a first forwarding direct broadcasting server;
the anchor client acquires on-demand content based on the first attribute information, and sends the on-demand content to the first forward-push direct-play server, so that the first forward-push direct-play server acquires target on-demand content matched with the second attribute information from the on-demand content, converts the target on-demand content into first direct-play content, and pushes the first direct-play content to a target content distribution network server;
the anchor client sends anchor wheat connecting content of the anchor client in a wheat connecting state to a second forward-push live broadcast server, so that the second forward-push live broadcast server converts the anchor wheat connecting content of one anchor client into second live broadcast content or combines and converts the anchor wheat connecting content of a plurality of anchor clients into second live broadcast content, and the second live broadcast content is pushed to the target content distribution network server;
and the user client acquires the first live content and the second live content from the target content distribution network server and plays the first live content and the second live content.
Optionally, the sending, by the service server, the first attribute information to at least one anchor client includes:
and the service server sends the first attribute information to the anchor client through a first long connection signaling channel.
Optionally, the sending the second attribute information to the first forwarding direct broadcasting server includes:
and sending the second attribute information to the first forwarding direct broadcasting server through a second long connection signaling channel.
Optionally, the sending the on-demand content to a first push-through server includes:
and sending the on-demand content to a first forwarding direct broadcasting server through a first data channel.
Optionally, the method for sending the anchor wheat-connecting content of the anchor client in the wheat-connecting state to the second forward-to-push direct-broadcasting server includes:
and the anchor client sends the anchor wheat connecting content in the wheat connecting state to a second forward push direct broadcasting server through a second data channel.
Optionally, the method further includes:
the target content distribution network server determines a delay difference between the first live content and the second live content and sends the delay difference to the user client;
the user client obtains the first live content and the second live content from the target content distribution network server, and plays the first live content and the second live content, including:
and the user client acquires the first direct broadcast content and the second direct broadcast content from the target content distribution network server, performs synchronous processing on the first direct broadcast content and the second direct broadcast content based on the delay difference, and plays the first direct broadcast content and the second direct broadcast content after the synchronous processing.
Optionally, the method further includes:
and the information security server acquires the first live content and/or the second live content from the service server, and sends an illegal correction operation instruction to the service server under the condition that the first live content and/or the second live content are determined to have illegal contents, so that the service server executes illegal correction operation based on the illegal correction operation instruction.
Another aspect of the present application provides a live broadcast system, including:
a service server for:
responding to a video-on-demand request of at least one anchor client, acquiring a video-on-demand address from the video-on-demand request, and acquiring first attribute information and second attribute information of current video-on-demand content corresponding to the video-on-demand address, wherein the first attribute information is used for representing an identifier of the current video-on-demand content, and the second attribute information is used for representing the playing progress and the playing state of the current video-on-demand content;
sending the first attribute information to at least one anchor client, and sending the second attribute information to a first forwarding direct broadcasting server;
the anchor client is used for acquiring on-demand content based on the first attribute information and sending the on-demand content to the first forward-push direct-play server;
the first forward live broadcast server is used for acquiring target on-demand content matched with the second attribute information from the on-demand content, converting the target on-demand content into first direct broadcast content and pushing the first direct broadcast content to a target content distribution network server;
the anchor client is also used for sending the anchor wheat-connecting content of the anchor wheat-connecting client in a wheat-connecting state to a second forward-push direct-broadcasting server;
the second forward-to-push live broadcasting server is used for converting the anchor microphone content of one anchor client into second live broadcasting content or combining and converting the anchor microphone content of a plurality of anchor clients into second live broadcasting content and sending the second live broadcasting content to the target content distribution network server;
the target content distribution network server is used for storing the first live content and the second live content;
and the user client is used for acquiring the first live broadcast content and the second live broadcast content from the target content distribution network server and playing the first live broadcast content and the second live broadcast content.
Optionally, the target content distribution network server is further configured to determine a delay difference between the first live content and the second live content, and send the delay difference to the user client;
the user client is specifically configured to obtain the first live content and the second live content from the target content distribution network server, perform synchronization processing on the first live content and the second live content based on the delay difference, and play the first live content and the second live content after the synchronization processing.
Optionally, the system further includes:
the information security server is used for acquiring the first live broadcast content and/or the second live broadcast content from the service server, and sending an illegal correction operation instruction to the service server under the condition that the first live broadcast content and/or the second live broadcast content are determined to have illegal contents;
and the business server is also used for executing violation correcting operation based on the violation correcting operation instruction. .
Compared with the prior art, the beneficial effect of this application is:
in the application, the service server responds to the on-demand request of at least one anchor client, acquires an on-demand address from the on-demand request, and sends first attribute information of current on-demand content corresponding to the on-demand address to the at least one anchor client, so that the at least one anchor client can acquire the on-demand content based on the first attribute information and send the on-demand content to the first forward broadcast server, the first forward broadcast server acquires target on-demand content matched with the second attribute information from the on-demand content, converts the target on-demand content into first on-demand content, can ensure that the first on-demand content obtained by converting the on-demand content of each anchor client is consistent, and ensures that each anchor client is synchronized with live broadcast.
And the anchor client side obtains the anchor wheat connecting content and sends the anchor wheat connecting content to the second forward push server, and the second forward push direct broadcast server combines and converts the anchor wheat connecting content of at least one anchor client side into second direct broadcast content, so that a plurality of anchor client side wheat connecting direct broadcasts are supported.
On the basis, the first live content and the second live content are pushed to the same content distribution network server, so that the user client can synchronously play the first live content and the second live content, different anchor broadcasters and users can simultaneously watch on-demand content with consistent progress and content of a plurality of anchor broadcasters connecting with the wheat, and the live interactivity is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a live broadcast method embodiment 1 provided in the present application;
fig. 2 is a schematic view of an implementation scenario of a live broadcast method provided in the present application;
fig. 3 is a schematic view of another implementation scenario of a live broadcasting method provided in the present application;
fig. 4 is a flowchart of a live broadcast method embodiment 2 provided by the present application;
fig. 5 is a flowchart of a live broadcast method embodiment 3 provided by the present application;
fig. 6 is a flowchart of a live broadcast method embodiment 4 provided in the present application;
fig. 7 is a flowchart of a live broadcast method embodiment 5 provided by the present application;
fig. 8 is a schematic view of still another implementation scenario of a live broadcasting method provided in the present application;
fig. 9 is a schematic structural diagram of a live broadcast system provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Referring to fig. 1, a flow chart of a data processing method provided in embodiment 1 of the present application is schematically illustrated, and as shown in fig. 1, the method may include, but is not limited to, the following steps:
step S11, the service server responds to the on-demand request of at least one anchor client, obtains an on-demand address from the on-demand request, and obtains first attribute information and second attribute information of the current on-demand content corresponding to the on-demand address, where the first attribute information is used to represent an identifier of the current on-demand content, and the second attribute information is used to represent a playing progress and a playing state of the current on-demand content.
In this embodiment, the anchor client may request the service server to create a room and/or request a credential for connecting to a wheat (usegsSig), as shown in fig. 2, the service server determines a room that the anchor client can enter, and sends an identifier of the room that the anchor client can enter and/or usegsSig to the anchor client through an mqtt message, the anchor client enters the room based on the identifier of the room, and the anchor client may send an on-demand request to the service server after entering the room, and/or the anchor client may connect to a wheat with another anchor client based on usegsSig. Accordingly, the service server responds to the on-demand request of the anchor client.
In this embodiment, the service server may store the first attribute information and the second attribute information of the current on-demand content corresponding to different on-demand addresses. The first attribute information is used for representing the identifier of the current on-demand content, and the second attribute information is used for representing the playing progress and the playing state of the current on-demand content.
The second attribute information may be obtained by synchronizing the corresponding anchor client to the service server and storing the second attribute information by the service server.
The play status may include, but is not limited to: a paused state or a playing state.
Step S12, the service server sends the first attribute information to at least one anchor client, and sends the second attribute information to a first forwarding direct broadcasting server.
The service server may further respond to a room operation instruction of the anchor client to control the anchor client to perform a room control operation, such as exiting a room or prohibiting the play of the anchor client in the room.
Step S13, the anchor client obtains the on-demand content based on the first attribute information, and sends the on-demand content to a first forward-push live broadcast server, so that the first forward-push live broadcast server obtains a target on-demand content matched with the second attribute information from the on-demand content, converts the target on-demand content into a first live broadcast content, and pushes the first live broadcast content to a target content distribution network server.
The anchor client may obtain the on-demand content from the on-demand server based on the first attribute information. Specifically, on-demand content matching the first attribute information is acquired from the on-demand server.
For each anchor client, the service server sends the same second attribute information within a certain time range to the first forward-push direct-broadcast server, so that the first forward-push direct-broadcast server can acquire target on-demand contents matched with the second attribute information from the on-demand contents, and the target on-demand contents corresponding to each anchor client are consistent.
As shown in fig. 2, the first push-to-talk live server may use the first rtc data parsing service to perform bypass monitoring on rtc where the room where the anchor client is located, obtain on-demand content of the anchor client, use the first rtc data parsing service to obtain target on-demand content matched with the second attribute information from the on-demand content, convert the target on-demand content into first on-demand content, establish a first mcu (micro control unit) node, and push the first on-demand content to the target content distribution network server through the first mcu node.
rtc may be understood as a local area network.
Step S14, the anchor client sends the anchor wheat-connecting content of the anchor client in the wheat-connecting state to a second relay direct broadcast server, so that the second relay direct broadcast server converts the anchor wheat-connecting content of one anchor client into a second live broadcast content or combines and converts the anchor wheat-connecting contents of a plurality of anchor clients into a second live broadcast content, and pushes the second live broadcast content to the target content distribution network server.
The anchor client can enter a wheat connecting state and send the anchor wheat connecting content in the wheat connecting state to a second push-to-talk direct broadcasting server.
The microphone-connected state may include, but is not limited to: audio connected with the microphone state or video connected with the microphone state.
Merging and converting the anchor content of a plurality of the anchor clients into a second live content, can be understood as: and merging the anchor connecting contents of a plurality of anchor clients into one data stream, and converting the data stream into second live broadcast content.
As shown in fig. 2, the second push-to-talk direct broadcasting server may use a second rtc data parsing service to perform bypass monitoring on rtc of a room where a main broadcasting client is located, acquire main broadcasting connecting microphone content of the main broadcasting client in a microphone connecting state, use the second rtc data parsing service to acquire target on-demand content matched with the second attribute information from the on-demand content, convert the main broadcasting connecting microphone content of one main broadcasting client into second live broadcast content or combine and convert the main broadcasting connecting microphone content of a plurality of main broadcasting clients into second live broadcast content, establish a second mcu (micro control unit) node, and push the second live broadcast content to a target content distribution network server through the second mcu node.
Step S15, the user client obtains the first live content and the second live content from the target content distribution network server, and plays the first live content and the second live content.
In this embodiment, the user client obtains the first live content and the second live content from the target content distribution network server, and plays the first live content and the second live content, so that the user can watch live broadcasts including the first live content and the second live content through the user client.
Specifically, as shown in fig. 2, the user client may send a request for acquiring live content to the service server, the service server acquires a live content acquisition address from the target content distribution network server, and sends the live content acquisition address to the user client, and the user client acquires the first live content and the second live content from the target content distribution network server based on the live content acquisition address.
The user client can obtain an operation instruction of a user, send the operation instruction to the service server, the service server sends the operation instruction to the first forward-push direct-play server, and the first forward-push direct-play server responds to the operation instruction of the user to perform on-demand operation on the first direct-play content, such as pausing, using fixed-frame streaming, continuing to push a paused frame using live streaming, searching a key frame during seek or playing from a key frame playing time point, and the like.
In this embodiment, the service server responds to a request of at least one anchor client, acquires a request address from the request, and sends first attribute information of current request content corresponding to the request address to the at least one anchor client, so that the at least one anchor client can acquire the request content based on the first attribute information and send the request content to the first push-through server, the first push-through server acquires target request content matched with the second attribute information from the request content, converts the target request content into first direct content, can ensure that the first direct content obtained by converting the request content of each anchor client is consistent, and ensures that each anchor client is synchronized with live broadcast.
And the anchor client side obtains the anchor wheat connecting content and sends the anchor wheat connecting content to the second forward push server, and the second forward push direct broadcast server combines and converts the anchor wheat connecting content of at least one anchor client side into second direct broadcast content, so that a plurality of anchor client side wheat connecting direct broadcasts are supported.
On the basis, the first live content and the second live content are sent to the same content distribution network server, so that the user client can synchronously play the first live content and the second live content, different anchor broadcasters and users can simultaneously watch on-demand content with consistent progress and content of a plurality of anchor broadcasters with continuous wheat, and the live interactivity is improved. For example, as shown in fig. 3, the service server responds to the on-demand requests of the anchor client 1 and the anchor client 2, acquires an on-demand address from the on-demand requests, and sends first attribute information of current on-demand content corresponding to the on-demand address to the anchor client 1 and the anchor client 2, the anchor clients 1 and 2 acquire on-demand content based on the first attribute information and send the on-demand content to the first push direct broadcasting server, the first push direct broadcasting server acquires target on-demand content matched with the second attribute information from the on-demand content, and converts the target on-demand content into the first direct broadcasting content, which can ensure that the first direct broadcasting content obtained by converting the on-demand content of the anchor clients 1 and 2 is consistent, and ensure that the anchor clients 1 and 2 broadcast synchronously. And the anchor clients 1 and 2 respectively obtain respective anchor connecting wheat contents, and push the respective anchor connecting wheat contents to a second forward-push server, and the second forward-push direct-broadcast server combines and converts the anchor connecting wheat contents of the anchor client 1 into second direct-broadcast contents, so that the direct-broadcast of a plurality of anchor clients is supported. On the basis, the first live content and the second live content are sent to the same content distribution network server, so that the user client can synchronously play the first live content and the second live content, different anchor broadcasters and users can simultaneously watch on-demand content with consistent progress and content of a plurality of anchor broadcasters with continuous wheat, and the live interactivity is improved.
As another optional embodiment of the present application, as shown in fig. 4, a flow diagram of an embodiment 2 of a live broadcast method provided by the present application is provided, where this embodiment mainly relates to a refinement scheme of the live broadcast method described in the foregoing embodiment 1, and the method may include, but is not limited to, the following steps:
step S21, the service server responds to the on-demand request of at least one anchor client, obtains an on-demand address from the on-demand request, and obtains first attribute information and second attribute information of the current on-demand content corresponding to the on-demand address, where the first attribute information is used to represent an identifier of the current on-demand content, and the second attribute information is used to represent a playing progress and a playing state of the current on-demand content.
The detailed process of step S21 can be referred to the related description of step S11 in embodiment 1, and is not repeated here.
Step S22, the service server sends the first attribute information to the anchor client through a first long connection signaling channel, and sends the second attribute information to a first forwarding direct broadcasting server through a second long connection signaling channel.
Step S22 is a specific implementation manner of step S12 in example 1.
Step S23, the anchor client obtains the on-demand content based on the first attribute information, and sends the on-demand content to a first forward-push live broadcast server, so that the first forward-push live broadcast server obtains a target on-demand content matched with the second attribute information from the on-demand content, converts the target on-demand content into a first live broadcast content, and pushes the first live broadcast content to a target content distribution network server.
Step S24, the anchor client sends the anchor wheat-connecting content of the anchor client in the wheat-connecting state to a second relay direct broadcast server, so that the second relay direct broadcast server converts the anchor wheat-connecting content of one anchor client into a second live broadcast content or combines and converts the anchor wheat-connecting contents of a plurality of anchor clients into a second live broadcast content, and pushes the second live broadcast content to the target content distribution network server.
Step S25, the user client obtains the first live content and the second live content from the target content distribution network server, and plays the first live content and the second live content.
The detailed procedures of steps S23-S25 can be referred to the related descriptions of steps S13-S15 in embodiment 1, and are not described herein again.
In this embodiment, the service server responds to the on-demand request of at least one anchor client, acquires an on-demand address from the on-demand request, sends first attribute information of current on-demand content corresponding to the on-demand address to the at least one anchor client through a first long connection signaling channel, ensures high efficiency and reliable transmission of the first attribute information, sends second attribute information to a first forward direct broadcasting server through a second long connection signaling channel, ensures high efficiency and reliable transmission of the second attribute information, on the basis, enables the at least one anchor client to acquire on-demand content based on the first attribute information and send the on-demand content to the first forward direct broadcasting server, and the first forward direct broadcasting server acquires target on-demand content matched with the second attribute information from the on-demand content and converts the target on-demand content into first direct broadcasting content, the method and the system can ensure that the first live broadcast contents obtained by converting the on-demand contents of the anchor clients are consistent, and ensure the live broadcast synchronization of the anchor clients.
And the anchor client side obtains the anchor wheat connecting content and sends the anchor wheat connecting content to the second forward push server, and the second forward push direct broadcast server combines and converts the anchor wheat connecting content of at least one anchor client side into second direct broadcast content, so that a plurality of anchor client side wheat connecting direct broadcasts are supported.
On the basis, the first live content and the second live content are sent to the same content distribution network server, so that the user client can synchronously play the first live content and the second live content, different anchor broadcasters and users can simultaneously watch on-demand content with consistent progress and content of a plurality of anchor broadcasters with continuous wheat, and the live interactivity is improved.
As another optional embodiment of the present application, as shown in fig. 5, a flow diagram of an embodiment 3 of a live broadcast method provided by the present application is provided, where the present embodiment mainly relates to a refinement scheme of the live broadcast method described in the foregoing embodiment 1, and the method may include, but is not limited to, the following steps:
step S31, a service server responds to a request of at least one anchor client, acquires a request address from the request, and acquires first attribute information and second attribute information of current request content corresponding to the request address, wherein the first attribute information is used for representing an identifier of the current request content, and the second attribute information is used for representing a playing progress and a playing state of the current request content;
step S32, the service server sends the first attribute information to at least one anchor client, and sends the second attribute information to a first forwarding direct broadcasting server.
Step S33, the anchor client obtains the on-demand content based on the first attribute information, and sends the on-demand content to a first forward-push live broadcast server through a first data channel, so that the first forward-push live broadcast server obtains a target on-demand content matched with the second attribute information from the on-demand content, converts the target on-demand content into a first live broadcast content, and pushes the first live broadcast content to a target content distribution network server.
Step S33 is a specific implementation manner of step S13 in example 1.
Step S34, the anchor client sends the anchor wheat-connecting content of the anchor client in the wheat-connecting state to a second forward-push live broadcast server through a second data channel, so that the second forward-push live broadcast server converts the anchor wheat-connecting content of one anchor client into second live broadcast content or combines and converts the anchor wheat-connecting content of a plurality of anchor clients into second live broadcast content, and pushes the second live broadcast content to the target content distribution network server.
Step S34 is a specific implementation manner of step S14 in example 1.
Step S35, the user client obtains the first live content and the second live content from the target content distribution network server, and plays the first live content and the second live content.
In this embodiment, the anchor client obtains an on-demand content based on the first attribute information, sends the on-demand content to a first forward-push direct-play server through a first data channel, so that the first forward-push direct-play server obtains a target on-demand content matched with the second attribute information from the on-demand content, converts the target on-demand content into a first direct-play content, and pushes the first direct-play content to a target content distribution network server, and the anchor client sends an anchor continuous-wheat content of the anchor client in a continuous-wheat state to a second forward-push direct-play server through a second data channel, so that the second forward-push direct-play server converts the anchor continuous-wheat content of one anchor client into a second direct-play content or combines and converts the anchor continuous-wheat contents of a plurality of anchor clients into a second direct-play content, the second live content is pushed to the target content distribution network server, the first live content and the second live content are synchronized, and meanwhile, the anchor client can independently control and adjust the live content and the anchor connecting content through the first data channel and the second data channel, so that independent scene interaction can be guaranteed, and smooth playing can be guaranteed.
As another optional embodiment of the present application, as shown in fig. 6, a schematic flow diagram of an embodiment 4 of a live broadcasting method provided by the present application is provided, where the present embodiment is mainly an extension of the live broadcasting method described in the foregoing embodiment 1, and the method may include, but is not limited to, the following steps:
step S41, the service server responds to the request from at least one anchor client, obtains a request address from the request, and obtains first attribute information and second attribute information of the current request content corresponding to the request address.
The first attribute information is used for representing the identifier of the current on-demand content, and the second attribute information is used for representing the playing progress and the playing state of the current on-demand content.
Step S42, the service server sends the first attribute information to at least one anchor client, and sends the second attribute information to a first forwarding direct broadcasting server.
Step S43, the anchor client obtains the on-demand content based on the first attribute information, and sends the on-demand content to the first relay direct broadcasting server, so that the first relay direct broadcasting server obtains the target on-demand content matched with the second attribute information from the on-demand content, converts the target on-demand content into the first direct broadcasting content, and pushes the first direct broadcasting content to the target content distribution network server.
Step S44, the anchor client sends the anchor wheat-connecting content of the anchor client in the wheat-connecting state to a second relay direct broadcast server, so that the second relay direct broadcast server converts the anchor wheat-connecting content of one anchor client into a second live broadcast content or combines and converts the anchor wheat-connecting contents of a plurality of anchor clients into a second live broadcast content, and pushes the second live broadcast content to the target content distribution network server.
The detailed procedures of steps S41-S44 can be referred to the related descriptions of steps S11-S14 in embodiment 1, and are not described herein again.
Step S45, the target content distribution network server determines a delay difference between the first live content and the second live content, and sends the delay difference to a user client.
In this implementation, the target content distribution network server may be, but is not limited to: and determining a delay difference between the first target content and the second live content by comparing the first live content and the second live content.
Step S46, the user client obtains the first live content and the second live content from the target content distribution network server, synchronizes the first live content and the second live content based on the delay difference, and plays the synchronized first live content and the synchronized second live content.
And based on the delay difference, after the first live content and the second live content are synchronously processed, the first live content and the second live content keep synchronous.
However, it should be noted that, due to factors such as the inconsistency between the speeds of loading the synchronized first live content and the synchronized second live content by the user client, there is still a delay between the playing of the synchronized first live content and the playing of the synchronized second live content, but the user client can ensure that the delay between the playing of the synchronized first live content and the playing of the synchronized second live content is within a set range, thereby ensuring the viewing experience of the user.
Step S46 is a specific implementation manner of step S15 in example 1.
In this embodiment, the service server responds to a request of at least one anchor client, acquires a request address from the request, and sends first attribute information of current request content corresponding to the request address to the at least one anchor client, so that the at least one anchor client can acquire the request content based on the first attribute information and send the request content to the first push-through server, the first push-through server acquires target request content matched with the second attribute information from the request content, converts the target request content into first direct content, can ensure that the first direct content obtained by converting the request content of each anchor client is consistent, and ensures that each anchor client is synchronized with live broadcast.
And the anchor client side obtains the anchor wheat-connecting content and sends the anchor wheat-connecting content to the second forward-push server, and the second forward-push direct-push server combines and converts the anchor wheat-connecting content of at least one anchor client side into second direct-broadcast content, thereby supporting the direct-broadcast of a plurality of anchor client sides in wheat-connecting mode.
On the basis, the first direct broadcast content and the second direct broadcast content are sent to the same content distribution network server, so that the user client can synchronously play the first direct broadcast content and the second direct broadcast content, different anchor broadcasters and users can simultaneously watch on-demand content with consistent progress and content of a plurality of anchor broadcasters connecting with the microphone, and the direct broadcast interactivity is improved.
And the target content distribution network server determines a delay difference between the first live content and the second live content, sends the delay difference to the user client, and the user client acquires the first live content and the second live content from the target content distribution network server, synchronizes the first live content and the second live content based on the delay difference, plays the synchronized first live content and the synchronized live content, reduces the delay difference between the first live content and the second live content, and further improves user experience.
As another optional embodiment of the present application, as shown in fig. 7, a schematic flow diagram of an embodiment 5 of a live broadcasting method provided by the present application is provided, where the present embodiment is mainly an extension of the live broadcasting method described in the foregoing embodiment 1, and the method may include, but is not limited to, the following steps:
step S51, the service server responds to the request of at least one anchor client, obtains a request address from the request, and obtains first attribute information and second attribute information of the current request content corresponding to the request address.
The first attribute information is used for representing the identifier of the current on-demand content, and the second attribute information is used for representing the playing progress and the playing state of the current on-demand content.
Step S52, the service server sends the first attribute information to at least one anchor client, and sends the second attribute information to a first forwarding direct broadcasting server.
Step S53, the anchor client obtains the on-demand content based on the first attribute information, and sends the on-demand content to the first relay direct broadcasting server, so that the first relay direct broadcasting server obtains the target on-demand content matched with the second attribute information from the on-demand content, converts the target on-demand content into the first direct broadcasting content, and pushes the first direct broadcasting content to the target content distribution network server.
Step S54, the anchor client sends the anchor wheat-connecting content of the anchor client in the wheat-connecting state to a second relay direct broadcast server, so that the second relay direct broadcast server converts the anchor wheat-connecting content of one anchor client into a second live broadcast content or combines and converts the anchor wheat-connecting contents of a plurality of anchor clients into a second live broadcast content, and pushes the second live broadcast content to the target content distribution network server.
Step S55, the user client obtains the first live content and the second live content from the target content distribution network server, and plays the first live content and the second live content.
The detailed procedures of steps S51-S55 can be referred to the related descriptions of steps S11-S15 in embodiment 1, and are not described herein again.
Step S56, the information security server obtains the first live content and/or the second live content from the service server, and sends an illegal correction operation instruction to the service server when it is determined that the first live content and/or the second live content has illegal content, so that the service server executes an illegal correction operation based on the illegal correction operation instruction.
Specifically, as shown in fig. 8, the information security server sends an instruction of violation correction operation to the service server, and the service server executes the violation correction operation based on the instruction of violation correction operation, for example, a broadcast prohibiting operation or an illegal object being removed from a room.
In this embodiment, the service server responds to a request of at least one anchor client, acquires a request address from the request, and sends first attribute information of current request content corresponding to the request address to the at least one anchor client, so that the at least one anchor client can acquire the request content based on the first attribute information and send the request content to the first push-through server, the first push-through server acquires target request content matched with the second attribute information from the request content, converts the target request content into first direct content, can ensure that the first direct content obtained by converting the request content of each anchor client is consistent, and ensures that each anchor client is synchronized with live broadcast.
And the anchor client side obtains the anchor wheat connecting content and sends the anchor wheat connecting content to the second forward push server, and the second forward push direct broadcast server combines and converts the anchor wheat connecting content of at least one anchor client side into second direct broadcast content, so that a plurality of anchor client side wheat connecting direct broadcasts are supported.
On the basis, the first live content and the second live content are sent to the same content distribution network server, so that the user client can synchronously play the first live content and the second live content, different anchor broadcasters and users can simultaneously watch on-demand content with consistent progress and content of a plurality of anchor broadcasters with continuous wheat, and the live interactivity is improved.
And the information security server acquires the first live broadcast content and/or the second live broadcast content from the service server, and sends an illegal correction operation instruction to the service server under the condition that the first live broadcast content and/or the second live broadcast content are determined to have illegal contents, so that the service server executes illegal correction operation based on the illegal correction operation instruction, and the supervision of the live broadcast is enhanced.
Next, a live broadcasting system provided in an embodiment of the present application is introduced, and the live broadcasting system described below and the live broadcasting method described above may be referred to correspondingly.
Referring to fig. 9, the live broadcast system includes: the system comprises a business server 100, an anchor client 200, a first forward-to-live server 300, a second forward-to-live server 400, a target content distribution network server 500 and a user client 600.
A service server 100, configured to:
responding to a video-on-demand request of at least one anchor client 200, acquiring a video-on-demand address from the video-on-demand request, and acquiring first attribute information and second attribute information of current video-on-demand content corresponding to the video-on-demand address, wherein the first attribute information is used for representing an identifier of the current video-on-demand content, and the second attribute information is used for representing a playing progress and a playing state of the current video-on-demand content;
sending the first attribute information to at least one anchor client 200, and sending the second attribute information to a first forwarding live broadcast server 300;
the anchor client 200 is configured to obtain on-demand content based on the first attribute information, and send the on-demand content to the first push-to-live server 300;
the first push-to-live server 300 is configured to obtain a target on-demand content matched with the second attribute information from the on-demand content, convert the target on-demand content into a first direct-to-play content, and push the first direct-to-play content to the target content distribution network server 500;
the anchor client 200 is further configured to send anchor wheat-connecting content of the anchor wheat-connecting client in a wheat-connecting state to the second forward-to-push direct broadcasting server 400;
the second forward-to-push live broadcasting server 400 is configured to convert the anchor live broadcasting content of one anchor client 200 into a second live broadcasting content, or combine and convert the anchor live broadcasting content of a plurality of anchor clients 200 into a second live broadcasting content, and send the second live broadcasting content to the target content distribution network server 500;
the target content distribution network server 500 is configured to store the first live content and the second live content;
the user client 600 is configured to obtain the first live content and the second live content from the target content distribution network server 500, and play the first live content and the second live content.
In this embodiment, the service server 100 may be specifically configured to send the first attribute information to the anchor client 200 through a first long connection signaling channel.
In this embodiment, the service server 100 may be specifically configured to send the second attribute information to the first push-to-live server 300 through a second long connection signaling channel.
In this embodiment, the anchor client 200 may be specifically configured to send the on-demand content to the first push live broadcast server 300 through the first data channel.
In this embodiment, the anchor client 200 may be specifically configured to send the anchor wheat-connecting content in the wheat-connecting state to the second forward-push direct-broadcast server 400 through the second data channel.
In this embodiment, the target content distribution network server 500 may be further configured to determine a delay difference between the first live content and the second live content, and send the delay difference to the user client 600;
the user client 600 is specifically configured to obtain the first live content and the second live content from the target content distribution network server 500, perform synchronization processing on the first live content and the second live content based on the delay difference, and play the synchronized first live content and second live content.
In this embodiment, the live broadcast system may further include:
the information security server is used for acquiring the first live broadcast content and/or the second live broadcast content from the service server, and sending an illegal correction operation instruction to the service server under the condition that the first live broadcast content and/or the second live broadcast content are determined to have illegal contents;
the service server 100 is further configured to execute an illegal correction operation based on the illegal correction operation instruction.
It should be noted that each embodiment is mainly described as a difference from the other embodiments, and the same and similar parts between the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As can be seen from the above description of the embodiments, those skilled in the art will understand that all or part of the steps in the above method embodiments may be implemented by software plus related hardware. Based on such understanding, the technical solutions of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
The above detailed description is given to a live broadcasting method and system provided by the present application, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A live broadcast method, comprising:
the method comprises the steps that a service server responds to a video-on-demand request of at least one anchor client, a video-on-demand address is obtained from the video-on-demand request, and first attribute information and second attribute information of current video-on-demand content corresponding to the video-on-demand address are obtained, wherein the first attribute information is used for representing an identifier of the current video-on-demand content, and the second attribute information is used for representing the playing progress and the playing state of the current video-on-demand content;
the business server sends the first attribute information to at least one anchor client and sends the second attribute information to a first forwarding direct broadcasting server;
the anchor client acquires on-demand content based on the first attribute information, and sends the on-demand content to the first forward-push direct-play server, so that the first forward-push direct-play server acquires target on-demand content matched with the second attribute information from the on-demand content, converts the target on-demand content into first direct-play content, and pushes the first direct-play content to a target content distribution network server;
the anchor client sends anchor wheat connecting content of the anchor client in a wheat connecting state to a second forward-push live broadcast server, so that the second forward-push live broadcast server converts the anchor wheat connecting content of one anchor client into second live broadcast content or combines and converts the anchor wheat connecting content of a plurality of anchor clients into second live broadcast content, and the second live broadcast content is pushed to the target content distribution network server;
and the user client acquires the first live content and the second live content from the target content distribution network server and plays the first live content and the second live content.
2. The method of claim 1, wherein the service server sending the first attribute information to at least one of the anchor clients comprises:
and the service server sends the first attribute information to the anchor client through a first long connection signaling channel.
3. The method of claim 1, wherein the sending the second attribute information to a first forwarding direct broadcasting server comprises:
and sending the second attribute information to the first forwarding direct broadcasting server through a second long connection signaling channel.
4. The method of claim 1, wherein sending the on-demand content to a first push-through server comprises:
and sending the on-demand content to a first forwarding direct broadcasting server through a first data channel.
5. The method of claim 1, wherein the anchor client sends its anchor barley content in a barley-connected state to a second push-to-talk server, comprising:
and the anchor client sends the anchor wheat connecting content in the wheat connecting state to a second forward push direct broadcasting server through a second data channel.
6. The method of claim 1, further comprising:
the target content distribution network server determines a delay difference between the first live content and the second live content and sends the delay difference to the user client;
the user client obtains the first live content and the second live content from the target content distribution network server, and plays the first live content and the second live content, including:
and the user client acquires the first live content and the second live content from the target content distribution network server, synchronizes the first live content and the second live content based on the delay difference, and plays the synchronized first live content and the synchronized second live content.
7. The method of claim 1, further comprising:
and the information security server acquires the first live content and/or the second live content from the service server, and sends an illegal correction operation instruction to the service server under the condition that the first live content and/or the second live content are determined to have illegal contents, so that the service server executes illegal correction operation based on the illegal correction operation instruction.
8. A live broadcast system, comprising:
a service server for:
responding to a video-on-demand request of at least one anchor client, acquiring a video-on-demand address from the video-on-demand request, and acquiring first attribute information and second attribute information of current video-on-demand content corresponding to the video-on-demand address, wherein the first attribute information is used for representing an identifier of the current video-on-demand content, and the second attribute information is used for representing the playing progress and the playing state of the current video-on-demand content;
sending the first attribute information to at least one anchor client, and sending the second attribute information to a first forwarding direct broadcasting server;
the anchor client is used for acquiring on-demand content based on the first attribute information and sending the on-demand content to the first forward-push direct-play server;
the first forward live broadcast server is used for acquiring target on-demand content matched with the second attribute information from the on-demand content, converting the target on-demand content into first direct broadcast content and pushing the first direct broadcast content to a target content distribution network server;
the anchor client is also used for sending the anchor wheat-connecting content of the anchor wheat-connecting client in a wheat-connecting state to a second forward-push direct-broadcasting server;
the second forward-to-push live broadcasting server is used for converting the anchor microphone content of one anchor client into second live broadcasting content or combining and converting the anchor microphone content of a plurality of anchor clients into second live broadcasting content and sending the second live broadcasting content to the target content distribution network server;
the target content distribution network server is used for storing the first live content and the second live content;
and the user client is used for acquiring the first live broadcast content and the second live broadcast content from the target content distribution network server and playing the first live broadcast content and the second live broadcast content.
9. The system of claim 8, wherein the target content distribution network server is further configured to determine a delay difference between the first live content and the second live content, and send the delay difference to the user client;
the user client is specifically configured to obtain the first live content and the second live content from the target content distribution network server, perform synchronization processing on the first live content and the second live content based on the delay difference, and play the first live content and the second live content after the synchronization processing.
10. The system of claim 8, further comprising:
the information security server is used for acquiring the first live broadcast content and/or the second live broadcast content from the service server, and sending an illegal correction operation instruction to the service server under the condition that the first live broadcast content and/or the second live broadcast content are determined to have illegal contents;
and the business server is also used for executing violation correcting operation based on the violation correcting operation instruction.
CN202210427392.4A 2022-04-22 2022-04-22 Live broadcast method and system Active CN114900707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210427392.4A CN114900707B (en) 2022-04-22 2022-04-22 Live broadcast method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210427392.4A CN114900707B (en) 2022-04-22 2022-04-22 Live broadcast method and system

Publications (2)

Publication Number Publication Date
CN114900707A true CN114900707A (en) 2022-08-12
CN114900707B CN114900707B (en) 2024-02-20

Family

ID=82718167

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210427392.4A Active CN114900707B (en) 2022-04-22 2022-04-22 Live broadcast method and system

Country Status (1)

Country Link
CN (1) CN114900707B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115460431A (en) * 2022-09-23 2022-12-09 北京爱奇艺科技有限公司 Media stream live broadcasting method, system, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105491393A (en) * 2015-12-02 2016-04-13 北京暴风科技股份有限公司 Method for implementing multi-user live video business
CN106254899A (en) * 2016-08-16 2016-12-21 网宿科技股份有限公司 The control method of a kind of live even wheat and system
CN106954100A (en) * 2017-03-13 2017-07-14 网宿科技股份有限公司 Live broadcasting method and system, company's wheat management server
US20220086509A1 (en) * 2020-09-14 2022-03-17 Beijing Dajia Internet Information Technology Co., Ltd. Method for processing live-streaming interaction video and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105491393A (en) * 2015-12-02 2016-04-13 北京暴风科技股份有限公司 Method for implementing multi-user live video business
CN106254899A (en) * 2016-08-16 2016-12-21 网宿科技股份有限公司 The control method of a kind of live even wheat and system
CN106954100A (en) * 2017-03-13 2017-07-14 网宿科技股份有限公司 Live broadcasting method and system, company's wheat management server
US20220086509A1 (en) * 2020-09-14 2022-03-17 Beijing Dajia Internet Information Technology Co., Ltd. Method for processing live-streaming interaction video and server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115460431A (en) * 2022-09-23 2022-12-09 北京爱奇艺科技有限公司 Media stream live broadcasting method, system, computer equipment and storage medium
CN115460431B (en) * 2022-09-23 2023-10-10 北京爱奇艺科技有限公司 Media stream live broadcast method, system, computer device and storage medium

Also Published As

Publication number Publication date
CN114900707B (en) 2024-02-20

Similar Documents

Publication Publication Date Title
US10887647B2 (en) Apparatus and methods for personalized content synchronization and delivery in a content distribution network
EP3047652B1 (en) Correlating timeline information between media streams
US8806544B1 (en) Content synchronization
EP2472857B1 (en) Media stream processing method and communication system and related devices
EP3047653B1 (en) Correlating timeline information between media streams
EP2466911B1 (en) Method and device for fast pushing unicast stream in fast channel change
CN103533388A (en) Method and system for synchronously playing multimedia files
CN111107390B (en) Live broadcast service system and live broadcast connection establishment method
US11792254B2 (en) Use of in-band metadata as basis to access reference fingerprints to facilitate content-related action
CN111147362B (en) Multi-user instant messaging method, system, device and electronic equipment
WO2023061060A1 (en) Audio and video code stream scheduling method, system, medium and electronic apparatus
CN114900707A (en) Live broadcasting method and system
CN105763941A (en) Channel switching method and system
JP2009516973A (en) Apparatus and method for individually switching a plurality of broadcasts
WO2018171567A1 (en) Method, server, and terminal for playing back media stream
CN114143616A (en) Target video processing method and system, storage medium and electronic device
KR102150685B1 (en) Method and Apparatus for Switching Media Service Channel
CN110572703A (en) Multimedia data synchronous playing method, system, terminal and storage medium
CN110740114B (en) Method, device and equipment for synchronizing streaming media data
CN113612728B (en) Streaming media playing method, transmission equipment and system
CN117155903A (en) Real-time digital human audio and picture synchronization method based on WebRTC
CN115914670A (en) Live broadcast playback processing method and device and storage medium
WO2023108500A1 (en) Data processing method and system, storage medium, and terminal device
JP2021027450A (en) Distribution system, receiving device and program
KR101403969B1 (en) How to recognize the point of the subtitles of the video playback time code is lost

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