JP6053176B2 - Video playback state estimation device, video playback state estimation method, and program - Google Patents

Video playback state estimation device, video playback state estimation method, and program Download PDF

Info

Publication number
JP6053176B2
JP6053176B2 JP2013249738A JP2013249738A JP6053176B2 JP 6053176 B2 JP6053176 B2 JP 6053176B2 JP 2013249738 A JP2013249738 A JP 2013249738A JP 2013249738 A JP2013249738 A JP 2013249738A JP 6053176 B2 JP6053176 B2 JP 6053176B2
Authority
JP
Japan
Prior art keywords
chunk
image quality
video
chunks
state estimation
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
JP2013249738A
Other languages
Japanese (ja)
Other versions
JP2015106897A (en
Inventor
泰理 本多
泰理 本多
山本 浩司
浩司 山本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2013249738A priority Critical patent/JP6053176B2/en
Publication of JP2015106897A publication Critical patent/JP2015106897A/en
Application granted granted Critical
Publication of JP6053176B2 publication Critical patent/JP6053176B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Description

本発明は、動的レート制御を行うプログレッシブダウンロード型映像配信において、配信経路上でパッシブに取得したパケットキャプチャデータに基づき再生状態推定を行う技術に関連するものである。   The present invention relates to a technique for performing reproduction state estimation based on packet capture data passively acquired on a distribution path in progressive download video distribution that performs dynamic rate control.

近年、通信網の広帯域化が進んでおり、より多くのトラヒックがインターネットを介して流通するようになった。特に大きなファイルサイズを持つコンテンツをダウンロードしながらデータ処理を並行して行う、プログレッシブダウンロード型のコンテンツ配信システムが普及している。このようなコンテンツ配信システムでは、ネットワークを介することによる遅延変動やパケットロス、再送等によりデータが一定速度で端末に到着せず、データの到着には送信タイミングに対して揺らぎが発生する。そのため、端末側でその揺らぎを吸収するために、再生バッファを用意し、ネットワークの影響を上位アプリケーションに対して隠ぺいする仕組みが用いられることが多い。   In recent years, broadband communication networks have been increasing, and more traffic has been distributed via the Internet. In particular, a progressive download type content distribution system that performs data processing in parallel while downloading content having a large file size has become widespread. In such a content distribution system, data does not arrive at the terminal at a constant speed due to delay variation, packet loss, retransmission, etc. through the network, and fluctuations in transmission timing occur when data arrives. For this reason, in order to absorb the fluctuation on the terminal side, a mechanism is often used in which a reproduction buffer is prepared and the influence of the network is hidden from the upper application.

このようなコンテンツ配信システムでは、一時的にネットワークのスループットがコンテンツデータの処理速度よりも低くなる場合には、再生バッファが一定量(再生停止閾値)を下回り、再生が停止されることがある。この再生停止は、当該コンテンツのユーザ体感品質に大きな影響を与えるため、コンテンツの再生停止状態等の再生状態を推定する技術が必要とされ、種々の技術が提案されている(例えば、非特許文献1〜3)。   In such a content distribution system, when the network throughput temporarily becomes lower than the processing speed of the content data, the playback buffer may fall below a certain amount (playback stop threshold), and playback may be stopped. Since this playback stop greatly affects the user experience quality of the content, a technique for estimating a playback state such as a content playback stop state is required, and various techniques have been proposed (for example, non-patent documents). 1-3).

プログレッシブダウンロード型のコンテンツ配信では、単一のコンテンツであっても、複数の単位に分割して配信を行う形態が多い。分割された各単位をチャンクと呼び、このような配信方式をチャンク型のコンテンツ配信方式と呼ぶ。チャンク型のコンテンツ配信の動作イメージを図1に示す。図1に示すとおり、受信したパケットからチャンクを取得し、チャンク単位で再生バッファに格納され、再生(デコード)される。   In progressive download type content distribution, even a single content is often distributed in a plurality of units. Each divided unit is called a chunk, and such a distribution method is called a chunk-type content distribution method. An operation image of chunk type content distribution is shown in FIG. As shown in FIG. 1, a chunk is acquired from the received packet, stored in a playback buffer in units of chunk, and played (decoded).

池上大介、本多泰理、山本浩司他:「プログレッシブダウンロード系サービスの停止時間推定法」信学技報, vol. 111, no. 278, CQ2011-59, pp. 91-96, 2011 年 11 月.Daisuke Ikegami, Yasunori Honda, Koji Yamamoto et al .: "Progressive download service stop time estimation method" IEICE Technical Report, vol. 111, no. 278, CQ2011-59, pp. 91-96, November 2011 . 池上大介、本多泰理、山本浩司:「チャンク型映像配信サービスにおける再生状態推定法の検討」、電子情報通信学会総合大会、B-11-24,2012 年 3 月.Daisuke Ikegami, Yasunori Honda, Koji Yamamoto: “Examination of Playback State Estimation Method for Chunk-type Video Distribution Service”, IEICE General Conference, B-11-24, March 2012. 本多泰理、池上大介、山本浩司:「Ack 観測による映像再生状態推定法の検討 」、電子情報通信学会総合大会,B-11-25,2012 年 3 月.Yasutoshi Honda, Daisuke Ikegami, Koji Yamamoto: “A video observation state estimation method using Ack observation”, IEICE General Conference, B-11-25, March 2012. Z.I.Botev, J.F.Grotowski, and D.P.Kroese, Kernel density estimation via diffusion, Ann. Statist. 38(2010), 2916-2957.Z.I.Botev, J.F.Grotowski, and D.P.Kroese, Kernel density estimation via diffusion, Ann. Statist. 38 (2010), 2916-2957.

非特許文献1〜3に記載された従来技術では、パケットキャプチャデータから端末の受信バイト量時系列を把握し、端末の再生バッファを模擬した仮想的なバッファモデルへ入力することで再生状態の推定を実現している。これらの技術を利用することにより、所与のパケットキャプチャデータから、個々のセッションの映像の再生状態を推定可能である。   In the prior art described in Non-Patent Documents 1 to 3, the reception byte amount time series of the terminal is grasped from the packet capture data, and input to a virtual buffer model simulating the reproduction buffer of the terminal, thereby estimating the reproduction state Is realized. By using these techniques, it is possible to estimate the playback state of the video of each session from given packet capture data.

一方で近年、モバイル端末やタブレット端末の普及に伴い、パソコンよりも低スペックの端末で、3GやLTE 等の無線アクセスによりプログレッシブダウンロード型映像を視聴する利用形態が増大している。この場合、ユーザの移動や電波のフェージングに伴うネットワーク環境の劣化により、再生状態劣化が頻発する状況も珍しくない。このため、環境に応じてレートを増減させ、アダプティブに映像配信を行う技術が確立され、国際標準化の場でも議論されている。当該技術は、例えば配信経路上の往復遅延等の推定に基づき、配信サーバ側でコンテンツの画質(デコードレート)を動的に増減させ、再生停止の抑止と映像品質確保のトレードオフ解決を目的としている。   On the other hand, in recent years, with the spread of mobile terminals and tablet terminals, usage forms for viewing progressive download type video by wireless access such as 3G and LTE are increasing on terminals with specifications lower than those of personal computers. In this case, it is not uncommon for the reproduction state to frequently deteriorate due to the deterioration of the network environment accompanying the movement of the user and the fading of radio waves. For this reason, a technique for adaptively delivering video by increasing or decreasing the rate according to the environment has been established and is being discussed in the field of international standardization. The technology aims to solve the trade-off between stopping playback and ensuring video quality by dynamically increasing / decreasing the image quality (decoding rate) of content on the distribution server side based on, for example, estimation of round trip delay on the distribution path. Yes.

しかしながら、非特許文献1〜3に記載された従来技術は、こうしたアダプティブなレート制御を行う映像配信には対応していない。   However, the conventional techniques described in Non-Patent Documents 1 to 3 do not support video distribution that performs such adaptive rate control.

本発明は上記の点に鑑みてなされたものであり、アダプティブなレート制御を行う映像配信サービスにおいても、適切に映像再生状態を推定することを可能とする技術を提供することを目的とする。   The present invention has been made in view of the above points, and it is an object of the present invention to provide a technique that can appropriately estimate a video reproduction state even in a video distribution service that performs adaptive rate control.

本発明の一実施形態によれば、配信サーバから映像データをチャンク単位で端末に対して配信する映像配信方式において、端末における映像データの再生状態を推定する映像再生状態推定装置であって、
前記映像データのキャプチャデータから取得された各チャンクのチャンク長に基づいて各チャンクの画質を推定する画質推定手段と、
前記映像データにおけるチャンクの観測時刻毎にチャンクを順次仮想的バッファに蓄積し、当該仮想的バッファ内チャンクの中で観測時刻が最も早いチャンクを再生対象とし、当該チャンクの持続時間経過後に当該チャンクを消去するとともに、当該チャンクの持続時間を当該チャンクに対応する画質の映像が再生されている時間として、当該時間の情報と画質とを記憶部に蓄積するバッファ処理手段とを備えることを特徴とする映像再生状態推定装置が提供される。
According to an embodiment of the present invention, in a video distribution method for distributing video data from a distribution server to a terminal in units of chunks, a video playback state estimation device that estimates a playback state of video data in a terminal,
Image quality estimating means for estimating the image quality of each chunk based on the chunk length of each chunk acquired from the captured data of the video data;
Chunks are sequentially stored in a virtual buffer at each chunk observation time in the video data, and the chunk with the earliest observation time among the chunks in the virtual buffer is set as a reproduction target. And a buffer processing means for storing the information of the time and the image quality in a storage unit, while erasing and setting the duration of the chunk as the time during which the video of the image quality corresponding to the chunk is being reproduced. A video playback state estimation device is provided.

本発明の一実施形態によれば、アダプティブなレート制御を行う映像配信サービスにおいても、適切に映像再生状態を推定することを可能とする技術が提供される。   According to an embodiment of the present invention, there is provided a technique capable of appropriately estimating a video playback state even in a video distribution service that performs adaptive rate control.

チャンク型配信の動作イメージを示す図である。It is a figure which shows the operation | movement image of chunk type | mold delivery. 本発明の実施の形態に係る映像再生状態推定装置100の機能構成図である。It is a function block diagram of the video reproduction state estimation apparatus 100 which concerns on embodiment of this invention. 本発明の実施の形態に係る映像再生状態推定装置200の機能構成図である。It is a function block diagram of the video reproduction state estimation apparatus 200 which concerns on embodiment of this invention. チャンク長密度推定部1により得られる各画質に属するチャンク長の基本領域及び確率密度関数を描画した例を示す図である。It is a figure which shows the example which drawn the basic area and probability density function of the chunk length which belong to each image quality obtained by the chunk length density estimation part 1. FIG. 画質判定の手順1を示すフローチャートである。It is a flowchart which shows the procedure 1 of image quality determination. 画質判定の手順1、手順2を行った場合の画質の例を示す図である。It is a figure which shows the example of the image quality at the time of performing the procedure 1 and procedure 2 of image quality determination. バッファ処理部3の処理を示すフローチャートである。3 is a flowchart showing processing of a buffer processing unit 3. 画質変更がある場合のバッファ処理例を示す図である。It is a figure which shows the example of a buffer process in case there exists an image quality change. 再生状態推定結果の例を示す図である。It is a figure which shows the example of a reproduction | regeneration state estimation result. 例1(ダウンロード方向)において、チャンクの取得時刻推定部232が取得するシーケンス番号の例を示す図である。In Example 1 (download direction), it is a figure which shows the example of the sequence number which the chunk acquisition time estimation part 232 acquires. 例1における処理のシーケンス図である。6 is a sequence diagram of processing in Example 1. FIG. 例1の判定例を示す図である。10 is a diagram illustrating a determination example of Example 1. FIG. 例2(アップロード方向)において、チャンクの取得時刻推定部232が取得するAck番号の例を示す図である。In Example 2 (upload direction), it is a figure which shows the example of the Ack number which the chunk acquisition time estimation part 232 acquires. 例2における処理のシーケンス図である。FIG. 10 is a sequence diagram of processing in Example 2. 例2の判定例を示す図である。10 is a diagram illustrating a determination example of Example 2. FIG.

以下、図面を参照して本発明の実施の形態を説明する。なお、以下で説明する実施の形態は一例に過ぎず、本発明が適用される実施の形態は、以下の実施の形態に限られるわけではない。また、以下の実施の形態で示される具体的な数値は一例であり、それに限定されるわけではない。   Embodiments of the present invention will be described below with reference to the drawings. The embodiment described below is only an example, and the embodiment to which the present invention is applied is not limited to the following embodiment. In addition, specific numerical values shown in the following embodiments are merely examples, and are not limited thereto.

以下の説明において、αは各画質のチャンク長の基本領域間のマージンを表す。Nは対象とするサービスに設定されている画質レベル数を表す。例えば、対象とするサービスに設定されている画質が高画質、中画質、低画質の3つである場合はN=3である。Mはパケットキャプチャデータ中のチャンク数を表す。Nijはバッファ処理において、画質iから画質jへの変更時に仮想バッファモデル内で画質iの再生されるチャンク数である。 In the following description, α represents a margin between basic areas of chunk lengths for each image quality. N represents the number of image quality levels set for the target service. For example, N = 3 when there are three image quality settings for the target service: high image quality, medium image quality, and low image quality. M represents the number of chunks in the packet capture data. N ij is the number of chunks in which the image quality i is reproduced in the virtual buffer model when the image quality i is changed to the image quality j in the buffer process.

(装置構成)
<映像再生状態推定装置100>
図2に、本発明の実施の形態に係る映像再生状態推定装置100の機能構成図を示す。図2に示すように、本実施の形態に係る映像再生状態推定装置100は、チャンク長密度推定部1、画質変更検知部2、判定結果蓄積部21、バッファ処理部3、及び再生状態蓄積部31を備える。本装置の利用者としては、例えば当該サービスを提供するネットワーク事業者や、サービスプロバイダを想定する。映像再生状態推定装置100の各機能部の動作の詳細については後述するが、概要は以下のとおりである。
(Device configuration)
<Video Playback State Estimation Device 100>
FIG. 2 is a functional configuration diagram of the video reproduction state estimation apparatus 100 according to the embodiment of the present invention. As shown in FIG. 2, the video playback state estimation device 100 according to the present embodiment includes a chunk length density estimation unit 1, an image quality change detection unit 2, a determination result storage unit 21, a buffer processing unit 3, and a playback state storage unit. 31 is provided. As a user of this apparatus, for example, a network provider that provides the service or a service provider is assumed. The details of the operation of each functional unit of the video reproduction state estimation device 100 will be described later, but the outline is as follows.

チャンク長密度推定部1は、対象とするサービスの画質レベル数、各画質のチャンク長分布観測値(度数分布)、及びマージンパラメータαを入力とし、各画質に属するチャンク長の基本領域及び確率密度関数を出力する。   The chunk length density estimation unit 1 receives the number of image quality levels of the target service, the chunk length distribution observation value (frequency distribution) of each image quality, and the margin parameter α, and the chunk length basic region and probability density belonging to each image quality Output function.

画質変更検知部2は、パケットキャプチャデータのチャンク情報(チャンク毎のチャンク長(バイト量)、チャンク観測時刻等)、及び各画質に属するチャンク長の基本領域及び確率密度関数を入力とし、チャンク毎の画質を推定(判定)し、判定結果(チャンク毎の画質)を出力する。画質変更検知部2により出力された判定結果は判定結果蓄積部21に蓄積される。判定結果蓄積部21には、例えば、チャンク番号と当該チャンクの画質が蓄積される。なお、画質変更検知部2は、画質を推定する機能部であるから、画質推定部と称してもよい。   The image quality change detection unit 2 receives the chunk information of the packet capture data (chunk length (byte amount), chunk observation time, etc. for each chunk), the basic area of the chunk length belonging to each image quality, and the probability density function, and inputs each chunk. Is estimated (determined), and a determination result (image quality for each chunk) is output. The determination result output by the image quality change detection unit 2 is stored in the determination result storage unit 21. In the determination result storage unit 21, for example, the chunk number and the image quality of the chunk are stored. The image quality change detection unit 2 is a functional unit that estimates image quality, and may be referred to as an image quality estimation unit.

バッファ処理部3は、パケットキャプチャデータのチャンク情報(チャンク毎のチャンク長、チャンク観測時刻等)、チャンク毎の画質、画質変更時の旧画質の残存チャンク数行列(Nij)、各画質の単一チャンクあたりの持続時間(再生時間長)、及び視聴終了時刻TEを入力とし、再生状態を推定し、推定した再生状態を出力する。出力された再生状態は再生時刻情報とともに再生状態蓄積部31に蓄積される。 The buffer processing unit 3 includes chunk information of the packet capture data (chunk length for each chunk, chunk observation time, etc.), the image quality for each chunk, the remaining chunk number matrix (N ij ) of the old image quality when the image quality is changed, Using the duration (playback time length) per chunk and the viewing end time TE as input, the playback state is estimated and the estimated playback state is output. The output playback state is stored in the playback state storage unit 31 together with the playback time information.

本実施の形態では、映像再生状態推定装置100がチャンク長密度推定部1を含み、映像再生状態推定装置100において各画質に属するチャンク長の基本領域及び確率密度関数を求めることとしているが、映像再生状態推定装置100がチャンク長密度推定部1を含まないこととしてもよい。すなわち、映像再生状態推定装置100の外部で各画質に属するチャンク長の基本領域及び確率密度関数を求め、これらを入力として映像再生状態推定装置100に与えてもよい。   In the present embodiment, the video playback state estimation device 100 includes the chunk length density estimation unit 1, and the video playback state estimation device 100 obtains the chunk length basic region and probability density function belonging to each image quality. The reproduction state estimation device 100 may not include the chunk length density estimation unit 1. That is, the basic region of the chunk length and the probability density function belonging to each image quality may be obtained outside the video reproduction state estimation apparatus 100 and given to the video reproduction state estimation apparatus 100 as inputs.

<映像再生状態推定装置200:チャンク状態推定部を含む例>
また、本実施の形態では、映像再生状態推定装置100の外部でパケットをキャプチャし、キャプチャデータからチャンク長やチャンク観測時刻等のチャンク情報を算出し、算出した値を映像再生状態推定装置100に入力として与えることとしているが、映像再生状態推定装置100がパケットをキャプチャし、キャプチャデータからチャンク情報を算出する機能を含むこととしてもよい。その場合の装置構成の例(映像再生状態推定装置200と表記)を図3に示す。図3では、図2の映像再生状態推定装置100に相当する機能部を映像再生状態推定部100と表記している。
<Video Playback State Estimation Device 200: Example Including Chunk State Estimation Unit>
In the present embodiment, the packet is captured outside the video reproduction state estimation apparatus 100, chunk information such as chunk length and chunk observation time is calculated from the captured data, and the calculated value is stored in the video reproduction state estimation apparatus 100. Although given as an input, the video reproduction state estimation device 100 may include a function of capturing a packet and calculating chunk information from the captured data. FIG. 3 shows an example of the device configuration in this case (denoted as a video reproduction state estimation device 200). In FIG. 3, a functional unit corresponding to the video playback state estimation device 100 of FIG. 2 is denoted as a video playback state estimation unit 100.

同図に示す映像再生状態推定装置200は、チャンク単位の配信を行う配信サーバ300と端末400に接続されており、パケットデータ取得部210、記憶部220、チャンク状態推定部230、及び映像再生状態推定部100を有する。端末400は、少なくとも再生バッファと再生アプリケーションを有する。   The video playback state estimation device 200 shown in the figure is connected to a distribution server 300 that performs chunk-based delivery and a terminal 400, and includes a packet data acquisition unit 210, a storage unit 220, a chunk state estimation unit 230, and a video playback state. The estimation unit 100 is included. The terminal 400 has at least a playback buffer and a playback application.

本実施の形態において、配信サーバ300と端末400はTCP/IPにより通信を行い、配信サーバ300は、端末400に対して、一つのコンテンツを複数のチャンク単位に分割して配信する。また、レイヤ4で見ると、チャンクは分割され、それぞれパケット(セグメント)として端末400に送信される。   In the present embodiment, the distribution server 300 and the terminal 400 communicate by TCP / IP, and the distribution server 300 divides one content into a plurality of chunks and distributes it to the terminal 400. Also, when viewed at Layer 4, the chunk is divided and transmitted to the terminal 400 as a packet (segment).

端末400は、再生バッファを有し、当該再生バッファに、所定のチャンク数が蓄積されると、再生を開始し、再生中は、当該再生バッファから再生に必要なデータを読み出し、再生バッファに蓄積されたチャンク数が再生停止閾値を下回ると再生が停止し、再生開始閾値を上回ると再生が開始する機能を有する。   The terminal 400 has a playback buffer. When a predetermined number of chunks is stored in the playback buffer, the terminal 400 starts playback. During playback, data necessary for playback is read from the playback buffer and stored in the playback buffer. When the number of chunks that have been played falls below the playback stop threshold, playback stops. When the number of chunks exceeds the playback start threshold, playback starts.

パケットデータ取得部210は、配信サーバ300から端末400に対して配信されるパケットデータ(TCPパケットのヘッダ情報も含む)を取得し、記憶部220に格納する。また、本実施の形態では、パケットデータ取得部210は、端末400から配信サーバ300に送信されるTCPのAckパケットも取得し、記億部220に格納する。なお、Ackパケットを広い意味でTCPパケットと称してもよい。   The packet data acquisition unit 210 acquires packet data (including TCP packet header information) distributed from the distribution server 300 to the terminal 400 and stores it in the storage unit 220. In the present embodiment, the packet data acquisition unit 210 also acquires a TCP Ack packet transmitted from the terminal 400 to the distribution server 300 and stores it in the storage unit 220. The Ack packet may be referred to as a TCP packet in a broad sense.

チャンク状態推定部230は、チャンクの時間長推定部231とチャンクの取得時刻推定部232を有する。   The chunk state estimation unit 230 includes a chunk time length estimation unit 231 and a chunk acquisition time estimation unit 232.

チャンクの時間長推定部231は、記憶部220に格納されたパケットデータや、予め既知のコンテンツ規則等の情報に基づいて、各チャンクの再生時間長(持続時間)のリストを作成する。再生時間長のリストは、例えば1次元の配列として保持できるし、チャンク番号と対応させた2次元の配列として保持してもよい。   The chunk time length estimation unit 231 creates a list of playback time lengths (durations) of each chunk based on packet data stored in the storage unit 220 and information such as a known content rule in advance. The reproduction time length list can be held as a one-dimensional array, for example, or may be held as a two-dimensional array corresponding to the chunk number.

チャンクの取得時刻推定部232は、記憶部220に格納されているパケットデータから、各チャンクの受信が完了した時刻を推定し、各チャンクの取得時刻(観測時刻とも呼ぶ)のリストを作成し、メモリ等に格納する。取得時刻のリストは、例えば1次元の配列として保持できるし、チャンク番号と対応させた2次元の配列として保持してもよい。なお、ここで推定した取得時刻から、チャンク毎のチャンク長(バイト量)を算出することもできる。   The chunk acquisition time estimation unit 232 estimates the time when reception of each chunk is completed from the packet data stored in the storage unit 220, creates a list of acquisition times (also referred to as observation times) of each chunk, Store in memory etc. The list of acquisition times can be stored as a one-dimensional array, for example, or may be stored as a two-dimensional array corresponding to the chunk number. Note that the chunk length (byte amount) for each chunk can be calculated from the acquisition time estimated here.

本実施の形態では、チャンクの取得時刻推定部232は、TCPヘッダ情報を利用することにより、各チャンクの取得時刻を推定するが、詳細は後述する。   In the present embodiment, the chunk acquisition time estimation unit 232 estimates the acquisition time of each chunk by using the TCP header information, details of which will be described later.

なお、映像再生状態推定装置200は、パケットデータ取得部210、記憶部220、チャンク状態推定部230、及び映像再生状態推定部100を有する構成であるが、これ以外にも、映像再生状態推定装置100(図2)にチャンク状態推定部230を追加した構成としてもよい。つまり、この場合、パケットデータのキャプチャを外部で行い、映像再生状態推定装置100は、チャンク状態推定、及び映像再生状態推定を行う。   The video playback state estimation device 200 has a configuration including a packet data acquisition unit 210, a storage unit 220, a chunk state estimation unit 230, and a video playback state estimation unit 100. In addition to this, the video playback state estimation device The configuration may be such that a chunk state estimation unit 230 is added to 100 (FIG. 2). That is, in this case, packet data is captured externally, and the video playback state estimation apparatus 100 performs chunk state estimation and video playback state estimation.

本実施の形態に係る映像再生状態推定装置は、コンピュータに、本実施の形態で説明する処理内容を記述したプログラムを実行させることにより実現可能である。より詳細には、映像再生状態推定装置の各部が有する機能は、当該映像再生状態推定装置を構成するコンピュータに内蔵されるCPUやメモリ、ハードディスクなどのハードウェア資源を用いて、各部で実施される処理に対応するプログラムを実行することによって実現することが可能である。当該プログラムは、コンピュータが読み取り可能な記録媒体(可搬メモリ等)に記録して、保存したり、配布したりすることが可能である。また、当該プログラムをインターネットや電子メールなど、ネットワークを通して提供することも可能である。   The video reproduction state estimation apparatus according to the present embodiment can be realized by causing a computer to execute a program describing the processing contents described in the present embodiment. More specifically, the function of each unit of the video playback state estimation device is implemented by each unit using hardware resources such as a CPU, a memory, and a hard disk built in the computer constituting the video playback state estimation device. It can be realized by executing a program corresponding to the process. The program can be recorded on a computer-readable recording medium (portable memory or the like), stored, or distributed. It is also possible to provide the program through a network such as the Internet or electronic mail.

(映像再生状態推定装置100の動作例)
以下、映像再生状態推定装置100(図2)の動作例を詳細に説明する。
(Operation example of video reproduction state estimation apparatus 100)
Hereinafter, an operation example of the video reproduction state estimation apparatus 100 (FIG. 2) will be described in detail.

<チャンク長密度推定部1>
本装置の利用者は、対象とするサービスの画質数、各画質のチャンク長分布観測値(度数分布)、及びマージンパラメータαをチャンク長密度推定部1に入力する。これらの値は観測等により予め得られている値である。
<Chunk length density estimation unit 1>
The user of this apparatus inputs the number of image quality of the target service, the chunk length distribution observation value (frequency distribution) of each image quality, and the margin parameter α to the chunk length density estimation unit 1. These values are values obtained in advance by observation or the like.

チャンク長密度推定部1は、まず、各画質に属するチャンク長 (バイト量) につき、重複が無いように基本領域を設定する。すなわち、画質数Nとし、画質i (i = 1, 2, . . . , N) の基本領域をそれぞれKi = [ai, bi] (i = 1, 2, . . ., N) とする。つまり、画質iのチャンク長は、ai以上かつbi以下である。ここで、以下の記述の簡易性のため、画質iはチャンク長の降順とする。すなわち、i の値が小さいほど(画質が良いほど)、チャンク長が長く、b1 ≧ a1 ≧ b2 ≧ a2 . . . bN ≧ aNを満たすものとする。 The chunk length density estimation unit 1 first sets the basic area so that there is no overlap for the chunk length (byte amount) belonging to each image quality. That is, the number of image quality is N, and the basic regions of image quality i (i = 1, 2,..., N) are respectively K i = [a i , b i ] (i = 1, 2,..., N) And That is, the chunk length of image quality i is not less than a i and not more than b i . Here, for the simplicity of the following description, the image quality i is in descending order of the chunk length. That is, the smaller the value of i (the better the image quality), the longer the chunk length, and b 1 ≧ a 1 ≧ b 2 ≧ a 2 ... B N ≧ a N.

また、マージンパラメータαによりai+1 - bi ≧ α(i = 1, 2, . . . , N - 1) が成り立つようにする。基本領域は各画質間で重複しない閉区間として設定されていることに留意する。 In addition, ai + 1 −b i ≧ α (i = 1, 2,..., N−1) is established by the margin parameter α. Note that the basic area is set as a closed section that does not overlap between image quality.

チャンク長密度推定部1は更に、各画質に属するチャンク長の確率密度関数を滑らかな関数として推定する。当該手法は、カーネル密度関数による推定を適用してもよいし、非特許文献4に見られる手法を適用してもよい。   The chunk length density estimation unit 1 further estimates the probability density function of the chunk length belonging to each image quality as a smooth function. As this method, estimation by a kernel density function may be applied, or a method found in Non-Patent Document 4 may be applied.

チャンク長密度推定部1は、以上の過程により得られた、各画質に属するチャンク長の基本領域及び確率密度関数を出力する。なお、上記工程は事前に本装置の外部で行い、結果を画質変更検知部2への入力とすることも可能である。   The chunk length density estimation unit 1 outputs the basic region and probability density function of the chunk length belonging to each image quality obtained by the above process. The above process can be performed outside the apparatus in advance, and the result can be used as an input to the image quality change detection unit 2.

図4に、チャンク長密度推定部1により得られる各画質に属するチャンク長の基本領域及び確率密度関数を描画した例を示す。図4に示す例は、N = 3(高画質、中画質、低画質)の例であり、マージンパラメータα= 10[kbyte] にとり、基本領域は、高画質I1 = [200, 300]、中画質I2 = [100, 150]、低画質I3 = [50, 90]である(いずれも単位は [kbyte])。 FIG. 4 shows an example in which the chunk length basic region and the probability density function belonging to each image quality obtained by the chunk length density estimation unit 1 are drawn. The example shown in FIG. 4 is an example of N = 3 (high image quality, medium image quality, low image quality), and for the margin parameter α = 10 [kbyte], the basic region has high image quality I 1 = [200, 300], Medium image quality I 2 = [100, 150] and low image quality I 3 = [50, 90] (both units are [kbyte]).

<画質変更検知部2:手順1>
次に、画質変更検知部2は、パケットキャプチャデータのチャンク情報(チャンク長、観測時刻等)、及び、前記各画質に属するチャンク長の基本領域及び確率密度関数を入力として、次のようにして画質変更箇所を検知する。これを手順1とする。
<Image quality change detection unit 2: Procedure 1>
Next, the image quality change detection unit 2 receives the chunk information (chunk length, observation time, etc.) of the packet capture data, the basic area of the chunk length belonging to each image quality, and the probability density function as follows. Detect image quality changes. This is procedure 1.

以下、当該データ中の総チャンク数をMとする。当該データ中で、画質変更検知部2は、各チャンク長を観測時刻順に取得し、j (j = 1, 2, . . ., M)番目のチャンクのチャンク長ljについて、図5のフローチャートに示す手順に従って画質判定を行う。 Hereinafter, M is the total number of chunks in the data. In the data, the image quality change detection unit 2 acquires each chunk length in the order of observation time, and the flowchart of FIG. 5 shows the chunk length l j of the j (j = 1, 2,..., M) th chunk. The image quality is determined according to the procedure shown in FIG.

lj ≧ b1である場合(ステップ101のYes)、すなわち、チャンク長ljが最高画質の基本領域の最大チャンク長以上である場合には当該チャンクの画質Q(j)を1とする(ステップ102)。lj ≦ aNである場合(ステップ101のNo、ステップ103のYes)、すなわち、チャンク長ljが最低画質の基本領域の最小チャンク長以下である場合には当該チャンクの画質をNとする(ステップ104)。 If l j ≧ b 1 (Yes in step 101), that is, if the chunk length l j is greater than or equal to the maximum chunk length of the basic region with the highest image quality, the image quality Q (j) of the chunk is set to 1 ( Step 102). If l j ≦ a N (No in step 101, Yes in step 103), that is, if the chunk length l j is less than or equal to the minimum chunk length of the basic region having the lowest image quality, the image quality of the chunk is set to N. (Step 104).

ステップ103においてNoの場合、チャンクがいずれかの基本領域に属するかどうか判定する(ステップ105)、すなわち、下記の画質i0が存在するかどうか判定する。 In the case of No in step 103, it is determined whether the chunk belongs to any basic area (step 105), that is, whether the following image quality i 0 exists.

Figure 0006053176
i0が存在する場合(ステップ105のYes)、チャンクjは画質i0に該当すると判定する(ステップ106)。本判定ルールで判定不能な場合には「判定不能」とする(ステップ107)。
Figure 0006053176
If i 0 exists (Yes in step 105), it is determined that the chunk j corresponds to the image quality i 0 (step 106). If the determination rule cannot be determined, “determination is impossible” (step 107).

画質変更検知部2は、各チャンクに対する前記判定結果を、チャンク毎にチャンクの観測時刻順に判定結果蓄積部21に蓄積する。   The image quality change detection unit 2 stores the determination result for each chunk in the determination result storage unit 21 in the order of the chunk observation time for each chunk.

<画質変更検知部2:手順2>
本実施の形態において、画質変更検知部2は、上記の判定ルール(手順1)で判定不能であったチャンクに対し、以下のようにして画質の最尤判定を行う。これを手順2とする。
<Image quality change detection unit 2: Procedure 2>
In the present embodiment, the image quality change detection unit 2 performs the maximum likelihood determination of the image quality as follows for the chunk that cannot be determined by the above-described determination rule (procedure 1). This is procedure 2.

画質変更検知部2は、判定結果蓄積部21に蓄積された手順1の判定結果から、手順1で画質が判定できないチャンクの連結成分を抽出する。ここで連結成分とは、番号が連続するチャンクを意味する。例えば、手順1で画質が判定不能であったチャンクの番号を仮に{2, 3, 5, 6, 7}とすると、連結成分は(2, 3)及び (5, 6, 7)の2成分である。   The image quality change detection unit 2 extracts a connected component of chunks whose image quality cannot be determined in the procedure 1 from the determination result of the procedure 1 stored in the determination result storage unit 21. Here, the connected component means chunks having consecutive numbers. For example, if the chunk number whose image quality could not be determined in step 1 is {2, 3, 5, 6, 7}, the connected components are the two components (2, 3) and (5, 6, 7). It is.

画質変更検知部2は、手順1で判定結果が未定のチャンクの連結成分毎に、下記手順を実施する。   The image quality change detection unit 2 performs the following procedure for each connected component of the chunk whose determination result is undetermined in step 1.

ある単一の連結成分に属するチャンクがm個(mは1以上)として、当該チャンクの番号を   Assuming that there are m chunks (m is 1 or more) belonging to a single connected component,

Figure 0006053176
で表す。これらの各チャンクについて、それぞれ画質を振らせ、チャンク長確率密度推定部1で算出した確率密度関数に基づき、確率密度を算出する。
Figure 0006053176
Represented by For each of these chunks, the image quality is varied, and the probability density is calculated based on the probability density function calculated by the chunk length probability density estimation unit 1.

例えば、チャンクClのチャンク長が、画質qに属するとした時の確率密度を f (l; q) と表す。また、チャンクClの推定画質をQ(l)で表す。この時、チャンクの組 For example, the probability density when the chunk length of the chunk C l belongs to the image quality q is expressed as f (l; q). Further, the estimated image quality of the chunk C l is represented by Q (l). At this time, the chunk group

Figure 0006053176
に対する最も確からしい画質の組合せ Q : l → Q(l) を、以下の目的関数を最小化するように選択する:
Figure 0006053176
The most probable image quality combination for Q: l → Q (l) is chosen to minimize the following objective function:

Figure 0006053176
ただし、ci (i = 1, 2, . . . , 4) は重み付け定数、Q(0), Q(m + 1) はそれぞれ当該連結成分前後の画質決定チャンクの画質である。
Figure 0006053176
Here, c i (i = 1, 2,..., 4) is a weighting constant, and Q (0) and Q (m + 1) are the image quality determination chunks before and after the connected component, respectively.

上記手順1、手順2により、画質変更検知部2はキャプチャデータ中の各チャンクの推定画質を全チャンクについて算出することができる。画質変更検知部2は、チャンク毎のチャンク観測時刻順にチャンク毎の画質を出力する。   By the procedure 1 and procedure 2, the image quality change detection unit 2 can calculate the estimated image quality of each chunk in the capture data for all the chunks. The image quality change detection unit 2 outputs the image quality for each chunk in the order of the chunk observation time for each chunk.

図6(a)に、手順1で判定結果蓄積部21に蓄積された各チャンクの画質判定結果例を示す。本結果に、手順2の式で定義される最尤推定を施した結果、図6(b) に示す判定結果を得る。ただし、本例ではci = 1 (i = 1, 12, 3, 4) とした。例えば、図6(a)のC0、C1、C2、C3、C4で示すチャンクにおいて、C1、C2、C3の画質が判定不能であったところ、手順2の最尤推定により、図6(b)に示すように、C1、C2、C3の画質が推定されている。 FIG. 6A shows an example of the image quality determination result of each chunk stored in the determination result storage unit 21 in procedure 1. As a result of performing maximum likelihood estimation defined by the expression of procedure 2 on this result, the determination result shown in FIG. 6B is obtained. However, in this example, c i = 1 (i = 1, 12, 3, 4). For example, in the chunks indicated by C 0 , C 1 , C 2 , C 3 , and C 4 in FIG. 6A, the image quality of C 1 , C 2 , and C 3 cannot be determined. By the estimation, as shown in FIG. 6B, the image quality of C 1 , C 2 , and C 3 is estimated.

上記のように、画質変更検知部2は、画質とチャンク長の範囲とを対応付けたデータ(前述した基本領域等)と、各チャンクのチャンク長とに基づいて各チャンクの画質を推定する。   As described above, the image quality change detection unit 2 estimates the image quality of each chunk based on the data (basic region and the like described above) that associates the image quality with the chunk length range and the chunk length of each chunk.

<バッファ処理部3>
続いて、バッファ処理部3の動作を説明する。バッファ処理部3への入力は、パケットキャプチャデータのチャンク情報(チャンク毎の観測時刻等)、チャンク毎の画質、各画質の単一チャンクあたりの持続時間(再生時間長)、画質変更時の旧画質の残存チャンク数の行列 {Nij} (i, j = 1, 2, . . . , N )(画質iから画質jへの変更時)、及び視聴終了時刻TEである。TEはパケットキャプチャ開始時刻(つまり、チャンク取得開始時刻)を0とした時の、視聴終了時刻を表す。
<Buffer processing unit 3>
Next, the operation of the buffer processing unit 3 will be described. The input to the buffer processing unit 3 is the chunk information of packet capture data (observation time for each chunk, etc.), the image quality for each chunk, the duration (reproduction time length) per single chunk of each image quality, and the old when the image quality was changed remaining chunks number of the matrix of picture quality {Nij} (i, j = 1, 2,..., N) ( when changing from the image quality i to quality j), and a viewing end time T E. T E is the packet capture start time (i.e., chunk acquisition start time) when the zero represents the viewing end time.

バッファ処理部3は仮想的なバッファ(仮想的バッファモデル)を有する。バッファ処理部3は、パケットキャプチャデータ中のチャンクの観測時刻に当該チャンクを仮想的バッファモデルに入力して蓄積し、前記入力された各チャンクの持続時間に基づきバッファ内チャンク数を推定し、s秒毎に再生状態(本例では、再生中チャンクの画質もしくは再生停止状態)を再生状態蓄積部31に記録する。ここで各チャンクの持続時間は、画質毎に異なっていてもよい。   The buffer processing unit 3 has a virtual buffer (virtual buffer model). The buffer processing unit 3 inputs and accumulates the chunk in the virtual buffer model at the observation time of the chunk in the packet capture data, estimates the number of chunks in the buffer based on the input duration of each chunk, The reproduction state (in this example, the image quality of the chunk being reproduced or the reproduction stop state) is recorded in the reproduction state accumulation unit 31 every second. Here, the duration of each chunk may be different for each image quality.

バッファモデルに蓄積された各チャンクは、到着順に前記入力された持続時間経過後に消滅するが、チャンク消費中の時間をもって当該画質の映像が再生されている時間として、つまり、再生中として、再生状態蓄積部31に記録していく。この処理をチャンクの観測時刻順に実施していくことで、端末の再生バッファ内のチャンク数や再生状態を推定することができる。すなわち、バッファ処理部3は、映像データにおけるチャンクの観測時刻毎にチャンクを順次仮想的バッファに蓄積し、当該仮想的バッファ内チャンクの中で観測時刻が最も早いチャンクを再生対象とし、当該チャンクの持続時間経過後に当該チャンクを消去するとともに、当該チャンクの持続時間を当該チャンクに対応する画質の映像が再生されている時間として、当該時間の情報と画質とを再生状態蓄積部31に蓄積する。   Each chunk accumulated in the buffer model disappears in the order of arrival after the input duration has elapsed, but the chunk consumption time is the time during which the video of the image quality is being played, that is, the playback state. Recording is performed in the storage unit 31. By executing this processing in the order of the chunk observation times, the number of chunks and the playback state in the playback buffer of the terminal can be estimated. In other words, the buffer processing unit 3 sequentially accumulates chunks in the virtual buffer at each chunk observation time in the video data, sets the chunk with the earliest observation time among the chunks in the virtual buffer as a reproduction target, and The chunk is erased after the lapse of the duration, and the duration information of the chunk and the image quality are stored in the playback state storage unit 31 as the duration of the video of the image quality corresponding to the chunk being played.

図7に、バッファ処理部3の処理フローを示す。図7に示すように、iを現在までの到着チャンク数とし、jを現在までの消去チャンク数とし、tを現在時刻とし、dを次回のチャンク消去時刻とし、stを再生状態(本例では、再生中チャンクの画質もしくは再生停止状態)とし、chをバッファ内チャンク数とする。   FIG. 7 shows a processing flow of the buffer processing unit 3. As shown in FIG. 7, i is the number of arriving chunks up to the present, j is the number of erased chunks up to the present, t is the current time, d is the next chunk erasure time, and st is the playback state (in this example, , The image quality of the chunk being played back or the playback stopped state), and ch is the number of chunks in the buffer.

バッファ処理部3は、変数を初期化する(ステップ201)。そして、再生状態記録時刻(s秒毎)、チャンク消去時刻(d)、新たなチャンク到着時刻(ti+1)のいずれかが到来する度にそれぞれに対応する処理を行う(ステップ202)。 The buffer processing unit 3 initializes variables (step 201). Then, whenever one of the playback state recording time (every s seconds), chunk erasure time (d), or new chunk arrival time (t i + 1 ) arrives, the corresponding processing is performed (step 202).

現在時刻が再生状態記録時刻のときには、現在の再生状態(st)を現在時刻とともに再生状態蓄積部31に記録する(ステップ203)。   When the current time is the playback state recording time, the current playback state (st) is recorded in the playback state storage unit 31 together with the current time (step 203).

ステップ204のチャンク消去時刻では、バッファ内チャンクが存在する場合(chが正の場合)に、バッファに存在するチャンクの中で到着時刻が最も早いチャンクを消去する。つまり、バッファ内チャンク数を1減算し、現在までの消去チャンク数を1増加させる。更に、チャンク消去後にバッファに存在するチャンクの中で到着時刻が最も早いチャンクの消去時刻を次回のチャンク消去時刻dとする。そして、再生状態stに、再生中のチャンク(次に消去することになるチャンク)の画質を入れる。チャンク消去後にもしもチャンク数が0であれば再生状態stは「停止状態」となる。   At the chunk erasure time in step 204, if there is a chunk in the buffer (when ch is positive), the chunk having the earliest arrival time among the chunks existing in the buffer is erased. That is, 1 is subtracted from the number of chunks in the buffer, and the number of erased chunks up to the present is increased by 1. Furthermore, the erase time of the chunk with the earliest arrival time among the chunks existing in the buffer after the chunk erase is defined as the next chunk erase time d. Then, the image quality of the chunk being reproduced (the chunk to be erased next) is entered in the reproduction state st. If the number of chunks is 0 after erasing the chunks, the playback state st is “stopped”.

なお、チャンク消去時刻はチャンクの持続時間から求められる。例えば、チャンク1が時刻Tで消去された時点で、バッファに存在するチャンクの中で到着時刻が最も早いチャンク2の持続時間がRであるとすると、次のチャンク消去時刻はT+Rである。   The chunk erasure time is obtained from the chunk duration. For example, when chunk 1 is erased at time T, and the duration of chunk 2 having the earliest arrival time among the chunks existing in the buffer is R, the next chunk erase time is T + R. .

ステップ205のチャンク到着時刻では、新たに到着したチャンクの画質が、その前に到着したチャンクの画質から変更がない場合(ステップ205のNo)、バッファ内チャンク数を1増加させ、現在までの到着チャンク数を1増加させる。更に、バッファに存在するチャンクの中で到着時刻が最も早いチャンクの消去時刻を次回のチャンク消去時刻dとする(ステップ206)。なお、チャンク到着時に、既にバッファ内にチャンクが存在していた場合、チャンク到着時には次回のチャンク消去時刻dに変更はない。   At the chunk arrival time in step 205, if the image quality of the newly arrived chunk has not changed from the image quality of the previously arrived chunk (No in step 205), the number of chunks in the buffer is increased by 1, and the arrival up to the present time Increase the number of chunks by one. Further, the erase time of the chunk having the earliest arrival time among the chunks existing in the buffer is set as the next chunk erase time d (step 206). When a chunk already exists in the buffer when the chunk arrives, the next chunk erasure time d is not changed when the chunk arrives.

チャンク到着時刻において、新たに到着したチャンクの画質が、その前に到着したチャンクの画質から変更されている場合(ステップ205のYes)、当該新たな画質のチャンクが観測された時刻において、当該時刻にバッファ内に残存する旧画質のチャンクを当該時刻に再生中のチャンクの次のチャンクから数えてNij個まで再生後、新たな画質に変更する(ステップ207)。Nij = 0 の場合は、新たな画質のチャンクが観測された時刻に再生中のチャンクの再生終了次第、バッファ内のチャンクを全クリアし、新たな画質のチャンクの再生を開始する。 When the image quality of a newly arrived chunk is changed from the image quality of a previously arrived chunk at the chunk arrival time (Yes in step 205), the time at which the new image quality chunk is observed is Then, the old image quality chunks remaining in the buffer are reproduced up to N ij from the next chunk of the chunk being reproduced at that time, and then changed to a new image quality (step 207). In the case of N ij = 0, as soon as the playback of the chunk being played back is completed at the time when the chunk of the new image quality is observed, all the chunks in the buffer are cleared and playback of the new image quality chunk is started.

各時刻における再生中チャンクの画質を時刻情報と共に再生状態蓄積部31に記録する動作は、前記と同様である。   The operation of recording the image quality of the chunk being played at each time in the playback state storage unit 31 together with the time information is the same as described above.

上記のように、バッファ処理部3は、順次仮想的バッファに蓄積されるチャンクの画質が変更されたときに、画質変更前後の画質の組み合わせに応じて予め定めた数まで残存する画質変更前チャンクを再生した後に、画質変更後のチャンクを再生対象とする。また、予め定めた数が0である場合、バッファ処理部3は、変更後の画質のチャンクを観測した時刻に再生中のチャンクを持続時間経過により消去した直後に、仮想的バッファ内チャンクを全てクリアし、前記変更後の画質のチャンクを再生対象とする。   As described above, when the image quality of the chunks sequentially stored in the virtual buffer is changed, the buffer processing unit 3 retains the pre-image quality change chunk that remains up to a predetermined number according to the combination of image quality before and after the image quality change. After playback, the chunk after the image quality change is set as the playback target. If the predetermined number is 0, the buffer processing unit 3 immediately deletes all the chunks in the virtual buffer immediately after erasing the chunks being played back at the time of observing the changed image quality chunks. Clear and set the changed image quality chunk as the playback target.

図8(a)、(b)に、画質変更がある場合のバッファ処理例を示す。図 8(a)は、画質1から画質2への変更の例を示しており、画質1のチャンク10を再生中に画質2のチャンクが到着し、再生中のチャンク10からチャンク12まで再生後、新たな画質に変更することを示している。これはN12 = 2の場合である。 FIGS. 8A and 8B show examples of buffer processing when there is a change in image quality. FIG. 8A shows an example of the change from the image quality 1 to the image quality 2. The chunk of the image quality 2 arrives during the reproduction of the chunk 10 of the image quality 1, and after the reproduction from the chunk 10 being reproduced to the chunk 12 , Indicating that the image quality is changed to a new one. This is the case for N 12 = 2.

図8(b)は、画質2から画質1への変更の例を示しており、画質2のチャンク11を再生中に画質1のチャンクが到着し、画質2のチャンク11の再生終了次第、バッファ内のチャンクを全クリアし、画質1のチャンクの再生を開始する。これはN21 = 0の場合である。すなわち、図8(a)、(b)の例は、高画質への遷移時の方が、より速くバッファ内チャンクが消費される動作となっている。 FIG. 8B shows an example of the change from the image quality 2 to the image quality 1. When the image quality 1 chunk arrives during the reproduction of the image quality 2 chunk 11 and the reproduction of the image quality 2 chunk 11 finishes, the buffer is displayed. All the chunks are cleared, and playback of the chunk with image quality 1 is started. This is the case when N 21 = 0. That is, in the example of FIGS. 8A and 8B, the buffer chunks are consumed more quickly at the time of transition to high image quality.

以上の様にして、視聴終了時刻TEまで再生状態を再生状態蓄積部31に記録していく。また、チャンクダウンロード終了時刻よりもTEが大きい場合、すなわちダウンロード終了後も視聴を継続した場合については、最後のチャンクダウンロード時刻において再生状態であった場合には、バッファ内チャンクが枯渇するまで再生状態として再生状態蓄積部31に記録する。 In the manner described above, continue to record the playback state to the playback state storage unit 31 to the viewing end time T E. Also, if T E is larger than the chunk downloads end time, i.e., the case where even after the download completion was continued viewing, when was reproduced state at the end of the chunk downloading time, reproduced to the buffer chunk is depleted The state is recorded in the reproduction state storage unit 31.

仮にチャンクダウンロード終了時刻の直後の時点において再生停止状態であった場合には、再生停止状態が継続するため、視聴終了時刻TEを末尾として、その間の状態を全て「再生停止」として再生状態蓄積部31に記録する。 If the case was a reproduction stop state at the time immediately after the chunk download end time, since the reproduction stop state continues, as the end of the viewing end time T E, play state accumulation between them of state as all "stop playback" Record in part 31.

図9に、バッファ処理部3の出力であり、再生状態蓄積部31に記録される再生状態推定結果の例を示す。図9に示すように、実態値との比較の結果、高精度で再生状態を推定できていることが確認できる。   FIG. 9 shows an example of a reproduction state estimation result output from the buffer processing unit 3 and recorded in the reproduction state storage unit 31. As shown in FIG. 9, as a result of comparison with the actual value, it can be confirmed that the reproduction state can be estimated with high accuracy.

(チャンクの取得時刻推定部232の動作例)
本発明において、パケットキャプチャデータからどのようにしてチャンクの取得時刻(観測時刻)を推定するかは特定の方法に限定されず、例えば、HTTP GET信号からチャンクの取得時刻を推定できる。しかし、HTTPS等により、L7での暗号化措置が講じられた際には、HTTP GET信号の情報を把握できないといった問題があるため、本実施の形態では、TCPヘッダ情報を利用することにより、各チャンクの取得時刻を推定することとしている。この動作は、図3に示したチャンクの取得時刻推定部232により実行される。
(Example of operation of chunk acquisition time estimation unit 232)
In the present invention, how to estimate the chunk acquisition time (observation time) from the packet capture data is not limited to a specific method, and for example, the chunk acquisition time can be estimated from an HTTP GET signal. However, there is a problem that the information of the HTTP GET signal cannot be grasped when the encryption measure in L7 is taken by HTTPS or the like. In this embodiment, by using the TCP header information, Chunk acquisition time is estimated. This operation is executed by the chunk acquisition time estimation unit 232 shown in FIG.

チャンクの取得時刻推定部232は、パケットデータ取得部210により取得されたTCPパケット(レイヤ4)の情報を用いてチャンクダウンロード完了タイミングを判定し、当該タイミングの時刻をチャンクの取得時刻とする。TCPパケットの情報を用いてチャンクダウンロード完了タイミングを判定する方法として、本実施の形態では、以下の2つの例について説明する。なお、ここでの「TCPパケット」とは、TCPヘッダとTCPペイロードを含むパケットを意味する。   The chunk acquisition time estimation unit 232 determines the chunk download completion timing using the information of the TCP packet (layer 4) acquired by the packet data acquisition unit 210, and sets the time at the timing as the chunk acquisition time. In the present embodiment, the following two examples will be described as methods for determining the chunk download completion timing using information of the TCP packet. Here, “TCP packet” means a packet including a TCP header and a TCP payload.

<例1:シーケンス番号を用いる例>
例1は、ダウンロード方向(配信サーバ300−>端末400)のTCPパケットのヘッダからシーケンス番号を取得し、当該シーケンス番号がある定数で増え続けている場合はチャンクダウンロード中と判断し、定数以外の増え方をした際にチャンクダウンロードが完了したと判定するものである。
<Example 1: Example using sequence number>
In Example 1, the sequence number is acquired from the header of the TCP packet in the download direction (distribution server 300-> terminal 400). If the sequence number continues to increase by a certain constant, it is determined that chunk downloading is in progress, It is determined that the chunk download is completed when the number is increased.

TCPによるパケットは、その経路上で通過可能な最大パケットサイズで構成される事から、あるチャンクをダウンロードしている最中では、TCPパケットのペイロード長は一定であり、最大ペイロード長となる。そして、チャンクをダウンロードする最後のTCPパケットのみがそれまでとは異なるペイロード長となる。なお、TCPパケットにおいて、最大ペイロード長は、(MTU(Maximum Transmission Unit)−ヘッダ長)として、ヘッダ情報から算出できる値である。MTUは、1回の転送で送信できるデータの最大値を示す値である。例えばEthernet(登録商標)の場合、MTUが1500でヘッダ長が40であるため、最大ペイロード長は1460である。   Since a TCP packet is configured with a maximum packet size that can pass through the path, the payload length of the TCP packet is constant during downloading a certain chunk, and is the maximum payload length. Only the last TCP packet for downloading the chunk has a different payload length. In the TCP packet, the maximum payload length is a value that can be calculated from the header information as (MTU (Maximum Transmission Unit) -header length). The MTU is a value indicating the maximum value of data that can be transmitted in one transfer. For example, in the case of Ethernet (registered trademark), since the MTU is 1500 and the header length is 40, the maximum payload length is 1460.

例1では、上記の特徴を活用して、TCPパケットのシーケンス番号の増加が不均一となるパケットをもってチャンクダウンロードが完了したと判断する。   In Example 1, using the above characteristics, it is determined that the chunk download has been completed with a packet in which the increase in the sequence number of the TCP packet is uneven.

TCPパケットのシーケンス番号は、当該TCPパケットに格納したデータ(ペイロード)の先頭が、送信データの何バイト目に相当するかを示す番号である。従って、上記のように、最大ペイロード長のデータを順次配信している場合は、シーケンス番号は最大ペイロード長ずつ増加する。しかし、パケットに分割されたチャンクの最後の部分では、データが最大ペイロード長よりも短くなるから、最大ペイロード長だけ増加しないことになる。なお、チャンクサイズが最大ペイロード長の整数倍の場合には、本方式は適用することができない。   The sequence number of the TCP packet is a number indicating the byte number of the transmission data at the head of the data (payload) stored in the TCP packet. Therefore, as described above, when data having the maximum payload length is sequentially delivered, the sequence number increases by the maximum payload length. However, in the last part of the chunk divided into packets, the data is shorter than the maximum payload length, so that the maximum payload length is not increased. Note that this method cannot be applied when the chunk size is an integral multiple of the maximum payload length.

以下、図10、図11、図12を参照して、例1におけるチャンクの取得時刻推定部232の動作を説明する。   Hereinafter, the operation of the chunk acquisition time estimation unit 232 in Example 1 will be described with reference to FIGS. 10, 11, and 12.

チャンクの取得時刻推定部232は、記憶部220に格納された、ダウンロード方向のTCPパケットを時系列で順次参照し、ヘッダからシーケンス番号を取得する。例えば、チャンクの取得時刻推定部232は、図10に示すようにパケット毎のシーケンス番号を取得する。   The chunk acquisition time estimation unit 232 sequentially refers to the TCP packets in the download direction stored in the storage unit 220 in time series, and acquires the sequence number from the header. For example, the chunk acquisition time estimation unit 232 acquires a sequence number for each packet as shown in FIG.

上記の動作を前提に、チャンクの取得時刻推定部232は、図11に示すシーケンス図の手順でチャンクダウンロード完了判定処理を行う。   On the premise of the above operation, the chunk acquisition time estimation unit 232 performs chunk download completion determination processing in the sequence diagram shown in FIG.

チャンクの取得時刻推定部232は、最大ペイロード長を取得する(ステップ311)。なお、最大ペイロード長の取得は、TCPパケット受信の度に毎回行う必要はなく、例えば、所定のパケット数毎、TCP接続毎に行うこと等が考えられる。   The chunk acquisition time estimation unit 232 acquires the maximum payload length (step 311). The acquisition of the maximum payload length does not need to be performed every time a TCP packet is received. For example, it may be performed every predetermined number of packets or every TCP connection.

続いて、チャンクの取得時刻推定部232は、現在対象としているTCPパケットのシーケンス番号から1つ前のTCPパケットのシーケンス番号を引くことにより、増加値、すなわち当該TCPパケットのペイロード長を算出する(ステップ312)。   Subsequently, the chunk acquisition time estimation unit 232 calculates an increase value, that is, the payload length of the TCP packet by subtracting the sequence number of the previous TCP packet from the sequence number of the TCP packet that is the current target ( Step 312).

そして、チャンクの取得時刻推定部232は、ステップ312で算出したペイロード長と最大ペイロード長とを比較し、これらが一致するか否か(同値であるか否か)を調べ(ステップ313)、一致する場合(ステップ313のYes)は次のTCPパケットのシーケンス番号を取得し、それを現在のシーケンス番号としてステップ312からの処理を繰り返す。   Then, the chunk acquisition time estimation unit 232 compares the payload length calculated in step 312 with the maximum payload length, and checks whether they match (is the same value) (step 313). If yes (Yes in step 313), the sequence number of the next TCP packet is acquired, and the processing from step 312 is repeated using this as the current sequence number.

ペイロード長と最大ペイロード長とが一致しない場合、すなわち、増加値と最大ペイロード長とが一致しない場合(ステップ313のNo)は、チャンクダウンロード完了と判定し(ステップ314)、チャンクの取得時刻推定部232は、例えば、そのときのTCPパケットのキャプチャ時刻(タイムスタンプから取得できる)をチャンク取得時刻としてメモリ等の記憶手段に保持する。   When the payload length and the maximum payload length do not match, that is, when the increase value and the maximum payload length do not match (No in Step 313), it is determined that the chunk download is completed (Step 314), and the chunk acquisition time estimation unit For example, 232 holds the capture time (which can be acquired from the time stamp) of the TCP packet at that time in a storage unit such as a memory as the chunk acquisition time.

例えば、図10に示した入力情報の例において、図12に示すように、パケット15まで一定値(1416バイト)で増加するが、パケット16は、パケット15から712バイト(≠1416バイト)だけしか増加していないから、パケット16の受信タイミングをチャンクのダウンロード完了タイミングと判定する。   For example, in the example of the input information shown in FIG. 10, as shown in FIG. 12, the packet 16 increases by a constant value (1416 bytes) until the packet 15, but the packet 16 is only 712 bytes (≠ 1416 bytes) from the packet 15. Since it has not increased, the reception timing of the packet 16 is determined as the chunk download completion timing.

<例2:確認応答(Ack)番号を用いる例>
例2は、アップロード方向(端末400−>配信サーバ300)のTCPパケットのヘッダからAck番号を取得し、Ack番号がある定数の整数倍(ここでの整数とは1以上の整数である)で増え続けている場合はチャンクダウンロード中と判定し、整数倍以外の増え方をした際にチャンクダウンロードが完了したと判定するものである。
<Example 2: Example using confirmation response (Ack) number>
In Example 2, the Ack number is acquired from the header of the TCP packet in the upload direction (terminal 400-> distribution server 300), and the Ack number is an integer multiple of a constant (the integer here is an integer of 1 or more). If the number continues to increase, it is determined that the chunk is being downloaded, and it is determined that the chunk download has been completed when the number is increased other than an integer multiple.

TCP通信では、パケットの受信側(端末400)は、受信パケットのシーケンス番号に、受信したデータ(ペイロード)のバイト数を加算したAck番号を含むTCPパケット(Ackパケットと呼ぶ)を返す動作を行う。ただし、TCP通信では、遅延応答(Delayed ACK)と呼ばれる、複数パケット分の応答をまとめて返すモードがある。例えば、2パケット分のAck番号を返す場合は、2パケットのうちの最初に受信したパケットのシーケンス番号に、2パケット分のペイロード長が加算された番号がAck番号として返される。   In TCP communication, the packet receiving side (terminal 400) performs an operation of returning a TCP packet (referred to as an Ack packet) including an Ack number obtained by adding the number of bytes of received data (payload) to the sequence number of the received packet. . However, in TCP communication, there is a mode called a delayed response (Delayed ACK) that collectively returns responses for a plurality of packets. For example, when returning the Ack number for two packets, a number obtained by adding the payload length for two packets to the sequence number of the packet received first among the two packets is returned as the Ack number.

例1で説明したとおり、チャンクダウンロード中は、TCPパケットのシーケンス番号は、最大ペイロード長で均一に増加していくので、1つ1つのパケットにAckを返す場合は、Ack番号は最大ペイロード長ずつ増加し、複数パケットに対してまとめてAckを返す場合は、最大ペイロード長の整数倍(パケットの個数分)だけ増加することになる。よって、上記のように、例2では、Ack番号がある定数の整数倍(ここでの整数とは1以上の整数である)で増え続けている場合はチャンクダウンロード中と判定し、整数倍以外の増え方をした際にチャンクダウンロードが完了したと判定するのである。   As described in Example 1, during chunk download, the sequence number of the TCP packet increases uniformly with the maximum payload length, so when returning Ack to each packet, the Ack number is incremented by the maximum payload length. In the case of increasing and returning Ack for a plurality of packets collectively, it is increased by an integral multiple (the number of packets) of the maximum payload length. Therefore, as described above, in Example 2, when the Ack number continues to increase by an integer multiple of a certain constant (the integer here is an integer of 1 or more), it is determined that chunk downloading is in progress, and other than the integer multiple It is determined that the chunk download has been completed when the number is increased.

以下、図13、図14、図15を参照して、例2におけるチャンクの取得時刻推定部232の動作を説明する。   Hereinafter, the operation of the chunk acquisition time estimation unit 232 in Example 2 will be described with reference to FIGS. 13, 14, and 15.

チャンクの取得時刻推定部232は、記憶部220におけるアップロード方向のAckパケットを時系列で順次参照し、ヘッダからAck番号を取得する。例えば、チャンクの取得時刻推定部232は、図13に示すようにパケット毎のAck番号を取得する。   The chunk acquisition time estimation unit 232 sequentially refers to the Ack packets in the upload direction in the storage unit 220 in time series, and acquires the Ack number from the header. For example, the chunk acquisition time estimation unit 232 acquires an Ack number for each packet as shown in FIG.

上記の動作を前提に、チャンクの取得時刻推定部232は、図14に示すシーケンス図の手順でチャンクダウンロード完了判定処理を行う。   On the premise of the above operation, the chunk acquisition time estimation unit 232 performs chunk download completion determination processing according to the sequence diagram shown in FIG.

チャンクの取得時刻推定部232は、最大ペイロード長を取得する(ステップ321)。なお、最大ペイロード長の取得は、Ackパケット取得の度に毎回行う必要はなく、例えば、所定のパケット数毎、TCP接続毎に行うこと等が考えられる。   The chunk acquisition time estimation unit 232 acquires the maximum payload length (step 321). The maximum payload length need not be acquired every time an Ack packet is acquired. For example, it may be performed every predetermined number of packets or every TCP connection.

続いて、チャンクの取得時刻推定部232は、現在対象としているAckパケットのAck番号から1つ前のAckパケットのAck番号を引くことにより、Ack番号の増加値を算出する(ステップ322)。この増加値は、前回のAckパケット送信時以降、今回のAckパケット送信までに受信したパケットのペイロード長の合計に相当する。   Subsequently, the chunk acquisition time estimation unit 232 calculates an increase value of the Ack number by subtracting the Ack number of the previous Ack packet from the Ack number of the current Ack packet (step 322). This increased value corresponds to the total payload length of the packets received from the previous Ack packet transmission until the current Ack packet transmission.

そして、チャンクの取得時刻推定部232は、ステップ322で算出した増加値と最大ペイロード長とを比較し、増加値が最大ペイロード長の整数(1以上の整数)倍であるか否かを調べ(ステップ323)、整数倍である場合(ステップ323のYes)は次のAckパケットのAck番号を取得し、それを現在のAck番号としてステップ322からの処理を繰り返す。   Then, the chunk acquisition time estimation unit 232 compares the increase value calculated in step 322 with the maximum payload length, and checks whether the increase value is an integer (an integer greater than or equal to 1) times the maximum payload length ( In step 323), if it is an integral multiple (Yes in step 323), the Ack number of the next Ack packet is acquired, and the process from step 322 is repeated using this as the current Ack number.

増加値が最大ペイロード長の整数倍でない場合(ステップ323のNo)は、チャンクダウンロード完了と判定し(ステップ324)、チャンクの取得時刻推定部232は、例えば、そのときのAckパケットのキャプチャ時刻(タイムスタンプから取得できる)をチャンク取得時刻としてメモリ等の記憶手段に保持する。   When the increase value is not an integer multiple of the maximum payload length (No in Step 323), it is determined that the chunk download is completed (Step 324), and the chunk acquisition time estimation unit 232, for example, captures the Ack packet at that time ( Can be acquired from the time stamp) as a chunk acquisition time in a storage means such as a memory.

例えば、図13に示した入力情報の例において、図15に示すように、パケット8まで1416バイトの整数倍で増加するが、パケット9は、パケット8から712バイト(≠1416バイトの整数倍)だけしか増加していないから、パケット9の取得タイミングをチャンクのダウンロード完了タイミングと判定する。   For example, in the example of the input information shown in FIG. 13, as shown in FIG. 15, the packet 9 is increased by an integer multiple of 1416 bytes, but the packet 9 is 712 bytes from the packet 8 (an integer multiple of 1416 bytes). Therefore, the packet 9 acquisition timing is determined as the chunk download completion timing.

(実施の形態のまとめ、効果等)
本実施の形態に係る技術によれば、例えば図9に示したとおり、動的にレート制御を実施するプログレッシブダウンロード型映像配信サービスにおいて、再生・停止のみならず、画質も含めた再生状態推定を高精度で実現可能である。
(Summary of the embodiment, effects, etc.)
According to the technology according to the present embodiment, for example, as shown in FIG. 9, in a progressive download video distribution service that dynamically performs rate control, not only playback / stop but also playback state estimation including image quality is performed. It can be realized with high accuracy.

ここで、例えば非特許文献1〜3に記載された従来技術では、TCPヘッダ情報に基づき、配信される映像データのチャンクを識別する手段に言及していない。商用サービスにおいては、実装によりHTTPペイロードの解析によりチャンクの識別ならびにチャンク番号、画質の取得が可能である場合もある。しかし、当該手法は実装依存であり、HTTPペイロード中にこれらの情報の記載が無い場合や、配信サービスがHTTPSで実装されている場合には適用することができない。   Here, for example, the conventional techniques described in Non-Patent Documents 1 to 3 do not refer to means for identifying chunks of video data to be distributed based on TCP header information. In commercial services, the chunk identification, chunk number, and image quality may be obtained by analyzing the HTTP payload depending on the implementation. However, this method is implementation-dependent, and cannot be applied when such information is not described in the HTTP payload or when the distribution service is implemented by HTTPS.

一方、本実施の形態に係る技術では、TCPパケットのヘッダ情報に基づき、配信される映像データのチャンクの観測時刻、チャンク長等を識別できるので、HTTPペイロード中に記載が無い場合や、HTTPSで実装されている場合でも、チャンク毎の画質を判別でき、画質変更箇所を検知することが可能である。   On the other hand, in the technology according to the present embodiment, the observation time, chunk length, etc. of the chunk of video data to be distributed can be identified based on the header information of the TCP packet, and when there is no description in the HTTP payload, Even when it is mounted, it is possible to determine the image quality for each chunk, and it is possible to detect an image quality change location.

また、非特許文献1〜3に記載された従来技術では、画質変更を勘案していないため、画質変更発生時点以降のバッファ内チャンク数が現実と乖離する問題があるが、本実施の形態に係る技術では、これまでに説明したとおり、画質変更を勘案するため、動的レート制御を伴うプログレッシブダウンロード映像配信サービスを対象とする場合でも、正確にバッファ内チャンク数や再生状態を推定できる。つまり、本実施の形態では、画質変更前後の各画質の組合わせに依存して異なるアルゴリズムに基づきバッファ内チャンクを処理することが可能であり、バッファ内の画質切り替え処理を模擬することにより画質変更発生時にも高精度で再生状態推定を実現する技術を提供できる。   In addition, since the conventional techniques described in Non-Patent Documents 1 to 3 do not take into account the image quality change, there is a problem that the number of chunks in the buffer after the image quality change occurs is different from the actual one. In this technique, as described above, since the change in image quality is taken into consideration, the number of chunks in the buffer and the playback state can be accurately estimated even when a progressive download video distribution service with dynamic rate control is targeted. In other words, in this embodiment, it is possible to process the chunks in the buffer based on different algorithms depending on the combination of the respective image quality before and after the image quality change, and change the image quality by simulating the image quality switching process in the buffer. It is possible to provide a technique for realizing reproduction state estimation with high accuracy even when it occurs.

本発明は、上記の実施の形態に限定されることなく、特許請求の範囲内において、種々変更・応用が可能である。   The present invention is not limited to the above-described embodiments, and various modifications and applications are possible within the scope of the claims.

100 映像再生状態推定装置、映像再生状態推定部
1 チャンク長密度推定部
2 画質変更検知部
21 判定結果蓄積部
3 バッファ処理部
31 再生状態蓄積部
200 映像再生状態推定装置
210 パケットデータ取得部
220 記憶部
230 チャンク状態推定部
231 チャンクの時間長推定部
232 チャンクの取得時刻指定部
100 Video playback state estimation device, video playback state estimation unit 1 chunk length density estimation unit 2 image quality change detection unit 21 determination result storage unit 3 buffer processing unit 31 playback state storage unit 200 video playback state estimation device 210 packet data acquisition unit 220 storage Unit 230 chunk state estimation unit 231 chunk time length estimation unit 232 chunk acquisition time designation unit

Claims (7)

配信サーバから映像データをチャンク単位で端末に対して配信する映像配信方式において、端末における映像データの再生状態を推定する映像再生状態推定装置であって、
前記映像データのキャプチャデータから取得された各チャンクのチャンク長に基づいて各チャンクの画質を推定する画質推定手段と、
前記映像データにおけるチャンクの観測時刻毎にチャンクを順次仮想的バッファに蓄積し、当該仮想的バッファ内チャンクの中で観測時刻が最も早いチャンクを再生対象とし、当該チャンクの持続時間経過後に当該チャンクを消去するとともに、当該チャンクの持続時間を当該チャンクに対応する画質の映像が再生されている時間として、当該時間の情報と画質とを記憶部に蓄積するバッファ処理手段と
を備えることを特徴とする映像再生状態推定装置。
In a video distribution method for distributing video data from a distribution server to a terminal in units of chunks, a video playback state estimation device for estimating a playback state of video data in a terminal,
Image quality estimating means for estimating the image quality of each chunk based on the chunk length of each chunk acquired from the captured data of the video data;
Chunks are sequentially stored in a virtual buffer at each chunk observation time in the video data, and the chunk with the earliest observation time among the chunks in the virtual buffer is set as a reproduction target. And a buffer processing means for storing the information of the time and the image quality in a storage unit, with the duration of the chunk being the time during which a video of the image quality corresponding to the chunk is being played back. Video playback state estimation device.
前記画質推定手段は、画質とチャンク長の範囲とを対応付けたデータと、前記各チャンクのチャンク長とに基づいて各チャンクの画質を推定する
ことを特徴とする請求項1に記載の映像再生状態推定装置。
2. The video reproduction according to claim 1, wherein the image quality estimation unit estimates the image quality of each chunk based on data in which image quality is associated with a range of chunk lengths and the chunk length of each chunk. State estimation device.
前記バッファ処理手段は、順次仮想的バッファに蓄積されるチャンクの画質が変更されたときに、画質変更前後の画質の組み合わせに応じて予め定めた数まで残存する画質変更前チャンクを再生した後に、画質変更後のチャンクを再生対象とする
ことを特徴とする請求項1又は2に記載の映像再生状態推定装置。
When the image quality of the chunks sequentially stored in the virtual buffer is changed, the buffer processing means, after reproducing the pre-image quality change chunks remaining up to a predetermined number according to the combination of the image quality before and after the image quality change, The video playback state estimation device according to claim 1 or 2, wherein a chunk after the image quality change is set as a playback target.
前記予め定めた数が0である場合、前記バッファ処理手段は、変更後の画質のチャンクを観測した時刻に再生中のチャンクを持続時間経過により消去した直後に、仮想的バッファ内チャンクを全てクリアし、前記変更後の画質のチャンクを再生対象とする
ことを特徴とする請求項3に記載の映像再生状態推定装置。
When the predetermined number is 0, the buffer processing unit clears all the chunks in the virtual buffer immediately after erasing the chunks being played back at the time when the chunks with the changed image quality are observed. The video playback state estimation apparatus according to claim 3, wherein the changed image quality chunk is a playback target.
前記キャプチャデータにおけるTCPパケットのヘッダ情報に基づいて、前記各チャンクの観測時刻を推定する手段を備える
ことを特徴とする請求項1ないし4のうちいずれか1項に記載の映像再生状態推定装置。
5. The video playback state estimation device according to claim 1, further comprising means for estimating an observation time of each chunk based on header information of a TCP packet in the capture data.
配信サーバから映像データをチャンク単位で端末に対して配信する映像配信方式において、端末における映像データの再生状態を推定する映像再生状態推定装置が実行する映像再生状態推定方法であって、
前記映像データのキャプチャデータから取得された各チャンクのチャンク長に基づいて各チャンクの画質を推定する画質推定ステップと、
前記映像データにおけるチャンクの観測時刻毎にチャンクを順次仮想的バッファに蓄積し、当該仮想的バッファ内チャンクの中で観測時刻が最も早いチャンクを再生対象とし、当該チャンクの持続時間経過後に当該チャンクを消去するとともに、当該チャンクの持続時間を当該チャンクに対応する画質の映像が再生されている時間として、当該時間の情報と画質とを記憶手段に蓄積するバッファ処理ステップと
を備えることを特徴とする映像再生状態推定方法。
In a video distribution method for distributing video data from a distribution server to a terminal in units of chunks, a video playback state estimation method executed by a video playback state estimation device that estimates a playback state of video data in a terminal,
An image quality estimation step of estimating the image quality of each chunk based on the chunk length of each chunk acquired from the captured data of the video data;
Chunks are sequentially stored in a virtual buffer at each chunk observation time in the video data, and the chunk with the earliest observation time among the chunks in the virtual buffer is set as a reproduction target. And a buffer processing step for storing the information of the time and the image quality in the storage means, with the duration of the chunk being the time during which the video of the image quality corresponding to the chunk is being played back. Video playback state estimation method.
コンピュータを、請求項1ないし5のうちいずれか1項に記載の映像再生状態推定装置における各手段として機能させるためのプログラム。   The program for functioning a computer as each means in the image | video reproduction | regeneration state estimation apparatus of any one of Claims 1 thru | or 5.
JP2013249738A 2013-12-03 2013-12-03 Video playback state estimation device, video playback state estimation method, and program Active JP6053176B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013249738A JP6053176B2 (en) 2013-12-03 2013-12-03 Video playback state estimation device, video playback state estimation method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013249738A JP6053176B2 (en) 2013-12-03 2013-12-03 Video playback state estimation device, video playback state estimation method, and program

Publications (2)

Publication Number Publication Date
JP2015106897A JP2015106897A (en) 2015-06-08
JP6053176B2 true JP6053176B2 (en) 2016-12-27

Family

ID=53436771

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013249738A Active JP6053176B2 (en) 2013-12-03 2013-12-03 Video playback state estimation device, video playback state estimation method, and program

Country Status (1)

Country Link
JP (1) JP6053176B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2383999A1 (en) * 2010-04-29 2011-11-02 Irdeto B.V. Controlling an adaptive streaming of digital content
WO2013065804A1 (en) * 2011-11-02 2013-05-10 日本電信電話株式会社 Content reproduction information estimating device, method and program
JP5696032B2 (en) * 2011-12-22 2015-04-08 日本電信電話株式会社 Content reception amount estimation apparatus and program
US9386058B2 (en) * 2012-02-27 2016-07-05 Qualcomm Incorporated DASH client and receiver with playback rate selection

Also Published As

Publication number Publication date
JP2015106897A (en) 2015-06-08

Similar Documents

Publication Publication Date Title
Huang et al. QARC: Video quality aware rate control for real-time video streaming based on deep reinforcement learning
JP5875725B2 (en) Content reproduction information estimation apparatus, method, and program
Karagkioules et al. Online learning for low-latency adaptive streaming
CN109474854B (en) Video playing method, playlist generating method and related equipment
US20230208738A1 (en) Bit-Rate Extraction for Encrypted Video
Seufert et al. Features that matter: Feature selection for on-line stalling prediction in encrypted video streaming
US8886615B2 (en) Web service performance optimization by adaptively using compression
JP5938015B2 (en) Chunk download completion determination device, chunk download completion determination method, and program
US20150121410A1 (en) Method and a network for determining user behavior during delivery of video content
Nam et al. Mobile video is inefficient: A traffic analysis
Sun et al. Optimal strategies for live video streaming in the low-latency regime
Pereira et al. Cross-layer effects on training neural algorithms for video streaming
WO2015089793A1 (en) Method and device for measuring quality of experience of mobile video service
Szilágyi et al. Network side lightweight and scalable YouTube QoE estimation
US11303573B2 (en) Method and system for managing the download of data
JP6053176B2 (en) Video playback state estimation device, video playback state estimation method, and program
Nam et al. A mobile video traffic analysis: Badly designed video clients can waste network bandwidth
Wang et al. Assessing the quality of experience of HTTP video streaming considering the effects of pause position
EP3324639A1 (en) A system and method for estimating performance metrics for video streaming
Yu et al. Impact of end-user playout buffer dynamics on HTTP progressive video QoE in wireless networks
Bouzian Modeling and optimization of the quality of customer experience (QoE) of data services on the mobile network. Application to video streaming
Yoon et al. Mobile data service QoE analytics and optimization
Horváth et al. Characterization and modelling of youtube traffic in mobile networks
Horváth et al. Modelling of YouTube traffic in high speed mobile networks
CN109922307B (en) Multimedia data transmission method and camera

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160113

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20161013

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20161122

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161128

R150 Certificate of patent or registration of utility model

Ref document number: 6053176

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150