CN106658044B - Live broadcasting method and device - Google Patents

Live broadcasting method and device Download PDF

Info

Publication number
CN106658044B
CN106658044B CN201611270695.0A CN201611270695A CN106658044B CN 106658044 B CN106658044 B CN 106658044B CN 201611270695 A CN201611270695 A CN 201611270695A CN 106658044 B CN106658044 B CN 106658044B
Authority
CN
China
Prior art keywords
client
live broadcast
unicast
configuration information
multicast
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
CN201611270695.0A
Other languages
Chinese (zh)
Other versions
CN106658044A (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.)
Ud Network Co ltd
Original Assignee
Ud Network 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 Ud Network Co ltd filed Critical Ud Network Co ltd
Priority to CN201611270695.0A priority Critical patent/CN106658044B/en
Publication of CN106658044A publication Critical patent/CN106658044A/en
Application granted granted Critical
Publication of CN106658044B publication Critical patent/CN106658044B/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/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2381Adapting the multiplex stream to a specific network, e.g. an Internet Protocol [IP] network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6405Multicasting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6408Unicasting

Landscapes

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

Abstract

The invention provides a live broadcast method and a device, wherein a live broadcast device is used for receiving live broadcast request information sent by a client, and the live broadcast request information comprises configuration information of a live broadcast service mode; when the requested configuration information is in a multicast service mode, determining whether the current content distribution network supports OTT multicast service; if the current content distribution network supports OTT multicast service, adding the client into the corresponding multicast group according to the multicast address in the configuration information, and transmitting the multicast media data in the multicast group to the client; when the configuration information included in the request is a unicast service mode or the current content distribution network does not support the OTT multicast service, the unicast server issues unicast media data corresponding to the live broadcast request to the client, the service mode in the live broadcast request sent by the user is determined through the configuration information, and the method is suitable for the current network to select the service mode corresponding to the live broadcast, so that the OTT network is simpler to operate and easy to maintain, and the network transformation cost is reduced.

Description

Live broadcasting method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a live broadcast method and apparatus.
Background
OTT TV is an abbreviation of "Over The Top TV", and refers to an open internet-based video service, and a terminal may be a television, a computer, a set-Top box, a PAD, a smart phone, and The like. Meaning that the service is provided on top of the network, emphasizing the independence of the service from the physical network. Video programs transmitted via the internet, such as PPS, UUSEE, etc., are transmitted to a display screen (including a television).
The OTT TV live broadcast service methods provided in the prior art include a unicast service method and a multicast service method, when the OTT TV service is provided in the multicast service method, the requirement on the network quality is very high, once the multicast server fails, all multicast services provided for the user are terminated, the systematic risk is very high, and the maintenance is not easy.
When a unicast service mode is adopted to provide live broadcast service for users, once the number of users increases, the requirement on the access efficiency of the traffic of the OTT server to the distributed file system is very high, more unicast servers need to be configured, and the cost is higher.
Disclosure of Invention
In view of this, embodiments of the present invention provide a live broadcast method and apparatus, so as to solve the problems of difficult maintenance and high modification cost in the existing OTT network operation.
In a first aspect, an embodiment of the present invention provides a live broadcasting method, where the method includes:
receiving live broadcast request information sent by a client, wherein the live broadcast request information comprises configuration information of a live broadcast service mode;
when the requested configuration information is in a multicast service mode, determining whether the current content distribution network supports OTT multicast service;
if the current content distribution network supports OTT multicast service, adding the client into the corresponding multicast group according to the multicast address in the configuration information, and transmitting the multicast media data in the multicast group to the client;
and when the configuration information included in the request is a unicast service mode or the current content distribution network does not support the OTT multicast service, issuing unicast media data corresponding to the live broadcast request to the client through the unicast server.
In a second aspect, an embodiment of the present invention provides a live broadcast apparatus, where the apparatus includes a live broadcast request receiving unit, an OTT multicast service determining unit, a first live broadcast processing unit, and a second live broadcast processing unit;
the live broadcast request receiving unit is used for receiving live broadcast request information sent by a client, wherein the live broadcast request information comprises configuration information of a live broadcast service mode;
an OTT multicast service determining unit, configured to determine whether the current content distribution network supports OTT multicast service when the requested configuration information is in a multicast service mode;
a first direct-broadcast processing unit, configured to add a client to a corresponding multicast group according to a multicast address in the configuration information and send multicast media data in the multicast group to the client if the current content distribution network supports OTT multicast service;
and the second live broadcast processing unit is used for issuing unicast media data corresponding to the live broadcast request to the client through the unicast server when the configuration information included in the request is a unicast service mode or the current content distribution network does not support the OTT multicast service.
In the embodiment of the invention, live broadcast request information sent by a client is received through a live broadcast device, wherein the live broadcast request information comprises configuration information of a live broadcast service mode; when the requested configuration information is in a multicast service mode, determining whether the current content distribution network supports OTT multicast service; if the current content distribution network supports OTT multicast service, adding the client into the corresponding multicast group according to the multicast address in the configuration information, and transmitting the multicast media data in the multicast group to the client; when the configuration information included in the request is a unicast service mode or the current content distribution network does not support the OTT multicast service, the unicast media data corresponding to the live broadcast request is sent to the client through the unicast server, the service mode in the live broadcast request sent by the user is determined through the configuration information, the selection of the service mode corresponding to the live broadcast by the current network is adapted, the OTT network is simpler to operate and easy to maintain, the current network environment does not need to be forcibly transformed, and the cost of network transformation is reduced.
Drawings
Fig. 1 is a flowchart illustrating an implementation of a live broadcast method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for delivering the live broadcast to a client through a unicast server according to an embodiment of the present invention
Requesting a specific implementation flow chart of corresponding unicast media data;
fig. 3 is a flowchart of another implementation of a live broadcasting method according to a second embodiment of the present invention;
FIG. 4 is a block diagram of an electronic program guide server sending data to a client according to a second embodiment of the present invention
The realization flow chart of the configuration information of the broadcast service mode;
fig. 5 is a block diagram of a live broadcast apparatus according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
It should be understood that, in the embodiments of the present invention, the sequence numbers of the processes do not mean the execution sequence, and the execution sequence of the processes should be determined by the functions and the internal logic of the processes, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
The following detailed description of the implementation of the present invention is made with reference to specific embodiments:
example one
Fig. 1 shows an implementation process of a live broadcast method provided in an embodiment of the present invention, which is detailed as follows:
in step S101, live broadcast request information sent by a client is received, where the live broadcast request information includes configuration information of a live broadcast service mode.
In the embodiment of the present invention, the live service modes include a multicast service mode and a unicast service mode. And after receiving the live broadcast request information sent by the client, the live broadcast device identifies the configuration information in the live broadcast request information so as to determine the service mode of the currently requested live broadcast channel.
Specifically, after receiving a live broadcast request of a user, a client determines a service mode of a live broadcast channel currently requested by the user, and sends live broadcast request information including the live broadcast request of the user and configuration information of the live broadcast service mode to a live broadcast device.
In step S102, when the requested configuration information is a multicast service mode, it is determined whether the current content distribution network supports OTT multicast service.
In the embodiment of the present invention, a Content Delivery Network (CDN) is composed of a Content Delivery Network that only supports a multicast service mode, a Content Delivery Network that only supports a unicast service mode, or a Content Delivery Network that supports both a multicast service mode and a unicast service mode. Here, the content delivery networks are deployed hierarchically according to administrative levels, where the content delivery network with the highest administrative level is a top-level CDN, and the content delivery networks of the remaining administrative levels are edge CDNs.
In particular, the content delivery network includes at least one top-level CDN.
In a specific embodiment of the present invention, a content delivery network is composed of a top CDN and a plurality of edge CDNs, and after receiving live broadcast request information sent by a client, configuration information in the live broadcast request information is acquired, and when it is determined that configuration information included in the request is a multicast service mode, it is determined whether an edge CDN closest to the client supports OTT multicast service, and when the edge CDN closest to the client does not support OTT multicast service, it is determined whether an upper-level edge CDN of the edge CDN closest to the client supports OTT multicast service until it is determined whether the top CDN supports OTT multicast service.
Here, the lower the administrative level, the closer the edge CDN is to the client, so as to shorten the response time of the live request and improve the live efficiency to give a better experience to the user.
In the embodiment of the invention, after the content distribution network is deployed with the servers for providing the live broadcast service according to the administrative levels in a classified manner, the multicast server and the unicast server for providing the live broadcast service by the user can be flexibly expanded, and the content distribution network can be adapted to the current content distribution network environment to select a unicast service mode, a multicast service mode and a unicast and multicast mixed mode to provide the live broadcast service, thereby reducing the difficulty and the cost of the deployment or the reconstruction of the existing OTT service network.
In step S103, if the current content distribution network supports OTT multicast service, the client is added to the corresponding multicast group according to the multicast address in the configuration information, and the multicast media data in the multicast group is sent to the client.
In the embodiment of the invention, the configuration information provided by the client comprises the multicast address of the channel requested by the user, when the current content distribution network supports the OTT multicast service, the live broadcast device adds the client into the multicast group according to the multicast address provided in the configuration information, acquires the multicast media data in the multicast group, transmits the acquired multicast media data to the client, and the client receives the multicast media data transmitted by the live broadcast device and displays the multicast media data to the user.
In a specific embodiment of the present invention, a content delivery network is composed of a top CDN and a plurality of edge CDNs, after receiving live broadcast request information sent by a client, configuration information in the live broadcast request information is acquired, when it is determined that configuration information included in a request is a multicast service mode, it is determined whether an edge CDN closest to the client supports OTT multicast service, when the edge CDN closest to the client supports OTT multicast service, a live broadcast device adds the client to a multicast group to which the current edge CDN belongs according to a multicast address provided in the configuration information, acquires multicast media data in the multicast group, and issues the acquired multicast media data to the client, and the client receives multicast media data issued by the live broadcast device and displays the multicast media data to a user.
In another specific embodiment of the present invention, the content delivery network is composed of a top CDN and a plurality of edge CDNs, and after receiving live broadcast request information sent by a client, obtain configuration information in the live broadcast request information, when it is determined that the configuration information included in the request is a multicast service mode, and when it is determined that the top CDN supports OTT multicast service, the live broadcast device adds the client to a multicast group to which the top CDN belongs according to a multicast address provided in the configuration information, obtains multicast media data in the multicast group, and issues the obtained multicast media data to the client, and the client receives multicast media data issued by the live broadcast device and displays the multicast media data to a user.
In step S104, when the requested configuration information is a unicast service mode or the current content distribution network does not support OTT multicast service, the unicast server issues unicast media data corresponding to the live broadcast request to the client.
In the embodiment of the invention, after receiving the live broadcast request information sent by the client, the configuration information in the live broadcast request information is acquired, and when the configuration information included in the request is determined to be a unicast service mode or when the current content distribution network is determined not to support OTT multicast service, the corresponding unicast server is determined according to the unicast address provided in the configuration information, and the unicast media data corresponding to the live broadcast request is sent to the client through the unicast server.
Specifically, a specific implementation flow of issuing the unicast media data corresponding to the live broadcast request to the client through the unicast server in step S104 is shown in fig. 2:
in step S201, a live broadcast request including configuration information of a unicast service method sent by a client is received.
In the embodiment of the invention, after determining that the configuration information included in the request is a unicast service mode or the current content distribution network does not support the OTT multicast service, the client sends the live broadcast request including the configuration information of the unicast service mode to the live broadcast device.
In step S202, the unicast server issues unicast media data to the client according to the configuration information.
In a specific embodiment of the present invention, a content delivery network is composed of a top CDN and a plurality of edge CDNs, and after receiving live broadcast request information sent by a client, configuration information in the live broadcast request information is acquired, and when it is determined that the requested configuration information is a unicast service mode or the current content delivery network does not support OTT multicast service, a live broadcast device determines a corresponding unicast server according to a unicast address provided in the configuration information, and issues unicast media data corresponding to a live broadcast request to the client through the unicast server.
In another specific embodiment of the present invention, a content delivery network is composed of a top CDN and a plurality of edge CDNs, and after receiving live broadcast request information sent by a client, configuration information in the live broadcast request information is obtained, and when it is determined that the requested configuration information is a unicast service mode or a current content delivery network does not support OTT multicast service, it is determined whether the current edge CDN supports the unicast service mode, and if the current edge CDN does not support the unicast service mode, it is determined whether an upper-level edge CDN of the current edge CDN supports the unicast service mode until it is determined whether the top-level CDN supports the unicast service mode. When the current content distribution network supports the unicast service mode, the live broadcast device determines a corresponding unicast server according to the unicast address provided in the configuration information, and sends unicast media data corresponding to the live broadcast request to the client through the unicast server.
In an application scenario, there may be a situation that a provincial backbone network, that is, a top-level CDN does not support a multicast service, but a local-level network, that is, an edge CDN supports a multicast service, or a partial local-level network supports a multicast service, where the network supporting the multicast service responds to a live broadcast request of a client in a multicast service manner, and the network not supporting the multicast service responds to a live broadcast request of a client in a unicast service manner.
In the embodiment of the invention, live broadcast request information sent by a client is received through a live broadcast device, wherein the live broadcast request information comprises configuration information of a live broadcast service mode; when the requested configuration information is in a multicast service mode, determining whether the current content distribution network supports OTT multicast service; if the current content distribution network supports OTT multicast service, adding the client into the corresponding multicast group according to the multicast address in the configuration information, and transmitting the multicast media data in the multicast group to the client; when the configuration information included in the request is a unicast service mode or the current content distribution network does not support the OTT multicast service, the unicast media data corresponding to the live broadcast request is sent to the client through the unicast server, the service mode in the live broadcast request sent by the user is determined through the configuration information, the selection of the service mode corresponding to the live broadcast by the current network is adapted, the OTT network is simpler to operate and easy to maintain, the current network environment does not need to be forcibly transformed, and the cost of network transformation is reduced.
Example two
Fig. 3 shows an implementation flow of another live broadcasting method provided by the second embodiment of the present invention, which is detailed as follows:
in step S301, the epg server sends configuration information of a live service method to the client, where the configuration information of the live service method includes configuration information of a multicast service method and configuration information of a unicast service method.
In the embodiment of the invention, the corresponding live broadcast service mode corresponding to the channel in the electronic program guide is a unicast service mode, a multicast service mode or a unicast and multicast mixed service mode.
Here, a specific implementation flow of sending configuration information of a live service manner to the client by the electronic program guide server in step S301 is shown in fig. 4:
in step S401, the electronic program guide server detects whether corresponding channel information in the content distribution network has changed.
In step S402, when the electronic program guide server detects that the corresponding channel information in the content distribution network changes, the updated configuration information is pushed to the client.
In the embodiment of the invention, the configuration information is pushed to the client through the electronic program guide server, the client receives the data fed back by the live broadcast device according to the pushed configuration information, and when the configuration information is not updated, the electronic program guide server does not push the configuration information to the client any more, so that the client is prevented from frequently and repeatedly requesting the configuration information to the electronic program guide service, the pressure of the electronic program guide server is increased, and the live broadcast efficiency is reduced.
In step S302, live broadcast request information sent by a client is received, where the live broadcast request information includes configuration information of a live broadcast service mode.
In step S303, when the requested configuration information is a multicast service mode, it is determined whether the current content distribution network supports OTT multicast service.
In step S304, if the current content distribution network supports OTT multicast service, the client is added to the corresponding multicast group according to the multicast address in the configuration information, and the multicast media data in the multicast group is sent to the client.
In the embodiment of the invention, the configuration information is pushed to the client through the electronic program guide server, the client receives the data fed back by the live broadcast device according to the pushed configuration information, and when the configuration information is not updated, the electronic program guide server does not push the configuration information to the client any more, so that the client is prevented from frequently and repeatedly requesting the configuration information to the electronic program guide service, the pressure of the electronic program guide server is increased, and the live broadcast efficiency is reduced.
Further, a standby unicast address is set in the multicast address provided by the configuration information, and when a failure of a live broadcast server providing multicast service for the client is detected, unicast media data corresponding to the live broadcast request is issued through the unicast server.
In the embodiment of the invention, when the live broadcast server providing the multicast service by the bit client is detected to have a fault, the unicast server to which the edge CDN with the same administrative level belongs is determined according to the standby unicast address provided in the configuration information, and the unicast media data corresponding to the live broadcast request is issued by the unicast server, so that the live broadcast service is prevented from being terminated, and the user experience is reduced.
Further, when there is no corresponding unicast media data in the unicast servers with the same administrative level, determining whether there is corresponding unicast media data in the unicast server to which the edge CDN of the upper administrative level belongs according to the spare unicast address provided in the configuration information until there is a corresponding unicast media data location in the unicast server to which the top CDN belongs.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the embodiments described above may be implemented by using a program to instruct the relevant hardware, and the corresponding program may be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk or optical disk.
EXAMPLE III
Fig. 5 shows a specific structural block diagram of a live broadcast apparatus 5 according to a third embodiment of the present invention, and for convenience of description, only the parts related to the third embodiment of the present invention are shown.
The live broadcast device 5 provided by the embodiment of the present invention includes a live broadcast request receiving unit 51, an OTT multicast service determining unit 52, a first live broadcast processing unit 53, and a second live broadcast processing unit 54; the live broadcast request receiving unit 51 is configured to receive live broadcast request information sent by a client, where the live broadcast request information includes configuration information of a live broadcast service mode;
an OTT multicast service determining unit 52, configured to determine whether the current content distribution network supports OTT multicast service when the requested configuration information is in a multicast service mode;
a first direct broadcast processing unit 53, configured to, if the current content distribution network supports OTT multicast service, add the client to a corresponding multicast group according to the multicast address in the configuration information, and send multicast media data in the multicast group to the client;
the second live broadcast processing unit 54 is configured to, when the configuration information included in the request is a unicast service mode or the current content distribution network does not support OTT multicast service, issue, to the client, unicast media data corresponding to the live broadcast request through the unicast server.
Specifically, the second processing unit specifically includes a live broadcast request receiving subunit and a second live broadcast processing subunit;
the system comprises a live broadcast request receiving subunit, a live broadcast request receiving subunit and a live broadcast receiving subunit, wherein the live broadcast request receiving subunit is used for receiving a live broadcast request which is sent by a client and comprises configuration information of a unicast service mode;
and the second live broadcast processing subunit is used for issuing unicast media data to the client by the unicast server according to the configuration information.
Further, the apparatus further comprises:
and the configuration information sending unit is used for sending the configuration information of the live broadcast service mode to the client by the electronic program guide server, wherein the configuration information of the live broadcast service mode comprises the configuration information of the multicast service mode and the configuration information of the unicast service mode.
Specifically, the configuration information sending unit includes:
a channel information change detection unit for the electronic program guide server detecting whether the corresponding channel information in the content distribution network changes;
a configuration information pushing unit, configured to push updated configuration information to the client when the electronic program guide server detects that the corresponding channel information in the content distribution network changes.
Further, the apparatus further comprises:
and the multicast fault processing unit is used for issuing unicast media data corresponding to the live broadcast request through the unicast server when detecting that the live broadcast server providing the multicast service for the client fails.
In the embodiment of the invention, live broadcast request information sent by a client is received through a live broadcast device, wherein the live broadcast request information comprises configuration information of a live broadcast service mode; when the requested configuration information is in a multicast service mode, determining whether the current content distribution network supports OTT multicast service; if the current content distribution network supports OTT multicast service, adding the client into the corresponding multicast group according to the multicast address in the configuration information, and transmitting the multicast media data in the multicast group to the client; when the configuration information included in the request is a unicast service mode or the current content distribution network does not support the OTT multicast service, the unicast media data corresponding to the live broadcast request is sent to the client through the unicast server, the service mode in the live broadcast request sent by the user is determined through the configuration information, the selection of the service mode corresponding to the live broadcast by the current network is adapted, the OTT network is simpler to operate and easy to maintain, the current network environment does not need to be forcibly transformed, and the cost of network transformation is reduced.
Those of ordinary skill in the art will appreciate that the various illustrative elements and steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and units may refer to the corresponding processes in the foregoing embodiments of the apparatuses, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the above-described units is only one type of logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The above functions, if implemented in the form of software functional units and sold or used as a separate product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-described apparatus according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of the state or the alternative within the technical scope of the present invention, and the state or the alternative should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A live broadcast method, the method comprising:
receiving live broadcast request information sent by a client, wherein the live broadcast request information comprises configuration information of a live broadcast service mode;
when the requested configuration information is a multicast service mode, determining whether a current content delivery network supports OTT multicast service, wherein the content delivery network CDN is deployed in a classified manner according to administrative levels, the content delivery network with the highest administrative level is a top-level CDN, the content delivery networks with the rest administrative levels are edge CDNs, and the edge CDNs with lower administrative levels are closer to the client; wherein the determining whether the current content distribution network supports the OTT multicast service includes:
determining whether the edge CDN closest to the client supports the OTT multicast service, and when the edge CDN closest to the client does not support the OTT multicast service, determining whether a last-stage edge CDN of the edge CDN closest to the client supports the OTT multicast service until determining whether a top-layer CDN supports the OTT multicast service;
if the current content distribution network supports the OTT multicast service, the client is added into the corresponding multicast group according to the multicast address in the configuration information, and the multicast media data in the multicast group is sent to the client, which comprises the following steps:
determining whether the edge CDN closest to the client supports the OTT multicast service, when the edge CDN closest to the client supports the OTT multicast service, adding the client into a multicast group to which the current edge CDN belongs by the live broadcast device according to a multicast address provided in configuration information, acquiring multicast media data in the multicast group, issuing the acquired multicast media data to the client, and receiving the multicast media data issued by the live broadcast device and displaying the multicast media data to a user by the client;
when the configuration information included in the request is a unicast service mode or the current content distribution network does not support the OTT multicast service, the unicast server issues unicast media data corresponding to the live broadcast request to the client, and the method comprises the following steps:
determining whether the current edge CDN supports a unicast service mode, if the current edge CDN does not support the unicast service mode, determining whether an upper-level edge CDN of the current edge CDN supports the unicast service mode until determining whether a top-level CDN supports the unicast service mode; when the current content distribution network supports the unicast service mode, the live broadcast device determines a corresponding unicast server according to the unicast address provided in the configuration information, and sends unicast media data corresponding to the live broadcast request to the client through the unicast server.
2. The method of claim 1, wherein the step of issuing unicast media data corresponding to the live request to the client through the unicast server comprises:
receiving a live broadcast request including configuration information of a unicast service mode sent by a client;
and according to the configuration information, the unicast server issues unicast media data to the client.
3. The method according to claim 1 or 2, wherein before the step of receiving live request information sent by the client, the live request information including configuration information of a live service method, the method further comprises:
and sending configuration information of a live broadcast service mode to the client by the electronic program guide server, wherein the configuration information of the live broadcast service mode comprises configuration information of a multicast service mode and configuration information of a unicast service mode.
4. The method of claim 3, wherein the step of sending configuration information of the live service mode from the electronic program guide server to the client specifically comprises:
the electronic program guide server detects whether corresponding channel information in the content distribution network changes;
and when the electronic program guide server detects that the corresponding channel information in the content distribution network changes, pushing the updated configuration information to the client.
5. The method of claim 1, wherein the method further comprises:
and when detecting that a live broadcast server providing multicast service for the client fails, issuing unicast media data corresponding to the live broadcast request through a unicast server.
6. A live broadcast apparatus, characterized in that the apparatus comprises:
the live broadcast request receiving unit is used for receiving live broadcast request information sent by a client, wherein the live broadcast request information comprises configuration information of a live broadcast service mode;
an OTT multicast service determining unit, configured to determine, when the requested configuration information is a multicast service manner, whether a current content distribution network supports OTT multicast service, where the content distribution network CDN is deployed in a hierarchical manner according to administrative levels, where a content distribution network at a highest administrative level is a top-level CDN, content distribution networks at the remaining administrative levels are edge CDNs, and an edge CDN at a lower administrative level is closer to a client; wherein the determining whether the current content distribution network supports the OTT multicast service includes:
determining whether the edge CDN closest to the client supports the OTT multicast service, and when the edge CDN closest to the client does not support the OTT multicast service, determining whether a last-stage edge CDN of the edge CDN closest to the client supports the OTT multicast service until determining whether a top-layer CDN supports the OTT multicast service;
a first direct-broadcast processing unit, configured to add a client to a corresponding multicast group according to a multicast address in the configuration information and issue multicast media data in the multicast group to the client if the current content distribution network supports OTT multicast service, where the first direct-broadcast processing unit includes:
determining whether the edge CDN closest to the client supports the OTT multicast service, when the edge CDN closest to the client supports the OTT multicast service, adding the client into a multicast group to which the current edge CDN belongs by the live broadcast device according to a multicast address provided in configuration information, acquiring multicast media data in the multicast group, issuing the acquired multicast media data to the client, and receiving the multicast media data issued by the live broadcast device and displaying the multicast media data to a user by the client;
a second live broadcast processing unit, configured to issue, to a client, unicast media data corresponding to a live broadcast request through a unicast server when the requested configuration information is a unicast service mode or a current content distribution network does not support OTT multicast service, where the second live broadcast processing unit includes:
determining whether the current edge CDN supports a unicast service mode, if the current edge CDN does not support the unicast service mode, determining whether an upper-level edge CDN of the current edge CDN supports the unicast service mode until determining whether a top-level CDN supports the unicast service mode; when the current content distribution network supports the unicast service mode, the live broadcast device determines a corresponding unicast server according to the unicast address provided in the configuration information, and sends unicast media data corresponding to the live broadcast request to the client through the unicast server.
7. The apparatus as claimed in claim 6, wherein the second live processing unit specifically comprises:
the system comprises a live broadcast request receiving subunit, a live broadcast request receiving subunit and a live broadcast receiving subunit, wherein the live broadcast request receiving subunit is used for receiving a live broadcast request which is sent by a client and comprises configuration information of a unicast service mode;
and the second live broadcast processing subunit is used for issuing unicast media data to the client by the unicast server according to the configuration information.
8. The apparatus of claim 6 or 7, wherein the apparatus further comprises:
and the configuration information sending unit is used for sending the configuration information of the live broadcast service mode to the client by the electronic program guide server, wherein the configuration information of the live broadcast service mode comprises the configuration information of the multicast service mode and the configuration information of the unicast service mode.
9. The apparatus of claim 8, wherein the configuration information transmitting unit comprises:
a channel information change detection unit for the electronic program guide server detecting whether the corresponding channel information in the content distribution network changes;
a configuration information pushing unit, configured to push updated configuration information to the client when the electronic program guide server detects that the corresponding channel information in the content distribution network changes.
10. The apparatus of claim 6, wherein the apparatus further comprises:
and the multicast fault processing unit is used for issuing unicast media data corresponding to the live broadcast request through the unicast server when detecting that the live broadcast server providing the multicast service for the client fails.
CN201611270695.0A 2016-12-30 2016-12-30 Live broadcasting method and device Active CN106658044B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611270695.0A CN106658044B (en) 2016-12-30 2016-12-30 Live broadcasting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611270695.0A CN106658044B (en) 2016-12-30 2016-12-30 Live broadcasting method and device

Publications (2)

Publication Number Publication Date
CN106658044A CN106658044A (en) 2017-05-10
CN106658044B true CN106658044B (en) 2020-05-01

Family

ID=58838189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611270695.0A Active CN106658044B (en) 2016-12-30 2016-12-30 Live broadcasting method and device

Country Status (1)

Country Link
CN (1) CN106658044B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109963203B (en) * 2017-12-25 2021-12-07 中国移动通信集团福建有限公司 Video stream conversion and adaptive switching method and device, equipment and medium
CN111372103B (en) * 2018-12-26 2023-05-26 中兴通讯股份有限公司 Multicast method, device, equipment and computer storage medium
CN110012323A (en) * 2019-04-15 2019-07-12 青岛海信电器股份有限公司 A kind of content delivery method and update server
CN110868608B (en) * 2019-11-28 2021-11-16 国家广播电视总局广播电视科学研究院 Live broadcast service scheduling method, device and storage medium
CN111669610B (en) * 2020-05-27 2022-08-05 北京奇艺世纪科技有限公司 Live video transmission method, system, device, server, electronic equipment and storage medium
CN115103202A (en) * 2022-04-27 2022-09-23 北京歌华有线电视网络股份有限公司 IP video live broadcast transmission method and system capable of resisting network degradation

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100477657C (en) * 2004-03-29 2009-04-08 华为技术有限公司 Method for realizing activation of multi-media broadcasting/multicast service
CN101155053B (en) * 2006-09-25 2011-03-30 华为技术有限公司 Method and system for implementing multicast broadcasting service
CN101931876A (en) * 2009-06-26 2010-12-29 华为技术有限公司 Method, device and system for transferring information
CN102480365B (en) * 2010-11-26 2014-01-08 中国科学院声学研究所 System and method for realizing unified multicast
WO2011157143A2 (en) * 2011-05-31 2011-12-22 华为技术有限公司 Method and device for multi-rates handover in live broadcast
CN103491353A (en) * 2013-10-09 2014-01-01 南京怀业信息技术有限公司 Method for video-monitoring streaming media transmission optimal path under multistage multi-domain network
CN104093088B (en) * 2013-12-26 2017-06-23 赛特斯信息科技股份有限公司 Realize that adaptive stream media plays the system and method for control

Also Published As

Publication number Publication date
CN106658044A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN106658044B (en) Live broadcasting method and device
US10764623B2 (en) Method and system for media adaption
US9769529B2 (en) Digital device and method of processing a service thereof
US8639759B2 (en) Picture-in-picture video content distribution
US9641900B2 (en) Channel change via an alternate multimedia content delivery system
US9258611B2 (en) Multi-source assisted content delivering system
CN108737500B (en) Target resource obtaining and providing method and device, storage medium and computer equipment
CN104683834A (en) Method And Device For Processing A Media Content Stream
CN102859965A (en) Gateway device for extending IMS sevice to local network and for communication device thereon
JP6742375B2 (en) System and method for distributing digital content
CN103414740A (en) Private cloud account configuration method and device
CN101742240A (en) IPTV (internet protocol television) system capable of flexibly switching multi-media nodes and implementation method thereof
CN104410917A (en) Realization method for cable interactive television cross-domain video service connection system
JP5722633B2 (en) Content management at the functional level
CN105933922B (en) Information sending method, information receiving method and device
CN103986939A (en) Display apparatus, server and control method thereof
US20120014266A1 (en) Managing a converged device that is capable of communicating with a plurality of connections
CN102246459B (en) Method for updating interactive information, device, server and terminal
CN111263214A (en) Multi-screen interaction realization method and system
CN102438170B (en) Audio and video service on demand method applied to broadcast television network, system thereof and apparatus
EP3285495A1 (en) Video online reminding method, device and system
CN103501444A (en) Video resource management method and video resource manager
CN102447954B (en) Method for managing channel number resource in network television system and device
CN106341737A (en) IP multicast stream processing method, switch set, server and system
CN105100905A (en) Discrete network authentication method, device, and client

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
CB02 Change of applicant information

Address after: 518000 Guangdong city of Shenzhen province Nanshan District Guangdong streets Gao Xin Road No. 016 three storey building on the east side of Lenovo

Applicant after: Excellent network Co., Ltd.

Address before: 518000 Guangdong city of Shenzhen province Nanshan District Guangdong streets Gao Xin Road No. 016 three storey building on the east side of Lenovo

Applicant before: UT Starcom (Shenzhen) Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant