WO2014026590A1 - Iptv***实现边放边下的方法、终端及cdn服务器 - Google Patents

Iptv***实现边放边下的方法、终端及cdn服务器 Download PDF

Info

Publication number
WO2014026590A1
WO2014026590A1 PCT/CN2013/081364 CN2013081364W WO2014026590A1 WO 2014026590 A1 WO2014026590 A1 WO 2014026590A1 CN 2013081364 W CN2013081364 W CN 2013081364W WO 2014026590 A1 WO2014026590 A1 WO 2014026590A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
playing
server
download
downloading
Prior art date
Application number
PCT/CN2013/081364
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 中兴通讯股份有限公司
Priority to US14/421,338 priority Critical patent/US9888272B2/en
Publication of WO2014026590A1 publication Critical patent/WO2014026590A1/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2402Monitoring of the downstream path of the transmission network, e.g. bandwidth available
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
    • H04N21/2381Adapting the multiplex stream to a specific network, e.g. an Internet Protocol [IP] network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44209Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47208End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting near-video-on-demand content
    • 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/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
    • 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/61Network physical structure; Signal processing
    • H04N21/6156Network physical structure; Signal processing specially adapted to the upstream path of the transmission network
    • H04N21/6175Network physical structure; Signal processing specially adapted to the upstream path of the transmission network involving transmission via Internet
    • 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

  • the present invention relates to the field of communications, and in particular, to a method, a terminal, and a content delivery network (CDN) server and system for downloading while playing in an Internet Protocol Television (IPTV) system.
  • CDN content delivery network
  • IPTV is an interactive network TV, which is a new technology that utilizes a broadband cable television network to integrate various technologies such as Internet, multimedia, and communication; and provides various interactive services including digital television to home users. Users can enjoy IPTV services in two ways at home: (1) computer, (2) network set-top box + ordinary TV set. It can adapt well to the rapid development of today's networks and make full and effective use of network resources. IPTV delivers managed multimedia services over the IP network that include television, video, text, graphics and data, and delivers quality of service/service experience assurance, security, interactivity and reliability. It can be seen that IPTV is a manageable multimedia service that requires quality of service and security assurance. A streaming media application that is distinctly different from the uncontrollable, quality and security of the Internet.
  • the RealTime Streaming Protocol defines how a one-to-many application can efficiently transmit multimedia data over an IP network.
  • the RTSP acts as a network remote control for the multimedia server.
  • users can only request to download or play media files to the CDN server through the set-top box, but cannot download and play them at the same time.
  • the mode that can only be downloaded or played alone will cause a lot of bandwidth. In the case of being idle, the user's demand for the IPTV service cannot be met.
  • Embodiments of the present invention provide a method, a terminal, a CDN server, and a system for downloading while playing in an IPTV system, and simultaneously downloading a media file without affecting user viewing. Make full use of the user's network resources.
  • the method for implementing downloading while playing in an IPTV system includes: acquiring, by a terminal, code rate information of a media file requested by a terminal to be played by a terminal, and determining whether the code rate information is satisfied to be downloaded while playing The condition, if satisfied, requests the CDN server to download the file to be downloaded by the user while playing the media file.
  • the terminal obtains the code rate information of the media file that it requests to play to the CDN server
  • the method includes: the terminal sending a first request message to the CDN server, where the first request message carries a terminal requesting to play The media file information is received by the CDN server, and the first response message carries a code rate of the media file requested by the terminal and a field indicating that the CDN server supports the download function while playing.
  • the condition for downloading while playing includes:
  • the terminal requests the CDN server to download the file to be downloaded by the user while playing the media file, the method comprising: the terminal sending a second request message to the CDN server, the second request message Carrying the file information to be downloaded by the user and the field indicating that the terminal supports the download function while playing; the terminal according to the second response message returned by the CDN server, the path, user name and password of the user to download the file to
  • the CDN server downloads the file to be downloaded by the user, and simultaneously receives the play stream of the media file returned by the CDN server for playing.
  • the method further includes: in the process of downloading and playing, the terminal feeds back, by using a heartbeat message, packet loss information of the play stream to the CDN server, so that the CDN media server receives the After the packet loss information is received, the download bandwidth is adjusted until the packet loss information is no longer received.
  • the embodiment of the invention further provides a method for implementing downloading while playing in another IPTV system. include:
  • the CDN server receives a first request message that the terminal obtains the code rate information of the media file that the terminal requests to play; the CDN server returns a first response message to the terminal, where the first response message carries the media file requested by the terminal to play The code rate information and the field indicating that the CDN server supports the download function while playing, to support the terminal to determine whether the code rate information satisfies the condition of downloading while playing; the CDN server receives the second request message sent by the terminal.
  • the second request message carries file information to be downloaded by the user and a field indicating that the terminal supports the download function while playing; the CDN server returns a second response message to the terminal, and the second response message carries the The user downloads the path, username, and password of the file, and returns the play stream of the media file to the terminal.
  • the method further includes: in the process of downloading and playing, the CDN server receives packet loss information of the play stream that is fed back by the terminal through a heartbeat message; and the CDN server adjusts the download bandwidth until not Then, the packet loss information fed back by the terminal is received.
  • the embodiment of the present invention further provides a terminal, including: a bandwidth acquiring module, configured to: obtain code rate information of a media file requested to be played to a content distribution network CDN server; and the determining module is configured to: determine whether the code rate information is The condition for downloading while playing is satisfied, and the judgment result is notified to download the module while playing; while downloading the module while playing, the setting is: when the judgment result is satisfying the condition of downloading while playing, while playing the media file
  • the CDN server requests to download a file to be downloaded by the user.
  • the bandwidth acquisition module is set to set the code rate information of the media file requested to be played to the CDN server in the following manner: Sending a first request message to the CDN server, where the first request message carries media file information that the terminal requests to play, and receives a first response message returned by the CDN server, where the first response message carries a media file requested by the terminal to play
  • the code rate and the field indicating that the CDN server supports the playback function while playing includes:
  • the side playback side download module is configured to request the CDN server to download a file to be downloaded by the user while playing the media file in the following manner: sending a second request message to the CDN server, where The second request message carries the file information to be downloaded by the user and a field indicating that the terminal supports the download function while playing; the path, the user name, and the user to download the file according to the second response message returned by the CDN server
  • the password is sent to the CDN server to download the file to be downloaded by the user, and the play stream of the media file returned by the CDN server is received for playing.
  • the terminal further includes: a play monitoring module, configured to: in a process of downloading and playing, feeding back, by the heartbeat message, packet loss information of the played code stream to the CDN server, so that the CDN media server Adjust the download bandwidth of the media server.
  • a play monitoring module configured to: in a process of downloading and playing, feeding back, by the heartbeat message, packet loss information of the played code stream to the CDN server, so that the CDN media server Adjust the download bandwidth of the media server.
  • the embodiment of the present invention further provides a CDN server for downloading while playing in an IPTV system, including: a real-time streaming protocol RTSP server and a media server, where: the RTSP server includes: a receiving module, configured to: receive a terminal to obtain a request a first request message of the rate information of the played media file and a second request message sent by the terminal, and notifying the bandwidth response module and downloading the response module while playing; wherein the second request message carries the user to download a file information and a field indicating that the terminal supports the download function while playing; the bandwidth response module is configured to: after receiving the notification of the receiving module, return a first response message to the terminal, where the first response message carries The bit rate information of the media file requested by the terminal and the field indicating that the CDN server supports the download function while playing, to support the terminal to judge the location Whether the code rate information meets the condition of downloading while playing; downloading the response module while playing, and setting: after receiving the notification of the receiving module, returning a second response message to the terminal,
  • the RTSP server further includes: a bandwidth adjustment module, where: the receiving module is further configured to: receive, during the downloading and playing, the packet loss information of the play stream that is fed back by the terminal through the heartbeat message And notifying the bandwidth adjustment module; the bandwidth adjustment module is configured to: notify the media server to adjust the download bandwidth until the packet loss information fed back by the terminal is no longer received; and the media server is further configured to : Adjust the download bandwidth after receiving the notification from the bandwidth adjustment module.
  • the embodiment of the invention further provides a system for implementing downloading while playing in an IPTV system, comprising: the terminal as described above and the content distribution network CDN server as described above.
  • FIG. 1 is a structural diagram of a system for downloading while playing in an IPTV system in an embodiment
  • FIG. 2 is a flowchart of a method for downloading while playing in a terminal-side IPTV system in an embodiment
  • FIG. 3 is a flowchart of a method for implementing downloading while playing in a CDN server-side IPTV system in an embodiment
  • FIG. 4 is a flow chart of a method for implementing downloading while playing in an IPTV system in an application example. Preferred embodiment of the invention
  • this embodiment provides a system for downloading while playing in an IPTV system, including: a terminal for downloading while playing in an IPTV system, and a CDN server for content distribution network, where:
  • the terminal includes: a bandwidth acquiring module, configured to obtain, from a content distribution network CDN server, code rate information of a media file that is requested to be played; wherein the bandwidth obtaining module sends a first request message to the CDN server, where The request message carries the media file information requested by the terminal, and receives the first response message returned by the CDN server, where the first response message carries the code rate of the media file requested by the terminal and indicates that the CDN server supports the playback function while playing.
  • Field The determining module is configured to determine whether the code rate information satisfies the condition for downloading while playing, and notifies the result of the judgment; wherein, the condition for downloading while playing, includes:
  • the difference between the current bandwidth of the terminal and the code rate of the media file requested to be played is greater than a preset threshold.
  • the module is downloaded while playing, and is set to download the file to be downloaded by the CDN server to the CDN server while playing the media file when the judgment result is that the condition is downloaded while playing.
  • the side playing and downloading module sends a second request message to the CDN server, for example.
  • the SET-PARAMETER request message the second request message carries file information to be downloaded by the user, and a field indicating that the terminal supports the download function while playing; the terminal carries according to the second response message returned by the CDN server.
  • the terminal further includes: a play monitoring module, configured to feed back, by the heartbeat message, packet loss information of the played code stream to the CDN server during the downloading and playing, so that the CDN media server adjusts the media server Download bandwidth.
  • the embodiment further provides a CDN server for downloading while playing in an IPTV system, including: a real-time streaming protocol RTSP server and a media server, where: the RTSP server includes: a receiving module, a bandwidth response module, and an edge playing Download the response module; where:
  • a receiving module configured to receive a first request message that the terminal obtains the rate information of the media file that is requested to be played, and a second request message that is sent by the terminal, and notify the bandwidth response module and download the response module while playing;
  • the second request message carries the file information to be downloaded by the user and a field indicating that the terminal supports the download function while playing;
  • the bandwidth response module is configured to return to the terminal after receiving the notification of the receiving module.
  • a response message the first response message carries the code rate information of the media file requested by the terminal, and a field indicating that the CDN server supports the download function while playing, to support the terminal to determine whether the code rate information is satisfied to be downloaded while playing.
  • the downloading response module is configured to: after receiving the notification of the receiving module, return a second response message to the terminal, where the second response message carries a path, a user name, and a a password, and simultaneously notifying the media server to return the media message to the terminal a play stream of the piece; the media server, configured to, after receiving the notification of downloading the response module while playing, returning a play code stream of the media file to the terminal, and providing the terminal with the The file the user wants to download.
  • the RTSP server further includes: a bandwidth adjustment module, where: the receiving module is further configured to: in a process of downloading and playing, receiving packet loss information of the play stream that is fed back by the terminal through a heartbeat message, and notifying The bandwidth adjustment module is configured to notify the media server to adjust the download bandwidth until the packet loss information fed back by the terminal is not received; the media server is configured to receive the After the notification of the bandwidth adjustment module, adjust the download bandwidth.
  • a bandwidth adjustment module where: the receiving module is further configured to: in a process of downloading and playing, receiving packet loss information of the play stream that is fed back by the terminal through a heartbeat message, and notifying The bandwidth adjustment module is configured to notify the media server to adjust the download bandwidth until the packet loss information fed back by the terminal is not received; the media server is configured to receive the After the notification of the bandwidth adjustment module, adjust the download bandwidth.
  • the set-top box is taken as an example.
  • the embodiment provides a method for downloading while playing in an IPTV system, and is used for the terminal side, and includes the following steps: S101:
  • the set-top box obtains the CDN server from the content distribution network. Rate information of the media file requested to be played;
  • the set top box requests the CDN server to download the file to be downloaded by the user while playing the media file.
  • the set-top box sends a first request message to the CDN server by using RTSP signaling, where the first request message carries media file information that the set-top box requests to play, such as a media file name, and the like, and also carries bandwidth information of the set-top box.
  • the CDN server receives the first request message, if the server supports the download function while playing, the set top box receives the first response message returned by the CDN server, and the first response message carries the set top box request.
  • the condition for downloading while playing includes: a difference between a current bandwidth of the set top box and a code rate of the media file requested to be played is greater than a preset threshold.
  • step S103 the set top box sends a second request message to the CDN server, for example, a SET_PARAMETER request message, where the second request message carries file information to be downloaded by the user and a field indicating that the terminal supports the download function while playing;
  • the set-top box carries the field ⁇ x-download:yes ⁇ in the second request message to indicate that the terminal supports the download function while playing, and the user has enabled the download function while playing; carrying the fields ⁇ x-contentid ⁇ and ⁇ x -vcdnid ⁇ to indicate the file ID to be downloaded by the user to determine the content of the file to be downloaded by the user.
  • the CDN server After receiving the second request message, the CDN server returns a response message of the second request message to the set top box, that is, a second response message, where the response message carries information such as a path, a user name, and a password of the user to download the file, and the set top box
  • the media file After receiving the second response message returned by the CDN server, the media file is played and the download process is started at the same time.
  • the specific process is: the path of the user to download the file carried by the set top box according to the second response message returned by the CDN server, The user name and password download the file to be downloaded by the user, and receive the play stream of the media file returned by the CDN server for playing.
  • the set top box and the CDN server complete the interaction through real-time streaming protocol RTSP signaling.
  • the set top box may further feed back the packet loss information of the played code stream to the CDN server by using a heartbeat message, and the CDN media server receives the packet loss information. After that, the media server is notified to adjust the download bandwidth until the packet loss information is no longer received, so as to ensure the smoothness of the user's viewing.
  • this embodiment provides a method for downloading while playing in an IPTV system, which is used on a CDN server side of a content distribution network, and includes:
  • S201 The content distribution network CDN server receives a first request message that the terminal obtains the rate information of the media file that the terminal requests to play;
  • S202 the CDN server returns a first response message to the terminal;
  • S203 The CDN server receives a second request message sent by the terminal, where the second request message carries file information to be downloaded by the user, and a field indicating that the terminal supports the download function while playing;
  • the second response message carries a path, a username, and a password of the file to be downloaded by the user.
  • the CDN server carries the field ⁇ x-filepath ⁇ in the SET_PARAMETER response message to indicate the content path; carries the field ⁇ x-ftpuser o ⁇ x-ftppwd ⁇ to indicate the access username and access password; carries the field ⁇ x-contentExist: yes ⁇ to indicate that the CDN server stores the files that the user wants to download.
  • the CDN server in the process of downloading and playing, the CDN server further receives packet loss information of the play stream that is fed back by the terminal through the heartbeat message; the CDN media server receives the packet loss. After the information is adjusted, the download bandwidth is adjusted until the packet loss information fed back by the terminal is not received, so as to ensure the smoothness of the user's viewing.
  • the IPTV user A has a network bandwidth of 6 Mbps, and the code rate of the user A watching a certain program is 3 Mbps, and the user has 3 Mbsp network bandwidth remaining without other network connections.
  • This remaining bandwidth capability can download content for the user or download content such as the carrier's advertising video.
  • the CDN server includes a real-time streaming protocol RTSP server and a media server.
  • the RTSP server directly interacts with the set-top box, and the media server is used for media processing and transmission.
  • FIG. 4 a method for implementing side-by-side downloading in an IPTV system is provided, which includes the following steps:
  • the set top box sends an RTSP signaling description (Describe) request message to the RTSP server, where the request message carries the content requested by the user;
  • the RTSP server After receiving the Describe request message, the RTSP server searches for content that is requested by the user in the Describe request message, and records the code rate of the content.
  • the set top box sends a SETUP request message to the RTSP server, where the current bandwidth information of the terminal is carried in a transport field of the request message.
  • S304 The RTSP server applies for a resource to the media server.
  • S305 the resource application is successful, the media server responds to the RTSP server;
  • the set top box determines whether the current situation satisfies the condition of downloading while playing, and if yes, asks the user whether to enable the download function while playing; wherein, after receiving the SETUP response message, the set top box retrieves the response message.
  • the set top box sends a setting parameter (SET_PARAMETER) request message to the RTSP server, carrying a field indicating that the terminal supports the download function while playing, and file information to be downloaded by the user; for example, the SET_PARAMETER
  • the request message can be:
  • the RTSP server requests a resource from the media server.
  • S311 The RTSP server sends a SET_PARAMETER response message to the set top box, carrying the path, user name, password and other information of the file to be downloaded;
  • step S309 ⁇ S311 after receiving the SET_PARAMETER request message, the RTSP server queries the media server for the existence of the file content to be downloaded by the user. If yes, the available resources are allocated to the user, and the ftp is queried. The username and password encrypt the above information and bring it to the set-top box via the SET-PARAMETER response message.
  • S312 The set top box starts to play and download the process;
  • S314 The media server sends a code stream to the set top box.
  • S315 The set top box downloads, according to the SET_PARAMETER response message returned by the RTSP server, the content of the file to be downloaded by the user to the media server;
  • S316 the media server sends the content of the file to be downloaded by the user to the set top box;
  • S317 During the downloading and playing process, the set top box sends a GET_PARAMETER request message (heartbeat message) to the RTSP server, where the packet information of the currently playing media file is carried;
  • a GET_PARAMETER request message heartbeat message
  • the RTSP server notifies the streaming media server to dynamically adjust the download bandwidth according to the information in the GET_PARAMETER request message, and the user's viewing is preferentially satisfied;
  • the streaming server adjusts the download bandwidth and returns a GET_PARAMETER response message to the RTSP server;
  • the RTSP server sends a GET_PARAMETER response message to the terminal. If the RTSP server continues to receive the packet loss information sent by the set top box, then steps S318-S320 are continued until the packet loss information is no longer received. It can be seen from the above-mentioned embodiments that the method, the terminal, the CDN server and the system for downloading while playing in the IPTV system provided in the above embodiments are compared with the prior art, and RTSP and FTP (File Transfer Protocol) are implemented in the IPTV system.
  • RTSP and FTP File Transfer Protocol
  • the embodiments of the present invention simultaneously implement downloading of media files without affecting user viewing, fully utilize user network resources, improve user experience, and bring diversified value-added services to operators.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

一种IPTV***中实现边播放边下载的方法、终端、CDN服务器及***,该方法包括:终端向内容分发网络CDN服务器获取其请求播放的媒体文件的码率信息,所述CDN服务器向终端在收到所述请求后返回第一响应消息,其中携带了所述终端请求播放的媒体文件的码率信息,终端判断所述码率信息是否满足边播放边下载的条件,如果满足,则在播放所述媒体文件的同时向所述CDN服务器请求下载用户要下载的文件。

Description

IPTV***实现边放边下的方法、 终端及 CDN服务器
技术领域 本发明涉及通信领域, 具体涉及一种网络电视 ( Internet Protocol Television, IPTV ) ***中实现边播放边下载的方法、 终端、 内容分发网络 ( Content Delivery Network , CDN )服务器及***。 背景技术
IPTV即交互式网络电视, 是一种利用宽带有线电视网, 集互联网、 多媒 体、 通讯等多种技术于一体; 向家庭用户提供包括数字电视在内的多种交互 式服务的崭新技术。 用户在家中可以有两种方式享受 IPTV服务: (1)计算机, (2)网络机顶盒 +普通电视机。 它能够很好地适应当今网络飞速发展的趋势, 充分有效地利用网络资源。 IPTV在 IP网络上传送包含电视、 视频、 文本、 图形和数据等, 并提供服务质量 /服务感受保证、 安全、 交互性和可靠性的 可管理的多媒体业务。 由此可以看出, IPTV是一种可管理的、 需要服务质量 和安全保证的多媒体业务, 一种明显有别于互联网上不可控不可管、 质量和 安全没有保证状态的流媒体应用。 实时流协议( RealTimeStreamingProtocol, RTSP )定义了一对多应用程序 如何有效地通过 IP网络传送多媒体数据, RTSP充当多媒体服务器的网络远 程控制。 目前, 用户在使用 IPTV时, 仅能通过机顶盒单独向 CDN服务器请求下 载或播放媒体文件, 而不能同时下载和播放, 但随着用户带宽不断升级, 只 能单独下载或播放的模式会造成很多带宽被闲置的情况, 无法满足用户对 IPTV业务的需求。 发明内容 本发明实施例提供一种 IPTV ***中实现边播放边下载的方法、 终端、 CDN服务器及***, 在不影响用户观看的情况下同时实现媒体文件的下载, 充分利用用户的网络资源。 本发明实施例提供的一种 IPTV***中实现边播放边下载的方法, 包括: 终端向 CDN服务器获取终端请求播放的媒体文件的码率信息,判断所述 码率信息是否满足边播放边下载的条件, 如果满足, 则在播放所述媒体文件 的同时向所述 CDN服务器请求下载用户要下载的文件。 较佳地,所述终端向所述 CDN服务器获取其请求播放的媒体文件的码率 信息, 包括: 所述终端向所述 CDN服务器发送第一请求消息,所述第一请求消息携带 终端请求播放的媒体文件信息, 接收所述 CDN服务器返回的第一响应消息, 该第一响应消息携带终端请求播放的媒体文件的码率以及表示 CDN服务器 支持边播放边下载功能的字段。 较佳地, 所述边播放边下载的条件, 包括:
所述终端的当前带宽与所述请求播放的媒体文件的码率的差值大于预设 阔值。 较佳地,所述终端在播放所述媒体文件的同时向所述 CDN服务器请求下 载用户要下载的文件, 包括: 所述终端向所述 CDN服务器发送第二请求消息,所述第二请求消息携带 用户要下载的文件信息以及表示所述终端支持边播放边下载功能的字段; 所述终端根据所述 CDN服务器返回的第二响应消息携带的所述用户要 下载文件的路径、用户名和密码到所述 CDN服务器下载所述用户要下载的文 件, 同时接收所述 CDN服务器返回的所述媒体文件的播放码流进行播放。 较佳地, 所述方法还包括: 在下载和播放的过程中,所述终端通过心跳消息向所述 CDN服务器反馈 播放码流的丟包信息,以使所述 CDN媒体服务器在收到所述丟包信息后调整 下载带宽, 直到不再收到丟包信息为止。 本发明实施例还提供了另一种 IPTV ***中实现边播放边下载的方法, 包括:
CDN服务器收到终端获取其请求播放的媒体文件的码率信息的第一请 求消息; 所述 CDN服务器向所述终端返回第一响应消息,该第一响应消息携带所 述终端请求播放的媒体文件的码率信息以及表示 CDN服务器支持边播放边 下载功能的字段, 以支持终端判断所述码率信息是否满足边播放边下载的条 件; 所述 CDN服务器收到终端发送的第二请求消息,所述第二请求消息携带 用户要下载的文件信息以及表示所述终端支持边播放边下载功能的字段; 所述 CDN服务器向所述终端返回第二响应消息,所述第二响应消息携带 了所述用户要下载文件的路径、 用户名和密码, 同时向所述终端返回所述媒 体文件的播放码流。 较佳地, 所述方法还包括: 在下载和播放的过程中,所述 CDN服务器收到所述终端通过心跳消息反 馈的播放码流的丟包信息; 所述 CDN服务器调整下载带宽,直到不再收到所述终端反馈的丟包信息 为止。 本发明实施例还提供了一种终端, 包括: 带宽获取模块,设置为: 向内容分发网络 CDN服务器获取请求播放的媒 体文件的码率信息; 判决模块, 设置为: 判断所述码率信息是否满足边播放边下载的条件, 并将判决结果通知边播放边下载模块; 边播放边下载模块,设置为: 在判决结果为满足边播放边下载的条件时, 在播放所述媒体文件的同时向所述 CDN服务器请求下载用户要下载的文件。 较佳地,所述带宽获取模块是设置为设置为以如下方式向 CDN服务器获 取其请求播放的媒体文件的码率信息: 向所述 CDN服务器发送第一请求消息,所述第一请求消息携带终端请求 播放的媒体文件信息,接收所述 CDN服务器返回的第一响应消息,该第一响 应消息携带终端请求播放的媒体文件的码率以及表示 CDN服务器支持边播 放边下载功能的字段。 较佳地, 所述边播放边下载的条件, 包括:
所述终端的当前带宽与所述请求播放的媒体文件的码率的差值大于预设 阔值。 较佳地, 所述边播放边下载模块是设置为以如下方式在播放所述媒体文 件的同时向所述 CDN服务器请求下载用户要下载的文件: 向所述 CDN服务器发送第二请求消息,所述第二请求消息携带用户要下 载的文件信息以及表示所述终端支持边播放边下载功能的字段; 根据所述 CDN服务器返回的第二响应消息携带的所述用户要下载文件 的路径、用户名和密码到所述 CDN服务器下载所述用户要下载的文件, 同时 接收所述 CDN服务器返回的所述媒体文件的播放码流进行播放。 较佳地, 所述终端还包括: 播放监控模块, 设置为: 在下载和播放的过 程中,通过心跳消息向所述 CDN服务器反馈播放的码流的丟包信息, 以使所 述 CDN媒体服务器调整媒体服务器的下载带宽。 本发明实施例还提供了一种 IPTV***中实现边播放边下载的 CDN服务 器, 包括: 实时流协议 RTSP服务器和媒体服务器, 其中: 所述 RTSP服务器包括: 接收模块, 设置为: 接收终端获取请求播放的媒体文件的码率信息的第 一请求消息以及所述终端发送的第二请求消息, 并通知带宽响应模块和边播 放边下载响应模块; 其中, 所述第二请求消息携带用户要下载的文件信息以 及表示所述终端支持边播放边下载功能的字段; 带宽响应模块, 设置为: 在收到所述接收模块的通知后, 向所述终端返 回第一响应消息, 该第一响应消息携带所述终端请求播放的媒体文件的码率 信息以及表示 CDN服务器支持边播放边下载功能的字段,以支持终端判断所 述码率信息是否满足边播放边下载的条件; 边播放边下载响应模块, 设置为: 在收到所述接收模块的通知后, 向所 述终端返回第二响应消息, 所述第二响应消息携带所述用户要下载文件的路 径、 用户名和密码, 并且同时通知所述媒体服务器向所述终端返回所述媒体 文件的播放码流; 所述媒体服务器,设置为: 在收到所述边播放边下载响应模块的通知后, 向所述终端返回所述媒体文件的播放码流, 以及向所述终端提供所述用户要 下载的文件。 较佳地, 所述 RTSP服务器还包括: 带宽调整模块; 其中: 所述接收模块, 还设置为: 在下载和播放的过程中, 接收所述终端通过 心跳消息反馈的播放码流的丟包信息, 并通知所述带宽调整模块; 所述带宽调整模块, 设置为: 通知所述媒体服务器调整下载带宽, 直到 不再收到所述终端反馈的丟包信息为止; 所述媒体服务器, 还设置为: 在收到所述带宽调整模块的通知后, 调整 下载带宽。 本发明实施例还提供了一种 IPTV ***中实现边播放边下载的***, 包 括: 如上所述的终端和如上所述的内容分发网络 CDN服务器。 本发明实施例提供的 IPTV***中实现边播放边下载的方法、终端、 CDN 服务器及***, 在 IPTV***中通过实时流协议 RTSP和 FTP ( File Transfer Protocol, 文件传输协议)来实现用户的边播放边下载的服务, 在不影响用户 观看的情况下同时实现媒体文件的下载, 充分利用用户的网络资源, 提升了 用户的体验度, 并且给运营商带来多元化的增值业务。 附图概述 图 1 是实施例中 IPTV***中实现边播放边下载的***结构图; 图 2 是实施例中终端侧 IPTV***中实现边播放边下载的方法流程图; 图 3 是实施例中 CDN服务器侧 IPTV***中实现边播放边下载的方法流 程图;
图 4是一个应用示例中 IPTV***中实现边播放边下载的方法流程图。 本发明的较佳实施方式
下文中将结合附图对本发明的实施例进行详细说明。 需要说明的是, 在 不冲突的情况下, 本申请中的实施例及实施例中的特征可以相互任意组合。
实施例: 如图 1所示, 本实施例提供了一种 IPTV***中实现边播放边下载的系 统, 包括: IPTV***中实现边播放边下载的终端和内容分发网络 CDN服务 器, 其中:
该终端, 包括: 带宽获取模块,设置为从内容分发网络 CDN服务器获取其请求播放的媒 体文件的码率信息; 其中,所述带宽获取模块向所述 CDN服务器发送第一请求消息, 所述第 一请求消息携带终端请求播放的媒体文件信息,并接收所述 CDN服务器返回 的第一响应消息, 该第一响应消息携带终端请求播放的媒体文件的码率以及 表示 CDN服务器支持边播放边下载功能的字段。 判决模块, 设置为判断所述码率信息是否满足边播放边下载的条件, 并 将判决结果通知; 其中, 所述边播放边下载的条件, 包括:
所述终端的当前带宽与所述请求播放的媒体文件的码率的差值大于预设 阔值。 边播放边下载模块, 设置为在判决结果为满足边播放边下载的条件时, 在播放所述媒体文件的同时向所述 CDN服务器请求下载用户要下载的文件。 其中,所述边播放边下载模块向所述 CDN服务器发送第二请求消息,例 如, SET— PARAMETER请求消息, 所述第二请求消息携带用户要下载的文件 信息以及表示所述终端支持边播放边下载功能的字段; 所述终端根据所述 CDN服务器返回的第二响应消息携带的所述用户要 下载文件的路径、 用户名和密码下载所述用户要下载的文件, 同时接收所述 CDN服务器返回的所述媒体文件的播放码流进行播放。 此外, 所述终端还包括: 播放监控模块, 设置为在下载和播放的过程中, 通过心跳消息向所述 CDN服务器反馈播放的码流的丟包信息,以使所述 CDN 媒体服务器调整媒体服务器的下载带宽。 此外, 本实施例还提供了一种 IPTV***中实现边播放边下载的 CDN服 务器, 包括: 实时流协议 RTSP服务器和媒体服务器, 其中: 所述 RTSP服务器包括: 接收模块、 带宽响应模块和边播放边下载响应 模块; 其中:
接收模块, 设置为接收终端获取其请求播放的媒体文件的码率信息的第 一请求消息以及所述终端发送的第二请求消息, 并通知带宽响应模块和边播 放边下载响应模块; 其中, 所述第二请求消息携带用户要下载的文件信息以 及表示所述终端支持边播放边下载功能的字段; 带宽响应模块, 设置为在收到所述接收模块的通知后, 向所述终端返回 第一响应消息, 该第一响应消息携带所述终端请求播放的媒体文件的码率信 息以及表示 CDN服务器支持边播放边下载功能的字段,以支持终端判断所述 码率信息是否满足边播放边下载的条件; 边播放边下载响应模块, 设置为在收到所述接收模块的通知后, 向所述 终端返回第二响应消息,所述第二响应消息携带所述用户要下载文件的路径、 用户名和密码, 并且同时通知所述媒体服务器向所述终端返回所述媒体文件 的播放码流; 所述媒体服务器, 设置为在收到所述边播放边下载响应模块的通知后, 向所述终端返回所述媒体文件的播放码流, 以及向所述终端提供所述用户要 下载的文件。 另外, 所述 RTSP服务器还包括: 带宽调整模块; 其中: 所述接收模块, 还设置为在下载和播放的过程中, 接收所述终端通过心 跳消息反馈的播放码流的丟包信息, 并通知所述带宽调整模块; 所述带宽调整模块, 设置为通知所述媒体服务器调整下载带宽, 直到不 再收到所述终端反馈的丟包信息为止; 所述媒体服务器, 设置为在收到所述带宽调整模块的通知后, 调整下载 带宽。
如图 2所示,以机顶盒为例,本实施例提供了一种 IPTV***中实现边播 放边下载的方法, 用于终端侧, 包括以下步骤: S 101:机顶盒从内容分发网络 CDN服务器获取其请求播放的媒体文件的 码率信息;
S102: 判断所述码率信息是否满足边播放边下载的条件, 如果满足, 则 执行步骤 S103;
S103:机顶盒在播放所述媒体文件的同时向所述 CDN服务器请求下载用 户要下载的文件。 在步骤 S101中, 机顶盒通过 RTSP信令向所述 CDN服务器发送第一请 求消息, 该第一请求消息携带机顶盒请求播放的媒体文件信息, 比如媒体文 件名等等, 另外还携带了机顶盒的带宽信息; 当所述 CDN服务器收到该第一请求消息后,如果该服务器支持边播放边 下载功能,机顶盒会收到所述 CDN服务器返回的第一响应消息,该第一响应 消息中携带了机顶盒请求播放的媒体文件的码率以及表示 CDN服务器支持 边播放边下载功能的字段, 例如, 在该第一响应消息中携带字段 {bandwidth=1820000}来表示机顶盒请求播放的媒体文件的码率, 在该响应消 息中携带字段 {x-download: yes}来表示服务器支持该功能。 在步骤 S102中, 所述边播放边下载的条件, 包括: 机顶盒的当前带宽与所述请求播放的媒体文件的码率的差值大于预设阔 值。 在步骤 S103 中, 机顶盒向 CDN服务器发送第二请求消息, 例如, SET— PARAMETER请求消息,该第二请求消息携带用户要下载的文件信息以 及表示所述终端支持边播放边下载功能的字段; 例如,机顶盒在该第二请求消息中携带字段{ x-download:yes}来表示所述 终端支持边播放边下载功能, 用户已经开启了边播放边下载功能; 携带字段 {x-contentid}和 { x-vcdnid}来表示用户要下载的文件 ID来确定用户要下载的 文件内容。
CDN服务器收到该第二请求消息后, 向机顶盒返回该第二请求消息的响 应消息, 即第二响应消息, 该响应消息中携带有用户要下载文件的路径、 用 户名、 密码等信息, 机顶盒在收到 CDN服务器返回的第二响应消息后, 播放 媒体文件并同时开启下载流程,具体过程为: 机顶盒根据所述 CDN服务器返 回的第二响应消息中携带的所述用户要下载文件的路径、 用户名和密码下载 所述用户要下载的文件,同时接收所述 CDN服务器返回的所述媒体文件的播 放码流进行播放。 其中, 在上述步骤中, 机顶盒与所述 CDN服务器通过实时流协议 RTSP 信令完成交互。
另夕卜, 本实施例中, 在下载和播放的过程中, 机顶盒还可以通过心跳消 息向所述 CDN服务器反馈播放的码流的丟包信息, 所述 CDN媒体服务器收 到所述丟包信息后通知媒体服务器调整下载带宽, 直到不再收到丟包信息为 止, 以保证用户观看的流畅性。 如图 3所示, 本实施例提供了一种 IPTV***中实现边播放边下载的方 法, 用于内容分发网络 CDN服务器侧, 包括:
S201 :内容分发网络 CDN服务器收到终端获取其请求播放的媒体文件的 码率信息的第一请求消息; S202: 所述 CDN服务器向所述终端返回第一响应消息; 该第一响应消息携带所述终端请求播放的媒体文件的码率信息以及表示 CDN服务器支持边播放边下载功能的字段, 以支持终端判断所述码率信息是 否满足边播放边下载的条件;
S203: 所述 CDN服务器收到终端发送的第二请求消息; 所述第二请求消息携带用户要下载的文件信息以及表示所述终端支持边 播放边下载功能的字段; S204: 所述 CDN服务器向所述终端返回第二响应消息, 同时向所述终端 返回所述媒体文件的播放码流。 所述第二响应消息中携带了所述用户要下载文件的路径、用户名和密码。 例如, CDN服务器在该 SET_PARAMETER响应消息中携带字段 {x-filepath} 来表示内容路径; 携带字段 {x-ftpuser o{ x-ftppwd}来表示访问用户名和访问 密码; 携带字段 { x-contentExist: yes }来表示 CDN服务器存储了用户要下载 的文件。 此外, 本实施例中, 在下载和播放的过程中, 所述 CDN服务器还会收到 所述终端通过心跳消息反馈的播放码流的丟包信息; 所述 CDN媒体服务器收到所述丟包信息后调整下载带宽,直到不再收到 所述终端反馈的丟包信息为止, 以保证用户观看的流畅性。
在一个应用示例中, 4叚设 IPTV用户 A拥有 6Mbps的网络带宽, 用户 A 在观看某一节目的码率为 3Mbps, 用户在没有其他网络连接的情况下, 会有 3Mbsp的网络带宽剩余, 而这剩余的带宽能力可以为用户下载相应的内容或 者下载运营商的广告视频等内容。 以终端为机顶盒为例, CDN服务器包括实 时流协议 RTSP服务器和媒体服务器, RTSP服务器直接与机顶盒交互, 媒体 服务器用于媒体处理和发送。如图 4所示,提供了一种 IPTV***中实现边播 放边下载的方法, 包括以下步骤:
S301 :机顶盒向 RTSP服务器发送 RTSP信令描述(Describe )请求消息, 该请求消息中携带有用户点播的内容;
S302: RTSP服务器收到该 Describe请求消息后, 查找该 Describe请求 消息中用户点播的内容, 并记录该内容的码率; S303: 机顶盒向 RTSP服务器发送建立 (SETUP )请求消息, 在该请求 消息的传输(Transport )字段中携带有该终端的当前带宽信息;
S304: RTSP服务器向媒体服务器申请资源;
S305: 资源申请成功, 媒体服务器响应 RTSP服务器; S306: RTSP服务器向机顶盒发送 SETUP响应消息, 并且携带当前请求 媒体文件的码率 {bandwidth=l 820000}字段以及 {x-download: yes}字段来表示 服务器支持该功能;
S307: 机顶盒判断当前情况是否满足边播放边下载的条件, 如果满足, 则询问用户是否启用边播放边下载功能; 这里, 机顶盒在收到该 SETUP 响应消息后, 取出该响应消息中
{bandwidth=1820000}字段的请求媒体文件的码率与机顶盒请求中携带的带 宽作比较, 在用户带宽比媒体文件的码率多一定比例的情况下则可以开启该 功能。
S308 : 如果用户启用该功能, 机顶盒向 RTSP 服务器发送设置参数 ( SET— PARAMETER )请求消息, 携带表示所述终端支持边播放边下载功能 的字段以及用户要下载的文件信息; 例如 , 该 SET— PARAMETER请求消息可以为:
SET— PARAMETER * rtsp/1.0 x-download:yes , x-contentid: 00000000020000001675 x-vcdnid:001
S309: RTSP服务器向媒体服务器申请资源;
S310: 资源申请成功, 媒体服务器响应 RTSP服务器;
S311: RTSP服务器给机顶盒发送 SET— PARAMETER响应消息, 携带要 下载文件的路径、 用户名、 密码等信息; 在步骤 S309~S311中, RTSP服务器收到该 SET— PARAMETER请求消息 后, 向媒体服务器查询该用户要下载的文件内容是否存在, 如果存在, 则申 请可用的资源分配给该用户, 并查询 ftp的用户名和密码,将上面的信息进行 加密 , 通过 SET— PARAMETER响应消息带给机顶盒。 S312: 机顶盒开启播放并下载流程;
S313: RTSP服务器通知媒体服务器发送码流;
S314: 媒体服务器向机顶盒发送码流;
S315:机顶盒根据 RTSP服务器返回的 SET— PARAMETER响应消息向媒 体服务器下载用户要下载的文件内容; S316: 媒体服务器向机顶盒发送用户要下载的文件内容;
S317: 在下载和播放过程中 , 机顶盒向 RTSP 服务器发送 GET— PARAMETER请求消息(心跳消息), 其中携带当前播放媒体文件的丟 包信息;
S318: RTSP服务器根据 GET— PARAMETER请求消息中的信息通知流媒 体服务器动态调整下载带宽, 已优先满足用户的观看;
S319: 流媒体服务器调整下载带宽, 并返回 GET— PARAMETER响应消 息给 RTSP服务器;
S320: RTSP服务器给终端发送 GET— PARAMETER响应消息。 如果 RTSP服务器继续收到机顶盒发来的丟包信息, 则继续执行步骤 S318-S320, 直到不再收到丟包信息为止。 从上述实施例可以看出, 相对于现有技术, 上述实施例中提供的 IPTV ***中实现边播放边下载的方法、 终端、 CDN服务器及***, 在 IPTV*** 中通过 RTSP和 FTP ( File Transfer Protocol, 文件传输协议)来实现用户的 边播放边下载的服务,在不影响用户观看的情况下同时实现媒体文件的下载, 充分利用用户的网络资源, 提升了用户的体验度, 并且给运营商带来多元化 的增值业务。 本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序 来指令相关硬件完成, 所述程序可以存储于计算机可读存储介质中, 如只读 存储器、 磁盘或光盘等。 可选地, 上述实施例的全部或部分步骤也可以使用 一个或多个集成电路来实现。 相应地, 上述实施例中的各模块 /单元可以釆用 硬件的形式实现, 也可以釆用软件功能模块的形式实现。 本发明不限制于任 何特定形式的硬件和软件的结合。
以上所述仅为本发明的优选实施例而已, 并非用于限定本发明的保护范 围。 根据本发明的发明内容, 还可有其他多种实施例, 在不背离本发明精神 改变和变形, 凡在本发明的精神和原则之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。
工业实用性 本发明实施例在不影响用户观看的情况下同时实现媒体文件的下载, 充 分利用用户的网络资源, 提升了用户的体验度, 并且给运营商带来多元化的 增值业务。

Claims

权 利 要 求 书
1、 一种网络电视(IPTV ) ***中实现边播放边下载的方法, 包括: 终端向内容分发网络(CDN )服务器获取所述终端请求播放的媒体文件 的码率信息, 判断所述码率信息是否满足边播放边下载的条件, 如果满足, 则在播放所述媒体文件的同时向所述 CDN服务器请求下载用户要下载的文 件。
2、 如权利要求 1所述的方法, 其中: 所述终端向所述 CDN服务器获取所述终端请求播放的媒体文件的码率 信息, 包括: 所述终端向所述 CDN服务器发送第一请求消息,所述第一请求消息携带 有所述终端请求播放的媒体文件信息,所述终端接收所述 CDN服务器返回的 第一响应消息, 所述第一响应消息携带所述终端请求播放的媒体文件的码率 以及表示所述 CDN服务器支持边播放边下载功能的字段。
3、 如权利要求 1所述的方法, 其中: 所述边播放边下载的条件, 包括:
所述终端的当前带宽与所述请求播放的媒体文件的码率的差值大于预设 阔值。
4、 如权利要求 1所述的方法, 其中: 所述终端在播放所述媒体文件的同时向所述 CDN服务器请求下载用户 要下载的文件, 包括: 所述终端向所述 CDN服务器发送第二请求消息,所述第二请求消息携带 用户要下载的文件信息以及表示所述终端支持边播放边下载功能的字段; 所述终端根据所述 CDN服务器返回的第二响应消息携带的所述用户要 下载文件的路径、用户名和密码到所述 CDN服务器下载所述用户要下载的文 件, 同时接收所述 CDN服务器返回的所述媒体文件的播放码流进行播放。
5、 如权利要求 1所述的方法, 所述方法还包括: 在下载和播放的过程中,所述终端通过心跳消息向所述 CDN服务器反馈 播放码流的丟包信息,以使所述 CDN媒体服务器在收到所述丟包信息后调整 下载带宽, 直到不再收到丟包信息为止。
6、 一种网络电视(IPTV ) ***中实现边播放边下载的方法, 包括: 内容分发网络( CDN )服务器收到终端获取请求播放的媒体文件的码率 信息的第一请求消息; 所述 CDN服务器向所述终端返回第一响应消息,所述第一响应消息携带 所述终端请求播放的媒体文件的码率信息以及表示 CDN服务器支持边播放 边下载功能的字段, 以支持终端判断所述码率信息是否满足边播放边下载的 条件; 所述 CDN服务器收到所述终端发送的第二请求消息,所述第二请求消息 携带用户要下载的文件信息以及表示所述终端支持边播放边下载功能的字 段;
所述 CDN服务器向所述终端返回第二响应消息,所述第二响应消息中携 带了所述用户要下载文件的路径、 用户名和密码, 同时向所述终端返回所述 媒体文件的播放码流。
7、 如权利要求 6所述的方法, 所述方法还包括: 在下载和播放的过程中,所述 CDN服务器收到所述终端通过心跳消息反 馈的播放码流的丟包信息; 所述 CDN服务器调整下载带宽,直到不再收到所述终端反馈的丟包信息 为止。
8、一种终端, 包括带宽获取模块、判决模块和边播放边下载模块,其中: 所述带宽获取模块, 设置为: 向内容分发网络(CDN )服务器获取请求 播放的媒体文件的码率信息; 所述判决模块, 设置为: 判断所述码率信息是否满足边播放边下载的条 件, 并将判决结果通知所述边播放边下载模块; 以及 所述边播放边下载模块, 设置为: 在所述判决结果为满足边播放边下载 的条件时,在播放所述媒体文件的同时向所述 CDN服务器请求下载用户要下 载的文件。
9、 如权利要求 8所述的终端, 其中: 所述带宽获取模块是设置为以如下方式向所述 CDN服务器获取其请求 播放的媒体文件的码率信息: 向所述 CDN服务器发送第一请求消息,所述第一请求消息携带所述终端 请求播放的媒体文件信息,接收所述 CDN服务器返回的第一响应消息, 所述 第一响应消息携带终端请求播放的媒体文件的码率以及表示所述 CDN服务 器支持边播放边下载功能的字段。
10、 如权利要求 8所述的终端, 其中: 所述边播放边下载的条件, 包括:
所述终端的当前带宽与所述请求播放的媒体文件的码率的差值大于预设 阔值。
11、 如权利要求 8所述的终端, 其中: 所述边播放边下载模块是设置为以如下方式在播放所述媒体文件的同时 向所述 CDN服务器请求下载用户要下载的文件: 向所述 CDN服务器发送第二请求消息 ,所述第二请求消息携带用户要下 载的文件信息以及表示所述终端支持边播放边下载功能的字段; 根据所述 CDN服务器返回的第二响应消息中携带的所述用户要下载文 件的路径、用户名和密码到所述 CDN服务器下载所述用户要下载的文件, 同 时接收所述 CDN服务器返回的所述媒体文件的播放码流进行播放。
12、 如权利要求 8所述的终端, 所述终端还包括: 播放监控模块, 其设 置为: 在下载和播放的过程中,通过心跳消息向所述 CDN服务器反馈播放的 码流的丟包信息, 以使所述 CDN媒体服务器调整媒体服务器的下载带宽。
13、 一种内容分发网络(CDN )服务器, 包括: 实时流协议(RTSP )服 务器和媒体服务器, 其中: 所述 RTSP服务器包括接收模块、 带宽响应模块和边播放边下载响应模 块: 所述接收模块, 设置为: 接收终端获取请求播放的媒体文件的码率信息 的第一请求消息以及所述终端发送的第二请求消息, 并通知带宽响应模块和 边播放边下载响应模块; 其中, 所述第二请求消息携带用户要下载的文件信 息以及表示所述终端支持边播放边下载功能的字段; 所述带宽响应模块, 设置为: 在收到所述接收模块的通知后, 向所述终 端返回第一响应消息, 该第一响应消息携带所述终端请求播放的媒体文件的 码率信息以及表示所述 CDN服务器支持边播放边下载功能的字段,以支持所 述终端判断所述码率信息是否满足边播放边下载的条件; 所述边播放边下载响应模块, 设置为: 在收到所述接收模块的通知后, 向所述终端返回第二响应消息, 所述第二响应消息中携带了所述用户要下载 文件的路径、 用户名和密码, 并且同时通知所述媒体服务器向所述终端返回 所述媒体文件的播放码流; 所述媒体服务器,设置为: 在收到所述边播放边下载响应模块的通知后, 向所述终端返回所述媒体文件的播放码流, 以及向所述终端提供所述用户要 下载的文件。
14、 如权利要求 13所述的 CDN服务器, 其中: 所述 RTSP服务器还包 括: 带宽调整模块; 其中: 所述接收模块, 还设置为: 在下载和播放的过程中, 接收所述终端通过 心跳消息反馈的播放码流的丟包信息, 并通知所述带宽调整模块; 所述带宽调整模块, 设置为: 通知所述媒体服务器调整下载带宽, 直到 不再收到所述终端反馈的丟包信息为止; 所述媒体服务器, 还设置为: 在收到所述带宽调整模块的通知后, 调整 下载带宽。
15、一种 IPTV***中实现边播放边下载的***, 包括:如权利要求 8~12 任一项所述的终端和如权利要求 13~14任一项所述的内容分发网络 CDN服务 哭口
PCT/CN2013/081364 2012-08-13 2013-08-13 Iptv***实现边放边下的方法、终端及cdn服务器 WO2014026590A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/421,338 US9888272B2 (en) 2012-08-13 2013-08-13 Method, terminal and CDN server in IPTV system for realizing playing while downloading

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210286520.4 2012-08-13
CN201210286520.4A CN102843616B (zh) 2012-08-13 2012-08-13 Iptv***实现边放边下的方法、终端及cdn服务器

Publications (1)

Publication Number Publication Date
WO2014026590A1 true WO2014026590A1 (zh) 2014-02-20

Family

ID=47370627

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/081364 WO2014026590A1 (zh) 2012-08-13 2013-08-13 Iptv***实现边放边下的方法、终端及cdn服务器

Country Status (3)

Country Link
US (1) US9888272B2 (zh)
CN (1) CN102843616B (zh)
WO (1) WO2014026590A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843616B (zh) 2012-08-13 2018-06-15 中兴通讯股份有限公司 Iptv***实现边放边下的方法、终端及cdn服务器
CN103685301A (zh) * 2013-12-24 2014-03-26 乐视网信息技术(北京)股份有限公司 连接内容传递网络的适应性处理方法与***
CN106161351A (zh) * 2015-03-31 2016-11-23 中兴通讯股份有限公司 流媒体服务与文件下载融合的方法、装置及cdn服务器
CN106993014B (zh) * 2016-01-20 2020-12-18 中兴通讯股份有限公司 缓存内容的调整方法、装置及***
CN110995827B (zh) * 2019-11-29 2022-01-07 腾讯科技(深圳)有限公司 通信处理方法、装置、计算机可读介质及电子设备
US20230413369A1 (en) * 2022-06-21 2023-12-21 Trilogy 5G, Inc. Heartbeat system and method for broadcast system
CN116320507B (zh) * 2023-05-26 2023-08-08 湖南快乐阳光互动娱乐传媒有限公司 一种视频数据下载方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090310673A1 (en) * 2008-06-12 2009-12-17 Mondo Systems Co., Ltd. Method and apparatus for controlling a bitrate in a video processing system
CN101751442A (zh) * 2008-12-16 2010-06-23 康佳集团股份有限公司 一种搜索多媒体文件的方法、设备及***
CN101795264A (zh) * 2009-12-30 2010-08-04 北京新岸线网络技术有限公司 一种视频数据传送方法及***
CN102571894A (zh) * 2010-12-07 2012-07-11 中国电信股份有限公司 在线流媒体传输控制方法及播放器
CN102843616A (zh) * 2012-08-13 2012-12-26 中兴通讯股份有限公司 Iptv***实现边放边下的方法、终端及cdn服务器

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020129159A1 (en) * 2001-03-09 2002-09-12 Michael Luby Multi-output packet server with independent streams
CN101227590B (zh) 2007-01-19 2013-03-06 北京风行在线技术有限公司 基于p2p协议的媒体文件点播控制方法及装置
US20090125634A1 (en) * 2007-11-08 2009-05-14 Microsoft Corporation Network media streaming with partial syncing
CN101635828B (zh) * 2009-08-19 2011-09-21 中兴通讯股份有限公司 实现iptv频道录制和播放的机顶盒装置、***和方法
CN101651822B (zh) * 2009-08-26 2012-02-29 中兴通讯股份有限公司 一种机顶盒以及实现节目录制与播放的方法和装置
WO2011068784A1 (en) * 2009-12-01 2011-06-09 Azuki Systems, Inc. Method and system for secure and reliable video streaming with rate adaptation
CN101741927A (zh) 2009-12-24 2010-06-16 四川长虹电器股份有限公司 穿越nat设备的远程控制方法
CN102123303B (zh) * 2011-03-25 2012-10-24 天脉聚源(北京)传媒科技有限公司 一种音视频文件播放方法、***及传输控制装置
EP2716011A1 (en) * 2011-06-01 2014-04-09 Interdigital Patent Holdings, Inc. Content delivery network interconnection (cdni) mechanism

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090310673A1 (en) * 2008-06-12 2009-12-17 Mondo Systems Co., Ltd. Method and apparatus for controlling a bitrate in a video processing system
CN101751442A (zh) * 2008-12-16 2010-06-23 康佳集团股份有限公司 一种搜索多媒体文件的方法、设备及***
CN101795264A (zh) * 2009-12-30 2010-08-04 北京新岸线网络技术有限公司 一种视频数据传送方法及***
CN102571894A (zh) * 2010-12-07 2012-07-11 中国电信股份有限公司 在线流媒体传输控制方法及播放器
CN102843616A (zh) * 2012-08-13 2012-12-26 中兴通讯股份有限公司 Iptv***实现边放边下的方法、终端及cdn服务器

Also Published As

Publication number Publication date
CN102843616B (zh) 2018-06-15
US9888272B2 (en) 2018-02-06
CN102843616A (zh) 2012-12-26
US20150222942A1 (en) 2015-08-06

Similar Documents

Publication Publication Date Title
WO2014026590A1 (zh) Iptv***实现边放边下的方法、终端及cdn服务器
EP2391086B1 (en) Method and apparatus for playing live content
US8832726B2 (en) Video streaming entitlement determined based on the location of the viewer
JP5580302B2 (ja) ピアツーピアネットワークのための放送シーディング
US9769538B2 (en) Systems and methods for content delivery
US9148756B2 (en) Output of content from the internet on a media rendering device
US9578352B2 (en) Multi-format distribution of content
WO2014173110A1 (zh) 获取流媒体数据的方法、设备及***
WO2007051385A9 (zh) 电子节目指南、流媒体调度及点播***、方法和装置
WO2018090978A1 (zh) 自适应播放、控制方法、机顶盒及电子节目服务器
WO2011032431A1 (zh) Http的媒体传输方法及装置
JP2014230055A (ja) コンテンツ供給装置、コンテンツ供給方法、プログラム、およびコンテンツ供給システム
WO2015035742A1 (zh) 一种数字电视的音视频共享方法、终端及***
KR20120114016A (ko) 사용자 컨텐츠를 외부 단말기에서 네트워크 적응적으로 스트리밍하는 방법 및 장치
WO2018103644A1 (zh) 直播分享方法及装置、家庭媒体设备和存储介质
CN106464933B (zh) 用于远程控制对多媒体内容的渲染的设备和方法
JP6359539B2 (ja) レンダリング時の制御
WO2013097454A1 (zh) 一种视频插播的方法、装置及***
US9544630B2 (en) Method and IPTV server for enabling playout of one or more media objects
WO2017038353A1 (ja) 受信装置、送信装置、およびデータ処理方法
WO2010060322A1 (zh) 一种节目播放的控制方法及装置
WO2013181996A1 (zh) 一种获取信息的方法、设备及***
US9332421B2 (en) Method and apparatus for random access to multimedia content in wireless communication system
CN101668172B (zh) 一种业务内容的播放方法、***和装置
WO2008141542A1 (fr) Procédé, dispositif vidéo et système pour l'affichage d'informations au moment d'une commutation de canaux

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: 13829937

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 14421338

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: A20150144

Country of ref document: BY

122 Ep: pct application non-entry in european phase

Ref document number: 13829937

Country of ref document: EP

Kind code of ref document: A1