CN100583823C - Method, device and system for controlling fluid medium broadcast - Google Patents

Method, device and system for controlling fluid medium broadcast Download PDF

Info

Publication number
CN100583823C
CN100583823C CN 200610078379 CN200610078379A CN100583823C CN 100583823 C CN100583823 C CN 100583823C CN 200610078379 CN200610078379 CN 200610078379 CN 200610078379 A CN200610078379 A CN 200610078379A CN 100583823 C CN100583823 C CN 100583823C
Authority
CN
China
Prior art keywords
stream
streaming
media
server
streaming media
Prior art date
Application number
CN 200610078379
Other languages
Chinese (zh)
Other versions
CN1984056A (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 CN 200610078379 priority Critical patent/CN100583823C/en
Publication of CN1984056A publication Critical patent/CN1984056A/en
Application granted granted Critical
Publication of CN100583823C publication Critical patent/CN100583823C/en

Links

Abstract

The invention discloses a media flow broadcast control method, comprising: media flow server provides a variety of code flow for a same media flow program, the media flow receiving client obtain the range of code flow of media flow program, the user choose a transmission code flow according to the range of code flow, the said media flow receiving client report to the said media flow server; the media flow server play the said media flow program with the transmission code flow the user choose. The invention also provides corresponding media flow server, media flow receiving client and media flow broadcast system. Use this invention can be simply actualize the user freely choose broadcast code flow of media flow; fully guarantee the broadcast quality of media flow.

Description

一种流媒体播放控制方法、装置及系统 A streaming media playback control method, apparatus and system for

技术领域 FIELD

本发明涉及通信领域,尤其涉及一种流媒体播放控制方法,以及相对应的流媒体服务器、流媒体接收客户端和播放系统。 The present invention relates to the field of communications, particularly to a control method for streaming media, and the corresponding streaming media server, and the client receives the streaming media playing system.

背景技术 Background technique

流媒体指在Internet/Intranet中使用流式传输技术的连续时基媒体,如:音频、视频或多媒体文件。 Streaming refers to the use of continuous time-based media streaming technology in the Internet / Intranet, as: an audio, video or multimedia files. 流媒体在播放前并不下载整个文件,只将开始部分内容存入緩存,文件的剩余部分将在播放时由后台从服务器内继续下载。 Streaming media player does not download the entire file before, only the beginning of the content stored in the cache, the remainder of the file will continue downloading from the background by the server during playback. 流媒体实现的关键技术就是流式传输。 The key technology of streaming media streaming is implemented.

目前制约流媒体宽带应用发展的核心问题在于服务质量。 Restricting the development of streaming media broadband applications is currently the core problem is the quality of service. 目前流媒体的点播存在两个问题: There is currently demand streaming of two questions:

1、 由于因特网的状况不稳定,其带宽、负荷等变化剧烈,而媒体源的码流却是始终不变的,这就会造成播放卡壳、延迟、视频质量抖动剧烈等不良情况,给使用者浏览视频造成很大影响。 1, due to the unstable situation of the Internet, bandwidth, load and other dramatic changes, and stream media source is always the same, and this will cause the player to jam, delay, jitter violent video quality and other adverse circumstances, to the user Browse videos great impact.

2、 点播同一个媒体源的终端接入带宽可能差别很大,有的终端可能是百兆接入,有的是modem拨号接入,但媒体源的码流只有一个,这样就造成带宽高的客户得不到更好的视觉效果,带宽低的客户的视频质量也得不到保障。 2, on-demand media with a source terminal access bandwidth may vary widely, and some access terminals may be hundreds of megabytes, some modem dial-up access, but the code is only one streaming media source, thus resulting in high bandwidth customer was less than a better visual effect, low bandwidth video quality customer can not be protected.

实时流十办i义(Real Time Streaming Protocol , RTSP )是由RealNetworks 和Netscape共同提出的,该协议定义了一对多应用程序如何有效地通过IP网络传送多媒体数据,提供用于音频和视频流的远程控制功能,如停止、快进、 快退和重定向等。 Real Time Streaming ten i do justice (Real Time Streaming Protocol, RTSP) are jointly proposed by RealNetworks and Netscape, which protocol defines one to many applications how to effectively transmit multimedia data over IP networks, providing for audio and video streams remote control functions such as stop, fast forward, rewind, and redirection. 数据包的发送以及丢包统计由实时传输协议(Real-time Transport Protocol , RTP/实时传榆控制协议(Real-time Transport Control Protocol , RTCP)负责。实时流协议已成为流媒体传输的标准协议rfc2326。现有技术中已出现一种多码流压缩技术,即同一个媒体丈件,可以在编码压缩时提供多个码流。媒体服务器可以随时选择某个码流发送。 Send data packets and packet loss statistics from the Real-time Transport Protocol (Real-time Transport Protocol, RTP / real-time transmission control protocol elm (Real-time Transport Control Protocol, RTCP) is responsible for real-time streaming protocol has become the standard protocol for streaming media transmission rfc2326 the prior art has been the emergence of a multi-stream compression technique that can provide a plurality of streams when coding the same compression member husband media. the media server may select a code stream transmitted at any time.

资源预留协议(Resource Reservation Protocol , RSVP )是一个标准的服务质量保证(Quality of Service , QoS )信令协议,它允许动态地建立端到端的QoS,在数据的发送端和接收端之间的网络链路上申请预留一定的带宽。 Resource reservation protocol (Resource Reservation Protocol, RSVP) is a standard quality of service (Quality of Service, QoS) signaling protocol, allows the QoS end to end to dynamically establish, between the transmitting and receiving ends of data reserve a certain application on the network link bandwidth.

目前数据通信网上很多业务网关都提供了用户可以申请临时提高接入带宽的功能。 At present a lot of online data communication service gateway provides the user can apply for a temporary increase access bandwidth capabilities. 如某用户的宽带接入带宽是1M bps,但希望点播2.5M bps码流的某部影片,则用户可以申请把自己的接入带宽临时提高到2.5Mbps。 If a user's broadband access bandwidth is 1M bps, but hopefully a video-on-demand 2.5M bps stream, the user can apply their own temporary access bandwidth up to 2.5Mbps.

专利号为CN03157182.4的专利申请文件公开了一种流士某体播放方法,其技术实现主要包括如下步骤: Patent Application No. CN03157182.4 patent document discloses a method for playing a streaming body disabilities, which technology include the following steps:

a. 发起方和接收方建立通话连接线路,发起方和接收方同时检测各自的外围设备能力,在网络带宽允许视频传输的条件下时,通话双方可以选择视频信号开始通话; . A call originating and receiving connecting line entering into, the initiator and the recipient simultaneously detecting the respective peripheral device capabilities, network bandwidth when conditions permit video transmission, a double-talk call can select the video signal begins;

b. 以此时的视频窗口和传输速率作为基准;发送服务质量测试包,测试网络的丢包率; . B at this time and the video window as a reference transmission rate; transmitting quality of service test packet loss ratio test network;

C.如果基本没有丢包率或者很小,则适当调大视频窗口、增大传输速率; C. If little or substantially no packet loss rate, the appropriate transfer large video window, the transmission rate is increased;

d. 如果丟包率小于30%,则适当调小视频窗口,降低传输速率; . D If the packet loss rate of less than 30%, the appropriate transfer a small video window, reduce the transmission rate;

e. 如果丢包率大于30%,则认为网络状况无法满足本媒体文件视频传输的要求,结束通话 e. If the packet loss rate is greater than 30% is considered unable to meet the network conditions present video transmission media file, ending a call

上述现有技术存在以下缺点: The above-described prior art has the following disadvantages:

(1) 只能在播放后自动调整传输速率,无法在流媒体播放前由用户选择一个适合的码流。 (1) can automatically adjust the transmission rate in the playback can not select an appropriate stream by a user before streaming.

(2) 播放过程中,服务器需要与大量客户端不停的统计丟包率、调整码流,会消耗服务器的资源,在网络状况变化频繁时,会给服务器造成沉重的负担。 (2) During playback, the server needs with the large number of clients kept statistics packet loss rate, adjust the stream, it will consume server resources, frequent changes in the network conditions, the server will create a heavy burden.

(3) 网络状况变化频繁时,画面尺寸或者播放速率会不停变化,给用户的感官效果不好。 Frequent (3) change in network condition, or the size of the screen will stop the playback rate change, the user is not good to sensory effects.

(4) 码流调整范围小,丟包率大于30%必须断开连接,不能适应用户多 (4) Stream small range of adjustment, is greater than 30% packet loss rate must be disconnected, the user can not meet the multiple

样的带宽范围。 Kind of bandwidth.

(5) 客户端不知道媒体源的码流范围,所以无法使用资源预留协议(RSVP)申请预留带宽或者向业务网关申请更大的接入带宽。 (5) the client does not know the source of the media stream range, it is impossible to use a resource reservation protocol (RSVP) to reserve bandwidth application or applications more access bandwidth to the service gateway.

(6) 根据丢包率的统计结果来调整传输速率,无法做到及时、准确地监测到带宽的变化。 (6) to adjust the transmission rate according to statistics packet loss rate, can not be timely and accurate monitoring to change bandwidth.

发明内容 SUMMARY

本发明提供一种流媒体播放方法,用以解决现有技术中存在的不能由流媒体接收客户端用户自主控制流媒体播放的问题。 The present invention provides a method for playing a media stream, to solve the problem can not be received by the streaming client user control autonomous streaming media present in the prior art.

根据本发明提供的方法,本发明另提供相对应的流媒体服务器、流媒体接收客户端及播放系统。 The method of the present invention provides, the present invention further provide a corresponding streaming media server, and the client receives the streaming media playing system.

本发明方法为:流媒体服务器为同一个流媒体节目提供多种码流,且所述流媒体服务器和流媒体接收客户端之间采用实时流协议RTSP,包括下列步骤: The method of the present invention are: to provide streaming media server streaming the media program to a plurality of the same stream, and the stream using the Real Time Streaming Protocol between the media server and the streaming client receives the RTSP, comprising the steps of:

A、 所述流媒体接收客户端向所述流媒体服务器发送码流查询消息,携带RTSP提供的方法GET—PARAMETER、请求播放的媒体文件对应的全局资源标识符URI和表示码流信息的Bitrate标题; A, receiving the streaming client sends a query message code stream to the streaming server carrying method GET-PARAMETER RTSP, requests to play a media file corresponding to the global resource identifier (URI) indicating the stream header information Bitrate ;

所述流媒体服务器判断其支持Bitrate标题后,返回成功消息,携带与所述媒体文件对应的码流范围; The streaming server determines which supports the title Bitrate returns success message carries the media stream to the range corresponding to the file;

B、 用户根据所述码流范围选择一种传输码流,由所述流媒体接收客户端上报给所述流媒体服务器; B, the user selects a transport stream according to the code stream range, reported to the streaming server by a client receiving the streaming media;

C、 所述流媒体服务器采用用户选择的传输码流播放所述流媒体节目。 C, the streaming media server using a user selected transport stream player streaming the media program. 根据本发明的上述方法,当所述流媒体接收客户端点播流媒体节目时,向 According to the method of the present invention, when the client receives the streaming media on-demand streaming media program, the

所述流媒体服务器发起码流查询请求; The streaming server sends at least the stream query request;

所述流媒体服务器收到码流查询请求后,查询点播的流媒体节目的码流范围,并发送给所述流媒体接收客户端显示给用户。 After the server receives the streaming media stream query request, the query-demand streaming media program stream range transmitted to said receiving streaming media client to the user.

所述步骤B中,用户在流媒体接^^1户端开始播放流媒体节目前、或在播放过程中的任意时刻,选择一种传输码流由所述流媒体接收客户端上报给所述流媒体服务器。 The step B, the user access the streaming media begins playing ^^ one end section of the current streaming media, or any time during playback of a transport stream selected by the streaming client reports to the receiver flow media services.

根据本发明的上述方法,所述步骤B中还包括: According to the method of the invention, the step B further comprises:

由所述流4某体接收客户端使用资源预留协议RSVP申请与所述流媒体服务 A flow body 4 by the receiving client using a resource reservation protocol RSVP request to the streaming service

器之间的端到端带宽保障。 To-end bandwidth guarantees between devices.

根据本发明的上述方法,所述步骤B中还包括: 由所述流媒体接收客户端向业务网关申请提高接入带宽。 According to the method of the invention, the step B further comprises: receiving, by the client application streaming media service gateway to improve access bandwidth. 所述流4某体服务器为同一个流媒体节自提供多种码流,包括: 所述流々某体服务器为同一个流媒体节目生成多个单码流的媒体文件;或者所述流々某体服务器为同一个流媒体节目生成一个多码流的媒体文件。 The flow body 4 a streaming server for the same section from a variety of streams, comprising: a body 々 the stream server to generate a plurality of streams of streaming media program with a media file; or a member of the flow 々 server to generate more than one yard streaming media file with a streaming media program. 当所述流媒体服务器为同一个流媒体节目生成一个多码流的媒体文件时, When the streaming media file server generates a multi-stream streaming of a program for the same,

所述步骤B包括: Said step B comprising:

Bll、所述流媒体接收客户端向所述流媒体服务器发送修改码流消息,携带RTSP提供的方法SET—PARAMETER或PLAY、纟某体文件对应的URI、表示播放时间范围的Range标题和Bitrate标题,并用Bitrate标题指明流媒体接收客户端用户选择的码流; BLL, receiving the streaming client sends a modify message code stream to the streaming media server, the method carrying RTSP SET-PARAMETER provided or PLAY, a Si body file corresponding to the URI, represents the playback time range Range title and title Bitrate and specify a Bitrate title streaming client receiving a user-selected stream;

B12、所述流媒体服务器判断其支持Bitrate标题后,返回成功消息; B12, the streaming server determined that the title Bitrate support, return success;

所述步骤C包括: Said step C comprising:

所述流4某体服务器在Range标题指定的时间范围内,采用Bitrate标题指明的用户选择的码流播放所述流媒体节目。 The stream media server 4 a Range header in the specified time, the use of a user-selected stream player Bitrate title specified in the streaming media program.

当所述流媒体服务器为同一个流媒体节目生成多个单码流的媒体文件时, 所述步骤B包括: When the streaming media file server generates a plurality of single stream is the same when a streaming media program, the step B comprises:

B21、所述流媒体接收客户端向所述流媒体服务器发送修改码流消息,携带RTSP提供的方法SET—PARAMETER或PLAY、当前媒体文件对应的URI 、,并用Bitrate标题指明流媒体接收客户端用户选择的码流; B21, the receiving streaming media stream client sends a modify message to the streaming media server, or carrying the method PLAY RTSP SET-PARAMETER provided, corresponding to the current media file specified URI ,, and receiving streaming media client user with the title Bitrate selecting a code stream;

B22、所述流媒体服务器判断其支持Bitrate标题后,根据流媒体接收客户端用户选择的码流,匹配出与该码流媒体文件对应的新的URI; B22, the streaming server determined that the title Bitrate support, streaming client receives the code stream based on user selection, matching the new URI corresponding to the stream media file;

B23 、将新的URI附带在RTSP提供的Location标题后,向所述流媒体接收客户端发出重定向命令; B23, new incidental RTSP URI in the Location header provided to the streaming client sends a redirect command receiver;

B24、所述流媒体接收客户端断开与当前旧的URI的会话,获取所述新的URI的媒体描述信息,并建立与所述新的URI的会话; B24, the receiving client disconnects the streaming media session with the current of the old URI, the URI acquired the new media description information, and establish a new session with the URI of;

所述步骤C包括: Said step C comprising:

所述流媒体服务器在Range标题指定的时间范围内,采用Bitrate标题指明的用户选择的码流播放所述流媒体节目。 The streaming server within a specified time range Range header, using a user-selected stream player Bitrate title specified in the streaming media program.

根据本发明的上述方法,当所述流媒体服务器判断其不支持Bitrate标题或无法执行时,向所述流媒体接收客户端返回失败消息,携带失败类型及原因。 According to the method of the present invention, when the streaming server determines that it does not support or can not perform the title Bitrate, said receiving streaming media to the client terminal returns a failure message carrying the failure causes and types.

本发明提供一种流媒体服务器,与流媒体接4t^户端之间采用实时流协议RTSP,包括: The present invention provides a streaming server, the streaming media access 4t ^ using Real Time Streaming Protocol RTSP between client, comprising:

々某体文件生成单元,为同一个流^!某体节目生成一个多码流的^某体文件,或 A file generating means 々 body, for the same flow ^! A program body to generate more than one yard ^ a stream file thereof, or

生成多个单码流的媒体文件; Generating a plurality of single media file stream;

第一码流查询单元,接收流々某体接收客户端发送的码流查询请求,所述码流查询消息携带RTSP提供的方法GET一PARAMETER、请求播放的媒体文件对应的全局资源标识符URI和表示码流信息的Bitrate标题;判断支持Bitrate 标题后,查询点播的流媒体节目的码流范围,并发送给所述码流范围发送单元; The first stream query unit, receives the flow stream 々 a query request sent by a client's body, the method of providing RTSP stream a query message carries the PARAMETER GET, the request to play a media file corresponding to the global resource identifier (URI) indicating Bitrate stream title information; Analyzing the title Bitrate support query-demand streaming media program stream range, range and sends the code stream sending unit;

码流范围发送单元,向流媒体接收客户端返回携带与所述媒体文件对应的码流范围的成功消息; Code stream sending unit range, to the streaming client receives the return stream carrying the media file and a range corresponding to the success message;

第一码流设置/修改执行单元,接收流媒体接收客户端发起的修改码流消息,获取流媒体接收客户端用户选择的传输码流信息; The first stream set / modify the execution unit, receiving streaming media streams received modification message initiated by the client, obtaining a transport stream received media stream client selected by a user;

第一流媒体播放单元,根据用户选择的传输码流,启动对应码流的媒体文件或采用该码流播放所述流媒体节目。 First stream media playback unit, according to transport streams selected by the user, starts the corresponding media file or stream using the stream playback of the streaming media program.

本发明提供提供一种流媒体接收客户端,与流媒体服务器之间采用实时流 The present invention provides a streaming media receiver provides the client, server and streaming media between the real-time streaming

协i义RTSP,包凌舌: Association i Yi RTSP, Ling tongue package:

第二码流查询单元,向流々某体服务器发送码流查询消息,携带RTSP提供的方法GET_PARAMETER、请求播放的i某体文件对应的全局资源标识符URI 和表示码流信息的Bitrate标题; The second stream query unit transmits a media server to stream 々 stream query message carrying the method provided GET_PARAMETER RTSP, i of a body of the file requested to be played corresponding to the global resource identifier (URI) indicating the title Bitrate information stream;

码流范围接收单元,接收流媒体服务器返回的携带与所述媒体文件对应的码流范围的成功消息; Range stream receiving means for receiving streaming media stream returned by the server carries range success message corresponding to the media file;

第二码流设置/修改执行单元,根据用户选择的传输码流,向流媒体服务器发送修改码流消息,携带用户选择的码流信息; The second stream is provided / modify the execution unit, according to a transmission code stream selected by the user, sending the modified message code stream to the streaming server, carrying the stream information selected by the user;

第二流媒体播放单元,接收并显示流媒体服务器播放的流媒体节目。 Second streaming playback unit, receives and displays broadcast streaming media server streaming the media program.

本发明另提供一种流媒体播放系统,所述流媒体服务器和所述流媒体接收客户端之间采用实时流协议RTSP,包括本发明提供的上述流士某体服务器和流媒体接收客户端。 The present invention further provides a system of streaming media, the streaming media server and the receiving client using Real Time Streaming Protocol (RTSP) received between the media client, comprising the present invention provides a stream media server persons and streaming the stream.

本发明有益效果如下: Advantageous effects of the present invention are as follows:

(1) 采用本发明,流媒体服务器预先为同一个流媒体节目提供多种码流, 当流媒体接收客户端点播流媒体节目时,可以向流媒体服务器发起码流查询请求,获取点播的流媒体节目的码流范围;用户可以在播放前,根据所在流媒体接收客户端的接入带宽和当前网络状况选择一个适合的码流,上报给流媒体服务器,由流媒体服务器采用用户选择的码流播放流媒体节目。 (1) According to the present invention, the streaming server is provided in advance with a plurality of streams of streaming media program, when receiving a streaming media client program on-demand streaming media, the minimum flow can send a query request to the streaming server, acquires flow demand stream range media program; the user can play before, choose a suitable code stream according to the same stream media receiving client access bandwidth and current network conditions, reported to the streaming media server, using the streaming media server user-selected streams play streaming media program. 这样,不需要占用客户端和服务器的资源进行传输质量(如丢包率)的统计,简单实现由用户进行流媒体节目播放质量的控制。 In this way, it does not take up resources on the client and server for transmission quality (such as packet loss rate) statistics, simple implementation to control playback quality of streaming media program by the user.

(2) 如果由于网络状况变化,导致播放的流々某体节目质量发生改变,用户可以随时在节目播放过程中通过流媒体接收客户端向流媒体服务器请求改变传输码流,以保证更好的流媒体节目播放质量。 (2) If due to changes in network conditions, resulting in the quality of programs of a fluid flow 々 player is changed, the user may at any time during a program receiving client by streaming request to the streaming server to change the transmission stream, in order to ensure better flow media program playback quality.

(3 )采用本发明,流媒体接收客户端可以获取点播的流媒体节目的码流范围,用户(客户端)如果想保证端到端的视频传输质量,可以根据码流范围, (3) According to the present invention, the receiving streaming media stream client can obtain a range of on-demand streaming media program, the user (client) To ensure the quality of video transmission end, the stream may range depending,

使用资源预留协议(RSVP)来申请端到端的带宽保障;如果是因为接入带宽不够,可以根据码流范围,向业务网关申请适合的接入带宽,以保证传输质量。 Using Resource Reservation Protocol (RSVP) to end bandwidth guarantee application; if access is not enough bandwidth because, according to the code stream range, a bandwidth request for access to the service gateway, to ensure the transmission quality. (4 )本发明流媒体服务器的码流范围可以做得很广,适应各种网络条件。 (4) the streaming server streams the scope of the present invention can be made very broad, adapt to various network conditions. (5)采用本发明用户可以根据音视频流的感官效果及时调整码流,避免了根据丢包率统计时的不准确和不及时的缺点。 (5) using the present invention the user can adjust the code stream according to the audio and video streams organoleptic effect, to avoid inaccurate and timely when the packet loss rate statistics according disadvantages.

附图说明 BRIEF DESCRIPTION

图1为本发明实施例码流查询流程图; Example 1 FIG stream query flowchart of the present invention;

图2为本发明实施例设置多码流媒体文件时修改码流流程图; Embodiment 2 FIG stream flowchart disposed modified when the multi-stream embodiment of the present invention, media file;

图3为本发明实施例设置多个单码流媒体文件时修改码流流程图; Figure 3 embodiment is provided a streaming media file to modify a plurality of single code stream flow chart of the present invention;

图4为本发明提供的流媒体服务器结构示意图; Streaming media server provides a schematic view of the structure of the present invention, FIG 4;

图5为本发明提供的流媒体接收客户端结构示意图; FIG 5 is a schematic streaming client provides receiver structure of the present invention;

图6为本发明提供的流媒体播放系统结构示意图。 FIG 6 displays the system configuration of the present invention provides a schematic diagram of the streaming media.

具体实施方式 Detailed ways

本发明的流媒体播放控制方法,由流媒体服务器为同一个流媒体节目提供多种码流(为同一个流媒体节目生成多个单码流的媒体文件,或者为同一个流媒体节目生成一个多码流的媒体文件),当流媒体接收客户端点播流媒体节目时,执行下列步骤: Streaming playback control method according to the present invention, the streaming media server to provide a plurality of streams with media program stream (a plurality of media files to generate a single stream of a same program for streaming media, or to generate a streaming media program same multi transcoded media file stream), when receiving the streaming media client demand streaming program, perform the following steps:

流媒体接收客户端向流媒体服务器发起码流查询请求,获取点播的流媒体 Receiving streaming media stream at least a client query request sent to the streaming server, the streaming media on demand acquires

节目的码流范围; Range stream of the program;

用户根据获取的码流范围选择一种传输码流,由流媒体接收客户端上报给流媒体服务器; The user selects a transport stream according to the acquired range stream received by the streaming client to report the end of the streaming media server;

流媒体服务器采用用户选择的传输码流播放流媒体节目。 Streaming server using the user selected transport stream to play streaming media program. 在本发明上述方法中,流媒体服务器收到码流查询请求后,查询本地保存媒体接收客户端显示给用户。 After the above-described process of the invention, the streaming media server receives the code stream query request, the query locally stored media client to the user receiver.

流媒体接收客户端得到々某体源码流范围后,可以作如下处理: (1 )在流i某体节目播放前,用户可以根据所在流媒体接收客户端的接入带宽和当前网络状况选择一个合适的码流,发送给流媒体服务器,请求按选择的码流播放点播的流媒体节目; After streaming media receiving client to obtain the source stream range 々 a body can be handled as follows: (1) before the stream i of a body of program play, the user may receive access bandwidth the client according to the same stream media and current network conditions to select a suitable code stream transmitted to the streaming media server, a request by the stream player on-demand streaming media program selected;

(2) 如果是由于接入带宽不足,或者想临时提高接入带宽浏览更佳画质的视频,可以根据获取的码流范围,在流媒体节目播放前,参考一个合适的码流向业务网关发出申请提高接入带宽(提高接入带宽的具体方法为现有技术, 在此不详述); (2) If it is the insufficient access bandwidth, or the like to temporarily increase the bandwidth of the video browsing better access quality, may range stream acquired before playing streaming media program, a reference code suitable flow emitted service gateway application to improve access bandwidth (the specific method to improve access bandwidth to the prior art, not described in detail herein);

在流媒体节目播放前或播放过程中,如果由于网络链路情况比较复杂,带宽波动大,可以参考码流范围中一个具体数值,在流媒体服务器和流媒体接收客户端之间进行资源预留申请(申请资源预留的具体方法为现有技术,在此不详述); Before playback or streaming playback program, if the situation is more complicated since the network link bandwidth fluctuations, the current range may refer to a particular code value, the streaming server and the streaming client receives the resource reservation between application (application specific resource reservation method of the prior art, not described in detail herein);

(3) 在流媒体播放期间,如果带宽发生变化,用户无法确切估计网络链路带宽的情况下,可以通过多次向流媒体服务器发起修改码流消息,改变传输码流,通过比较传输质量(音频/视频接收质量),最终选择一个传输质量相对满意的码涑。 (3) During streaming, if the bandwidth is changed, the case where the user can not exactly estimate the network link bandwidth can be modified by multiple streams initiate message to the streaming media server, transport stream changes, by comparing the transmission quality ( the audio / video reception quality), the final choice of a relatively satisfactory transmission quality code Su.

下面结合附图,用具体实施例对本发明的上述方法进行详细描述。 Below with the accompanying drawings, detailed description of the method of the present invention the above-described embodiments. 以媒体流播放服务器和媒体流接收客户端之间采用现有技术中的RTSP协议为例。 Media-streaming server and receiving the media stream using the prior art Example RTSP protocol between clients.

RTSP协议提供了几个标准的方法(Method ),如断开会话(TEARDOWN )、 建立会话(SETUP )、播放(PLAY )、暂停(PAUSE )、得到参数(GET_PARAMETER )、设置参数(SET—PARAMETER )、重定向(REDIRECT) 等,这些Method在服务器和客户端之间进行交互,表示消息的类型。 RTSP protocol provides several standard methods (Method), such as a broken session (TEARDOWN), establishes a session (SETUP), play (PLAY), pause (PAUSE), to obtain parameters (GET_PARAMETER), setting parameters (SET-PARAMETER) redirection (the rEDIRECT), these Method interaction between the server and client, which indicates the type of message. RTSP协议定义了很多标题(Header),表示方法操作的具体内容,如范围(Range)、 速度(Speed)和时间戳(Timestamp)等。 RTSP protocol defines a number of header (Header), showing details of method of operation, such as the range (the Range), speed (Speed) and timestamp (Timestamp) and the like. 例如,流媒体接收客户端向流媒体服务器发送了一条消息,使用了PLAY方法,附带着标题Range的值为np,lO-l5,表示流媒体接收客户端希望播放(PLAY)从10-15秒的视频片断; 流媒体服务器如果支持此命令,就返回一个200 OK消息。 For example, the streaming media sent by a client to the streaming server a message using a PLAY method, with a Range header value np, lO-l5, a flow media receiving client wishes to play (PLAY) from 10-15 seconds video clips; if the streaming media server supports this command, it returns a 200 OK message.

本发明通过新增一个表示码流信息的标题(Bitrate)来表明是针对媒体源的码流进行操作,使用RTSP原有的GET—PARAMETER、 SET—PARAMETER、 PLAY、 REDIRECT方法等来实现。 The present invention represents a new code stream header information (the Bitrate) to indicate that the operation is carried out for the media source stream, using RTSP original GET-PARAMETER, SET-PARAMETER, PLAY, REDIRECT method like.

如上所述,力某体源支持多码流可以通过两种方法来实现。 As described above, a power source body to support multiple streams may be achieved in two ways.

第一种方法是:为同一个流媒体节目准备多个单码流媒体文件,它们各具有不同的石马;危。 The first method is: preparing a plurality of single stream streaming media file with a program, each having a different Shima; risk. 例^口: rtsp:〃example.com/2—l.avi, rtsp:〃example.com/2—2.avi, rtsp:〃example.com/2一3.avi,它们是同一流媒体节目的视频文件,但是它们的码流分别是2M、 1M、 512K;流媒体服务器中记录每一个流媒体节目对应的码流范围(一般是多个离散的码流值),用以回应客户端查询码流范围。 Example ^ port: rtsp: 〃example.com / 2-l.avi, rtsp: 〃example.com / 2-2.avi, rtsp: 〃example.com / 2 a 3.avi, they are the same stream media program video files, but they are codestream 2M, 1M, 512K; streaming media server in a streaming media program recording each stream corresponding to the range (typically a plurality of discrete values ​​of the code stream) to respond to client queries code flow range.

第二种方法是:同一个流媒体节目只有一个媒体文件,但是使用了多码流压缩技术,具有多个码流。 The second method is: with a streaming media program is only one file, but using a multi-stream compression technology, with multiple streams. 如果是具有多码流的单个々某体文件,服务器可以在任意时刻查询获耳又々某体文件的码流范围,应对客户端的查询。 If it is a multi-code stream of a single 々 body file, the server can query won ear and a range of body 々 stream files, respond to client inquiries at any time.

具体码流查询流程如图1所示,包括如下步骤: DETAILED stream inquiry procedure shown in Figure 1, comprising the steps of:

1、 流媒体接收客户端向RTSP服务器发送码流查询消息,查询点播的流媒体节目的码流范围,消息结构中包含GET—PARAMETER方法、点播的媒体文4牛的全局资源才示示才导(Universal Resource Identifier , URI)和Bitrate才示题。 1, streaming media receiving client sends an RTSP server stream query message, the code stream range query on-demand streaming media program, message structure GET-PARAMETER method comprising, on demand global resource media file 4 cattle was shown illustrating only the guide ( Universal Resource Identifier, URI) and Bitrate only show title.

2、 如果RTSP服务器支持Bitrate标题,则返回成功消息,携带码流范围, 可以是几个散列值,如2M、 1M、 512K,或者是一个连续的数值,如200k-1.5M。 2, if the server supports RTSP Bitrate title success message is returned, carrying the code stream range, a hash value may be a few, such as 2M, 1M, 512K, or a continuous value, such as 200k-1.5M.

3、 如果RTSP服务器因为不支持Bitrate标题或者其他原因失败,会返回失败消息,并附带失败类型和失败原因。 3, because if the server does not support RTSP Bitrate title or other reason for the failure, a failure message is returned, and comes with the type of failure and the reasons for failure.

流媒体接收客户端得到点播的流媒体节目的码流范围后,显示给用户。 After receiving the streaming media stream client to obtain a range of on-demand streaming media program, displayed to the user. 用户可以按照上述处理方法(1)、 (2)、 (3)进行相应处理。 The user can (1), (2), (3) the corresponding processing method according to the above-described process. 如果用户根据当前的传输质量希望改变传输码流,其具体流程如图2、图3所示。 If the user wants to change the transport stream, the specific procedure shown in FIG. 2, FIG. 3 in accordance with the current transmission quality. 图2对应于为一个流媒体节目生成一个多码流的媒体文件时,修改码流的 FIG 2 is generated corresponding to a multi-stream streaming media file is a media program, modified stream

信令流程图,具体包括: Signaling flowchart, comprises:

1、 流+某体接收客户端向RTSP服务器发送修改码流消息,可以用SET一PARAMETER方法,也可以用PLAY方法,携带点播的媒体文件的URI, 以及用来表示播放时间范围的Range标题(如果是播放中途修改了码流,则指明从中断的时间点开始播放),并用Bitrate标题指明用户希望使用的码流。 1, a body + stream sent by a client modify message to the RTSP server stream, a SET PARAMETER method can be used, PLAY method can also be used to carry the URI of the media files on demand, and to indicate the playback time range of the title Range ( If the player is halfway to modify the code stream, specifying the time to start playing from the point of interruption), and indicates the user wants to use a stream Bitrate title.

2、 如果RTSP服务器支持Bitrate标题,就会返回一个成功消息(200 OK ), 然后在指定的时间范围内以用户指定的码流传输流i某体数据。 2, if the server supports RTSP Bitrate title, returns a success message (200 OK), then the stream transmission within a specified time to a user-specified volume data stream i.

3、 如茱RTSP服务器因为不支持Bitmte标题或者参数范围出错而无法执行,就会返回失败消息,并附带失败类型和失败原因。 3, such as dogwood RTSP server because they do not support Bitmte title or the parameter range error can not be executed, it will return a failure message, and comes with the type of failure and cause of failure.

对于同一个流媒体节目生成多个单码流媒体文件的情况,流媒体服务器要根据流媒体接^R^户端请求的码流确定对应码流文件的URI,然后要求流媒体接收客户端重定向到相应的URI,具体处理流程如图3所示,包括: A program for the same streaming media to generate a plurality of single stream media files, streaming media server to access the streaming media ^ R ^ The client requests a code stream corresponding to the URI determination code stream file, and the client receives the streaming media requires heavy directed to the URI corresponding, specific process flow shown in Figure 3, comprising:

1、 流媒体接收客户端向RTSP服务器发送修改码流消息,可以用SET—PARAMETER方法,也可以用PLAY方法,携带媒体文件的URI,以及用来表示播放时间范围的Range标题(如果是播放中途修改了码流,则指明从中断的时间点开始播放),并用Bitrate标题指明的用户希望使用的码流。 1, receiving streaming media stream client sends a modify message to the RTSP server, SET-PARAMETER method can also be used PLAY method of carrying the URI of the media file, and used to indicate the playback time range Range title (if the middle of playback modify the code stream, specifying the time to start playing from the point of interruption), and user specified by Bitrate title hopes stream use.

2、 如果RTSP服务器支持Bitrate标题,就会返回一个成功消息(200 OK )。 2, if the server supports RTSP Bitrate title, it will return a success message (200 OK).

3、 如果RTSP服务器因为不支持Bitrate标题或者参数范围出错而无法执行,就会返回失败消息,并附带失败类型和失败原因。 3, because if the server does not support RTSP Bitrate title or the parameter range error can not be executed, it will return a failure message, and comes with the type of failure and cause of failure.

4、 RTSP服务器根据客户端选择的码流,选择该码流对应的媒体文件的URI,附带在Location标题后,向流媒体接收客户端发出重定向命令,要求流媒体客户端从旧URI (原码流对应的媒体文件的URI)转向新URI获取适合的资源。 4, RTSP server according to the code stream selected by the client, the selected URI corresponding media stream file included in the Location header, the receiving client issues a redirect command to the streaming media, the streaming client requirements from the old URI (formerly URI corresponding stream media files) to move to new URI obtain suitable resources.

5、 流媒体接收客户端向RTSP服务器回应以成功消息,表示流媒体接收客户端即将执行重定向动作。 5, the client receives streaming media server in order to successfully respond to the RTSP message indicating that the client receives streaming media is about to perform a redirect action. 7、 RTSP服务器向流媒体接收客户端回应成功消息,至此RTSP服务器和流媒体接收客户端断开了旧URI的会话,并释放了相关资源。 7, RTSP server receives the client response success message to the streaming media, so far RTSP streaming server and receiving client disconnected the old session URI, and the release of associated resources. 8、 流媒体接收客户端向RTSP服务器发出请求,请求获取新URI的媒体描述信息;媒体描述信息中包含媒体源的编解码参数以及传输相关参数等。 8, receiving streaming media client sends a request to the RTSP server, the request obtaining media description information of the new URI; media description parameters and codec information included in the transmission parameters related to the media source and the like. 9、 RTSP服务器向流媒体接收客户端回应执行成功消息,并附带媒体描述信息。 9, RTSP streaming media server receives the client-side response to the successful implementation of the message, and comes with a media description. 10、 流媒体接收客户端根据媒体描述信息向RTSP服务器发出请求,请求建立和新URI的会活。 10, the receiving client sends a streaming media description information according to the RTSP server request, and requests to establish a new live URI. 11、 RTSP服务器接受流媒体接收客户端的请求,回应成功消息,建立新的会话,并分配相关资源。 11, RTSP streaming media server accepts the request receiving client, a successful response to the message, establish a new session, and to allocate resources. 12、 流媒体接收客户端向RTSP服务器发送播放请求,用Range标题表明播放的时间范围(如果是播放中途修改了码流,则指明从中断的时间点开始播放)。 12, the streaming media playing request sent by a client to the RTSP server, using the title indicates Range (if it is the middle of playback modified stream, specifying the interruption from the point of playback time) playback time range. 13、 RTSP服务器回应成功消息,然后开始向客户端传输媒体流数据。 13, RTSP server returns success message, and then begin transmitting media stream data to the client end. 综上所述,采用本发明方法,流媒体服务器预先为同一个流媒体节目提供多种码流,当流媒体接收客户端点播流媒体节目时,可以向流4某体服务器发起码流查询请求,获取点播的流媒体节目的码流范围;用户可以在播放前,根据所在流媒体接收客户端的接入带宽选择一个适合的码流,上报给流媒体服务器,由流媒体服务器采用用户选择的码流播放流媒体节目。 In summary, the method of the present invention, the streaming server is provided in advance with a plurality of streams of streaming media program, when receiving a streaming media client demand streaming program, you can send a query to the flow stream at least a member server 4 acquiring on-demand streaming media program stream range; user can play before, according to where the streaming media receiving client access bandwidth to choose a suitable code stream, reported to the streaming media server, using the code selected by the user by the streaming server streaming media streaming program. 这样,不需要占用客户端和服务器的资源进行传输质量(如丟包率)的统计,简单实现由用户进行流媒体节目播放质量的控制。 In this way, it does not take up resources on the client and server for transmission quality (such as packet loss rate) statistics, simple implementation to control playback quality of streaming media program by the user. 如果由于网络状况变化,导致播放的流媒体节目质量发生改变,用户可以随时在节目播放过程中请求改变传输码流,以保证更好的流媒体节目播放质量。 If due to changes in network conditions, resulting in streaming playback program quality is changed, the user can always request to change the transport stream, in order to ensure a better quality of streaming media program broadcast in the program during playback. 采用本发明,用户如果想保证端到端的视频传输质量,可以根据码流范围,使用资源预留协议(RSVP)来申请端到端的带宽保障;如果是因为接入带宽不够,可以根据码流范围,向业务网关申请适合的接入带宽,以保证传输质量。 According to the present invention, if a user wants to ensure the quality of video transmission end to end, may range stream, using a resource reservation protocol (RSVP) to end bandwidth guarantee application; if access is not enough bandwidth because, according to the code stream range application for access bandwidth to the service gateway, to ensure the transmission quality. 本发明流媒体服务器的码流范围可以做得很广,以适应各种网络条件。 Stream media server streaming scope of the invention may be made very wide in order to accommodate a variety of network conditions. 采用本发明用户可以根据音视频流的感官效果及时调整码流,避免了根据丢包率统计时的不准确和不及时的^:点。 The present invention uses the user can adjust the code stream according to the sensory effect of audio and video streaming, to avoid inaccurate and timely in accordance with the time of packet loss rate statistics ^: point. 根据本发明的上述方法,本发明另提供相对应的流媒体服务器,其具体结构如图4所示,包括:媒体文件生成单元,为同一个流媒体节目生成一个多码流的媒体文件,或生成多个单码流的々某体文件;码流范围发送单元,向流媒体接收客户端发送流》某体节目的码流范围;第一码流设置/修改执行单元,接收流媒体接收客户端发起的修改码流消息,获取流媒体接收客户端用户选择的传输码流信息;第一流媒体播放单元,根据用户选择的传输码流,启动对应码流的媒体文件或采用该码流播放所述流媒体节目。 According to the method of the present invention, the present invention further provide a corresponding streaming media server, the specific configuration shown in Figure 4, comprising: a media file generating means to generate a media file with a multi-stream streaming program, or generating a plurality of single stream file 々 a body; code stream sending unit range, to the streaming client receives the transmission stream stream "and a program body; a first stream set / modify the execution unit, the client receives the streaming media receiver message initiates a modified stream, and obtaining a transport stream received media stream client selected by a user; first stream media playback unit, according to transport streams selected by the user, starts the corresponding media file or stream using the stream playback of the said streaming media program. 还包括:第一码流查询单元,接收流媒体接收客户端发起的码流查询请求,查询点播的流媒体节目的码流范围,并发送给所述码流范围发送单元。 Further comprising: a first code stream query unit, receives the stream media stream receiving query request initiated by the client, the query code stream range demand streaming media program, and sends the code stream range of the transmission unit. 本发明还提供一种对应的流媒体接收客户端,其具体结构如图5所示,包括:码流范围接收单元,接收流媒体服务器发送的流媒体节目的码流范围; 第二码流设置/修改执行单元,根据用户选择的传输码流,向流媒体服务器发送修改码流消息,携带用户选择的码流信息;第二流媒体播放单元,接收并显示流媒体服务器播放的流媒体节目。 The present invention also provides a media stream corresponding to the receiving client, the specific configuration shown in FIG, 5 comprising: a code stream receiving unit range, the range of the received code stream stream stream media server transmits the media program; and a second stream is provided / modify the execution unit, according to the transport streams selected by the user, sending the modified message code stream to the streaming server, carrying the stream information selected by the user; second streaming playback unit, receives and displays broadcast streaming media server streaming the media program. 还包括:第二码流查询单元,向流媒体服务器发送码流查询消息,请求获取点播的流媒体节目的码流范围。 Further comprising: a second stream query unit transmits a query message stream, request a code stream range-demand streaming media program to the streaming server. 本发明另提供一种流媒体播放系统,其具体结构如图6所示,包括本发明提供的流媒体服务器和流媒体接收客户端。 The present invention further provides a streaming media system, the specific structure shown in Figure 6, it comprises a streaming server and streaming the present invention provides a receiving client. 显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。 Obviously, those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. 这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。 Thus, if these modifications and variations of the present invention fall within the claims of the invention and the scope of equivalents thereof, the present invention intends to include these modifications and variations.

Claims (11)

1、一种流媒体播放控制方法,其特征在于,流媒体服务器为同一个流媒体节目提供多种码流,且所述流媒体服务器和流媒体接收客户端之间采用实时流协议RTSP,包括下列步骤: A、流媒体接收客户端向所述流媒体服务器发送码流查询消息,携带RTSP提供的方法GET_PARAMETER、请求播放的媒体文件对应的全局资源标识符URI和表示码流信息的Bitrate标题; 所述流媒体服务器判断其支持Bitrate标题后,返回成功消息,携带与所述媒体文件对应的码流范围; B、用户根据所述码流范围选择一种传输码流,由所述流媒体接收客户端上报给所述流媒体服务器; C、所述流媒体服务器采用用户选择的传输码流播放所述流媒体节目。 A method for controlling flow of media playback, characterized in that the streaming server to provide a plurality of streams for the same streaming media program, and uses the Real Time Streaming Protocol RTSP stream between a media server and a streaming client receiver, comprising the following steps: a, receiving streaming client to the streaming server a query message transmitted stream carrying method GET_PARAMETER RTSP, requests the global resource identifier (URI) corresponding to the media file playing stream header indicating Bitrate information; the streaming server determines which supports the title Bitrate, returns a success message carrying the code stream range corresponding to the media file; B, the user selects a transport stream according to the code stream range, received by the streaming media reported by the client to the streaming media server; C, the stream media server using the user selected transport stream playback the streaming media program.
2、 如权利要求l所述的方法,其特征在于,所述步骤B中,用户在流媒体接收客户端开始播放流媒体节目前、或在播放过程中的任意时刻,选择一种传输码流由所述流媒体接收客户端上报给所述流媒体服务器。 2. The method of claim l, wherein the step B, the client user receives the streaming media begins playing the current streaming media section, or at any time during playback selecting a transport stream reporting by the media stream to the receiving client streaming media server.
3、 如权利要求l所述的方法,其特征在于,所述步骤B中还包括: 由所述流媒体接收客户端使用资源预留协议RSVP申请与所述流媒体服务器之间的端到端带宽保障。 3. The method of claim l, wherein said step B further comprises: receiving, by the stream media using the client-end RSVP resource reservation protocol between the streaming server and application bandwidth guarantees.
4、 如权利要求l所述的方法,其特征在于,所述步骤B中还包括: 由所述流媒体接^^户端向业务网关申请提高接入带宽。 4. The method of claim l, wherein said step B further comprising: the streaming media from the client to the service access gateway ^^ improve access bandwidth applications.
5、 如权利要求1所述的方法,其特征在于,所述流媒体服务器为同一个流媒体节目提供多种码流,包括:所述流媒体服务器为同一个流媒体节目生成多个单码流的媒体文件;或者所述流媒体服务器为同一个流媒体节目生成一个多码流的媒体文件。 5. The method of claim 1, wherein said streaming media server to provide a plurality of streams for the same streaming media program, comprising: generating the streaming media server is a streaming media program with a plurality of single code media file stream; or the streaming media server is a streaming media program to generate the same multi-stream a media file.
6、 如杈利要求1所述的方法,其特征在于,当所述流媒体服务器为同一个流媒体节目生成一个多码流的J?某体文件时,所述步骤B包括:Bll、所述流媒体接收客户端向所迷流媒体服务器发送修改码流消息,携带RTSP提供的方法SET—PARAMETER或PLAY、々某体文件对应的URI、表示播放时间范围的Range标题和Bitrate标题,并用Bitrate标题指明流媒体接收客户端用户选择的码流;B12、所述流媒体服务器判断其支持Bitrate标题后,返回成功消息; 所述步骤C包括:所述流J?某体服务器在Range标题指定的时间范围内,采用Bitrate标题指明的用户选择的码流播放所述流媒体节目。 6. The method according to Lee bifurcation in claim 1, wherein, when the streaming media server to generate more than one yard J stream for the same program when a streaming media file in a body, the step B comprises:? Bll, the said streaming media receiving client to the fan stream media server sends a modify bit stream message carrying the method of RTSP to provide a SET-PARAMETER or pLAY, 々 a body file corresponding to the URI, represents the playback time range range header and Bitrate title, and with Bitrate the title specified streaming client receiving a user-selected stream; B12, after the streaming server determined that supports Bitrate title, return success; C comprising the step of:? J of the stream media server in a specified title Range within the time range, specified in the title Bitrate stream playback the user selects the streaming media program.
7、 如权利要求1所述的方法,其特征在于,当所述流媒体服务器为同一个流々某体节目生成多个单码流的^某体文件时,所述步骤B包括:B21、所述流媒体接收客户端向所述流媒体服务器发送修改码流消息,携带RTSP提供的方法SET—PARAMETER或PLAY、当前媒体文件对应的URI、 表示播放时间范围的Range标题和Bitrate标题,并用Bitrate标题指明流媒体接收客户端用户选择的码流;B22、所述流媒体服务器判断其支持Bitrate标题后,根据流媒体接收客户端用户选择的码流,匹配出与该码流媒体文件对应的新的URI;B23 、将新的URI附带在RTSP提供的Location标题后,向所述流媒体接收客户端发出重定向命令;B24、所述流媒体接收客户端断开与当前旧的URI的会话,获取所述新的URI的媒体描述信息,并建立与所述新的URI的会话; 所述步骤C包括:所述流媒体服务器在Range标题指定的时 7. The method as claimed in claim 1, wherein, when the streaming media server to generate a plurality of streams of the same program stream 々 ^ a body member of a file, the step B comprises: B21, the said streaming media sent by a client modify code stream message to the streaming media server, carrying the method of SET-PARAMETER or pLAY RTSP provided, the current media file corresponding to the URI, represents the playback time range range header and Bitrate title, and with Bitrate title indicates streaming media client receiving a user-selected stream; B22, after which the streaming server determines Bitrate support title streaming client receives the code stream based on user selection, matching the code stream corresponding to the new media file URI; B23, after the new incidental RTSP URI provided in the Location header, receiving streaming media to the client issues a redirect command; B24, the receiving client disconnects the streaming media session with the old current URI acquires URI of the new media description information, and establish a new session with the URI; said step C comprises: the media server when the title specified in the flow Range 间范围内,采用Bitrate标题指明的用户选择的码流播放所述流媒体节目。 Between the range, Bitrate title specified user selected stream playback the streaming media program.
8、 如权利要求l、 6、或7所述的方法,其特征在于,当所述流媒体服务器判断其不支持Bitrate标题或无法执行时,向所述流媒体接收客户端返回失败消息,携带失败类型及原因。 8, as claimed in claim l, Method 6, or 7, wherein, when the streaming server determines that it does not support or can not perform the title Bitrate, said receiving streaming media to the client terminal returns a failure message carrying types and causes of failure.
9、 一种流媒体服务器,其特征在于,与流媒体接收客户端之间采用实时流协议RTSP,包括:媒体文件生成单元,为同一个流媒体节目生成一个多码流的媒体文件,或生成多个单码流的士某体文件;第一码流查询单元,接收流媒体接收客户端发送的码流查询请求,所述码流查询消息携带RTSP提供的方法GET—PARAMETER、请求播放的媒体文件对应的全局资源标识符URI和表示码流信息的Bitrate标题;判断支持Bitrate 标题后,查询点播的流々某体节目的码流范围,并发送给所述码流范围发送单元;码流范围发送单元,向流媒体接收客户端返回携带与所述媒体文件对应的码流范围的成功消息;第一码流设置/修改执行单元,接收流媒体接收客户端发起的修改码流消息,获取流媒体接收客户端用户选择的传输码流信息;第一流媒体播放单元,根据用户选择的传输码流,启 9, a streaming media server, wherein the streaming media receiver using Real Time Streaming Protocol RTSP between client, comprising: a media file generating means to generate a media file with a multi-stream streaming program, or generated a plurality of taxis single stream file body; a first stream query unit, receives the code stream receiving streaming media query request sent by a client, the query message carries the code stream method GET-PARAMETER RTSP, requests a media play file corresponding global resource identifier (URI) indicating the title Bitrate information stream; Analyzing rear support Bitrate title, a program specific range of stream flow 々 query demand, and sends the code stream range of the transmission unit; code stream range transmitted means, receiving streaming media client to return stream carries range success message corresponding to the media file; a first stream setting / execution unit modification, modified media stream received message initiated by the client receiving the stream, the acquisition stream media transport stream received client information selected by the user; first stream media playback unit, according to a transmission code stream selected by the user, Kai 对应码流的媒体文件或采用该码流播放所述流媒体节目。 Corresponding to the media file or stream using the stream playback of the streaming media program.
10、 一种流媒体接收客户端,其特征在于,与流i某体服务器之间采用实时流协议RTSP,包括:第二码流查询单元,向流々某体服务器发送码流查询消息,携带RTSP提供的方法GET—PARAMETER.请求播放的媒体文件对应的全局资源标识符URI 和表示码流信息的Bitrate标题;码流范围接收单元,接收流媒体服务器返回的携带与所述媒体文件对应的码流范围的成功消息;第二码流设置/修改执行单元,根据用户选择的传输码流,向流媒体服务器发送修改码流消息,携带用户选择的码流信息;第二流媒体播放单元,接收并显示流媒体服务器播放的流媒体节目。 10, receiving a streaming media client, wherein the stream between a media server and i using Real Time Streaming Protocol RTSP, comprising: a second stream inquiry unit sends a streaming media server streams 々 query message carrying RTSP the method provides a GET-PARAMETER request to play a media file corresponding to the global resource identifier (URI) indicating the title Bitrate information stream; the code stream receiving unit range, the streaming media server receives the returned carrying the code stream corresponding to the media file range success message; and a second stream set / modify the execution unit, according to transport streams selected by the user, the streaming server sends a modify message stream, stream information carried in the user's choice; second streaming playback unit, and receives display streaming media server streaming media player program.
11、 一种流4某体播放系统,包括流媒体服务器和流媒体接收客户端,其特征在于,所述流媒体服务器和所述流媒体接收客户端之间采用实时流协议RTSP,所述流媒体服务器包括:媒体文件生成单元,为同一个流媒体节目生成一个多码流的媒体文件,或生成多个单码流的士某体文件;第一码流查询单元,接收流々某体接收客户端发送的码流查询请求,所述码流查询消息携带RTSP提供的方法GET一PARAMETER、请求播放的媒体文件对应的全局资源标识符URI和表示码流信息的Bitrate标题;判断支持Bitrate 标题后,查询点播的流媒体节目的码流范围,并发送给所述码流范围发送单元;码流范围发送单元,向流媒体接收客户端返回携带与所述媒体文件对应的码流范围的成功消息;第一码流设置/修改执行单元,接收流媒体接收客户端发起的修改码流消息,获取流媒体接收 11, a 4-stream playback system of a body, comprising a streaming media server and receiving the streaming media client, wherein the streaming server and the streaming media using the Real Time Streaming Protocol RTSP media between a client receiving the stream the media server comprising: a media file generating unit which generates a multi-stream media files for the same media program stream, single stream or a plurality of the taxi generating a file body; a first stream query unit, receives the stream of a body receiving client 々 code stream sent by the query request, the query message stream RTSP method of providing a GET carrying the PARAMETER, the request to play a media file corresponding to the global resource identifier (URI) indicating the title Bitrate information stream; Analyzing the title Bitrate support, query demand streaming media program stream range, range and sends the code stream sending unit; range code stream sending unit, receives the client to the streaming server returns the code stream carrying the media file and a range corresponding to the success message; the first stream set / modify execution unit for receiving the media stream modification code stream received message initiated by the client, acquires streaming media receiver 户端用户选择的传输码流信息;第一流媒体播放单元,根据用户选择的传输码流,启动对应码流的媒体文件或采用该码流播放所述流媒体节目;所述流媒体接收客户端,包括:第二码流查询单元,向流々某体服务器发送所述码流查询消息,请求获取点播的流媒体节目的码流范围;码流范围接收单元,接收流4某体服务器返回的所述成功消息;第二码流设置/修?文执行单元,根据用户选择的传输码流,向流媒体服务器发送修改码流消息,携带用户选择的码流信息;第二流媒体播放单元,接收并显示流媒体服务器播放的流媒体节目。 Transport stream information selected by the user clients; first stream media playback unit, according to transport streams selected by the user, starts the corresponding media file or stream using the stream playback of the streaming media program; receiving the streaming media client , comprising: a second stream query unit transmits a query message to said stream a stream 々 body's servers for on-demand streaming media program stream range; range code stream receiving unit to receive a stream media server 4 returns said success message; and a second stream is provided / Xiuwen execution unit, according to transport streams selected by the user, sending the modified message code stream to the streaming server, carrying the stream information selected by the user;? second streaming playback unit, receiving and display streaming media server streaming media player program.
CN 200610078379 2006-05-17 2006-05-17 Method, device and system for controlling fluid medium broadcast CN100583823C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610078379 CN100583823C (en) 2006-05-17 2006-05-17 Method, device and system for controlling fluid medium broadcast

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610078379 CN100583823C (en) 2006-05-17 2006-05-17 Method, device and system for controlling fluid medium broadcast

Publications (2)

Publication Number Publication Date
CN1984056A CN1984056A (en) 2007-06-20
CN100583823C true CN100583823C (en) 2010-01-20

Family

ID=38166302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610078379 CN100583823C (en) 2006-05-17 2006-05-17 Method, device and system for controlling fluid medium broadcast

Country Status (1)

Country Link
CN (1) CN100583823C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9225404B2 (en) * 2013-03-29 2015-12-29 Intel IP Corporation Hybrid beamforming for data transmission
WO2019174588A1 (en) * 2018-03-14 2019-09-19 Telefonaktiebolaget Lm Ericsson (Publ) Service quality enhancement about consumption report-based mood switching

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1468002A (en) 2002-06-27 2004-01-14 上海汉唐科技有限公司 Flow media compression, transmission and storage system based on internet

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1468002A (en) 2002-06-27 2004-01-14 上海汉唐科技有限公司 Flow media compression, transmission and storage system based on internet

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于Web的交互式视频点播系统. 刘元超,李永全.网络通信. 2005
视频流多播系统的设计和实现. 陈炜,罗万伯等.四川大学学报(工程科学版),第37卷第2期. 2005

Also Published As

Publication number Publication date
CN1984056A (en) 2007-06-20

Similar Documents

Publication Publication Date Title
CN100417125C (en) System and method of network self adaption real time multimedia flow transfer way
CN102123298B (en) Method and system of fast startup for streaming media
US8452884B2 (en) Classified media quality of experience
US8301732B2 (en) Live media delivery over a packet-based computer network
US7047308B2 (en) System and method for simultaneous media playout
US20080109853A1 (en) Media channel management
EP2730072B1 (en) Network-capacity optimized adaptive streaming
CN102498715B (en) Recovering the bandwidth management method used by adaptive bit rate, means
US20090222873A1 (en) Multimedia Channel Switching
US7921222B2 (en) Method and system for fast channel switching using standard RTSP messages
JP5069240B2 (en) Multiple data channel transfer systems and methods
US20160323341A1 (en) Apparatus, system, and method for adaptive-rate shifting of streaming content
US8218439B2 (en) Method and apparatus for adaptive buffering
EP1694030A1 (en) Multimedia content delivery system
RU2332705C2 (en) Method for compensating delay in packages transmission during multimedia data-flow transfer
US20080151885A1 (en) On-Demand Multi-Channel Streaming Session Over Packet-Switched Networks
US9510061B2 (en) Method and apparatus for distributing video
US8860779B2 (en) Two-way audio and video communication utilizing segment-based adaptive streaming techniques
EP2600576B1 (en) Adaptive bitrate management for streaming media over packet networks
KR100903457B1 (en) Transmitting and receiving real-time data
EP2053859B1 (en) A method and apparatus for reducing delay of media play
CN1914876B (en) Timing of quality of experience metrics
JP5961174B2 (en) Method and device for media description delivery
CN103959274B (en) http automatic adaptive rate shaping streaming server
KR100759954B1 (en) Method for signaling client rate capacity in multimedia streaming

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C14 Grant of patent or utility model
CF01