JP2007311902A - Stream receiving and reproducing device and streaming network system - Google Patents
Stream receiving and reproducing device and streaming network system Download PDFInfo
- Publication number
- JP2007311902A JP2007311902A JP2006136649A JP2006136649A JP2007311902A JP 2007311902 A JP2007311902 A JP 2007311902A JP 2006136649 A JP2006136649 A JP 2006136649A JP 2006136649 A JP2006136649 A JP 2006136649A JP 2007311902 A JP2007311902 A JP 2007311902A
- Authority
- JP
- Japan
- Prior art keywords
- stream data
- stream
- data
- decoding
- control
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、音声や動画などのデータをネットワーク経由で受信しながら再生するストリーミング技術を用いるストリーム受信再生装置及びストリーミングネットワークシステムに関する。 The present invention relates to a stream reception / playback apparatus and a streaming network system that use streaming technology for playing back data while receiving data such as audio and moving images via a network.
ストリーミング技術は、音声や動画などのリアルタイム性が要求されるデータを、ネットワークを介して配送し、配送しながら再生を行う技術である。 The streaming technology is a technology for delivering data that requires real-time performance such as voice and moving images via a network and reproducing the data while delivering the data.
ストリーミング技術を用いたストリーム受信再生装置は、全データをダウンロードすることなく再生できるので、
(1)受信側に大容量の記憶装置などが不要となる。
Stream receiving / playback devices using streaming technology can play all data without downloading it,
(1) A large-capacity storage device or the like is not required on the receiving side.
(2)全データをダウンロードして再生する方式に比べ、データの配送開始から再生開始までの所要時間を短縮してデータ再生の高速化を図れる。
という特徴がある。
(2) Compared with the method of downloading and reproducing all data, it is possible to shorten the time required from the start of data delivery to the start of data reproduction and increase the data reproduction speed.
There is a feature.
しかしながら、ストリーミング技術を用いたストリーム受信再生装置においては、ネットワーク上での通信エラー発生や、無線ネットワーク経由でデータを配信する場合の電波状況の悪化などが原因となって、ストリームデータの受信バッファのアンダーフローが発生するという課題がある。 However, in a stream reception / playback apparatus using streaming technology, a stream data reception buffer may be used due to a communication error on the network or a deterioration in radio wave conditions when data is distributed via a wireless network. There is a problem that underflow occurs.
このようなストリームデータの受信バッファのアンダーフローが発生すると聴感上の雑音発生などの問題が生じる。 When such an underflow of the stream data reception buffer occurs, problems such as audible noise occur.
この問題を解決する技術として、例えば特許文献1に示す「伝送システム」がある。図5は、特許文献1記載の伝送システムの構成を示すブロック図である。
As a technique for solving this problem, for example, there is a “transmission system” shown in
図5において、サーバ30は、ネットワーク10を介してクライアント端末20と接続されている。
In FIG. 5, the
サーバ30には、画像と音声を多重化した多重化レートの異なる複数の多重化ファイル(ストリームデータ)が格納されている。
The
サーバ30から送られた多重化データは、まずクライアント端末20の入力バッファ21でバッファリングされ多重分離部22に渡される。
The multiplexed data sent from the
多重分離部22は、データストリームを画像データと音声データとに分離し、画像復号部23及び音声復号部24にデータを送る。
The
画像復号部23は、画像データを復号し、画像バッファ25に復号データを送る。
The
音声復号部24は、音声データを復号し、音声バッファ26に復号データを送る。
The
画像バッファ25と音声バッファ26は、画像復号部23と音声復号部24の復号時間差を吸収し、画像と音声の同期をとる役割を担う。
The
同期がとられた画像データと音声データは、ディスプレイ27とスピーカ28からそれぞれ画像、音声として出力される。
The synchronized image data and sound data are output as an image and sound from the
レート計算部29は、例えばサーバ30からネットワーク10を経由して入力バッファ21へ送られてくる単位時間内のデータ量を常にカウントし、実質の伝送レートを計算し、その伝送レート情報をサーバ30に通知する。このような通知は、例えば所定の時間ごとに行う。
The
サーバ30は、画像と音声を多重化した符号化レートが異なる多重化ファイル(ストリームデータ)31〜33と、クライアント端末20側から送られてくる伝送レート情報によってファイルを切り替える多重化ファイル切換スイッチ34と、を備える。
The
多重化ファイル31〜33は、符号化レートが異なる同一のコンテンツ、すなわち符号化レートが異なる同一データを蓄積する。符号化レートは、例えば60kbps、45kbps、30kbpsのように設定する。
The multiplexed
この伝送システムにおいてストリ一ミング再生を開始すると、サーバ30は、クライアント端末20に対して動画像の伝送を始める。
When streaming playback is started in this transmission system, the
クライアント端末20は、入力バッファ21で多重化データのバッファリングを開始しながら、レート計算部29において実質伝送レート(bps)の計算を開始する。この実質伝送レートは、サーバ30の負荷が上がったり、ネットワーク10が混雑したりすると低下の方向に向かう。この伝送レート情報は、例えば一定の時間間隔でサーバ30に通知される。
The
サーバ30は、一定の時間間隔でクライアント端末20から通知される伝送レート情報に基づき、多重化ファイル切換スイッチ34で通知されたレートに近いかそれ以下になる多重化ファイル31〜33を選択し、切り替える。
The
このように、特許文献1の「伝送システム」では、ネットワーク10が混雑したり、サーバ30の負荷が増大したりすることによってクライアント端末20での実質の受信レートが変動した場合、一定周期でクライアント端末20からサーバ30に送られている伝送レート情報に基づいて、その伝送レート以下の最も近いファイルに切り替える。
As described above, in the “transmission system” of
これにより、この「伝送システム」では、クライアント端末20側で実質伝送レートが変動した場合でも、ストリーミング再生において途切れ途切れになることがなくシームレスな再生を行うことができ、動画像の見にくさが解消される。
しかしながら、前記従来の構成では、ストリームデータの送信側(サーバ)が符号化レートの異なる多重化ファイル(ストリームデータ)を送信可能なシステムにしか適用することができないという課題を有していた。 However, the conventional configuration has a problem that the stream data transmission side (server) can be applied only to a system capable of transmitting multiplexed files (stream data) having different encoding rates.
また、前記従来の構成では、ストリームデータの受信側(クライアント端末)が、ストリームデータの実質の受信レートであるレート情報をストリームデータの送信側(サーバ)に通知し、ストリームデータの送信側(サーバ)が前記レート情報を元にストリーム配信のレートの制御をすることが可能であるシステムにしか適用することができないという課題も有していた。 In the conventional configuration, the stream data reception side (client terminal) notifies the stream data transmission side (server) of the rate information, which is the actual reception rate of the stream data, and the stream data transmission side (server) ) Has a problem that it can be applied only to a system capable of controlling the rate of stream distribution based on the rate information.
本発明は、かかる点に鑑みてなされたもので、ストリームデータの送信側が符号化レートの異なるストリームデータを送信不可能なシステムや、ストリームデータの受信側の通知したレート情報を元にストリームデータの送信側がストリーム配信のレートの制御をすることが不可能であるシステムにおいても、ストリームデータ受信用バッファのアンダーフローの発生頻度を低下させることができるストリーム受信再生装置及びストリーミングネットワークシステムを提供することを目的とする。 The present invention has been made in view of such a point, and the stream data transmission side cannot transmit stream data having different encoding rates, or the stream data based on the rate information notified by the stream data reception side. To provide a stream reception / playback apparatus and a streaming network system capable of reducing the frequency of occurrence of underflow in a stream data reception buffer even in a system in which the transmission side cannot control the stream delivery rate. Objective.
かかる課題を解決するため、本発明のストリーム受信再生装置は、配信されたストリームデータおよび制御データを受信する通信手段と、前記通信手段により受信した前記ストリームデータを一時的に蓄積する蓄積手段と、前記蓄積手段により蓄積された前記ストリームデータをデコードするデコード手段と、前記通信手段が受信した前記ストリームデータに関する制御情報により、前記ストリームデータの状態が一時停止可能であり、かつ前記ストリームデータの蓄積量の増加必要性が有ると判定した場合に、前記デコード手段を制御して前記ストリームデータのデコードを一時停止し、前記蓄積手段に蓄積される前記ストリームデータのデータ量を増加させる制御手段と、を具備する構成を採る。 In order to solve this problem, the stream reception / playback apparatus of the present invention includes a communication unit that receives distributed stream data and control data, a storage unit that temporarily stores the stream data received by the communication unit, The state of the stream data can be paused by the decoding means for decoding the stream data stored by the storage means, and the control information related to the stream data received by the communication means, and the amount of the stream data stored Control means for controlling the decoding means to temporarily stop the decoding of the stream data and increasing the data amount of the stream data accumulated in the accumulating means when it is determined that there is a need to increase The structure to comprise is taken.
本発明のストリーム受信再生装置及びストリーミングネットワークシステムによれば、ストリームデータの送信側が符号化レートの異なるストリームデータを送信不可能なシステムや、ストリームデータの受信側の通知したレート情報を元にストリームデータの送信側がストリーム配信のレートの制御をすることが不可能であるシステムにおいても、ストリームデータ受信用バッファのアンダーフローの発生頻度を低下させることができる。 According to the stream reception / playback apparatus and the streaming network system of the present invention, the stream data transmission side cannot transmit stream data having different encoding rates, or stream data based on the rate information notified by the stream data reception side. Even in a system in which it is impossible for the transmission side to control the stream delivery rate, the frequency of occurrence of underflow in the stream data reception buffer can be reduced.
以下、本発明の実施の形態について、図面を参照して詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の一実施の形態に係るストリーミングネットワークシステムの構成を示す図である。 FIG. 1 is a diagram showing a configuration of a streaming network system according to an embodiment of the present invention.
図1に示すように、本例のストリーミングネットワークシステム100は、ストリーム受信再生装置(クライアント)101と、サーバ102と、ネットワーク103から構成される。なお、図1において、ネットワーク103は、本例では無線ネットワークを例示しているが、これに限らず、有線ネットワークでも良い。
As shown in FIG. 1, the
ストリーム受信再生装置101は、端末通信部110と、バッファ111と、デコーダ112と、端末制御部113と、を備えている。
The stream reception /
サーバ102は、サーバ制御部120と、ストリームデータ送出部121と、サーバ通信部122と、ストリームデータ蓄積部123と、を備えている。
The
まず、クライアントであるストリーム受信再生装置101の構成について説明する。
First, the configuration of the stream reception /
図1において、端末通信部110は、ネットワーク103を介してストリームデータを受信し、受信したストリームデータをバッファ111へ出力する。
In FIG. 1, the
クライアント側の蓄積手段としてのバッファ111は、端末通信部110から入力したストリームデータを一時的に蓄積する。そして、バッファ111は、蓄積したストリームデータをデコーダ112へ出力する。
A
デコーダ112は、バッファ111から入力したストリームデータをデコードしてスピーカ114へ出力する。
The
端末制御部113は、端末通信部110から受信したストリームデータに関する制御情報と、バッファ111の状態とに基づいて、デコーダ112を制御する。具体的には、端末制御部113は、ストリームデータの状態が一時停止可能であり、ストリームデータの蓄積量の増加必要性があると判定した場合には、デコーダ112を制御してストリームデータのデコードを一時停止し、バッファ111に蓄積されるストリームデータのデータ量を増加させるように制御する。
The
スピーカ114は、デコーダ112から入力したストリームデータが表す音楽等を外部へ出力する。
The
次に、サーバ102の構成について説明する。
Next, the configuration of the
ストリームデータ蓄積部123は、配信するストリームデータ及びストリームデータに関する制御情報、例えば、曲名、アルバム名、アーティスト名、曲の長さなどの時間情報、といった曲情報を蓄積し、ストリームデータをストリームデータ送出部121に出力する。
The stream
ストリームデータ送出部121は、サーバ制御部120の制御に基づいて、ストリームデータをサーバ通信部122へ出力する。
The stream
サーバ制御部120は、ストリームデータ送出部121を制御する。また、サーバ制御部120は、ストリームデータ蓄積部123から制御情報を読み出し、読み出した制御情報をサーバ通信部122へ出力する。
The
サーバ通信部122は、ストリームデータ送出部121から入力したストリームデータ、及びサーバ制御部120から入力した制御情報を、ネットワーク103を介してストリーム受信再生装置101へ送信する。
The
次に、図2を用いて、上述のように構成されたストリーミングネットワークシステム100の動作について説明する。図2は、本発明の一実施の形態に係るストリーミングネットワークシステムの動作を示すフローチャートである。
Next, the operation of the
通常のストリーミング再生の基本動作では、ストリーム受信再生装置101は、ネットワーク103を介してストリームデータの受信を開始し、受信開始から一定時間内(例えばTini)に受信したストリームデータをバッファ111に蓄える。
In the basic operation of normal streaming playback, the stream reception /
なお、ストリーム受信再生装置101は、一定時間内に受信したストリームデータをバッファ111に蓄えるように構成されている場合に限らず、一定量のストリームデータをバッファ111に蓄えるように構成されていても良い。
Note that the stream reception /
端末制御部113は、一定時間Tiniが経過するか、またはバッファ111に一定量のストリームデータが蓄積されると、ストリームデータのデコードの開始をデコーダ112に対して指示する。
The
デコーダ112は、端末制御部113からの指示に応答して、バッファ111に蓄積されたストリームデータのデコードを開始し、デコード済みのストリームデータをスピーカ114に与える。
In response to an instruction from the
このようにして、ストリーム受信再生装置101では、ストリームデータが再生され、受信したストリームデータが表す音楽がスピーカ114から鳴り始める。
In this way, the stream reception /
以降のストリームデータ再生中の状態においては、ストリームデータを受信(ステップST201)し、受信したストリームデータをバッファ111に蓄積する(ステップST202)。 In the subsequent stream data playback state, stream data is received (step ST201), and the received stream data is stored in the buffer 111 (step ST202).
端末制御部113は、ストリームデータの受信中に、制御情報を受信したか否か判定する(ステップST203)。
そして、ステップST203において、端末制御部113が制御情報を受信していないと判定した場合には、ステップST201〜ステップST203の処理を繰返す。
And in step ST203, when it determines with the
一方、ステップST203において、端末制御部113が制御情報を受信したと判定した場合には、ストリームデータの状態が一時停止可能であるか否かを判定する(ステップST204)。
On the other hand, if it is determined in step ST203 that the
そして、ステップST204において、ストリームデータの状態が一時停止可能で無いと判定した場合には、ステップST201〜ステップST204の処理を繰返す。 If it is determined in step ST204 that the state of the stream data cannot be paused, the processes in steps ST201 to ST204 are repeated.
一方、ステップST204において、ストリームデータの状態が一時停止可能であると判定した場合には、バッファ111に蓄積されたストリームデータのデータ量(以下、これを「残バッファ量」という)に基づき、ストリームデータの蓄積量の増加必要性があるか否かを判定する(ステップST205)。 On the other hand, if it is determined in step ST204 that the state of the stream data can be paused, the stream data is streamed based on the amount of stream data accumulated in the buffer 111 (hereinafter referred to as “remaining buffer amount”). It is determined whether or not there is a need to increase the amount of accumulated data (step ST205).
そして、ステップST205にいて、ストリームデータの蓄積量の増加必要性が無いと判定した場合には、ステップST201〜ステップST205の処理を繰返す。 If it is determined in step ST205 that there is no need to increase the amount of accumulated stream data, the processes in steps ST201 to ST205 are repeated.
一方、ステップST205にいて、ストリームデータの蓄積量の増加必要性が有ると判定した場合には、端末制御部113はデコーダ112を制御してストリームデータのデコードを一時停止する(ステップST206)。
On the other hand, if it is determined in step ST205 that there is a need to increase the amount of accumulated stream data,
次いで、ストリームデータのデコードを一時停止した状態において、ストリームデータを受信すると(ステップST207)、ストリームデータをバッファ111に蓄積(ステップST208)し、再度、ストリームデータの蓄積量の増加必要性があるか否かを判定する(ステップST209)。 Next, when stream data is received in a state where decoding of the stream data is paused (step ST207), the stream data is accumulated in the buffer 111 (step ST208), and it is necessary to increase the accumulation amount of the stream data again. It is determined whether or not (step ST209).
そして、ステップST209において、ストリームデータの蓄積量の増加必要性があると判定した場合には、ステップST207〜ステップST209の処理を繰返す。 If it is determined in step ST209 that there is a need to increase the accumulated amount of stream data, the processes in steps ST207 to ST209 are repeated.
一方、ステップST209において、ストリームデータの蓄積量の増加必要性が無いと判定した場合には、ストリームデータのデコードを再開し(ステップST210)、ステップST201に戻ってステップST201からステップST209の処理を繰返す。 On the other hand, if it is determined in step ST209 that there is no need to increase the amount of accumulated stream data, the decoding of the stream data is resumed (step ST210), the process returns to step ST201, and the processes from step ST201 to step ST209 are repeated. .
次に、ステップST204において、ストリームデータの状態が一時停止可能であるか否かを判定する方法について具体例を挙げて説明する。 Next, a method for determining whether or not the state of the stream data can be paused in step ST204 will be described with a specific example.
ここでは、具体例として、ステップST203において端末制御部113が受信の有無を判定する制御情報が、曲名、アルバム名、アーティスト名、曲の長さなどの時間情報、曲の区切りを示す曲の区切り情報、曲のトラック番号情報、曲間の状態を示す曲状態情報、といった曲情報を含んでいる場合について説明する。
Here, as a specific example, the control information that the
このように、制御情報が曲情報、例えば曲の区切り情報を含んでいる場合には、ストリームデータが曲の区切りにあるときにストリームデータの状態が一時停止可能であると判定するように端末制御部113を構成することで、ストリームデータの状態が一時停止可能であるか否かを判定することが可能となる。
As described above, when the control information includes song information, for example, song segment information, terminal control is performed so as to determine that the state of the stream data can be paused when the stream data is at the song segment. By configuring the
また、制御情報に曲のトラック番号の変化を通知する情報が含まれている場合には、ストリームデータが曲と曲の間の状態にあるときにストリームデータの状態が一時停止可能であると判定するように端末制御部113を構成することで、ストリームデータの状態が一時停止可能であるか否かを判定することが可能となる。
Also, if the control information includes information notifying the change of the track number of the song, it is determined that the stream data state can be paused when the stream data is in a state between the songs. By configuring the
同様に、制御情報に曲間の状態を示す情報が含まれていた場合には、ストリームデータが曲と曲の間の状態にあるときにストリームデータの状態が一時停止可能であると判定するように端末制御部113を構成することで、ストリームデータの状態が一時停止可能であるか否かを判定することが可能となる。
Similarly, if the control information includes information indicating the state between songs, it is determined that the stream data state can be paused when the stream data is in a state between songs. By configuring the
次に、ステップST205において、ストリームデータの蓄積量の増加必要性があるか否かを判定する方法について具体例を挙げて説明する。 Next, a method for determining whether or not there is a need to increase the accumulated amount of stream data in step ST205 will be described with a specific example.
ストリームデータの蓄積量の増加必要性の有無の判定方法としては、例えば、ある一定の閾値(例えばBth_Pause)を設けておき、残バッファ量が閾値Bth_Pause以下であれば、ストリームデータの蓄積量の増加必要性があると判定すれば良い。 As a method for determining whether or not the stream data accumulation amount needs to be increased, for example, a certain threshold value (for example, Bth_Pause) is provided, and if the remaining buffer amount is equal to or less than the threshold value Bth_Pause, the stream data accumulation amount is increased. What is necessary is just to determine with necessity.
また、他の判定方法としては、残バッファ量を定期的に観測し、残バッファ量が減少傾向にあるならば、ストリームデータの蓄積量の増加必要性があると判定しても良い。 As another determination method, the remaining buffer amount may be observed periodically, and if the remaining buffer amount tends to decrease, it may be determined that there is a need to increase the accumulated amount of stream data.
なお、ステップST209におけるストリームデータの蓄積量の増加必要性があるか否かを判定する方法については、ステップST205と同じ判定基準による判定方法を用いても良いし、あるいは異なった判定方法を用いても良い。 As a method for determining whether or not there is a need to increase the accumulation amount of stream data in step ST209, a determination method based on the same determination criterion as in step ST205 may be used, or a different determination method may be used. Also good.
ステップST205と異なった判定方法としては、例えば、ステップST209において判定に用いる閾値をBth_Restartとし、残バッファ量がBth_Restart以下であれば、ストリームデータの蓄積量の増加必要性があると判定すれば良い。 As a determination method different from step ST205, for example, if the threshold used for determination in step ST209 is Bth_Restart and the remaining buffer amount is equal to or less than Bth_Restart, it may be determined that there is a need to increase the accumulation amount of stream data.
すなわち、この判定方法では、言い換えれば、残バッファ量がBth_Restartを超えればストリームデータのデコードを再開するということになる。 That is, in this determination method, in other words, when the remaining buffer amount exceeds Bth_Restart, the decoding of the stream data is resumed.
なお、これらの判定方法は、Bth_Pause=Bth_RestartであればステップST205と同じ判定基準による判定方法となり、Bth_Pause≠Bth_Restartであれば異なる判定基準による判定方法となる。 Note that these determination methods are based on the same determination criteria as in step ST205 if Bth_Pause = Bth_Restart, and are determined based on different determination criteria if Bth_Pause ≠ Bth_Restart.
次に、具体例として、図3を用いて、ストリームデータの2曲目の再生中に通信エラーが発生して、2曲目と3曲目の間でバッファ量を回復させる場合について説明する。 Next, as a specific example, a case where a communication error occurs during reproduction of the second song of stream data and the buffer amount is recovered between the second and third songs will be described with reference to FIG.
図3は、本発明の一実施の形態に係る残バッファ量の時刻推移及びストリームデータの状態を示す図である。なお、ここでは、制御情報に曲の区切り情報が含まれている場合を例にとって説明する。 FIG. 3 is a diagram showing the time transition of the remaining buffer amount and the stream data state according to the embodiment of the present invention. Here, a case will be described as an example where the control information includes song separation information.
図3において、ブロック301は、ストリーム受信再生装置101の端末通信部110が受信したストリームデータの内容の時刻推移を表す。ブロック302は、ストリーム受信再生装置101のデコーダ112がデコードするストリームデータの内容の時刻推移を表す。ブロック303は、ストリーム受信再生装置101のバッファ111に蓄積されているストリームデータの残バッファ量の時刻推移を表す。
In FIG. 3, a
図3においては、時刻Tdから時刻Teの間に通信エラーが発生し、ストリーム受信再生装置101のバッファ111に蓄積されているストリームデータの残バッファ量が減少している状態を示している。
FIG. 3 shows a state in which a communication error has occurred between time Td and time Te, and the remaining buffer amount of stream data stored in the
図3に示すように、クライアントであるストリーム受信再生装置101は、時刻Taにストリームデータの受信を開始し、一定時間(Tini)経過後の時刻Tbからデコーダ112によるストリームデータのデコードが開始される。
As shown in FIG. 3, the stream reception /
このように、本例のストリーム受信再生装置101においては、バッファ111に一定の残バッファ量のストリームデータを確保するために、時刻Taから時刻Tbの間は、ストリームデータはバッファ111に蓄積されるがストリームデータのデコードは開始されない。
Thus, in the stream reception /
そして、時刻Tb以降の、1曲目のストリームデータが配信されている間は、ストリームデータの蓄積とデコードを繰返す。 Then, while the first piece of stream data after time Tb is distributed, the accumulation and decoding of the stream data is repeated.
その後、端末制御部113は、1曲目の終了を示す曲の区切り情報が含まれている制御情報を受信すると、残バッファ量に基づきストリームデータの蓄積量の増加必要性があるか否かを判定する。
After that, when receiving the control information including the song segment information indicating the end of the first song, the
図3に示す例では、1曲目の終了時点での残バッファ量はB1であるので、残バッファ量B1が閾値Bth_Pause以下であるか否か判定する。この例の場合は、B1>Bth_Pauseであるので、ストリームデータの蓄積量の増加必要性は無いと判定し、引き続き2曲目のデコード処理を継続する。 In the example shown in FIG. 3, since the remaining buffer amount at the end of the first song is B1, it is determined whether or not the remaining buffer amount B1 is less than or equal to the threshold value Bth_Pause. In this example, since B1> Bth_Pause, it is determined that there is no need to increase the accumulation amount of stream data, and the decoding process for the second song is continued.
その後、端末制御部113は、2曲目の終了を示す曲の区切り情報が含まれている制御情報を受信すると、残バッファ量に基づきストリームデータの蓄積量の増加必要性があるか否かを判定する。
After that, when receiving the control information including the song segment information indicating the end of the second song, the
図3に示す例では、2曲目の終了時点での残バッファ量はB2であるので、残バッファ量B2が閾値Bth_Pause以下であるか否か判定する。この例の場合は、B2<Bth_Pauseであるので、ストリームデータの蓄積量の増加必要性があると判定し、端末制御部113がデコーダ112を制御してストリームデータのデコードを一時停止する。
In the example shown in FIG. 3, since the remaining buffer amount at the end of the second song is B2, it is determined whether or not the remaining buffer amount B2 is less than or equal to the threshold value Bth_Pause. In this example, since B2 <Bth_Pause, it is determined that there is a need to increase the amount of accumulated stream data, and the
次いで、デコードを一時停止している状態においてストリームデータを受信すると、ストリームデータの受信とストリームデータのバッファ111への蓄積を行い、ストリームデータの蓄積量の増加必要性があるか否かを判定する。
Next, when stream data is received while decoding is paused, stream data is received and stream data is stored in the
図3に示す例では、時刻Tfから時刻Tgまでの間は残バッファ量がBth_Restart以下であるので、ストリームデータの蓄積量の増加必要性があると判定して、ストリームデータのデコードの一時停止を継続する(デコード停止区間3021)。 In the example shown in FIG. 3, since the remaining buffer amount is equal to or less than Bth_Restart from time Tf to time Tg, it is determined that there is a need to increase the accumulated amount of stream data, and decoding of stream data is suspended. Continue (decoding stop section 3021).
そして、図3に示す例では、時刻Tgを超えた段階で、残バッファ量がBth_Restartを超えるので、時刻Tgより後では、ストリームデータのデコードが再開されて3曲目がデコードされる。 In the example shown in FIG. 3, since the remaining buffer amount exceeds Bth_Restart when the time Tg is exceeded, after the time Tg, decoding of the stream data is resumed and the third music is decoded.
上述のように、本例のストリーム受信再生装置101においては、受信したストリームデータに関する制御情報により、ストリームデータの状態が一時停止可能であるか否かを判定することができる。
As described above, in the stream reception /
また、本例のストリーム受信再生装置101においては、バッファ111に蓄積されているストリームデータの残バッファ量から、ストリームデータの蓄積量の増加必要性の有無を判定することができる。
Also, in the stream reception /
そして、本例のストリーム受信再生装置101においては、ストリームデータの状態が一時停止可能であり、かつ、ストリームデータの蓄積量の増加必要性があると判定した場合に、端末制御部113が、デコーダ112を制御してストリームデータのデコードを一時停止し、バッファ111に蓄積されているストリームデータの残バッファ量を増加させるように制御する。
Then, in the stream reception /
従って、本例のストリーム受信再生装置101を用いたストリーミングネットワークシステムにおいては、ストリームデータの受信側であるストリーム受信再生装置101だけの制御により、ネットワーク103上での通信エラーや、無線電波状況の悪化などが原因により発生するバッファ111のアンダーフローの発生頻度を抑えることができる。
Therefore, in the streaming network system using the stream reception /
なお、ここでは、図3に示すように、制御情報に曲の終了を示す「曲の区切り情報」が含まれている場合を例にとって説明したが、本例のストリーム受信再生装置101は、図4に示すように、制御情報に曲のトラック番号の変化通知する情報あるいは曲間の状態を示す情報が含まれている場合でも同様に制御することができる。 Here, as shown in FIG. 3, the case where the control information includes “song break information” indicating the end of a song has been described as an example. As shown in FIG. 4, even when the control information includes information for notifying the change of the track number of music or information indicating the state between songs, the same control can be performed.
図4に示す例の場合は、曲の終了を示す「曲の区切り情報」の代わりに「曲間の状態」を示す情報が制御情報に含まれている。 In the case of the example shown in FIG. 4, information indicating “state between songs” is included in the control information instead of “music break information” indicating the end of a song.
図4に示す例は、例えば時刻Tcにおいて、1曲目の終了を示す「曲の区切り情報」の変わりに「曲間の状態」を示す制御情報を用いて、ストリームデータの状態が一時停止可能であるか否か、及びストリームデータの蓄積量の増加必要性があるか否かを判定する点が、図3に示した例の場合と異なる。 In the example shown in FIG. 4, for example, at the time Tc, the state of the stream data can be paused by using the control information indicating the “state between songs” instead of the “music break information” indicating the end of the first song. It is different from the example shown in FIG. 3 in that it is determined whether or not there is a need to increase the accumulation amount of stream data.
また、図4に示す例は、時刻Tfにおいて、2曲目の終了を示す「曲の区切り情報」の変わりに「曲間の状態」を示す制御情報を用いて、ストリームデータの状態が一時停止可能であるか否か、及びストリームデータの蓄積量の増加必要性があるか否かを判定する点が、図3に示した例の場合と異なる。 Further, in the example shown in FIG. 4, at the time Tf, the state of the stream data can be paused by using the control information indicating the “state between songs” instead of the “music break information” indicating the end of the second song. Is different from the example shown in FIG. 3 in that it is determined whether or not there is a need to increase the accumulation amount of stream data.
なお、以上の説明では、無線通信方式に関しては特に限定されるものではないが、例えば近距離無線通信技術のBluetoothや無線LANを用いても良い。 In the above description, the wireless communication method is not particularly limited. For example, Bluetooth or wireless LAN of short-range wireless communication technology may be used.
ここで、無線通信方式にBluetoothを用いる場合は、例えばストリームデータはA2DP(Advanced Audio Distribution Profile)で送信して良い。 Here, when Bluetooth is used for the wireless communication method, for example, the stream data may be transmitted by A2DP (Advanced Audio Distribution Profile).
また、ストリームデータに関する制御情報は、例えばAVRCP(Audio/Video Remote Control Profile)におけるVendor Dependent Commandで送信しても良い。 Also, the control information related to the stream data may be transmitted using, for example, a Vendor Dependent Command in AVRCP (Audio / Video Remote Control Profile).
また、ストリームデータに関する制御情報は、AVRCPにおけるVendor Unique Operation_Idを持つPass Through Commandで送信しても良い。 Further, the control information related to the stream data may be transmitted using a Pass Through Command having a Vendor Unique Operation_Id in AVRCP.
ここで、A2DPは、Bluetoothにおいて音楽データなどのストリームデータを送受信するための技術的仕様である。 Here, A2DP is a technical specification for transmitting and receiving stream data such as music data in Bluetooth.
また、AVRCPは、Bluetoothにおいてストリームの制御コマンド(Play、Stopなど)を送受信するための技術的仕様である。 AVRCP is a technical specification for transmitting and receiving stream control commands (Play, Stop, etc.) in Bluetooth.
さらに、Vendor Dependent CommandやVendor Unique Operation_Idは、AVRCPにおいて各ベンダーが独自の拡張をすることができるコマンドである。 Furthermore, Vendor Dependent Command and Vendor Unique Operation_Id are commands that each vendor can independently extend in AVRCP.
なお、上記説明では具体値を上げて説明した部分もあるが本発明がそれに限定されないことは言うまでもない。 In the above description, although there are portions described with specific values raised, it goes without saying that the present invention is not limited thereto.
本発明に係るストリーミングネットワークシステム及びストリーム受信再生装置は、ストリームデータの送信側が符号化レートの異なるストリームデータを送信不可能なシステムや、ストリームデータの受信側の通知したレート情報を元にストリームデータの送信側がストリーム配信のレートの制御をすることが不可能であるシステムにおいても、ストリームデータ受信用バッファのアンダーフローの発生頻度を低下させることができるので、音声や動画などのデータをネットワーク経由で受信しながら再生するストリーミング技術を用いたストリーミングネットワークシステム及びストリーム受信再生装置として有用である。 The streaming network system and the stream reception / playback apparatus according to the present invention provide a stream data transmission system based on the system in which the stream data transmission side cannot transmit stream data having different encoding rates or the rate information notified by the stream data reception side. Even in systems where the transmission side cannot control the stream delivery rate, the frequency of underflow in the stream data reception buffer can be reduced, so data such as audio and video can be received via the network. Therefore, the present invention is useful as a streaming network system and a stream reception / playback apparatus using a streaming technology for playback.
100 ストリーミングネットワークシステム
101 ストリーム受信再生装置
102 サーバ
103 ネットワーク
110 端末通信部
111 バッファ
112 デコーダ
113 端末制御部
114 スピーカ
120 サーバ制御部
121 ストリームデータ送出部
122 サーバ通信部
123 ストリームデータ蓄積部
DESCRIPTION OF
Claims (6)
前記通信手段により受信した前記ストリームデータを一時的に蓄積する蓄積手段と、
前記蓄積手段により蓄積された前記ストリームデータをデコードするデコード手段と、
前記通信手段が受信した前記ストリームデータに関する制御情報により、前記ストリームデータの状態が一時停止可能であり、かつ前記ストリームデータの蓄積量の増加必要性が有ると判定した場合に、前記デコード手段を制御して前記ストリームデータのデコードを一時停止し、前記蓄積手段に蓄積される前記ストリームデータのデータ量を増加させる制御手段と、
を具備する、ストリーム受信再生装置。 A communication means for receiving the distributed stream data and control data;
Storage means for temporarily storing the stream data received by the communication means;
Decoding means for decoding the stream data stored by the storage means;
The decoding means is controlled when it is determined that the stream data state can be temporarily stopped and the accumulation amount of the stream data needs to be increased based on the control information regarding the stream data received by the communication means. Control means for temporarily stopping the decoding of the stream data and increasing the data amount of the stream data stored in the storage means;
A stream reception / playback apparatus comprising:
前記ストリーム受信再生装置は、配信されたストリームデータおよび制御データを受信する通信手段と、前記通信手段により受信した前記ストリームデータを一時的に蓄積する蓄積手段と、前記蓄積手段により蓄積された前記ストリームデータをデコードするデコード手段と、前記通信手段が受信した前記ストリームデータに関する制御情報により、前記ストリームデータの状態が一時停止可能であり、かつ前記ストリームデータの蓄積量の増加必要性が有ると判定した場合に、前記デコード手段を制御して前記ストリームデータのデコードを一時停止し、前記蓄積手段に蓄積される前記ストリームデータのデータ量を増加させる制御手段と、を具備し、
前記サーバは、前記ストリームデータを蓄積するストリームデータ蓄積手段と、前記ストリームデータ蓄積手段により蓄積された前記ストリームデータを送出するストリームデータ送出手段と、前記ストリームデータに関する制御情報を送出する制御手段と、前記ストリーム受信再生装置に前記ストリームデータを配信するストリームデータ配信手段と、を具備する、ストリーミングネットワークシステム。 A streaming network system configured by a network including a server that distributes stream data, and a stream reception and reproduction device that receives and reproduces the stream data distributed from the server,
The stream reception / playback apparatus includes a communication unit that receives distributed stream data and control data, a storage unit that temporarily stores the stream data received by the communication unit, and the stream that is stored by the storage unit. Based on the decoding means for decoding data and the control information on the stream data received by the communication means, it is determined that the state of the stream data can be paused and the amount of accumulation of the stream data needs to be increased Control means for controlling the decoding means to temporarily stop the decoding of the stream data and increasing the data amount of the stream data accumulated in the accumulating means,
The server includes: stream data storage means for storing the stream data; stream data transmission means for transmitting the stream data stored by the stream data storage means; control means for transmitting control information relating to the stream data; A streaming network system comprising: stream data distribution means for distributing the stream data to the stream reception / playback apparatus.
前記通信ステップで受信した前記ストリームデータを一時的に蓄積する蓄積ステップと、
前記蓄積ステップで蓄積された前記ストリームデータをデコードするデコードステップと、
前記通信ステップで受信した前記ストリームデータに関する制御情報により、前記ストリームデータの状態が一時停止可能であり、かつ前記ストリームデータの蓄積量の増加必要性が有ると判定した場合に、前記ストリームデータのデコードを一時停止し、前記蓄積ステップで蓄積される前記ストリームデータのデータ量を増加させる制御ステップと、
を具備する、ストリーム受信方法。 A communication step for receiving the distributed stream data and control data;
An accumulation step of temporarily accumulating the stream data received in the communication step;
A decoding step for decoding the stream data accumulated in the accumulation step;
When it is determined by the control information related to the stream data received in the communication step that the state of the stream data can be temporarily stopped and the accumulation amount of the stream data needs to be increased, the decoding of the stream data is performed. A control step of temporarily stopping and increasing the data amount of the stream data accumulated in the accumulation step;
A stream receiving method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006136649A JP2007311902A (en) | 2006-05-16 | 2006-05-16 | Stream receiving and reproducing device and streaming network system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006136649A JP2007311902A (en) | 2006-05-16 | 2006-05-16 | Stream receiving and reproducing device and streaming network system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007311902A true JP2007311902A (en) | 2007-11-29 |
Family
ID=38844385
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006136649A Pending JP2007311902A (en) | 2006-05-16 | 2006-05-16 | Stream receiving and reproducing device and streaming network system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007311902A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009207105A (en) * | 2008-01-30 | 2009-09-10 | Onkyo Corp | Stream replay apparatus, streaming system, and stream replay program |
JP2009253348A (en) * | 2008-04-01 | 2009-10-29 | Alps Electric Co Ltd | Data processing method and data processing apparatus |
JP2009258608A (en) * | 2008-03-21 | 2009-11-05 | Onkyo Corp | Stream reproducing device and its program |
WO2015119141A1 (en) * | 2014-02-04 | 2015-08-13 | 三菱電機株式会社 | Content regeneration device |
-
2006
- 2006-05-16 JP JP2006136649A patent/JP2007311902A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009207105A (en) * | 2008-01-30 | 2009-09-10 | Onkyo Corp | Stream replay apparatus, streaming system, and stream replay program |
JP2012010411A (en) * | 2008-01-30 | 2012-01-12 | Onkyo Corp | Stream reproducing apparatus |
JP2009258608A (en) * | 2008-03-21 | 2009-11-05 | Onkyo Corp | Stream reproducing device and its program |
JP4600698B2 (en) * | 2008-03-21 | 2010-12-15 | オンキヨー株式会社 | Stream reproducing apparatus and program thereof |
JP2009253348A (en) * | 2008-04-01 | 2009-10-29 | Alps Electric Co Ltd | Data processing method and data processing apparatus |
WO2015119141A1 (en) * | 2014-02-04 | 2015-08-13 | 三菱電機株式会社 | Content regeneration device |
JP5940230B2 (en) * | 2014-02-04 | 2016-06-29 | 三菱電機株式会社 | Content playback device |
US9853910B2 (en) | 2014-02-04 | 2017-12-26 | Mitsubishi Electric Corporation | Contents reproduction apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4347322B2 (en) | Receiving apparatus and method, and program | |
KR101737325B1 (en) | Method and apparatus for reducing decreasing of qualitly of experience in a multimedia system | |
KR101510822B1 (en) | Adaptive trick play streaming | |
US8019272B2 (en) | Content reproducing apparatus and communication method therefor | |
JP4293160B2 (en) | Content playback apparatus and content playback method | |
JP2007057767A (en) | Content receiving set and content receiving method | |
KR100832537B1 (en) | Multimedia data streaming server and method for changing a traffic in response to network bandwidth condition | |
WO2003090282A1 (en) | Data reception apparatus and data distribution system | |
JP5940230B2 (en) | Content playback device | |
KR101472032B1 (en) | Method of treating representation switching in HTTP streaming | |
JP2007311902A (en) | Stream receiving and reproducing device and streaming network system | |
JP4379779B2 (en) | Video distribution method | |
JP2001045067A (en) | Voice transmission device | |
JP5335354B2 (en) | Information transmitting apparatus, information transmitting apparatus control method, and computer program | |
JP5440839B2 (en) | Information processing apparatus and method, and program | |
JP2014127762A (en) | Video information reproduction method and system | |
JP2003333488A (en) | System and method for reproducing streaming data | |
JP2003289526A (en) | Video receiving terminal unit and method for controlling reproduction | |
JP2004289295A (en) | Data processing system, data processor, and data processing method | |
JP4376165B2 (en) | Receiver, clock adjustment method, and broadcasting system | |
KR20060016809A (en) | Medium signal reception device, transmission device, and transmission/reception system | |
JP2012222530A (en) | Receiving device and method, and program | |
JP4591939B2 (en) | Adaptive encoding transmission apparatus and receiving apparatus | |
JP2010028259A (en) | Content reproducing device and program | |
JP4587780B2 (en) | Video playback device |