JP2009284007A - Streaming playback apparatus and streaming playback device - Google Patents
Streaming playback apparatus and streaming playback device Download PDFInfo
- Publication number
- JP2009284007A JP2009284007A JP2008130995A JP2008130995A JP2009284007A JP 2009284007 A JP2009284007 A JP 2009284007A JP 2008130995 A JP2008130995 A JP 2008130995A JP 2008130995 A JP2008130995 A JP 2008130995A JP 2009284007 A JP2009284007 A JP 2009284007A
- Authority
- JP
- Japan
- Prior art keywords
- playback
- file
- streaming
- reproduction
- network
- 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.)
- Withdrawn
Links
Images
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
- Television Signal Processing For Recording (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
本発明は、光ディスク等から読み出した再生制御ファイルに基づき、ネットワークサーバ等から1又は複数の再生ファイルを順にダウンロードしつつ、ダウンロードされた再生ファイルを順に再生するストリーミング再生技術に関する。 The present invention relates to a streaming playback technique for sequentially playing back downloaded playback files while sequentially downloading one or more playback files from a network server or the like based on a playback control file read from an optical disc or the like.
近年、一般家庭等におけるネットワーク環境の向上に伴い、ストリーミング再生技術を利用した映画等のコンテンツ配信が提案されている。映画等のコンテンツを配信する上では、途中で途切れることなく動画像を表示させるためのストリーミング再生技術が必要となる。そこで、ネットワークサーバ上のファイルを情報再生装置によりダウンロードするにあたり、情報再生装置のネットワークスループットに対応したファイルを選択する技術が提案されている(特許文献1参照)。
しかしながら、上記技術によれば、例えば、ネットワークスループットが低ければ低いほど、ダウンロードされるファイルの品質低下等が予想される。 However, according to the above technique, for example, the lower the network throughput is, the lower the quality of the downloaded file is expected.
本発明の目的は、ネットワークスループット性能の影響を受け難く、安定したストリーミング再生を可能とするストリーミング再生装置及びストリーミング再生方法を提供することにある。 An object of the present invention is to provide a streaming playback apparatus and a streaming playback method that are not easily affected by network throughput performance and enable stable streaming playback.
この発明の一実施形態に係るストリーミング再生装置は、サーバに対してネットワークを介して接続し、前記サーバから再生ファイルを取得し、前記再生ファイルを再生するストリーミング再生装置であって、再生制御ファイルにより指定タイミングで取得するように指示された再生ファイルを前記指定タイミングより早い事前タイミングでネットワークを介して前記サーバから取得する取得手段と、前記取得手段により取得された前記再生ファイルを記憶する記憶手段と、前記再生制御ファイルに基づき再生動作を制御する再生制御手段と、を備え、前記再生制御手段は、前記再生制御ファイルに基づく前記指定タイミングでの前記再生ファイルの取得指示に対応し、前記記憶手段に記憶された前記再生ファイルを提供する。 A streaming playback device according to an embodiment of the present invention is a streaming playback device that connects to a server via a network, acquires a playback file from the server, and plays back the playback file. An acquisition means for acquiring a reproduction file instructed to be acquired at a specified timing from the server via a network at a timing earlier than the specified timing; and a storage means for storing the reproduction file acquired by the acquisition means; Reproduction control means for controlling a reproduction operation based on the reproduction control file, wherein the reproduction control means corresponds to an instruction to acquire the reproduction file at the designated timing based on the reproduction control file, and the storage means The playback file stored in the file is provided.
この発明の一実施形態に係るストリーミング再生方法は、サーバに対してネットワークを介して接続し、前記サーバから再生ファイルを取得し、前記再生ファイルを再生するストリーミング再生方法であって、再生制御ファイルにより指定タイミングで取得するように指示された再生ファイルを前記指定タイミングより早い事前タイミングでネットワークを介して前記サーバから取得し、前記取得された前記再生ファイルを記憶し、前記再生制御ファイルに基づく前記指定タイミングでの前記再生ファイルの取得指示に対応し、前記記憶手段に記憶された前記再生ファイルを提供する。 A streaming playback method according to an embodiment of the present invention is a streaming playback method of connecting to a server via a network, acquiring a playback file from the server, and playing back the playback file. A playback file instructed to be acquired at a specified timing is acquired from the server via a network at a timing earlier than the specified timing, the acquired playback file is stored, and the specification based on the playback control file The playback file stored in the storage means is provided in response to an instruction to acquire the playback file at the timing.
本発明によれば、ネットワークスループット性能の影響を受け難く、安定したストリーミング再生を可能とするストリーミング再生装置及びストリーミング再生方法を提供できる。 According to the present invention, it is possible to provide a streaming playback apparatus and a streaming playback method that are not easily affected by network throughput performance and enable stable streaming playback.
以下、図面を参照し、本発明の第1及び第2の実施形態について説明する。 Hereinafter, first and second embodiments of the present invention will be described with reference to the drawings.
第1の実施形態に係るストリーミング再生装置(ストリーミング再生方法)の概要は、以下の通りである。 The outline of the streaming playback apparatus (streaming playback method) according to the first embodiment is as follows.
1.ストリーミング再生装置は、再生制御ファイルにより指定タイミングで取得するように指示されたストリーミング再生に必要な再生ファイルを、この指定タイミングより早い事前タイミングでネットワークを介してサーバからダウンロードする。 1. The streaming playback device downloads a playback file necessary for streaming playback instructed to be acquired at a specified timing by the playback control file from the server via a network at a timing earlier than the specified timing.
2.さらに、ストリーミング再生装置は、再生ファイルの種類に応じて事前タイミングでダウンロードする優先順位を決定し、優先順位に基づき再生ファイルを事前タイミングでネットワークを介してサーバからダウンロードする。 2. Furthermore, the streaming playback apparatus determines the priority order of downloading at a prior timing according to the type of the playback file, and downloads the playback file from the server via the network at the prior timing based on the priority order.
以上により、以下の効果が得られる。 As described above, the following effects can be obtained.
1.ストリーミング再生装置が、事前タイミングで再生ファイルをダウンロードするため、つまりある程度時間に余裕があるタイミングで再生ファイルをダウンロードするため、ネットワークスループットが狭い環境でも安定した品質でストリーミング再生を行うことができる。 1. Since the streaming playback device downloads the playback file at a pre-timing, that is, the playback file is downloaded at a timing with some time margin, streaming playback can be performed with stable quality even in an environment where the network throughput is narrow.
2.ストリーミング再生装置が、高いネットワークスループットを要する再生ファイル(例えば高画質な画像ファイル、又は高音質な音声ファイル)を優先的にダウンロードすることができ、高いネットワークスループットを要するストリーミング再生の成功率の向上を図ることができる。 2. Streaming playback devices can preferentially download playback files that require high network throughput (for example, high-quality image files or high-quality audio files), improving the success rate of streaming playback that requires high network throughput. Can be planned.
第2の実施形態に係るストリーミング再生装置(ストリーミング再生方法)の概要は以下の通りである。なお、第2の実施形態は第1の実施形態を前提とするものである。つまり、第2の実施形態は、第1の実施形態の概要に加えて、以下の概要を備えるものである。 The outline of the streaming playback apparatus (streaming playback method) according to the second embodiment is as follows. The second embodiment is premised on the first embodiment. That is, the second embodiment has the following outline in addition to the outline of the first embodiment.
1.ストリーミング再生装置は、サーバに対して、自身の実際のネットワークスループットより高いネットワークスループット(以下、第1のダミーネットワークスループットと称する)を通知する。 1. The streaming playback apparatus notifies the server of a network throughput higher than its actual network throughput (hereinafter referred to as a first dummy network throughput).
2.また、ストリーミング再生装置は、ストリーミング再生の種類(再生ファイルの種類)に応じて、サーバに対して、第1のダミーネットワークスループットを通知する。例えば、ストリーミング再生装置は、高画質な画像ファイル又は高音質な音声ファイルを要求したいときに、サーバに対して、第1のダミーネットワークスループットを通知する。 2. Further, the streaming playback apparatus notifies the server of the first dummy network throughput according to the type of streaming playback (type of playback file). For example, the streaming playback device notifies the server of the first dummy network throughput when requesting a high-quality image file or a high-quality sound file.
3.また、ストリーミング再生装置は、記録領域の残容量に応じて、サーバに対して、自身の実際のネットワークスループットより低いネットワークスループット(以下、第2のダミーネットワークスループットと称する)を通知する。 3. Also, the streaming playback apparatus notifies the server of a network throughput lower than its actual network throughput (hereinafter referred to as a second dummy network throughput) according to the remaining capacity of the recording area.
以上により、以下の効果が得られる。 As described above, the following effects can be obtained.
1.ストリーミング再生装置が、事前タイミングで再生ファイルをダウンロードするにあたり、サーバに対して第1のダミーネットワークスループットを通知するので、高いネットワークスループットを持つ再生装置用の再生ファイル(例えば高画質な画像ファイル、又は高音質な音声ファイル)を取得することができる。よって、ストリーミング再生装置の実際のネットワークスループットが低くても、このストリーミング再生装置が、高い品質のストリーミング再生を行うことができる。 1. When the streaming playback device downloads the playback file at the prior timing, the server notifies the server of the first dummy network throughput, so that the playback file for the playback device having a high network throughput (for example, a high-quality image file, or High-quality sound files). Therefore, even if the actual network throughput of the streaming playback device is low, this streaming playback device can perform high-quality streaming playback.
2.ストリーミング再生装置が、例えばメインビデオに対応した再生ファイルを事前タイミングでダウンロードする場合に、サーバに対して第1のダミーネットワークスループットを通知し、他の再生ファイルを事前タイミングでダウンロードする場合に、サーバに対して実際のネットワークスループットを通知する。これにより、ストリーミング再生装置は、高画質なメインビデオの再生ファイルを取得することができ、また、他の再生ファイルによる通信トラフィックの増大及び他の再生ファイルによる記憶資源の消費を抑えることができる。つまり、通信帯域及び記憶資源を有効活用できる。 2. For example, when the streaming playback device downloads a playback file corresponding to the main video at a pre-time, the server notifies the server of the first dummy network throughput and downloads another playback file at the pre-time. Is notified of the actual network throughput. As a result, the streaming playback apparatus can acquire a high-quality main video playback file, and can suppress an increase in communication traffic due to other playback files and consumption of storage resources due to other playback files. That is, communication bandwidth and storage resources can be effectively used.
以下、第1及び第2の実施形態の詳細について順に説明する。最初に、第1の実施形態について説明する。 Hereinafter, details of the first and second embodiments will be described in order. First, the first embodiment will be described.
図1は、本発明の第1の実施形態に係るストリーミング再生システムの概要を示す図である。ストリーミング再生システムは、再生ファイルサーバ1、ストリーミング再生装置2、再生装置3を備えている。ストリーミング再生装置2は、ネットワークを介して再生ファイルサーバ1と接続し、再生ファイルサーバ1に対して再生ファイルを要求し、ネットワークを介して再生ファイルサーバ1から再生ファイルをダウンロードする。
FIG. 1 is a diagram showing an overview of a streaming playback system according to the first embodiment of the present invention. The streaming playback system includes a
ストリーミング再生装置2は、再生ファイル取得部21、記憶部22、ストリーミング事前ダウンロード制御部23、ストリーミング管理部24、再生制御部25、再生部26を備えている。さらに、再生ファイル取得部21は、ネットワークアクセス部211、ディスクアクセス部212を備えている。
The
再生制御部25は、入力された再生制御ファイルを再生開始直後に解析し、その解析結果をもとにストリーミングの再生指示を再生部26へ通知し、再生部26による再生を制御する。再生制御ファイルとは、再生主制御ファイルを含む、再生を制御するために必要な情報が記載されているファイルである。再生主制御ファイルとは、再生に必要なファイル(以降、再生ファイル)や、再生ファイルの取得タイミング、再生の開始や終了等の情報が記載されているファイルである。
The
図2は、再生主制御ファイルの一例を示す図である。図2中のpreloadは再生ファイルの取得開始時刻を意味する。preloadがない場合は、titleTimeBeginから再生ファイルの取得が開始される。titleTimeBeginは再生開始時刻を意味する。titleTimeEndは再生終了時刻を意味する。srcは、再生ファイル名を意味する。dataSource="Network"は、再生ファイルをネットワーク上のサーバからストリーミングにより取得することを意味する。onEndには、そのタイトルが終わった後にどのタイトルを実行するかが記述されている。titleNumber=1のタイトルがまず再生される。 FIG. 2 is a diagram showing an example of the playback main control file. Preload in FIG. 2 means a reproduction file acquisition start time. When there is no preload, acquisition of the playback file is started from titleTimeBegin. titleTimeBegin means the playback start time. titleTimeEnd means the playback end time. src means a playback file name. dataSource = “Network” means that a reproduction file is acquired from a server on the network by streaming. onEnd describes which title is executed after the title ends. The title of titleNumber = 1 is played first.
図2に示す再生主制御ファイルによるタイトル構成と再生の流れを説明する。 The title structure and playback flow by the playback main control file shown in FIG. 2 will be described.
まずこのタイトルは、MainTitle, Streaming1, Streaming2の3つのタイトルにより構成されている。再生後、まずMainTitleが再生される。MainTitle が終わるとStreaming1が再生される。Streaming1が終わるとStreaming2が再生される。Streaming2が終わるとMainTitleに戻る。Streaming1とStreaming2はともにストリーミングにより再生される。Streaming1はタイトル開始後すぐに再生ファイルの取得と再生が開始され、再生は10分間続く。Streaming2は、タイトル開始後すぐに再生ファイルの取得が行われる。タイトル開始後5秒後に再生が開始され、再生は5分間続く。
First, this title is composed of three titles, MainTitle,
図3は、図2に示す再生主制御ファイルとは別の再生主制御ファイルの一例を示す図である。図3に示すように、Streaming1タイトルにNetworkSourceタグがある。このような場合ストリーミング再生装置は、ストリーミング再生装置の実際のスループットがNetworkSourceタグのnetworkThroughputに記載されているスループットより大きければ、図2で説明した再生ファイルの変わりにNetworkSourceタグのsrc=以降に指定されたファイルを再生ファイルとして使用する。例えば、ストリーミング再生装置のスループットが5000Kbps以上の場合は、"http://www.example.com/SEVOB1-High.MAP"を再生ファイルとして使用する。1000Kbps以上の場合は、"http://www.example.com/SEVOB1-Mid.MAP"を再生ファイルとして使用する。1000Kbpsより小さい場合は、図2と同様に"http://www.example.com/SEVOB.MAP"を再生ファイルとして使用する。 FIG. 3 is a diagram showing an example of a reproduction main control file different from the reproduction main control file shown in FIG. As shown in FIG. 3, the Streaming1 title has a NetworkSource tag. In such a case, if the actual throughput of the streaming playback device is larger than the throughput described in the networkSource tag networkThroughput, the streaming playback device is specified after src = of the NetworkSource tag instead of the playback file described in FIG. Use the recorded file as a playback file. For example, when the throughput of the streaming playback device is 5000 Kbps or more, “http://www.example.com/SEVOB1-High.MAP” is used as the playback file. In the case of 1000 Kbps or more, “http://www.example.com/SEVOB1-Mid.MAP” is used as a playback file. If it is smaller than 1000 Kbps, “http://www.example.com/SEVOB.MAP” is used as a playback file as in FIG.
再生部26は、再生制御部25からのストリーミング再生指示を受けると、Streaming管理部24に取得指示を出し、得られた再生データを使用して、映像や音声を再生装置3へ出力する。再生制御部25からの再生制御を受けた場合は、再生ファイル取得部21に再生データの取得指示を出し、同様に映像や音声を再生装置3へ出力する。
When receiving the streaming reproduction instruction from the
Streaming管理部24は、ストリーミング再生のための再生データフローを制御する。Streaming管理部24は、再生部26からの指示に従い、再生ファイル取得部21から再生データを取得し、取得した再生データを適宜再生部26へ渡す。
The streaming management unit 24 controls a playback data flow for streaming playback. The streaming management unit 24 acquires playback data from the playback
Streaming事前ダウンロード制御部23は、再生開始直後まず再生主制御ファイルからストリーミング用の再生ファイル名を抜き出す。図2に示す再生主制御ファイルの場合は、dataSource="Network"と記載されているタグの中のsrc=以降に指定されている文字列を抜き出すことにより取得できる。あるいは図3に示す再生主制御ファイルの場合は、ストリーミング再生装置のスループットに応じてNetworkSourceタグのsrc=以降に指定された文字列を抜き出すことにより取得する。 The streaming pre-download control unit 23 first extracts a playback file name for streaming from the playback main control file immediately after the start of playback. In the case of the reproduction main control file shown in FIG. 2, it can be acquired by extracting a character string specified after src = in the tag described as dataSource = "Network". Alternatively, the reproduction main control file shown in FIG. 3 is obtained by extracting a character string designated after src = of the NetworkSource tag according to the throughput of the streaming reproduction apparatus.
次にStreaming事前ダウンロード制御部23は、再生ファイル取得部21に対し、再生ファイル取得指示を出す。再生ファイル取得指示には、取得元情報と提供先情報が含まれる。取得元情報は抜き出した再生ファイル名が対応し、取得元情報により再生ファイルの所在が判明する。提供先情報は記憶部22の記憶領域を指す情報である。ここで、必要な再生ファイル名が再生主制御ファイルに全て記載されていない場合がある。
Next, the streaming pre-download control unit 23 issues a reproduction file acquisition instruction to the reproduction
例えば、図2に示す再生主制御ファイルの例では、Sample1の再生ファイルとしてhttp://www.example.com/SEVOB1.MAPと指定されているが、Sample1を再生するためには、SEVOB1.MAPの中で指定されているビデオファイルも必要である。 For example, in the example of the playback main control file shown in FIG. 2, http://www.example.com/SEVOB1.MAP is specified as the playback file for Sample1, but SEVOB1.MAP is used to play Sample1. The video file specified in is also required.
この様な場合、Streaming事前ダウンロード制御部23は、SEVOB1.MAPダウンロード後にSEVOB1.MAPを解析し、そこに指定されているビデオファイル名を得て、得た情報を取得元情報とし、提供先情報を記憶部22の記憶領域として再生ファイル取得部21に再度再生ファイル取得指示を出す。
In such a case, the streaming pre-download control unit 23 analyzes SEVOB1.MAP after downloading SEVOB1.MAP, obtains the video file name specified therein, uses the obtained information as acquisition source information, and provides destination information. As a storage area of the
再生主制御ファイルから得られた再生ファイル名が複数ある場合は、同様に処理する。複数ある場合の再生ファイル取得部21への指示は、一つずつ順に行ってもいいし、複数同時に行ってもいい。
If there are a plurality of playback file names obtained from the playback main control file, the same processing is performed. The instructions to the reproduction
また、異なるホスト名のURLを組み合わせて同時に指示を出しても良い。ここでホスト名とは、ネットワークに接続された機器を識別するための名前である。例えば、http://www.example.com/SEVOB1.MAPのホスト名は、www.example.comである。 In addition, a combination of URLs with different host names may be issued simultaneously. Here, the host name is a name for identifying a device connected to the network. For example, the host name of http://www.example.com/SEVOB1.MAP is www.example.com.
再生ファイル取得部21は、取得元情報(パス付きファイル名やURL)と提供先情報とから成る再生ファイル取得指示を受けると、取得元情報に従い再生ファイルを取得し、提供先情報に従い取得した再生ファイルを渡す。
When receiving the reproduction file acquisition instruction including the acquisition source information (file name or URL with path) and the provision destination information, the reproduction
また、結果(取得の成功・不成功)を取得指示元へ返す。再生ファイル取得部21は、再生ファイルの取得元情報毎にアクセス部を有し、取得元情報に対応したアクセス部により処理を行う。
In addition, the result (acquisition success / failure) is returned to the acquisition instruction source. The reproduction
例えば、再生ファイルの取得元がNetworkを意味するものであれば、Networkアクセス部211により処理を行う。再生ファイル取得元が再生ディスク上のファイルであれば、ディスクアクセス部212により処理を行う。
For example, if the playback file acquisition source means Network, the
Networkアクセス部211は、取得元情報として渡されたURLに従ってネットワーク上の再生ファイルサーバ1から再生ファイルを取得する。提供先情報が記憶部22の記憶領域であれば、Networkアクセス部211は、取得した再生ファイルを記憶領域に保存する。保存するファイル名には、URLの情報が含まれるようにする。
The
またNetworkアクセス部211は、Streaming事前ダウンロード制御部23からの要求によるダウンロードをしている途中で、Streaming管理部24からの再生ファイル取得要求が来た場合、あるいはStreaming管理部24への再生ファイルを取得している最中にStreaming事前ダウンロード制御部23からの要求がきた場合は、Streaming事前ダウンロード制御部23の要求によるダウンロードを中止し、再生ファイル取得失敗としてStreaming事前ダウンロード制御部23へ結果を返すこともできる。
In addition, the
Networkアクセス部211は、Streaming管理部24からの再生データ取得指示を受けた際に、その再生ファイルが既に記憶部22の記憶領域にあるかどうかをチェックし、記憶領域にあればダウンロードを行わず記憶領域のファイルを取得ファイルとしてStreaming管理部24へ渡す。記憶領域にない場合は、通常通りネットワーク上の再生ファイルサーバからダウンロードする。
When the
以下、図5を参照し、事前再生ファイル取得処理の流れを説明する。ここでは、図2に示す再生主制御ファイルが適用されるものとする。 Hereinafter, the flow of the pre-play file acquisition process will be described with reference to FIG. Here, it is assumed that the reproduction main control file shown in FIG. 2 is applied.
再生が開始されると、再生制御部25により再生制御ファイルが処理され、まずMainTitleの再生が開始される。
When the reproduction is started, the reproduction control file is processed by the
再生制御部25による処理と平行して、Streaming事前ダウンロード制御部23は、再生主制御ファイルからストリーミング再生のURLを抜き出す(ST101、ST102、ST103)。図4は、ストリーミング再生に必要なURLリスト(以降、StreamingURLリスト)の一例を示す図である。
In parallel with the processing by the
次にStreaming事前ダウンロード制御部23は、抜き出したStreamingURLリストを元に、http://www.example.com/SEVOB1.MAPを記憶領域へ保存するよう、再生ファイル取得部21へ指示を出す(ST104、ST105、ST106)。
Next, the streaming pre-download control unit 23 instructs the playback
再生ファイル取得部21は、再生ファイルの取得元がネットワーク上であることを認識し、Networkアクセス部211に再生ファイルの取得を指示する。
The reproduction
Networkアクセス部211は、Streaming事前ダウンロード制御部23から指示されたhttp://www.example.com/SEVOB1.MAPをURLとして再生ファイルをダウンロードし、ダウンロードした再生ファイルを記憶領域へ保存する。
The
Streaming事前ダウンロード制御部23は、www.example.com/SEVOB1.MAPのダウンロード終了後、ダウンロードしたwww.example.com/SEVOB1.MAPの中身を解析し、そのファイル内で指定されているビデオファイルのファイル名を得る。ここでは、そのファイル名がSEVOB1.EVOだったとする。この情報からStreaming事前ダウンロード制御部23は、http://www.example.com/SEVOB1.EVOを記憶領域へ保存するよう、再生ファイル取得部21へ指示を出す。
After downloading www.example.com/SEVOB1.MAP, the streaming pre-download control unit 23 analyzes the contents of the downloaded www.example.com/SEVOB1.MAP, and the video file specified in the file is analyzed. Get the file name. Here, it is assumed that the file name is SEVOB1.EVO. From this information, the streaming pre-download control unit 23 instructs the reproduction
Streaming事前ダウンロード制御部23は、再生ファイル取得部21からの結果報告を受け取ると、http://www.sample.com/SEVOB2.MAPの処理を行う。以下同様である。
Upon receiving the result report from the playback
記憶領域には最終的にwww.example.com/SEVOB1.MAP, www.example.com/SEVOB1.EVO, www.sample.com/SEVOB2.MAP, www.sample.com/SEVOB2.EVO (/はディレクトリ階層を示す。)が保存される。 The storage area is finally www.example.com/SEVOB1.MAP, www.example.com/SEVOB1.EVO, www.sample.com/SEVOB2.MAP, www.sample.com/SEVOB2.EVO (/ is a directory Indicating the hierarchy).
次に、図6を参照して、ストリーミング再生時の再生ファイル取得処理の流れを説明する。 Next, with reference to FIG. 6, the flow of a playback file acquisition process at the time of streaming playback will be described.
再生が進み、Streaming1タイトルの再生順序が来ると、再生制御部25はStreaming1の再生指示を再生部26に出す。再生部26はStreaming管理部24に再生データ(http://www.example.com/SEVOB1.MAP)の取得指示を出す。
When the playback progresses and the playback order of the
Streaming管理部24は、再生ファイル取得部21に、取得元ファイルをhttp://www.example.com/SEVOB1.MAP、提供先情報をStreaming管理部24として、再生ファイル取得指示を出す。
The streaming management unit 24 issues a reproduction file acquisition instruction to the reproduction
再生ファイル取得部21は、再生ファイルの取得元がネットワーク上であることを認識し、Networkアクセス部211に再生ファイルの取得を指示する。
The reproduction
Networkアクセス部211は、記憶領域を参照し、既に取得指示された再生ファイルが記憶領域にあるため(ST201、YES)、ダウンロードせずに記憶領域にあるwww.example.com/SEVOB1.MAPをStreaming管理部24に渡す(ST202)。また、Networkアクセス部211は、記憶領域を参照し、既に取得指示された再生ファイルが記憶領域に無ければ(ST201、NO)、ダウンロードにより取得したwww.example.com/SEVOB1.MAPをStreaming管理部24に渡す(ST203)。
次に再生部26はwww.example.com/SEVOB1.MAPを解析することにより対応するビデオファイル名(SEVOB1.EVO)を得る。
Next, the reproducing
再生部26は、Streaming管理部24に再生データ(http://www.example.com/SEVOB1.EVO)の取得指示を出す。
The
Streaming管理部24は、再生ファイル取得部21に、取得元ファイルをhttp://www.example.com/SEVOB1.EVO、提供先情報をStreaming管理部24として、再生ファイル取得指示を出す。記憶領域に既にダウンロードしたファイルがあるため(ST201、YES)、SEVOB1.MAPと同様にダウンロードは行われない(ST202)。以下同様である。
The streaming management unit 24 issues a reproduction file acquisition instruction to the reproduction
上記したように、ストリーミング再生前に再生に必要なファイルを予めダウンロードする。それにより、ストリーミング再生装置は、ネットワークスループットが狭い環境でも安定した品質でストリーミング再生を行える。 As described above, files necessary for reproduction are downloaded in advance before streaming reproduction. Thereby, the streaming playback apparatus can perform streaming playback with stable quality even in an environment where the network throughput is narrow.
上記では、事前ダウンロードについて説明したが、例えば事前ダウンロードが失敗することも有り得る。このような場合、例えば、ストリーミング再生装置は、事前ダウンロードの対象となる再生ファイルの事前ダウンロードをリトライする。 In the above description, the prior download has been described. However, for example, the prior download may fail. In such a case, for example, the streaming playback device retries the prior download of the playback file to be pre-downloaded.
そのため、1度目の再生の際に記憶領域へのダウンロードが間に合わなかったとしても、2度目以降の再生で記憶領域の再生ファイルを参照することができる可能性がある。コンテンツによってはユーザ選択により何度もストリーミング再生を行うことが有り得る。そのような場合、ストリーミング再生装置は、1度目のストリーミング再生で安定した再生が行えなかったとしても、事前ダウンロードのリトライに成功すれば、それ以降の再生で、安定した品質の再生を行うことができる。 Therefore, even if the download to the storage area is not in time for the first reproduction, there is a possibility that the reproduction file in the storage area can be referred to in the second and subsequent reproductions. Depending on the content, streaming playback may be performed many times depending on user selection. In such a case, even if the streaming playback device cannot perform stable playback in the first streaming playback, if the pre-download retry is successful, it can perform stable quality playback in subsequent playback. it can.
以下、事前ダウンロードのリトライについて説明する。 Hereinafter, retry of the prior download will be described.
既に説明したように、Streaming事前ダウンロード制御部23は、再生ファイル取得部21へ出した再生ファイル取得指示の結果得られる結果報告の内容、つまりダウンロードの成功・不成功の結果を記憶する。
As already described, the streaming pre-download control unit 23 stores the content of the result report obtained as a result of the reproduction file acquisition instruction issued to the reproduction
Streaming事前ダウンロード制御部23は、再生ファイル取得部21への再生ファイル取得指示の結果が失敗の場合、つまりダウンロードが不成功の場合、その情報をダウンロード結果として記憶しておく。失敗の理由には、ダウンロードの途中でStreaming管理部24による再生データ取得が始まった等なんらかの原因によりダウンロードがキャンセルされた、あるいはなんらかのネットワークトラブルによりネットワークダウンロードに失敗した等が挙げられる。図7は、ダウンロード結果の一例を示す図である。図7に示すように、1がダウンロード成功、0がダウンロード失敗を表す。図7は、http://www.example.com/SEVOB1.EVOのみダウンロードに失敗したことを示している。
If the result of the reproduction file acquisition instruction to the reproduction
Streaming事前ダウンロード制御部23は、ダウンロード結果を参照し、再度ダウンロードを試みる。ダウンロードに成功した場合は、ダウンロード結果を0から1に変える。この処理は、ダウンロード結果のダウンロード結果が全て1になるまでるまで繰り返す。 The streaming pre-download control unit 23 refers to the download result and tries to download again. If the download is successful, change the download result from 0 to 1. This process is repeated until all download results are 1 in the download result.
次に、再生ファイルの種類に応じた事前ダウンロードについて説明する。 Next, pre-downloading according to the type of playback file will be described.
ストリーミング再生装置は、複数種類の再生でストリーミングを行うことができる。例えば、1つのタイトルがメインビデオとサブビデオにより構成されており、ストリーミング再生装置は、メインビデオ及びサブビデオをストリーミング再生することができる。一般的にメインビデオの方が高いネットワークスループットを要することが多い。つまりメインビデオのデータ量が、サブビデオのデータ量よりも多い。 The streaming playback device can perform streaming with a plurality of types of playback. For example, one title is composed of a main video and a sub video, and the streaming playback device can stream the main video and the sub video. In general, the main video often requires higher network throughput. That is, the data amount of the main video is larger than the data amount of the sub video.
ストリーミング再生装置は、複数の再生ファイルの種類に応じて、各再生ファイルの事前ダウンロードの優先順位を決定し、優先順位に基づき各再生ファイルを事前ダウンロードする。これにより、高いネットワークスループットを要する再生ファイル(高画質又は高音質)を優先的にダウンロードすることができる。そのため、高いネットワークスループットを要するストリーミング再生が成功する可能性を上げることができる。 The streaming playback device determines priorities of prior download of each playback file according to the types of the plurality of playback files, and downloads each playback file in advance based on the priority. Thereby, it is possible to preferentially download a reproduction file (high image quality or high sound quality) that requires high network throughput. Therefore, the possibility of successful streaming playback that requires high network throughput can be increased.
再生ファイルの種類に応じた事前ダウンロードの詳細は以下の通りである。 Details of pre-downloading according to the type of playback file are as follows.
Streaming事前ダウンロード制御部23は、再生主制御ファイルに記載されているストリーミング再生の種類(メインビデオやサブビデオ)に応じて、ダウンロードする順番を決める。図2に示す再生主制御ファイルの場合、Streaming事前ダウンロード制御部23は、再生主制御ファイルのdownload=Networkと記載されているタグの先頭の文字列(SubstituteAudioVideoClipやSecondaryAudioVideoClip)によりストリーミング再生の種類を得る。Streaming事前ダウンロード制御部23は、その文字列によりダウンロードの優先順位を決め、結果を再生ファイル名の対の情報としてStreamingURLリストに記載する。 The streaming pre-download control unit 23 determines the download order according to the type of streaming playback (main video or sub video) described in the playback main control file. In the case of the playback main control file shown in FIG. 2, the Streaming pre-download control unit 23 obtains the type of streaming playback from the first character string (SubstituteAudioVideoClip or SecondaryAudioVideoClip) of the tag described as download = Network in the playback main control file. . The streaming pre-download control unit 23 determines the download priority based on the character string, and describes the result in the Streaming URL list as information of a reproduction file name pair.
Streaming事前ダウンロード制御部23は、StreamingURLリストに記載された優先度が高い再生ファイルから順に、再生ファイル取得部21による取得を行う。また、Streaming事前ダウンロード制御部23は、ダウンロード結果を記録する際に、その優先度が高いかどうかの印をつける。取得に失敗した再生ファイルを再取得する際に、Streaming事前ダウンロード制御部23は、取得優先度が高い印が付いているものから順に再取得する。
The streaming pre-download control unit 23 performs acquisition by the reproduction
再生ファイルの種類に応じた事前ダウンロードの流れは以下の通りである。ここでは、図2に示す再生主制御ファイルに基づく事前ダウンロードについて説明する。 The flow of pre-downloading according to the type of playback file is as follows. Here, pre-downloading based on the reproduction main control file shown in FIG. 2 will be described.
Streaming事前ダウンロード制御部23は、再生開始直後に再生主制御ファイルからストリーミングの再生ファイル名としてhttp://www.example.com/SEVOB1.MAPを抜き出す。それに加え、http://www.example.com/SEVOB1.MAP を抜き出したタグの先頭の文字がSubstituteAudioVideoClipであり、SubstituteAudioVideoClipはメインビデオを含むストリーミングであるため、優先的にダウンロードを行うことを意味するHighの印をつける。同様に、http://www.sample.com/SEVOB2.MAPは、SecondaryAudioVideoClipであり、SecondaryAudioVideoClipはメインビデオを含まないストリーミングであるため、優先的なダウンロードは行わないことを意味するLowの印をつける。図8は、優先度が設定されたStreamingURLリストの一例を示す図である。 The streaming pre-download control unit 23 extracts http://www.example.com/SEVOB1.MAP as a streaming playback file name from the playback main control file immediately after the start of playback. In addition, the first character of the tag extracted from http://www.example.com/SEVOB1.MAP is SubstituteAudioVideoClip, which means that the SubstituteAudioVideoClip is a streaming that contains the main video, so it means that it will be preferentially downloaded. Mark High. Similarly, http://www.sample.com/SEVOB2.MAP is SecondaryAudioVideoClip, and SecondaryAudioVideoClip is a stream that does not include the main video, so it is marked with Low indicating that preferential download is not performed. . FIG. 8 is a diagram illustrating an example of a StreamingURL list in which priorities are set.
Streaming事前ダウンロード制御部23は、再生ファイル取得部21へ再生ファイル取得指示を出す際に、StreamingURLリストのダウンロード優先度の印を参照し、Highである再生ファイル名を優先的に再生ファイル取得部21に渡す。拡張子が.MAPの再生ファイルはそれに対応するビデオファイルも同じ優先度で再生ファイル取得指示を出す。
When the streaming pre-download control unit 23 issues a playback file acquisition instruction to the playback
Streaming事前ダウンロード制御部23は、ダウンロード結果を記憶する際に、優先的なダウンロードを行うものにはHigh、行わないものにはLowと印をつける。図9は、優先度付きのダウンロード結果の一例を示す図である。図9に示すように、http://www.example.com/SEVOB1.EVOの取得に失敗し、その優先度は高いことがわかる。同様にhttp://www.sample.com/SEVOB2.EVOの取得に失敗しその優先度は高くないことがわかる。 When storing the download result, the streaming pre-download control unit 23 marks “High” for preferential downloads and “Low” for non-preferential downloads. FIG. 9 is a diagram illustrating an example of a download result with priority. As shown in FIG. 9, the acquisition of http://www.example.com/SEVOB1.EVO has failed, and the priority is high. Similarly, it can be seen that http://www.sample.com/SEVOB2.EVO has failed to be acquired and its priority is not high.
その後取得に失敗した再生ファイルが再取得される。取得に失敗した再生ファイルを再度取得する際、Streaming事前ダウンロード制御部23はダウンロード結果に記載されている再生ファイル名のうち、ダウンロード優先度がHighのものを優先的にダウンロードする。 Then, the playback file that failed to be acquired is acquired again. When re-acquiring a playback file that has failed to be acquired, the streaming pre-download control unit 23 preferentially downloads the playback file name described in the download result with a high download priority.
なお、上記したように、事前タイミングで再生ファイルを取得する際に、再生ファイルの取得に失敗した場合に再生ファイルの取得をリトライするようにしてもよいし、リトライ回数又はリトライ時間に上限を設けるようにしてもよいし、リトライしないようにしてもよい。リトライ回数の上限に達してしまった場合又はリトライ時間の上限に達してしまった場合又はリトライしない場合は、再生制御ファイルで指定された指定タイミングで、再生ファイルを取得することになる。ストリーミング再生装置のCPUの処理能力に応じてリトライを制限することにより、効率良く再生ファイルをダウンロードすることができる。 As described above, when a playback file is acquired at a pre-timing, the playback file acquisition may be retried if the playback file acquisition fails, and an upper limit is set for the number of retries or the retry time. You may make it not to retry. When the upper limit of the number of retries has been reached, when the upper limit of the retry time has been reached, or when retrying is not performed, the playback file is acquired at the specified timing specified in the playback control file. By limiting the retry according to the processing capability of the CPU of the streaming playback device, the playback file can be downloaded efficiently.
以上説明した第1の実施形態の作用効果について、以下にまとめる。 The effects of the first embodiment described above are summarized below.
ストリーミング再生は、高いネットワークスループットを要することが多い。一方、一般家庭のネットワーク環境は必ずしも高いとはいえない。そのため、従来のストリーミング再生装置でストリーミング再生を行うと、再生できなかったり、映像がスムーズに流れない、途中で切れてしまう、という問題が発生していた。 Streaming playback often requires high network throughput. On the other hand, the network environment of ordinary households is not necessarily high. For this reason, when streaming playback is performed with a conventional streaming playback device, there are problems that playback cannot be performed, the video does not flow smoothly, or the video is cut off in the middle.
上記説明した第1の実施形態に係るストリーミング再生装置は、ストリーミング再生前に再生に必要なファイルを予めダウンロードする。よって、ストリーミング再生装置は、ネットワークスループットが狭い環境でも安定した品質でストリーミング再生を行うことができる。 The streaming playback apparatus according to the first embodiment described above downloads a file necessary for playback before streaming playback. Therefore, the streaming playback device can perform streaming playback with stable quality even in an environment where the network throughput is narrow.
また、ストリーミング再生装置は、全てのダウンロードが成功するまで事前ダウンロードを試みる。そのため、1度目の再生の際に予めダウンロードができず、それによりスムーズなストリーミング再生が行えなかったとしても、それ以降の再生で安定した再生が行える。 Also, the streaming playback device tries to download in advance until all the downloads are successful. Therefore, even if the streaming cannot be performed in advance during the first playback and smooth streaming playback cannot be performed, stable playback can be performed in subsequent playback.
また、ストリーミング再生装置は、再生の種類に応じて再生ファイルをダウンロードする順番を決める。それにより、高いネットワークスループットを要する再生ファイルを優先的にダウンロードすることができる。そのため、高いネットワークスループットを要するストリーミング再生が成功する可能性を上げることができる。 Also, the streaming playback device determines the order of downloading the playback file according to the type of playback. As a result, a playback file that requires high network throughput can be preferentially downloaded. Therefore, the possibility of successful streaming playback that requires high network throughput can be increased.
次に、第2の実施形態について説明する。なお、第2の実施形態は第1の実施形態を前提とするものであり、第1の実施形態と共通する説明は省略する。 Next, a second embodiment will be described. Note that the second embodiment is based on the first embodiment, and a description common to the first embodiment is omitted.
図1は、本発明の第1の実施形態に係るストリーミング再生システムの概要を示す図である。ストリーミング再生装置2は、ダウンロード時に自身の実際のネットワークスループット、又は上記した第1のダミーネットワークスループット、又は上記した第2のダミーネットワークスループットを再生ファイルサーバ1に通知する機能を持つ。再生ファイルサーバ1は、通知されたネットワークスループットに応じた再生ファイルを返す。
FIG. 1 is a diagram showing an overview of a streaming playback system according to the first embodiment of the present invention. The streaming
つまり、再生ファイルサーバ1は、ネットワークスループットが低いストリーミング再生装置には小さいファイルサイズのファイルを返し、ネットワークスループットが高いストリーミング再生装置には大きいファイルサイズのファイルを返すことができる。これにより、ネットワークスループットが低いストリーミング再生装置では、再生品質が落ちたとしても途切れずに再生することができ、ネットワークスループットが高いストリーミング再生装置では、高い品質で再生することができる。
That is, the
上記した再生ファイルサーバ1の特性を利用し、第2の実施形態に係るストリーミング再生装置は、状況に合わせて、自身の実際のネットワークスループット、又は上記した第1のダミーネットワークスループット、又は上記した第2のダミーネットワークスループットを再生ファイルサーバ1に通知する。
The streaming playback device according to the second embodiment, using the characteristics of the
例えば、ストリーミング再生装置は、事前ダウンロードの前に、上記した第1のダミーネットワークスループットを再生ファイルサーバ1に通知し、高いネットワークスループットを持つ再生装置用の再生ファイルを取得することができる。これにより、ネットワークスループットが低く低品質のストリーミング再生しか行えない環境下でも、ストリーミング再生装置は、高い品質のストリーミング再生を行うことができる。
For example, the streaming playback device can notify the
具体的には、ストリーミング事前ダウンロード制御部23が、再生ファイル取得部21に対して、再生主制御ファイルに基づく事前ダウンロードのための再生ファイル取得指示とともに第1のダミーネットワークスループットの通知を指示する。再生ファイル取得部21のNetworkアクセス部211は、事前ダウンロード時に、再生ファイルサーバ1に対して、第1のダミーネットワークスループットを通知し、再生ファイルを要求する。つまり、実際のネットワークスループットより大きい値のネットワークスループットを通知し、再生ファイルを要求する。
Specifically, the streaming pre-download control unit 23 instructs the reproduction
以下、図10を参照し、第1のダミーネットワークスループットの通知処理の流れを説明する。 The flow of the first dummy network throughput notification process will be described below with reference to FIG.
再生が開始されると、再生制御部25により再生制御ファイルが処理され、まずMainTitleの再生が開始される。
When the reproduction is started, the reproduction control file is processed by the
再生制御部25による処理と平行して、Streaming事前ダウンロード制御部23は、再生主制御ファイルからストリーミング再生のURLを抜き出す(ST301、ST302、ST303)。
In parallel with the processing by the
次にStreaming事前ダウンロード制御部23は、抜き出したStreamingURLリストを元に、http://www.example.com/SEVOB1.MAPを記憶領域へ保存するよう、再生ファイル取得部21へ指示を出すとともに、さらに再生ファイル取得部21へ第1のダミーネットワークスループットの通知を指示する(ST304、ST305、ST306)。
Next, the streaming pre-download control unit 23 instructs the playback
Networkアクセス部211は、Streaming事前ダウンロード制御部23からの第1のダミーネットワークスループットの通知指示に基づき、Streaming事前ダウンロード制御部23に指定された再生ファイルをサーバからダウンロードする際に、再生ファイルサーバ1に対して、第1のダミーネットワークスループットを通知する。なお、自身の帯域をHTTPヘッダで通知するストリーミング再生装置の場合は、HTTPヘッダで通知する値を実際の値より大きくする。
When the
図11は、ストリーミング再生装置がサーバに送信するHTTP Requestメッセージの一例である。図11に示すように、X-Player-Throughputがストリーミング再生装置のネットワークスループットを表す。本来、X-Player-Throughputには、ストリーミング再生装置の実際のネットワークスループットが設定されるが、第1のダミーネットワークスループットの通知指示に対応して、X-Player-Throughputには、第1のダミーネットワークスループットが設定される。つまり、X-Player-Throughputには、実際のネットワークスループットより高いネットワークスループットが設定される。 FIG. 11 is an example of an HTTP Request message that the streaming playback device transmits to the server. As shown in FIG. 11, X-Player-Throughput represents the network throughput of the streaming playback device. Originally, the actual network throughput of the streaming playback device is set in X-Player-Throughput, but in response to the first dummy network throughput notification instruction, X-Player-Throughput has a first dummy Network throughput is set. That is, a higher network throughput than the actual network throughput is set in X-Player-Throughput.
再生ファイルサーバ1は、X-Player-Throughputの値を参照し、高いネットワークスループットを持つストリーミング再生装置用の再生ファイルを、ダウンロード要求先のストリーミング再生装置に返す。
The
ストリーミング再生装置2は、再生ファイルサーバ1から提供される再生ファイルを受け取り、記憶領域へ記憶する。記憶領域に記憶された再生ファイルは、図6に示すように処理される。
The streaming
次に、ストリーミング再生装置2が、ストリーミング再生の種類に応じて、再生ファイルサーバ1に通知するネットワークスループットを制御するケースについて説明する。例えば、ストリーミング再生装置2が、メインビデオに対応する再生ファイルを事前ダウンロードする際に、再生ファイルサーバ1に対して第1のダミーネットワークスループットを通知する。また、ストリーミング再生装置2が、サブビデオに対応する再生ファイルを事前ダウンロードする際に、再生ファイルサーバ1に対して実際のダミーネットワークスループットを通知する。
Next, a case will be described in which the
これにより、ストリーミング再生装置2は、高画質なメインビデオの再生ファイルを取得することができ、また、サブビデオのダウンロードによる通信トラフィックの増大及び記憶資源の消費を抑制することができる。
Accordingly, the streaming
具体的には、Streaming事前ダウンロード制御部23が、再生主制御ファイルからストリーミングの再生ファイル名を抜き出す際に、ストリーミング再生の種類を見て、その種類に応じてネットワークスループットを高めに設定したいものには、Streaming URLリストに印をつける。 Specifically, when the streaming pre-download control unit 23 extracts the streaming playback file name from the playback main control file, the streaming pre-download control unit 23 looks at the type of streaming playback and wants to set the network throughput higher according to the type. Marks the Streaming URL list.
Streaming事前ダウンロード制御部23は、再生ファイル取得部21に再生ファイル取得指示を出す際に、Streaming URLリストにネットワークスループットを高く設定するという印が付いている再生ファイルのみ、ネットワークスループットを高くするよう、再生ファイル取得部215に指示を出す。ダウンロードした再生ファイルがその中に再生に必要なファイル名を含む場合、その記述されている再生ファイルのダウンロードも同じネットワークスループット指定を指示する。
When the streaming pre-download control unit 23 issues a playback file acquisition instruction to the playback
ダウンロードに失敗した場合、Streaming事前ダウンロード制御部23は、ネットワークスループットに関する指定も記憶する。 If the download fails, the Streaming pre-download control unit 23 also stores a specification related to the network throughput.
また、Streaming事前ダウンロード制御部23は、ダウンロードに失敗したものを再度ダウンロードする際に、ダウンロード結果に記載されているネットワークスループットの指定を参照し、ネットワークスループットを高くするという指定であれば、それに従い再生ファイル取得部21に指示を出す。
In addition, the Streaming pre-download control unit 23 refers to the specification of the network throughput described in the download result when re-downloading the failed download, and if it is specified to increase the network throughput, it follows that. An instruction is given to the reproduction
図14を参照してより詳細に説明すると、Streaming事前ダウンロード制御部23は、再生開始直後に再生主制御ファイルからストリーミングの再生ファイル名としてhttp://www.example.com/SEVOB1.MAPを抜き出す(ST401、ST402)。それに加え、http://www.example.com/SEVOB1.MAP を抜き出したタグの先頭の文字がSubstituteAudioVideoClipであるため、ネットワークスループットを高くするためにStreamingURLリストにHighの印をつける(ST403、ST404)。次にStreaming事前ダウンロード制御部23は、http://www.sample.com/SEVOB2.MAPを抜き出し(ST401、ST402)、抜き出し元のタグの先頭の文字がSecondaryAudioVideoClipであるため、実際のネットワークスループットを使用するためStreamingURLリストにNormalの印をつける(ST403、ST404)。図12は、StreamingURLリストの一例を示す図である。 To explain in more detail with reference to FIG. 14, the streaming pre-download control unit 23 extracts http://www.example.com/SEVOB1.MAP as a streaming playback file name from the playback main control file immediately after the start of playback. (ST401, ST402). In addition, since the first character of the tag extracted from http://www.example.com/SEVOB1.MAP is SubstituteAudioVideoClip, the StreamingURL list is marked High to increase network throughput (ST403, ST404) . Next, the streaming pre-download control unit 23 extracts http://www.sample.com/SEVOB2.MAP (ST401, ST402), and since the first character of the extraction source tag is SecondaryAudioVideoClip, the actual network throughput is reduced. Mark Normal in the Streaming URL list for use (ST403, ST404). FIG. 12 is a diagram illustrating an example of the StreamingURL list.
Streaming事前ダウンロード制御部23は、再生ファイル取得部21にhttp://www.example.com/SEVOB1.MAPの取得指示を出す際に、StreamingURLリストのスループット指定の値を参照し、Highであるため再生フィル取得部21にネットワークスループットを高くするよう通知する(ST405)。続いて、www.example.com/SEVOB1.MAPの中に記載されているhttp://www.example.com/SEVOB1.EVOの取得指示を再生ファイル取得部21に出す際もネットワークスループットを高くするよう通知する(ST406)。http://www.sample.com/SEVOB2.MAPは、ネットワークスループットの指定がNormalであるため、通常通りのネットワークスループットを使用するよう再生ファイル取得部21に指示する(ST407)。http://www.sample.com/SEVOB2.EVOも同様に通常通りのネットワークスループットを使用するよう再生ファイル取得部21に指示する(ST407)。
The Streaming pre-download control unit 23 refers to the throughput designation value in the StreamingURL list when issuing the acquisition instruction of http://www.example.com/SEVOB1.MAP to the playback
なお、ストリーミング再生装置2は、第1の実施形態で説明した取得優先度に基づく処理も並行して実行することができる。つまり、ストリーミング再生装置2は、再生ファイルの種類に応じて取得優先度とネットワークスループットを決定し、取得優先度に基づき再生ファイルを取得するとともに、取得しようとする再生ファイルに応じたネットワークスループットを通知する。
The streaming
再生ファイル取得部21からダウンロード結果を受け取り、ダウンロード結果を記載する際、Streaming事前ダウンロード制御部23は、ネットワークスループットの指定も記述する。図13は、ダウンロード結果の一例を示す図である。図13に示すダウンロード結果の例では、リストの4つ目がネットワークスループットの指定を意味し、Highであればネットワークスループットを高めに設定し、Normalであれば通常通り設定することを意味する。
When the download result is received from the reproduction
取得に失敗した再生ファイルを再度取得する際、Streaming事前ダウンロード制御部23はダウンロード結果に記載されている4つ目の項目を参照し、それに従って再生ファイル取得部21にネットワークスループットの指定を出す。http://www.example.com/SEVOB1.EVOは、リストの2項目目が0なので、ダウンロードに失敗したことがわかる。またリストの3項目目がHighなので、優先的なダウンロードが必要であることがわかる。そのため、Streaming事前ダウンロード制御部23は、まずhttp://www.example.com/SEVOB1.EVOを取得するよう再生ファイル取得部21に指示を出す。その際、ダウンロード結果のリストの4項目目がHighなので、ネットワークスループットを高く指定するよう、再生ファイル取得部21に指示する。同様にhttp://www.sample.com/SEVOB2.EVOは、ダウンロード結果のリストの4項目目がNormalなので、再生ファイル取得部21に再生ファイル取得通知を出す際、通常通りのネットワークスループットを指定するよう指示する。
When acquiring a playback file that has failed to be acquired again, the streaming pre-download control unit 23 refers to the fourth item described in the download result, and designates the network throughput to the playback
次に、ストリーミング再生装置2が、記憶領域の残容量に応じて、再生ファイルサーバ1に通知するネットワークスループットを制御するケースについて説明する。例えば、ストリーミング再生装置2は、記憶領域の残容量に応じて、再生ファイルサーバ1に対して第2のダミーネットワークスループットを通知する。つまり、ストリーミング再生装置2は、再生ファイルサーバ1に対して、実際のネットワークスループットより低いネットワークスループットを通知する。それにより、記憶領域不足によるダウンロードの失敗を防止することができる。
Next, a case where the
Networkアクセス部211は、Streaming事前ダウンロード制御部23からの再生ファイル取得指示を受けると、記憶領域の残容量をチェックする。また、直前の指示されたファイルをダウンロードする際、HTTPリクエストをHEADメソッドにより送信することにより、予めダウンロードするファイルのサイズを得る。得られたサイズと残容量を比較し、得られたサイズの方が大きければ、再生ファイルの取得は行わず、Streaming事前ダウンロード制御部23へ記憶領域不足の通知を返す。
Upon receiving the reproduction file acquisition instruction from the streaming pre-download control unit 23, the
Streaming事前ダウンロード制御部23は、再生ファイル取得部21から記憶領域不足の通知を受け取ると、ネットワークスループットを低く設定するという要求を再生ファイル取得部21へ指示する。失敗した再生ファイルがビデオファイルであれば、そのビデオファイル名が記載されていたファイルの取得からやり直す。
Upon receiving the storage area shortage notification from the playback
具体的には、Networkアクセス部211は、Streaming事前ダウンロード制御部23から、http://www.example.com/SEVOB1.EVOの取得要求を受けると、Networkアクセス部211は記憶領域の残容量(250000000)を取得するとともに、http://www.example.com/SEVOB1.EVOに対し、HEADメソッドでHTTPメッセージを送信し、その結果得た応答メッセージ(図15参照)から、Content-Langth:300000000を得る。Content-Langth は、取得する再生ファイルのサイズを意味する。Networkアクセス部211は、記憶領域の残容量(250000000)と再生ファイルのサイズ(300000000)を比較し、再生ファイルのサイズの方が大きいため、Streaming事前ダウンロード制御部23へ記憶領域不足の通知を返す。
Specifically, when the
Streaming事前ダウンロード制御部23は、記憶領域不足の通知を受け取ると、http://www.example.com/SEVOB1.EVO に対応するhttp://www.example.com/SEVOB1.MAPの取得をネットワークスループットを低く設定するという要求を再生ファイル取得部21へ通知する。これにより、http://www.example.com/SEVOB1.MAPを取得する際のネットワークスループットは、低い値で通知される。
When the streaming pre-download control unit 23 receives the storage shortage notification, the network pre-download control unit 23 obtains http://www.example.com/SEVOB1.MAP corresponding to http://www.example.com/SEVOB1.EVO. A request to set the throughput low is notified to the reproduction
http://www.example.com/SEVOB1.MAP取得により、ビデオファイル名としてhttp://www.example.com/SEVOB1-LOW.EVOが得られたとする。Streaming事前ダウンロード制御部23は、http://www.example.com/SEVOB1-LOW.EVOの取得をネットワークスループットを低く設定するという要求とともに再生ファイル取得部21へ通知する。
Assume that http://www.example.com/SEVOB1-LOW.EVO is obtained as a video file name by acquiring http://www.example.com/SEVOB1.MAP. The streaming pre-download control unit 23 notifies the reproduction
Networkアクセス部211はhttp://www.example.com/SEVOB1-LOW.EVOの取得を前述と同様の処理で行う。その結果、Content-Langth:200000000を得る。今度は、記憶領域の残容量300000000より小さいため、通常通りファイルの取得を行う。
The
以上説明した第2の実施形態の作用効果について、以下にまとめる。 The effects of the second embodiment described above are summarized below.
ストリーミング再生は、高いネットワークスループットを要することが多い。一方、一般家庭のネットワーク環境は必ずしも高いとはいえない。そのため、従来のストリーミング再生装置でストリーミング再生を行うと、再生できなかったり、映像がスムーズに流れない、途中で切れてしまう、という問題が発生していた。 Streaming playback often requires high network throughput. On the other hand, the network environment of ordinary households is not necessarily high. For this reason, when streaming playback is performed with a conventional streaming playback device, there are problems that playback cannot be performed, the video does not flow smoothly, or the video is cut off in the middle.
上記説明した第2の実施形態に係るストリーミング再生装置は、ストリーミング再生前に再生に必要なファイルを予めダウンロードする。よって、ストリーミング再生装置は、ネットワークスループットが狭い環境でも安定した品質でストリーミング再生を行うことができる。 The streaming playback apparatus according to the second embodiment described above downloads a file necessary for playback before streaming playback. Therefore, the streaming playback device can perform streaming playback with stable quality even in an environment where the network throughput is narrow.
また、ストリーミング再生装置は、再生ファイルサーバに対して、実際のネットワークスループットより高いネットワークスループットを通知する。それにより、事前にダウンロードする際は高いネットワークスループットを持つ再生装置用のファイルを取得することができる。これにより、ストリーミング再生装置は、ネットワークスループット性能が低くても、高い品質のストリーミング再生を行うことができる。 Also, the streaming playback apparatus notifies the playback file server of a network throughput higher than the actual network throughput. As a result, when downloading in advance, it is possible to obtain a file for a playback device having a high network throughput. As a result, the streaming playback device can perform high-quality streaming playback even when the network throughput performance is low.
また、ストリーミング再生装置は、ストリーミング再生の種類に応じて、再生ファイルサーバに対して、実際のネットワークスループットより高いネットワークスループットを通知する。例えば、ストリーミング再生装置は、メインビデオに相当する再生ファイルを事前ダウンロードする際、再生ファイルサーバに対して、実際のネットワークスループットより高いネットワークスループットを通知し、その他の再生ファイルを事前ダウンロードする際、再生ファイルサーバに対して、実際のネットワークスループットをそのまま通知する、あるいは実際のネットワークスループットより低いネットワークスループットを通知する。それにより、高画質なメインビデオを取得することができ、また、その他の再生ファイルのダウンロードによる通信トラフィックの増大及び記憶資源の消費を抑制することができる。 In addition, the streaming playback apparatus notifies the playback file server of a network throughput higher than the actual network throughput according to the type of streaming playback. For example, when a playback file corresponding to the main video is pre-downloaded, the streaming playback device notifies the playback file server of a network throughput higher than the actual network throughput, and when the other playback files are pre-downloaded, The actual network throughput is notified to the file server as it is, or the network throughput lower than the actual network throughput is notified. As a result, a high-quality main video can be acquired, and an increase in communication traffic and storage resource consumption due to downloading of other playback files can be suppressed.
また、ストリーミング再生装置は、再生ファイルを予めダウンロードする記憶領域の残容量に応じて、再生ファイルサーバに対して実際のネットワークスループットより低いネットワークスループットを通知する。それにより、残容量不足によるダウンロードの失敗を防止することができる。 Further, the streaming playback apparatus notifies the playback file server of a network throughput lower than the actual network throughput according to the remaining capacity of the storage area in which the playback file is downloaded in advance. Thereby, it is possible to prevent a download failure due to a shortage of remaining capacity.
なお、本願発明は、上記実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。また、各実施形態は可能な限り適宜組み合わせて実施してもよく、その場合組み合わせた効果が得られる。更に、上記実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適当な組み合わせにより種々の発明が抽出され得る。例えば、実施形態に示される全構成要件からいくつかの構成要件が削除されても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除された構成が発明として抽出され得る。 Note that the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the scope of the invention in the implementation stage. In addition, the embodiments may be appropriately combined as much as possible, and in that case, the combined effect can be obtained. Further, the above embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent requirements are deleted from all the constituent requirements shown in the embodiment, the problem described in the column of the problem to be solved by the invention can be solved, and the effect described in the column of the effect of the invention Can be obtained as an invention.
1…再生ファイルサーバ、2…ストリーミング再生装置、3…再生装置、21…再生ファイル取得部、22…記憶部、23…ストリーミング事前ダウンロード制御部、24…ストリーミング管理部、25…再生制御部、26…再生部、211…ネットワークアクセス部、212…ディスクアクセス部
DESCRIPTION OF
Claims (9)
前記ネットワークを介して前記サーバに対して実際のネットワークスループットより高い第1のダミーネットワークスループットを通知し、再生制御ファイルにより指定タイミングで取得するように指示された再生ファイルを前記指定タイミングより早い事前タイミングで前記ネットワークを介して前記サーバから取得する取得手段と、
前記取得手段により取得された前記再生ファイルを記憶する記憶手段と、
前記再生制御ファイルに基づき再生動作を制御する再生制御手段と、
を備え、
前記再生制御手段は、前記再生制御ファイルに基づく前記指定タイミングでの前記再生ファイルの取得指示に対応し、前記記憶手段に記憶された前記再生ファイルを提供する、
を備えたことを特徴とするストリーミング再生装置。 Connect to a server that provides a playback file corresponding to the network throughput notified from the other device via the network, notify the server of the network throughput, obtain the playback file from the server, and A streaming playback device for playing
The first dummy network throughput higher than the actual network throughput is notified to the server via the network, and the playback file instructed to be acquired at the specified timing by the playback control file is earlier than the specified timing. Acquisition means for acquiring from the server via the network;
Storage means for storing the reproduction file acquired by the acquisition means;
Reproduction control means for controlling a reproduction operation based on the reproduction control file;
With
The reproduction control means provides the reproduction file stored in the storage means in response to an instruction to acquire the reproduction file at the designated timing based on the reproduction control file;
A streaming playback apparatus comprising:
前記ネットワークを介して前記サーバに対して実際のネットワークスループットより高い第1のダミーネットワークスループットを通知し、再生制御ファイルにより指定タイミングで取得するように指示された再生ファイルを前記指定タイミングより早い事前タイミングで前記ネットワークを介して前記サーバから取得し、
前記取得された前記再生ファイルを記憶し、
前記再生制御ファイルに基づく前記指定タイミングでの前記再生ファイルの取得指示に対応し、前記記憶された前記再生ファイルを提供する、
ことを特徴とするストリーミング再生方法。 Connect to a server that provides a playback file corresponding to the network throughput notified from the other device via the network, notify the server of the network throughput, obtain the playback file from the server, and A streaming playback method for playing
The first dummy network throughput higher than the actual network throughput is notified to the server via the network, and the playback file instructed to be acquired at the specified timing by the playback control file is earlier than the specified timing. From the server via the network,
Storing the acquired playback file;
In response to an instruction to acquire the playback file at the specified timing based on the playback control file, the stored playback file is provided.
A streaming playback method characterized by the above.
再生制御ファイルにより指定タイミングで取得するように指示された再生ファイルを前記指定タイミングより早い事前タイミングでネットワークを介して前記サーバから取得する取得手段と、
前記取得手段により取得された前記再生ファイルを記憶する記憶手段と、
前記再生制御ファイルに基づき再生動作を制御する再生制御手段と、
を備え、
前記再生制御手段は、前記再生制御ファイルに基づく前記指定タイミングでの前記再生ファイルの取得指示に対応し、前記記憶手段に記憶された前記再生ファイルを提供する、
を備えたことを特徴とするストリーミング再生装置。 A streaming playback device that connects to a server via a network, acquires a playback file from the server, and plays the playback file,
An acquisition means for acquiring a reproduction file instructed to be acquired at a specified timing by a reproduction control file from the server via a network at a timing earlier than the specified timing;
Storage means for storing the reproduction file acquired by the acquisition means;
Reproduction control means for controlling a reproduction operation based on the reproduction control file;
With
The reproduction control means provides the reproduction file stored in the storage means in response to an instruction to acquire the reproduction file at the designated timing based on the reproduction control file;
A streaming playback apparatus comprising:
ことを特徴とする請求項6に記載のストリーミング再生装置。 The acquisition means determines an acquisition priority of each reproduction file based on a plurality of types of reproduction files instructed to acquire at a specified timing by the reproduction control file, and acquires the acquisition within a predetermined time at the prior timing. Obtain each playback file in turn from the server via the network based on priority,
The streaming playback apparatus according to claim 6.
再生制御ファイルにより指定タイミングで取得するように指示された再生ファイルを前記指定タイミングより早い事前タイミングでネットワークを介して前記サーバから取得し、
前記取得された前記再生ファイルを記憶し、
前記再生制御ファイルに基づく前記指定タイミングでの前記再生ファイルの取得指示に対応し、前記記憶手段に記憶された前記再生ファイルを提供する、
ことを特徴とするストリーミング再生方法。 A streaming playback method of connecting to a server via a network, acquiring a playback file from the server, and playing back the playback file,
A playback file instructed to be acquired at a specified timing by a playback control file is acquired from the server via the network at a timing earlier than the specified timing,
Storing the acquired playback file;
In response to an instruction to acquire the reproduction file at the designated timing based on the reproduction control file, the reproduction file stored in the storage unit is provided.
A streaming playback method characterized by the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008130995A JP2009284007A (en) | 2008-05-19 | 2008-05-19 | Streaming playback apparatus and streaming playback device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008130995A JP2009284007A (en) | 2008-05-19 | 2008-05-19 | Streaming playback apparatus and streaming playback device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009284007A true JP2009284007A (en) | 2009-12-03 |
Family
ID=41454043
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008130995A Withdrawn JP2009284007A (en) | 2008-05-19 | 2008-05-19 | Streaming playback apparatus and streaming playback device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009284007A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016184774A (en) * | 2015-03-20 | 2016-10-20 | ヤフー株式会社 | Information processing device, information processing method, information processing program, and distribution device |
JP2017017738A (en) * | 2016-09-07 | 2017-01-19 | ヤフー株式会社 | Information processing apparatus, information processing method, information processing program, and distribution apparatus |
-
2008
- 2008-05-19 JP JP2008130995A patent/JP2009284007A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016184774A (en) * | 2015-03-20 | 2016-10-20 | ヤフー株式会社 | Information processing device, information processing method, information processing program, and distribution device |
JP2017017738A (en) * | 2016-09-07 | 2017-01-19 | ヤフー株式会社 | Information processing apparatus, information processing method, information processing program, and distribution apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5239858B2 (en) | Playback apparatus and method, and program | |
JP4944484B2 (en) | Playback apparatus, playback method, and program | |
JP5894220B2 (en) | Video distribution system including progressive playback | |
JP4818562B2 (en) | Method and computer network for obtaining progressively higher quality versions of audio and / or video programs | |
WO2013008867A1 (en) | Transmission device, method for controlling transmission device, control program, and recording medium | |
JP4835170B2 (en) | Content sharing apparatus and content sharing method | |
JP2005526342A (en) | System and method for synchronous playback of remote content and local content on a communication network | |
US20210021655A1 (en) | System and method for streaming music on mobile devices | |
WO2014048198A1 (en) | Multi-speed playing method, device and system | |
KR101950997B1 (en) | Method for managing contents with contents tag and apparatus thereof | |
JP4315914B2 (en) | Image reproducing apparatus and image reproducing method | |
JP2008311795A (en) | Content distribution system, distribution server, accepting station and computer program | |
US20090113498A1 (en) | Recorder and Content Management Method | |
JP2009284007A (en) | Streaming playback apparatus and streaming playback device | |
JP2004104704A (en) | Video reproducing apparatus, video reproducing method, and program | |
JP5066278B1 (en) | Video display device, buffer management method, and video display system | |
US20160173551A1 (en) | System and method for session mobility for adaptive bitrate streaming | |
JP2006018378A (en) | Server device | |
JP2017130957A (en) | Transmitter, transmission method, playback device, and playback method | |
JP4691173B2 (en) | Image reproducing apparatus and image reproducing method | |
KR101947186B1 (en) | Content reproduction method and system | |
KR20050022631A (en) | Method of program recording and playing in multiple unit PVR IRD system | |
JP2004112086A (en) | Method and apparatus for accessing, and streaming media storage server | |
KR20100115988A (en) | Apparatus and method for controlling contents playback | |
WO2019131200A1 (en) | Decoder, decoding method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20110802 |