TWI496457B - Hierarchical available bandwitdh estimation method for video system - Google Patents
Hierarchical available bandwitdh estimation method for video system Download PDFInfo
- Publication number
- TWI496457B TWI496457B TW101102666A TW101102666A TWI496457B TW I496457 B TWI496457 B TW I496457B TW 101102666 A TW101102666 A TW 101102666A TW 101102666 A TW101102666 A TW 101102666A TW I496457 B TWI496457 B TW I496457B
- Authority
- TW
- Taiwan
- Prior art keywords
- bandwidth
- detection
- hierarchical
- range
- estimation method
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 36
- 238000001514 detection method Methods 0.000 claims description 111
- 230000005540 biological transmission Effects 0.000 claims description 22
- 239000000523 sample Substances 0.000 claims description 20
- 238000004458 analytical method Methods 0.000 claims description 12
- 230000001186 cumulative effect Effects 0.000 claims description 10
- 230000003111 delayed effect Effects 0.000 claims description 7
- 238000012360 testing method Methods 0.000 claims description 7
- 238000012545 processing Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 22
- 238000007726 management method Methods 0.000 description 22
- 238000013461 design Methods 0.000 description 8
- 238000009825 accumulation Methods 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000013475 authorization Methods 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
本發明係與一種頻寬估測方法有關,特別是與一種階層式可用頻寬估測方法有關,適用於視訊系統,例如網際網路協定電視(Internet Protocol Television,IPTV)。The present invention relates to a bandwidth estimation method, and more particularly to a hierarchical available bandwidth estimation method, and is applicable to a video system such as Internet Protocol Television (IPTV).
隨著多媒體網路迅速的發展,國際組織開放網際網路協定電視論壇(Open IPTV Forum,OIPF)正致力於推動IPTV之標準化,可見IPTV已成為多媒體網路主要的發展趨勢。IPTV為網際網路協定電視(IPTV),其係為一種寬頻電視(Broadband TV)。IPTV是用寬頻網路作為媒介來傳送電視信息的一種系統,其可將廣播節目透過寬頻上的網際協議向使用訂戶傳遞數碼電視服務。由於其需要使用網路,IPTV服務供應商經常會一併提供連接網際網路及IP電話等相關服務,也可稱為「三網融合」(Triple Play)。IPTV是一種以數位方式播放的數位電視,因此,普通電視機需要配合相對應的機上盒接收頻道,故供應商通常會向客戶同時提供隨選視訊的服務。With the rapid development of multimedia networks, the Open IPTV Forum (OIPF) of international organizations is working to promote the standardization of IPTV. It can be seen that IPTV has become the main development trend of multimedia networks. IPTV is Internet Protocol Television (IPTV), which is a broadband TV (Broadband TV). IPTV is a system for transmitting television information using a broadband network as a medium, which can deliver digital television services to subscribers through broadcast protocols over broadband. Because of the need to use the Internet, IPTV service providers often provide related services such as connecting to the Internet and IP phones, which can also be called "Triple Play". IPTV is a digital TV that is played in digital mode. Therefore, ordinary TV sets need to match the corresponding set-top box receiving channels. Therefore, suppliers usually provide on-demand video services to customers.
在網際網路(Internet)中,頻寬是網路傳輸信息能力的測度(Metric),其係用位元率(Bit Rate)來度量其大小。由於傳輸媒介的改良以及傳輸技術的進步,使得現在寬頻網路傳輸速率越來越快,這也促成多媒體編碼技術的發展,進而使得多媒體影音內容的音質、畫質越來越好,這些高音質、高畫質的多媒體影音內容,大大的提升在網路傳輸時的資料量,因此在網路傳輸這些多媒體影音內容時,網路頻寬就成為服務質量(Quality of Service)很重要的指標。In the Internet, bandwidth is a measure of the ability of a network to transmit information. It is measured by the bit rate. Due to the improvement of transmission media and the advancement of transmission technology, the transmission rate of broadband networks is getting faster and faster, which also promotes the development of multimedia coding technology, which makes the sound quality and picture quality of multimedia audio and video content better and better. High-definition multimedia audio and video content greatly enhances the amount of data transmitted over the network. Therefore, when these multimedia content is transmitted over the network, the network bandwidth becomes an important indicator of quality of service.
由於網際網路有著分佈(Distributive)、不協作(Uncooperative)、異質(Heterogeneous)的架構,並且存在著許多不確定的因素,如網路流量具有時變(Time-variant)或是突發的特性,且終端到終端路由具有非對稱性(Asymmetrical),而依據終端用戶與網際網路服務供應商(Internet Server Provider,ISP)所簽訂的服務等級合約(Service Level Agreements)不同,網際網路服務供應商(Intemet Server Provider,ISP)可以提供給終端用戶的網路頻寬也就不同,這些往往都會造成每個終端用戶的網路頻寬能力皆不盡相同。在這樣異質的網路中,由於不同頻寬能力的終端用戶需求,只支援固定位元速率的傳統影像壓縮技術,就必須壓製適合於各種不同位元速率的多媒體內容,因而勢必會造成內容業者額外的負擔及成本的考量,為了解決這種問題而發展各種視訊編碼,以使多媒體影像更適合在頻寬不同的異質性網路(Heterogeneous Networks)進行傳輸。為了使視訊編碼能有效的運作,多媒體服務伺服端就必須知道終端使用者頻寬能力的資訊,才能對於不同頻寬能力的終端使用者,提供適當位元編碼率的多媒體影音內容,因此終端用戶可用頻寬的估測對於多媒體服務伺服端而言就變得相當重要。Because the Internet has a distributed (Distributive), Uncooperative, Heterogeneous architecture, and there are many uncertain factors, such as network traffic with time-variant or burst characteristics. And the terminal-to-terminal routing is asymmetric (Asymmetrical), and the Internet service is different depending on the Service Level Agreements signed by the end user and the Internet Service Provider (ISP). The network bandwidth that the Internet Server Provider (ISP) can provide to the end users is different, which often results in different network bandwidth capabilities of each end user. In such a heterogeneous network, due to the end user requirements of different bandwidth capabilities, only the traditional image compression technology supporting a fixed bit rate, it is necessary to suppress multimedia content suitable for various bit rates, which is bound to cause content providers. In addition to the additional burden and cost considerations, various video coding has been developed to solve this problem, so that multimedia images are more suitable for transmission in heterogeneous networks (Heterogeneous Networks) with different bandwidths. In order to enable video coding to operate effectively, the multimedia service server must know the information of the bandwidth capability of the terminal user, so as to provide multimedia audio and video content with appropriate bit coding rate for terminal users of different bandwidth capabilities, so the end user Estimation of the available bandwidth becomes quite important for the multimedia service server.
本發明之一目的在於提供一種階層式可用頻寬估測方法,其係採用一包含複數探測速率之探測封包序列,以有效減少頻寬估測的時間;每一探測速率係使用多個封包,而使得單向路徑延遲的累積更為明顯,以易於確認轉折點位置;並且利用階層式探測方式來估測終端用戶的頻寬能力,以準確地測得終端用戶的頻寬範圍。An object of the present invention is to provide a hierarchical available bandwidth estimation method, which uses a detection packet sequence including a complex detection rate to effectively reduce the bandwidth estimation time; each detection rate uses multiple packets. The accumulation of the unidirectional path delay is more obvious, so that the position of the turning point can be easily confirmed; and the hierarchical detecting method is used to estimate the bandwidth capability of the end user to accurately measure the bandwidth range of the end user.
為達成上述目的,本發明之一較佳階層式可用頻寬估測方法係用於視訊系統,該視訊系統包括傳送裝置以及接收裝置,該階層式可用頻寬估測方法包括下列步驟:To achieve the above object, a preferred hierarchical available bandwidth estimation method of the present invention is for a video system, the video system comprising a transmitting device and a receiving device, the hierarchical available bandwidth estimation method comprising the following steps:
(a)該傳送裝置會選取介於一第一上頻寬臨界值與一第一下臨界頻寬值之間的一第一探測頻寬範圍,且該第一探測頻寬範圍係由複數頻寬組成。(a) the transmitting device selects a first detection bandwidth range between a first upper bandwidth threshold and a first lower threshold bandwidth, and the first detection bandwidth is determined by a complex frequency Wide composition.
(b)該傳送裝置會依據該第一探測頻寬範圍的該上頻寬臨界值與該下頻寬臨界值,來初始化一探測封包序列,該探測封包序列包括複數封包群組,每一該些封包群組係對應於每一該些頻寬,每一該些封包群組係對應於一探測速率,且每一該些封包群組係由複數探測封包所組成。(b) the transmitting device initializes a probe packet sequence according to the upper bandwidth threshold and the lower bandwidth threshold of the first detection bandwidth, the probe packet sequence comprising a plurality of packet groups, each of the The packet groups correspond to each of the bandwidths, each of the packet groups corresponds to a detection rate, and each of the packet groups is composed of a plurality of detection packets.
(c)該傳送裝置係透過網路來將該探測封包序列傳送至該接收裝置。(c) The transmitting device transmits the probe packet sequence to the receiving device via the network.
(d)該接收裝置係依據該些探測封包從該傳送裝置的傳送時間,以及到達該接收裝置的接收時間,來計算每一該些探測封包的一單向路徑延遲(One-way Delay)。(d) The receiving device calculates a one-way delay of each of the detection packets according to the transmission time of the detection packets from the transmission device and the reception time to the receiving device.
(e)依據每一該些探測封包的該單向路徑延遲,來判斷一延遲累積轉折點,並產生形成於該第一探測頻寬範圍中的一第二探測頻寬範圍,其中該第二探測頻寬範圍係小於該第一探測頻寬範圍,該第二探測頻寬範圍包括一第二上頻寬臨界值與一第二下臨界頻寬值。(e) determining a delayed cumulative turning point according to the one-way path delay of each of the detecting packets, and generating a second detecting bandwidth range formed in the first detecting bandwidth range, wherein the second detecting The bandwidth range is smaller than the first detection bandwidth range, and the second detection bandwidth range includes a second upper bandwidth threshold and a second lower threshold bandwidth.
(f)比較該第二探測頻寬範圍與一預定頻寬的大小,當該第二探測頻寬範圍小於一預定頻寬時,於該第二探測頻寬範圍的該些頻寬中進行計算,以形成一可用頻寬;當該第二探測頻寬範圍大於該預定頻寬,執行步驟(g)。(f) comparing the second detection bandwidth range with a predetermined bandwidth, and when the second detection bandwidth range is less than a predetermined bandwidth, calculating in the bandwidths of the second detection bandwidth To form an available bandwidth; when the second detection bandwidth is greater than the predetermined bandwidth, step (g) is performed.
(g)依據該第二探測頻寬範圍重新初始化該探測封包序列,繼續執行步驟(c),直至形成該可用頻寬。(g) reinitializing the probe packet sequence according to the second probe bandwidth range, and continuing to perform step (c) until the available bandwidth is formed.
本發明揭露一種階層式可用頻寬估測方法,其可以有效減少頻寬估測的時間,並藉由使得單向路徑延遲的累積更為明顯,以使其易於確認轉折點位置;並且利用階層式探測方式來估測終端用戶的頻寬能力,以準確地測得終端用戶的頻寬範圍。The present invention discloses a hierarchical available bandwidth estimation method, which can effectively reduce the bandwidth estimation time and make the accumulation of the unidirectional path delay more obvious, so that it is easy to confirm the turning point position; The detection method is used to estimate the bandwidth capability of the end user to accurately measure the bandwidth range of the end user.
本發明之較佳實施例藉由所附圖式與下面之說明作詳細描述,在不同的圖式中,相同的元件符號係代表相同或相似的元件。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail with reference to the accompanying drawings
第1圖係繪示在本發明的實施例中執行階層式可用頻寬估測方法之系統方塊圖。該系統方塊圖可以例如是網際網路電視(Internet Protocol Television,IPTV)系統平台100,IPTV系統平台100主要包括中央管理單元(Central Management Unit)102、即時串流伺服器(Live Streaming Server)104以及智慧產權管理與保護(Intellectual Property Management and Protection,IPMP)終端用戶(terminal)106。IPTV系統平台100為一種視訊系統100。1 is a block diagram of a system for performing a hierarchical available bandwidth estimation method in an embodiment of the present invention. The system block diagram can be, for example, an Internet Protocol Television (IPTV) system platform 100. The IPTV system platform 100 mainly includes a Central Management Unit 102, a Live Streaming Server 104, and Intellectual Property Management and Protection (IPMP) terminal user 106. The IPTV system platform 100 is a video system 100.
中央管理單元102包含負責數位權利管理之數位權利管理伺服器(DRM Server)102a、記錄使用者資訊(包含使用者帳號、密碼及使用者設定檔(User Profile))的使用者資料庫(User Database)102b、負責服務管理之服務管理伺服器(Service Management Server)102c、以及存放數位多媒體節目表單之服務管理資料庫(Service Management Database)102d四個功能。即時串流伺服器104係為多媒體內容104a之來源,其之功能包括來源內容之編碼(encode)、封包化(packetization)、串流(Streaming),以及依據數位權利管理伺服器(DRM Server)102a所提供之共同密鑰(Common Key,CK),來對所欲傳輸的多媒體內容進行加密,並於傳送多媒體內容之前對用戶端進行頻寬能力的探測;換言之,即時串流伺服器104係為一種多媒體內容傳送裝置。智慧產權管理與保護(IPMP)終端用戶106係經由通過數位權利管理伺服器(DRM Server)之認證,而具備可接收多媒體碼流權利之用戶端,其並被賦予解碼與解密功能,亦即智慧產權管理與保護(IPMP)終端用戶106係為一種多媒體內容接收裝置。The central management unit 102 includes a digital rights management server (DRM Server) 102a responsible for digital rights management, and a user database for recording user information (including user accounts, passwords, and user profiles) (User Database). 102b, a service management server (Service Management Server) 102c responsible for service management, and a service management database 102d for storing digital multimedia program forms. The instant streaming server 104 is a source of the multimedia content 104a, and its functions include encoding, packetization, streaming of the source content, and a digital rights management server (DRM Server) 102a. The common key (Common Key, CK) is provided to encrypt the multimedia content to be transmitted, and to detect the bandwidth capability of the user before transmitting the multimedia content; in other words, the instant streaming server 104 is A multimedia content delivery device. The Intellectual Property Management and Protection (IPMP) end user 106 is authenticated by a Digital Rights Management Server (DRM Server) and has a client that can receive multimedia stream rights, and is given a decoding and decryption function, that is, wisdom. The Property Rights Management and Protection (IPMP) end user 106 is a multimedia content receiving device.
上述IPTV系統100的運作流程係如下所述:首先,帳號申請與註冊(Registration):透過網頁瀏覽器向中央管理單元102之數位權利管理伺服器(DRM Server)102a註冊使用者帳號及密碼。接著,使用者登入(Login):使用者個人帳號及密碼會以RSA加密演算法進行加密的動作,後傳送至數位權利管理伺服器(DRM Server)102a並進行使用者身分之驗證,以確保傳輸過程中資料的安全。然後,使用者身分認證(Authorization):數位權利管理伺服器(DRM Server)102a在收到使用者的帳號及密碼後,將受到保護的資料還原,再透過使用者資料庫(User Database)102b比對來進行使用者身分認證。其次,使用者可用頻寬估測(Available Bandwidth Estimation):由即時串流伺服器104對使用者進行可用頻寬的估測(Available Bandwidth Estimation),以根據使用者不同的頻寬能力,來提供使用者權限內適合的服務。最後,進行顯示播放(Display):經由頻寬估測過後,選取適合該頻寬串流播放的最佳品質節目檔案並進行播放。The operation process of the IPTV system 100 described above is as follows: First, the account application and registration: the user account and password are registered to the digital rights management server (DRM Server) 102a of the central management unit 102 through a web browser. Then, the user login (Login): the user's personal account and password will be encrypted by the RSA encryption algorithm, and then transmitted to the digital rights management server (DRM Server) 102a and verified by the user identity to ensure transmission. The security of the data in the process. Then, the user identity authentication (Authorization): after receiving the user's account number and password, the digital rights management server (DRM Server) 102a restores the protected data, and then through the user database (User Database) 102b ratio User identification for the user. Secondly, the available bandwidth estimation (Available Bandwidth Estimation): the available bandwidth estimation (Available Bandwidth Estimation) is provided by the real-time streaming server 104 to provide different bandwidth capabilities according to the user. A suitable service within the user's rights. Finally, display playback (Display): After the bandwidth estimation, select the best quality program file suitable for the bandwidth stream playback and play.
參考第1圖、第2圖以及第3圖,第2圖係繪示在本發明實施例中的視訊系統100之階層式可用頻寬估測方法之流程圖,第3圖係繪示在本發明實施例中的階層式可用頻寬估測機制之示意圖。如第2圖所示,並且配合參考第3圖,本發明之階層式可用頻寬估測方法,係適用於設有傳送裝置104以及接收裝置106之視訊系統100,其包括下列步驟:Referring to FIG. 1 , FIG. 2 and FIG. 3 , FIG. 2 is a flow chart showing a hierarchical available bandwidth estimation method of the video system 100 in the embodiment of the present invention, and FIG. 3 is a diagram of the present invention. A schematic diagram of a hierarchical available bandwidth estimation mechanism in an embodiment of the invention. As shown in FIG. 2, and with reference to FIG. 3, the hierarchical available bandwidth estimation method of the present invention is applicable to a video system 100 having a transmitting device 104 and a receiving device 106, which includes the following steps:
在步驟S200中,該傳送裝置104會選取介於第一下頻寬臨界值(Bmin1)與第一上臨界頻寬值(Bmax1)之間的第一探測頻寬範圍200a,且該第一探測頻寬範圍200a係由複數頻寬202所組成。在一實施例中,可將第一探測頻寬範圍200a劃分為K等份的頻寬(Brange),其中第一下頻寬臨界值(Bmin1)以及第一上臨界頻寬值(Bmax1)的單位可以例如是Mbps(Mega-bits per second),K為正整數,每一等份的頻寬大小可以下列公式(1)表示:In step S200, the transmitting device 104 selects a first detection bandwidth range 200a between the first lower bandwidth threshold (Bmin1) and the first upper critical bandwidth value (Bmax1), and the first detection The bandwidth range 200a is composed of a complex bandwidth 202. In an embodiment, the first detection bandwidth range 200a may be divided into a bandwidth of K equal parts, wherein the first lower bandwidth threshold (Bmin1) and the first upper critical bandwidth (Bmax1) The unit can be, for example, Mbps (Mega-bits per second), K is a positive integer, and the bandwidth of each aliquot can be expressed by the following formula (1):
Brange=(Bmin1-Bmax1)/K......(1)Brange=(Bmin1-Bmax1)/K......(1)
在步驟S202中,該傳送裝置104會依據該第一探測頻寬範圍200a的第一上頻寬臨界值與該第一下頻寬臨界值來初始化一探測封包序列204,以使得該探測封包序列204包括複數封包群組206,每一封包群組206均係對應於一頻寬208,每一封包群組206均對應於一探測速率210,且每一封包群組206係由複數探測封包206a組成。在一實施例中,本發明之階層式可用頻寬估測(HABE)方法的探測封包序列204中的探測封包206a之第i個探測速率Ri,係以下列公式(2)表示:In step S202, the transmitting device 104 initializes a probe packet sequence 204 according to the first upper bandwidth threshold and the first downlink bandwidth threshold of the first detection bandwidth range 200a, so that the detection packet sequence is 204 includes a plurality of packet groups 206, each packet group 206 corresponding to a bandwidth 208, each packet group 206 corresponding to a detection rate 210, and each packet group 206 is composed of a plurality of detection packets 206a composition. In one embodiment, the ith detection rate Ri of the detection packet 206a in the detection packet sequence 204 of the hierarchical available bandwidth estimation (HABE) method of the present invention is expressed by the following formula (2):
Ri=Bmin+i*Brange,i=1,2,...,K......(2);Ri=Bmin+i*Brange,i=1,2,...,K...(2);
在一實施例中,該封包群組206的探測速率Ri係選自於該封包群組206所對應的該頻寬202。In an embodiment, the detection rate Ri of the packet group 206 is selected from the bandwidth 202 corresponding to the packet group 206.
接著,決定探測封包206a之間的時間間隔T,即可透過公式(2)式來獲得各個探測速率Ri所使用的探測封包206a大小Li,N表示每個封包群組206的探測封包206a之數量,探測速率是指在單位時間內傳送裝置104所送出的資料量,其單位例如是每秒的位元數(bps),其可以如下列公式(3)來表示:Next, determining the time interval T between the detection packets 206a, the size of the detection packet 206a used by each detection rate Ri can be obtained by the formula (2), and N indicates the number of detection packets 206a of each packet group 206. The detection rate refers to the amount of data sent by the transmitting device 104 in a unit time, and the unit thereof is, for example, the number of bits per second (bps), which can be expressed by the following formula (3):
Li=Ri*T,i=1,2,...,K......(3);Li=Ri*T, i=1, 2,...,K...(3);
根據公式(3),其中可以藉由改變探測封包206a的大小(探測封包206a中所含的bit數),或是改變探測封包206a與探測封包206a之間的時間間隔(單位時間所含bit數)來決定探測速率。According to formula (3), the size of the detection packet 206a (the number of bits included in the detection packet 206a) can be changed, or the time interval between the detection packet 206a and the detection packet 206a can be changed (the number of bits per unit time) ) to determine the detection rate.
每個探測封包206a之間的封包增量值ΔP係以下列公式(4)表示:The packet delta value ΔP between each probe packet 206a is expressed by the following formula (4):
ΔP=Li+1-Li,i=1,2,...,K-1......(4)ΔP=Li+1-Li, i=1, 2,..., K-1...(4)
在步驟S204中,該傳送裝置104可以透過網路103來將該探測封包序列204傳送至該接收裝置106。In step S204, the transmitting device 104 can transmit the probe packet sequence 204 to the receiving device 106 via the network 103.
在步驟S206中,該接收裝置104係依據該些探測封包206a從該傳送裝置104的傳送時間,以及到達該接收裝置106的接收時間,來計算每一探測封包206a的單向路徑延遲(One-way delay,OWD)。在一實施例中,傳送裝置104與接收裝置106之間會形成一傳送路徑PA,且在該傳送路徑PA上設有至少一節點(例如是路由器)105,每一單向路徑延遲係被定義為每一探測封包206a在該傳送路徑PA的該節點105中的處理時間(Processing delay)、排隊時間(Queuing delay)、傳送時間(Transmission delay)以及從節點105被推上網路時間(Propagation delay)四者的總和。In step S206, the receiving device 104 calculates the one-way path delay of each detection packet 206a according to the transmission time of the detection packets 206a from the transmission device 104 and the reception time to the receiving device 106 (One- Way delay, OWD). In an embodiment, a transmission path PA is formed between the transmitting device 104 and the receiving device 106, and at least one node (for example, a router) 105 is disposed on the transmission path PA, and each unidirectional path delay is defined. The processing delay, the Queing delay, the transmission delay, and the Propagation delay of the slave node 105 for each probe packet 206a in the node 105 of the transmission path PA. The sum of the four.
在步驟S208中,依據每一探測封包206a的該單向路徑延遲,來判斷一延遲累積轉折點207並形成位於該第一探測頻寬範圍200a中的第二探測頻寬範圍200b,其中該第二探測頻寬範圍200b係小於該第一探測頻寬範圍200a,該第二探測頻寬範圍200b包括第二上頻寬臨界值Bmax2與第二下臨界頻寬值Bmin2之間。具體來說,本發明之階層式可用頻寬估測(HABE)方法,係利用成對比較測試(Pairwise Comparison Test,PCT)以及成對差異測試(Pairwise Difference Test,PDT),來分析判斷單向路徑延遲(OWD)是否有上升的趨勢(Increasing Trend)(用"I"表示)、沒有上升趨勢(Non-increasing Trend)(用"N"表示),以及不明確趨勢(Ambiguous Trend)(用"A"表示),進而找出開始累積延遲的轉折點。在一較佳實施例中,可對每一個探測封包206a進行PDT測試,以使得單向路徑延遲(OWD)的樣本值更多,進而提高判斷準確度。In step S208, a delayed cumulative turning point 207 is determined according to the unidirectional path delay of each detecting packet 206a and a second detecting bandwidth range 200b is formed in the first detecting bandwidth range 200a, wherein the second The detection bandwidth range 200b is smaller than the first detection bandwidth range 200a, and the second detection bandwidth range 200b includes a second upper bandwidth threshold Bmax2 and a second lower critical bandwidth value Bmin2. Specifically, the hierarchical available bandwidth estimation (HABE) method of the present invention analyzes and judges one-way using a Pairwise Comparison Test (PCT) and a Pairwise Difference Test (PDT). Whether the path delay (OWD) has an Increasing Trend (indicated by "I"), a Non-increasing Trend (indicated by "N"), and an Ambiguous Trend (using " A" indicates), and then find the turning point at which the cumulative delay begins. In a preferred embodiment, each of the probe packets 206a can be subjected to a PDT test such that the unidirectional path delay (OWD) has more sample values, thereby improving the accuracy of the determination.
在判斷使用者可用頻寬(OWD延遲累積轉折點)落在哪一區域時,主要是觀察經過參考PCT及PDT兩種方法所判斷出的結果,最後所整理出的最終趨勢判斷結果(Trend)。在判斷時,先從最右邊往左邊看過去,找到的第一個N,以當作下一次探測的下臨界頻寬值,然後再從這個N往右看回去,找到的第一個I,以當作下一次探測的上頻寬臨界值,表示OWD延遲累積的轉折點207,也就是使用者的可用頻寬BA,大致是落在所找到的上、下頻寬臨界值N到I的範圍內,然後再進行下一次的探測。When judging which area the user's available bandwidth (OWD delay cumulative turning point) falls in, it is mainly to observe the results judged by the two methods of reference PCT and PDT, and finally the final trend judgment result (Trend). In the judgment, first look from the far right to the left, find the first N, as the next critical bandwidth value of the next probe, and then look back from this N to the right, find the first I, Taking the upper bandwidth threshold as the next detection, indicating the turning point 207 of the OWD delay accumulation, that is, the available bandwidth BA of the user, is roughly in the range of the upper and lower bandwidth thresholds N to I found. Inside, then proceed to the next probe.
在步驟S210中,比較該第二探測頻寬範圍200b與一預定頻寬的大小,當該第二探測頻寬範圍200b小於預定頻寬時,於該第二探測頻寬範圍200b的該些頻寬202中計算形成一可用頻寬BA,如步驟S211所示;當該第二探測頻寬範圍200b大於該預定頻寬,則執行步驟S212。在一實施例中,當該第二探測頻寬範圍200b小於一預定頻寬時,該可用頻寬係等於該第二上頻寬臨界值與該第二下臨界頻寬值兩者之平均值,其中該可用頻寬BA係以下列公式(5)表示:In step S210, comparing the second detection bandwidth range 200b with a predetermined bandwidth, when the second detection bandwidth range 200b is less than the predetermined bandwidth, the frequencies in the second detection bandwidth range 200b The width 202 is calculated to form an available bandwidth BA as shown in step S211; when the second detection bandwidth range 200b is greater than the predetermined bandwidth, step S212 is performed. In an embodiment, when the second detection bandwidth range 200b is less than a predetermined bandwidth, the available bandwidth is equal to an average of the second upper bandwidth threshold and the second lower threshold bandwidth. , wherein the available bandwidth BA is expressed by the following formula (5):
BA=(Bmin2+Bmax2)/2......(5)BA=(Bmin2+Bmax2)/2......(5)
上述可用頻寬BA係被定義為在傳送路徑中小於一特定延遲值之前提下,傳送裝置104最多可傳送的資料量,可用頻寬BA可利用本發明之階層式可用頻寬估測方法來取得;頻寬能力係被定義為在一傳送路徑中,於單位時間內最多可傳輸的資料量大小,亦即單位時間內接收裝置106可接收的最大資料量。The above available bandwidth BA is defined as the amount of data that can be transmitted by the transmitting device 104 before the transmission path is less than a specific delay value, and the available bandwidth BA can be utilized by the hierarchical available bandwidth estimation method of the present invention. The bandwidth capability is defined as the maximum amount of data that can be transmitted in a unit of time in a transmission path, that is, the maximum amount of data that the receiving device 106 can receive per unit time.
在步驟S212中,依據該第二探測頻寬範圍200b重新初始化該探測封包序列204,繼續執行步驟S204,直至形成該可用頻寬BA。換言之,根據各探測封包206a中的傳送時間與接收時間,來計算出各探測封包206a之單向路徑延遲(OWD),並分析找出單向路徑延遲開始累積的轉折點,係介於哪兩個探測速率Ri之間,並將這兩個探測速率Ri資訊回傳給傳送裝置104,傳送裝置104會將這兩個探測速率Ri定為下一次探測頻寬範圍的新上頻寬臨界值與新下臨界頻寬值。然後再設計一次階層式可用頻寬估測(HABE)之探測封包序列204以進行下一階段的探測,如此重覆進行探測,直到下臨界頻寬值(Bmin)以及上頻寬臨界值(Bmax)處於收斂狀態,且所涵蓋的探測頻寬範圍小於預定頻寬,以形成該可用頻寬BA。In step S212, the probe packet sequence 204 is re-initialized according to the second probe bandwidth range 200b, and step S204 is continued until the available bandwidth BA is formed. In other words, according to the transmission time and the reception time in each detection packet 206a, the one-way path delay (OWD) of each detection packet 206a is calculated, and the inflection point at which the unidirectional path delay starts to accumulate is analyzed, which are two Between the detection rates Ri, and transmitting the two detection rates Ri information back to the transmitting device 104, the transmitting device 104 sets the two detection rates Ri as the new upper bandwidth threshold and the new detection bandwidth range. Lower critical bandwidth value. Then, a hierarchical available bandwidth estimation (HABE) detection packet sequence 204 is designed to perform the next stage of detection, so that the detection is repeated until the lower critical bandwidth value (Bmin) and the upper bandwidth threshold (Bmax). ) is in a convergent state and covers a range of detection bandwidths less than a predetermined bandwidth to form the available bandwidth BA.
參考第4A圖以及第4B圖,第4A圖係繪示在本發明實施例中的第一次階層式可用頻寬估測之封包序列的設計示意圖。第4B圖係繪示在本發明實施例中,依據第4A圖的單向路徑延遲之趨勢分析示意圖。在第4A圖中,K=50,N=5之階層式可用頻寬估測之探測封包序列204,其之探測封包206a間在傳送時之時間間隔T=1ms,故階層式可用頻寬估測的探測封包序列204之探測範圍(Bmin,Bmax)係為(0 Mbps,10 Mbps)。然後將決定好的探測封包序列204傳送至接收裝置106,此處預定頻寬設定為200 kbps。Referring to FIG. 4A and FIG. 4B, FIG. 4A is a schematic diagram showing the design of a packet sequence of the first hierarchical available bandwidth estimation in the embodiment of the present invention. FIG. 4B is a schematic diagram showing the trend analysis of the unidirectional path delay according to FIG. 4A in the embodiment of the present invention. In Fig. 4A, K=50, N=5, the hierarchical available bandwidth estimation detection packet sequence 204, and the detection packet 206a is transmitted at a time interval T=1 ms, so the hierarchical available bandwidth estimation The detection range (Bmin, Bmax) of the detected probe packet sequence 204 is (0 Mbps, 10 Mbps). The determined probe packet sequence 204 is then transmitted to the receiving device 106 where the predetermined bandwidth is set to 200 kbps.
接收裝置106在完整地接收階層式可用頻寬估測之探測封包序列204後,會依照探測封包序列204中探測封包206a的傳送時間以及接收時間,來計算出每一個探測封包206a之單向路徑延遲(OWD),然後根據所計算出每個探測封包206a的單向路徑延遲,而分析判斷出延遲開始累積之轉折點,以得到新的頻寬探測範圍(Bmin,Bmax)=(4M,6M),並將新的頻寬範圍回傳給傳送裝置104,單向路徑延遲(OWD)趨勢分析如第4B圖所示。After receiving the detection packet sequence 204 of the hierarchical available bandwidth estimation completely, the receiving device 106 calculates the unidirectional path of each detection packet 206a according to the transmission time and the reception time of the detection packet 206a in the detection packet sequence 204. Delay (OWD), and then based on the calculated one-way path delay of each probe packet 206a, and analyze and determine the turning point at which the delay starts to accumulate to obtain a new bandwidth detection range (Bmin, Bmax) = (4M, 6M) And the new bandwidth range is transmitted back to the transmitting device 104, and the one-way path delay (OWD) trend analysis is as shown in FIG. 4B.
具體來說,進行趨勢分析時係利用PCT及PDT兩種方式,亦可使用任意一種方式進行判斷。然而,當同時使用兩種方式時可更準確的判斷是否有上升趨勢。若PCT及PDT兩種方法在同一區域內皆判斷為有上升趨勢(以I表示),則此區域之最終趨勢判斷結果(Trend)為有上升趨勢(以I表示);同樣地,若PCT及PDT兩種方法在同一區域內皆判斷為沒有上升趨勢(以N表示),則此區域之最終趨勢判斷結果(Trend)為沒有上升趨勢(以N表示);但是如果PCT及PDT這兩種方式中的一個判斷為有上升趨勢(以I表示),而另一個則判斷為沒有上升趨勢(以N表示),則此區域之最終趨勢判斷結果(Trend)為不明確區域(以A表示)。Specifically, when performing trend analysis, the PCT and PDT methods are used, and any method can be used for judgment. However, when using both methods at the same time, it is more accurate to judge whether there is an upward trend. If both PCT and PDT methods are judged to have an upward trend (indicated by I) in the same region, the final trend judgment result (Trend) in this region has an upward trend (indicated by I); similarly, if PCT and Both methods of PDT are judged to have no upward trend (indicated by N) in the same region, and the final trend judgment result (Trend) in this region has no upward trend (indicated by N); but if PCT and PDT are two ways One of the judges has an upward trend (indicated by I), and the other judges that there is no upward trend (indicated by N), and the final trend judgment result (Trend) of this region is an ambiguous region (indicated by A).
參考第5A圖以及第5B圖,第5A圖係繪示本發明實施例中的第二次階層式可用頻寬估測之封包序列的設計示意圖。第5B圖係繪示在本發明實施例中依據第5A圖的單向路徑延遲之趨勢分析示意圖。因為第5A圖之趨勢(Trend)集合內沒有"N",所以我們將頻寬下限Bmin設定為最小的4M(4.4 M之”A”區域可忽略),上限Bmax設為"I"的4.8 M。因此得到新的頻寬探測範圍(Bmin,Bmax)=(4 M,4.8 M),然後將新的頻寬範圍回傳給傳送裝置104。Referring to FIG. 5A and FIG. 5B, FIG. 5A is a schematic diagram showing the design of a packet sequence of the second hierarchical available bandwidth estimation in the embodiment of the present invention. FIG. 5B is a schematic diagram showing the trend analysis of the unidirectional path delay according to FIG. 5A in the embodiment of the present invention. Since there is no "N" in the Trend set in Figure 5A, we set the lower bandwidth Bmin to the minimum 4M (4.4 M "A" area is negligible), and the upper limit Bmax is set to "I" of 4.8 M. . Therefore, a new bandwidth detection range (Bmin, Bmax) = (4 M, 4.8 M) is obtained, and then the new bandwidth range is transmitted back to the transmitting device 104.
參考第6A圖以及第6B圖,第6A圖係繪示在本發明實施例中第三次階層式可用頻寬估測之封包序列的設計示意圖。第6B圖係繪示在本發明實施例中,依據第6A圖的單向路徑延遲之趨勢分析示意圖。如第6B圖所示,此一可用頻寬估測得到新的頻寬探測範圍(Bmin,Bmax)=(4.48 M,4.8 M),然後將新的頻寬範圍回傳給傳送裝置104。Referring to FIG. 6A and FIG. 6B, FIG. 6A is a schematic diagram showing the design of a packet sequence of the third hierarchical available bandwidth estimation in the embodiment of the present invention. FIG. 6B is a schematic diagram showing the trend analysis of the unidirectional path delay according to FIG. 6A in the embodiment of the present invention. As shown in Fig. 6B, this available bandwidth estimate yields a new bandwidth detection range (Bmin, Bmax) = (4.48 M, 4.8 M) and then passes back the new bandwidth range to the transmitting device 104.
參考第7A圖以及第7B圖,第7A圖係繪示在本發明實施例中第四次階層式可用頻寬估測之封包序列的設計示意圖。第7B圖係繪示在本發明實施例中,依據第7A圖的單向路徑延遲之趨勢分析示意圖。新的頻寬探測範圍(Bmin,Bmax)=(4.48 M,4.608 M)(4.544 M之”A”區域可忽略,故選取4.48 M)。由於Bmax-Bmin=4.608 M-4.48 M=126 K,其係小於設定之預定頻寬=200 K,故結束此次頻寬探測,獲得可用頻寬A=(Bmax+Bmin)/2=(4.48 M+4.608 M)/2=4.544 M。Referring to FIG. 7A and FIG. 7B, FIG. 7A is a schematic diagram showing the design of a packet sequence of the fourth hierarchical available bandwidth estimation in the embodiment of the present invention. FIG. 7B is a schematic diagram showing the trend analysis of the unidirectional path delay according to FIG. 7A in the embodiment of the present invention. The new bandwidth detection range (Bmin, Bmax) = (4.48 M, 4.608 M) (4.54 M of the "A" area is negligible, so select 4.48 M). Since Bmax-Bmin=4.608 M-4.48 M=126 K, which is less than the set predetermined bandwidth=200 K, the bandwidth detection is ended, and the available bandwidth A=(Bmax+Bmin)/2=(4.48) is obtained. M+4.608 M)/2=4.544 M.
綜上所述,本發明揭露一種階層式可用頻寬估測方法,其係採用一包含複數探測速率之探測封包序列,以有效減少頻寬估測的時間;每一探測速率使用多個封包,以使得單向路徑延遲的累積更為明顯,而使其易於確認轉折點位置;並且利用階層式探測方式來估測終端用戶的頻寬能力,以準確地測得終端用戶的頻寬範圍。In summary, the present invention discloses a hierarchical available bandwidth estimation method, which uses a detection packet sequence including a complex detection rate to effectively reduce the bandwidth estimation time; each detection rate uses multiple packets. In order to make the accumulation of the unidirectional path delay more obvious, it is easy to confirm the turning point position; and the hierarchical detection method is used to estimate the bandwidth capability of the end user to accurately measure the bandwidth range of the end user.
雖然本發明已用較佳實施例揭露如上,然其並非用以限定本發明,本發明所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作各種之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。While the invention has been described above in terms of the preferred embodiments, the invention is not intended to limit the invention, and the invention may be practiced without departing from the spirit and scope of the invention. The scope of protection of the present invention is therefore defined by the scope of the appended claims.
100...IPTV系統平台100. . . IPTV system platform
102...中央管理單元102. . . Central management unit
102a‧‧‧數位權利管理伺服器102a‧‧‧Digital Rights Management Server
102b‧‧‧使用者資料庫102b‧‧ User database
102c‧‧‧服務管理伺服器102c‧‧‧Service Management Server
102d‧‧‧服務管理資料庫102d‧‧‧Service Management Database
103‧‧‧網路103‧‧‧Network
104‧‧‧即時串流伺服器104‧‧‧ Instant Streaming Server
104a‧‧‧多媒體內容104a‧‧‧Multimedia content
105‧‧‧節點105‧‧‧ nodes
106‧‧‧智慧產權管理與保護終端用戶106‧‧‧Intelligent property management and protection of end users
200a‧‧‧第一探測頻寬範圍200a‧‧‧First detection bandwidth range
200b‧‧‧第二探測頻寬範圍200b‧‧‧second detection bandwidth range
202‧‧‧頻寬202‧‧‧width
204‧‧‧探測封包序列204‧‧‧Detection packet sequence
206‧‧‧封包群組206‧‧‧Packet group
206a‧‧‧探測封包206a‧‧‧Probing packets
207‧‧‧延遲累積轉折點207‧‧‧ Delayed cumulative turning point
第1圖係繪示本發明實施例中執行階層式可用頻寬估測方法之系統方塊圖。FIG. 1 is a block diagram showing a system for performing a hierarchical available bandwidth estimation method in an embodiment of the present invention.
第2圖係繪示本發明實施例中視訊系統之階層式可用頻寬估測方法之流程圖。2 is a flow chart showing a hierarchical available bandwidth estimation method of a video system in an embodiment of the present invention.
第3圖係繪示本發明實施例中階層式可用頻寬估測機制之示意圖。FIG. 3 is a schematic diagram showing a hierarchical available bandwidth estimation mechanism in an embodiment of the present invention.
第4A圖係繪示本發明實施例中第一次階層式可用頻寬估測之封包序列的設計示意圖。FIG. 4A is a schematic diagram showing the design of a packet sequence of the first hierarchical available bandwidth estimation in the embodiment of the present invention.
第4B圖係繪示本發明實施例中依據第4A圖的單向路徑延遲之趨勢分析示意圖。FIG. 4B is a schematic diagram showing the trend analysis of the unidirectional path delay according to FIG. 4A in the embodiment of the present invention.
第5A圖係繪示本發明實施例中第二次階層式可用頻寬估測之封包序列的設計示意圖。FIG. 5A is a schematic diagram showing the design of a packet sequence of the second hierarchical available bandwidth estimation in the embodiment of the present invention.
第5B圖係繪示本發明實施例中依據第5A圖的單向路徑延遲之趨勢分析示意圖。FIG. 5B is a schematic diagram showing the trend analysis of the unidirectional path delay according to FIG. 5A in the embodiment of the present invention.
第6A圖係繪示本發明實施例中第三次階層式可用頻寬估測之封包序列的設計示意圖。FIG. 6A is a schematic diagram showing the design of a packet sequence of the third hierarchical available bandwidth estimation in the embodiment of the present invention.
第6B圖係繪示本發明實施例中依據第6A圖的單向路徑延遲之趨勢分析示意圖。FIG. 6B is a schematic diagram showing the trend analysis of the unidirectional path delay according to FIG. 6A in the embodiment of the present invention.
第7A圖係繪示本發明實施例中第四次階層式可用頻寬估測之封包序列的設計示意圖。FIG. 7A is a schematic diagram showing the design of a packet sequence of the fourth hierarchical available bandwidth estimation in the embodiment of the present invention.
第7B圖係繪示本發明實施例中依據第7A圖的單向路徑延遲之趨勢分析示意圖。FIG. 7B is a schematic diagram showing the trend analysis of the unidirectional path delay according to FIG. 7A in the embodiment of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW101102666A TWI496457B (en) | 2012-01-20 | 2012-01-20 | Hierarchical available bandwitdh estimation method for video system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW101102666A TWI496457B (en) | 2012-01-20 | 2012-01-20 | Hierarchical available bandwitdh estimation method for video system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW201332344A TW201332344A (en) | 2013-08-01 |
| TWI496457B true TWI496457B (en) | 2015-08-11 |
Family
ID=49479178
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW101102666A TWI496457B (en) | 2012-01-20 | 2012-01-20 | Hierarchical available bandwitdh estimation method for video system |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI496457B (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| TW200906085A (en) * | 2007-07-18 | 2009-02-01 | Univ Nat Taiwan | Network data transmission optimal bandwidth estimation method and system |
| US7558202B2 (en) * | 2006-03-16 | 2009-07-07 | Microsoft Corporation | Estimating available bandwidth with multiple overloading streams |
| TWI354495B (en) * | 2007-11-13 | 2011-12-11 | Univ Nat Cheng Kung |
-
2012
- 2012-01-20 TW TW101102666A patent/TWI496457B/en not_active IP Right Cessation
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7558202B2 (en) * | 2006-03-16 | 2009-07-07 | Microsoft Corporation | Estimating available bandwidth with multiple overloading streams |
| TW200906085A (en) * | 2007-07-18 | 2009-02-01 | Univ Nat Taiwan | Network data transmission optimal bandwidth estimation method and system |
| TWI354495B (en) * | 2007-11-13 | 2011-12-11 | Univ Nat Cheng Kung |
Also Published As
| Publication number | Publication date |
|---|---|
| TW201332344A (en) | 2013-08-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105474650B (en) | For determining the concept of the quality of media data flow that modified quality versus spy leads | |
| EP2413612B1 (en) | Methods and apparatuses for temporal synchronization between the video bit stream and the output video sequence | |
| US11616710B2 (en) | Bit-rate extraction for encrypted video | |
| Sharma et al. | Estimating webrtc video qoe metrics without using application headers | |
| DK2347599T3 (en) | METHOD AND SYSTEM FOR DETERMINING A QUALITY VALUE OF A VIDEO FLOW | |
| Welch et al. | A proposed media delivery index (MDI) | |
| Xu et al. | CSI: Inferring mobile ABR video adaptation behavior under HTTPS and QUIC | |
| Pan et al. | QoE assessment of encrypted YouTube adaptive streaming for energy saving in Smart Cities | |
| WO2023071958A1 (en) | Sni domain name extraction method, electronic device, and computer-readable storage medium | |
| JP2008199606A (en) | How to detect media rate to measure network jitter | |
| Qian et al. | SVM-based QoE estimation model for video streaming service over wireless networks | |
| TWI496457B (en) | Hierarchical available bandwitdh estimation method for video system | |
| Calyam et al. | Multi‐resolution multimedia QoE models for IPTV applications | |
| Hu et al. | A new approach for packet loss measurement of video streaming and its application | |
| EP1993233B1 (en) | Method of evaluating a transmission quality by injecting meta-information | |
| JP4787303B2 (en) | Video quality estimation apparatus, method, and program | |
| Yamada et al. | Accurate video-quality estimation without video decoding | |
| JP5335867B2 (en) | Video quality estimation apparatus, method, and program using basic GoP length | |
| Koumaras et al. | In-service Video Quality assessment based on SDN/NFV techniques | |
| Zhao et al. | Hiding data in multimedia streaming over networks | |
| Cheng | DaI: Decrypt and infer the quality of real-time video streaming | |
| Welch et al. | RFC 4445: A proposed media delivery index (MDI) | |
| Park et al. | Characterizing the impacts of VPN security models on streaming video | |
| Giannakopoulos et al. | The Future of IPTV: Security, AI Integration, 5G, and Next-Gen Streaming | |
| Turk et al. | A New Method for Measuring Quality of Experience on Mobile OTT Streaming |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| MM4A | Annulment or lapse of patent due to non-payment of fees |