WO2012069014A1 - 基于前向纠错的iptv传输质量控制方法及iptv终端 - Google Patents

基于前向纠错的iptv传输质量控制方法及iptv终端 Download PDF

Info

Publication number
WO2012069014A1
WO2012069014A1 PCT/CN2011/082966 CN2011082966W WO2012069014A1 WO 2012069014 A1 WO2012069014 A1 WO 2012069014A1 CN 2011082966 W CN2011082966 W CN 2011082966W WO 2012069014 A1 WO2012069014 A1 WO 2012069014A1
Authority
WO
WIPO (PCT)
Prior art keywords
packet
error correction
forward error
iptv
fec
Prior art date
Application number
PCT/CN2011/082966
Other languages
English (en)
French (fr)
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 中兴通讯股份有限公司
Publication of WO2012069014A1 publication Critical patent/WO2012069014A1/zh

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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • H04N21/4382Demodulation or channel decoding, e.g. QPSK demodulation
    • 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
    • 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/643Communication protocols
    • H04N21/64322IP

Definitions

  • IPTV transmission quality control method based on forward error correction and IPTV terminal
  • the present invention relates to the field of interactive network television based on the IP protocol, and in particular, to a network quality television (IPTV) transmission quality control method based on Forward Error Correction (FEC) and an IPTV terminal.
  • IPTV network quality television
  • FEC Forward Error Correction
  • the streaming media server transmits media data to the IPTV terminal through the IP network.
  • the transport layer protocol is mainly divided into a User Datagram Protocol (UDP) and a Transmission Control Protocol (TCP), due to the UDP method. It occupies less bandwidth than TCP, so it is the most widely used in IPTV systems.
  • UDP User Datagram Protocol
  • TCP Transmission Control Protocol
  • the UDP method is a connectionless and unreliable transmission method. Packets may be lost during transmission. Packet loss will affect the decoding of the decoder, which may result in mosaic and pause when playing the program. Therefore, transmission quality control is required to ensure the playback effect of the program.
  • the existing transmission quality control method usually adopts the method of automatic repeat reQuest (ARQ) to perform packet loss recovery.
  • the packet loss retransmission requires an IPTV terminal.
  • the set-top box detects the packet loss and feeds back the packet loss information to the streaming media server.
  • the streaming media server caches some of the transmitted data packets when the data packet is sent. Once the set-top box requests retransmission, the streaming media server Will find the corresponding packet in the cache to resend.
  • This type of transmission quality control is suitable for situations where real-time requirements are not high, such as on-demand and time-shift.
  • the packet loss retransmission process usually requires multiple interactions, which greatly increases. The delay is not enough to meet the needs of users.
  • the packet loss reported by the set top box may not be in the cache of the streaming server. It is impossible to retransmit, that is, for high bit rate programs, the loss recovery effect is limited. Therefore, an improved FEC-based IPTV transmission quality control method and IPTV terminal are urgently needed to overcome the above drawbacks.
  • the object of the present invention is to provide an FEC-based IPTV transmission quality control method and an IPTV terminal, which can not only ensure the real-time performance of a unicast live program, but also effectively control the transmission quality of the IPTV system.
  • the present invention provides an FEC-based IPTV transmission quality control method, where the method includes: an IPTV terminal acquires playback information of a current program; and the playback information is a unicast live broadcast, and receives from a streaming media server.
  • the IPTV transmission quality control method further comprises: interacting with the media server to obtain a FEC capability set parameter of the media server.
  • the FEC capability set parameters include a FEC packet size, a redundancy rate, and a redundancy packet load type.
  • the receiving the media data packet from the streaming media server and the corresponding forward error correction redundant package includes: informing the media server whether the IPTV terminal supports the FEC function, and if supported, receiving the streaming media server Media packets and corresponding FEC redundancy packages.
  • the IPTV transmission quality control method further includes that the play information is not unicast direct broadcast, and when the packet loss is detected, the packet loss retransmission mechanism is used to recover the lost packet.
  • the receiving the media data packet from the streaming media server and the corresponding FEC redundancy packet are: respectively receiving the media data packet and the FEC redundancy packet transmitted through two UDP channels.
  • the receiving the media data packet from the streaming media server and the corresponding FEC redundancy packet is: receiving the media data packet and the FEC redundancy packet transmitted through a UDP channel, and transmitting according to real-time RTP (Real-time Transport Protocol)
  • RTP Real-time Transport Protocol
  • the present invention also provides an FEC-based IPTV terminal, where the IPTV terminal includes: a play information acquisition unit, a data receiving unit, a packet loss detection unit, and an FEC unit.
  • the playing information acquiring unit is configured to acquire the playing information of the current program
  • the data receiving unit is configured to receive the media data packet sent by the media server when the playing information acquired by the playing information acquiring unit is a unicast live broadcast.
  • the packet loss detection unit is configured to detect whether there is a packet loss; and the FEC unit is configured to: when the packet loss detection unit detects a packet loss, the media received by the data receiving unit The corresponding FEC redundancy packet and the same group of media data packets are searched in the data packet and the FEC redundancy packet, and the packet loss is recovered according to the found FEC redundancy packet and the media data packet.
  • the FEC-based IPTV terminal further includes an FEC capability notification unit, configured to notify the media server whether the IPTV terminal supports the FEC function.
  • the FEC-based IPTV terminal further includes an FEC parameter obtaining unit, configured to receive an FEC capability set parameter sent by the media server.
  • the FEC-based IPTV terminal further includes an ARQ unit, configured to recover the lost packet by using a packet loss retransmission mechanism when the play information acquired by the play information acquiring unit is not a unicast live broadcast.
  • an ARQ unit configured to recover the lost packet by using a packet loss retransmission mechanism when the play information acquired by the play information acquiring unit is not a unicast live broadcast.
  • FIG. 1 is a schematic flow chart of an embodiment of an FEC-based IPTV transmission quality control method according to the present invention.
  • FIG. 2 is a schematic flow chart of another embodiment of an FEC-based IPTV transmission quality control method according to the present invention.
  • FIG. 3 is a schematic structural diagram of an embodiment of an FEC-based IPTV terminal according to the present invention.
  • FIG. 4 is a schematic structural diagram of another embodiment of an FEC-based IPTV terminal according to the present invention.
  • DETAILED DESCRIPTION OF THE INVENTION The present invention provides an FEC-based IPTV transmission quality control method and an IPTV terminal, which not only can guarantee the real-time performance of a unicast live program, but also effectively control the transmission quality of the IPTV system.
  • FIG. 1 is a schematic flow chart of an embodiment of an FEC-based IPTV transmission quality control method according to the present invention.
  • the FEC-based IPTV transmission quality control method of this embodiment includes:
  • Step S101 The IPTV terminal acquires the play information of the current program from the service side.
  • the foregoing broadcast information may include unicast live broadcast, unicast time shift, unicast on demand, multicast, and the like.
  • Step S102 If the play information is a unicast live broadcast, receive the media data packet from the streaming media server and the corresponding FEC redundancy package. Specifically, it can be received in a single channel manner or in a dual channel manner. When the single channel mode is adopted, the IPTV terminal distinguishes the media data packet and the FEC redundancy packet by the payload type in the RTP packet header.
  • Step S103 Detect whether there is a packet loss: If there is a packet loss, search for the corresponding FEC redundancy packet and the same group of media data packets and recover the packet loss according to the found FEC redundancy packet and the media data packet.
  • the FEC-based IPTV transmission quality control method of the present embodiment uses the FEC mode for transmission quality control when the broadcast information of the current program is unicast live broadcast, which reduces the IPTV end.
  • the interaction between the end and the media server reduces the delay, so that the transmission quality of the IPTV system can be effectively controlled while ensuring the real-time performance of the unicast live program.
  • the media data packet and the FEC redundancy packet are independent of each other, and even if the packet loss recovery fails, or there is no redundant data, the reception and processing of the original media data are not affected.
  • packet loss recovery can still be performed in combination with the original ARQ, and the transmission quality of the IPTV system is guaranteed in all aspects.
  • the FEC-based IPTV transmission quality control method in this embodiment includes: Step S201: an IPTV terminal, such as a set top box The playback information of the current program is obtained from the service side. Step S202: determining whether the obtained play information is a unicast live broadcast: if yes, proceeding to step S203; if not, proceeding to step S208, in which case, when the packet loss is detected, the packet loss retransmission mechanism is used to lose Package recovery (not shown).
  • Step S203 If the IPTV terminal supports the FEC function, the FEC function is started, and the streaming media server is informed that it supports the FEC function.
  • the streaming media server can be added to the description in the Describe by using Real Time Streaming Protocol (RTSP), which can be in the following form:
  • RTSP Real Time Streaming Protocol
  • Step S204 Determine whether the streaming media server supports the FEC function. If the streaming media server does not support the FEC function, step S208 is performed. If the streaming media server supports the FEC function, the streaming media server feeds back the FEC capability set parameter to the IPTV terminal.
  • the FEC capability set parameters include forward error correction packet size, redundancy rate, and redundancy packet load type.
  • Step S205 The streaming media server starts the FEC function, performs FEC encoding, accumulates the media data packet of a certain packet size, and starts encoding the FEC redundant packet according to the configured redundancy ratio, and sends the two sets of data together to the IPTV terminal.
  • it can be transmitted in two ways: single channel or dual channel.
  • the single channel transmission is to transmit the media data packet and the FEC redundancy packet through the same UDP channel, and the dual channel transmits the two channels of data separately.
  • the media data packet and the FEC redundancy packet are transmitted in a single channel manner, and the IPTV terminal distinguishes the media data packet and the FEC redundancy packet by using a load type in the RTP packet header. .
  • Step S206 Detect whether there is a packet loss, if there is a packet loss, go to step S207; if there is no packet loss, go to step S208.
  • Step S207 Search for the corresponding FEC redundancy packet and the same group of media data packets, perform packet loss recovery according to the found FEC redundancy packet and the media data packet, and end the processing flow.
  • Step S208 Perform normal data transmission and reception.
  • the FEC-based IPTV transmission quality control method of the present embodiment uses the FEC mode for transmission quality control when the broadcast information of the current program is unicast live broadcast, which reduces the interaction between the IPTV terminal and the media server, thereby reducing the delay.
  • the transmission quality of the IPTV system can be effectively controlled while ensuring the real-time performance of the unicast live program.
  • the media data packet and the FEC redundancy packet are independent of each other, and even if the packet loss recovery fails, or there is no redundant data, the reception and processing of the original media data are not affected.
  • packet loss recovery can still be performed in combination with the original ARQ, and the transmission quality of the IPTV system is guaranteed in all aspects.
  • the IPTV terminal and the streaming media server learn whether to support the FEC function through RTSP interaction.
  • the FEC capability set parameters so the implementation of the FEC is flexible, and can be compatible with the IPTV terminal that does not support the FEC function.
  • the media server learns through the RTSP interaction that the IPTV terminal does not have the FEC function, the redundancy packet may not be sent. It affects the normal data processing of the IPTV terminal, and does not add extra bandwidth, and has good compatibility and scalability.
  • FIG. 3 is a schematic structural diagram of an embodiment of an FEC-based IPTV terminal according to the present invention.
  • the FEC-based IPTV terminal of this embodiment includes a play information acquiring unit 31, a data receiving unit 32, a packet loss detecting unit 33, and an FEC unit 34.
  • the playing information acquiring unit 31 is configured to acquire the playing information of the current program.
  • the data receiving unit 32 is configured to receive the media sent by the media server when the playing information acquired by the playing information acquiring unit 31 is a unicast live broadcast.
  • the packet loss detecting unit 33 is configured to detect whether there is a packet loss;
  • the FEC unit 34 is configured to: when the packet loss detecting unit 33 detects a packet loss, in the data
  • the media data packet and the FEC redundancy packet received by the receiving unit 32 find the corresponding FEC redundancy packet and the same group of media data packets, and recover the packet loss according to the found FEC redundancy packet and the media data packet.
  • the FEC-based IPTV terminal in this embodiment uses the FEC mode to perform transmission quality control when the broadcast information of the current program is unicast live broadcast, which reduces the interaction between the IPTV terminal and the media server, reduces the delay, and thus can ensure the While broadcasting live programs in real time, it effectively controls the transmission quality of the IPTV system.
  • the media data packet and the FEC redundancy packet are independent of each other, and even if the packet loss recovery fails, or there is no redundant data, the reception and processing of the original media data are not affected.
  • the original ARQ can still perform packet loss recovery, and the transmission quality of the IPTV system is guaranteed in all aspects.
  • FIG. 4 is a schematic structural diagram of another embodiment of an FEC-based IPTV terminal according to the present invention.
  • the FEC-based IPTV terminal of this embodiment includes a play information acquiring unit 41, a data receiving unit 42, a packet loss detecting unit 43, an FEC unit 44, an FEC capability informing unit 45, an FEC parameter obtaining unit 46, and an ARQ. Unit 47.
  • the play information acquiring unit 41 The data receiving unit 42 is configured to: when the play information acquired by the play information acquiring unit 41 is a unicast live broadcast, receive the media data packet sent by the media server and the corresponding FEC redundancy package.
  • the packet loss detecting unit 43 is configured to detect whether there is a packet loss; the FEC unit 44 is configured to: when the packet loss detecting unit 43 detects a packet loss, the media packet received by the data receiving unit 42 And the FEC redundancy packet is searched for the corresponding FEC redundancy packet and the same group of media data packets, and the packet loss is recovered according to the found FEC redundancy packet and the media data packet.
  • the FEC capability notification unit 45 is configured to notify the media server whether the IPTV terminal supports the FEC function.
  • the FEC parameter obtaining unit 46 is configured to receive an FEC capability set parameter sent by the media server.
  • the ARQ unit 47 is configured to recover the lost packet by using a packet loss retransmission mechanism when the play information acquired by the play information acquiring unit 41 is not a unicast live broadcast.
  • the media server may obtain the FEC parameter obtaining unit to the IPTV terminal if the FEC function is also supported by the media server.
  • the FEC capability set parameter is sent, and the FEC parameter obtaining unit 46 can receive the FEC capability set parameter sent by the media server.
  • the FEC-based IPTV transmission quality control method of the present embodiment uses the FEC mode for transmission quality control when the broadcast information of the current program is unicast live broadcast, which reduces the interaction between the IPTV terminal and the media server, thereby reducing the delay.
  • the transmission quality of the IPTV system can be effectively controlled while ensuring the real-time performance of the unicast live program.
  • the media data packet and the FEC redundancy packet are independent of each other, and even if the packet loss recovery fails, or there is no redundant data, the reception and processing of the original media data are not affected.
  • packet recovery can still be performed in combination with the original ARQ, and the transmission quality of the IPTV system is guaranteed in all aspects.
  • the IPTV terminal and the streaming media server learn whether to support the FEC function and the FEC capability set parameter through RTSP interaction, so the FEC implementation manner is flexible.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

本发明公开了一种基于FEC的IPTV传输质量控制方法,所述方法包括:IPTV终端获取当前节目的播放信息;若所述播放信息是单播直播,则接收来自流媒体服务器的媒体数据包和对应的FEC冗余包;以及检测是否有丢包:若有丢包,则查找对应的FEC冗余包和同组的媒体数据包并根据查找到的FEC冗余包和媒体数据包恢复丢包。本发明还公开了一种相应的IPTV终端。该IPTV传输质量控制方法和IPTV终端可以在保证单播直播实时性的同时,有效控制IPTV系统的传输质量。

Description

基于前向纠错的 IPTV传输质量控制方法及 IPTV终端 技术领域
本发明涉及基于 IP协议的交互式网络电视领域, 尤其涉及一种基于前 向纠错( FEC , Forward Error Correction )的网络电视( IPTV, Internet Protocol Television )传输质量控制方法及 IPTV终端。 背景技术
在 IPTV系统中,流媒体服务器通过 IP网络传送媒体数据到 IPTV终端, 传输层协议主要分为用户数据包协议 ( UDP, User Datagram Protocol )和传 输控制协议 ( TCP, Transmission Control Protocol ), 由于 UDP方式占用带 宽比 TCP方式少, 所以其在 IPTV系统中应用最为广泛。 但是, UDP方式 是无连接的不可靠的传输方式, 传输过程中数据包可能会发生丟包, 丟包 会影响到解码器的解码, 进而导致在播放节目时产生马赛克和停顿。 因此, 需要进行传输质量控制以保证节目的播放效果。
现有的传输质量控制方式通常采用自动重传请求 (ARQ , Automatic Repeat reQuest )的方法进行丟包恢复。丟包重传需要 IPTV终端, 如机顶盒 检测丟包并反馈丟包信息给流媒体服务器 , 流媒体服务器在发送数据包的 时候会緩存一部分已发送的数据包, 一旦机顶盒请求重传, 流媒体服务器 会查找緩存中对应的数据包重新发送。
这种传输质量控制方式适用于对实时性要求不高的情况, 比如点播和 时移, 而对于实时性要求非常高的单播直播节目, 由于丟包重传过程通常 需要多次交互, 大大增加了时延, 故不能满足用户的需求。 并且, 在采用 ARQ方式进行传输质量控制的情况下, 对于流媒体服务器来说, 如果节目 码率过大, 机顶盒反馈的丟包很可能已经不在流媒体服务器的緩存中, 这 样就无法进行重传, 也就是说, 对于高码率节目而言, 丟包恢复效果有限。 因此, 亟待提供一种改进的基于 FEC 的 IPTV传输质量控制方法及 IPTV终端以克服上述缺陷。 发明内容
本发明的目的在于提供一种基于 FEC 的 IPTV传输质量控制方法及 IPTV终端,其不仅可以保证单播直播节目的实时性,还可以有效控制 IPTV 系统的传输质量。
为了解决上述技术问题, 本发明提供了一种基于 FEC的 IPTV传输质 量控制方法, 所述方法包括: IPTV终端获取当前节目的播放信息; 所述播 放信息是单播直播时, 接收来自流媒体服务器的媒体数据包和对应的 FEC 冗余包; 以及检测到有丟包时, 查找对应的 FEC冗余包和同组的媒体数据 包并根据查找到的 FEC冗余包和媒体数据包进行丟包恢复。
优选地, 在接收来自流媒体服务器的媒体数据包和对应的 FEC冗余包 的步驟之前, 所述 IPTV传输质量控制方法还包括: 与媒体服务器交互, 获 取媒体服务器的 FEC能力集参数。
优选地, 所述 FEC能力集参数包括 FEC分组大小、 冗余率和冗余包负 载类型。
优选地, 所述接收来自流媒体服务器的媒体数据包和对应的前向纠错 冗余包, 包括告知所述媒体服务器所述 IPTV终端是否支持 FEC功能, 若 支持, 则接收来自流媒体服务器的媒体数据包和对应的 FEC冗余包。
优选地,所述 IPTV传输质量控制方法还包括所述播放信息不是单播直 播, 且检测到丟包时, 采用丟包重传机制恢复丟包。
可选地, 所述接收来自流媒体服务器的媒体数据包和对应的 FEC冗余 包, 为: 分别接收通过两条 UDP通道传输来的所述媒体数据包和所述 FEC 冗余包。 可选地, 所述接收来自流媒体服务器的媒体数据包和对应的 FEC冗余 包, 为:接收通过一条 UDP通道传输来的所述媒体数据包和所述 FEC冗余 包, 并根据实时传输协议 ( RTP, Real-time Transport Protocol ) 包头中的负 载类型区分所述媒体数据包和所述 FEC冗余包。
本发明还提供了一种基于 FEC的 IPTV终端, 所述 IPTV终端包括: 播 放信息获取单元、 数据接收单元、 丟包检测单元和 FEC单元。 其中, 所述 播放信息获取单元用于获取当前节目的播放信息; 所述数据接收单元用于 当所述播放信息获取单元获取的播放信息是单播直播时 , 接收媒体服务器 发送的媒体数据包和相应的 FEC冗余包; 所述丟包检测单元用于检测是否 有丟包; 所述 FEC单元用于当所述丟包检测单元检测到丟包时, 在所述数 据接收单元接收到的媒体数据包和 FEC冗余包中查找对应的 FEC冗余包和 同组的媒体数据包, 并根据查找到的 FEC冗余包和媒体数据包恢复丟包。
优选地, 所述基于 FEC的 IPTV终端还包括 FEC能力告知单元, 用于 告知所述媒体服务器所述 IPTV终端是否支持 FEC功能。
优选地, 所述基于 FEC的 IPTV终端还包括 FEC参数获取单元, 用于 接收所述媒体服务器发送的 FEC能力集参数。
优选地, 所述基于 FEC的 IPTV终端还包括 ARQ单元, 用于当所述播 放信息获取单元获取的播放信息不是单播直播时 , 采用丟包重传机制恢复 丟包。
由于本发明的基于 FEC的 IPTV传输质量控制方法及 IPTV终端在当前 节目的播放信息为单播直播时, 采用 FEC方式进行传输质量控制, 减少了 IPTV终端和媒体服务器的交互, 减小了时延, 从而可以在保证单播直播节 目实时性的同时, 有效控制 IPTV系统的传输质量。 此外, 所述媒体数据包 和所述 FEC冗余包相互独立, 即使丟包恢复失败, 或者没有冗余数据, 也 不影响原始媒体数据的接收和处理。并且, 当不需要进行 FEC解码的时候, 结合原有的 ARQ仍然可以进行丟包恢复, 全方位的保证 IPTV系统的传输 质量。 附图说明 图 1为本发明基于 FEC的 IPTV传输质量控制方法的一个实施例的流 程示意图。
图 2为本发明基于 FEC的 IPTV传输质量控制方法的另一实施例的流 程示意图。
图 3为本发明基于 FEC的 IPTV终端的一个实施例的组成结构示意图。 图 4为本发明基于 FEC的 IPTV终端的另一实施例的组成结构示意图。 具体实施方式 本发明提供了一种基于 FEC的 IPTV传输质量控制方法及 IPTV终端, 其不仅可以保证单播直播节目的实时性,还可以有效控制 IPTV系统的传输 质量。
图 1为本发明基于 FEC的 IPTV传输质量控制方法的一个实施例的流 程示意图。 本实施例的基于 FEC的 IPTV传输质量控制方法包括:
步驟 S101 : IPTV终端从业务侧获取当前节目的播放信息。前述播放信 息可以包括单播直播、 单播时移、 单播点播、 组播等。
步驟 S102: 若所述播放信息是单播直播, 则接收来自流媒体服务器的 媒体数据包和对应的 FEC冗余包。 具体地, 可以采用单通道方式接收, 也 可以采用双通道方式接收。 采用单通道方式时, IPTV终端通过 RTP包头中 的负载类型区分所述媒体数据包和 FEC冗余包。
步驟 S103: 检测是否有丟包: 若有丟包, 则查找对应的 FEC冗余包和 同组的媒体数据包并根据查找到的 FEC冗余包和媒体数据包恢复丟包。
由于本实施例的基于 FEC的 IPTV传输质量控制方法在当前节目的播 放信息为单播直播时, 采用 FEC方式进行传输质量控制, 减少了 IPTV终 端和媒体服务器的交互, 减小了时延, 从而可以在保证单播直播节目实时 性的同时, 有效控制 IPTV系统的传输质量。 此外, 所述媒体数据包和所述 FEC 冗余包相互独立, 即使丟包恢复失败, 或者没有冗余数据, 也不影响 原始媒体数据的接收和处理。 并且, 当不需要进行 FEC解码的时候, 结合 原有的 ARQ仍然可以进行丟包恢复,全方位的保证 IPTV系统的传输质量。
图 2为本发明基于 FEC的 IPTV传输质量控制方法的另一实施例的流 程图, 如图 2所示, 本实施例的基于 FEC的 IPTV传输质量控制方法包括: 步驟 S201 : IPTV终端,如机顶盒,从业务侧获取当前节目的播放信息。 步驟 S202: 判断获取的播放信息是否为单播直播: 若是, 则进入步驟 S203; 若不是, 则进入步驟 S208, 在这种情况下, 当检测到丟包时, 采用 丟包重传机制进行丟包恢复(图未示)。
步驟 S203: 若 IPTV终端支持 FEC功能, 则启动 FEC功能, 并告知流 媒体服务器其支持 FEC功能。 具体地, 可以通过实时流媒体协议(RTSP, Real Time Streaming Protocol )交互在描述 ( Describe )中增加告知流媒体月良 务器, 可以以下述形式:
■ DESCRIBE
rtsp: //example. com/fizzle/foo RTSP/ 1.0
Accept: application/sdp
CSeq: 1
[x-zmssFecCDN: yes] //扩展字段, 表明本终端支持 FEC能力
步驟 S204: 判断流媒体服务器是否支持 FEC功能, 若流媒体服务器不 支持 FEC功能, 则执行步驟 S208; 若流媒体服务器支持 FEC功能, 则流 媒体服务器向 IPTV终端反馈其 FEC能力集参数。 所述 FEC能力集参数包 括前向纠错分组大小、 冗余率和冗余包负载类型等。
具体的, 可以通过会话描述协议( SDP, Session Description Protocol ) 反馈自己的 FEC能力集参数: m=video 1000 RTP/AVP 30 97 I I指示有两路流: 30和 97 (payload type ) a =rtpmap:30… ... I I码流 30的参数定义, 略
a=rtpmap:97 fec/8000 //冗余包负载类型
Figure imgf000008_0001
apt =30; fec-encoding-id=0;redundancy-rate=6; group-count=10; //fec-encoding-id: FEC 编码方案标识 , redundancy-rate:编码冗余率, group-count: 分组大小
步驟 S205: 流媒体服务器启动 FEC功能, 进行 FEC编码, 累积一定 分组大小的媒体数据包并根据配置的冗余率开始编码出 FEC冗余包, 将两 组数据一起发送给 IPTV终端。 具体的, 可以通过两种方式传输: 单通道或 者双通道。单通道传输是将所述媒体数据包和 FEC冗余包通过同一个 UDP 通道传输, 而双通道是将两路数据分开传输。 在本实施例中, 为了降低系 统的复杂度, 采用单通道的方式传输所述媒体数据包和 FEC冗余包, IPTV 终端通过 RTP包头中的负载类型区分所述媒体数据包和 FEC冗余包。
步驟 S206: 检测是否有丟包, 若有丟包, 则执行步驟 S207; 若没有丟 包, 则执行步驟 S208。
步驟 S207: 查找对应的 FEC冗余包和同组的媒体数据包并根据查找到 的 FEC冗余包和媒体数据包进行丟包恢复, 结束处理流程。
步驟 S208: 进行正常的数据收发。
由于本实施例的基于 FEC的 IPTV传输质量控制方法在当前节目的播 放信息为单播直播时, 采用 FEC方式进行传输质量控制, 减少了 IPTV终 端和媒体服务器的交互, 减小了时延, 从而可以在保证单播直播节目实时 性的同时, 有效控制 IPTV系统的传输质量。 此外, 所述媒体数据包和所述 FEC 冗余包相互独立, 即使丟包恢复失败, 或者没有冗余数据, 也不影响 原始媒体数据的接收和处理。 并且, 当不需要进行 FEC解码的时候, 结合 原有的 ARQ仍然可以进行丟包恢复,全方位的保证 IPTV系统的传输质量。 再者, IPTV终端与流媒体服务器通过 RTSP交互获知是否支持 FEC功能以 及 FEC能力集参数, 因此 FEC的实现方式灵活多变, 并且可以兼容不支持 FEC功能的 IPTV终端, 当媒体服务器通过 RTSP交互获知 IPTV终端不具 备 FEC功能时, 可以不发送冗余包, 不会影响 IPTV终端的正常数据处理, 也不会增加额外的带宽, 具有艮好的兼容性和扩展性。
图 3为本发明基于 FEC的 IPTV终端的一个实施例的结构示意图。 如 图 3所示, 本实施例的基于 FEC的 IPTV终端包括播放信息获取单元 31、 数据接收单元 32、 丟包检测单元 33和 FEC单元 34。 其中, 所述播放信息 获取单元 31用于获取当前节目的播放信息; 所述数据接收单元 32用于当 所述播放信息获取单元 31获取的播放信息是单播直播时, 接收媒体服务器 发送的媒体数据包和相应的 FEC冗余包;所述丟包检测单元 33用于检测是 否有丟包; 所述 FEC单元 34用于当所述丟包检测单元 33检测到丟包时, 在所述数据接收单元 32接收到的媒体数据包和 FEC冗余包中查找对应的 FEC冗余包和同组的媒体数据包, 并根据查找到的 FEC冗余包和媒体数据 包恢复丟包。
本实施例的基于 FEC的 IPTV终端在当前节目的播放信息为单播直播 时, 采用 FEC方式进行传输质量控制, 减少了 IPTV终端和媒体服务器的 交互, 减小了时延, 从而可以在保证单播直播节目实时性的同时, 有效控 制 IPTV系统的传输质量。 此外, 所述媒体数据包和所述 FEC冗余包相互 独立, 即使丟包恢复失败, 或者没有冗余数据, 也不影响原始媒体数据的 接收和处理。 并且, 当不需要进行 FEC解码的时候, 结合原有的 ARQ仍 然可以进行丟包恢复, 全方位的保证 IPTV系统的传输质量。
图 4为本发明基于 FEC的 IPTV终端的另一实施例的结构示意图。 如 图 4所示, 本实施例的基于 FEC的 IPTV终端包括播放信息获取单元 41、 数据接收单元 42、 丟包检测单元 43、 FEC单元 44、 FEC能力告知单元 45、 FEC参数获取单元 46和 ARQ单元 47。 其中, 所述播放信息获取单元 41 用于获取当前节目的播放信息; 所述数据接收单元 42用于当所述播放信息 获取单元 41获取的播放信息是单播直播时, 接收媒体服务器发送的媒体数 据包和相应的 FEC冗余包; 所述丟包检测单元 43用于检测是否有丟包; 所 述 FEC单元 44用于当所述丟包检测单元 43检测到丟包时, 在所述数据接 收单元 42接收到的媒体数据包和 FEC冗余包中查找对应的 FEC冗余包和 同组的媒体数据包, 并根据查找到的 FEC冗余包和媒体数据包恢复丟包。 所述 FEC能力告知单元 45用于告知媒体服务器所述 IPTV终端是否支持 FEC功能。所述 FEC参数获取单元 46用于接收所述媒体服务器发送的 FEC 能力集参数。所述 ARQ单元 47用于当所述播放信息获取单元 41获取的播 放信息不是单播直播时, 采用丟包重传机制恢复丟包。
具体地, 在所述 FEC能力告知单元 45告知媒体服务器所述 IPTV终端 支持 FEC功能后, 所述媒体服务器在自身也支持 FEC功能的情况下, 会向 所述 IPTV终端的所述 FEC参数获取单元发送 FEC能力集参数, 此时, 所 述 FEC参数获取单元 46便能够接收到所述媒体服务器发送的 FEC能力集 参数。
由于本实施例的基于 FEC的 IPTV传输质量控制方法在当前节目的播 放信息为单播直播时, 采用 FEC方式进行传输质量控制, 减少了 IPTV终 端和媒体服务器的交互, 减小了时延, 从而可以在保证单播直播节目实时 性的同时, 有效控制 IPTV系统的传输质量。 此外, 所述媒体数据包和所述 FEC 冗余包相互独立, 即使丟包恢复失败, 或者没有冗余数据, 也不影响 原始媒体数据的接收和处理。 并且, 当不需要进行 FEC解码的时候, 结合 原有的 ARQ仍然可以进行丟包恢复,全方位的保证 IPTV系统的传输质量。 再者, IPTV终端与流媒体服务器通过 RTSP交互获知是否支持 FEC功能以 及 FEC能力集参数, 因此 FEC的实现方式灵活多变。
以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围 , 凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换, 或直 接或间接应用在其他相关的技术领域, 均同理包括在本发明的专利保护范 围内。

Claims

权利要求书
1. 一种基于前向纠错的 IPTV传输质量控制方法, 其特征在于, 所述 方法包括:
IPTV终端获取当前节目的播放信息;
所述播放信息是单播直播时 , 接收来自流媒体服务器的媒体数据包和 对应的前向纠错冗余包;
检测到有丟包时, 查找对应的前向纠错冗余包和同组的媒体数据包, 并根据查找到的前向纠错冗余包和媒体数据包进行丟包恢复。
2. 根据权利要求 1所述的 IPTV传输质量控制方法, 其特征在于, 在 接收来自流媒体服务器的媒体数据包和对应的前向纠错冗余包之前, 所述 方法还包括: 与媒体服务器交互, 获取媒体服务器的前向纠错能力集参数。
3. 根据权利要求 2所述的 IPTV传输质量控制方法, 其特征在于, 所 述前向纠错能力集参数包括: 前向纠错分组大小、 冗余率和冗余包负载类 型。
4. 根据权利要求 1所述的 IPTV传输质量控制方法, 其特征在于, 所 述接收来自流媒体服务器的媒体数据包和对应的前向纠错冗余包, 包括: 告知所述媒体服务器所述 IPTV终端是否支持前向纠错功能, 若支持, 则接 收来自流媒体服务器的媒体数据包和对应的前向纠错冗余包。
5. 根据权利要求 1至 4任一项所述的 IPTV传输质量控制方法, 其特 征在于, 该方法还包括: 所述播放信息不是单播直播, 且检测到丟包时, 采用丟包重传机制恢复丟包。
6. 根据权利要求 1至 4任一项所述的 IPTV传输质量控制方法, 其特 征在于, 所述接收来自流媒体服务器的媒体数据包和对应的前向纠错冗余 包, 为: 分别接收通过两条用户数据包协议通道传输来的所述媒体数据包 和所述前向纠错冗余包。
7. 根据权利要求 1至 4任一项所述的 IPTV传输质量控制方法, 其特 征在于, 所述接收来自流媒体服务器的媒体数据包和对应的前向纠错冗余 包, 为: 接收通过一条用户数据包协议通道传输来的所述媒体数据包和所 述前向纠错冗余包, 并根据实时传输协议包头中的负载类型区分所述媒体 数据包和所述前向纠错冗余包。
8. 一种基于前向纠错的 IPTV终端,其特征在于,所述 IPTV终端包括: 播放信息获取单元, 用于获取当前节目的播放信息;
数据接收单元, 用于当所述播放信息获取单元获取的播放信息是单播 直播时, 接收媒体服务器发送的媒体数据包和相应的前向纠错冗余包; 丟包检测单元, 用于检测是否有丟包;
前向纠错单元, 用于当所述丟包检测单元检测到丟包时, 在所述数据 接收单元接收到的媒体数据包和前向纠错冗余包中查找对应的前向纠错冗 余包和同组的媒体数据包, 并根据查找到的前向纠错冗余包和媒体数据包 恢复丟包。
9. 根据权利要求 8所述的 IPTV终端, 其特征在于, 所述 IPTV终端还 包括: 前向纠错能力告知单元, 用于告知所述媒体服务器所述 IPTV终端是 否支持前向纠错功能。
10. 根据权利要求 8所述的 IPTV终端, 其特征在于, 所述 IPTV终端 还包括: FEC 参数获取单元, 用于接收所述媒体服务器发送的前向纠错能 力集参数。
11. 根据权利要求 8至 10任一项所述的 IPTV终端, 其特征在于, 所 述 IPTV终端还包括: 自动重传请求单元, 用于当所述播放信息获取单元获 取的播放信息不是单播直播时, 采用丟包重传机制恢复丟包。
PCT/CN2011/082966 2010-11-25 2011-11-25 基于前向纠错的iptv传输质量控制方法及iptv终端 WO2012069014A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010559402.7 2010-11-25
CN2010105594027A CN102098586A (zh) 2010-11-25 2010-11-25 一种基于前向纠错的iptv传输质量控制方法及iptv终端

Publications (1)

Publication Number Publication Date
WO2012069014A1 true WO2012069014A1 (zh) 2012-05-31

Family

ID=44131418

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/082966 WO2012069014A1 (zh) 2010-11-25 2011-11-25 基于前向纠错的iptv传输质量控制方法及iptv终端

Country Status (2)

Country Link
CN (1) CN102098586A (zh)
WO (1) WO2012069014A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098586A (zh) * 2010-11-25 2011-06-15 中兴通讯股份有限公司 一种基于前向纠错的iptv传输质量控制方法及iptv终端
CN103686055B (zh) * 2012-09-24 2017-05-10 中兴通讯股份有限公司 电视会议系统中丢包补偿的处理方法及装置
CN107104760B (zh) * 2017-04-13 2020-09-08 腾讯科技(深圳)有限公司 一种传输数据包的方法、客户端以及服务器
CN108513701B (zh) * 2017-05-18 2021-06-11 深圳市大疆创新科技有限公司 数据传输方法、设备、机器可读存储介质以及系统
CN109660319B (zh) * 2018-12-29 2021-07-23 北京金山安全软件有限公司 网络数据传输方法、装置及电子设备
CN110381326B (zh) * 2019-06-19 2022-01-28 北京百度网讯科技有限公司 视频系统及处理方法、设备与计算机可读介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431653A (zh) * 2008-12-03 2009-05-13 中兴通讯股份有限公司 一种创建和点播频道的方法、系统及装置
CN101646089A (zh) * 2009-09-03 2010-02-10 中兴通讯股份有限公司 建立中继频道中丢包补偿的方法、装置和系统
CN102098586A (zh) * 2010-11-25 2011-06-15 中兴通讯股份有限公司 一种基于前向纠错的iptv传输质量控制方法及iptv终端

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6421387B1 (en) * 1998-05-15 2002-07-16 North Carolina State University Methods and systems for forward error correction based loss recovery for interactive video transmission
WO2008013528A1 (en) * 2006-07-25 2008-01-31 Thomson Licensing Recovery from burst packet loss in internet protocol based wireless networks using staggercasting and cross-packet forward error correction

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101431653A (zh) * 2008-12-03 2009-05-13 中兴通讯股份有限公司 一种创建和点播频道的方法、系统及装置
CN101646089A (zh) * 2009-09-03 2010-02-10 中兴通讯股份有限公司 建立中继频道中丢包补偿的方法、装置和系统
CN102098586A (zh) * 2010-11-25 2011-06-15 中兴通讯股份有限公司 一种基于前向纠错的iptv传输质量控制方法及iptv终端

Also Published As

Publication number Publication date
CN102098586A (zh) 2011-06-15

Similar Documents

Publication Publication Date Title
CN102118653B (zh) 保障网络电视直播业务的业务服务质量的方法和设备
JP5363473B2 (ja) 改善されたメディア・セッション管理の方法と装置
JP4943513B2 (ja) Iptvの低ビットレートのストリームを使用したビデオデータ損失回復システム
CN101316357B (zh) 一种频道切换的方法和终端
US8935736B2 (en) Channel switching method, channel switching device, and channel switching system
WO2012069014A1 (zh) 基于前向纠错的iptv传输质量控制方法及iptv终端
US20130128889A1 (en) Method and apparatus for converting a multicast session to a unicast session
US8732327B2 (en) Methods and arrangements for system providing media via multicast distribution
WO2010088836A1 (zh) 用户数据报协议传输模式下丢包补偿方法与装置
US8566863B2 (en) Digital broadcast receiver and method for processing emergency alert system data in digital broadcast receiver
US10506270B2 (en) Method and apparatus for transmitting media content
WO2008119259A1 (fr) Système et procédé de correction d'erreurs sans voie de retour adaptative dynamique dans un réseau iptv
WO2010114450A1 (en) Methods and arrangements for channel change in an iptv network
WO2011022994A1 (zh) 组播实时传输协议会话快速接入的方法、装置及系统
US20130182705A1 (en) Method and system for transmitting encoded video signals
WO2016077072A1 (en) Delivering partially received segments of streamed media data
US20060005101A1 (en) System and method for providing error recovery for streaming fgs encoded video over an ip network
KR20100051962A (ko) Iptv 방송 서비스 시스템 및 그 방법
JP5654116B2 (ja) マルチメディアコンテンツのブロードキャスト方法
JP2011146942A (ja) 衛星受信装置および通信方法
WO2013127423A1 (en) Apparatus and method for streaming content
US9160638B2 (en) Method and apparatus for performing non real time service in digital broadcast system
KR100651736B1 (ko) 다채널 스트리밍 시스템 및 방법

Legal Events

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

Ref document number: 11843561

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11843561

Country of ref document: EP

Kind code of ref document: A1