CN114900707B - Live broadcast method and system - Google Patents

Live broadcast method and system Download PDF

Info

Publication number
CN114900707B
CN114900707B CN202210427392.4A CN202210427392A CN114900707B CN 114900707 B CN114900707 B CN 114900707B CN 202210427392 A CN202210427392 A CN 202210427392A CN 114900707 B CN114900707 B CN 114900707B
Authority
CN
China
Prior art keywords
content
server
demand
direct broadcast
broadcast content
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.)
Active
Application number
CN202210427392.4A
Other languages
Chinese (zh)
Other versions
CN114900707A (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

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 can enable the user client side to synchronously play the first direct broadcasting content and the second direct broadcasting content, different anchor broadcasting and users can simultaneously watch on-demand content with consistent progress and content of a plurality of anchor broadcasting links, and interaction of live broadcasting is improved.

Description

Live broadcast method and system
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a live broadcast method and system.
Background
Currently, a video is generally live in a single anchor, and interacts with a viewer.
However, the live broadcast system has a problem of poor interactivity.
Disclosure of Invention
In order to solve the above technical problems, the embodiments of the present application provide a live broadcast method and system, so as to achieve the purpose of improving live broadcast interactivity, and the technical scheme is as follows:
in one aspect, the present application provides a live broadcast method, including:
the method comprises the steps that a service server responds to an on-demand request of at least one main-broadcasting client, an on-demand address is obtained from the on-demand request, first attribute information and second attribute information of current on-demand content corresponding to the on-demand address are obtained, the first attribute information is used for representing identification of the current on-demand content, and the second attribute information is used for representing playing progress and playing state of the current on-demand content;
The service server sends the first attribute information to at least one anchor client and sends the second attribute information to a first push live broadcast server;
the main broadcasting client obtains on-demand content based on the first attribute information, and sends the on-demand content to the first push live broadcasting server, so that the first push live broadcasting server obtains on-demand content matched with the second attribute information from the on-demand content, converts the on-demand content into first direct broadcasting content, and pushes the first direct broadcasting content to a target content distribution network server;
the host client sends the host communication content of the host client in the communication state to a second push live broadcast server, so that the second push live broadcast server converts the host communication content of one host client into second live broadcast content or combines and converts the host communication content of a plurality of host clients into second live broadcast content, and pushes the second live broadcast content to the target content distribution network server;
and the user client acquires the first direct broadcast content and the second direct broadcast content from the target content distribution network server and plays the first direct broadcast content and the second direct broadcast content.
Optionally, the service server sends the first attribute information to at least one anchor client, including:
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 push live server includes:
and sending the second attribute information to the first push live broadcast server through a second long connection signaling channel.
Optionally, the sending the on-demand content to the first push live server includes:
and sending the on-demand content to a first push live broadcast server through a first data channel.
Optionally, the anchor client sends the anchor link content in the link state to the second push live broadcast server, including:
and the anchor client transmits the anchor link content of the anchor client in the link state to the second push-to-live broadcast server through the second data channel.
Optionally, the method further comprises:
the target content distribution network server determines a delay difference between the first direct broadcast content and the second direct broadcast content and sends the delay difference to the user client;
The user client acquires the first direct broadcast content and the second direct broadcast content from the target content distribution network server, plays the first direct broadcast content and the second direct broadcast content, and comprises the following steps:
and the user client acquires the first direct broadcast content and the second direct broadcast content from the target content distribution network server, synchronously processes 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 synchronous processing.
Optionally, the method further comprises:
and the security server acquires the first direct broadcast content and/or the second direct broadcast content from the service server, and sends an illegal correction operation instruction to the service server under the condition that the first direct broadcast content and/or the second direct broadcast content are determined to have illegal content, 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 an on-demand request of at least one host client, acquiring an on-demand address from the on-demand request, and acquiring first attribute information and second attribute information of current on-demand content corresponding to the on-demand address, wherein the first attribute information is used for representing the identification of the current on-demand content, and the second attribute information is used for representing the playing progress and playing state of the current on-demand content;
The first attribute information is sent to at least one anchor client, and the second attribute information is sent to a first push live broadcast 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 push live broadcast server;
the first push 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 further used for transmitting anchor link-wheat content of the anchor client in a link-wheat state to the second push live broadcast server;
the second push live broadcast server is configured to convert the anchor link content of one anchor client into second live broadcast content or combine the anchor link content of a plurality of anchor clients and convert the anchor link content into second live broadcast content, and send the second live broadcast content to the target content distribution network server;
the target content distribution network server is used for storing the first direct broadcast content and the second direct broadcast content;
And the user client is used for acquiring the first direct broadcast content and the second direct broadcast content from the target content distribution network server and playing the first direct broadcast content and the second direct 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 direct broadcast content and the second direct broadcast content from the target content distribution network server, perform synchronization processing on the first direct broadcast content and the second direct broadcast content based on the delay difference, and play the first direct broadcast content and the second direct broadcast content after the synchronization processing.
Optionally, the system further comprises:
the security server is used for acquiring the first direct broadcast content and/or the second direct broadcast content from the service server, and sending an illegal correction operation instruction to the service server under the condition that illegal contents exist in the first direct broadcast content and/or the second direct broadcast content;
the business server is further used for executing the violation correcting operation based on the violation correcting operation instruction. .
Compared with the prior art, the beneficial effects of this application are:
in the application, the service server responds to the on-demand request of at least one main broadcasting client, acquires the on-demand address from the on-demand request, and sends the first attribute information of the current on-demand content corresponding to the on-demand address to the at least one main broadcasting client, so that the at least one main broadcasting client can acquire the on-demand content based on the first attribute information and send the on-demand content to the first push live broadcasting server, and the first push live broadcasting server acquires the on-demand content matched with the second attribute information from the on-demand content, converts the on-demand content into first direct broadcasting content, and can ensure that the first direct broadcasting content obtained by converting the on-demand content of each main broadcasting client is consistent and the direct broadcasting synchronization of each main broadcasting client.
And the anchor client obtains the anchor link content, sends the anchor link content to the second push-to-push server, and the second push-to-push live broadcast server combines and converts the anchor link content of at least one anchor client into the second live broadcast content to support the link live broadcast of a plurality of anchor clients.
On the basis, the first direct broadcast content and the second direct broadcast content are pushed to the same content distribution network server, so that the user client side can synchronously play the first direct broadcast content and the second direct broadcast content, different hosts and users can simultaneously watch on-demand content with consistent progress and a plurality of host-broadcast and link-wheat content, and the interaction of direct broadcast is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is a flowchart of an embodiment 1 of a live broadcast method provided in the present application;
fig. 2 is a schematic diagram 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 broadcast method provided herein;
fig. 4 is a flowchart of an embodiment 2 of a live broadcast method provided in the present application;
fig. 5 is a flowchart of an embodiment 3 of a live broadcast method provided in 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 an embodiment 5 of a live broadcast method provided in the present application;
FIG. 8 is a schematic view of still another implementation scenario of a live broadcast method provided herein;
fig. 9 is a schematic structural diagram of a live broadcast system provided in the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In order that the above-recited objects, features and advantages of the present application will become more readily apparent, a more particular description of the invention briefly described above will be rendered by reference to specific embodiments that are illustrated in the appended drawings.
Referring to fig. 1, a flow chart of a data processing method provided in embodiment 1 of the present application is shown in fig. 1, and the method may include, but is not limited to, the following steps:
step S11, a service server responds to a request of at least one main broadcasting client, acquires a broadcasting address from the request, and acquires first attribute information and second attribute information of current broadcasting content corresponding to the broadcasting address, wherein the first attribute information is used for representing the identification of the current broadcasting content, and the second attribute information is used for representing the broadcasting progress and broadcasting state of the current broadcasting content.
In this embodiment, the anchor client may request to the service server to create a room and/or request a request for a wheat-linking credential (usegsSig), as shown in fig. 2, the service server determines a room that the anchor client can enter, sends, through an mqtt message, an identifier of the room that the anchor client can enter and/or the usegsSig to the anchor client, the anchor client enters the room based on the identifier of the room, the anchor client may send a wheat-on-demand request to the service server after entering the room, and/or the anchor client may link with other anchor clients based on the usegsSig. Accordingly, the service server responds to the on-demand request from the anchor client.
In this embodiment, the service server may store first attribute information and second attribute information of the current on-demand content corresponding to each of the different on-demand addresses. The first attribute information is used for representing the identification 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 in the service server.
The play status may include, but is not limited to: a pause state or a playing state.
And 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 push live broadcast server.
The service server may also control the anchor client to perform a room control operation in response to a room operation instruction of the anchor client, for example, exit a room or prohibit the anchor client from playing in the room.
Step S13, the main broadcasting client obtains the on-demand content based on the first attribute information, and sends the on-demand content to a first push live broadcasting server, so that the first push live broadcasting server obtains the on-demand content matched with the second attribute information from the on-demand content, converts the on-demand content into first direct broadcasting content, and pushes the first direct broadcasting content to a target content distribution network server.
The anchor client may obtain on-demand content from the on-demand server based on the first attribute information. Specifically, on-demand content matched with the first attribute information is acquired from an on-demand server.
For each anchor client, the service server sends the same second attribute information within a certain time range to the first push live broadcast server, so that the first push live broadcast server can acquire target on-demand content matched with the second attribute information from the on-demand content, and the target on-demand content corresponding to each anchor client is consistent.
As shown in fig. 2, the first forwarding live broadcast server may use a first rtc data parsing service to bypass the rtc where the room where the anchor client is located, obtain the on-demand content of the anchor client, use the first rtc data parsing service to obtain the on-demand content matched with the second attribute information from the on-demand content, convert the on-demand content into a first direct-broadcast content, and establish a first mcu (micro control unit) node, and push the first direct-broadcast content to the target content distribution network server through the first mcu node.
rtc can be understood as a local area network.
Step S14, the anchor client sends the anchor link content of the anchor client in the link state to a second push live broadcast server, so that the second push live broadcast server converts the anchor link content of one anchor client into a second live broadcast content or combines the anchor link content of a plurality of anchor clients and converts the anchor link content 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 anchor wheat connecting content in the wheat connecting state to the second push live broadcast server.
The ligature status may include, but is not limited to: audio link status or video link status.
Combining and converting the anchor links of the plurality of anchor clients into a second live content may be understood as: and merging the anchor link contents of a plurality of anchor clients into one data stream, and converting the data stream into second live contents.
As shown in fig. 2, the second push live broadcast server may use a second rtc data parsing service to bypass the rtc where the room where the anchor client is located, obtain anchor link content of the anchor client in the link state, use the second rtc data parsing service to obtain target on-demand content matched with the second attribute information from the on-demand content, convert the anchor link content of one anchor client into second live broadcast content or combine and convert the anchor link content of a plurality of anchor clients into second live broadcast content, and establish a second mcu (micro control unit) node, and push the second live broadcast content to the target content distribution network server through the second mcu node.
Step S15, the user client acquires the first direct broadcast content and the second direct broadcast content from the target content distribution network server, and plays the first direct broadcast content and the second direct broadcast content.
In this embodiment, the user client acquires the first direct broadcast content and the second direct broadcast content from the target content distribution network server, and plays the first direct broadcast content and the second direct broadcast content, so that the user can watch the direct broadcast including the first direct broadcast content and the second direct broadcast content simultaneously through the user client.
Specifically, as shown in fig. 2, the user client may send a live content acquisition request to the service server, where the service server acquires a live content acquisition address from the target content distribution network server, 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 acquire an operation instruction of a user, send the operation instruction to the service server, send the operation instruction to the first push live broadcast server, respond the operation instruction of the user by the first push live broadcast server, perform on-demand operation on the first on-demand content, for example, pause, use frame push, continue using live stream push for a pause picture, search for a key frame when the key is played from a key frame playing time point, and the like.
In this embodiment, the service server responds to the on-demand request of at least one anchor client, acquires the on-demand address from the on-demand request, and sends the first attribute information of the 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 push live broadcast server, and the first push live broadcast server acquires the on-demand content matched with the second attribute information from the on-demand content, converts the on-demand content into the first direct-broadcast content, and can ensure that the first direct-broadcast content obtained by converting the on-demand content of each anchor client is consistent and the direct broadcast synchronization of each anchor client.
And the anchor client obtains the anchor link content, sends the anchor link content to the second push-to-push server, and the second push-to-push live broadcast server combines and converts the anchor link content of at least one anchor client into the second live broadcast content to support the link live broadcast of a plurality of anchor clients.
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 side can synchronously play the first direct broadcast content and the second direct broadcast content, different hosts and users can simultaneously watch on-demand content with consistent progress and a plurality of host-broadcast and link-wheat content, and the interaction of direct broadcast is improved. For example, as shown in fig. 3, in response to the on-demand request of the anchor client 1 and the anchor client 2, the service server obtains the on-demand address from the on-demand request, and sends the first attribute information of the 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 obtain the on-demand content based on the first attribute information respectively, and send the on-demand content to the first push live broadcast server, and the first push live broadcast server obtains the on-demand content matched with the second attribute information from the on-demand content, and converts the on-demand content into the first direct broadcast content, so that consistency of the first direct broadcast content obtained by converting the on-demand content of the anchor clients 1 and 2 can be ensured, and live broadcast synchronization of the anchor clients 1 and 2 can be ensured. And, the anchor clients 1 and 2 respectively obtain respective anchor link contents, push the respective anchor link contents to the second push-push server, and the second push-push live broadcast server combines and converts the anchor link contents of the anchor client 1 into second live broadcast contents to support the link live broadcast of a plurality of anchor clients. 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 side can synchronously play the first direct broadcast content and the second direct broadcast content, different hosts and users can simultaneously watch on-demand content with consistent progress and a plurality of host-broadcast and link-wheat content, and the interaction of direct broadcast is improved.
As another optional embodiment of the present application, as shown in fig. 4, a flowchart of embodiment 2 of a live broadcast method provided in the present application is mainly a refinement 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, a service server responds to a request of at least one main broadcasting client, acquires a broadcasting address from the request, and acquires first attribute information and second attribute information of current broadcasting content corresponding to the broadcasting address, wherein the first attribute information is used for representing the identification of the current broadcasting content, and the second attribute information is used for representing the broadcasting progress and broadcasting state of the current broadcasting content.
The detailed process of step S21 can be referred to the related description of step S11 in embodiment 1, and will not be 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 the first push live broadcast server through a second long connection signaling channel.
Step S22 is a specific embodiment 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 push live broadcast server, so that the first push live broadcast server obtains the on-demand content matched with the second attribute information from the on-demand content, converts the on-demand content into a first direct broadcast content, and pushes the first direct broadcast content to a target content distribution network server.
Step S24, the anchor client sends the anchor link content of the anchor client in the link state to a second push live broadcast server, so that the second push live broadcast server converts the anchor link content of one anchor client into a second live broadcast content or combines the anchor link content of a plurality of anchor clients and converts the anchor link content 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 acquires the first direct broadcast content and the second direct broadcast content from the target content distribution network server, and plays the first direct broadcast content and the second direct broadcast content.
The detailed procedure of steps S23-S25 can be referred to in the related description of steps S13-S15 in embodiment 1, and will not be described herein.
In this embodiment, the service server responds to the on-demand request of at least one anchor client, acquires the on-demand address from the on-demand request, sends the first attribute information of the current on-demand content corresponding to the on-demand address to at least one anchor client through the first long connection signaling channel, ensures efficient and reliable transmission of the first attribute information, sends the second attribute information to the first push live broadcast server through the second long connection signaling channel, ensures efficient and reliable transmission of the second attribute information, and on the basis, enables at least one anchor client to acquire on-demand content based on the first attribute information, and sends the on-demand content to the first push live broadcast server, and the first push live broadcast server acquires the target point content matched with the second attribute information from the on-demand content, converts the target point content into first live broadcast content, so as to ensure that the first live broadcast content obtained by converting the on-demand content of each anchor client is consistent, and ensures live broadcast synchronization of each anchor client.
And the anchor client obtains the anchor link content, sends the anchor link content to the second push-to-push server, and the second push-to-push live broadcast server combines and converts the anchor link content of at least one anchor client into the second live broadcast content to support the link live broadcast of a plurality of anchor clients.
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 side can synchronously play the first direct broadcast content and the second direct broadcast content, different hosts and users can simultaneously watch on-demand content with consistent progress and a plurality of host-broadcast and link-wheat content, and the interaction of direct broadcast is improved.
As another optional embodiment of the present application, as shown in fig. 5, a flowchart of embodiment 3 of a live broadcast method provided in the present application is mainly a refinement of the live broadcast method described in the foregoing embodiment 1, where 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 main broadcasting client, acquires a broadcasting address from the request, and acquires first attribute information and second attribute information of current broadcasting content corresponding to the broadcasting address, wherein the first attribute information is used for representing the identification of the current broadcasting content, and the second attribute information is used for representing the broadcasting progress and broadcasting state of the current broadcasting content;
and 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 push live broadcast 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 push live broadcast server through a first data channel, so that the first push live broadcast server obtains the on-demand content matched with the second attribute information from the on-demand content, converts the on-demand content into a first direct broadcast content, and pushes the first direct broadcast content to a target content distribution network server.
Step S33 is a specific embodiment of step S13 in example 1.
Step S34, the anchor client sends the anchor link content of the anchor client in the link state to a second push live broadcast server through a second data channel, so that the second push live broadcast server converts the anchor link content of one anchor client into a second live broadcast content or converts the anchor link content 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 S34 is a specific implementation of step S14 in example 1.
Step S35, the user client acquires the first direct broadcast content and the second direct broadcast content from the target content distribution network server, and plays the first direct broadcast content and the second direct broadcast content.
In this embodiment, the on-demand client obtains the on-demand content based on the first attribute information, and sends the on-demand content to the first on-demand live broadcast server through the first data channel, so that the first on-demand live broadcast server obtains the on-demand content matched with the second attribute information from the on-demand content, converts the on-demand content into the first direct-broadcast content, pushes the first direct-broadcast content to the target content distribution network server, and sends the on-demand content of the on-demand client in a continuous wheat state to the second on-demand live broadcast server through the second data channel, so that the second on-demand live broadcast server converts the on-demand wheat content of one on-demand client into the second live broadcast content or converts the on-demand wheat content of a plurality of on-demand clients into the second live broadcast content, pushes the second direct-broadcast content to the target content distribution network server, and enables synchronization of the first direct-broadcast content and the second direct-broadcast content to be independent and can realize smooth playing of the on-demand content through the second data channel.
As another optional embodiment of the present application, as shown in fig. 6, a flowchart of embodiment 4 of a live broadcast method provided in the present application is mainly an extension 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 S41, a service server responds to a request of at least one host 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.
The first attribute information is used for representing the identification 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 business server sends the first attribute information to at least one anchor client and sends the second attribute information to a first push live broadcast 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 push live broadcast server, so that the first push live broadcast server obtains the on-demand content matched with the second attribute information from the on-demand content, converts the on-demand content into a first direct broadcast content, and pushes the first direct broadcast content to a target content distribution network server.
Step S44, the anchor client sends the anchor link content of the anchor client in the link state to a second push live broadcast server, so that the second push live broadcast server converts the anchor link content of one anchor client into a second live broadcast content or combines the anchor link content of a plurality of anchor clients and converts the anchor link content into a second live broadcast content, and pushes the second live broadcast content to the target content distribution network server.
The detailed procedure of steps S41-S44 can be referred to in the related description of steps S11-S14 in embodiment 1, and will not be described herein.
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 class, the target content distribution network server may, but is not limited to: 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 acquires the first direct broadcast content and the second direct broadcast content from the target content distribution network server, and based on the delay difference, performs synchronization processing on the first direct broadcast content and the second direct broadcast content, and plays the first direct broadcast content and the second direct broadcast content after the synchronization processing.
And based on the delay difference, after the first direct broadcast content and the second direct broadcast content are synchronously processed, the first direct broadcast content and the second direct broadcast content are kept synchronous.
However, it should be noted that, there may be a delay between playing the first live broadcast content and the second live broadcast content after the synchronization processing due to factors such as inconsistent speeds of the first live broadcast content and the second live broadcast content after the synchronization processing loaded by the user client, where the user client may ensure that the delay between the first live broadcast content and the second live broadcast content after the synchronization processing that is played is within a set range, and ensure user viewing experience.
Step S46 is a specific implementation of step S15 in example 1.
In this embodiment, the service server responds to the on-demand request of at least one anchor client, acquires the on-demand address from the on-demand request, and sends the first attribute information of the 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 push live broadcast server, and the first push live broadcast server acquires the on-demand content matched with the second attribute information from the on-demand content, converts the on-demand content into the first direct-broadcast content, and can ensure that the first direct-broadcast content obtained by converting the on-demand content of each anchor client is consistent and the direct broadcast synchronization of each anchor client.
And the anchor client obtains the anchor link content, sends the anchor link content to the second push-to-push server, and the second push-to-push live broadcast server combines and converts the anchor link content of at least one anchor client into the second live broadcast content to support the link live broadcast of a plurality of anchor clients.
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 side can synchronously play the first direct broadcast content and the second direct broadcast content, different hosts and users can simultaneously watch on-demand content with consistent progress and a plurality of host-broadcast and link-wheat content, and the interaction of direct broadcast is improved.
And the target content distribution network server determines a delay difference between the first direct broadcast content and the second direct broadcast content, sends the delay difference to the user client, acquires the first direct broadcast content and the second direct broadcast content from the target content distribution network server, synchronously processes the first direct broadcast content and the second direct broadcast content based on the delay difference, plays the first direct broadcast content and the direct broadcast content after the synchronous processing, reduces the delay difference between the first direct broadcast content and the second direct broadcast content, and further improves user experience.
As another optional embodiment of the present application, as shown in fig. 7, a flowchart of embodiment 5 of a live broadcast method provided in the present application is mainly an extension 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 S51, a service server responds to a request of at least one host 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.
The first attribute information is used for representing the identification 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 push live broadcast 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 push live broadcast server, so that the first push live broadcast server obtains the on-demand content matched with the second attribute information from the on-demand content, converts the on-demand content into a first direct broadcast content, and pushes the first direct broadcast content to a target content distribution network server.
Step S54, the anchor client sends the anchor link content of the anchor client in the link state to a second push live broadcast server, so that the second push live broadcast server converts the anchor link content of one anchor client into a second live broadcast content or combines the anchor link content of a plurality of anchor clients and converts the anchor link content 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 acquires the first direct broadcast content and the second direct broadcast content from the target content distribution network server, and plays the first direct broadcast content and the second direct broadcast content.
The detailed procedure of steps S51-S55 can be referred to in the related description of steps S11-S15 in embodiment 1, and will not be described herein.
Step S56, the security server obtains the first direct broadcast content and/or the second direct broadcast content from the service server, and sends an illegal correction operation instruction to the service server when determining that the first direct broadcast content and/or the second direct broadcast content has illegal content, so that the service server executes the illegal correction operation based on the illegal correction operation instruction.
Specifically, as shown in fig. 8, the messenger server transmits a rule-breaking correction operation instruction to the service server, and the service server performs rule-breaking correction operation, such as a forbidden broadcast operation or eliminating rule-breaking objects from a room, based on the rule-breaking correction operation instruction.
In this embodiment, the service server responds to the on-demand request of at least one anchor client, acquires the on-demand address from the on-demand request, and sends the first attribute information of the 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 push live broadcast server, and the first push live broadcast server acquires the on-demand content matched with the second attribute information from the on-demand content, converts the on-demand content into the first direct-broadcast content, and can ensure that the first direct-broadcast content obtained by converting the on-demand content of each anchor client is consistent and the direct broadcast synchronization of each anchor client.
And the anchor client obtains the anchor link content, sends the anchor link content to the second push-to-push server, and the second push-to-push live broadcast server combines and converts the anchor link content of at least one anchor client into the second live broadcast content to support the link live broadcast of a plurality of anchor clients.
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 side can synchronously play the first direct broadcast content and the second direct broadcast content, different hosts and users can simultaneously watch on-demand content with consistent progress and a plurality of host-broadcast and link-wheat content, and the interaction of direct broadcast is improved.
And the security server acquires the first direct broadcast content and/or the second direct broadcast content from the service server, and sends an illegal correction operation instruction to the service server under the condition that the first direct broadcast content and/or the second direct broadcast content are determined to have illegal content, so that the service server executes illegal correction operation based on the illegal correction operation instruction, and the supervision of direct broadcast is enhanced.
Next, a live broadcast system provided by the embodiments of the present application will be described, where the live broadcast system described below and the live broadcast method described above may be referred to correspondingly.
Referring to fig. 9, the live broadcast system includes: a service server 100, a anchor client 200, a first push live server 300, a second push live server 400, a target content distribution network server 500, and a user client 600.
The service server 100 is configured to:
responding to a request of at least one host client 200, acquiring an on-demand address from the request, and acquiring first attribute information and second attribute information of current on-demand content corresponding to the on-demand address, wherein the first attribute information is used for representing an identifier of the current on-demand content, and the second attribute information is used for representing a playing progress and a playing state of the current on-demand content;
transmitting the first attribute information to at least one anchor client 200, and transmitting the second attribute information to a first push live 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 live broadcast server 300;
the first push live broadcast server 300 is configured 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 direct-broadcast content, and push the first direct-broadcast content to the target content distribution network server 500;
the anchor client 200 is further configured to send anchor link content in a link state to the second push live broadcast server 400;
The second push live broadcast server 400 is configured to convert the anchor cam content of one anchor client 200 into second live broadcast content or combine the anchor cam content of a plurality of anchor clients 200 and convert the second live broadcast content into second live broadcast content, and send the second live broadcast 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 direct broadcast content and the second direct broadcast content from the target content distribution network server 500, and play the first direct broadcast content and the second direct broadcast 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 live broadcast 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 server 300 through the first data channel.
In this embodiment, the anchor client 200 may be specifically configured to send, through the second data channel, the anchor link content of the anchor client in the link state to the second push live broadcast server 400.
In this embodiment, the target content delivery 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 direct broadcast content and the second direct broadcast content from the target content distribution network server 500, perform synchronization processing on the first direct broadcast content and the second direct broadcast content based on the delay difference, and play the first direct broadcast content and the second direct broadcast content after the synchronization processing.
In this embodiment, the live broadcast system may further include:
the security server is used for acquiring the first direct broadcast content and/or the second direct broadcast content from the service server, and sending an illegal correction operation instruction to the service server under the condition that illegal contents exist in the first direct broadcast content and/or the second direct broadcast content;
The service server 100 is further configured to perform an violation correction operation based on the violation correction operation instruction.
It should be noted that, in each embodiment, the differences from the other embodiments are emphasized, and the same similar parts between the embodiments are referred to each other. For the apparatus class embodiments, the description is relatively simple as it is substantially similar to the method embodiments, and reference is made to the description of the method embodiments for relevant points.
Finally, it is further noted that relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each element may be implemented in one or more software and/or hardware elements when implemented in the present application.
From the foregoing description of embodiments, those of ordinary skill in the art will appreciate that all or a portion of the steps in implementing the above-described method embodiments may be performed by software plus associated hardware. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art 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., including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in the embodiments or some parts of the embodiments of the present application.
The foregoing has described in detail a live broadcast method and system provided herein, and specific examples have been used herein to illustrate the principles and embodiments of the present application, where the foregoing examples are provided to assist in understanding the methods and core ideas of the present application; meanwhile, as those skilled in the art will have modifications in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. A live broadcast method, comprising:
the method comprises the steps that a service server responds to an on-demand request of at least one main-broadcasting client, an on-demand address is obtained from the on-demand request, first attribute information and second attribute information of current on-demand content corresponding to the on-demand address are obtained, the first attribute information is used for representing identification of the current on-demand content, and the second attribute information is used for representing playing progress and playing state of the current on-demand content;
the service server sends the first attribute information to at least one anchor client and sends the second attribute information to a first push live broadcast server;
the main broadcasting client obtains on-demand content based on the first attribute information, and sends the on-demand content to the first push live broadcasting server, so that the first push live broadcasting server obtains on-demand content matched with the second attribute information from the on-demand content, converts the on-demand content into first direct broadcasting content, and pushes the first direct broadcasting content to a target content distribution network server;
the host client sends the host communication content of the host client in the communication state to a second push live broadcast server, so that the second push live broadcast server converts the host communication content of one host client into second live broadcast content or combines and converts the host communication content of a plurality of host clients into second live broadcast content, and pushes the second live broadcast content to the target content distribution network server;
And the user client acquires the first direct broadcast content and the second direct broadcast content from the target content distribution network server and plays the first direct broadcast content and the second direct broadcast content.
2. The method of claim 1, wherein the service server transmitting 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 the first push live server comprises:
and sending the second attribute information to the first push live broadcast server through a second long connection signaling channel.
4. The method of claim 1, wherein the sending the on-demand content to the first push live server comprises:
and sending the on-demand content to a first push live broadcast server through a first data channel.
5. The method of claim 1, wherein the anchor client sends its anchor link content in the link state to a second push live server, comprising:
And the anchor client transmits the anchor link content of the anchor client in the link state to the second push-to-live broadcast server through the second data channel.
6. The method according to claim 1, wherein the method further comprises:
the target content distribution network server determines a delay difference between the first direct broadcast content and the second direct broadcast content and sends the delay difference to the user client;
the user client acquires the first direct broadcast content and the second direct broadcast content from the target content distribution network server, plays the first direct broadcast content and the second direct broadcast content, and comprises the following steps:
and the user client acquires the first direct broadcast content and the second direct broadcast content from the target content distribution network server, synchronously processes 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 synchronous processing.
7. The method according to claim 1, wherein the method further comprises:
and the security server acquires the first direct broadcast content and/or the second direct broadcast content from the service server, and sends an illegal correction operation instruction to the service server under the condition that the first direct broadcast content and/or the second direct broadcast content are determined to have illegal content, 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 an on-demand request of at least one host client, acquiring an on-demand address from the on-demand request, and acquiring first attribute information and second attribute information of current on-demand content corresponding to the on-demand address, wherein the first attribute information is used for representing the identification of the current on-demand content, and the second attribute information is used for representing the playing progress and playing state of the current on-demand content;
the first attribute information is sent to at least one anchor client, and the second attribute information is sent to a first push live broadcast 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 push live broadcast server;
the first push 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 further used for transmitting anchor link-wheat content of the anchor client in a link-wheat state to the second push live broadcast server;
The second push live broadcast server is configured to convert the anchor link content of one anchor client into second live broadcast content or combine the anchor link content of a plurality of anchor clients and convert the anchor link content into second live broadcast content, and send the second live broadcast content to the target content distribution network server;
the target content distribution network server is used for storing the first direct broadcast content and the second direct broadcast content;
and the user client is used for acquiring the first direct broadcast content and the second direct broadcast content from the target content distribution network server and playing the first direct broadcast content and the second direct 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 direct broadcast content and the second direct broadcast content from the target content distribution network server, perform synchronization processing on the first direct broadcast content and the second direct broadcast content based on the delay difference, and play the first direct broadcast content and the second direct broadcast content after the synchronization processing.
10. The system of claim 8, wherein the system further comprises:
the security server is used for acquiring the first direct broadcast content and/or the second direct broadcast content from the service server, and sending an illegal correction operation instruction to the service server under the condition that illegal contents exist in the first direct broadcast content and/or the second direct broadcast content;
the business server is further used for executing the 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 CN114900707A (en) 2022-08-12
CN114900707B true 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)

Families Citing this family (1)

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

Citations (3)

* 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111818359B (en) * 2020-09-14 2021-01-26 北京达佳互联信息技术有限公司 Processing method and device for live interactive video, electronic equipment and server

Patent Citations (3)

* 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

Also Published As

Publication number Publication date
CN114900707A (en) 2022-08-12

Similar Documents

Publication Publication Date Title
US9729909B2 (en) Method and system for media adaption
KR101277511B1 (en) Information processing system and information processing device
US8813160B2 (en) Method, system and user device for obtaining a key frame in a streaming media service
EP2472857B1 (en) Media stream processing method and communication system and related devices
EP2509320A1 (en) Channel switching method, apparatus and system
CN112118266B (en) Distributed state synchronization method based on cooperation of HTTP and WebSocket
JP2002314972A (en) Delivery system, its delivery method and delivery program
EP2466911B1 (en) Method and device for fast pushing unicast stream in fast channel change
WO2002093808A2 (en) Method and system for transmitting multicast data signals
US20190230419A1 (en) Receiving device and data processing method
JP2004515173A (en) Integrated delivery architecture for multipoint video conferencing and interactive broadcast systems
CN113923470B (en) Live stream processing method and device
CN111107390B (en) Live broadcast service system and live broadcast connection establishment method
WO2011022994A1 (en) Method, apparatus and system for rapid acquisition of multicast realtime transport protocol sessions
CN114900707B (en) Live broadcast method and system
CN107547517B (en) Audio and video program recording method, network equipment and computer device
CN107920072A (en) A kind of multimedia sharing method and system based on data characteristics
WO2019141150A1 (en) Cross-platform content control method and device, terminal, server, and storage medium
WO2018171567A1 (en) Method, server, and terminal for playing back media stream
CN113852866B (en) Media stream processing method, device and system
CN108668140B (en) Audio and video interaction state synchronization method and device
CN114845124A (en) Set top box live broadcasting method based on WebSocket synchronous control
EP2654311A1 (en) Synchronization method and synchronization apparatus for multicast group quick access, and terminal
US10523409B2 (en) Method of synchronization during the processing, by a multimedia player, of an item of multimedia content transmitted by an MBMS service
CN110740114B (en) Method, device and equipment for synchronizing streaming media 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