CN101075918A - Method for inspecting network band width - Google Patents

Method for inspecting network band width Download PDF

Info

Publication number
CN101075918A
CN101075918A CN 200610080546 CN200610080546A CN101075918A CN 101075918 A CN101075918 A CN 101075918A CN 200610080546 CN200610080546 CN 200610080546 CN 200610080546 A CN200610080546 A CN 200610080546A CN 101075918 A CN101075918 A CN 101075918A
Authority
CN
China
Prior art keywords
packet
time
player
user
server
Prior art date
Application number
CN 200610080546
Other languages
Chinese (zh)
Other versions
CN101075918B (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 200610080546 priority Critical patent/CN101075918B/en
Publication of CN101075918A publication Critical patent/CN101075918A/en
Application granted granted Critical
Publication of CN101075918B publication Critical patent/CN101075918B/en

Links

Abstract

The method is used for detecting the network bandwidth between the stream media server and user's player, and comprises: 1) in user's program-ordering process, the stream media server sends a bandwidth detecting message to the user's player; 2) after receiving the bandwidth detecting message, the user's player returns a confirmation message to the stream media server; 3) according to the time length of message confirmation, the data length of message, the network fixed time delay and the message head length, the stream media server gets the network bandwidth.

Description

一种网络带宽检测方法 A network bandwidth detection method

技术领域 FIELD

本发明涉及计算机网络电子通讯技术领域,特别涉及一种检测流媒体服务器与用户播放器之间网络带宽的方法。 The present invention relates to computer technology field of electronic communication networks, and particularly relates to a method of detecting a network between a streaming media server and the User Player bandwidth.

背景技术 Background technique

在流媒体服务过程中,流媒体编码工具能把媒体数据记录成不同速度的媒体流,然后存储在一个媒体文件或不同的媒体文件。 In the process of the streaming media service, streaming media encoding means into a data recording medium can media streams of different speeds and then stored in a media file or different media files. 当用户请求一个媒体节目内容时,用户会发送一个请求消息给流媒体服务器,请求服务器播放特定的媒体节目。 When a user requests a media program content, the user sends a request message to the streaming media server, the server requests to play a particular media program. 流媒体服务器收到用户的点播请求,需要根据用户到流媒体服务器的网络带宽将相应的媒体文件以流的形式实时传输给用户。 Demand streaming media server receives the request of the user, the network bandwidth required to the streaming media server corresponding media file in the form of stream transmitted to the user according to a user in real time.

流媒体服务器传输时需要根据网络不同的带宽,选择跟带宽相适应的节目流进行播放,在播放过程中根据网络带宽的变化调整流的速率,让传输的信息适应带宽,并始终以流畅的方式播放。 The need for in media server to transmit stream in accordance with a program stream in different network bandwidth, select with the bandwidth compatible player, during playback according to the rate of change of the network bandwidth to adjust the flow, so that information to adapt transmission bandwidth, and always smooth way play.

流式传输需要特定流媒体服务器采用特殊的网络协议实现。 Needs of a particular streaming media server streaming network using a special protocol. 目前采用的实时流传输协议主要有实时传输协议(RTP),实时传输控制协议(RTCP)。 Real Time Streaming Protocol is currently used mainly in Real-time Transport Protocol (RTP), Real-time Transport Control Protocol (RTCP). 尽管RTSP协议提供了用户端播放器向流媒体服务器上报网络带宽的机制,但用户端播放器没有办法知道自己到流媒体服务器的真正网络带宽,播放器只能根据用户的设定知道最后一公里的网络带宽,如拨号接入、LAN接入的用户端线路的带宽。 Although the RTSP protocol provides client player reporting mechanism network bandwidth to the streaming media server, but the client player no way of knowing their true network bandwidth to the streaming media server, the player can only know the last kilometer of the user settings network bandwidth, such as dial-up access, the bandwidth of the LAN access the user's end of the line. 但从播放器到流媒体服务器网络可能需要经过多个中间网络,因此播放器到流媒体服务器的网络带宽并不等于用户接入到网络的用户端线路的带宽。 However, the streaming media player to the server network may require several intermediate networks, so the player to the streaming media server network bandwidth is not equal to the bandwidth of the user access network the user end of the line.

RTCP协议还提供了数据传输的质量反馈机制,作为RTP传输协议的一部分,该机制与传输协议的流选择和阻塞控制有关,但是无法利用该机制给出的反馈信息计算网络的带宽。 RTCP protocol also provides a feedback mechanism for quality of data transmission, as part of the RTP transport protocol, the stream selection mechanism and a congestion control of transport protocols related, but not using the feedback information given by the calculating mechanism bandwidth of the network.

根据现有的播放器向流媒体服务器反馈带宽的机制和传输质量反馈的机制,无法得到用户播放器到流媒体服务器的实际网络带宽。 The mechanism of transmission quality feedback mechanism and a bandwidth of a conventional player feedback to the streaming server, the user can not get to the actual network bandwidth player streaming media server. 现有技术的带宽检测方法没有考虑报文头的长度,如:TCP、UDP、ICMP报文头的长度,并且只考虑了对称网络,假定了双向的带宽是相同的,在ADSL网络中,这些方法不适用。 Bandwidth detection methods of the prior art does not consider the length of the packet header, such as: TCP, UDP, ICMP packet header length, and only consider a symmetric network, assuming two-way bandwidth is the same, in the ADSL network, these does not apply. 这必将对网络提供的流媒体的服务质量带来不良影响,并且使网络资源不能获得高效率的利用。 This will adversely affect the quality of streaming media services provided by the network, and network resources can not be obtained with high efficiency.

发明内容 SUMMARY

本发明的目的在于,提供了一种网络带宽检测方法,可以实时获得用户播放器到流媒体服务器之间的网络带宽,使用本发明方法能够提高网络提供的流媒体服务质量,可以根据不同客户端的情况,决定媒体发送的策略,使网络资源获得较高效率的利用。 Object of the present invention, there is provided a method for detecting the network bandwidth, the user can obtain real-time player to the network bandwidth between the stream media server, using the method of the present invention can improve the quality of streaming media service provided by the network, according to different clients case, decided to send a media strategy to make use of network resources to obtain higher efficiency.

为解决上述技术问题,本发明提供了一种网络带宽检测方法,用于检测流媒体服务器与用户播放器之间的网络带宽,包括以下步骤:(1)流媒体服务器在用户点播或流媒体播放过程中,向用户播放器发送带宽测试报文;(2)用户播放器接收到带宽测试报文后向流媒体服务器反馈响应报文;(3)流媒体服务器根据报文响应的时间,报文数据的长度,网络的固定时延、报文头的长度,得到网络带宽。 To solve the above problems, the present invention provides a method for detecting the network bandwidth, network bandwidth between the streaming server and the user detection player, comprising the steps of: (1) a user-demand streaming media server or a streaming media player during transmission bandwidth test packets to a user player; (2) user player receives the feedback response packet to the streaming server after the bandwidth test packet; (3) the streaming media server according to the time message response packet fixed delay length data, the network, length of the packet header to obtain the network bandwidth.

所述步骤3中,流媒体服务器可以通过实时传输控制协议、实时流传输协议或因特网控制报文的扩展反馈响应报文。 In step 3, the streaming server via real-time transport control protocol, Real Time Streaming Protocol, or Internet Control Message extended feedback response packet.

所述步骤3中,报文头可以包括:网际协议报文头、传输控制协议报文头、用户数据报文协议报文头、实时流传输协议报文头。 In step 3, the packet header may include: Internet protocol packet header, the Transmission Control Protocol header, User Datagram Protocol header, real time streaming protocol header.

所述步骤1中,流媒体服务器在流媒体播放过程中,可以向用户播放器发送至少一次带宽测试报文;所述步骤3可以进一步包括,流媒体服务器根据用户播放器反馈的响应报文得到当前流媒体服务器与用户播放器之间的网络带宽,取上述网络带宽的平均值作为最终的网络带宽。 In step 1, the streaming server in the streaming process, the user may send at least one player bandwidth test packets; step 3 may further comprise, according to the streaming server response packet to give the player the user feedback current network bandwidth between media streaming server and the user player, said network bandwidth averaged as the final network bandwidth.

所述步骤1中,流媒体服务器在用户点播过程中,向用户播放器发送带宽测试报文;所述步骤2可以进一步包括,用户播放器接收到带宽测试报文后向流媒体服务器反馈:流媒体服务器发送测试数据包的系统当前时间server-send-time响应报文、播放器收到测试包的系统当前时间Player-resp-time响应报文、播放器发送测试响应包的系统当前时间player-rcv-time响应报文、测试数据的长度data-length响应报文和流媒体服务器收到测试响应包的系统当前时间Server-rcv-resp-time响应报文。 In step 1, the streaming media server user demand process, the bandwidth test packets sent to a user of the player; after step 2 may further include a user player receives the feedback bandwidth test packets to the streaming server: streaming media server sends test packets to the current system time server-send-time response packet, the player receives a system current test packet time player-resp-time response packet, the player transmits the test response packet current system time player- rcv-time response packet, the length of the test data in response to data-length packets, and streaming media server receives a test packet in response to the current system time server-rcv-resp-time response packet.

所述步骤3可以进一步包括,流媒体服务器根据报文响应的时间,报文数据的长度,网络的固定时延、报文头的长度,得到网络带宽为:((data-length+报文头长度)*8)/(k*RTT);式中,RTT=(server-rcv-resp-time-server-send-time)-(player-resp-time-Player-rcv-time)-网络固定时延;K为带宽测量系数。 3 may further comprise the step, the streaming server according to a fixed delay time in response to the packet, the data packet length, the network, the length of the packet header, network bandwidth is obtained: ((data-length + header size ) * 8) / (k * RTT); wherein, RTT = (server-rcv-resp-time-server-send-time) - (player-resp-time-Player-rcv-time) - fixed network delay ; K is the coefficient bandwidth measurement.

所述步骤3中,网络固定时延可以通过经验值确定。 In step 3, the network latency may be determined empirically fixed value.

所述步骤1中,流媒体服务器在用户点播过程中,向用户播放器发送带宽测试报文;所述步骤2可以进一步包括,用户播放器接收到带宽测试报文后向流媒体服务器反馈:流媒体服务器发送测试数据包的系统当前时间SendTimestamp响应报文、测试数据的长度TestDataLength响应报文和流媒体服务器接收到测试响应数据包的系统当前时间CurTimestamp响应报文。 In step 1, the streaming media server user demand process, the bandwidth test packets sent to a user of the player; after step 2 may further include a user player receives the feedback bandwidth test packets to the streaming server: streaming media server sends test packets to the current system time SendTimestamp response packet, a data length TestDataLength test response packet and streaming server system receives the test response data packet in response to a current time CurTimestamp packet.

所述步骤3可以进一步包括,流媒体服务器根据报文响应的时间,报文数据的长度,网络的固定时延、报文头的长度,得到网络带宽为:((TestDataLength+报文头长度)*8)/(RTT/2);式中,RTT=curTimestamp-sendTimestamp-网络固定时延。 3 may further comprise the step, the streaming server according to a fixed delay time in response to the packet, the data packet length, the network, the length of the packet header, network bandwidth is obtained: ((TestDataLength + header size) * 8) / (RTT / 2); wherein, RTT = curTimestamp-sendTimestamp- fixed network delay.

所述步骤1中,流媒体服务器在流媒体播放过程中,可以向用户播放器发送:发送报告SR消息带宽测试报文;所述步骤2可以进一步包括,用户播放器接收到带宽测试报文后向流媒体服务器反馈:接收报告RR消息响应报文,所述RR消息包括:上一个SR包的网络时间协议NTP的时间值LSR和从收到上一个SR消息到发送RR响应消息的时间DLSR;所述步骤3可以进一步包括,流媒体服务器根据报文响应的时间,报文数据的长度,网络的固定时延、报文头的长度,得到网络带宽为:(SR-Size+RR-Size+报文头长度*2)/RTT;式中,SR-Size为流媒体服务器发送的SR消息长度;RR-Size为收到的RR消息长度;RTT=A-LSR-DLSR-网络固定时延;A为流媒体服务器收到RR时的NTP时间。 In the step, the streaming server in the streaming process, the user may send a player 1: Report SR transmission bandwidth test message packet; 2 may further comprise the step, the player receives a user packet from the bandwidth test feedback to the streaming server: receiving a report message RR response message, the RR message comprising: a network time protocol NTP SR packet on a LSR time value and time DLSR received the response message from a message to the transmitting SR RR; 3 may further comprise the step, the streaming server according to a fixed delay time in response to the packet, the data packet length, the network, the length of the packet header, network bandwidth is obtained: (SR-Size + RR-Size + packet packet header length * 2) / RTT; wherein, SR SR-Size message length for the transmitted streaming media server; RR-Size is the length of the received RR message; RTT = a-LSR-DLSR- fixed network delay; a received NTP time when the RR is the streaming media server.

本发明带宽检测方法,可以实时获得用户播放器到流媒体服务器之间的网络带宽,能够提高网络提供的流媒体服务质量,可以根据不同客户端的情况,决定媒体发送的策略,高效率的利用了网络资源。 Bandwidth detection method of the present invention, it is possible to obtain real-time user player to the network bandwidth between the streaming server, it is possible to improve the stream quality service provided by the network, according to the situation of different clients, the decision strategy media transmission, with a high efficiency of the Internet resources.

附图说明 BRIEF DESCRIPTION

图1为根据本发明实施例所述的网络带宽检测方法的流程图。 Bandwidth detection method flowchart FIG. 1 as an example of the embodiment of the present invention.

具体实施方式 Detailed ways

如图1所示,为根据本发明实施例所述的网络带宽检测方法的流程图,包括以下步骤:步骤101,在用户点播流媒体节目时,流媒体服务器向用户播放器发送带宽测试报文;步骤102,用户播放器接收到带宽测试报文后向流媒体服务器反馈响应报文;步骤103,用户点播流媒体节目时,综合考虑了网络的固定时延、报文IP头、TCP头、UDP头、RTSP头的长度,得到了网络的带宽;步骤104,流媒体播放时,流媒体服务器根据报文响应的时间,报文数据的长度,网络的固定时延、报文头的长度,得到网络带宽。 1, network bandwidth is a flowchart of the detecting method according to embodiments of the present invention, comprising the following steps: Step 101, when the user program on-demand streaming media, the streaming server transmits the user packet bandwidth test player ; step 102, after receiving the user player bandwidth test packets feedback response packet to the streaming server; step 103, when the user on-demand streaming media program, considering the delay of the fixed network, IP packet header, TCP header, UDP header, the length of the RTSP header obtain bandwidth network; step 104, when streaming, the streaming server according to a fixed delay time in response to the packet, the data packet length, the network, the packet header length, get the network bandwidth.

本发明的另一实施例为一种网络带宽检测方法,包括以下步骤:步骤201:在用户点播和/或播放流媒体节目时,流媒体服务器向用户播放器发送带宽测试报文;步骤202:用户播放器收到上述报文后向流媒体服务器反馈用于测量网络带宽的响应报文,由流媒体服务器根据上述报文计算流媒体服务器与用户播放器之间的网络带宽。 Another embodiment of the present invention as a bandwidth detection method comprising the following steps: Step 201: user demand and / or program play streaming media, the streaming server transmission bandwidth test packets to a user of the player; Step 202: after the player receives the above-described user feedback packet for measuring the response packet network bandwidth to the streaming server, the streaming media server computing network bandwidth between the streaming server and the media player based on the user packets.

在流媒体播放过程中,流媒体服务器根据需要适时向用户播放器发送至少一次带宽测试报文,并根据用户播放器反馈的相应的响应报文得到当前流媒体服务器与用户播放器之间的网络带宽,取上述网络带宽的平均值作为最终的网络带宽。 In the streaming process, the streaming server at least once the need for timely bandwidth test packets sent to the user according to the player, and to give network between the server and the user is currently streaming media player according to a corresponding response message player user feedback the bandwidth, the bandwidth of said network averaged as the final network bandwidth.

在用户点播流媒体节目时,步骤202所述响应报文包括:流媒体服务器发送测试数据包的系统当前时间(server-send-time)、播放器收到测试包的系统当前时间(Player-resp-time)、播放器发送测试响应包的系统当前时间(player-rcv-time)、测试数据的长度(data-length);流媒体服务器收到测试响应包的系统当前时间(Server-rcv-resp-time),按照该响应报文获得的网络带宽为:((data-length+报文头长度)*8)/(k*RTT);式中,RTT=(server-rcv-resp-time-server-send-time)-(player-resp-time-Playe r-rcv-time)-网络固定时延,K为带宽测量系数,报文头长度包括IP、TCP、UDP、RTSP等协议的报文头的长度,网络固定时延可以通过经验值确定。 When the user on-demand streaming media program, the response packet 202 includes the step of: streaming media server sends test packets to the current system time (server-send-time), the player receives a current system time test packet (Player-resp -time), the player transmits the test response packet the current system time (player-rcv-time), the length of the test data (data-length); streaming media server receives a test packet in response to the current system time (server-rcv-resp -time), network bandwidth is obtained according to the response packet is: ((data-length + header size) * 8) / (k * RTT); wherein, RTT = (server-rcv-resp-time-server -send-time) - (player-resp-time-Playe r-rcv-time) - fixed network delay, K is the coefficient bandwidth measurement, the length of the packet header includes IP, TCP, UDP, RTSP protocols such as packet header the length of the fixed network latency values ​​may be determined empirically.

在用户点播流媒体节目时,步骤202所述响应报文也可以采用下述内容:流媒体服务器发送测试数据包的系统当前时间(SendTimestamp),按照该响应报文获得的网络带宽为:((TestDataLength+报文头长度)*8)/(RTT/2);式中,RTT=curTimestamp-sendTimestamp-网络固定时延;CurTimestamp为流媒体服务器接收到测试响应数据包的系统当前时间;TestDataLength为测试数据的长度。 When the user on-demand streaming media program, the step 202 of the response packet may also be employed the following: streaming media server sends test packets to the current system time (SendTimestamp), obtained according to the network bandwidth response packet is: (( TestDataLength + header size) * 8) / (RTT / 2); wherein, RTT = curTimestamp-sendTimestamp- fixed network delay; CurTimestamp test system receiving the response packet to the streaming server a current time; TestDataLength test data length.

在用户播放流媒体节目时,步骤201、202中,带宽测试报文为发送报告(SR)消息,测试响应报文为接收报告(RR)消息;RR消息包括:上一个SR包的NTP(网络时间协议)时间值(LSR)和从收到上一个SR消息到发送RR响应消息的时间(DLSR);SR-Size为流媒体服务器发送的SR消息长度,RR-Size为收到的RR消息长度;A为流媒体服务器收到RR时的NTP时间;RTT=A-LSR-DLSR-网络固定时延;得到的网络带宽为:(SR-Size+RR-Size+报文头长度*2)/RTT。 When the user plays streaming media program, step 201, the bandwidth test packets to send report (SR) message, to receive a response packet test report (RR) message; the RR message comprises: a SR packet NTP (Network time protocol) time values ​​(LSR) and time (DLSR) SR receives a response message to the RR message from the transmission; SR SR-Size message length for the transmitted streaming media server, RR-Size receives the RR message length ; a is a streaming media server receives the time when the NTP RR; RTT = a-LSR-DLSR- fixed delay networks; bandwidth is obtained: (SR-Size + RR-Size + header size * 2) / RTT .

Claims (10)

1.一种网络带宽检测方法,用于检测流媒体服务器与用户播放器之间的网络带宽,其特征在于,包括以下步骤:(1)流媒体服务器在用户点播或流媒体播放过程中,向用户播放器发送带宽测试报文;(2)用户播放器接收到带宽测试报文后向流媒体服务器反馈响应报文;(3)流媒体服务器根据报文响应的时间,报文数据的长度,网络的固定时延、报文头的长度,得到网络带宽。 CLAIMS 1. A method for detecting network bandwidth, network bandwidth between the streaming server and the user detection player, characterized by comprising the steps of: (1) a user-demand streaming media server or a streaming media playback, to user player transmission bandwidth test packets; (2) user player receives the bandwidth test packets feedback response packet to the streaming server; (3) the streaming media server according to the time message response length of the packet data, fixed network delay, the length of the packet header to obtain the network bandwidth.
2.根据权利要求1所述方法,其特征在于,所述步骤3中,流媒体服务器通过实时传输控制协议、实时流传输协议或因特网控制报文的扩展反馈响应报文。 2. The method according to claim 1, wherein said step 3, the streaming media server through Real-time Transport Protocol, Real Time Streaming Protocol, or Internet Control Message extended feedback response packet.
3.根据权利要求1或2所述方法,其特征在于,所述步骤3中的报文头包括:网际协议报文头、传输控制协议报文头、用户数据报文协议报文头、实时流传输协议报文头。 3. A method according to claim 1 or claim 2, wherein, in the step 3 packet header comprising: an Internet protocol packet header, the Transmission Control Protocol header, User Datagram Protocol header, real-time streaming protocol header.
4.根据权利要求1所述方法,其特征在于,所述步骤1中,流媒体服务器在流媒体播放过程中,向用户播放器发送至少一次带宽测试报文;所述步骤3进一步包括,流媒体服务器根据用户播放器反馈的响应报文得到当前流媒体服务器与用户播放器之间的网络带宽,取上述网络带宽的平均值作为最终的网络带宽。 4. The method according to claim 1, wherein, in said step 1, the streaming server in the streaming process, the user transmits to the player at least one time the bandwidth of the test packet; 3 further comprising the step, stream stream media server to obtain a current network bandwidth between the server and the user media player, said network bandwidth averaged as the final response packet network bandwidth according to the user feedback player.
5.根据权利要求1所述方法,其特征在于,所述步骤1中,流媒体服务器在用户点播过程中,向用户播放器发送带宽测试报文;所述步骤2进一步包括,用户播放器接收到带宽测试报文后向流媒体服务器反馈:流媒体服务器发送测试数据包的系统当前时间server-send-time响应报文、播放器收到测试包的系统当前时间Player-resp-time响应报文、播放器发送测试响应包的系统当前时间player-rcv-time响应报文、测试数据的长度data-length响应报文和流媒体服务器收到测试响应包的系统当前时间Server-rcv-resp-time响应报文。 5. The method according to claim 1, wherein, in said step 1, the streaming media server user demand process, the bandwidth test packets sent to a user of the player; further comprising the step 2, the user receives the player to the bandwidth test packets feedback to the streaming server: streaming media server sends test packets to the current system time server-send-time response packet, the player receives a test packet the current system time player-resp-time response packet system, the player transmits a test packet in response to the current system time of the player-rcv-time response packet, the length of the test data-length data in response to the test packet and streaming server in response to the current packet time server-rcv-resp-time response packet.
6.根据权利要求5所述方法,其特征在于,所述步骤3中,流媒体服务器根据报文响应的时间,报文数据的长度,网络的固定时延、报文头的长度,得到网络带宽为:((data-length+报文头长度)*8)/(k*RTT);式中,RTT=(server-rcv-resp-time-server-send-time)-(player-resp-time-Player-rcv-time)-网络固定时延;K为带宽测量系数。 6.5 The method according to claim, wherein said step 3, the streaming server according to a fixed delay time in response to the packet, the data packet length, the network, length of the packet header to obtain the network bandwidth: ((data-length + header size) * 8) / (k * RTT); wherein, RTT = (server-rcv-resp-time-server-send-time) - (player-resp-time -Player-rcv-time) - fixed network delay; K is the coefficient bandwidth measurement.
7.根据权利要求1所述方法,其特征在于,所述步骤3中,网络固定时延通过经验值确定。 7. The method according to claim 1, wherein said step 3, the network delay determined empirically fixed value.
8.根据权利要求1所述方法,其特征在于,所述步骤1中,流媒体服务器在用户点播过程中,向用户播放器发送带宽测试报文;所述步骤2进一步包括,用户播放器接收到带宽测试报文后向流媒体服务器反馈:流媒体服务器发送测试数据包的系统当前时间SendTimestamp响应报文、测试数据的长度TestDataLength响应报文和流媒体服务器接收到测试响应数据包的系统当前时间CurTimestamp响应报文。 8. The method according to claim 1, wherein, in said step 1, the streaming media server user demand process, the bandwidth test packets sent to a user of the player; further comprising the step 2, the user receives the player to the bandwidth test packets feedback to the streaming server: streaming media server sends test packets to the current system time SendTimestamp response message, the length of the test data TestDataLength response packet and streaming media server receives the system test response data packet of the current time CurTimestamp response packet.
9.根据权利要求8所述方法,其特征在于,所述步骤3进一步包括,流媒体服务器根据报文响应的时间,报文数据的长度,网络的固定时延、报文头的长度,得到网络带宽为:((TestDataLength+报文头长度)*8)/(RTT/2);式中,RTT=curTimestamp-sendTimestamp-网络固定时延。 9. The method according to claim 8, wherein the step 3 further comprises a streaming server according to a fixed delay time in response to the packet, the data packet length, the network, the packet header length, to give network bandwidth is: ((TestDataLength + header size) * 8) / (RTT / 2); wherein, RTT = curTimestamp-sendTimestamp- fixed network delay.
10.根据权利要求1所述方法,其特征在于,所述步骤1中,流媒体服务器在流媒体播放过程中,向用户播放器发送:发送报告SR消息带宽测试报文;所述步骤2进一步包括,用户播放器接收到带宽测试报文后向流媒体服务器反馈:接收报告RR消息响应报文,所述RR消息包括:上一个SR包的网络时间协议NTP的时间值LSR和从收到上一个SR消息到发送RR响应消息的时间DLSR;所述步骤3进一步包括,流媒体服务器根据报文响应的时间,报文数据的长度,网络的固定时延、报文头的长度,得到网络带宽为:(SR-Size+RR-Size+报文头长度*2)/RTT;式中,SR-Size为流媒体服务器发送的SR消息长度;RR-Size为收到的RR消息长度;RTT=A-LSR-DLSR-网络固定时延;A为流媒体服务器收到RR时的NTP时间。 10. The method according to claim 1, wherein, in said step 1, the streaming server in the streaming process, the user transmits to the player: Report SR transmission bandwidth test message packet; step 2 further including, user bandwidth test player receives the feedback packet to the streaming server: receiving a report message RR response message, the RR message comprising: a network time protocol NTP SR packet on a LSR and the time value received from the DLSR time sending a message to the SR RR response message; step 3 further comprises a streaming server according to a fixed delay time in response to the packet, the data packet length, the network, the length of the packet header, the network bandwidth to give is: (SR-Size + RR-Size + header size * 2) / RTT; wherein, SR-Size the SR message length of the streaming server transmission; RR-Size the RR message length received; RTT = a -LSR-DLSR- fixed network delay; a receives the RR NTP time streaming media server.
CN 200610080546 2006-05-15 2006-05-15 Method for inspecting network band width CN101075918B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610080546 CN101075918B (en) 2006-05-15 2006-05-15 Method for inspecting network band width

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610080546 CN101075918B (en) 2006-05-15 2006-05-15 Method for inspecting network band width

Publications (2)

Publication Number Publication Date
CN101075918A true CN101075918A (en) 2007-11-21
CN101075918B CN101075918B (en) 2010-05-12

Family

ID=38976747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610080546 CN101075918B (en) 2006-05-15 2006-05-15 Method for inspecting network band width

Country Status (1)

Country Link
CN (1) CN101075918B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594629A (en) * 2012-03-29 2012-07-18 迈普通信技术股份有限公司 Method and system for measuring subscriber line bandwidth
CN103701626A (en) * 2012-09-27 2014-04-02 华为技术有限公司 Method and equipment for acquiring bandwidth information
CN105075214A (en) * 2013-03-29 2015-11-18 英特尔Ip公司 Quality of experience aware multimedia adaptive streaming
WO2017114231A1 (en) * 2015-12-30 2017-07-06 华为技术有限公司 Packet sending method, tcp proxy, and tcp client

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100407662C (en) 2003-01-16 2008-07-30 华为技术有限公司 Bandwidth detection method for implementing a streaming service

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594629A (en) * 2012-03-29 2012-07-18 迈普通信技术股份有限公司 Method and system for measuring subscriber line bandwidth
CN103701626A (en) * 2012-09-27 2014-04-02 华为技术有限公司 Method and equipment for acquiring bandwidth information
CN103701626B (en) * 2012-09-27 2018-01-19 华为技术有限公司 The preparation method of bandwidth information and the equipment for obtaining bandwidth information
CN105075214A (en) * 2013-03-29 2015-11-18 英特尔Ip公司 Quality of experience aware multimedia adaptive streaming
CN105075214B (en) * 2013-03-29 2018-03-27 英特尔Ip公司 Method and apparatus for providing multimedia adaptive streaming
WO2017114231A1 (en) * 2015-12-30 2017-07-06 华为技术有限公司 Packet sending method, tcp proxy, and tcp client

Also Published As

Publication number Publication date
CN101075918B (en) 2010-05-12

Similar Documents

Publication Publication Date Title
EP1538796B1 (en) Priming data packet for avoiding transmission delay
US9125073B2 (en) Quality-aware adaptive streaming over hypertext transfer protocol using quality attributes in manifest file
US10034048B2 (en) Multipath delivery for adaptive streaming
US8335232B2 (en) Method and system of renegotiating end-to-end voice over internet protocol CODECs
US10389780B2 (en) Managed adaptive streaming
RU2304364C2 (en) Device and method for measuring bilateral propagation time delay for multimedia data with variable bit transfer speed
EP2730072B1 (en) Network-capacity optimized adaptive streaming
Feamster et al. On the interactions between layered quality adaptation and congestion control for streaming video
JP3740113B2 (en) Real-time multimedia streaming system and method adapted to network
CN102123298B (en) Method and system of fast startup for streaming media
JP2007503741A (en) Quality of experience (QOE) metrics for wireless communication networks
KR20080093462A (en) Cooperation between packetized data bit-rate adaptation and data packet re-transmission
US20050262261A1 (en) Simultaneous media playout
US7583666B2 (en) Protocol information processing system and method information processing device and method recording medium and program
RU2305908C2 (en) Adaptive method for evaluating multimedia data transmission speed
EP1743467B1 (en) Refined quality feedback in streaming services
EP2415234B1 (en) Adaptive bitrate management for streaming media over packet networks
CN1225102C (en) Method for dynamically sending data packet using RTP and RTCP protocol
CN101160900B (en) Stream synchronization method of multimedia live transmission in packet network and device thereof
US20090216897A1 (en) Method and system for controlling streaming rates
AU2004317111B2 (en) Timing of quality of experience metrics
CN101686383B (en) Method and system for transmitting medium through network
CN1981492B (en) Buffer level signaling for rate adaptation in multimedia streaming
Kua et al. A survey of rate adaptation techniques for dynamic adaptive streaming over HTTP
US20110066703A1 (en) Methods and systems for delivering media to client device

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted