JP2007221597A - Stream receiver and stream reception method - Google Patents

Stream receiver and stream reception method Download PDF

Info

Publication number
JP2007221597A
JP2007221597A JP2006041516A JP2006041516A JP2007221597A JP 2007221597 A JP2007221597 A JP 2007221597A JP 2006041516 A JP2006041516 A JP 2006041516A JP 2006041516 A JP2006041516 A JP 2006041516A JP 2007221597 A JP2007221597 A JP 2007221597A
Authority
JP
Japan
Prior art keywords
amount
time
stream data
stream
decoding speed
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
Application number
JP2006041516A
Other languages
Japanese (ja)
Inventor
Kenichi Moriguchi
健一 森口
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2006041516A priority Critical patent/JP2007221597A/en
Publication of JP2007221597A publication Critical patent/JP2007221597A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To suppress occurrence of overflow or underflow in a buffer for accumulating stream data, even in a system where a stream transmission rate at a transmission side cannot be controlled on the reception side, by eliminating the need for controlling the transmission rate at the transmission side in a configuration, wherein a decoding speed is controlled in accordance with a state of the buffer for accumulating stream data at a stream data receiving side. <P>SOLUTION: A buffer 111 temporarily accumulates received stream data. A decoder 112 decodes the stream data. A control unit 113 accelerates the decoding speed, if it is decided, based on the amount of change in the amount of stream data accumulated in the buffer 111, that the accumulated amount tends to increase, and decelerates the decoding speed, if it is decided that the amount of stream data accumulated in the buffer 111 tends to decrease. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、ストリーム受信装置及びストリーム受信方法に関し、特に音声又は動画などのデータをネットワーク経由で受信しながら再生するストリーミング技術を用いるストリーム受信装置及びストリーム受信方法に関する。   The present invention relates to a stream receiving apparatus and a stream receiving method, and more particularly to a stream receiving apparatus and a stream receiving method using a streaming technology for reproducing data such as audio or moving images while receiving the data via a network.

ストリーミング技術は、音声又は動画などのリアルタイム性が要求されるデータをネットワークを介して配送し、配送しながら再生を行う技術である。ストリーミング技術によれば全データをダウンロードすることなく再生を行えるので、受信側に大容量の記憶装置などが不要になるとともに、全データをダウンロードする方式に比べ、配送開始から再生開始までを高速にすることができるという特徴がある。   The streaming technology is a technology for delivering data that requires real-time performance such as audio or moving images via a network and performing reproduction while delivering the data. Streaming technology allows playback without downloading all data, eliminating the need for a large-capacity storage device on the receiving side, and speeding from the start of delivery to the start of playback compared to a method that downloads all data. There is a feature that can be.

しかしながら、ストリームデータの送信側(ストリームサーバ)のクロックと、ストリームデータ受信側(クライアント)のクロックが完全に同期していないことから、ストリームデータの送信側(ストリームサーバ)が配送を行うレートと、ストリームデータ受信側(クライアント)が再生を行うレートの差が僅かながらも存在する。このクロックの差が原因となり、ストリームデータの受信バッファのオーバーフロー又はアンダーフローが発生する課題がある。またこの課題は特に長時間の再生を行う場合に発生しやすい。また、ストリームデータの送信側が、無線ネットワークを用いてストリームデータを配送する場合には、無線の伝搬環境が不安定であることに起因して、ストリームデータの受信バッファのオーバーフロー又はアンダーフローが発生する課題がある。   However, since the clock of the stream data transmission side (stream server) and the clock of the stream data reception side (client) are not completely synchronized, the rate at which the stream data transmission side (stream server) performs delivery, There is a slight difference in the rate at which the stream data receiving side (client) performs playback. Due to this clock difference, there is a problem that an overflow or underflow of the reception buffer of stream data occurs. In addition, this problem is likely to occur particularly when reproduction is performed for a long time. In addition, when the stream data transmission side uses the wireless network to deliver the stream data, an overflow or underflow of the stream data reception buffer occurs due to the unstable wireless propagation environment. There are challenges.

これを解決する従来技術として、例えば特許文献1がある。図21は、特許文献1のストリーム配送システムの構成を示す図である。図21において、ストリームサーバ10は、ネットワーク30を介してクライアント20と接続する。ストリームサーバ10には、ストリームデータを格納するディスク12が接続される。また、ストリームサーバ10は、ストリームデータの読み出しと配送を実行する配送サーバ11を備えている。クライアント20には、画像を出力するディスプレイ22および音声を出力するスピーカ23が接続される。また、クライアント20では、ストリームデータの受信と再生を実行する再生アプリケーション21が起動する。   As a prior art for solving this, there is, for example, Patent Document 1. FIG. 21 is a diagram showing the configuration of the stream delivery system disclosed in Patent Document 1. As shown in FIG. In FIG. 21, the stream server 10 is connected to the client 20 via the network 30. A disk 12 for storing stream data is connected to the stream server 10. Further, the stream server 10 includes a delivery server 11 that executes reading and delivery of stream data. The client 20 is connected to a display 22 that outputs an image and a speaker 23 that outputs sound. In the client 20, a playback application 21 that executes reception and playback of stream data is activated.

次に、特許文献1におけるストリーム配送システムの動作について説明する。クライアント20上の再生アプリケーション21は、ストリームサーバ10上の配送サーバ11に対して、ネットワーク30を介して、ストリーム配送開始要求を送信する(ST40)。ストリーム配送開始要求を受信した配送サーバ11は、ストリームデータをディスク12から順次読み出し(ST41)、再生アプリケーション21に順次配送する(ST42)。再生アプリケーション21は、ストリームデータを受信し、受信したストリームデータから順次ディスプレイ22およびスピーカ23にて再生する(ST43)。   Next, the operation of the stream delivery system in Patent Document 1 will be described. The playback application 21 on the client 20 transmits a stream delivery start request via the network 30 to the delivery server 11 on the stream server 10 (ST40). Upon receiving the stream delivery start request, the delivery server 11 sequentially reads the stream data from the disk 12 (ST41) and delivers the stream data to the playback application 21 (ST42). The reproduction application 21 receives the stream data and reproduces the received stream data sequentially on the display 22 and the speaker 23 (ST43).

バッファのオーバーフローやアンダーフローが発生するという課題に対する特許文献1での対策を以下で説明する。   The countermeasure in Patent Document 1 for the problem of buffer overflow and underflow will be described below.

ストリームサーバ10は、ストリームデータの配送レートを変更して配送することが可能なレート変更配送手段(図示省略)を備えている。レート変更配送手段は、ストリームデータ固有の伝送レートであるビットレート(固有ビットレート)に依存もしくは依存せずに変更可能な構成になっている。   The stream server 10 includes rate change delivery means (not shown) capable of changing the delivery rate of stream data and delivering it. The rate change delivery means is configured to be changeable depending on or not depending on a bit rate (unique bit rate) that is a transmission rate unique to stream data.

クライアント20は、ストリームサーバが配送するストリームデータの受信レートと、前記固有ビットレートとの差異を利用して、ストリームサーバ10に要求する最適な配送レートを決定する要求レート決定手段(図示省略)と、要求レート決定手段において決定した配送レートをストリームサーバ10に通知する要求レート通知手段(図示省略)を備えている。   The client 20 uses request rate determination means (not shown) for determining an optimum delivery rate requested from the stream server 10 using the difference between the reception rate of the stream data delivered by the stream server and the specific bit rate. And request rate notifying means (not shown) for notifying the stream server 10 of the delivery rate determined by the request rate determining means.

クライアント20は、ストリームデータを蓄えるバッファ内のストリームデータの量(バッファ量)が減少もしくは増大してくると、配送レート変更要求をストリームサーバ10に送信することにより、ストリームサーバ10に対して、望ましいレート(整合レート)に変更するように要求する。ストリームサーバ10は、配送レート変更要求を受信すると、要求された整合レートに配送レートを変更する。このように構成することにより特許文献1ではバッファのオーバーフローやアンダーフローを防いでいる。
特開2000−228669号公報
When the amount of stream data (buffer amount) in the buffer for storing stream data decreases or increases, the client 20 sends a delivery rate change request to the stream server 10, which is desirable for the stream server 10. Request to change to rate (matching rate). Upon receiving the delivery rate change request, the stream server 10 changes the delivery rate to the requested matching rate. With this configuration, in Patent Document 1, buffer overflow and underflow are prevented.
JP 2000-228669 A

しかしながら、従来の構成においては、ストリームデータの受信側(クライアント)が、ストリームデータの送信側(ストリームサーバ)に、ストリームデータの送出レートである配送レートを変更する旨の要求を出して制御することが可能であるシステムにしか適用することができないという問題がある。   However, in the conventional configuration, the stream data reception side (client) issues a request to the stream data transmission side (stream server) to change the delivery rate, which is the stream data transmission rate, and performs control. There is a problem that it can be applied only to a system that can do this.

本発明はかかる点に鑑みてなされたものであり、ストリームデータの受信側が、ストリームデータを蓄積するバッファの状態に応じてデコードの速度を制御する構成にし、送信側の送出レートを制御する必要をなくすることにより、受信側が送信側のストリーム送出レートを制御することができないシステムにおいても、ストリームデータを蓄積するバッファのオーバーフロー又はアンダーフローの発生を抑えることができるストリーム受信装置及びストリーム受信方法を提供することを目的とする。   The present invention has been made in view of such points, and it is necessary for the stream data receiving side to control the decoding speed in accordance with the state of the buffer that stores the stream data, and to control the transmission rate on the transmitting side. By providing the stream receiving apparatus, a stream receiving apparatus and a stream receiving method capable of suppressing the occurrence of overflow or underflow of a buffer for storing stream data even in a system in which the receiving side cannot control the stream sending rate on the transmitting side are provided. The purpose is to do.

本発明のストリーム受信装置は、配信されたストリームデータを受信する受信手段と、受信した前記ストリームデータを一時的に蓄積する蓄積手段と、蓄積された前記ストリームデータをデコードするデコード手段と、蓄積された前記ストリームデータの蓄積量の変化量に基づいて該蓄積量が増加傾向であると判断した場合に前記デコードの速度を速くし、該蓄積量が減少傾向であると判断した場合に前記デコードの速度を遅くする制御手段と、を具備する構成を採る。   The stream receiving apparatus of the present invention includes a receiving unit that receives distributed stream data, a storage unit that temporarily stores the received stream data, a decoding unit that decodes the stored stream data, The decoding speed is increased when it is determined that the accumulation amount is increasing based on the amount of change in the accumulation amount of the stream data, and the decoding is performed when it is determined that the accumulation amount is decreasing. And a control means for slowing down the speed.

本発明のストリーム受信方法は、配信されたストリームデータを受信する受信ステップと、受信した前記ストリームデータを一時的に蓄積する蓄積ステップと、蓄積された前記ストリームデータをデコードするデコードステップと、蓄積された前記ストリームデータの蓄積量の変化量に基づいて該蓄積量が増加傾向であると判断した場合に前記デコードの速度を速くし、該蓄積量が減少傾向である場合に前記デコードの速度を遅くする制御ステップと、を具備するようにした。   The stream reception method of the present invention includes a reception step for receiving distributed stream data, a storage step for temporarily storing the received stream data, a decoding step for decoding the stored stream data, and a storage step. Further, the decoding speed is increased when it is determined that the accumulation amount is increasing based on the change amount of the stream data accumulation amount, and the decoding speed is decreased when the accumulation amount is decreasing. And a control step.

本発明によれば、ストリームデータの受信側が、蓄積手段におけるストリームデータ蓄積量の変化量に応じてデコードの速度を制御する構成にすることにより、送信側の送出レートを制御する必要がないので、受信側が送信側のストリーム送出レートを制御することができないシステムにおいても、ストリームデータを蓄積するバッファのオーバーフロー又はアンダーフローの発生を抑えることができる。   According to the present invention, since the stream data receiving side is configured to control the decoding speed in accordance with the amount of change in the stream data accumulation amount in the accumulation means, it is not necessary to control the transmission rate on the transmission side. Even in a system in which the receiving side cannot control the stream transmission rate of the transmitting side, it is possible to suppress the occurrence of overflow or underflow of a buffer for storing stream data.

以下、本発明の実施の形態について、図面を参照して詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

(実施の形態1)
図1は、本発明の実施の形態1に係るストリーミングネットワークシステム100を示す図である。ストリーミングネットワークシステム100は、ストリーム受信再生装置(クライアント)101と、サーバ102と、ネットワーク103から構成される。なお、図1において、ネットワーク103は無線ネットワークであるが、これに限らず、有線ネットワークでも良い。
(Embodiment 1)
FIG. 1 is a diagram showing a streaming network system 100 according to Embodiment 1 of the present invention. The streaming network system 100 includes a stream reception / playback apparatus (client) 101, a server 102, and a network 103. In FIG. 1, the network 103 is a wireless network, but is not limited to this, and may be a wired network.

ストリーム受信再生装置101は、通信部110と、バッファ111と、デコーダ112と、制御部113を具備する。また、サーバ102は、制御部120と、ストリームデータ送出部121と、通信部122を具備する。   The stream reception / playback apparatus 101 includes a communication unit 110, a buffer 111, a decoder 112, and a control unit 113. The server 102 includes a control unit 120, a stream data transmission unit 121, and a communication unit 122.

最初に、ストリーム受信再生装置101の構成について説明する。   First, the configuration of the stream reception / playback apparatus 101 will be described.

通信部110は、ネットワーク103を介して、例えば音楽のようなコンテンツを表すストリームデータを受信し、受信したストリームデータをバッファ111へ出力する。   The communication unit 110 receives stream data representing content such as music, for example, via the network 103 and outputs the received stream data to the buffer 111.

蓄積手段であるバッファ111は、通信部110から入力したストリームデータを一時的に蓄積する。そして、バッファ111は、蓄積したストリームデータをデコーダ112へ出力する。   A buffer 111 serving as storage means temporarily stores stream data input from the communication unit 110. Then, the buffer 111 outputs the accumulated stream data to the decoder 112.

デコーダ112は、バッファ111から入力したストリームデータを、制御部113にて制御された速度でデコードして、デコード済みのデータをスピーカ114へ出力する。   The decoder 112 decodes the stream data input from the buffer 111 at a speed controlled by the control unit 113 and outputs the decoded data to the speaker 114.

制御部113は、バッファ111に蓄積されたストリームデータの蓄積量の変化量を算出し、算出した変化量に基づいてデコーダ112がストリームデータをデコードする速度を制御する。具体的には、制御部113は、バッファ111に蓄積されたストリームデータの蓄積量の変化量に基づいて該蓄積量が増加傾向であると判断した場合に、デコーダ112に対して、デコードの速度を速くするように制御し、バッファ111に蓄積されたストリームデータの蓄積量の変化量に基づいて該蓄積量が減少傾向であると判断した場合に、デコーダ112に対して、デコードの速度を遅くするように制御する。   The control unit 113 calculates the change amount of the accumulation amount of the stream data accumulated in the buffer 111, and controls the speed at which the decoder 112 decodes the stream data based on the calculated change amount. Specifically, when the control unit 113 determines that the accumulation amount tends to increase based on the change amount of the accumulation amount of the stream data accumulated in the buffer 111, the control unit 113 determines the decoding speed to the decoder 112. If the accumulation amount is determined to be decreasing based on the change amount of the accumulation amount of the stream data accumulated in the buffer 111, the decoding speed is decreased with respect to the decoder 112. Control to do.

スピーカ114は、デコーダ112から入力したストリームデータが表す音楽等を外部へ出力する。   The speaker 114 outputs music or the like represented by the stream data input from the decoder 112 to the outside.

次に、サーバ102の構成について説明する。   Next, the configuration of the server 102 will be described.

制御部120は、ストリームデータ送出部121を制御する。   The control unit 120 controls the stream data transmission unit 121.

ストリームデータ送出部121は、制御部120の制御に基づいて、ストリームデータを通信部122へ出力する。   The stream data sending unit 121 outputs the stream data to the communication unit 122 based on the control of the control unit 120.

通信部122は、ストリームデータ送出部121から入力したストリームデータをネットワーク103を介してストリーム受信再生装置101へ送信する。   The communication unit 122 transmits the stream data input from the stream data transmission unit 121 to the stream reception / playback apparatus 101 via the network 103.

以上のように構成されたストリーミングネットワークシステム100について、図2を用いて、その動作を説明する。図2は、ストリーミングネットワークシステム100の動作を示すフロー図である。   The operation of the streaming network system 100 configured as described above will be described with reference to FIG. FIG. 2 is a flowchart showing the operation of the streaming network system 100.

通常のストリーミング再生の基本動作では、ストリーム受信再生装置101は無線ネットワーク103を介してストリームデータの受信を開始し(ステップST201)、一定時間(例えばTini)内に受信したストリームデータをバッファ111に蓄える(ステップST202)。なお、ストリーム受信再生装置101は、一定時間内に受信したストリームデータをバッファ111に蓄えるように構成されている場合に限らず、一定量のストリームデータをバッファ111に蓄えるように構成されていても良い。一定時間Tiniが経過するか、またはバッファ111に一定量のストリームデータが蓄積されると、制御部113は、デコードの開始をデコーダ112に対して指示し、デコーダ112は、制御部113からの指示に応答して、バッファ111に蓄積されたストリームデータのデコードを開始し、デコード済みのストリームデータをスピーカ114に与える。このようにして、ストリーム受信再生装置101では、ストリームデータが再生され、受信したストリームデータが表す音楽がスピーカ114から鳴り始める。   In the basic operation of normal streaming playback, the stream reception / playback apparatus 101 starts receiving stream data via the wireless network 103 (step ST201), and stores the stream data received within a certain time (for example, Tini) in the buffer 111. (Step ST202). Note that the stream reception / playback apparatus 101 is not limited to the case where the stream data received within a certain time is stored in the buffer 111, but the stream reception / playback apparatus 101 may be configured to store a certain amount of stream data in the buffer 111. good. When the fixed time Tini elapses or a certain amount of stream data is accumulated in the buffer 111, the control unit 113 instructs the decoder 112 to start decoding, and the decoder 112 receives an instruction from the control unit 113. In response to this, the decoding of the stream data stored in the buffer 111 is started, and the decoded stream data is supplied to the speaker 114. In this way, the stream reception / playback apparatus 101 plays back the stream data, and the music represented by the received stream data starts to sound from the speaker 114.

ストリームデータの再生中において、制御部113は、定期的にバッファ111に蓄えられているストリームデータの量(以下、「残バッファ量」と記載する)を計測するとともに、計測した残バッファ量に基づいて定期的に残バッファ量の変化量を算出して記憶する(ステップST203)。制御部113は、残バッファ量の変化量の算出回数が所定値に達したか否か判断し(ステップST204)、算出回数が所定値に達していない場合にはステップST201〜ステップST204の処理を繰り返す。一方、ステップST204において、制御部113は、算出回数が所定値に達している場合には残バッファ量の変化量の平均値を求める(ステップST205)。   During the reproduction of the stream data, the control unit 113 periodically measures the amount of stream data stored in the buffer 111 (hereinafter referred to as “remaining buffer amount”) and based on the measured remaining buffer amount. The amount of change in the remaining buffer amount is periodically calculated and stored (step ST203). The control unit 113 determines whether or not the number of calculations of the remaining buffer amount change amount has reached a predetermined value (step ST204). If the number of calculations has not reached the predetermined value, the processing of steps ST201 to ST204 is performed. repeat. On the other hand, in step ST204, when the number of calculations reaches a predetermined value, the control unit 113 obtains an average value of the amount of change in the remaining buffer amount (step ST205).

そして、制御部113は、求めた平均値に基づいて、残バッファ量の変化量が増加傾向であるか否かを判断し(ステップST206)、増加傾向にあると判断した場合に、デコーダ112がデコードを行う速度を速くする(ステップST207)。ステップST206において、制御部113は、増加傾向にないと判断した場合に、減少傾向であるか否かを判断し(ステップST208)、減少傾向であると判断した場合に、デコーダ112がデコードを行う速度を遅くする(ステップST209)。続いて、ステップST207でデコード速度を速くした後、またはステップST209でデコード速度を遅くした後、またはステップST208で減少傾向でないと判断した場合に、ストリーム受信再生装置101は、ストリームデータの受信が終了したか否かを判断し(ステップST210)、ストリームデータの受信が終了したと判断した場合には動作を停止し、ストリームデータの受信が終了していないと判断した場合にはステップST201〜ステップST210の処理を繰り返す。   Then, based on the obtained average value, the control unit 113 determines whether or not the amount of change in the remaining buffer amount is increasing (step ST206). The decoding speed is increased (step ST207). In step ST206, the control unit 113 determines whether or not the trend is decreasing when it is determined that the trend is not increasing (step ST208), and the decoder 112 performs decoding when it is determined that the trend is decreasing. The speed is decreased (step ST209). Subsequently, after the decoding speed is increased in step ST207, the decoding speed is decreased in step ST209, or when it is determined in step ST208 that there is no tendency to decrease, the stream reception / playback apparatus 101 finishes receiving the stream data (Step ST210), the operation is stopped when it is determined that the reception of the stream data is completed, and the steps ST201 to ST210 are determined when it is determined that the reception of the stream data is not completed. Repeat the process.

次に、制御部113が、残バッファ量の変化量が増加傾向であるのかまたは減少傾向であるのかを判断する方法の詳細について、図3〜図6を用いて説明する。図3は、残バッファ量の時刻推移を示す図であり、図4は、各時刻におけるバッファ111の状態を示す図であり、図5は、デコードの速度の時刻遷移を示す図であり、図6は、残バッファ量の時刻推移を示す図である。   Next, details of a method by which the control unit 113 determines whether the amount of change in the remaining buffer amount is increasing or decreasing will be described with reference to FIGS. 3 is a diagram showing the time transition of the remaining buffer amount, FIG. 4 is a diagram showing the state of the buffer 111 at each time, and FIG. 5 is a diagram showing the time transition of the decoding speed. FIG. 6 is a diagram illustrating the time transition of the remaining buffer amount.

図3に示すように、制御部113は、基準時刻T0を基準として、一定時間Tc毎に残バッファ量を計測し記憶する。制御部113は、基準時刻T0から一定時刻Tcが経過する度に、残バッファ量の変化量を算出して記憶する。具体的には、制御部113は、時刻T1(T1=T0+Tc)での残バッファ量の変化量ΔD1、即ち時刻T0から時刻T1までの間の残バッファ量の変化量ΔD1を算出する。続いて、制御部113は、時刻T2(T2=T1+Tc)での残バッファ量の変化量ΔD2、即ち時刻T1から一定時刻Tcが経過した時刻T2での残バッファ量の変化量ΔD2を算出する。以降、制御部113は、ステップST210でYesと判断するまで、前回の算出時刻から一定時間Tcが経過する度に、残バッファ量の変化量を算出する。   As shown in FIG. 3, the control unit 113 measures and stores the remaining buffer amount for each predetermined time Tc with reference to the reference time T0. The control unit 113 calculates and stores the amount of change in the remaining buffer amount every time the fixed time Tc elapses from the reference time T0. Specifically, the control unit 113 calculates the change amount ΔD1 of the remaining buffer amount at time T1 (T1 = T0 + Tc), that is, the change amount ΔD1 of the remaining buffer amount from time T0 to time T1. Subsequently, the control unit 113 calculates a change amount ΔD2 of the remaining buffer amount at time T2 (T2 = T1 + Tc), that is, a change amount ΔD2 of the remaining buffer amount at time T2 when a certain time Tc has elapsed from time T1. Thereafter, the control unit 113 calculates the amount of change in the remaining buffer amount every time the predetermined time Tc elapses from the previous calculation time until it is determined Yes in step ST210.

ここで、ネットワーク103が無線ネットワークの場合には、特に無線の電波状況等によるパケットロス又は再送が起こりやすいので残バッファ量が変化しやすい。これらの影響をできるだけ排除しつつ、クロックの差によるバッファ111のオーバーフロー又はアンダーフローの発生頻度を抑えるために、制御部113は、バッファ111における残バッファ量について複数個の変化量を平均した値に基づいて残バッファ量の変化の傾向を判断する。   Here, when the network 103 is a wireless network, packet loss or retransmission due to radio wave conditions or the like is likely to occur, so the remaining buffer amount is likely to change. In order to suppress the occurrence frequency of overflow or underflow of the buffer 111 due to the clock difference while eliminating these influences as much as possible, the control unit 113 sets the average value of a plurality of changes in the remaining buffer amount in the buffer 111. Based on this, the change tendency of the remaining buffer amount is determined.

図4は、図3の一例として、各時刻T0〜T6におけるバッファ111の状態を示す図である。図4に示すように、制御部113は、一定時間である測定時間(時刻T0から時刻T6までの時間)内に、所定回数分(図4では6回分)の残バッファ量の変化量を計測し、計測した所定回数分(図4では6回分)の残バッファ量の変化量の平均値ΔDを算出し、算出した平均値ΔDに基づいて、残バッファ量の変化量が増加傾向であるかまたは減少傾向であるかを判断する。ここで、以下の説明では、平均値を算出するための測定時間を、N×Tcとおく。そして、制御部113は、時刻T0から時刻T6までの時間のデコード速度Routに対して、時刻T0から時刻T6までの時間の平均値ΔDを単位時間Tcで割った数を加算してデコードの速度を修正する。そして、次の測定時間(時刻T7から時刻T12までの時間)では、デコーダ112は、修正後のデコードの速度でデコードする。   FIG. 4 is a diagram illustrating the state of the buffer 111 at times T0 to T6 as an example of FIG. As shown in FIG. 4, the control unit 113 measures the amount of change in the remaining buffer amount for a predetermined number of times (six times in FIG. 4) within a measurement time (time from time T0 to time T6) that is a fixed time. Then, the average value ΔD of the change amount of the remaining buffer amount for the predetermined number of times measured (six times in FIG. 4) is calculated, and whether the change amount of the remaining buffer amount is increasing based on the calculated average value ΔD. Or it is judged whether it is decreasing. Here, in the following description, the measurement time for calculating the average value is set to N × Tc. Then, the control unit 113 adds the number obtained by dividing the average value ΔD of the time from the time T0 to the time T6 by the unit time Tc to the decoding speed Rout of the time from the time T0 to the time T6. To correct. In the next measurement time (time from time T7 to time T12), the decoder 112 decodes at the corrected decoding speed.

例えば、デコーダ112のデコードを行う速度が、Rout=40Kbyte/Sec(=320Kbps)とすると、一定時間Tc(10秒)における残バッファ量の変化量の平均値ΔDは、図4に示すようにΔD=−0.5Kbyteになる。また、制御部113は、残バッファ量の変化量の平均値ΔDを打ち消すようにRout+ΔD/Tcを新たなデコード速度として算出する。図4の場合、算出した残バッファ量の変化量の平均値ΔDの極性がマイナスであるため、制御部113は、残バッファ量が減少傾向にあると判断し、デコードを行う速度を遅くするようにデコーダ112を制御する。即ち、制御部113は、時刻T6以降のデコードを行う速度を、新たに算出したデコード速度、つまり40+(−0.5)/10=39.95Kbyte/Sec(=319.6Kbps)に変更するようにデコーダ112を制御する。この結果、図5に示すように、時刻Tnから時刻Tn2までの時間のデコードの速度は、時刻T0から時刻Tnまでの時間のデコードの速度RoutよりもΔD/Tc=−0.05Kbyte/Secだけ遅くなる。そして、デコードの速度RoutをΔD/Tcだけ遅くすることにより、図6に示すように、時刻Tnから時刻Tn2までの時間の残バッファ量は、時刻T0の残バッファ量よりもΔDだけ減少した状態で一定に推移する。   For example, when the decoding speed of the decoder 112 is Rout = 40 Kbyte / Sec (= 320 Kbps), the average value ΔD of the amount of change in the remaining buffer amount at a certain time Tc (10 seconds) is ΔD as shown in FIG. = -0.5 Kbytes. Further, the control unit 113 calculates Rout + ΔD / Tc as a new decoding speed so as to cancel the average value ΔD of the change amount of the remaining buffer amount. In the case of FIG. 4, since the polarity of the average value ΔD of the calculated change amount of the remaining buffer amount is negative, the control unit 113 determines that the remaining buffer amount is in a decreasing tendency and slows down the decoding speed. The decoder 112 is controlled. That is, the control unit 113 changes the decoding speed after time T6 to the newly calculated decoding speed, that is, 40 + (− 0.5) /10=39.95 Kbyte / Sec (= 319.6 Kbps). The decoder 112 is controlled. As a result, as shown in FIG. 5, the time decoding speed from time Tn to time Tn2 is only ΔD / Tc = −0.05 Kbyte / Sec than the time decoding speed Rout from time T0 to time Tn. Become slow. Then, by reducing the decoding speed Rout by ΔD / Tc, as shown in FIG. 6, the remaining buffer amount from time Tn to time Tn2 is reduced by ΔD from the remaining buffer amount at time T0. It stays constant at.

このようにして、時刻Tn以降においては、時刻T0から時刻Tnまでの時間よりデコードの速度を遅くしてデコードと再生とが行われるので、残バッファ量の減少傾向を抑制することができる。また、図3〜図6においては、残バッファ量の変化量が減少傾向である場合について説明したが、残バッファ量の変化量が増加傾向である場合には、減少傾向である場合と逆の制御を行う。このような制御を繰り返すことにより、時刻Tn以降において、クロックの差及び無線の伝搬環境に起因するバッファ111のオーバーフロー又はアンダーフローの発生頻度を抑えることができる。   In this way, after time Tn, decoding and playback are performed with the decoding speed slower than the time from time T0 to time Tn, so that the tendency of the remaining buffer amount to decrease can be suppressed. In addition, in FIGS. 3 to 6, the case where the change amount of the remaining buffer amount tends to decrease has been described. However, when the change amount of the remaining buffer amount tends to increase, it is the opposite of the case where the change amount is decreasing. Take control. By repeating such control, after the time Tn, the frequency of occurrence of overflow or underflow of the buffer 111 due to the clock difference and the radio propagation environment can be suppressed.

因みに、制御部113にてデコードの速度を制御する場合でも、ストリームデータのオーバーフロー又はアンダーフローが生じる可能性がある。オーバーフローした際に、音声の場合にはオーバーフローしたストリームデータによっては聴感上の問題が生じるので、バッファ111に所定量以上のストリームデータが蓄積した場合に、聴感上問題が生じない一部のストリームデータを削除する処理を行う。また、アンダーフローした際に、音声の場合には雑音として聞こえるので、バッファ111のストリームデータの蓄積量が所定量以下になってからある程度のストリームデータが蓄積するまでの間、デコードを停止するとともに、デコードを停止していることをユーザに知らせる。これにより、ストリームデータが聞くに堪えない音声として出力されることを防ぐことができる。   Incidentally, even when the decoding speed is controlled by the control unit 113, there is a possibility that an overflow or underflow of stream data occurs. In the case of an overflow, in the case of audio, a problem in audibility occurs depending on the stream data that has overflowed. Therefore, when a predetermined amount or more of stream data is accumulated in the buffer 111, some stream data that does not cause a problem in audibility Process to delete. In addition, since the sound is heard as noise in the case of an underflow, the decoding is stopped during a period from when the accumulated amount of stream data in the buffer 111 becomes equal to or less than a predetermined amount until some stream data is accumulated. Inform the user that decoding is stopped. As a result, it is possible to prevent stream data from being output as unbearable sound.

このように、本実施の形態1によれば、残バッファ量の変化量に従いデコーダ112のデコード速度を制御することにより、送信側の送出レートを制御する必要がないので、受信側が送信側のストリーム送出レートを制御することができないシステムにおいても、ストリームデータを蓄積するバッファのオーバーフロー又はアンダーフローの発生を抑えることができる。   As described above, according to the first embodiment, it is not necessary to control the transmission rate on the transmission side by controlling the decoding speed of the decoder 112 according to the amount of change in the remaining buffer amount. Even in a system in which the transmission rate cannot be controlled, the occurrence of overflow or underflow of a buffer that accumulates stream data can be suppressed.

なお、本実施の形態1において、制御部113は10sec経過する毎に残バッファ量の変化量を計測したが、これに限らず、制御部113は時刻T1=10sec、時刻T2=30sec等のように異なる時間間隔で残バッファ量の変化量を計測しても良い。また、本実施の形態1によれば、残バッファ量の変化量の平均値により増加傾向であるか減少傾向であるかを判断したが、これに限らず、残バッファ量の変化量を算出する毎に増加傾向であるか減少傾向であるかを判断しても良い。   In the first embodiment, the control unit 113 measures the amount of change in the remaining buffer amount every time 10 sec elapses. However, the control unit 113 is not limited to this, and the control unit 113 has a time T1 = 10 sec, a time T2 = 30 sec, etc. The change amount of the remaining buffer amount may be measured at different time intervals. Further, according to the first embodiment, it is determined whether the trend is increasing or decreasing based on the average value of the change amount of the remaining buffer amount, but not limited to this, the change amount of the remaining buffer amount is calculated. You may judge every time whether it is an increasing tendency or a decreasing tendency.

(実施の形態2)
図7は、ストリーミングネットワークシステム100の動作を示すフロー図である。なお、図7においては、図2と同一の動作である部分には同一の符号を付してその説明は省略する。また、本発明の実施の形態2に係るストリーミングネットワークシステムは図1と同一であり、ストリーム受信再生装置(クライアント)及びサーバの構成は図1と同一構成であるので、その説明は省略する。
(Embodiment 2)
FIG. 7 is a flowchart showing the operation of the streaming network system 100. In FIG. 7, parts that are the same as those in FIG. The streaming network system according to Embodiment 2 of the present invention is the same as that shown in FIG. 1, and the configuration of the stream reception / playback apparatus (client) and server is the same as that shown in FIG.

本実施の形態2では、ネットワーク103が無線ネットワークの場合において、クロックの差によるバッファのオーバーフロー又はアンダーフローの影響のみを抽出するために、無線の電波状況によるパケットロス又は再送の影響による残バッファ量の急激な変化を排除する。即ち、本実施の形態2は、残バッファ量の変化量の内、基準値以上の大きな変化量は、急激なレベル変動をもたらすフェージング又は、無線LANとBluetoothの干渉等の無線の電波状況の悪化により生じたものとして、制御部113でデコードの速度を制御する際に、制御の判断に使用しないようにする点が実施の形態1と異なる。   In the second embodiment, in the case where the network 103 is a wireless network, in order to extract only the influence of the buffer overflow or underflow due to the clock difference, the remaining buffer amount due to the packet loss or retransmission due to the radio wave condition Eliminate sudden changes. That is, in the second embodiment, a large change amount greater than or equal to the reference value among the change amounts of the remaining buffer amount is caused by fading that causes rapid level fluctuation or deterioration of radio wave conditions such as interference between the wireless LAN and Bluetooth. This is different from the first embodiment in that it is not used for control judgment when the control unit 113 controls the decoding speed.

ストリームデータの再生中において、制御部113は、定期的に残バッファ量を計測するとともに、計測した残バッファ量に基づいて定期的に残バッファ量の変化量を算出する(ステップST203)。そして、制御部113は、算出した残バッファ量の変化量が閾値以上であるか否かを判断して(ステップST701)、変化量が閾値以上である場合には算出した変化量を記憶せずに除外する(ステップST702)。そして、制御部113は、残バッファ量の変化量の算出回数が所定値に達したか否か判断する(ステップST204)。一方、ステップST701において、変化量が閾値以上でない場合には、制御部113は、算出した残バッファ量の変化量を記憶し、残バッファ量の変化量の算出回数が所定値に達したか否か判断する(ステップST204)。   During the reproduction of the stream data, the control unit 113 periodically measures the remaining buffer amount and periodically calculates the change amount of the remaining buffer amount based on the measured remaining buffer amount (step ST203). Then, the control unit 113 determines whether or not the calculated change amount of the remaining buffer amount is equal to or greater than the threshold value (step ST701), and does not store the calculated change amount when the change amount is equal to or greater than the threshold value. (Step ST702). Then, control unit 113 determines whether or not the number of calculation of the remaining buffer amount change amount has reached a predetermined value (step ST204). On the other hand, when the amount of change is not greater than or equal to the threshold value in step ST701, the control unit 113 stores the calculated amount of change in the remaining buffer amount, and whether or not the number of times of calculation of the amount of change in the remaining buffer amount has reached a predetermined value. (STEP ST204).

次に、制御部113が、残バッファ量の変化量が増加傾向であるのかまたは減少傾向であるのかを判断する方法の詳細について、図8〜図11を用いて説明する。図8は、残バッファ量の時刻推移を示す図であり、図9は、各時刻におけるバッファ111の状態を示す図であり、図10は、デコードの速度の時刻推移を示す図であり、図11は、残バッファ量の時刻推移を示す図である。   Next, details of how the control unit 113 determines whether the amount of change in the remaining buffer amount tends to increase or decrease will be described with reference to FIGS. 8 is a diagram showing the time transition of the remaining buffer amount, FIG. 9 is a diagram showing the state of the buffer 111 at each time, and FIG. 10 is a diagram showing the time transition of the decoding speed. 11 is a diagram showing the time transition of the remaining buffer amount.

図8は、時刻T1からT2の間の時刻Terrにおいて無線ネットワーク103における電波状況の悪化などによりストリームデータの受信に障害が起こった場合を示している。この受信障害に起因するバーストエラーにより、バッファ111に蓄えられているストリームデータの量(バッファ量)は大きく減少する。また、時刻Terrの後時刻T2から時刻T3の間に受信障害による影響を回復しようとして、ストリーム受信再生装置101とサーバ102との間でストリームデータの再送処理が行われ、残バッファ量が大きく回復している。このように無線ネットワーク103における電波状況の悪化などが発生すると残バッファ量の変化量が通常の場合と比べて非常に大きくなる。   FIG. 8 shows a case where a failure occurs in reception of stream data due to deterioration of the radio wave condition in the wireless network 103 at time Terr between times T1 and T2. Due to the burst error resulting from this reception failure, the amount of stream data (buffer amount) stored in the buffer 111 is greatly reduced. Also, in order to recover the influence of reception failure between time T2 and time T3 after time Terr, retransmission processing of stream data is performed between the stream reception / playback apparatus 101 and the server 102, and the remaining buffer amount is greatly recovered. is doing. As described above, when the radio wave condition in the wireless network 103 deteriorates, the amount of change in the remaining buffer amount becomes very large compared to the normal case.

図9は、図8の一例として、各時刻T0〜T6におけるバッファ111の状態を示す図である。制御部113は、残バッファ量の変化量を算出する毎に、算出した残バッファ量の変化量が基準値(例えば、10Kbyte)以上か否かを判断し、基準値以上の場合には制御の判断に使用しないようにする。図9では、フラグのフィールドを設けており、制御部113は、基準値以上と判断した残バッファ量の変化量に対しては「未使用」のフラグを割り当て、基準値未満と判断した残バッファ量の変化量に対しては「使用」のフラグを割り当てる。このようにすることで、図9のように残バッファ量の変化量が算出された場合、制御部113は、フラグが「使用」となっている4回分の変化量から平均値ΔDを求め、求めた平均値ΔDは「+0.5Kbyte」となる。この際に、算出した残バッファ量の変化量の平均値ΔDの極性がプラスであるため、制御部113は、残バッファ量の変化量が増加傾向であると判断し、デコードの速度を速くするようにデコーダ112を制御する。即ち、制御部113は、時刻T6以降のデコードを行う速度を、新たに算出したデコード速度に変更するようにデコーダ112を制御する。この結果、図10に示すように、時刻Tnから時刻Tn2までの時間のデコードの速度は、時刻T0から時刻Tnまでの時間のデコードの速度RoutよりもΔD/Tcだけ速くなる。そして、デコードの速度RoutをΔD/Tcだけ速くしたことにより、図11に示すように、時刻Tnから時刻Tn2までの時間の残バッファ量は、図11中に実線で示す通り、「時刻T0の残バッファ量」+ΔD+「無線の電波状況悪化によるバーストエラー等に起因する変化量B」で一定に推移する。なお、図11において、破線は、バーストエラー等が発生していないと仮定した場合における残バッファ量の時刻推移である。   FIG. 9 is a diagram illustrating the state of the buffer 111 at times T0 to T6 as an example of FIG. Each time the control unit 113 calculates the change amount of the remaining buffer amount, the control unit 113 determines whether or not the calculated change amount of the remaining buffer amount is a reference value (for example, 10 Kbytes) or more. Do not use for judgment. In FIG. 9, a flag field is provided, and the control unit 113 assigns an “unused” flag to the change amount of the remaining buffer amount determined to be equal to or greater than the reference value, and determines the remaining buffer determined to be less than the reference value. A “use” flag is assigned to the amount of change in the amount. In this way, when the amount of change in the remaining buffer amount is calculated as shown in FIG. 9, the control unit 113 obtains the average value ΔD from the amount of change for four times in which the flag is “used”. The obtained average value ΔD is “+0.5 Kbyte”. At this time, since the polarity of the calculated average value ΔD of the remaining buffer amount change is positive, the control unit 113 determines that the remaining buffer amount change amount is increasing and increases the decoding speed. The decoder 112 is controlled as follows. That is, the control unit 113 controls the decoder 112 to change the decoding speed after time T6 to the newly calculated decoding speed. As a result, as shown in FIG. 10, the time decoding speed from time Tn to time Tn2 is higher by ΔD / Tc than the time decoding speed Rout from time T0 to time Tn. Then, by increasing the decoding speed Rout by ΔD / Tc, as shown in FIG. 11, the remaining buffer amount of time from time Tn to time Tn2 is “at time T0” as shown by the solid line in FIG. It remains constant at “remaining buffer amount” + ΔD + “change amount B caused by burst error or the like due to deterioration of radio wave condition”. In FIG. 11, the broken line represents the time transition of the remaining buffer amount when it is assumed that no burst error or the like has occurred.

このようにして時刻Tn以降においては、時刻T0から時刻Tnまでの時間よりデコードの速度を速くしてデコードと再生とが行われてバッファ量の増加傾向が抑制される。また、図8〜図11においては、残バッファ量の変化量が増加傾向である場合について説明したが、残バッファ量の変化量が減少傾向である場合には、増加傾向である場合と逆の制御を行う。このような制御を繰り返すことにより、時刻Tn以降において、クロックの差及び無線の伝搬環境に起因するバッファ111のオーバーフロー又はアンダーフローの発生頻度を抑えることができる。   In this way, after time Tn, the decoding speed is made faster than the time from time T0 to time Tn, and decoding and reproduction are performed, thereby suppressing an increase in the buffer amount. 8 to 11, the case where the amount of change in the remaining buffer amount tends to increase has been described. However, when the amount of change in the remaining buffer amount tends to decrease, it is the opposite of the case where the amount of change remains. Take control. By repeating such control, after the time Tn, the frequency of occurrence of overflow or underflow of the buffer 111 due to the clock difference and the radio propagation environment can be suppressed.

このように、本実施の形態2によれば、上記実施の形態1の効果に加えて、ストリーミング受信再生装置は、基準値以上の残バッファ量の変化量を排除して増加傾向であるかまたは減少傾向であるかを判断するので、ネットワークの無線の電波状況によるバーストエラーの影響を排除して、ストリームの受信側だけの制御により、ストリームの送受信間のクロックの差及び無線の伝搬環境に起因するバッファのオーバーフローやアンダーフローの発生頻度を抑えることができる。   Thus, according to the second embodiment, in addition to the effect of the first embodiment, the streaming reception / playback apparatus tends to increase by eliminating the amount of change in the remaining buffer amount equal to or greater than the reference value, or Because it is judged whether or not there is a tendency to decrease, the influence of burst errors due to radio wave conditions of the network is eliminated, and control only on the stream reception side is caused by the clock difference between the stream transmission and reception and the radio propagation environment The frequency of occurrence of buffer overflow and underflow can be suppressed.

なお、本実施の形態2において、残バッファ量の変化量と比較する基準値を、具体値を挙げて説明したが、基準値は上記の値に限られるものではない。また、本実施の形態2において、制御部113は10sec経過する毎に残バッファ量の変化量を計測したが、これに限らず、制御部113は時刻T1=10sec、時刻T2=30sec等のように異なる時間間隔で残バッファ量の変化量を計測しても良い。   In the second embodiment, the reference value to be compared with the change amount of the remaining buffer amount has been described with reference to a specific value. However, the reference value is not limited to the above value. In the second embodiment, the control unit 113 measures the amount of change in the remaining buffer amount every time 10 sec elapses. However, the control unit 113 is not limited to this, and the control unit 113 has a time T1 = 10 sec, a time T2 = 30 sec, etc. The change amount of the remaining buffer amount may be measured at different time intervals.

(実施の形態3)
図12は、本発明の実施の形態3に係る制御部113により制御されるデコードの速度の時刻推移を示す図であり、図13は、本発明の実施の形態3に係るバッファ111における残バッファ量の時刻推移を示す図である。なお、本発明の実施の形態3に係るストリーミングネットワークシステムは図1と同一であり、ストリーム受信再生装置(クライアント)及びサーバの構成は図1と同一構成であるので、その説明は省略する。また、ストリーミングネットワークシステム100の動作は、残バッファ量が減少もしくは回復するようにデコードの速度を可変にて制御する以外は図2と同一であるので、その説明は省略する。
(Embodiment 3)
FIG. 12 is a diagram showing a time transition of the decoding speed controlled by the control unit 113 according to Embodiment 3 of the present invention, and FIG. 13 shows the remaining buffers in the buffer 111 according to Embodiment 3 of the present invention. It is a figure which shows the time transition of quantity. The streaming network system according to Embodiment 3 of the present invention is the same as that shown in FIG. 1, and the configuration of the stream reception / playback apparatus (client) and server is the same as that shown in FIG. Since the operation of the streaming network system 100 is the same as that of FIG. 2 except that the decoding speed is controlled to be variable so that the remaining buffer amount is reduced or recovered, the description thereof is omitted.

本実施の形態3では、残バッファ量が減少もしくは回復するようにデコードの速度を制御する点が実施の形態1と異なる。   The third embodiment is different from the first embodiment in that the decoding speed is controlled so that the remaining buffer amount is reduced or recovered.

本実施の形態3における制御部113は、補正値を用いてデコードの速度を修正することにより、残バッファ量の減少もしくは増大を回復するように制御する。例えば、制御部113は、補正値ΔD’=ΔD×α(ただし、αは補正係数)を記憶している。この際に、補正係数αは可変にて設定することができる。   The control unit 113 in the third embodiment performs control so as to recover the decrease or increase in the remaining buffer amount by correcting the decoding speed using the correction value. For example, the control unit 113 stores a correction value ΔD ′ = ΔD × α (where α is a correction coefficient). At this time, the correction coefficient α can be set variably.

補正係数α=1に設定した場合(ΔD’=ΔDの場合)、修正後のデコード速度はRout+ΔD/Tcになるので、図6及び図11に示すように、時刻Tnから時刻Tn2までの時間における残バッファ量は、減少または増大せずに一定の残バッファ量を維持する。   When the correction coefficient α = 1 is set (when ΔD ′ = ΔD), the corrected decoding speed is Rout + ΔD / Tc, and therefore, as shown in FIG. 6 and FIG. 11, in the time from time Tn to time Tn2. The remaining buffer amount is maintained at a constant remaining buffer amount without decreasing or increasing.

また、残バッファ量の変化量の平均値が増加傾向である場合には、制御部113は、補正係数α=2を設定(ΔD’=2×ΔD)することにより、修正後のデコード速度はRout+2×ΔD/Tcになるので、図12に示すように、補正係数α=1を設定した場合のデコードの速度よりもデコード速度を速くすることができる。例えば、制御部113は、残バッファ量の変化量の平均値を「+0.5Kbyte」と求めた場合、残バッファ量の変化量が増加傾向にあると判断し、補正係数α=2を設定することにより、デコードの速度を速くするようにデコーダ112を制御する。これにより、新たなデコードの速度は、Rout+ΔD’/Tc=40+(+1)/10=40.1Kbyte/Sec(=320.8Kbps)に変更される。このようにして時刻Tn以降においては、時刻T0から時刻Tnの時間におけるデコードの速度よりも速い速度でデコードと再生とが行われてバッファ量の増加傾向が抑制される。制御部113は、残バッファ量の変化量が増加傾向である場合に、補正係数αを「1」よりも大きい値である「2」とすることで、残バッファ量が減少するようにデコードの速度を速くする制御を行うことができる。この結果、実施の形態1及び実施の形態2よりも増加傾向の抑制効果を高くすることができる。図13の場合には、補正係数α=2に設定することにより、計測を行った時間間隔(時刻T0から時刻Tnまでの時間)の次の同じ時間間隔(時刻Tnから時刻Tn2までの時間)経過後に、時刻T0における残バッファ量と同一の残バッファ量に戻すことができる。   In addition, when the average value of the change amount of the remaining buffer amount is increasing, the control unit 113 sets the correction coefficient α = 2 (ΔD ′ = 2 × ΔD), so that the corrected decoding speed is Since Rout + 2 × ΔD / Tc, as shown in FIG. 12, the decoding speed can be made faster than the decoding speed when the correction coefficient α = 1 is set. For example, when the average value of the change amount of the remaining buffer amount is obtained as “+0.5 Kbyte”, the control unit 113 determines that the change amount of the remaining buffer amount is increasing and sets the correction coefficient α = 2. Thus, the decoder 112 is controlled to increase the decoding speed. As a result, the new decoding speed is changed to Rout + ΔD ′ / Tc = 40 + (+ 1) /10=40.1 Kbyte / Sec (= 320.8 Kbps). In this way, after time Tn, decoding and reproduction are performed at a speed faster than the decoding speed from the time T0 to the time Tn, thereby suppressing an increase in the buffer amount. When the change amount of the remaining buffer amount tends to increase, the control unit 113 sets the correction coefficient α to “2” which is a value larger than “1” so that the remaining buffer amount is reduced. Control to increase the speed can be performed. As a result, the suppression effect of the increasing tendency can be made higher than in the first and second embodiments. In the case of FIG. 13, by setting the correction coefficient α = 2, the same time interval (time from time Tn to time Tn2) next to the time interval (time from time T0 to time Tn) at which measurement was performed. After the elapse, the remaining buffer amount at the time T0 can be returned to the same remaining buffer amount.

一方、残バッファ量の変化量の平均値が減少傾向である場合には、制御部113は、補正係数α=2を設定することにより、デコードの速度を遅くするようにデコーダ112を制御する。このようにして時刻Tn以降においては、時刻T0から時刻Tnの時間におけるデコードの速度よりも遅い速度でデコードと再生とが行われてバッファ量の減少傾向が抑制される。制御部113は、残バッファ量の変化量が減少傾向である場合に、補正係数αを「1」よりも大きい値である「2」とすることで、残バッファ量が増加するようにデコードの速度を遅くする制御を行うことができる。この結果、実施の形態1及び実施の形態2よりも減少傾向の抑制効果を高くすることができる。制御部113のこのような制御により、計測を行った時間間隔(時刻T0から時刻Tnまでの時間)の次の同じ時間間隔(時刻Tnから時刻Tn2までの時間)経過後に、時刻T0における残バッファ量と同一の残バッファ量に戻すことができる。   On the other hand, when the average change amount of the remaining buffer amount tends to decrease, the control unit 113 controls the decoder 112 to set the correction coefficient α = 2 so as to reduce the decoding speed. In this way, after time Tn, decoding and reproduction are performed at a speed slower than the decoding speed from time T0 to time Tn, thereby suppressing a decrease in the buffer amount. When the amount of change in the remaining buffer amount tends to decrease, the control unit 113 sets the correction coefficient α to “2”, which is a value larger than “1”, so that the remaining buffer amount increases. Control to reduce the speed can be performed. As a result, the effect of suppressing the decrease tendency can be made higher than in the first and second embodiments. By such control of the control unit 113, after the same time interval (time from time Tn to time Tn2) after the time interval (time from time T0 to time Tn) has elapsed, the remaining buffer at time T0 The amount of remaining buffer can be returned to the same amount.

図14は、補正係数α=1.5に設定した場合の制御部113により制御されるデコードの速度の時刻推移を示す図であり、図15は、補正係数α=1.5に設定した場合のバッファ111における残バッファ量の時刻推移を示す図である。   FIG. 14 is a diagram showing the time transition of the decoding speed controlled by the control unit 113 when the correction coefficient α = 1.5, and FIG. 15 shows the case where the correction coefficient α = 1.5. It is a figure which shows the time transition of the remaining buffer amount in the buffer 111 of.

残バッファ量の変化量の平均値が増加傾向である場合には、制御部113は、補正係数α=1.5(ΔD’=1.5×ΔD)を設定することにより、修正後のデコード速度はRout+1.5×ΔD/Tcになるので、図14に示すように、補正係数α=1を設定した場合のデコードの速度よりも速く、且つ補正係数α=2を設定した場合のデコードの速度よりも遅いデコード速度にすることができる。図15の場合には、補正係数α=1.5に設定することにより、計測を行った時間間隔(時刻T0から時刻Tnまでの時間)の次の同じ時間間隔(時刻Tnから時刻Tn2までの時間)及びその次の時間間隔(時刻Tn2から時刻Tn3までの時間)経過後に、時刻T0における残バッファ量と同一の残バッファ量に戻すことができる。   When the average value of the amount of change in the remaining buffer amount tends to increase, the control unit 113 sets the correction coefficient α = 1.5 (ΔD ′ = 1.5 × ΔD), thereby correcting the decoded data. Since the speed is Rout + 1.5 × ΔD / Tc, as shown in FIG. 14, the decoding speed is higher than the decoding speed when the correction coefficient α = 1 is set and the correction coefficient α = 2 is set. The decoding speed can be slower than the speed. In the case of FIG. 15, by setting the correction coefficient α = 1.5, the same time interval (from time Tn to time Tn2) following the time interval (time from time T0 to time Tn) at which the measurement was performed. Time) and the next time interval (time from time Tn2 to time Tn3) can be returned to the remaining buffer amount equal to the remaining buffer amount at time T0.

一方、残バッファ量の変化量の平均値が減少傾向である場合には、制御部113は、補正係数α=1.5(ΔD’=1.5×ΔD)を設定することにより、補正係数α=1を設定した場合のデコードの速度よりも速く、且つ補正係数α=2を設定した場合のデコードの速度よりも遅いデコード速度にすることができる。制御部113のこのような制御により、計測を行った時間間隔(時刻T0から時刻Tnまでの時間)の次の同じ時間間隔(時刻Tnから時刻Tn2までの時間)及びその次の時間間隔(時刻Tn2から時刻Tn3までの時間)経過後に、時刻T0における残バッファ量と同一の残バッファ量に戻すことができる。   On the other hand, when the average value of the change amount of the remaining buffer amount is decreasing, the control unit 113 sets the correction coefficient α = 1.5 (ΔD ′ = 1.5 × ΔD), thereby correcting the correction coefficient. It is possible to make the decoding speed faster than the decoding speed when α = 1 is set and slower than the decoding speed when the correction coefficient α = 2 is set. By such control of the control unit 113, the same time interval (time from time Tn to time Tn2) next to the time interval (time from time T0 to time Tn) and the next time interval (time) After the elapse of (time from Tn2 to time Tn3), the remaining buffer amount can be returned to the same as the remaining buffer amount at time T0.

図13における時刻Tnから時刻Tn2までの残バッファ量及び図15における時刻Tnから時刻Tn3までの残バッファ量は、期待される残バッファ量の時刻推移である。つまり時刻T0からTnの間の計測により推測した受信速度(Rin)で、実際に時刻Tn以降も受信した場合の残バッファ量になる。   The remaining buffer amount from time Tn to time Tn2 in FIG. 13 and the remaining buffer amount from time Tn to time Tn3 in FIG. 15 are time transitions of the expected remaining buffer amount. That is, the remaining buffer amount when the reception speed (Rin) estimated by the measurement between the times T0 and Tn is actually received after the time Tn.

上記実施の形態1及び実施の形態2では、制御部113は、デコードの速度(Rout)を受信速度(Rin)の推定値と同じにするように制御している。これに対して、本実施の形態3において、α=2の場合は、制御部113は、計測を行った測定時間(時刻T0から時刻Tnまでの時間)の次の一定時間(時刻Tnから時刻Tn2までの時間)経過後に時刻T0における残バッファ量と同一の残バッファ量に戻すように制御している。また、α=1.5の場合は、計測を行った測定時間(時刻T0から時刻Tnまでの時間)の次の一定時間のさらに次の一定時間(時刻Tnから時刻Tn2までの時間及び時刻Tn2から時刻Tn3までの時間)経過後に時刻T0における残バッファ量と同一の残バッファ量に戻すように制御している。本実施の形態3における時刻T0から時刻Tnまでの時間と、時刻Tnから時刻Tn2までの時間と、時刻Tn2から時刻Tn3までの時間は、例えば各々が1タイムスロットの長さになるようにすることができる。なお、1タイムスロットの長さにする場合に限らず、任意の長さにすることができる。   In the first embodiment and the second embodiment, the control unit 113 controls the decoding speed (Rout) to be the same as the estimated value of the reception speed (Rin). On the other hand, in the third embodiment, when α = 2, the control unit 113 controls the measurement time (time from time T0 to time Tn) next to a certain time (time from time Tn to time). After the elapse of time (until time Tn2), control is performed so that the remaining buffer amount is the same as the remaining buffer amount at time T0. Further, when α = 1.5, a certain time (time from time Tn to time Tn2 and time Tn2) after the certain time after the measurement time (time from time T0 to time Tn) at which the measurement was performed. After the elapse of time from time Tn3 to time Tn3, control is performed so that the remaining buffer amount is the same as the remaining buffer amount at time T0. In the third embodiment, the time from time T0 to time Tn, the time from time Tn to time Tn2, and the time from time Tn2 to time Tn3 are each set to be, for example, the length of one time slot. be able to. The length is not limited to one time slot, and can be any length.

このように、本実施の形態3によれば、上記実施の形態1の効果に加えて、1より大きい補正係数αを用いて算出した補正値ΔD’=ΔD×αを用いてデコードの速度を制御することで、減少もしくは増大した残バッファ量を回復することができる。また、本実施の形態3によれば、デコード速度を急峻に変化させると周波数の変化が大きくなり聴感上の問題が生じるが、補正係数αを調整することにより聴感上の問題の発生頻度を抑制することができる。   Thus, according to the third embodiment, in addition to the effect of the first embodiment, the decoding speed is set using the correction value ΔD ′ = ΔD × α calculated using the correction coefficient α larger than 1. By controlling, the reduced or increased remaining buffer amount can be recovered. In addition, according to the third embodiment, if the decoding speed is changed steeply, the change in frequency becomes large, resulting in a problem with audibility. However, by adjusting the correction coefficient α, the frequency of occurrence of audibility problems is suppressed. can do.

なお、本実施の形態3において、補正係数αを2及び1.5に設定する場合について説明したが、これに限らず、聴感上の問題が生じない範囲内で補正係数αを任意の値に設定することができる。また、本実施の形態3において、時刻T0における残バッファ量、即ち元の残バッファ量に戻るように制御したが、これに限らず、残バッファ量の変化量の平均値が増加傾向である場合に残バッファ量が減少するようにデコードの速度を速くし、残バッファ量の変化量の平均値が減少傾向である場合に残バッファ量が増加するようにデコードの速度を遅くするように制御すれば良く、必ずしも元の残バッファ量に戻るように制御しなくても良い。また、本実施の形態3は、上記実施の形態1及び実施の形態2に適用することができる。   In the third embodiment, the case where the correction coefficient α is set to 2 and 1.5 has been described. However, the present invention is not limited to this, and the correction coefficient α is set to an arbitrary value within a range where no audibility problem occurs. Can be set. In the third embodiment, the control is performed so that the remaining buffer amount at time T0, that is, the original remaining buffer amount is restored. However, the present invention is not limited to this, and the average value of the remaining buffer amount changes tends to increase. In order to reduce the remaining buffer amount, the decoding speed is increased, and when the average value of the remaining buffer amount change is decreasing, the decoding speed is controlled to increase so that the remaining buffer amount increases. It is not necessary to control to return to the original remaining buffer amount. Further, the third embodiment can be applied to the first embodiment and the second embodiment.

(実施の形態4)
図16は、本発明の実施の形態4に係るストリーミングネットワークシステム100の動作を示すフロー図である。なお、図16においては、図2と同一の動作である部分には同一の符号を付してその説明は省略する。また、本発明の実施の形態4に係るストリーミングネットワークシステムは図1と同一であり、ストリーム受信再生装置(クライアント)及びサーバの構成は図1と同一構成であるので、その説明は省略する。
(Embodiment 4)
FIG. 16 is a flowchart showing the operation of the streaming network system 100 according to Embodiment 4 of the present invention. In FIG. 16, parts that are the same as those in FIG. 2 are given the same reference numerals, and descriptions thereof are omitted. The streaming network system according to Embodiment 4 of the present invention is the same as that shown in FIG. 1, and the configuration of the stream reception / playback apparatus (client) and server is the same as that shown in FIG.

本実施の形態4では、制御部113は、上記実施の形態1と同様に残バッファ量の変化量の平均値ΔDを算出してデコード速度Routの制御を行うが、デコード速度Routの変化量に、一定の閾値により決定される上限および下限を設けて制御することにより急峻なデコード速度の変化を抑制する点が実施の形態1と異なる。   In the fourth embodiment, the control unit 113 controls the decoding rate Rout by calculating the average value ΔD of the amount of change in the remaining buffer amount in the same manner as in the first embodiment. The difference from the first embodiment is that a sharp change in the decoding speed is suppressed by providing an upper limit and a lower limit determined by a certain threshold.

図16において、ステップST207でデコード速度を速くした後、またはステップST209でデコード速度を遅くした後、またはステップST208で減少傾向でないと判断した場合に、制御部113は、残バッファ量の変化量の平均値ΔDの絶対値|ΔD|が(Rout ×Th%)×Tc以上であるか否かを判断する(ステップST1601)。即ち、閾値をTh%とすると、制御部113は、デコードの速度Routの変化の割合がTh%以内に収まるようにデコードの速度を制御する。具体的には、制御部113は、ΔD≦−(Rout×Th%)×Tcの場合は、ΔD=−(Rout×Th%)×Tcとしてデコードの速度を制御し、ΔD≧+(Rout×Th%)×Tcの場合は、ΔD=+(Rout×Th%)×Tcとしてデコードの速度を制御する(ステップST1602)。一方、ステップST1601において、残バッファ量の変化量の平均値ΔDの絶対値が(Rout ×Th%)×Tc以上でない場合には、制御部113は、ステップST207またはステップST209で設定したデコードの速度を維持する。続いて、ストリーム受信再生装置101は、ストリームデータの受信が終了したか否かを判断し(ステップST210)、ストリームデータの受信が終了したと判断した場合には動作を停止し、ストリームデータの受信が終了していないと判断した場合にはステップST201〜ステップST209、ステップST1601、ステップST1602及びステップST210の処理を繰り返す。   In FIG. 16, after the decoding speed is increased in step ST207, after the decoding speed is decreased in step ST209, or when it is determined that there is no tendency to decrease in step ST208, the control unit 113 determines the amount of change in the remaining buffer amount. It is determined whether or not the absolute value | ΔD | of the average value ΔD is equal to or greater than (Rout × Th%) × Tc (step ST1601). That is, assuming that the threshold is Th%, the control unit 113 controls the decoding speed so that the rate of change in the decoding speed Rout falls within Th%. Specifically, when ΔD ≦ − (Rout × Th%) × Tc, the control unit 113 controls the decoding speed as ΔD = − (Rout × Th%) × Tc, and ΔD ≧ + (Rout × In the case of (Th%) × Tc, the decoding speed is controlled as ΔD = + (Rout × Th%) × Tc (step ST1602). On the other hand, when the absolute value of the average value ΔD of the remaining buffer amount change amount is not equal to or greater than (Rout × Th%) × Tc in step ST1601, the control unit 113 determines the decoding speed set in step ST207 or step ST209. To maintain. Subsequently, the stream reception / playback apparatus 101 determines whether or not the reception of the stream data has ended (step ST210). When the stream reception and playback apparatus 101 determines that the reception of the stream data has ended, the stream reception / playback apparatus 101 stops the operation and receives the stream data. When it is determined that the process has not been completed, the processes of steps ST201 to ST209, step ST1601, step ST1602, and step ST210 are repeated.

図17は、残バッファ量の変化量の平均値ΔDの絶対値|ΔD|が、|ΔD|<(Rout×Th%)×Tcの場合のデコード速度の制御の一例を示す図である。また、図18は、|ΔD|≧(Rout×Th%)×Tcの場合のデコード速度の制御の一例を示す図である。図18に示すように、ΔD≧+(Rout×Th%)×Tcとなり、ΔDが閾値を超える場合は、ΔD=+(Rout×Th%)×Tcとして修正後のデコードの速度が閾値を超えないように制御を行う。またΔDが閾値を超えない場合は、制御部113は、実施の形態1で説明した通りの制御を行う。   FIG. 17 is a diagram illustrating an example of decoding speed control when the absolute value | ΔD | of the average value ΔD of the remaining buffer amount change amount is | ΔD | <(Rout × Th%) × Tc. FIG. 18 is a diagram illustrating an example of decoding speed control when | ΔD | ≧ (Rout × Th%) × Tc. As shown in FIG. 18, ΔD ≧ + (Rout × Th%) × Tc, and when ΔD exceeds the threshold, ΔD = + (Rout × Th%) × Tc, and the corrected decoding speed exceeds the threshold. Control so that there is no. When ΔD does not exceed the threshold value, the control unit 113 performs the control as described in the first embodiment.

具体的な値を用いて説明すると、Th=0.1%、Rout=40Kbyte/secの場合において、残バッファ量の変化量の平均値ΔDが、ΔD≧+(Rout×Th%)×Tc=40×0.1(%)×10=0.4Kbyteの場合は、制御部113はΔD=0.4Kbyteとしてデコードの速度を制御する。また、残バッファ量の変化量の平均値ΔDが、ΔD≦−(Rout×Th%)×Tc=−40×0.1(%)×10=−0.4Kbyteの場合は、制御部113はΔD=−0.4Kbyteとしてデコードの速度を制御する。   To explain using specific values, when Th = 0.1% and Rout = 40 Kbyte / sec, the average value ΔD of the change amount of the remaining buffer amount is ΔD ≧ + (Rout × Th%) × Tc = In the case of 40 × 0.1 (%) × 10 = 0.4 Kbytes, the control unit 113 controls the decoding speed as ΔD = 0.4 Kbytes. When the average value ΔD of the change amount of the remaining buffer amount is ΔD ≦ − (Rout × Th%) × Tc = −40 × 0.1 (%) × 10 = −0.4 Kbyte, the control unit 113 The decoding speed is controlled as ΔD = −0.4 Kbytes.

このように、本実施の形態4によれば、上記実施の形態1の効果に加えて、デコード速度Routの変化量に、一定の閾値により決定される上限および下限を設けて制御することにより、周波数の変化が大きくなることに起因する聴感上の問題が生じる頻度を抑制することができる。   As described above, according to the fourth embodiment, in addition to the effect of the first embodiment, by controlling the change amount of the decoding rate Rout by providing the upper limit and the lower limit determined by a certain threshold value, It is possible to suppress the frequency of occurrence of audible problems due to a large change in frequency.

なお、本実施の形態4において、Th=0.1%として説明したが、これに限らず、聴感上の問題が生じない範囲内にてThは任意の値に設定することができる。また、本実施の形態4は、上記実施の形態2または実施の形態3に適用することができる。実施の形態3に適用した場合には、補正値ΔD’の絶対値|ΔD’|が(Rout×Th%)×Tc以上である場合に、ΔD’=+(Rout×Th%)×TcまたはΔD’=−(Rout×Th%)×Tcとしてデコードの速度を制御する。また、本実施の形態4において、ステップST1601にて|ΔD|≧(Rout×Th%)×Tcであるか否かを判断したが、これに限らず、ステップST1601にて|ΔD|<(Rout×Th%)×Tcであるか否かを判断し、|ΔD|<(Rout×Th%)×Tcでない場合にΔD=+(Rout×Th%)×TcまたはΔD=−(Rout×Th%)×Tcとしてデコードの速度を制御するようにしても良い。   In the fourth embodiment, Th is described as being 0.1%. However, the present invention is not limited to this, and Th can be set to an arbitrary value within a range in which a problem in audibility does not occur. Further, the fourth embodiment can be applied to the second embodiment or the third embodiment. When applied to the third embodiment, when the absolute value | ΔD ′ | of the correction value ΔD ′ is equal to or greater than (Rout × Th%) × Tc, ΔD ′ = + (Rout × Th%) × Tc or The decoding speed is controlled as ΔD ′ = − (Rout × Th%) × Tc. In the fourth embodiment, whether or not | ΔD | ≧ (Rout × Th%) × Tc is determined in step ST1601. However, not limited to this, | ΔD | <(Rout) in step ST1601. X Th%) x Tc is determined. If | ΔD | <(Rout × Th%) × Tc, ΔD = + (Rout × Th%) × Tc or ΔD = − (Rout × Th% ) × Tc, the decoding speed may be controlled.

(実施の形態5)
図19及び図20は、本発明の実施の形態5に係る制御部113により制御されるデコードの速度の時刻推移を示す図である。なお、本発明の実施の形態5に係るストリーミングネットワークシステムは図1と同一であり、ストリーム受信再生装置(クライアント)及びサーバの構成は図1と同一構成であるので、その説明は省略する。また、ストリーミングネットワークシステム100の動作については、連続的にデコードの速度を変化させる以外は図2と同一であるので、その説明は省略する。
(Embodiment 5)
19 and 20 are diagrams showing a time transition of the decoding speed controlled by the control unit 113 according to Embodiment 5 of the present invention. The streaming network system according to Embodiment 5 of the present invention is the same as that shown in FIG. 1, and the configuration of the stream reception / playback apparatus (client) and server is the same as that shown in FIG. Since the operation of the streaming network system 100 is the same as that of FIG. 2 except that the decoding speed is continuously changed, the description thereof is omitted.

実施の形態5では、上記実施の形態1と同様に残バッファ量の変化量の平均値ΔDを算出して制御を行うが、ある時刻Tnを境としてRoutからRout+ΔD/Tcへとデコードの速度の変化を不連続的に行うのではなくて、連続的にデコードの速度が変化するように制御する点が実施の形態1と異なる。   In the fifth embodiment, similarly to the first embodiment, the control is performed by calculating the average value ΔD of the change amount of the remaining buffer amount, but the decoding speed is changed from Rout to Rout + ΔD / Tc at a certain time Tn. The difference from Embodiment 1 is that the control is performed so that the decoding speed changes continuously, not the change is not performed discontinuously.

図19では、制御部113は、時刻Tnにてデコードの速度の変化が連続するように制御するとともに、時刻Tnから時刻Tn2までの時間内において、デコードの速度の変化が線形になるように少しずつ変化させる。また、図20では、制御部113は、時刻Tnにてデコードの速度が連続的に変化するように制御するとともに、時刻Tnから時刻Tn2までの時間内において、デコードの速度の変化が非線形になるように少しずつ変化させる。   In FIG. 19, the control unit 113 performs control so that the change in the decoding speed continues at time Tn, and slightly changes so that the change in the decoding speed becomes linear in the time from time Tn to time Tn2. Change it step by step. In FIG. 20, the control unit 113 controls the decoding speed to change continuously at time Tn, and the decoding speed change becomes non-linear within the time from time Tn to time Tn2. Change little by little.

このように、本実施の形態5によれば、上記実施の形態1の効果に加えて、デコードの速度の変化が連続するように少しずつ変化させるので、デコード速度の制御を行うタイミング(時刻Tn、Tn2・・・)における聴感上の違和感を軽減することができる。   As described above, according to the fifth embodiment, in addition to the effect of the first embodiment, the decoding speed is changed little by little so that the decoding speed changes continuously. , Tn2...) Can be reduced.

なお、本実施の形態5において、時刻Tnから時刻Tn2までの時間内で少しずつデコードの速度が変化するようにしたが、これに限らず、時刻Tnから時刻Tn3までの時間内で少しずつデコードの速度が変化するようにしても良く、デコードの速度を少しずつ変化させる時間は任意に設定することができる。また、本実施の形態5は、上記実施の形態1〜実施の形態4に適用することができる。   In the fifth embodiment, the decoding speed is changed little by little within the time from time Tn to time Tn2. However, the present invention is not limited to this, and decoding is made little by little within the time from time Tn to time Tn3. The time for changing the decoding speed little by little can be arbitrarily set. The fifth embodiment can be applied to the first to fourth embodiments.

上記実施の形態1〜実施の形態5において、ストリームデータが音声である場合について説明したが、これに限らず、ストリームデータが動画である場合等の任意のデータ種別のストリームデータについて適用することができる。   In the first to fifth embodiments, the case where the stream data is audio has been described. However, the present invention is not limited to this, and the present invention may be applied to stream data of any data type such as when the stream data is a moving image. it can.

また、上記実施の形態1〜実施の形態5においては、ストリーム受信再生装置の動作手順またはストリーム受信方法をコンピュータプログラムにより表現して、コンピュータプログラムをコンピュータに実行させても良く、また、ストリーム受信再生装置の動作手順またはストリーム受信方法を表現したコンピュータプログラムをCD−ROMまたはDVD等の記録媒体に記録させること、またはストリーム受信再生装置の動作手順またはストリーム受信方法を表現したコンピュータプログラムを電気通信回線を用いてコンピュータへ伝送して、伝送先のコンピュータを用いて伝送されたコンピュータプログラムを実行させるようにしても良い。   In the first to fifth embodiments, the operation procedure or the stream reception method of the stream reception / playback apparatus may be expressed by a computer program, and the computer program may be executed by the computer. A computer program expressing the operation procedure of the apparatus or the stream reception method is recorded on a recording medium such as a CD-ROM or DVD, or the computer program expressing the operation procedure or the stream reception method of the stream reception / playback apparatus is connected to an electric communication line The program may be transmitted to a computer and the computer program transmitted using the destination computer may be executed.

本発明は、音声又は動画などのデータをネットワーク経由で受信しながら再生するストリーミング技術を用いるストリーム受信装置及びストリーム受信方法に適用することができる。   The present invention can be applied to a stream receiving apparatus and a stream receiving method using a streaming technique for reproducing data while receiving data such as audio or moving images via a network.

本発明の実施の形態1に係るストリーミングネットワークシステムを示す図The figure which shows the streaming network system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るストリーミングネットワークシステムの動作を示すフロー図The flowchart which shows operation | movement of the streaming network system which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る残バッファ量の時刻推移を示す図The figure which shows the time transition of the remaining buffer amount which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係る各時刻におけるバッファの状態を示す図The figure which shows the state of the buffer in each time which concerns on Embodiment 1 of this invention 本発明の実施の形態1に係るデコードの速度を示す図The figure which shows the speed of the decoding which concerns on Embodiment 1 of this invention 本発明の実施の形態1に係る残バッファ量の時刻推移を示す図The figure which shows the time transition of the remaining buffer amount which concerns on Embodiment 1 of this invention. 本発明の実施の形態2に係るストリーミングネットワークシステムの動作を示すフロー図The flowchart which shows operation | movement of the streaming network system which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係る残バッファ量の時刻推移を示す図The figure which shows the time transition of the remaining buffer amount which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係る各時刻におけるバッファの状態を示す図The figure which shows the state of the buffer in each time which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係るデコードの速度を示す図The figure which shows the speed of the decoding which concerns on Embodiment 2 of this invention 本発明の実施の形態2に係る残バッファ量の時刻推移を示す図The figure which shows the time transition of the remaining buffer amount which concerns on Embodiment 2 of this invention. 本発明の実施の形態3に係るデコードの速度を示す図The figure which shows the speed of the decoding which concerns on Embodiment 3 of this invention. 本発明の実施の形態3に係る残バッファ量の時刻推移を示す図The figure which shows the time transition of the remaining buffer amount which concerns on Embodiment 3 of this invention. 本発明の実施の形態3に係るデコードの速度を示す図The figure which shows the speed of the decoding which concerns on Embodiment 3 of this invention. 本発明の実施の形態3に係る残バッファ量の時刻推移を示す図The figure which shows the time transition of the remaining buffer amount which concerns on Embodiment 3 of this invention. 本発明の実施の形態4に係るストリーミングネットワークシステムの動作を示すフロー図The flowchart which shows operation | movement of the streaming network system which concerns on Embodiment 4 of this invention. 本発明の実施の形態4に係るデコードの速度を示す図The figure which shows the speed of the decoding which concerns on Embodiment 4 of this invention. 本発明の実施の形態4に係るデコードの速度を示す図The figure which shows the speed of the decoding which concerns on Embodiment 4 of this invention. 本発明の実施の形態5に係るデコードの速度を示す図The figure which shows the speed of the decoding which concerns on Embodiment 5 of this invention. 本発明の実施の形態5に係るデコードの速度を示す図The figure which shows the speed of the decoding which concerns on Embodiment 5 of this invention. 従来のストリーミングネットワークシステムを示す図Diagram showing a conventional streaming network system

符号の説明Explanation of symbols

100 ストリーミングネットワークシステム
101 ストリーム受信再生装置
102 サーバ
103 ネットワーク
110 通信部
111 バッファ
112 デコーダ
113 制御部
DESCRIPTION OF SYMBOLS 100 Streaming network system 101 Stream receiving / reproducing apparatus 102 Server 103 Network 110 Communication part 111 Buffer 112 Decoder 113 Control part

Claims (7)

配信されたストリームデータを受信する受信手段と、
受信した前記ストリームデータを一時的に蓄積する蓄積手段と、
蓄積された前記ストリームデータをデコードするデコード手段と、
蓄積された前記ストリームデータの蓄積量の変化量に基づいて該蓄積量が増加傾向であると判断した場合に前記デコードの速度を速くし、該蓄積量が減少傾向であると判断した場合に前記デコードの速度を遅くする制御手段と、
を具備するストリーム受信装置。
Receiving means for receiving the distributed stream data;
Storage means for temporarily storing the received stream data;
Decoding means for decoding the accumulated stream data;
When it is determined that the accumulated amount is increasing based on the change amount of the accumulated amount of the stream data, the decoding speed is increased, and when it is determined that the accumulated amount is decreasing, Control means to slow down the decoding speed;
A stream receiving apparatus comprising:
前記制御手段は、予め定められた測定時間内に前記変化量を複数回数算出して複数の算出値を求めるとともに、求めた複数の前記算出値の平均値が増加傾向である場合に、前記蓄積量が増加傾向であるものとして前記デコードの速度を速くし、前記平均値が減少傾向である場合に前記蓄積量が減少傾向であるものとして前記デコードの速度を遅くする請求項1記載のストリーム受信装置。   The control means calculates the amount of change a plurality of times within a predetermined measurement time to obtain a plurality of calculated values, and stores the accumulation when an average value of the obtained plurality of calculated values tends to increase. The stream reception according to claim 1, wherein the decoding speed is increased as the amount tends to increase, and the decoding speed is decreased as the accumulation amount tends to decrease when the average value is decreasing. apparatus. 前記制御手段は、前記変化量がしきい値以上である変化量を除いて前記平均値を求める請求項2記載のストリーム受信装置。   The stream receiving apparatus according to claim 2, wherein the control unit obtains the average value by excluding a change amount in which the change amount is equal to or greater than a threshold value. 前記制御手段は、前記蓄積量が増加傾向である場合に前記蓄積手段におけるストリームデータの蓄積量が減少するように前記デコードの速度を速くし、前記蓄積量が減少傾向である場合に前記蓄積手段におけるストリームデータの蓄積量が増加するように前記デコードの速度を遅くする請求項1記載のストリーム受信装置。   The control means increases the decoding speed so that the accumulation amount of stream data in the accumulation means decreases when the accumulation amount tends to increase, and the accumulation means when the accumulation amount tends to decrease. The stream receiving apparatus according to claim 1, wherein the decoding speed is decreased so that an accumulation amount of stream data increases. 前記制御手段は、前記デコードの速度が所定の範囲内に収まるように前記デコードの速度を変化させる請求項1記載のストリーム受信装置。   The stream receiving apparatus according to claim 1, wherein the control unit changes the decoding speed so that the decoding speed falls within a predetermined range. 前記制御手段は、前記デコードの速度を緩やかに変化させる請求項1記載のストリーム受信装置。   The stream receiving apparatus according to claim 1, wherein the control unit gradually changes the decoding speed. 配信されたストリームデータを受信する受信ステップと、
受信した前記ストリームデータを一時的に蓄積する蓄積ステップと、
蓄積された前記ストリームデータをデコードするデコードステップと、
蓄積された前記ストリームデータの蓄積量の変化量に基づいて該蓄積量が増加傾向であると判断した場合に前記デコードの速度を速くし、該蓄積量が減少傾向である場合に前記デコードの速度を遅くする制御ステップと、
を具備するストリーム受信方法。
A receiving step for receiving the distributed stream data;
An accumulation step for temporarily accumulating the received stream data;
A decoding step for decoding the accumulated stream data;
The decoding speed is increased when it is determined that the accumulated amount is increasing based on the change amount of the accumulated amount of the stream data, and the decoding speed is increased when the accumulated amount is decreasing. Control steps to slow down,
A stream receiving method comprising:
JP2006041516A 2006-02-17 2006-02-17 Stream receiver and stream reception method Pending JP2007221597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006041516A JP2007221597A (en) 2006-02-17 2006-02-17 Stream receiver and stream reception method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006041516A JP2007221597A (en) 2006-02-17 2006-02-17 Stream receiver and stream reception method

Publications (1)

Publication Number Publication Date
JP2007221597A true JP2007221597A (en) 2007-08-30

Family

ID=38498330

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006041516A Pending JP2007221597A (en) 2006-02-17 2006-02-17 Stream receiver and stream reception method

Country Status (1)

Country Link
JP (1) JP2007221597A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009177572A (en) * 2008-01-25 2009-08-06 Nec Personal Products Co Ltd Digital broadcast receiver and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009177572A (en) * 2008-01-25 2009-08-06 Nec Personal Products Co Ltd Digital broadcast receiver and program

Similar Documents

Publication Publication Date Title
JP6442079B2 (en) Dejitter buffer update
US9088773B2 (en) Wireless channel aware adaptive video bit rate encoding
JP4462996B2 (en) Packet receiving method and packet receiving apparatus
US8209731B2 (en) Transmitter and receiver of video transmission system and method for controlling buffers in transmitter and receiver
JP5094546B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, PROGRAM
JP2006135974A (en) Audio receiver having adaptive buffer delay
EP2317678A2 (en) Receiving apparatus, and corresponding method, computer program and system
JP4076981B2 (en) Communication terminal apparatus and buffer control method
JP5440839B2 (en) Information processing apparatus and method, and program
KR20140105297A (en) Method and Apparatus of Dynamic Buffering for Providing Streaming Service
US10522162B2 (en) Signal processing apparatus, signal processing method, and program
JP2007221597A (en) Stream receiver and stream reception method
JP4376165B2 (en) Receiver, clock adjustment method, and broadcasting system
JP2007311902A (en) Stream receiving and reproducing device and streaming network system
JP4959935B2 (en) Decoding device
JP2004214902A (en) Streaming reproduction mobile terminal, streaming reproduction method, computer program, and computer-readable recording medium
JP2012060524A (en) Reproduction apparatus, reproduction method, and program
JP2005348226A (en) Radio communication method and apparatus
JP2008199361A (en) Stream data receiving and reproducing device
JP2012014038A (en) Content reproduction device
WO2016151852A1 (en) Audio reproduction device, image display device and audio reproduction method thereof
JP2005341001A (en) Recording apparatus and recording method
JP2007184032A (en) Data transmitter, data transmission method, voice reproducing unit, and voice reproducing method