WO2011157143A2 - Method and device for multi-rates handover in live broadcast - Google Patents

Method and device for multi-rates handover in live broadcast Download PDF

Info

Publication number
WO2011157143A2
WO2011157143A2 PCT/CN2011/075042 CN2011075042W WO2011157143A2 WO 2011157143 A2 WO2011157143 A2 WO 2011157143A2 CN 2011075042 W CN2011075042 W CN 2011075042W WO 2011157143 A2 WO2011157143 A2 WO 2011157143A2
Authority
WO
WIPO (PCT)
Prior art keywords
live
unicast
live channel
channel
multicast
Prior art date
Application number
PCT/CN2011/075042
Other languages
French (fr)
Chinese (zh)
Other versions
WO2011157143A3 (en
Inventor
王志兵
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2011/075042 priority Critical patent/WO2011157143A2/en
Priority to CN201180000522.6A priority patent/CN102204268B/en
Publication of WO2011157143A2 publication Critical patent/WO2011157143A2/en
Publication of WO2011157143A3 publication Critical patent/WO2011157143A3/en

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/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
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • 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/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

Definitions

  • the present invention relates to the field of Internet Protocol television live broadcasting, and more particularly to a method and apparatus for multi-rate switching in Internet Protocol Television Live Broadcast. Background technique
  • the technologies for providing live TV on an IP network include unicast and multicast.
  • unicast mode a one-to-one network connection is established between the client and the streaming server.
  • the streaming server sends the encoded live broadcast signal to the client through the established network connection, and the client is responsible for decoding and playing.
  • Multiple clients need to establish multiple independent network connections, and the pressure on streaming media servers and network devices increases linearly with the number of users.
  • the live broadcast signals received by the client are the same when multiple clients are watching live programs.
  • the multicast signal can also be used to distribute live broadcast signals.
  • the streaming media server actively pushes the multicast signals.
  • the client joins the multicast group, and the network device performs multicast signal transmission and replication according to the user location distribution. When the network device is delivered, only the live signal is copied when the link is forked, which can effectively alleviate the pressure on the network device.
  • the most common method adopted by the operator is to encode a live program of multiple grades according to the client's capabilities, and publish multiple live links (such as standard definition, high definition, etc.) in the user portal, according to the user's own terminal.
  • the decoding capability and client access bandwidth select the appropriate link for playback.
  • the live broadcast can be carried out in unicast or multicast mode.
  • the typical flaw of the solution is that the user is required to have the expertise to get the best live broadcast service when the user chooses the wrong one.
  • the program requires the user to make manual selection confirmation every time, and the user is more troublesome to operate.
  • Another method adopted by the operator is to define the user type according to the user's device type and network access type when the user opens an account, and associate the user type with the live broadcast rate.
  • the system is responsible for Select the appropriate bit rate to play according to the user type.
  • the live broadcast can be carried out in unicast or multicast mode.
  • the complexity of the user selection is solved, but a method of binding the user and the terminal capability in advance is adopted, and when the user's terminal capability changes, the work cannot be performed well.
  • Another method adopted by operators is to release live programs with multiple bit rates, but multi-rate It is invisible to the user.
  • the terminal dynamically selects an appropriate code rate according to the user access bandwidth and the terminal decoding capability during the channel playing process.
  • the complexity of user selection and operation and maintenance is well solved, and the terminal selects an appropriate code rate in real time according to the measured access bandwidth.
  • the live channel must be unicast (the client cannot measure the user access bandwidth in the multicast mode), and the unicast adopts the peer-to-peer method. Transmission efficiency is low. Summary of the invention
  • a technical problem to be solved by the embodiment of the present invention is that, when receiving a live channel during group play, the client dynamically selects an appropriate code rate according to access parameters, such as user access bandwidth and terminal decoding capability.
  • An embodiment of the present invention provides a method for receiving an Internet Protocol television, including: acquiring capability set information of a live channel, where the capability set information includes a unicast address of a live channel; and obtaining, by using a unicast address, an access request for acquiring a live channel, Receiving a live channel in a unicast manner; acquiring an access parameter in a unicast receiving live channel, and selecting an appropriate code rate according to the access parameter; releasing a link for receiving the live channel in a unicast manner; The code rate is sent to obtain the access request of the live channel in multicast mode, and the live channel is received in multicast form.
  • An embodiment of the present invention provides an Internet Protocol television live broadcast device, where the device includes: a content management system unit configured to configure a live broadcast encoder; and a live broadcast encoder configured to perform live broadcast signals of a live channel according to instructions of the content management system unit.
  • the live broadcast distributor is configured to obtain the live broadcast encoder distribution by multicast according to the instruction of the content management system unit a rate multicast stream, buffering a multi-rate multicast stream, and generating a unicast address corresponding to each bit rate of the multi-rate multicast stream, and then returning the unicast address to the content management system unit;
  • the user portal unit Receiving the live broadcast capability set information sent from the content management system unit, where the capability set information includes a unicast address of the live channel; wherein the live broadcast distributor is further configured to receive the access request of the live channel sent by the terminal through the unicast address, and The live channel is sent in unicast mode.
  • the terminal Accessing the bandwidth, selecting a code rate corresponding to the access bandwidth, and then releasing the link for transmitting the live channel in a unicast manner, and switching to the multicast stream corresponding to the selected code rate, and continuing through the multicast mode.
  • Receive live channels During the process of sending the live channel in unicast, the terminal Accessing the bandwidth, selecting a code rate corresponding to the access bandwidth, and then releasing the link for transmitting the live channel in a unicast manner, and switching to the multicast stream corresponding to the selected code rate, and continuing through the multicast mode.
  • Embodiments of the present invention provide a user terminal for a live broadcast of an Internet protocol, a user terminal
  • the method includes: an access request module, configured to retrieve capability set information of a live channel, where the capability set information includes a unicast address of the live channel, and the access request module is further configured to send an access request for obtaining a live channel by using the unicast address a live broadcast receiving module, configured to receive a live channel, wherein, when the access request module sends an access request for obtaining a live channel through a unicast address, the live broadcast receiving module receives the live channel in a unicast manner; and the control module is configured to The live receiving module obtains the access parameter in the process of receiving the live channel in a unicast manner, and selects an appropriate code rate according to the access parameter, where the control module instructs the live broadcast receiving module to release the link for receiving the live channel in a unicast manner, and instructs The access requesting module sends an access request for acquiring a live channel in a multicast manner
  • the user can select a code rate according to an access parameter, such as an access bandwidth and a decoding capability, and receive a live channel in a group play manner, thereby effectively reducing the load of the network device and reducing the user when providing the live broadcast service.
  • an access parameter such as an access bandwidth and a decoding capability
  • FIG. 1 is a schematic structural diagram of a system for implementing a live multi-rate switching method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a multi-rate live channel publishing method according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for receiving a multi-rate live channel according to an embodiment of the present invention
  • FIG. 4 is a flowchart of an example of receiving a multi-rate live channel according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a user equipment for receiving a multi-rate live channel according to an embodiment of the present invention
  • FIG. 6 is another schematic structural diagram of a user equipment for receiving a multi-rate live channel according to an embodiment of the present invention
  • FIG. 7 is a schematic structural diagram of an apparatus for releasing a multi-rate live channel according to an embodiment of the present invention. detailed description
  • the live multi-rate switching system 100 includes: a content management system (CMS) unit 110, a live broadcast encoder 120, a user portal unit 130, a live broadcast distributor 140, and a user terminal 150.
  • CMS content management system
  • the content management system unit 110 is configured to provide the content management capability to the operator, and notify the live broadcast distributor 140 of the multicast capability set of the live channel issued by the operator to generate a corresponding unicast capability set, and notify the user portal.
  • Unit 130 completes the distribution of live channel multicast and unicast capability sets.
  • the live broadcast encoder 120 performs multi-rate encoding on the original live signal according to the configuration of the operator, and forms a multi-rate multicast stream, and transmits the data through multicast.
  • the live broadcast distributor 140 is configured to obtain the multi-rate multicast stream output by the live broadcast encoder 120 in a multicast manner, and accept the request from the user terminal 150 to convert the multicast stream into the unicast mode and send it to the user terminal 150.
  • the user portal 130 is configured to issue a live channel capability set to the user terminal 150, where the live channel capability set includes information such as a code rate, a resolution, a unicast address, a multicast address, and the like of the plurality of code streams of the direct channel.
  • the user terminal 150 is configured to parse the live channel capability set, and first obtain the live stream from the live broadcaster 140 in a unicast manner and measure the user access bandwidth. When the code rate selected by the user terminal 150 tends to be stable, the user terminal 150 switches to the code. Rate the corresponding multicast address, receive the live channel in multicast mode, and reduce the load on the bearer network.
  • FIG. 2 is a schematic diagram of a multi-rate live channel release according to an embodiment of the present invention. As shown in Figure 2, the process of publishing a multi-rate live channel is as follows:
  • the content of the live broadcast encoder 120 is completed by the content management system unit 110, including the number of code streams supported by the encoder, the encoding format, resolution, code rate, and multicast address of each code stream; 202: through content management The system unit 110 fills in the encoded information to perform live channel distribution, and the content management system 110 notifies the live broadcast distributor 140 to receive the multi-rate multicast stream output by the live broadcast encoder 120.
  • the live broadcast distributor 140 receives the multicast stream, buffers the multicast stream, and generates a corresponding unicast address, and returns it to the content management system 110;
  • the content management system unit 110 generates capability set description information of the live channel, including the number of code streams encoded by the live channel, the encoding format, resolution, code rate, multicast address, and unicast address of each code stream;
  • FIG. 3 is a flowchart of a method for receiving an Internet Protocol television live channel according to an embodiment of the present invention. As shown in FIG. 3, the Internet protocol television live channel receiving method includes:
  • the capability set information includes a number of code streams of the live channel, an encoding format of each code stream, a resolution, a code rate, a multicast address, and a unicast address; And obtaining, by using the unicast address, an access request for acquiring a live channel, where the live channel is received in a unicast manner;
  • acquiring access parameters in the process of receiving a live channel in a unicast manner may include measuring an access bandwidth of the user terminal, and querying a decoding capability of the user terminal.
  • the access bandwidth of the user terminal is increased, for example, the bandwidth occupied by other network connections is released; or the access bandwidth is reduced, for example, the packet loss rate of the multicast packet is exceeded.
  • the method of the embodiment of the present invention can reselect the multicast stream with a larger code rate or smaller for smoother playback.
  • the user terminal releases the link for receiving the live channel in the form of multicast, and obtains the access request of the live channel to the live broadcaster through the unicast address again, receives the live channel in a unicast manner, and receives the broadcast channel in a unicast manner.
  • a new access parameter is obtained, for example, a new access bandwidth, and an appropriate new code rate is selected according to the new access parameter, for example, a code rate corresponding to the access bandwidth is selected.
  • the user terminal releases the link for receiving the live channel in unicast mode, and then sends an access request for acquiring the live channel in a multicast manner according to the selected new code rate, and receives the live channel in multicast form.
  • FIG. 4 is a schematic timing chart showing an example of a multi-code rate live channel receiving method according to an embodiment of the present invention. As shown in Figure 4, the process of receiving the multi-rate live channel is as follows:
  • the user requests to play a live channel through the user terminal 150.
  • the user terminal 150 obtains the capability set information of the live channel through the user portal unit 130, including the number of the live channel code stream, the encoding format, resolution, code rate, multicast address, unicast address, and the like of each code stream. ;
  • the user terminal 150 first acquires a unicast stream to the live broadcast distributor 140 by using a unicast manner. And performing decoding and playback of the unicast stream;
  • the user terminal 150 dynamically obtains the access parameter of the user in the process of acquiring the unicast stream, for example, measuring the access bandwidth of the user, and selecting an appropriate code rate according to the decoding capability of the user terminal, for example, selecting and accessing the bandwidth. Corresponding code rate;
  • the unicast stream link is released, and according to the capability set information of the live channel, the multicast stream corresponding to the selected code rate is switched, and the multicast stream is decoded and played.
  • FIG. 5 is a structural block diagram of a user terminal device for receiving an Internet Protocol television live channel according to an embodiment of the present invention.
  • the user terminal device 500 includes: an access requesting module 510, configured to acquire capability set information of a live channel, where the capability set information includes a number of code streams of a live channel, an encoding format of each code stream, a resolution, a code rate, a multicast address, and a unicast address, and the access requesting module 510 is further configured to send an access request for acquiring a live channel by using the unicast address, and the live receiving module 520 is configured to receive the live channel.
  • an access requesting module 510 configured to acquire capability set information of a live channel, where the capability set information includes a number of code streams of a live channel, an encoding format of each code stream, a resolution, a code rate, a multicast address, and a unicast address
  • the access requesting module 510 is further configured to send an access request for acquiring a live channel by
  • the live broadcast receiving module 520 receives the live channel in a unicast manner; the control module 530 is configured to unicast the live broadcast receiving module 520.
  • the access parameter is obtained, for example, the access bandwidth, and the appropriate code rate is selected according to the access parameter, for example, the code rate corresponding to the access bandwidth is selected, where the control module 530 instructs the live broadcast.
  • the receiving module 520 releases the link for receiving the live channel in unicast mode, and instructs the access request module 510 to select according to the selected Rate, multicasts obtain live channel access request, the broadcast receiving module 520 for the access module 520 multicasts a request sent by the access request acquired live channel, receiving the multicast broadcast channel in form.
  • FIG. 6 is a structural block diagram of a user terminal device according to an embodiment of the present invention.
  • the user terminal device shown in FIG. 6 further includes a monitoring module 540, configured to monitor changes in access parameters, such as an increase in user terminal access bandwidth, such as releasing bandwidth occupied by other network connections; or reducing access bandwidth, for example, The packet loss rate of the multicast packet is too high, and the control module 530 is notified when the access parameter changes, for example, when the access bandwidth changes.
  • the control module 530 instructs the live broadcast receiving module 520 to release the link for receiving the live channel in multicast form, and then instructs the access request module 510 to send an access request for the live channel through the unicast address.
  • the live receiving module 520 obtains a new access parameter, for example, measuring an access bandwidth of the current user terminal, and acquiring a decoding capability of the user terminal, and according to the new access parameter. Selecting a suitable new code rate, such as a larger or smaller code rate, for example, selecting a larger or smaller code rate corresponding to the access bandwidth, and then instructing the live broadcast receiving module 520 to release the live broadcast frequency in unicast form.
  • the link of the track, and the command access request module 510 sends an access request for acquiring the live channel in a multicast manner according to the selected new code rate, and the live broadcast receiving module 520 obtains the live channel in a multicast manner for the access request module.
  • the access request receives the live channel in multicast form.
  • FIG. 7 is a structural block diagram of an Internet Protocol television live broadcast device according to an embodiment of the present invention.
  • the live broadcast device 700 includes: a content management system unit 710, configured to configure a live broadcast encoder 720, including configuring a number of code streams supported by the live broadcast encoder 720, an encoding format and a resolution of each code stream, The code rate and the multicast address are used by the live broadcast encoder 720, and the live broadcast signal of the live channel is multi-code encoded according to the instruction of the content management system unit 710 to form a multi-rate multicast stream, and distributed by the group play mode.
  • the multi-rate multicast stream is described.
  • the user portal unit 730 is configured to receive live broadcast capability set information sent from the content management system unit 710, where the capability set information includes the number of code streams of the live channel, the encoding format of each code stream, and the resolution.
  • the rate, the code rate, the multicast address, the unicast address, and the live broadcast distributor 740 configured to acquire the multi-rate multicast stream distributed by the live broadcast encoder in a multicast manner according to an instruction of the content management system unit 710. Cache the multi-rate multicast stream, and generate a unicast address corresponding to each bit rate of the multi-rate multicast stream, and then return the unicast address to the content tube System unit 710.
  • the live broadcaster 740 is further configured to receive, by using the unicast address, an access request for obtaining a live channel sent by the terminal, and send the live channel in a unicast manner, in a process of transmitting the live channel in a unicast manner,
  • the terminal measures an access bandwidth, and selects an appropriate code rate according to the access bandwidth and the terminal decoding capability, for example, selects a code rate corresponding to the access bandwidth, and then releases the UDP to send the live broadcast.
  • the link of the channel is switched to the multicast stream corresponding to the selected code rate, and the live channel is continuously received through the multicast mode.
  • the user can select a code rate according to an access parameter, such as an access bandwidth and a decoding capability, and receive a live channel in a group play manner, thereby effectively reducing the load of the network device and reducing the user when providing the live broadcast service.
  • an access parameter such as an access bandwidth and a decoding capability
  • RAM random access memory
  • ROM read only memory
  • electrically programmable ROM electrically erasable programmable ROM. registers, hard disk, removable disk, CD-ROM. or any other form of storage known in the art. In the medium.

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)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Embodiments of the present invention relate to a method and device for multi-rates handover in live broadcast. An Internet Protocol television reception method includes: obtaining ability set information of a live broadcast channel, wherein the ability set information contains the unicast address of the live broadcast channel; sending an access request for obtaining the live broadcast channel by the unicast address in order to receive the live broadcast channel in the form of unicast; in the process of receiving the live broadcast channel in the form of unicast, obtaining access parameters and choosing an appropriate rate according to the access parameters; releasing the link for receiving the live broadcast channel in the form of unicast; according to the chosen rate, sending an access request for obtaining the live broadcast channel in the form of multicast, and receiving the live broadcast channel in the form of multicast. By embodiments of the present invention, it can be realized that a user chooses the rate and receives the live broadcast channel in the form of multicast according to the access parameters, such as the access bandwidth and decoding ability, so that the load of a network device is effectively reduced and the complexity of user choice and operation maintenance when the live broadcast service is provided is also reduced.

Description

直播多码率切换的方法和设备 技术领域  Method and device for switching live rate multi-rate
本发明涉及互联网协议电视直播领域, 更具体地说, 涉及互联网协议电 视直播中多码率切换的方法和设备。 背景技术  The present invention relates to the field of Internet Protocol television live broadcasting, and more particularly to a method and apparatus for multi-rate switching in Internet Protocol Television Live Broadcast. Background technique
在 IP 网络中提供电视直播的技术包括单播和组播两种方式。 单播方式 下, 由客户端和流媒体服务器之间建立一对一的网络连接, 流媒体服务器通 过建立的网络连接将编码后的直播信号发送到客户端, 由客户端负责进行解 码播放。 多个客户端需要建立多个独立的网络连接, 对流媒体服务器和网络 设备的压力随着用户数增多呈线性增长。  The technologies for providing live TV on an IP network include unicast and multicast. In unicast mode, a one-to-one network connection is established between the client and the streaming server. The streaming server sends the encoded live broadcast signal to the client through the established network connection, and the client is responsible for decoding and playing. Multiple clients need to establish multiple independent network connections, and the pressure on streaming media servers and network devices increases linearly with the number of users.
组播方式下, 由于多个客户端在收看直播节目时, 客户端接收的直播信 号是相同的, 也可以利用组播技术分发直播信号, 在组播情况下, 流媒体服 务器主动推送组播信号, 客户端加入该组播组, 由网络设备根据用户位置分 布进行组播信号传递和复制。 由于网洛设备传递时, 只有出现链路分叉时才 复制直播信号, 可以有效緩解网络设备的压力。  In the multicast mode, the live broadcast signals received by the client are the same when multiple clients are watching live programs. The multicast signal can also be used to distribute live broadcast signals. In the case of multicast, the streaming media server actively pushes the multicast signals. The client joins the multicast group, and the network device performs multicast signal transmission and replication according to the user location distribution. When the network device is delivered, only the live signal is copied when the link is forked, which can effectively alleviate the pressure on the network device.
目前, 运营商采用的最常用的方法是, 根据客户端能力对直播节目编码 多个档次的直播节目, 并且在用户门户中发布多个直播链接(如标清、 高清 等), 由用户根据自己终端的解码能力、 客户端接入带宽选择合适的链接进 行播放。 在该方案下, 直播可以采用单播或者组播方式开展。 该方案的典型 缺陷即要求用户具备专业知识, 当用户选择错误时不能获得最好的直播服 务。 同时, 该方案要求用户每次都要进行手工选择确认, 用户操作起来较麻 烦。  At present, the most common method adopted by the operator is to encode a live program of multiple grades according to the client's capabilities, and publish multiple live links (such as standard definition, high definition, etc.) in the user portal, according to the user's own terminal. The decoding capability and client access bandwidth select the appropriate link for playback. Under this scheme, the live broadcast can be carried out in unicast or multicast mode. The typical flaw of the solution is that the user is required to have the expertise to get the best live broadcast service when the user chooses the wrong one. At the same time, the program requires the user to make manual selection confirmation every time, and the user is more troublesome to operate.
目前运营商采用的另一种方法是, 在用户开户时根据用户的设备类型、 网络接入类型定义用户类型, 并且将用户类型和直播码率关联起来, 当用户 播放直播节目时, 由系统负责根据用户类型选择合适的码率进行播放。 在该 方案下, 直播可以采用单播或者组播方式开展。 在这种技术方案下, 解决了 用户选择的复杂性,但是采取的是一种预先将用户和终端能力绑定起来的方 式, 当用户的终端能力发生变化后, 无法 4艮好的工作。  Another method adopted by the operator is to define the user type according to the user's device type and network access type when the user opens an account, and associate the user type with the live broadcast rate. When the user plays the live program, the system is responsible for Select the appropriate bit rate to play according to the user type. Under this scheme, the live broadcast can be carried out in unicast or multicast mode. Under this technical solution, the complexity of the user selection is solved, but a method of binding the user and the terminal capability in advance is adopted, and when the user's terminal capability changes, the work cannot be performed well.
运营商还采用的另一种方法是, 发布多个码率的直播节目, 但是多码率 对用户不可见, 当用户播放直播节目时, 由终端在频道播放过程中根据用户 接入带宽和终端解码能力动态选择合适的码率。 在这种技术方案下, 很好的 解决了用户选择和运营维护的复杂性, 由终端根据测量的接入带宽实时选择 合适码率。 由于要求终端在播放过程中实时测量用户接入带宽, 因此直播频 道必须采用单播方式进行开展 (組播方式下客户端无法测量用户接入带宽), 而单播是采用点对点方式, 承载网的传输效率低。 发明内容 Another method adopted by operators is to release live programs with multiple bit rates, but multi-rate It is invisible to the user. When the user plays the live program, the terminal dynamically selects an appropriate code rate according to the user access bandwidth and the terminal decoding capability during the channel playing process. Under this technical solution, the complexity of user selection and operation and maintenance is well solved, and the terminal selects an appropriate code rate in real time according to the measured access bandwidth. Because the terminal is required to measure the user access bandwidth in real time during the playback process, the live channel must be unicast (the client cannot measure the user access bandwidth in the multicast mode), and the unicast adopts the peer-to-peer method. Transmission efficiency is low. Summary of the invention
本发明实施例一方面要解决的技术问题是在以组播放时接收直播频道 的情况下, 由客户端根据接入参数, 例如用户接入带宽和终端解码能力动态 选择合适的码率。  A technical problem to be solved by the embodiment of the present invention is that, when receiving a live channel during group play, the client dynamically selects an appropriate code rate according to access parameters, such as user access bandwidth and terminal decoding capability.
本发明实施例提出一种互联网协议电视接收的方法, 包括: 获取直播频 道的能力集信息, 其中能力集信息包括直播频道的单播地址; 通过单播地址 发送获取直播频道的接入请求, 用于以单播形式接收直播频道; 在以单播形 式接收直播频道过程中, 获取接入参数, 并根据接入参数选择合适的码率; 释放以单播形式接收直播频道的链接; 根据所选择的码率, 发送以组播方式 获取直播频道的接入请求, 以组播形式接收直播频道。  An embodiment of the present invention provides a method for receiving an Internet Protocol television, including: acquiring capability set information of a live channel, where the capability set information includes a unicast address of a live channel; and obtaining, by using a unicast address, an access request for acquiring a live channel, Receiving a live channel in a unicast manner; acquiring an access parameter in a unicast receiving live channel, and selecting an appropriate code rate according to the access parameter; releasing a link for receiving the live channel in a unicast manner; The code rate is sent to obtain the access request of the live channel in multicast mode, and the live channel is received in multicast form.
本发明实施例提出一种互联网协议电视直播设备, 设备包括: 内容管理 系统单元, 用于配置直播编码器; 直播编码器, 用于根据内容管理系统单元 的指令, 将直播频道的直播信号进行多码率编码, 形成多码率组播流, 并通 过组播放方式分发多码率组播流; 直播分发器, 用于根据内容管理系统单元 的指令, 通过组播方式获取直播编码器分发的多码率组播流, 緩存多码率组 播流, 并生成与多码率组播流的各码率对应的单播地址, 然后将单播地址返 回给内容管理系统单元; 用户门户单元, 用于接收发自内容管理系统单元的 直播能力集信息, 其中能力集信息包括直播频道的单播地址; 其中直播分发 器还用于通过单播地址接收终端发出的获取直播频道的接入请求, 并将直播 频道以单播形式发送, 在以单播方式发送直播频道过程中, 终端测量接入带 宽, 并选择与所述接入带宽对应的码率, 然后释放以单播方式发送直播频道 的链接, 并切换到与所选择的码率对应的组播流, 通过组播方式继续接收直 播频道。  An embodiment of the present invention provides an Internet Protocol television live broadcast device, where the device includes: a content management system unit configured to configure a live broadcast encoder; and a live broadcast encoder configured to perform live broadcast signals of a live channel according to instructions of the content management system unit. Rate coding, forming a multi-rate multicast stream, and distributing the multi-rate multicast stream through the group play mode; the live broadcast distributor is configured to obtain the live broadcast encoder distribution by multicast according to the instruction of the content management system unit a rate multicast stream, buffering a multi-rate multicast stream, and generating a unicast address corresponding to each bit rate of the multi-rate multicast stream, and then returning the unicast address to the content management system unit; the user portal unit, Receiving the live broadcast capability set information sent from the content management system unit, where the capability set information includes a unicast address of the live channel; wherein the live broadcast distributor is further configured to receive the access request of the live channel sent by the terminal through the unicast address, and The live channel is sent in unicast mode. During the process of sending the live channel in unicast, the terminal Accessing the bandwidth, selecting a code rate corresponding to the access bandwidth, and then releasing the link for transmitting the live channel in a unicast manner, and switching to the multicast stream corresponding to the selected code rate, and continuing through the multicast mode. Receive live channels.
本发明实施例提出一种用于互联网协议电视直播的用户终端, 用户终端 包括: 接入请求模块, 用于菽取直播频道的能力集信息, 其中能力集信息包 括直播频道的单播地址, 并且接入请求模块还用于通过单播地址发送获取直 播频道的接入请求; 直播接收模块, 用于接收直播频道, 其中在接入请求模 块通过单播地址发送获取直播频道的接入请求的情况下, 直播接收模块以单 播形式接收直播频道; 控制模块, 用于在直播接收模块以单播形式接收直播 频道的过程中, 获取接入参数, 并根据接入参数选择合适的码率, 其中控制 模块指令直播接收模块释放以单播形式接收直播频道的链接, 并指令接入请 求模块根据所选择的码率, 发送以组播方式获取直播频道的接入请求, 直播 接收模块针对接入请求模块发送的组播方式获取直播频道的接入请求, 以组 播形式接收直播频道。 Embodiments of the present invention provide a user terminal for a live broadcast of an Internet protocol, a user terminal The method includes: an access request module, configured to retrieve capability set information of a live channel, where the capability set information includes a unicast address of the live channel, and the access request module is further configured to send an access request for obtaining a live channel by using the unicast address a live broadcast receiving module, configured to receive a live channel, wherein, when the access request module sends an access request for obtaining a live channel through a unicast address, the live broadcast receiving module receives the live channel in a unicast manner; and the control module is configured to The live receiving module obtains the access parameter in the process of receiving the live channel in a unicast manner, and selects an appropriate code rate according to the access parameter, where the control module instructs the live broadcast receiving module to release the link for receiving the live channel in a unicast manner, and instructs The access requesting module sends an access request for acquiring a live channel in a multicast manner according to the selected code rate, and the live broadcast receiving module obtains an access request of the live channel for the multicast mode sent by the access requesting module, and receives the access request in a multicast manner. Live channel.
根据本发明实施例, 可以实现用户根据接入参数, 例如接入带宽和解码 能力, 选择码率并以组播放方式接收直播频道, 有效地降低了网络设备的负 载, 降低了提供直播服务时用户选择和运营维护的复杂性。 附图说明  According to the embodiment of the present invention, the user can select a code rate according to an access parameter, such as an access bandwidth and a decoding capability, and receive a live channel in a group play manner, thereby effectively reducing the load of the network device and reducing the user when providing the live broadcast service. The complexity of selection and operational maintenance. DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例或现有技 术描述中所需要使用的附图作简单地介绍, 显而易见地, 下面描述中的附图 仅仅是本发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造 性劳动性的前提下, 还可以根据这些附图获得其他的附图。 在附囹中: 图 1是实现本发明实施例的直播多码率切换方法的系统的结构示意图; 图 2是本发明实施例的多码率直播频道发布方法的流程图;  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description are only some of the present invention. For the embodiments, those skilled in the art can obtain other drawings according to the drawings without any creative labor. 1 is a schematic structural diagram of a system for implementing a live multi-rate switching method according to an embodiment of the present invention; FIG. 2 is a flowchart of a multi-rate live channel publishing method according to an embodiment of the present invention;
图 3是本发明实施例的多码率直播频道接收方法的流程图;  3 is a flowchart of a method for receiving a multi-rate live channel according to an embodiment of the present invention;
图 4是本发明实施例的多码率直播频道接收实例的流程图;  4 is a flowchart of an example of receiving a multi-rate live channel according to an embodiment of the present invention;
图 5是本发明实施例的接收多码率直播频道的用户设备的结构示意图; 图 6是本发明实施例的接收多码率直播频道的用户设备的另一结构示意 图;  5 is a schematic structural diagram of a user equipment for receiving a multi-rate live channel according to an embodiment of the present invention; FIG. 6 is another schematic structural diagram of a user equipment for receiving a multi-rate live channel according to an embodiment of the present invention;
图 7是本发明实施例的发布多码率直播频道的设备的结构示意图。 具体实施方式  FIG. 7 is a schematic structural diagram of an apparatus for releasing a multi-rate live channel according to an embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是 全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创 造性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, instead of All embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
以下参照图 1所示用于实现直播多码率切换的系统结构示意图来说明。 如图 1所示, 直播多码率切换系统 100 包括: 内容管理系统(CMS )单元 110、 直播编码器 120、 用户门户单元 130、 直播分发器 140和用户终端 150。 以下具体说明各个单元, 内容管理系统单元 110用于向运营商提供内容管理 能力, 将运营商发布的直播频道的组播能力集通知直播分发器 140生成对应 的单播能力集, 并且通知用户门户单元 130完成直播频道组播和单播能力集 发布。 直播编码器 120根据运营商的配置, 将原始的直播信号进行多码率编 码, 形成多码率组播流, 并且通过組播方式进行传输。 直播分发器 140用于 通过组播方式获取直播编码器 120输出的多码率組播流, 并接受用户终端 150的请求, 将組播流转换为单播方式发送到用户终端 150。 用户门户 130 用于向用户终端 150发布直播频道能力集,其中所述直播频道能力集包括直 播频道多个码流的码率、分辨率、单播地址、組播地址等信息。用户终端 150 用于解析直播频道能力集, 并且先通过单播方式从直播分发器 140获取直播 流并测量用户接入带宽, 当用户终端 150选择的码率趋于稳定后, 切换到与 该码率对应的组播地址, 以組播方式接收直播频道, 降低承载网负载。  The following is a schematic diagram of a system structure for realizing live multi-rate switching as shown in FIG. As shown in FIG. 1, the live multi-rate switching system 100 includes: a content management system (CMS) unit 110, a live broadcast encoder 120, a user portal unit 130, a live broadcast distributor 140, and a user terminal 150. The content management system unit 110 is configured to provide the content management capability to the operator, and notify the live broadcast distributor 140 of the multicast capability set of the live channel issued by the operator to generate a corresponding unicast capability set, and notify the user portal. Unit 130 completes the distribution of live channel multicast and unicast capability sets. The live broadcast encoder 120 performs multi-rate encoding on the original live signal according to the configuration of the operator, and forms a multi-rate multicast stream, and transmits the data through multicast. The live broadcast distributor 140 is configured to obtain the multi-rate multicast stream output by the live broadcast encoder 120 in a multicast manner, and accept the request from the user terminal 150 to convert the multicast stream into the unicast mode and send it to the user terminal 150. The user portal 130 is configured to issue a live channel capability set to the user terminal 150, where the live channel capability set includes information such as a code rate, a resolution, a unicast address, a multicast address, and the like of the plurality of code streams of the direct channel. The user terminal 150 is configured to parse the live channel capability set, and first obtain the live stream from the live broadcaster 140 in a unicast manner and measure the user access bandwidth. When the code rate selected by the user terminal 150 tends to be stable, the user terminal 150 switches to the code. Rate the corresponding multicast address, receive the live channel in multicast mode, and reduce the load on the bearer network.
图 2是本发明实施例的多码率直播频道发布的示意图。 如图 2所示, 多 码率直播频道发布的流程如下:  FIG. 2 is a schematic diagram of a multi-rate live channel release according to an embodiment of the present invention. As shown in Figure 2, the process of publishing a multi-rate live channel is as follows:
201 : 通过内容管理系统单元 110完成直播编码器 120的配置, 包括编 码器支持的码流个数,各码流的编码格式、 分辨率、码率、组播地址等信息; 202: 通过内容管理系统单元 110填写编码信息进行直播频道发布, 内 容管理系统 110通知直播分发器 140接收直播编码器 120输出的多码率组播 流;  201: The content of the live broadcast encoder 120 is completed by the content management system unit 110, including the number of code streams supported by the encoder, the encoding format, resolution, code rate, and multicast address of each code stream; 202: through content management The system unit 110 fills in the encoded information to perform live channel distribution, and the content management system 110 notifies the live broadcast distributor 140 to receive the multi-rate multicast stream output by the live broadcast encoder 120.
203: 直播分发器 140接收组播流, 緩存组播流, 并生成对应的单播地 址, 返回给内容管理系统 110;  203: The live broadcast distributor 140 receives the multicast stream, buffers the multicast stream, and generates a corresponding unicast address, and returns it to the content management system 110;
204: 内容管理系统单元 110生成直播频道的能力集描述信息, 包括该 直播频道编码的码流个数, 各码流的编码格式、 分辨率、 码率、 组播地址、 单播地址等信息;  204: The content management system unit 110 generates capability set description information of the live channel, including the number of code streams encoded by the live channel, the encoding format, resolution, code rate, multicast address, and unicast address of each code stream;
205: 内容管理系统单元 110通知用户门户单元 130直播频道的能力集 信息, 进行直播频道发布。 图 3是本发明实施例的互联网协议电视直播频道接收方法的流程图。如 图 3所示, 互联网协议电视直播频道接收方法, 包括: 205: The content management system unit 110 notifies the user of the capability set information of the live channel of the portal unit 130, and performs live channel issuance. FIG. 3 is a flowchart of a method for receiving an Internet Protocol television live channel according to an embodiment of the present invention. As shown in FIG. 3, the Internet protocol television live channel receiving method includes:
310: 获取直播频道的能力集信息, 其中所述能力集信息包括所述直播 频道的码流个数、 各码流的编码格式、 分辨率、 码率、 组播地址、 单播地址; 320: 通过所述单播地址发送获取直播频道的接入请求, 用于以单播形 式接收所述直播频道;  310: Obtain capability set information of a live channel, where the capability set information includes a number of code streams of the live channel, an encoding format of each code stream, a resolution, a code rate, a multicast address, and a unicast address; And obtaining, by using the unicast address, an access request for acquiring a live channel, where the live channel is received in a unicast manner;
330: 在以单播形式接收所述直播频道过程中, 获取接入参数, 并根据 所述接入参数选择合适的码率;  330: In the process of receiving the live channel in a unicast manner, acquiring an access parameter, and selecting an appropriate code rate according to the access parameter;
340: 释放以单播形式接收所述直播频道的链接;  340: Release a link that receives the live channel in unicast form;
350: 根据所选择的码率, 发送以组播方式获取直播频道的接入请求, 以组播形式接收所述直播频道。  350: Send an access request for acquiring a live channel in a multicast manner according to the selected code rate, and receive the live channel in a multicast manner.
根据本发明实施例,以单播形式接收直播频道的过程中获取接入参数可 以包括测量用户终端的接入带宽, 并且查询用户终端的解码能力。  According to the embodiment of the present invention, acquiring access parameters in the process of receiving a live channel in a unicast manner may include measuring an access bandwidth of the user terminal, and querying a decoding capability of the user terminal.
根据本发明实施例, 在接入参数发生变化之后, 例如用户终端的接入带 宽增大, 例如释放了其他网络连接占用的带宽; 或者接入带宽减小, 例如组 播报文丢包率过高时,则本发明实施例的方法可以重新选择码率更大或更小 的组播流, 以便更为流畅的播放。 具体为, 用户终端释放以组播形式接收直 播频道的链接, 并再次通过单播地址向直播分发器获取直播频道的接入请 求,以单播方式接收直播频道,并且在以单播形式接收所述直播频道过程中, 获取新的接入参数, 例如新的接入带宽, 并根据所述新的接入参数选择合适 的新码率, 例如选择与所述接入带宽对应的码率。 然后, 用户终端释放以单 播形式接收所述直播频道的链接, 接着根据所选择的新码率, 发送以组播方 式获取直播频道的接入请求, 以组播形式接收所述直播频道。  According to the embodiment of the present invention, after the access parameter changes, for example, the access bandwidth of the user terminal is increased, for example, the bandwidth occupied by other network connections is released; or the access bandwidth is reduced, for example, the packet loss rate of the multicast packet is exceeded. When the time is high, the method of the embodiment of the present invention can reselect the multicast stream with a larger code rate or smaller for smoother playback. Specifically, the user terminal releases the link for receiving the live channel in the form of multicast, and obtains the access request of the live channel to the live broadcaster through the unicast address again, receives the live channel in a unicast manner, and receives the broadcast channel in a unicast manner. During the live channel, a new access parameter is obtained, for example, a new access bandwidth, and an appropriate new code rate is selected according to the new access parameter, for example, a code rate corresponding to the access bandwidth is selected. Then, the user terminal releases the link for receiving the live channel in unicast mode, and then sends an access request for acquiring the live channel in a multicast manner according to the selected new code rate, and receives the live channel in multicast form.
以下结合具体的例子说明本发明实施例的方法。 图 4是本发明实施例的 多码率直播频道接收方法的示例的示意时序图。 如图 4所示, 多码率直播频 道接收的流程如下:  The method of the embodiment of the present invention will be described below with reference to specific examples. Fig. 4 is a schematic timing chart showing an example of a multi-code rate live channel receiving method according to an embodiment of the present invention. As shown in Figure 4, the process of receiving the multi-rate live channel is as follows:
401 : 用户通过用户终端 150请求播放直播频道;  401: The user requests to play a live channel through the user terminal 150.
402: 用户终端 150通过用户门户单元 130获取该直播频道的能力集信 息, 包括该直播频道码流个数, 各码流的编码格式、 分辨率、 码率、 组播地 址、 单播地址等信息;  402: The user terminal 150 obtains the capability set information of the live channel through the user portal unit 130, including the number of the live channel code stream, the encoding format, resolution, code rate, multicast address, unicast address, and the like of each code stream. ;
403: 用户终端 150首先通过单播方式向直播分发器 140获取单播流, 并进行单播流的解码播放; 403: The user terminal 150 first acquires a unicast stream to the live broadcast distributor 140 by using a unicast manner. And performing decoding and playback of the unicast stream;
404: 用户终端 150在获取单播流的过程中动态获取用户的接入参数, 例如测量用户的接入带宽, 并根据用户终端的解码能力, 选择一个合适的码 率, 例如选择与接入带宽对应的码率;  404: The user terminal 150 dynamically obtains the access parameter of the user in the process of acquiring the unicast stream, for example, measuring the access bandwidth of the user, and selecting an appropriate code rate according to the decoding capability of the user terminal, for example, selecting and accessing the bandwidth. Corresponding code rate;
405: 选择码率完成后释放单播流链接, 根据直播频道的能力集信息, 切换到与选择的码率对应的组播流, 并进行组播流的解码播放。  405: After the code rate is completed, the unicast stream link is released, and according to the capability set information of the live channel, the multicast stream corresponding to the selected code rate is switched, and the multicast stream is decoded and played.
图 5是用于本发明实施例的互联网协议电视直播频道接收方法的用户终 端设备的结构框图。如图 5所示,用户终端设备 500包括:接入请求模块 510, 用于获取直播频道的能力集信息, 其中所述能力集信息包括直播频道的码流 个数、 各码流的编码格式、 分辨率、 码率、 组播地址、 单播地址, 并且接入 请求模块 510还用于通过所述单播地址发送获取直播频道的接入请求; 直播 接收模块 520, 用于接收所述直播频道, 其中在接入请求模块 510通过单播 地址发送获取直播频道的接入请求的情况下, 直播接收模块 520以单播形式 接收直播频道; 控制模块 530, 用于在直播接收模块 520以单播形式接收直 播频道的过程中, 获取接入参数, 例如接入带宽, 并根据接入参数选择合适 的码率, 例如选择与所述接入带宽对应的码率, 其中控制模块 530指令所述 直播接收模块 520释放以单播形式接收直播频道的链接, 并指令接入请求模 块 510根据所选择的码率, 发送以组播方式获取直播频道的接入请求, 直播 接收模块 520针对接入请求模块 520发送的以组播方式获取直播频道的接入 请求, 以组播形式接收所述直播频道。  FIG. 5 is a structural block diagram of a user terminal device for receiving an Internet Protocol television live channel according to an embodiment of the present invention. As shown in FIG. 5, the user terminal device 500 includes: an access requesting module 510, configured to acquire capability set information of a live channel, where the capability set information includes a number of code streams of a live channel, an encoding format of each code stream, a resolution, a code rate, a multicast address, and a unicast address, and the access requesting module 510 is further configured to send an access request for acquiring a live channel by using the unicast address, and the live receiving module 520 is configured to receive the live channel. In the case that the access requesting module 510 sends an access request for obtaining a live channel through a unicast address, the live broadcast receiving module 520 receives the live channel in a unicast manner; the control module 530 is configured to unicast the live broadcast receiving module 520. In the process of receiving the live channel, the access parameter is obtained, for example, the access bandwidth, and the appropriate code rate is selected according to the access parameter, for example, the code rate corresponding to the access bandwidth is selected, where the control module 530 instructs the live broadcast. The receiving module 520 releases the link for receiving the live channel in unicast mode, and instructs the access request module 510 to select according to the selected Rate, multicasts obtain live channel access request, the broadcast receiving module 520 for the access module 520 multicasts a request sent by the access request acquired live channel, receiving the multicast broadcast channel in form.
图 6是本发明实施例的用户终端设备的结构框图。 图 6所示的用户终端 设备还包括监测模块 540, 用于监测接入参数的变化, 例如用户终端接入带 宽增大, 例如释放了其他网络连接占用的带宽; 或者接入带宽减小, 例如组 播报文丢包率过高, 并在接入参数变化时, 例如在接入带宽变化时, 通知所 述控制模块 530。 控制模块 530在收到监测模块 540发出的通知后, 指令直 播接收模块 520释放以组播形式接收直播频道的链接, 然后指令接入请求模 块 510 通过单播地址发送获取直播频道的接入请求, 并且在直播接收模块 520以单播形式接收直播频道的过程中, 获取新的接入参数, 例如测量当前 用户终端的接入带宽并获取用户终端的解码能力,并根据所述新的接入参数 选择合适的新码率, 例如更大或更小的码率, 例如选择与接入带宽对应的更 大的或更小的码率, 然后指令直播接收模块 520释放以单播形式接收直播频 道的链接, 并指令接入请求模块 510根据所选择的新码率, 发送以组播方式 获取直播频道的接入请求, 直播接收模块 520针对接入请求模块发送的以组 播方式获取直播频道的接入请求, 以組播形式接收直播频道。 FIG. 6 is a structural block diagram of a user terminal device according to an embodiment of the present invention. The user terminal device shown in FIG. 6 further includes a monitoring module 540, configured to monitor changes in access parameters, such as an increase in user terminal access bandwidth, such as releasing bandwidth occupied by other network connections; or reducing access bandwidth, for example, The packet loss rate of the multicast packet is too high, and the control module 530 is notified when the access parameter changes, for example, when the access bandwidth changes. After receiving the notification sent by the monitoring module 540, the control module 530 instructs the live broadcast receiving module 520 to release the link for receiving the live channel in multicast form, and then instructs the access request module 510 to send an access request for the live channel through the unicast address. And in the process of receiving the live channel in the unicast mode, the live receiving module 520 obtains a new access parameter, for example, measuring an access bandwidth of the current user terminal, and acquiring a decoding capability of the user terminal, and according to the new access parameter. Selecting a suitable new code rate, such as a larger or smaller code rate, for example, selecting a larger or smaller code rate corresponding to the access bandwidth, and then instructing the live broadcast receiving module 520 to release the live broadcast frequency in unicast form. The link of the track, and the command access request module 510 sends an access request for acquiring the live channel in a multicast manner according to the selected new code rate, and the live broadcast receiving module 520 obtains the live channel in a multicast manner for the access request module. The access request receives the live channel in multicast form.
图 7是本发明实施例互联网协议电视直播设备的结构框图。如图 7所示, 所述直播设备 700包括: 内容管理系统单元 710, 用于配置直播编码器 720, 包括配置直播编码器 720支持的码流个数、 各码流的编码格式、 分辨率、 码 率、 组播地址; 直播编码器 720, 用于根据内容管理系统单元 710的指令, 将直播频道的直播信号进行多码率编码, 形成多码率组播流, 并通过组播放 方式分发所述多码率组播流; 用户门户单元 730 , 用于接收发自内容管理系 统单元 710的直播能力集信息, 其中能力集信息包括直播频道的码流个数、 各码流的编码格式、 分辨率、 码率、 组播地址、 单播地址; 直播分发器 740, 用于根据内容管理系统单元 710的指令,通过组播方式获取所述直播编码器 分发的所述多码率组播流, 緩存所述多码率组播流, 并生成与多码率组播流 的各码率对应的单播地址, 然后将所述单播地址返回给内容管理系统单元 710。 直播分发器 740还用于通过所述单播地址接收终端发出的获取直播频 道的接入请求, 并将所述直播频道以单播形式发送, 在以单播方式发送所述 直播频道过程中, 所述终端测量接入带宽, 并根据所述接入带宽和终端解码 能力选择合适的码率, 例如选择与所述接入带宽对应的码率, 然后释放所述 以单播方式发送所述直播频道的链接 , 并切换到与所选择的码率对应的组播 流, 通过组播方式继续接收所述直播频道。  FIG. 7 is a structural block diagram of an Internet Protocol television live broadcast device according to an embodiment of the present invention. As shown in FIG. 7, the live broadcast device 700 includes: a content management system unit 710, configured to configure a live broadcast encoder 720, including configuring a number of code streams supported by the live broadcast encoder 720, an encoding format and a resolution of each code stream, The code rate and the multicast address are used by the live broadcast encoder 720, and the live broadcast signal of the live channel is multi-code encoded according to the instruction of the content management system unit 710 to form a multi-rate multicast stream, and distributed by the group play mode. The multi-rate multicast stream is described. The user portal unit 730 is configured to receive live broadcast capability set information sent from the content management system unit 710, where the capability set information includes the number of code streams of the live channel, the encoding format of each code stream, and the resolution. The rate, the code rate, the multicast address, the unicast address, and the live broadcast distributor 740, configured to acquire the multi-rate multicast stream distributed by the live broadcast encoder in a multicast manner according to an instruction of the content management system unit 710. Cache the multi-rate multicast stream, and generate a unicast address corresponding to each bit rate of the multi-rate multicast stream, and then return the unicast address to the content tube System unit 710. The live broadcaster 740 is further configured to receive, by using the unicast address, an access request for obtaining a live channel sent by the terminal, and send the live channel in a unicast manner, in a process of transmitting the live channel in a unicast manner, The terminal measures an access bandwidth, and selects an appropriate code rate according to the access bandwidth and the terminal decoding capability, for example, selects a code rate corresponding to the access bandwidth, and then releases the UDP to send the live broadcast. The link of the channel is switched to the multicast stream corresponding to the selected code rate, and the live channel is continuously received through the multicast mode.
根据本发明实施例, 可以实现用户根据接入参数, 例如接入带宽和解码 能力, 选择码率并以组播放方式接收直播频道, 有效地降低了网络设备的负 载, 降低了提供直播服务时用户选择和运营维护的复杂性。  According to the embodiment of the present invention, the user can select a code rate according to an access parameter, such as an access bandwidth and a decoding capability, and receive a live channel in a group play manner, thereby effectively reducing the load of the network device and reducing the user when providing the live broadcast service. The complexity of selection and operational maintenance.
本领域普通技术人员可以意识到, 结合本文中所公开的实施例描述的各 示例的单元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结合来实 现, 为了清楚地说明硬件和软件的可互换性, 在上述说明中已经按照功能一 般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执 行, 取决于技术方案的特定应用和设计约束条件。 专业技术人员可以对每个 特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超 出本发明的范围。  Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware, computer software or a combination of both, in order to clearly illustrate hardware and software. Interchangeability, the composition and steps of the various examples have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
结合本文中所公开的实施例描述的方法或算法的步骤可以用硬件、处理 器执行的软件模块, 或者二者的结合来实施。 软件模块可以置于随机存储器The steps of the method or algorithm described in connection with the embodiments disclosed herein may be implemented in hardware, processing The software module executed by the device, or a combination of the two. Software modules can be placed in random access memory
( RAM )、 内存、 只读存储器 (ROM )、 电可编程 ROM, 电可擦除可编程 ROM. 寄存器、 硬盘、 可移动磁盘、 CD-ROM. 或技术领域内所公知的任意 其它形式的存储介质中。 (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM. registers, hard disk, removable disk, CD-ROM. or any other form of storage known in the art. In the medium.
尽管已示出和描述了本发明的一些实施例, 但本领域技术人员应理解, 在不脱离本发明的原理和精神的情况下, 可对这些实施例进行各种修改, 这 样的修改应落入本发明的范围内。  While some embodiments of the present invention have been shown and described, it will be understood by those skilled in the art It is within the scope of the invention.

Claims

权利要求 Rights request
1. 一种互联网协议电视接收的方法, 其特征在于,  A method for receiving an Internet protocol television, characterized in that
获取直播频道的能力集信息, 其中所述能力集信息包括所述直播频道的 单播地址;  Obtaining capability set information of the live channel, where the capability set information includes a unicast address of the live channel;
通过所述单播地址发送获取直播频道的接入请求, 用于以单播形式接收 所述直播频道;  And obtaining, by using the unicast address, an access request for obtaining a live channel, and configured to receive the live channel in a unicast manner;
在以单播形式接收所述直播频道过程中, 获取接入参数, 并根据所述接 入参数选择合适的码率;  In the process of receiving the live channel in unicast mode, acquiring an access parameter, and selecting an appropriate code rate according to the access parameter;
释放以单播形式接收所述直播频道的链接;  Release a link to receive the live channel in unicast form;
根据所选择的码率, 发送以组播方式获取直播频道的接入请求, 以组播 形式接收所述直播频道。  Sending an access request for acquiring a live channel in a multicast manner according to the selected code rate, and receiving the live channel in a multicast manner.
2、 如权利要求 1所述的方法, 其特征在于, 其中所述接入参数包括接 入带宽, 在以单播形式接收所述直播频道过程中, 获取所述接入带宽, 并选 择与所述接入带宽对应的码率。  2. The method according to claim 1, wherein the access parameter comprises an access bandwidth, and in the process of receiving the live channel in a unicast manner, acquiring the access bandwidth, and selecting and The code rate corresponding to the access bandwidth.
3. 如权利要求 1所述的方法, 其特征在于, 所述方法还包括: 在所述接入参数发生变化之后,释放以组播形式接收所述直播频道的链 接;  The method according to claim 1, wherein the method further comprises: releasing a link for receiving the live channel in a multicast form after the access parameter changes;
通过所述单播地址发送获取直播频道的接入请求, 用于以单播形式接收 所述直播频道;  And obtaining, by using the unicast address, an access request for obtaining a live channel, and configured to receive the live channel in a unicast manner;
在以单播形式接收所述直播频道过程中, 获取新的接入参数, 并根据所 述新的接入参数选择合适的新码率;  In the process of receiving the live channel in unicast mode, acquiring a new access parameter, and selecting a suitable new code rate according to the new access parameter;
释放以单播形式接收所述直播频道的链接;  Release a link to receive the live channel in unicast form;
根据所选择的新码率, 发送以組播方式获取直播频道的接入请求, 以组 播形式接收所述直播频道。  According to the selected new code rate, an access request for acquiring a live channel in a multicast manner is sent, and the live channel is received in a multicast form.
4. 如权利要求 1至 3任一项所述的方法, 其特征在于, 所述能力集信 息还包括所述直播频道的码流个数、 各码流的编码格式、 分辨率、 码率、 组 播地址。  The method according to any one of claims 1 to 3, wherein the capability set information further includes a number of code streams of the live channel, an encoding format of each code stream, a resolution, a code rate, and Multicast address.
5. 一种互联网协议电视直播设备, 其特征在于, 所述设备包括: 内容管理系统单元, 用于配置直播编码器;  An Internet Protocol Television Live Broadcasting Device, the device comprising: a content management system unit, configured to configure a live broadcast encoder;
直播编码器, 用于根据所述内容管理系统单元的指令, 将直播频道的直 播信号进行多码率编码, 形成多码率组播流, 并通过组播放方式分发所述多 码率组播流; a live broadcast encoder, configured to perform multi-rate encoding on the live broadcast signal of the live channel according to the instruction of the content management system unit, to form a multi-rate multicast stream, and distribute the multiple by group play mode Rate rate multicast stream;
直播分发器, 用于根据所述内容管理系统单元的指令, 通过组播方式获 取所述直播编码器分发的所述多码率組播流, 緩存所述多码率组播流, 并生 成与多码率组播流的各码率对应的单播地址, 然后将所述单播地址返回给所 述内容管理系统单元;  a live broadcast distributor, configured to acquire, according to an instruction of the content management system unit, the multi-rate multicast stream distributed by the live broadcast encoder, and buffer the multi-rate multicast stream, and generate and a unicast address corresponding to each code rate of the multi-rate multicast stream, and then returning the unicast address to the content management system unit;
用户门户单元, 用于接收发自所述内容管理系统单元的直播能力集信 息, 其中所述能力集信息包括所述直播频道的单播地址;  a user portal unit, configured to receive live broadcast capability set information sent by the content management system unit, where the capability set information includes a unicast address of the live broadcast channel;
其中所述直播分发器还用于通过所述单播地址接收终端发出的获取直 播频道的接入请求, 并将所述直播频道以单播形式发送, 在以单播方式发送 所述直播频道过程中, 所述终端获取接入带宽, 并根据所述接入带宽和终端 解码能力选择合适的码率 , 然后释放所述以单播方式发送所述直播频道的链 接, 并切换到与所选择的码率对应的組播流, 通过組播方式继续接收所述直 播频道。  The live broadcast distributor is further configured to receive, by using the unicast address, an access request for obtaining a live channel sent by the terminal, and send the live channel in a unicast manner, and send the live channel in a unicast manner. The terminal acquires an access bandwidth, and selects an appropriate code rate according to the access bandwidth and the terminal decoding capability, and then releases the link for transmitting the live channel in a unicast manner, and switches to the selected one. The multicast stream corresponding to the code rate continues to receive the live channel through the multicast mode.
6. 如权利要求 5所述的设备, 其特征在于, 所述内容管理系统单元配 置直播编码器支持的码流个数、 各码流的编码格式、 分辨率、 码率、 组播地 址。  The device according to claim 5, wherein the content management system unit configures the number of code streams supported by the live encoder, the encoding format of each code stream, the resolution, the code rate, and the multicast address.
7. 一种用于互联网协议电视直播的用户终端, 其特征在于, 所述用户 终端包括:  A user terminal for live broadcasting of an Internet Protocol, characterized in that the user terminal comprises:
接入请求模块, 用于获取直播频道的能力集信息, 其中所述能力集信息 包括所述直播频道的单播地址, 并且所述接入请求模块还用于通过所述单播 地址发送获取直播频道的接入请求;  An access request module, configured to acquire capability set information of a live channel, where the capability set information includes a unicast address of the live channel, and the access request module is further configured to send a live broadcast by using the unicast address. Channel access request;
直播接收模块, 用于接收所述直播频道, 其中在接入请求模块通过所述 单播地址发送获取直播频道的接入请求的情况下,所述直播接收模块以单播 形式接收所述直播频道;  The live broadcast receiving module is configured to receive the live channel, where the live broadcast receiving module receives the live channel in a unicast manner, when the access request module sends an access request for obtaining a live channel through the unicast address. ;
控制模块, 用于在所述直播接收模块以单播形式接收所述直播频道的过 程中, 获取接入参数, 并根据所述接入参数选择合适的码率, 其中所述控制 模块指令所述直播接收模块释放以单播形式接收所述直播频道的链接,并指 令接入请求模块根据所选择的码率,发送以组播方式获取直播频道的接入请 求, 所述直播接收模块针对接入请求模块发送的组播方式获取直播频道的接 入请求, 以组播形式接收所述直播频道。  a control module, configured to: when the live broadcast receiving module receives the live channel in a unicast manner, acquire an access parameter, and select an appropriate code rate according to the access parameter, where the control module instructs the The live broadcast receiving module releases the link for receiving the live channel in unicast mode, and instructs the access request module to send an access request for acquiring the live channel in a multicast manner according to the selected code rate, where the live broadcast receiving module is configured to access The multicast mode sent by the requesting module obtains an access request of the live channel, and receives the live channel in a multicast form.
8. 如权利要求 7所述的用户终端, 其特征在于, 所述用户终端还包括: 监测模块, 用于监测所述接入参数的变化, 并在所述接入参数变化时, 通知所述控制模块; The user terminal according to claim 7, wherein the user terminal further comprises: a monitoring module, configured to monitor a change of the access parameter, and notify the control module when the access parameter changes;
所述控制模块在收到所述监测模块发出的所述通知后,指令所述直播接 收模块释放以组播形式接收所述直播频道的链接, 然后指令所述接入请求模 块通过所述单播地址发送获取直播频道的接入请求, 并且在所述直播接收模 块以单播形式接收所述直播频道的过程中, 获取新的接入参数, 并根据所述 新的接入参数选择合适的新码率, 然后指令所述直播接收模块释放以单播形 式接收所述直播频道的链接, 并指令所述接入请求模块根据所选择的新码 率, 发送以组播方式获取直播频道的接入请求, 所述直播接收模块针对接入 请求模块发送的以组播方式获取直播频道的接入请求, 以组播形式接收所述 直播频道。  After receiving the notification sent by the monitoring module, the control module instructs the live broadcast receiving module to release a link for receiving the live channel in a multicast manner, and then instructs the access request module to pass the unicast The address is sent to obtain an access request of the live channel, and in the process of receiving the live channel in the unicast mode, the live receiving module acquires a new access parameter, and selects a suitable new one according to the new access parameter. a code rate, and then instructing the live broadcast receiving module to release the link for receiving the live channel in unicast mode, and instructing the access request module to send the multicast channel access according to the selected new code rate. The request, the live broadcast receiving module obtains an access request for a live channel in a multicast manner sent by the access request module, and receives the live channel in a multicast manner.
9. 如权利要求 7或 8所述的用户终端, 其特征在于, 所述接入参数为 接入带宽, 在以单播形式接收所述直播频道过程中, 所述控制模块获取所述 接入带宽, 并选择与所述接入带宽对应的码率。  The user terminal according to claim 7 or 8, wherein the access parameter is an access bandwidth, and the control module acquires the access during the process of receiving the live channel in unicast mode. Bandwidth, and selecting a code rate corresponding to the access bandwidth.
10. 如权利要求 7至 9任一项所述的用户终端, 其特征在于, 所述能力 集信息包括所述直播频道的码流个数、 各码流的编码格式、 分辨率、 码率、 组播地址。  The user terminal according to any one of claims 7 to 9, wherein the capability set information includes a number of code streams of the live channel, an encoding format of each code stream, a resolution, a code rate, and Multicast address.
PCT/CN2011/075042 2011-05-31 2011-05-31 Method and device for multi-rates handover in live broadcast WO2011157143A2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2011/075042 WO2011157143A2 (en) 2011-05-31 2011-05-31 Method and device for multi-rates handover in live broadcast
CN201180000522.6A CN102204268B (en) 2011-05-31 2011-05-31 Method and device for direct broadcast multi-code switching

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/075042 WO2011157143A2 (en) 2011-05-31 2011-05-31 Method and device for multi-rates handover in live broadcast

Publications (2)

Publication Number Publication Date
WO2011157143A2 true WO2011157143A2 (en) 2011-12-22
WO2011157143A3 WO2011157143A3 (en) 2012-05-03

Family

ID=44662830

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/075042 WO2011157143A2 (en) 2011-05-31 2011-05-31 Method and device for multi-rates handover in live broadcast

Country Status (2)

Country Link
CN (1) CN102204268B (en)
WO (1) WO2011157143A2 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103179438B (en) * 2011-12-20 2015-12-16 中国移动通信集团上海有限公司 Video playback accesses determination method and the device of code check first
CN103036889B (en) * 2012-12-19 2016-08-17 常州中流电子科技有限公司 A kind of adaptive flow media playing method and Play System thereof
CN104468395B (en) * 2014-10-20 2018-11-06 广州华多网络科技有限公司 The channel access method and system of direct broadcasting room
CN104540043A (en) * 2014-12-24 2015-04-22 北京邮电大学 Video transmitting method for wireless network and base station
CN105959714B (en) * 2016-04-28 2019-04-05 武汉斗鱼网络科技有限公司 According to the method and system of the automatic recommendation network live streaming parameter of the hardware environment of user
CN106101865A (en) * 2016-06-30 2016-11-09 凌云天博光电科技股份有限公司 A kind of reduce the method for video playback waiting time, video playing terminal and system
CN107872684B (en) * 2016-09-23 2020-02-28 中国电信股份有限公司 Video code rate adjusting method, device and system, video coding method and server
CN107968948A (en) * 2016-10-19 2018-04-27 北京新唐思创教育科技有限公司 Online Video playback method and system
CN106658044B (en) * 2016-12-30 2020-05-01 优地网络有限公司 Live broadcasting method and device
CN110049355A (en) * 2018-01-17 2019-07-23 华为技术有限公司 Method for broadcasting multimedia file and device
CN110519652B (en) 2018-05-22 2021-05-18 华为软件技术有限公司 VR video playing method, terminal and server
TWI718957B (en) * 2020-06-01 2021-02-11 長茂科技股份有限公司 Remote-end instant image supporting system and method
CN115103202A (en) * 2022-04-27 2022-09-23 北京歌华有线电视网络股份有限公司 IP video live broadcast transmission method and system capable of resisting network degradation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050183120A1 (en) * 2004-01-13 2005-08-18 Saurabh Jain Multi-user personalized digital multimedia distribution methods and systems
CN101095126A (en) * 2003-08-27 2007-12-26 思科技术公司 Methods and apparatus for accessing presence information
CN101431657A (en) * 2007-11-07 2009-05-13 华为技术有限公司 Time shift processing method, system and apparatus for network TV
CN101583020A (en) * 2009-06-11 2009-11-18 中兴通讯股份有限公司 Program broadcasting system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101095126A (en) * 2003-08-27 2007-12-26 思科技术公司 Methods and apparatus for accessing presence information
US20050183120A1 (en) * 2004-01-13 2005-08-18 Saurabh Jain Multi-user personalized digital multimedia distribution methods and systems
CN101431657A (en) * 2007-11-07 2009-05-13 华为技术有限公司 Time shift processing method, system and apparatus for network TV
CN101583020A (en) * 2009-06-11 2009-11-18 中兴通讯股份有限公司 Program broadcasting system and method

Also Published As

Publication number Publication date
WO2011157143A3 (en) 2012-05-03
CN102204268B (en) 2012-12-12
CN102204268A (en) 2011-09-28

Similar Documents

Publication Publication Date Title
WO2011157143A2 (en) Method and device for multi-rates handover in live broadcast
KR102299233B1 (en) Content delivery
CN104704793B (en) For the method and apparatus of the processing of multi-medium data
EP2036350B1 (en) Media channel management
JP6501265B2 (en) System and method for delivering audiovisual content to client devices
US20020023165A1 (en) Method and apparatus for encoder-based distribution of live video and other streaming content
JP4702397B2 (en) Content server, information processing apparatus, network device, content distribution method, information processing method, and content distribution system
TWI520613B (en) Systems and methods for media distribution
JP2007500974A (en) Apparatus and method for handling high-speed changes in digital streaming format or source
WO2014188886A1 (en) Content supply device, content supply method, program, and content supply system
WO2013163551A1 (en) Combined broadcast and unicast delivery
CN106233735A (en) Multicast Flows transmits
US20150012929A1 (en) Network controlled streaming
WO2015064383A1 (en) Transmission device, transmission method, reception device, and reception method
CN108063911B (en) Video conference capacity expansion method
WO2014208377A1 (en) Content supply device, content supply method, program, terminal device, and content supply system
CN104093088A (en) System and method for achieving self-adaptive stream media play control
WO2007005194A1 (en) Apparatuses and methods for delivering data stream content to consumer devices
CN104427354A (en) Broadcast media sharing method and node subsystem, and streaming media server
CN102761550B (en) Realize the method for streaming media service, Apparatus and system
JPWO2014148277A1 (en) Content supply apparatus, content supply method, program, and content supply system
US7668185B2 (en) Distribution apparatus, receiving apparatus tree-type distribution system, and information processing method etc.
WO2015146647A1 (en) Transmission device, transmission method, reception device, reception method, and program
JP2010161550A (en) Image content reception device and image content reception method
JP5610743B2 (en) Content receiving method and apparatus

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201180000522.6

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11795109

Country of ref document: EP

Kind code of ref document: A2

NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11795109

Country of ref document: EP

Kind code of ref document: A2