JP5375416B2 - Stream delivery apparatus, stream delivery system, stream delivery method, and stream delivery program - Google Patents

Stream delivery apparatus, stream delivery system, stream delivery method, and stream delivery program Download PDF

Info

Publication number
JP5375416B2
JP5375416B2 JP2009180527A JP2009180527A JP5375416B2 JP 5375416 B2 JP5375416 B2 JP 5375416B2 JP 2009180527 A JP2009180527 A JP 2009180527A JP 2009180527 A JP2009180527 A JP 2009180527A JP 5375416 B2 JP5375416 B2 JP 5375416B2
Authority
JP
Japan
Prior art keywords
bit rate
delay time
stream
trip delay
round
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.)
Expired - Fee Related
Application number
JP2009180527A
Other languages
Japanese (ja)
Other versions
JP2011035700A (en
Inventor
浩一 二瓶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2009180527A priority Critical patent/JP5375416B2/en
Publication of JP2011035700A publication Critical patent/JP2011035700A/en
Application granted granted Critical
Publication of JP5375416B2 publication Critical patent/JP5375416B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To easily and automatically set a threshold of reciprocating delay time RTT used when rise of bit rate of a stream to be distributed is determined, in a stream distribution device which distributes the stream to a receiving terminal via network. <P>SOLUTION: A control history storage part stores the reciprocating delay time RTT immediately before the rise in bit rate rise trial in the past as history information. A threshold setting part sets a threshold range of a threshold RTTth by RTT when distribution is possible at the bit rate after the rise and RTT when the distribution is impossible at the bit rate after the rise, based on the history information of the RTT stored in the control history storage part. Then, the threshold RTTth is approached from a lower limit value to an upper limit value of the threshold range with elapse of time. A distribution rate determination part raises the bit rate when the measured reciprocating delay time RTT (RTTm) is less than the threshold RTTth set by the threshold setting part. <P>COPYRIGHT: (C)2011,JPO&amp;INPIT

Description

本発明はストリーム配信装置、ストリーム配信システム、ストリーム配信方法およびストリーム配信プログラムに関し、特に通信品質の保証されていないネットワークにおいてストリームをパケットに分割して配信するストリーム配信装置、ストリーム配信システム、ストリーム配信方法およびストリーム配信プログラムに関する。   The present invention relates to a stream distribution device, a stream distribution system, a stream distribution method, and a stream distribution program, and in particular, a stream distribution device, a stream distribution system, and a stream distribution method that divide a stream into packets in a network where communication quality is not guaranteed. And a stream distribution program.

現在、ネットワークを介して動画像コンテンツ等のストリームデータ(単に、「ストリーム」とも呼ぶ)を配信するサービスが行われている。このストリームの配信を行うストリーム配信装置において、受信端末との間のネットワーク状態に応じてビットレートを制御する技術の一例が特許文献1に記載されている。特許文献1に記載のストリーム配信装置は、受信端末からパケットロスと往復遅延時間(RTT:Round Trip Time)の報告を受けて動作するものであり、パケットロスが報告された場合にはネットワーク状態が悪化したと判断して配信するビットレートを低下させ、往復遅延時間RTTが設定した閾値を下回った場合に、ネットワーク状態が好転したと判断して配信するストリームのビットレートを上昇させるものである。   Currently, there is a service for distributing stream data such as moving image content (also simply referred to as “stream”) via a network. Patent Document 1 describes an example of a technique for controlling a bit rate in accordance with a network state with a receiving terminal in a stream distribution apparatus that distributes this stream. The stream distribution device described in Patent Document 1 operates by receiving a report of packet loss and round trip time (RTT) from a receiving terminal. When a packet loss is reported, the network state is changed. The bit rate to be delivered is lowered by judging that it has deteriorated, and when the round-trip delay time RTT falls below a set threshold value, the bit rate of the stream to be delivered is judged to be judged to have improved.

また、特許文献2に記載のネットワーク監視装置が開示されている。このネットワーク監視装置においては、応答時間計測部が遅延時間を測定し、該遅延時間の履歴を保存し、該遅延時間の平均値に基づいて閾値を算出/更新し、該閾値を超えている場合に経路中に障害が発生していると判定する(段落0035から0042を参照)。しかしながら、このネットワーク監視装置は、IP網における障害の有無を監視することを目的としており、ストリーム配信装置から配信するストリームのビットレートの上昇動作に関するものではない。   Also, a network monitoring device described in Patent Document 2 is disclosed. In this network monitoring apparatus, when the response time measurement unit measures the delay time, stores the history of the delay time, calculates / updates the threshold based on the average value of the delay time, and exceeds the threshold (See paragraphs 0035 to 0042). However, this network monitoring device is intended to monitor the presence or absence of a failure in the IP network, and is not related to an operation for increasing the bit rate of a stream distributed from the stream distribution device.

特開2008−099261号公報JP 2008-099261 A 特開2006−165629号公報JP 2006-165629 A

上述した特許文献1に記載のストリーム配信装置における問題点は、データ転送のビットレートを上昇させるための往復遅延時間RTTの閾値をあらかじめ設定しておく必要がある点である。ビットレートを上昇させる適切な閾値は、現在配信しているビットレート、上昇させるビットレートに依存する。すなわち、ビットレートを1Mbpsから2Mbpsへ上昇させる場合、2Mbpsから4Mbpsへ上昇させる場合、4Mbpsから8Mbpsへ上昇させる場合で適切な往復遅延時間RTTの閾値は多くの場合異なるはずである。   The problem with the stream distribution device described in Patent Document 1 described above is that it is necessary to set in advance a threshold for the round-trip delay time RTT for increasing the bit rate of data transfer. The appropriate threshold for increasing the bit rate depends on the bit rate currently being distributed and the bit rate to be increased. That is, when the bit rate is increased from 1 Mbps to 2 Mbps, the threshold of the appropriate round-trip delay time RTT should be different in many cases when it is increased from 2 Mbps to 4 Mbps and from 4 Mbps to 8 Mbps.

また、適切な閾値は受信端末ごとに異なる値となるはずである。すなわち、1Mbpsから2Mbpsへ上昇させるための閾値であっても、受信端末までの経路が異なれば適切な閾値は異なると考えるのが一般的である。そのため、すべての受信端末に対してすべてのビットレートの往復遅延時間RTTの閾値をあらかじめ設定しておくことは、膨大な時間を必要とし現実的ではない。   In addition, an appropriate threshold value should be different for each receiving terminal. That is, even if the threshold is for increasing from 1 Mbps to 2 Mbps, it is generally considered that the appropriate threshold is different if the route to the receiving terminal is different. For this reason, setting the threshold values of the round-trip delay times RTT for all bit rates in advance for all receiving terminals requires a huge amount of time and is not practical.

また、特許文献1に記載のストリーム配信装置においては、往復遅延時間RTT等の閾値を動的(自ら積極的)に設定変更してビットレートの上昇試行を行う考え方は示されてない。   Further, in the stream distribution device described in Patent Document 1, there is no idea of changing the threshold value such as the round-trip delay time RTT dynamically (self positively) and attempting to increase the bit rate.

本発明の主たる課題は、ストリーム配信装置において、ビットレートを上昇させるための往復遅延時間RTTの閾値を、過去のビットレートの上昇試行の際に計測した往復遅延時間RTTの履歴情報を利用して、容易かつ自動で設定できるようにすることにあり、さらには、往復遅延時間RTTの閾値を動的に設定変更して、ビットレートの不用意な上昇と、低ビットレートでの停滞を防止することにある。   The main object of the present invention is to use a round-trip delay time RTT threshold value for increasing the bit rate in the stream distribution device by using the history information of the round-trip delay time RTT measured at the past bit rate increase trial. It is intended to enable easy and automatic setting, and furthermore, the threshold value of the round-trip delay time RTT is dynamically changed to prevent an inadvertent increase in the bit rate and stagnation at a low bit rate. There is.

本発明のストリーム配信装置は、受信端末に配信するストリームのビットレートを上昇させる際の受信端末との間の往復遅延時間を、受信端末およびビットレートごとに履歴情報として記憶し、この履歴情報を基にしてビットレートを上昇させる際の往復遅延時間の閾値を設定するストリーム配信装置であって、受信端末に配信するストリームのビットレートを上昇試行する際の受信端末との間の往復遅延時間を、受信端末ごとに、かつ上昇前と上昇後のビットレートの組み合わせに関連付けて履歴情報として記憶する制御履歴記憶部と、前記制御履歴記憶部に記憶された往復遅延時間の履歴情報を基にして前記ビットレートを上昇させる際の往復遅延時間の閾値を設定する閾値設定部と、前記受信端末との間の往復遅延時間が前記閾値を下回った場合に、当該受信端末に配信するストリームのビットレートを上昇させること判定する配信レート決定部と、を有することを特徴とする。 The stream distribution device of the present invention stores the round-trip delay time with the receiving terminal when increasing the bit rate of the stream distributed to the receiving terminal as history information for each receiving terminal and bit rate, and this history information A stream distribution apparatus for setting a round-trip delay time threshold when raising the bit rate based on the round-trip delay time with the receiving terminal when attempting to increase the bit rate of the stream delivered to the receiving terminal. Based on the history information of the round trip delay time stored in the control history storage unit and the control history storage unit for storing as history information in association with the combination of the bit rate before and after the increase for each receiving terminal The round-trip delay time between the threshold setting unit for setting the round-trip delay time threshold for increasing the bit rate and the receiving terminal is lower than the threshold. When Tsu, characterized by having a a delivery rate determination unit determines to increase the bit rate of the stream to be distributed to the receiving terminal.

本発明のストリーム配信装置においては、受信端末およびビットレートごとに、過去のビットレートの上昇試行時の往復遅延時間RTTを履歴情報として記憶する。そして、例えば、上昇後のビットレートで配信可能であった場合の往復遅延時間RTTと、上昇後のビットレートで配信不可能であった場合の往復遅延時間RTTとを基に、閾値RTTthを設定する。
これにより、受信端末とビットレートに応じた適切な閾値RTTthを、過去のビットレートの上昇試行の際に計測した往復遅延時間RTTの履歴情報を基に、容易かつ自動で設定できる。
In the stream distribution apparatus of the present invention, the round-trip delay time RTT when attempting to increase the past bit rate is stored as history information for each receiving terminal and bit rate. Then, for example, the threshold value RTTth is set based on the round trip delay time RTT when delivery is possible at the increased bit rate and the round trip delay time RTT when delivery is impossible at the increased bit rate. To do.
As a result, an appropriate threshold value RTTth corresponding to the receiving terminal and the bit rate can be set easily and automatically based on the history information of the round-trip delay time RTT measured at the time of past bit rate increase attempts.

本発明の第1の実施の形態に係わるストリーム配信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the stream delivery system concerning the 1st Embodiment of this invention. 制御履歴記憶部15の構成例を示す図である。3 is a diagram illustrating a configuration example of a control history storage unit 15. FIG. 第1の実施の形態の動作を示すフローチャートである。It is a flowchart which shows operation | movement of 1st Embodiment. 往復遅延時間RTTの閾値RTTthの第1の設定方法を示すグラフである。It is a graph which shows the 1st setting method of threshold value RTTth of round-trip delay time RTT. 往復遅延時間RTTの閾値RTTthの第2の設定方法を示すグラフである。It is a graph which shows the 2nd setting method of threshold value RTTth of round-trip delay time RTT. 本発明の第2の実施の形態に係わるストリーム配信システムの構成を示すブロック図である。It is a block diagram which shows the structure of the stream delivery system concerning the 2nd Embodiment of this invention. 第2の実施の形態の動作を示すフローチャートである。It is a flowchart which shows operation | movement of 2nd Embodiment. 第2の実施の形態におけるネットワーク状態推定方法を示す第1のシーケンス図である。It is a 1st sequence diagram which shows the network state estimation method in 2nd Embodiment. 第2の実施の形態におけるネットワーク状態推定方法を示す第2のシーケンス図である。It is a 2nd sequence diagram which shows the network state estimation method in 2nd Embodiment. 実施例1におけるストリーム配信装置1の制御履歴記憶部15の構成を示す図である。3 is a diagram illustrating a configuration of a control history storage unit 15 of the stream distribution device 1 in Embodiment 1. FIG. 実施例1における往復遅延時間RTTの閾値RTTthの例を示す図である。It is a figure which shows the example of threshold value RTTth of the round-trip delay time RTT in Example 1. FIG. 実施例1における受信端末2からストリーム配信装置1へのレポートの例を示す図である。It is a figure which shows the example of the report from the receiving terminal 2 in Example 1 to the stream delivery apparatus 1. FIG. 実施例1におけるストリーム配信装置1の制御履歴記憶部15内の上昇可否記憶テーブルの例を示す図である。It is a figure which shows the example of the raise possible / impossible storage table in the control history memory | storage part 15 of the stream delivery apparatus 1 in Example 1. FIG. 実施例1における往復遅延時間RTTの閾値RTTthの例を示す図である。It is a figure which shows the example of threshold value RTTth of the round-trip delay time RTT in Example 1. FIG. 実施例1におけるストリーム配信装置1の制御履歴記憶部15内の上昇可否記憶テーブルの例を示す図である。It is a figure which shows the example of the raise possible / impossible storage table in the control history memory | storage part 15 of the stream delivery apparatus 1 in Example 1. FIG. 実施例2におけるネットワーク状態推定方法を示すシーケンス図である。It is a sequence diagram which shows the network state estimation method in Example 2.

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

[第1の実施の形態]
図1は、本発明の第1の実施の形態に係わるストリーム配信システムの構成を示す図である。図1に示すように、本発明のストリーム配信システムは、ストリーム(動画像等のコンテンツ)をネットワークを通して配信するストリーム配信装置1と、ストリームを受信して再生する受信端末2から構成される。
[First Embodiment]
FIG. 1 is a diagram showing a configuration of a stream distribution system according to the first embodiment of the present invention. As shown in FIG. 1, the stream distribution system of the present invention includes a stream distribution device 1 that distributes a stream (content such as a moving image) through a network and a receiving terminal 2 that receives and reproduces the stream.

ストリーム配信装置1と受信端末2は、インターネットなどの利用可能な帯域が保証されていないネットワークで接続されている。また、ストリーム配信装置1は複数の受信端末2と接続していてもよい。   The stream distribution device 1 and the receiving terminal 2 are connected by a network such as the Internet where a usable bandwidth is not guaranteed. In addition, the stream distribution device 1 may be connected to a plurality of receiving terminals 2.

ストリーム配信装置1は、受信端末2へ向けてストリームを送信するストリーム送信部11、受信端末2へストリームとして配信するコンテンツを記憶するコンテンツ記憶部12、受信端末2からのレポートを受信するレポート受信部13、受信端末2へ配信するコンテンツのビットレートを判定(決定)する配信レート決定部14、過去の制御履歴の情報を記憶する制御履歴記憶部15、制御履歴の情報を基にビットレートを上昇させるための往復遅延時間RTTの閾値RTTthを設定する閾値設定部16、ストリームの配信開始や終了を管理する配信管理部17から構成される。   The stream distribution device 1 includes a stream transmission unit 11 that transmits a stream to the reception terminal 2, a content storage unit 12 that stores content to be distributed as a stream to the reception terminal 2, and a report reception unit that receives a report from the reception terminal 2. 13. A distribution rate determination unit 14 for determining (determining) a bit rate of content to be distributed to the receiving terminal 2, a control history storage unit 15 for storing past control history information, and a bit rate increase based on the control history information A threshold value setting unit 16 for setting a threshold value RTTth of a round-trip delay time RTT for performing the above and a distribution management unit 17 for managing the start and end of stream distribution.

まず、配信管理部17は、受信端末2からの配信要求のメッセージの受信時に、コンテンツ記憶部12から当該コンテンツの配信可能なビットレートのリストを取得し、配信レート決定部14に対して配信コンテンツとビットレートのリストを通知し、配信開始を指示する。   First, when receiving a distribution request message from the receiving terminal 2, the distribution management unit 17 acquires a list of bit rates that can be distributed from the content storage unit 12, and distributes the distribution content to the distribution rate determination unit 14. And a list of bit rates and instructing the start of distribution.

本実施の形態では、以降、受信端末2を1台として説明する。受信端末2が複数存在する場合、符号11から17で示す各処理部の間の通信内容に受信端末の識別子が追加されるが、ここでは省略する。   In the present embodiment, hereinafter, description will be made assuming that the receiving terminal 2 is one. When there are a plurality of receiving terminals 2, identifiers of the receiving terminals are added to the communication contents between the processing units indicated by reference numerals 11 to 17, but they are omitted here.

ストリーム送信部11は、配信レート決定部14から指示されたビットレートのコンテンツをコンテンツ記憶部12から取り出し受信端末2へ向けて送信する。ストリーム配信装置1から受信端末2へのコンテンツ送信は、トランスポートプロトコルとしてコネクションレス型プロトコルを使用し、トランスポートプロトコルでの輻輳制御、到達確認や再送は行われないこととする。また、ストリーム送信部11は、コンテンツ配信中に配信レート決定部14からビットレートの変更を指示された場合には、受信端末2での再生に途切れが発生しないように瞬時にビットレートを切り替える。   The stream transmission unit 11 extracts the content of the bit rate instructed from the distribution rate determination unit 14 from the content storage unit 12 and transmits the content to the reception terminal 2. The content transmission from the stream distribution device 1 to the receiving terminal 2 uses a connectionless protocol as a transport protocol, and congestion control, arrival confirmation and retransmission are not performed by the transport protocol. Also, when the stream transmission unit 11 is instructed to change the bit rate from the distribution rate determination unit 14 during content distribution, the stream transmission unit 11 switches the bit rate instantaneously so that there is no interruption in reproduction at the receiving terminal 2.

映像コンテンツの場合、MPEG−2やMPEG−4などフレーム間予測を使用して圧縮されている場合がある。フレーム間予測を使用して圧縮されたコンテンツは、単独で復号可能なIフレームと、前後のフレームの情報を使用して復号するPフレーム、Bフレームからなる。このとき、PフレームまたはBフレームの直前でビットレートを切り替えると、受信端末2は前のフレームが存在しないため正しく復号できない。そのため、フレーム間予測を使用して圧縮されているコンテンツの場合には、Iフレームの直前で切り替える。   In the case of video content, it may be compressed using inter-frame prediction such as MPEG-2 or MPEG-4. The content compressed using inter-frame prediction is composed of an I frame that can be decoded independently, and a P frame and a B frame that are decoded using information of preceding and succeeding frames. At this time, if the bit rate is switched immediately before the P frame or the B frame, the receiving terminal 2 cannot correctly decode because there is no previous frame. Therefore, in the case of content compressed using inter-frame prediction, switching is performed immediately before the I frame.

コンテンツ記憶部12は、ストリーム送信部11から受信端末2へ送信するコンテンツデータ(ストリームデータ)を記憶する処理部であり、各コンテンツをあらかじめ複数のビットレートでエンコードして保持しておく。あるいは、ストリーム送信部11からの要求されたビットレートにトランスコードしたコンテンツデータを一時的に記憶する記憶部でもよい。   The content storage unit 12 is a processing unit that stores content data (stream data) to be transmitted from the stream transmission unit 11 to the reception terminal 2, and each content is encoded and held in advance at a plurality of bit rates. Alternatively, it may be a storage unit that temporarily stores the content data transcoded to the requested bit rate from the stream transmission unit 11.

レポート受信部13は、受信端末2が送信した受信状態のレポート情報を受け、パケットロスの有無と往復遅延時間RTTとを配信レート決定部14へ通知する。このとき、受信端末2からパケットロス率がレポートされる場合には、配信レート決定部14へパケットロス率を通知してもよい。   The report receiving unit 13 receives the report information on the reception state transmitted by the receiving terminal 2 and notifies the distribution rate determining unit 14 of the presence / absence of packet loss and the round trip delay time RTT. At this time, when the packet loss rate is reported from the receiving terminal 2, the packet loss rate may be notified to the distribution rate determination unit 14.

配信レート決定部14は、配信管理部17からコンテンツの配信開始を指示されると、初期の配信レートを決定してストリーム送信部11へ送信開始を指示する。初期の配信レートは、配信するコンテンツの中でビットレートが最低のものを選択する方法、受信端末2の種類や回線種別をストリーム配信装置1が把握している場合にはそれらの情報を使用して決定する方法、あるいは、配信開始前に利用可能帯域を推定し、その推定値をもとに決定する方法など、いかなる方法を使用してもよい。   When the distribution management unit 17 gives an instruction to start content distribution, the distribution rate determination unit 14 determines an initial distribution rate and instructs the stream transmission unit 11 to start transmission. The initial delivery rate is a method of selecting the lowest bit rate among the contents to be delivered, and when the stream delivery device 1 knows the type and line type of the receiving terminal 2, use those information. Any method may be used, such as a method for determining the available bandwidth before the start of distribution, or a method for determining based on the estimated value.

また、配信レート決定部14は、コンテンツ配信中にレポート受信部13からパケットロスの有無と往復遅延時間RTTの通知を受け、パケットロスが発生している場合には配信するコンテンツのビットレートを1段階低下することを決定し、ストリーム送信部へ指示する。レポート受信部13からパケットロス率が通知される場合には、パケットロス率が規定値を超えていたらビットレートを1段階低下させてもよい。パケットロスが発生していない場合には、閾値設定部16からビットレートを上昇させるための往復遅延時間RTTの閾値RTTthを受け取り、レポート受信部13から通知された往復遅延時間RTT(計測された最新の往復遅延時間RTTm)と比較する。   Further, the distribution rate determination unit 14 receives notification of the presence / absence of packet loss and the round trip delay time RTT from the report reception unit 13 during content distribution, and sets the bit rate of the content to be distributed to 1 when packet loss occurs. Decide that the level will be lowered, and instruct the stream transmitter. When the packet loss rate is notified from the report receiving unit 13, the bit rate may be decreased by one step if the packet loss rate exceeds a specified value. If no packet loss has occurred, the threshold value setting unit 16 receives the round-trip delay time RTTth for increasing the bit rate, and the round-trip delay time RTT notified from the report receiving unit 13 (the latest measured And the round-trip delay time RTTm).

その結果、「RTTm≧RTTth」ならばビットレートを変更しないことを決定し、ストリーム送信部11に対してはビットレート変更の指示は行わない。一方で、「RTTm<RTTth」ならば配信するビットレートを1段階上昇することを決定し、ストリーム送信部11へ指示する。   As a result, if “RTTm ≧ RTTth”, it is decided not to change the bit rate, and the stream transmission unit 11 is not instructed to change the bit rate. On the other hand, if “RTTm <RTTth”, it is determined that the bit rate to be distributed is increased by one step, and the stream transmission unit 11 is instructed.

配信レート決定部14は、ビットレートの上昇を決定した場合に、往復遅延時間RTTmを記憶しておき、上昇させたビットレートでパケットロスなく配信できたか否かを判定して、制御履歴記憶部15を更新し(更新方法は後述)、閾値設定部16へ制御履歴記憶部15における履歴情報の更新を通知する。   When the increase in the bit rate is determined, the distribution rate determination unit 14 stores the round-trip delay time RTTm, determines whether or not the increased bit rate can be distributed without packet loss, and the control history storage unit 15 (update method will be described later), and updates the history information in the control history storage unit 15 to the threshold setting unit 16.

なお、上昇させたビットレートでパケットロスなく配信できたか否かは、ビットレートを上昇させた直後の受信端末2からのレポートでパケットロスの発生が通知されるか否かで決定する。また、ビットレートを上昇させた直後だけでなく、ビットレートを上昇させてから指定回数・指定時間のレポートでパケットロスの発生が通知されるか否かで決定してもよい。レポート受信部13からパケットロスの有無だけでなくパケットロス率が通知される場合には、パケットロス率が規定値を超えているか否かを基に決定してもよい。   Whether or not delivery can be performed without packet loss at the increased bit rate is determined by whether or not the occurrence of packet loss is notified by a report from the receiving terminal 2 immediately after the bit rate is increased. Further, it may be determined not only immediately after the bit rate is increased but also whether or not the occurrence of packet loss is notified by a report of the specified number of times and the specified time after the bit rate is increased. When not only the presence / absence of packet loss but also the packet loss rate is notified from the report receiving unit 13, it may be determined based on whether or not the packet loss rate exceeds a specified value.

制御履歴記憶部15は、配信レート決定部14での制御履歴の情報を記憶する処理部である。図2は、制御履歴記憶部15の構成例を示す図である。   The control history storage unit 15 is a processing unit that stores information on the control history in the distribution rate determination unit 14. FIG. 2 is a diagram illustrating a configuration example of the control history storage unit 15.

図2に示すように、制御履歴記憶部15は、受信端末(端末1,端末2,端末3,・・・)ごとの上昇可否記憶テーブル151(151−1、151−2、…)から構成され、それぞれの上昇可否記憶テーブル151は、上昇前ビットレート1511、上昇後ビットレート1512、上昇可能RTT1513、上昇不可能RTT1514の組で1レコードが構成される。   As shown in FIG. 2, the control history storage unit 15 includes an ascending / descending storage table 151 (151-1, 151-2,...) For each receiving terminal (terminal 1, terminal 2, terminal 3,...). Each ascending / decreasing storage table 151 is composed of a set of a bit rate before ascending 1511, a bit rate after ascending 1512, an ascending RTT 1513, and an ascending RTT 1514.

上昇可能RTT1513と上昇不可能RTT1514は、上昇前ビットレート1511から上昇後ビットレート1512へ上昇させる直前の往復遅延時間RTTを格納する領域である。上昇可能RTT1513に格納されているのは、上昇前ビットレート1511から上昇後ビットレート1512へ上昇可能であった場合の往復遅延時間RTT、上昇不可能RTT1514に格納されているのは、上昇前ビットレート1511から上昇後ビットレート1512へ上昇不可能であった場合の往復遅延時間RTTである。   The ascendable RTT 1513 and the ascendable RTT 1514 are areas for storing the round-trip delay time RTT immediately before the bit rate 1511 before ascending to the bit rate 1512 after ascending. Stored in the ascending RTT 1513 is a round-trip delay time RTT when the bit rate 1511 before ascending can be increased from the bit rate 1511 before ascending to the bit rate 1512 after ascending. The round-trip delay time RTT when it is impossible to increase from the rate 1511 to the bit rate 1512 after increasing.

図2の端末1に対する上昇可否記憶テーブル151−1では、ビットレートBR1[bps]での配信中に、往復遅延時間RTTが「Rok1_1,Rok1_2,・・・」の場合、ビットレートBR2[bps]で配信でき、往復遅延時間RTTが「Rng1_1,Rng1_2,・・・」の場合、ビットレートBR2[bps]では配信できなかったことを表している。   2, when the round-trip delay time RTT is “Rok1_1, Rok1_2,...” During distribution at the bit rate BR1 [bps], the bit rate BR2 [bps] When the round-trip delay time RTT is “Rng1_1, Rng1_2,...”, It indicates that the distribution was not possible at the bit rate BR2 [bps].

なお、初めて配信する端末などで、これまでにビットレート上昇の試行が行われていない場合には、初期値として上昇可能RTT1513には十分小さな値を格納しておき、上昇不可能RTT1514には十分大きな値を格納しておくものとする。   If the terminal that has been delivered for the first time has not been tried to increase the bit rate so far, a sufficiently small value is stored in the RTT 1513 that can be increased as an initial value and sufficient for the RTT 1514 that cannot be increased. Assume that a large value is stored.

配信レート決定部14は、上昇させたビットレートでの配信可否判定後に、制御履歴記憶部15の上昇可否記憶テーブル151から上昇前ビットレートと上昇後ビットレートが一致するレコードを検索し、計測した往復遅延時間RTTmを上昇可能RTTまたは上昇不可能RTTへ格納する。   The delivery rate determination unit 14 searches for and records a record in which the bit rate before the increase and the bit rate after the increase match from the increase / decrease storage table 151 of the control history storage unit 15 after determining whether the increased bit rate can be distributed. The round-trip delay time RTTm is stored in the ascending RTT or the ascending RTT.

閾値設定部16は、制御履歴記憶部15に記憶された履歴情報(上昇可否記憶テーブル151)に基づいてビットレートを上昇させる往復遅延時間RTTの閾値RTTthを計算し、配信レート決定部14へ通知する。閾値設定部16は、配信レート決定部14から制御履歴記憶部15の更新を通知されると、制御履歴記憶部15から上昇可否記憶テーブル151の内容を取り出し、ビットレートを1段階上昇させるための閾値の上限値と下限値を求める。   The threshold setting unit 16 calculates the threshold RTTth of the round-trip delay time RTT for increasing the bit rate based on the history information stored in the control history storage unit 15 (the increase / decrease storage table 151), and notifies the distribution rate determination unit 14 To do. When the threshold setting unit 16 is notified of the update of the control history storage unit 15 from the distribution rate determination unit 14, the threshold setting unit 16 extracts the contents of the increase / decrease storage table 151 from the control history storage unit 15 and increases the bit rate by one level. Find the upper and lower threshold values.

閾値の下限RTTlbは、上昇可能RTT1513に格納された往復遅延時間RTTの最大値、
max{Rok1_1,Rok1_2,…,Rok1_n}や、
平均値(Rok1_1+Rok1_2+…+Rok1_n)/n、などによって決定する。
The lower limit RTTlb of the threshold is the maximum value of the round trip delay time RTT stored in the ascending RTT 1513,
max {Rok1_1, Rok1_2, ..., Rok1_n},
The average value (Rok1_1 + Rok1_2 +... + Rok1_n) / n is determined.

また、閾値の上限RTTubは上昇不可能RTT1514に格納された往復遅延時間RTTの最小値、
min{Rng1_1,Rng1_2,…,Rng1_m}や、
平均値(Rng1_1+Rng1_2+…+Rng1_m)/m、などによって決定する。
Further, the upper limit RTTub of the threshold is the minimum value of the round-trip delay time RTT stored in the RTT 1514 that cannot be increased,
min {Rng1_1, Rng1_2,..., Rng1_m},
The average value (Rng1_1 + Rng1_2 +... + Rng1_m) / m is determined.

次に、[下限RTTlb,上限RTTub]の範囲で閾値RTTthを決定する。閾値RTTthは、時間経過とともに下限RTTlbから上限RTTubへ近づけていく方法を採る。これは、ビットレート上昇の試行回数を減らし、かつ、低ビットレートに停滞するのを防止するためである。   Next, the threshold value RTTth is determined in the range of [lower limit RTTlb, upper limit RTTub]. As the threshold value RTTth, a method of approaching the lower limit RTTlb from the lower limit RTTlb to the upper limit RTTub as time passes. This is to reduce the number of trials for increasing the bit rate and to prevent the bit rate from becoming stagnant.

本来は上昇不可能であるにも関わらずビットレートを上昇させると、受信端末2での再生に途切れや乱れが生じるため、ビットレート上昇の試行はなるべく少なくすることが望ましい。一方で、試行を少なくするとビットレートを上昇可能にも関わらず上昇させずに低いビットレートのままで停滞してしまうことがある。閾値RTTthを下限RTTlbから上限RTTubへ近づけることで、初めは、往復遅延時間RTTが小さく、ネットワーク状態が非常によく、上昇させても配信できる可能性が高い場合のみビットレートを上昇させ、時間が経過するにつれてビットレート上昇を発生しやすくして低ビットレートでの停滞を防止することが可能となる。   If the bit rate is raised even though it cannot be raised, the reproduction at the receiving terminal 2 is interrupted or disturbed. Therefore, it is desirable to reduce the bit rate increase as much as possible. On the other hand, if the number of trials is reduced, the bit rate may be increased, but it may remain stagnant at a low bit rate without being increased. By bringing the threshold value RTTth closer to the upper limit RTTub from the lower limit RTTlb, initially, the round-trip delay time RTT is small, the network state is very good, and the bit rate is increased only when there is a high possibility of delivery even if it is increased. As the time elapses, an increase in the bit rate is likely to occur, and a stagnation at a low bit rate can be prevented.

具体的には、図4に示すように初期値を「RTTth=RTTlb」とし、閾値RTTthを、下限RTTlbと上限RTTubとの間で、
RTTth=RTTth+α(α:1回の処理での増加量)、
と変更していく方法がある。
Specifically, as shown in FIG. 4, the initial value is “RTTth = RTTlb”, and the threshold value RTTth is set between the lower limit RTTlb and the upper limit RTTub.
RTTth = RTTth + α (α: increase in one treatment),
There is a way to change.

または、図5に示すように
RTTth=RTTth+(β^i(RTTub−RTTlb)) (β:0<β<1を満たす定数、i:変更回数)、
と変更していく方法などある。
Or, as shown in FIG. 5, RTTth = RTTth + (β ^ i (RTTub−RTTlb)) (β: constant satisfying 0 <β <1, i: number of changes),
There are ways to change.

なお、閾値を変更する間隔、α、βはあらかじめ決定しておく。また、ここで述べた以外の方法で閾値を変更してもよい。   The intervals for changing the threshold, α and β, are determined in advance. Further, the threshold value may be changed by a method other than that described here.

受信端末2は、ネットワークを通してストリーム配信装置1からストリームを受信するストリーム受信部21と、受信状態をストリーム配信装置1へ通知するレポート送信部22から構成される。   The reception terminal 2 includes a stream reception unit 21 that receives a stream from the stream distribution device 1 through a network, and a report transmission unit 22 that notifies the stream distribution device 1 of a reception state.

ストリーム受信部21はレポート送信部22と接続しており、ストリーム配信装置1からのストリームを受信するとともにパケットロスなどの受信状態を計測し、レポート送信部22へ通知する。   The stream reception unit 21 is connected to the report transmission unit 22, receives a stream from the stream distribution device 1, measures a reception state such as packet loss, and notifies the report transmission unit 22.

レポート送信部22は、ストリーム受信部21から通知された受信状態の情報からなるレポートを定期的にストリーム配信装置1へフィードバックする。上述した例では、最新のレポートから求めた往復遅延時間RTTを閾値RTTthと比較していた。しかし、クロストラフィックの発生などによって往復遅延時間RTTに揺らぎが発生する場合がある。この揺らぎによる影響を吸収するため、往復遅延時間RTTの移動平均を使用してもよい。   The report transmission unit 22 periodically feeds back a report including the reception state information notified from the stream reception unit 21 to the stream distribution device 1. In the above-described example, the round-trip delay time RTT obtained from the latest report is compared with the threshold value RTTth. However, fluctuations may occur in the round trip delay time RTT due to the occurrence of cross traffic. In order to absorb the influence of this fluctuation, a moving average of the round-trip delay time RTT may be used.

すなわち、受信端末2から受信したレポートのうち最新i個の往復遅延時間RTTをR1,R2,R3,…,Riとしたとき、
RTTm=(a1・R1+a2・R2+…+ai・Ri)/i (a1,…,ai:重み付けの係数)、とする方法である。
That is, when the latest i round-trip delay times RTT among the reports received from the receiving terminal 2 are R1, R2, R3,.
RTTm = (a1 · R1 + a2 · R2 +... + Ai · Ri) / i (a1,..., Ai: weighting coefficient).

次に図3のフローチャートを参照して、本実施の形態の全体の動作について詳細に説明する。
まず、ストリームの配信開始時において、配信管理部17は配信レート決定部14へ配信開始を指示し、配信レート決定部14は初期配信レート(初期のビットレート)を決定する(ステップS01)。
Next, the overall operation of the present embodiment will be described in detail with reference to the flowchart of FIG.
First, at the start of stream distribution, the distribution management unit 17 instructs the distribution rate determination unit 14 to start distribution, and the distribution rate determination unit 14 determines an initial distribution rate (initial bit rate) (step S01).

次に現在配信中のビットレートから1段階上のビットレートに変更するための閾値を決定する。配信レート決定部14は初期配信レートと1段階上のビットレートを閾値設定部16へ通知し、閾値設定部16は、制御履歴記憶部15の上昇可否記憶テーブル151から該当するレコードを取り出す。   Next, a threshold value for changing from the bit rate currently being distributed to a bit rate one step higher is determined. The distribution rate determining unit 14 notifies the threshold setting unit 16 of the initial distribution rate and the bit rate one level higher, and the threshold setting unit 16 retrieves the corresponding record from the ascending / decreasing storage table 151 of the control history storage unit 15.

閾値設定部16では、取り出したレコードをもとに、閾値の上限RTTubと下限RTTlbを決定し(ステップS02)、[RTTlb,RTTub]の範囲から閾値RTTthを決定して(ステップS03)、配信レート決定部14からの要求時に閾値RTTthを通知する。   The threshold setting unit 16 determines the upper limit RTTub and the lower limit RTTlb of the threshold based on the extracted record (step S02), determines the threshold RTTth from the range of [RTTlb, RTTub] (step S03), and the distribution rate. The threshold value RTTth is notified at the time of a request from the determination unit 14.

前述のとおり閾値RTTthは、下限RTTlbから上限RTTubへ時間経過とともに近づけていく(図4、図5を参照)。そこで、閾値設定部16は、前回閾値RTTthを変更してからの経過時間や、計測した往復遅延時間RTTmとの比較回数をもとにして閾値RTTthを必要に応じて変更する(ステップS03)。   As described above, the threshold value RTTth approaches the upper limit RTTub from the lower limit RTTlb with time (see FIGS. 4 and 5). Therefore, the threshold setting unit 16 changes the threshold RTTth as necessary based on the elapsed time since the previous threshold RTTth was changed and the number of comparisons with the measured round-trip delay time RTTm (step S03).

以下、現在配信しているコンテンツ(ストリーム)のビットレートをBR1、BR1よりも1段階上のビットレートをBR2、BR2よりも1段階上のビットレートをBR3、BR1よりも1段階下のビットレートをBR0と表す。   Hereinafter, the bit rate of the currently distributed content (stream) is BR1, the bit rate one step higher than BR1, the bit rate one step higher than BR2, the bit rate one step higher than BR2, and the bit rate one step lower than BR3 and BR1 Is represented as BR0.

受信端末2から受信状態のレポートを受信すると、レポート受信部13はパケットロスの有無と、往復遅延時間RTTとを配信レート決定部14へ通知する(ステップS04)。配信レート決定部14は、まずパケットロスの有無を判定する(ステップS05)。パケットロスが発生している場合には(ステップS05:Yes)、配信レートをBR1からBR0へ1段階低下させ(ステップS06)、ステップS02へ戻る。   When receiving the reception status report from the receiving terminal 2, the report receiving unit 13 notifies the distribution rate determining unit 14 of the presence or absence of packet loss and the round trip delay time RTT (step S04). The distribution rate determination unit 14 first determines whether or not there is a packet loss (step S05). If packet loss has occurred (step S05: Yes), the delivery rate is lowered by one step from BR1 to BR0 (step S06), and the process returns to step S02.

パケットロスが発生していない場合には(ステップS05:No)、レポート受信部13から通知された往復遅延時間RTTmと閾値設定部16から通知された閾値RTTthを比較する(ステップS07)。往復遅延時間RTTmが閾値RTTthを下回っていない場合(ステップS07:No)にはビットレートの変更は行わずに、ステップS03へ戻る。   If no packet loss has occurred (step S05: No), the round-trip delay time RTTm notified from the report receiving unit 13 is compared with the threshold value RTTth notified from the threshold setting unit 16 (step S07). When the round-trip delay time RTTm is not less than the threshold value RTTth (step S07: No), the bit rate is not changed, and the process returns to step S03.

往復遅延時間RTTmが閾値RTTthを下回った場合には(ステップS07:Yes)、配信レート決定部14は、配信レートをビットレートBR1からBR2へ1段階上昇することを決定し、ストリーム送信部11は配信レートを1段階上昇させる(ステップS08)。   When the round-trip delay time RTTm falls below the threshold value RTTth (step S07: Yes), the distribution rate determination unit 14 determines to increase the distribution rate by one step from the bit rate BR1 to BR2, and the stream transmission unit 11 The distribution rate is increased by one level (step S08).

配信レートを上昇後、配信レート決定部14は上昇後のレート(BR2)で配信可能か否かを判定する(ステップS09)。この判定は、前述の通り、配信レート変更後のレポートのパケットロス発生有無によって行う。   After increasing the distribution rate, the distribution rate determining unit 14 determines whether or not distribution is possible at the increased rate (BR2) (step S09). As described above, this determination is made based on whether or not packet loss has occurred in the report after changing the distribution rate.

配信可能な場合には(ステップS09:Yes)、上昇直前に計測した往復遅延時間RTTmを、制御履歴記憶部15の上昇可否記憶テーブル151における上昇前ビットレートがBR1かつ上昇後ビットレートがBR2のエントリの上昇可能RTT1513に追加し(ステップS12)、ステップS02へ戻る。   When delivery is possible (step S09: Yes), the round-trip delay time RTTm measured immediately before the rise is the bit rate before rise in the rise enable / disable storage table 151 of the control history storage unit 15 is BR1 and the bit rate after rise is BR2. The entry is added to the ascending RTT 1513 (step S12), and the process returns to step S02.

一方でビットレートBR2で配信できない場合には(ステップS09:No)、上昇不可能RTT1514へ往復遅延時間RTTmを追加し(ステップS10)、配信レートをBR1へ戻し(ステップS11)、ステップS02へ戻る。   On the other hand, when distribution cannot be performed at the bit rate BR2 (step S09: No), the round-trip delay time RTTm is added to the RTT 1514 that cannot be increased (step S10), the distribution rate is returned to BR1 (step S11), and the process returns to step S02. .

以上説明したように、本発明のストリーム配信装置においては、受信端末ごとに、過去のビットレート上昇試行時の往復遅延時間RTTを履歴情報として記憶し、上昇後のビットレートで配信可能であった場合の往復遅延時間RTTを使用して閾値の下限値を設定し、上昇後のビットレートで配信不可能であった場合の往復遅延時間RTTを使用して閾値の上限値を設定し、時間経過とともに閾値を下限値から上限値へ近づけてゆく。   As described above, in the stream distribution device of the present invention, the round-trip delay time RTT at the time of past bit rate increase trials is stored as history information for each receiving terminal and can be distributed at the increased bit rate. If the round-trip delay time RTT is used to set the lower limit value of the threshold, and if the bit rate after the increase cannot be delivered, the round-trip delay time RTT is used to set the upper limit value of the threshold value, and the time elapses At the same time, the threshold value is made closer to the upper limit value from the lower limit value.

これにより、過去のビットレートの上昇試行の際に計測した往復遅延時間RTTの履歴情報から、受信端末とビットレートに応じた閾値を、容易かつ自動で設定できる。また、ビットレートの不用意な上昇と、ビットレートの上昇試行の停滞を防止できる。すなわち、閾値を大きく設定するとネットワーク状態があまり良くない場合にもビットレートを上昇させるため、上昇後のビットレートで配信できず映像に乱れや途切れの発生することが多くなる。一方、閾値を小さく設定するとビットレートを上昇可能でも上昇させず、受信端末に低品質のコンテンツを配信し続けることになる。本発明では、閾値を閾値設定範囲内において、下限値から上限値へ時間経過と共に近づけていくため、初めは上昇後のビットレートで配信できる可能性が高い場合のみビットレートを上昇させて、配信するストリーム(画像等)の乱れや途切れを防止し、時間経過とともにビットレートを上昇しやすくして停滞を防止できる。   Thereby, the threshold value according to the receiving terminal and the bit rate can be set easily and automatically from the history information of the round trip delay time RTT measured at the time of the trial of increasing the past bit rate. In addition, it is possible to prevent an inadvertent increase in the bit rate and a stagnation of trials for increasing the bit rate. That is, if the threshold value is set large, the bit rate is increased even when the network condition is not so good, so that the video cannot be distributed at the increased bit rate, and the video is often disturbed or interrupted. On the other hand, if the threshold value is set to be small, even if the bit rate can be increased, it does not increase, and low-quality content continues to be delivered to the receiving terminal. In the present invention, since the threshold value is gradually approached from the lower limit value to the upper limit value within the threshold setting range as time elapses, the bit rate is increased only when there is a high possibility that the bit rate can be distributed after the increase. The stream (image etc.) to be transmitted can be prevented from being disturbed or interrupted, and the bit rate can be easily increased over time, thereby preventing stagnation.

なお、図1に示すストリーム配信装置1および受信端末2は、内部にCPUを含むコンピュータシステムを有している。上述した処理に関する一連の処理の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。また、ストリーム配信装置1はサーバ装置等で構成され、このストリーム配信装置1には、周辺機器として入力装置、表示装置等(いずれも表示せず)が接続されているものとする。ここで、入力装置としては、キーボード、マウス等の入力デバイスのことをいう。表示装置とは、CRT(Cathode Ray Tube)や液晶表示装置等のことをいう。   Note that the stream distribution device 1 and the receiving terminal 2 shown in FIG. 1 have a computer system including a CPU therein. A series of processing steps relating to the above-described processing is stored in a computer-readable recording medium in the form of a program, and the above-described processing is performed by the computer reading and executing this program. In addition, the stream distribution device 1 is configured by a server device or the like, and an input device, a display device, or the like (none of them are displayed) is connected to the stream distribution device 1 as peripheral devices. Here, the input device refers to an input device such as a keyboard and a mouse. The display device refers to a CRT (Cathode Ray Tube), a liquid crystal display device, or the like.

以上、本発明の第1の実施の形態について説明したが、図1に示す本発明のストリーム配信装置は、受信端末2に配信するストリームのビットレートを上昇試行する際の受信端末2との間の往復遅延時間RTTを、受信端末2ごとに、かつ上昇前と上昇後のビットレートの組み合わせに関連付けて履歴情報として記憶する制御履歴記憶部15と、制御履歴記憶部15に記憶された往復遅延時間RTTの履歴情報を基にしてビットレートを上昇させる際の往復遅延時間RTTの閾値RTTthを設定する閾値設定部16と、受信端末2との間の往復遅延時間RTTが閾値RTTthを下回った場合に、当該受信端末2に配信するストリームのビットレートを上昇させること判定する配信レート決定部14と、を有して構成される。
これにより、ビットレートを上昇させるための往復遅延時間RTTの閾値RTTthを、受信端末2およびビットレートごとに、過去のビットレートの上昇試行の際に計測した往復遅延時間RTTの履歴情報を基に、容易かつ自動で設定できる。
Although the first embodiment of the present invention has been described above, the stream distribution apparatus of the present invention shown in FIG. 1 is connected to the reception terminal 2 when attempting to increase the bit rate of the stream distributed to the reception terminal 2. And the round trip delay time RTT stored in the control history storage unit 15 for each receiving terminal 2 and stored as history information in association with the combination of the bit rate before and after the rise. When the round-trip delay time RTT between the threshold value setting unit 16 for setting the round-trip delay time RTT threshold RTTth for increasing the bit rate based on the history information of the time RTT and the receiving terminal 2 falls below the threshold RTTth And a distribution rate determining unit 14 for determining that the bit rate of the stream to be distributed to the receiving terminal 2 is increased.
As a result, the threshold value RTTth of the round-trip delay time RTT for increasing the bit rate is determined based on the history information of the round-trip delay time RTT measured in the past trials for increasing the bit rate for each receiving terminal 2 and bit rate. Easy and automatic setting.

また、制御履歴記憶部15は、ビットレートを上昇させる直前の受信端末2との間の往復遅延時間RTTを、ビットレート上昇後に配信可能であった往復遅延時間と、ビットレート上昇後に配信不可能であった往復遅延時間とに分類して、上昇可否記憶テーブル151(図2)に記憶する。
これにより、ビットレートを上昇させた際に、配信が可能であった場合の往復遅延時間RTTの情報と、配信が不可であった場合の往復遅延時間RTTを分類して記憶することができ、この履歴情報を基に、閾値RTTthを容易に設定することができる。
In addition, the control history storage unit 15 cannot distribute the round-trip delay time RTT with the receiving terminal 2 immediately before the bit rate is increased, and the round-trip delay time that can be distributed after the bit rate is increased, and cannot be distributed after the bit rate is increased. Are stored in the ascending / decreasing storage table 151 (FIG. 2).
As a result, when the bit rate is increased, it is possible to classify and store the round-trip delay time RTT information when the delivery is possible and the round-trip delay time RTT when the delivery is impossible, Based on this history information, the threshold value RTTth can be easily set.

また、閾値設定部16は、制御履歴記憶部15に記憶されたビットレート上昇後に配信可能であった往復遅延時間RTTと、ビットレート上昇後に配信不可能であった往復遅延時間RTTとを基に閾値設定範囲を決定し、該閾値設定範囲内から閾値RTTthを設定する。
これにより、配信が可能であった場合の往復遅延時間RTTの履歴情報と、配信が不可であった場合の往復遅延時間RTTの履歴情報を基にして閾値設定範囲を決定し、該閾値設定範囲内から閾値RTTthを設定することができる。
Further, the threshold setting unit 16 is based on the round-trip delay time RTT that can be distributed after the bit rate increase and the round-trip delay time RTT that cannot be distributed after the bit rate increase stored in the control history storage unit 15. A threshold setting range is determined, and a threshold value RTTth is set from within the threshold setting range.
Thus, the threshold setting range is determined based on the history information of the round-trip delay time RTT when delivery is possible and the history information of the round-trip delay time RTT when delivery is impossible. The threshold value RTTth can be set from within.

また、閾値設定部16は、閾値設定範囲内で閾値RTTthを変化させる、この場合に、閾値設定範囲内で、閾値RTTthを時間経過とともに下限値から上限値へ近づくように設定変更する。
これにより、往復遅延時間RTTの閾値を動的に設定変更してビットレートの上昇試行を積極的に行うことができ、ビットレートの不用意な上昇と、ビットレートの上昇試行の停滞とを防止できる。
Further, the threshold setting unit 16 changes the threshold RTTth within the threshold setting range. In this case, the threshold setting unit 16 changes the setting so that the threshold RTTth approaches the upper limit value from the lower limit value as time passes.
As a result, the threshold of the round-trip delay time RTT can be dynamically changed to actively try to increase the bit rate, preventing an inadvertent increase in the bit rate and stagnation of the bit rate increase attempt. it can.

[第2の実施の形態]
次に、本発明の第2の実施の形態について図面を参照しながら説明する。
[Second Embodiment]
Next, a second embodiment of the present invention will be described with reference to the drawings.

図6は、本発明の第2の実施の形態に係わるストリーム配信システムの構成を示す図である。図6に示すように、本発明の第2の実施の形態に係わるストリーム配信装置1Aは、図1に示す第1の実施の形態のストリーム配信装置1と比較して、レポート受信部13が削除され、受信端末2Aとの間の管理セッションの情報からネットワーク状態を推定するネットワーク状態推定部18が追加された点が異なる。他の構成は図1に示すストリーム配信装置1および受信端末1と同様である。このため、同一の構成部分には同一の符号を付している。   FIG. 6 is a diagram showing a configuration of a stream distribution system according to the second embodiment of the present invention. As shown in FIG. 6, the stream distribution device 1A according to the second embodiment of the present invention is deleted by the report receiving unit 13 as compared with the stream distribution device 1 of the first embodiment shown in FIG. However, the difference is that a network state estimation unit 18 that estimates a network state from information of a management session with the receiving terminal 2A is added. Other configurations are the same as those of the stream distribution device 1 and the reception terminal 1 shown in FIG. For this reason, the same code | symbol is attached | subjected to the same component.

また、受信端末2Aは、図1に示す第1の実施の形態の受信端末1と比較して、レポート送信部22が削除され、ストリーム配信装置1Aとの間でセッション情報をやりとりする管理情報通信部23が追加された点が異なる。   In addition, the receiving terminal 2A, compared with the receiving terminal 1 of the first embodiment shown in FIG. 1, has the report transmission unit 22 deleted, and exchanges session information with the stream distribution device 1A. The difference is that the part 23 is added.

この第2の実施の形態では、ストリーム配信装置1Aの配信管理部17と受信端末2Aの管理情報通信部23はコネクション型プロトコルを使用した管理セッションを接続している。コネクション型プロトコルは確認応答機能を備えており、送信側が送信したデータを受信側が受信すると、受信側から送信側へ確認応答が送信される。   In the second embodiment, the distribution management unit 17 of the stream distribution device 1A and the management information communication unit 23 of the receiving terminal 2A are connected to a management session using a connection type protocol. The connection-type protocol has an acknowledgment function, and when the receiving side receives data transmitted from the transmitting side, an acknowledgment is transmitted from the receiving side to the transmitting side.

また、受信側からデータの不着を意味する否定応答があった場合や、送信後所定時間が経過しても確認応答を受信できない場合にはデータを再送する。再送を既定回数行っても確認応答を受信できない場合には、上位レイヤに対して、送信が完了しなかったことを通知する。   In addition, when there is a negative response meaning non-delivery of data from the receiving side, or when a confirmation response cannot be received even after a predetermined time has elapsed after transmission, the data is retransmitted. If the confirmation response cannot be received even after a predetermined number of retransmissions, the upper layer is notified that the transmission has not been completed.

この管理セッションでは、配信開始前に受信端末2Aからストリーム配信装置1Aへ配信要求を行い、配信中にはストリーム配信装置1Aから受信端末2Aへの死活監視に使用する。死活監視は、あらかじめ指定した間隔でストリーム配信装置1Aから受信端末2Aへ死活監視用データ(例えば、死活監視パケット)を送信することで行う。死活監視用データが受信端末2Aへ到達すると、受信端末2Aからストリーム配信装置1Aへ確認応答が送信され、確認応答を受信したストリーム配信装置1Aは受信端末2Aとの間の接続が維持されていることを確認する。   In this management session, a distribution request is made from the reception terminal 2A to the stream distribution apparatus 1A before the distribution is started, and is used for alive monitoring from the stream distribution apparatus 1A to the reception terminal 2A during distribution. Life / death monitoring is performed by transmitting life / death monitoring data (for example, life / death monitoring packet) from the stream distribution device 1A to the receiving terminal 2A at a predetermined interval. When the alive monitoring data reaches the receiving terminal 2A, a confirmation response is transmitted from the receiving terminal 2A to the stream distribution device 1A, and the stream distribution device 1A that has received the confirmation response maintains the connection with the receiving terminal 2A. Make sure.

所定回数連続して端末との接続維持が確認できなかった場合、ストリーム配信装置1Aは受信端末2Aが切断されたものと判定して、配信を停止する。   If the connection with the terminal cannot be confirmed for a predetermined number of times, the stream distribution device 1A determines that the receiving terminal 2A has been disconnected and stops the distribution.

ストリーム配信装置1Aのネットワーク状態推定部18は、この死活監視の通信をモニタリングし、ネットワーク状態を推定する。ネットワーク状態推定部18は、配信管理部17から受信端末2Aへ死活監視用データを送信した時刻を記憶しておき、確認応答を受信した時刻との差分を往復遅延時間RTTする。また、コネクション型プロトコルでの再送が発生した場合には、パケットロスが発生していると判断する。ネットワーク状態推定部18は、この結果を配信レート決定部14へ通知し、配信レート決定部14では、第1の実施の形態と同様に動作する(例えば、パケットロスが発生している場合は、配信するストリームのビットレートを1段階低下させる)。   The network state estimation unit 18 of the stream distribution device 1A monitors this life / death monitoring communication and estimates the network state. The network state estimation unit 18 stores the time when the life / death monitoring data is transmitted from the distribution management unit 17 to the receiving terminal 2A, and calculates the difference from the time when the confirmation response is received as the round-trip delay time RTT. Further, when retransmission occurs in the connection type protocol, it is determined that a packet loss has occurred. The network state estimation unit 18 notifies the distribution rate determination unit 14 of this result, and the distribution rate determination unit 14 operates in the same manner as in the first embodiment (for example, when packet loss occurs, Decrease the bit rate of the stream to be delivered by one step).

次に、図7のフローチャートを参照して第2の実施の形態の動作を説明する。この第2の実施の形態では、図3に示すフローチャートにおけるレポート受信部13が受信端末2からレポートを受信するステップS04が、ネットワーク状態推定部18がネットワーク状態を推定するステップS13に代わった点で第1の実施の形態と異なる。他のステップは図3に示すフローチャートと同様である。このため、同一の処理内容には同一の符号を付し、重複する説明は省略する。   Next, the operation of the second embodiment will be described with reference to the flowchart of FIG. In the second embodiment, step S04 in which the report receiving unit 13 receives the report from the receiving terminal 2 in the flowchart shown in FIG. 3 is replaced with step S13 in which the network state estimating unit 18 estimates the network state. Different from the first embodiment. Other steps are the same as those in the flowchart shown in FIG. For this reason, the same processing contents are denoted by the same reference numerals, and redundant description is omitted.

ネットワーク状態推定部18における往復遅延時間RTTとパケットロスの推定方法を、図8および図9のシーケンス図を使用して説明する。   The round-trip delay time RTT and the packet loss estimation method in the network state estimation unit 18 will be described with reference to the sequence diagrams of FIGS.

図8は、パケットロスが発生しなかった場合のシーケンス図である。図8に示すシーケンス図を参照して、まず、ストリーム配信装置1Aの配信管理部17が死活監視用データを受信端末2Aに送信する(ステップS101)。そして、ネットワーク状態推定部18は送信時刻Tsendを記憶する(ステップS102)。   FIG. 8 is a sequence diagram when packet loss does not occur. With reference to the sequence diagram shown in FIG. 8, first, the distribution management unit 17 of the stream distribution device 1A transmits the data for alive monitoring to the receiving terminal 2A (step S101). Then, the network state estimation unit 18 stores the transmission time Tsend (Step S102).

受信端末2Aの管理情報通信部23は、ストリーム配信装置1Aから死活監視用データを受信すると(ステップS103)、ストリーム配信装置1Aへ確認応答を送信する(ステップS104)。   When the management information communication unit 23 of the receiving terminal 2A receives the alive monitoring data from the stream distribution device 1A (step S103), it transmits a confirmation response to the stream distribution device 1A (step S104).

ストリーム配信装置1Aへ確認応答が到着した時刻をTrcvとすると、ネットワーク状態推定部18は、「往復遅延時間RTTm=Trcv−Tsend」を計算し、パケットロスが発生していないことと合わせて配信レート決定部14へ通知する。   Assuming that the time when the confirmation response arrives at the stream distribution device 1A is Trcv, the network state estimation unit 18 calculates “round trip delay time RTTm = Trcv−Tsend”, and the distribution rate together with the fact that no packet loss has occurred. Notify the determination unit 14.

また、図9は、パケットロスが発生した場合のシーケンス図である。図9に示すシーケンス図を参照して、まず、ストリーム配信装置1Aの配信管理部17により、死活監視用データを受信端末2Aへ送信する(ステップS201)。そして、ネットワーク状態推定部18は送信時刻Tsendを記憶する(ステップS202)。   FIG. 9 is a sequence diagram when packet loss occurs. With reference to the sequence diagram shown in FIG. 9, first, the life management data of the stream distribution device 1A is transmitted to the receiving terminal 2A (step S201). Then, the network state estimation unit 18 stores the transmission time Tsend (step S202).

ストリーム配信装置1Aの配信管理部17は、死活監視用データ送信後、所定時間経過しても受信端末2Aから確認応答を受信できない場合に、コネクション型プロトコルにより、死活監視用データの再送が行われる(ステップS203)。ネットワーク状態推定部18は、再送が行われるとパケットロスが発生したことを記憶するとともに、送信時刻Tsendを再送データの送信時刻に変更する(ステップS204)。   The delivery management unit 17 of the stream delivery device 1A retransmits the life / death monitoring data by the connection-type protocol when the confirmation response cannot be received from the receiving terminal 2A even after a lapse of a predetermined time after sending the life / death monitoring data. (Step S203). The network state estimation unit 18 stores that packet loss has occurred when retransmission is performed, and changes the transmission time Tsend to the transmission time of retransmission data (step S204).

受信端末2Aの管理情報通信部23は、ストリーム配信装置1Aから死活監視用データを受信する(ステップS205)と、応答確認を送信する(ステップS206)。この応答確認を受信したストリーム配信装置1Aのネットワーク状態推定部18は、「往復遅延時間RTTm=Trcv−Tsend」を計算し、パケットロスが発生したこととともに配信レート決定部14へ通知する。   When the management information communication unit 23 of the receiving terminal 2A receives the alive monitoring data from the stream distribution device 1A (step S205), it transmits a response confirmation (step S206). The network state estimation unit 18 of the stream distribution device 1A that has received this response confirmation calculates “round trip delay time RTTm = Trcv−Tsend”, and notifies the distribution rate determination unit 14 of the occurrence of a packet loss.

以上、説明したように、第2の実施の形態においては、ストリーム配信装置1Aのネットワーク状態推定部18により、ストリーム配信装置1Aと受信端末2Aとの間の死活監視通信から往復遅延時間RTTとパケットロスの有無を推定することによって、受信状態をレポートしない受信端末2Aにおいても、過去のビットレート試行時の往復遅延時間RTTの制御履歴の情報から、受信端末とビットレートに応じた閾値を容易かつ自動で設定できる。また、第1の実施の形態と同様に、ビットレートの不用意な上昇と、ビットレートの上昇試行の停滞を防止できる。   As described above, in the second embodiment, the network state estimation unit 18 of the stream distribution device 1A performs the round trip delay time RTT and the packet from the alive monitoring communication between the stream distribution device 1A and the reception terminal 2A. By estimating the presence / absence of a loss, even in the receiving terminal 2A that does not report the reception state, the threshold corresponding to the receiving terminal and the bit rate can be easily determined from the control history information of the round-trip delay time RTT at the past bit rate trial. Can be set automatically. Further, as in the first embodiment, it is possible to prevent an inadvertent increase in the bit rate and a stagnation in trials for increasing the bit rate.

なお、図6に示すストリーム配信装置1Aおよび受信端末1Aは、内部にCPUを含むコンピュータシステムを有している。上述した処理に関する一連の処理の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。また、ストリーム配信装置1Aはサーバ装置等で構成され、このストリーム配信装置1Aには、周辺機器として入力装置、表示装置等(いずれも表示せず)が接続されているものとする。ここで、入力装置としては、キーボード、マウス等の入力デバイスのことをいう。表示装置とは、CRT(Cathode Ray Tube)や液晶表示装置等のことをいう。   Note that the stream distribution device 1A and the reception terminal 1A shown in FIG. 6 have a computer system including a CPU therein. A series of processing steps relating to the above-described processing is stored in a computer-readable recording medium in the form of a program, and the above-described processing is performed by the computer reading and executing this program. Further, it is assumed that the stream distribution device 1A is configured by a server device or the like, and an input device, a display device, and the like (none of them are displayed) are connected to the stream distribution device 1A as peripheral devices. Here, the input device refers to an input device such as a keyboard and a mouse. The display device refers to a CRT (Cathode Ray Tube), a liquid crystal display device, or the like.

次に、具体的な実施例を用いて本発明のストリーム配信システムの動作について説明する。実施例1は、図1に示す第1の実施の形態のストリーム配信システムの具体的な例を示すものである。本実施例1においては、ストリーム配信装置1と受信端末2はインターネットを経由して接続されているものとする。   Next, the operation of the stream distribution system of the present invention will be described using a specific embodiment. Example 1 shows a specific example of the stream distribution system according to the first embodiment shown in FIG. In the first embodiment, it is assumed that the stream distribution device 1 and the receiving terminal 2 are connected via the Internet.

ストリーム配信装置1から受信端末2へのコンテンツ配信はRTP(Real-time Transport Protocol)によって行われ、受信端末2からストリーム配信装置1へのレポートの送信はRTCP(RTP Control Protocol)によって行われる。RTP、RTCPともにトランスポートプロトコルには、UDP(User Datagram Protocol)を使用する。   Content distribution from the stream distribution device 1 to the receiving terminal 2 is performed by RTP (Real-time Transport Protocol), and transmission of a report from the receiving terminal 2 to the stream distribution device 1 is performed by RTCP (RTP Control Protocol). For both RTP and RTCP, UDP (User Datagram Protocol) is used as the transport protocol.

そして、ストリーム配信装置1はサーバ装置で構成される。ストリーム送信部11は、サーバ装置のCPUで実行されるプログラム(ストリーム送信部における一連処理の過程が記述されたプログラム)とネットワーク・インタフェース・カード(以下、NICと略記)の組み合わせで実現される。このストリーム送信部11は、コンテンツ記憶部12から取り出したコンテンツデータを適当なサイズに分割し、分割した各データにRTPヘッダ、UDPヘッダ、IPヘッダ、Ethernet(登録商標)ヘッダを付加したパケットを生成し、受信端末2へ向けて送信する。また、受信端末2に対して、定期的にメッセージ「RTCP SR(Sender Report)」を送信する。本実施例1では、メッセージ「RTCP SR」の送信間隔を5秒とする。   The stream distribution device 1 is configured by a server device. The stream transmission unit 11 is realized by a combination of a program executed by the CPU of the server device (a program in which a series of processes in the stream transmission unit is described) and a network interface card (hereinafter abbreviated as NIC). The stream transmission unit 11 divides the content data extracted from the content storage unit 12 into an appropriate size, and generates a packet in which an RTP header, a UDP header, an IP header, and an Ethernet (registered trademark) header are added to each divided data. And transmitted to the receiving terminal 2. In addition, a message “RTCP SR (Sender Report)” is periodically transmitted to the receiving terminal 2. In the first embodiment, the transmission interval of the message “RTCP SR” is 5 seconds.

コンテンツ記憶部12は、サーバ装置に内蔵される磁気ディスク装置等の記憶装置であり、各映像コンテンツを複数のビットレートでエンコードして記憶しておく。本実施例1におけるコンテンツ記憶部12は、3種類のコンテンツA,B,Cを記憶しているとする。コンテンツA,Bは、1Mbps,2Mbps,4Mbps,8Mbpsの各ビットレートを記憶しており、コンテンツCは、1Mbps,2Mbps,4Mbps,6Mbps,8Mbpsの各ビットレートを記憶している。コンテンツA,BとコンテンツCは、コンテンツCが6Mbpsを記憶している点が異なっている。なお、コンテンツ記憶部12が記憶するコンテンツは、画像でもよいし音声でもよい。   The content storage unit 12 is a storage device such as a magnetic disk device built in the server device, and stores each video content encoded at a plurality of bit rates. It is assumed that the content storage unit 12 in the first embodiment stores three types of content A, B, and C. Content A and B store bit rates of 1 Mbps, 2 Mbps, 4 Mbps, and 8 Mbps, and content C stores bit rates of 1 Mbps, 2 Mbps, 4 Mbps, 6 Mbps, and 8 Mbps. Content A, B and content C differ in that content C stores 6 Mbps. The content stored in the content storage unit 12 may be an image or a sound.

レポート受信部13は、ストリーム送信部11と同様にCPUで実行されるプログラム(レポート受信部における一連の処理の過程が記述されたプログラム)とNICの組み合わせで実現され、端末からのメッセージ「RTCP RR(Receiver Report)」を受信し、パケットロス率と往復遅延時間RTTを計算して、配信レート決定部14へ通知する。   The report receiving unit 13 is realized by a combination of a program executed by the CPU (a program in which a series of processing steps in the report receiving unit are described) and the NIC in the same manner as the stream transmitting unit 11 and a message “RTCP RR” from the terminal. (Receiver Report) "is calculated, the packet loss rate and the round-trip delay time RTT are calculated and notified to the distribution rate determining unit 14.

パケットロス率はメッセージ「RTCP RR」の「fraction lost」フィールドまたは「cumulative number of packets lost」フィールドから求めることができる。また、往復遅延時間RTTはメッセージ「RTCP RR」の「LSR」フィールドと「DLSR」フィールドから求めることができる。   The packet loss rate can be obtained from the “fraction lost” field or “cumulative number of packets lost” field of the message “RTCP RR”. The round trip delay time RTT can be obtained from the “LSR” field and the “DLSR” field of the message “RTCP RR”.

配信レート決定部14は、その一連の処理の過程が記述されたプログラムをCPUが読み出して実行することにより、その機能が実現される。制御履歴記憶部15は、サーバ装置のメインメモリの一部である。閾値設定部16と配信管理部17についても、その一連の処理の過程が記述されたプログラムをCPUが読み出して実行することにより、その機能が実現される。   The function of the distribution rate determination unit 14 is realized by the CPU reading and executing a program describing a series of processing steps. The control history storage unit 15 is a part of the main memory of the server device. The functions of the threshold setting unit 16 and the distribution management unit 17 are realized when the CPU reads and executes a program describing a series of processing steps.

コンテンツ記憶部12が上記のA,B,Cのコンテンツを記憶しているとき、制御履歴記憶部15の上昇可否記憶テーブル151は、図10に示すようになる。「上昇前ビットレートが1Mbpsで上昇後ビットレートが2Mbpsのエントリ」と、「上昇前ビットレートが2Mbpsで上昇後ビットレートが4Mbpsのエントリ」は、コンテンツA,B,Cのすべてで使用される。   When the content storage unit 12 stores the contents A, B, and C, the ascending / descending storage table 151 of the control history storage unit 15 is as shown in FIG. “Entry with bit rate before increase of 1 Mbps and bit rate after increase of 2 Mbps” and “entry of bit rate before increase of 2 Mbps and bit rate after increase of 4 Mbps” are used for all of contents A, B, and C .

「上昇前ビットレートが4Mbpsで上昇後ビットレートが6Mbpsのエントリ」と、「上昇前ビットレートが6Mbpsで上昇後ビットレートが8Mbpsのエントリ」は、コンテンツCのみで使用され、「上昇前ビットレートが4Mbpsで上昇後ビットレートが8Mbpsのエントリ」は、コンテンツA,Bで使用される。これまでに一度も配信したことのない端末の場合、上昇可能RTT1513と上昇不可能RTT1514には初期値を記憶しておく。   The “entry with the bit rate before increase of 4 Mbps and the bit rate after increase of 6 Mbps” and the “entry of bit rate before increase of 6 Mbps and the bit rate after increase of 8 Mbps” are used only for the content C, and the “bit rate before increase” "Entries with an increase of 4 Mbps and a bit rate of 8 Mbps" are used for the contents A and B. In the case of a terminal that has never been delivered, an initial value is stored in the ascending RTT 1513 and the ascending RTT 1514.

本実施例1では、上昇可能RTT1513の初期値を0[s]、上昇不可能RTT1514の初期値を1[s]としている。受信端末2は、IPTV(Internet Protocol TeleVision)用のセット・トップ・ボックス(STB:Set Top Box)である。ストリーム受信部21とレポート送信部22は、CPUで実行されるプログラム(ストリーム送信部およびレポート送信部における一連の処理の過程が記述されたプログラム)とNICの組み合わせで実現される。   In the first embodiment, the initial value of the ascending RTT 1513 is set to 0 [s], and the initial value of the ascending RTT 1514 is set to 1 [s]. The receiving terminal 2 is a set top box (STB) for IPTV (Internet Protocol TeleVision). The stream reception unit 21 and the report transmission unit 22 are realized by a combination of a program executed by the CPU (a program describing a series of processing steps in the stream transmission unit and the report transmission unit) and the NIC.

受信端末2内のストリーム受信部21は、ストリーム配信装置1から配信されたパケットを受信し、RTP、UDP、IP、Ethernet(登録商標)ヘッダのデコードを行い、コンテンツのデコード部(図示せず)へ転送する。   The stream reception unit 21 in the reception terminal 2 receives the packet distributed from the stream distribution device 1, decodes the RTP, UDP, IP, and Ethernet (registered trademark) headers, and decodes the content (not shown). Forward to.

ストリーム受信部21でのRTPデコード時には、メッセージ「RTCP RR」の送信に必要な各種データを収集し、レポート送信部22へ通知する。また、ストリーム配信装置1から送信されるメッセージ「RTCP SR」を受信し、レポート送信部22に転送する。   At the time of RTP decoding in the stream reception unit 21, various data necessary for transmission of the message “RTCP RR” are collected and notified to the report transmission unit 22. The message “RTCP SR” transmitted from the stream distribution device 1 is received and transferred to the report transmission unit 22.

レポート送信部22は、ストリーム受信部21から得た情報をもとにメッセージ「RTCP RR」をストリーム配信装置1へ送信する。本実施例1では、メッセージ「RTCP RR」の送信間隔を1秒とする。なお、受信端末2は、セット・トップ・ボックス(STB)だけでなく、PC(Personal Computer)、PDA(Personal Digital Assistant)、携帯電話端末などでもよい。   The report transmission unit 22 transmits the message “RTCP RR” to the stream distribution device 1 based on the information obtained from the stream reception unit 21. In the first embodiment, the transmission interval of the message “RTCP RR” is 1 second. The receiving terminal 2 may be not only a set top box (STB) but also a PC (Personal Computer), a PDA (Personal Digital Assistant), a mobile phone terminal, or the like.

次に、実施例1において、ストリーム配信装置1が受信端末2からコンテンツAの配信要求を受けた場合の動作を、図3のフローチャートを参照して、説明する。   Next, in the first embodiment, an operation when the stream distribution device 1 receives a content A distribution request from the receiving terminal 2 will be described with reference to the flowchart of FIG.

配信管理部17は、コンテンツ記憶部12を参照し、コンテンツAは1Mbps,2Mbps,4Mbps,8Mbpsで配信可能であることを配信レート決定部14へ通知し、配信開始を指示する。配信レート決定部14は、配信可能なビットレートの中から配信開始時のビットレート(配信レート)を決定する(ステップS01)。ここでは、配信可能な最低のビットレートで配信開始する方法を採用し、1Mbpsで配信を開始する。   The distribution management unit 17 refers to the content storage unit 12, notifies the distribution rate determination unit 14 that the content A can be distributed at 1 Mbps, 2 Mbps, 4 Mbps, and 8 Mbps, and instructs the start of distribution. The distribution rate determination unit 14 determines a bit rate (distribution rate) at the start of distribution from among the distributable bit rates (step S01). Here, a method of starting distribution at the lowest possible bit rate is adopted, and distribution is started at 1 Mbps.

次に配信レート決定部14は、ビットレートを上昇させるための閾値を決定する。1Mbpsの1段階上のビットレートは2Mbpsなので、制御履歴記憶部15の上昇可否記憶テーブル151から上昇前ビットレート1511が1Mbps、上昇後ビットレート1512が2Mbpsのエントリを抽出する。   Next, the delivery rate determination unit 14 determines a threshold value for increasing the bit rate. Since the bit rate on one stage of 1 Mbps is 2 Mbps, an entry is extracted from the increase / decrease storage table 151 of the control history storage unit 15 so that the bit rate before increase 1511 is 1 Mbps and the bit rate after increase 1512 is 2 Mbps.

次に抽出したエントリの上昇可能RTT1513から閾値の下限RTTlbを、上昇不可能RTT1514から閾値の上限RTTubを決定する(ステップS02)。本実施例1では、上昇可能RTT1513の最大値を下限RTTlb、上昇不可能RTT1514の最小値を上限RTTubとすると「RTTlb=0[s]、RTTub=1[s]」となる。   Next, a threshold lower limit RTTlb is determined from the ascending RTT 1513 of the extracted entry, and a threshold upper limit RTTub is determined from the ascending RTT 1514 (step S02). In the first embodiment, assuming that the maximum value of the ascending RTT 1513 is the lower limit RTTlb and the minimum value of the ascending RTT 1514 is the upper limit RTTub, “RTTlb = 0 [s], RTTub = 1 [s]”.

次に、下限RTTlbと上限RTTubからビットレートを上昇させるための閾値を決定する(ステップS03)。本実施例1では、初期値を「RTTth=RTTlb」とし、閾値RTTthが、下限RTTlbと上限RTTubとの間で、
RTTth=RTTth+α(α:1回の処理での増加量)、
と変更していく方法(図4)を採用し、閾値RTTthはレポートを2回受信するごとに更新し、「α=(RTTub−RTTlb)/10」とする。このとき、閾値RTTthは、図11に示す変化をする。
Next, a threshold for increasing the bit rate is determined from the lower limit RTTlb and the upper limit RTTub (step S03). In the first embodiment, the initial value is “RTTth = RTTlb”, and the threshold value RTTth is between the lower limit RTTlb and the upper limit RTTub.
RTTth = RTTth + α (α: increase in one treatment),
And the threshold value RTTth is updated every time a report is received twice, so that “α = (RTTub−RTTlb) / 10”. At this time, the threshold value RTTth changes as shown in FIG.

一方、端末から図12に示すレポートが送信されてきた場合、5回目で閾値RTTthが0.2、往復遅延時間RTTmが0.18となり(RTTm<RTTth)、ビットレートを1Mbpsから2Mbpsへ上昇させる(ステップS08)。次に、上昇したビットレート2Mbpsで配信可能かどうかを判定する(ステップS09)。本実施例1では、ビットレートの上昇直後のレポートでパケットロスが報告された場合に配信不可と判定する。ここでは、上昇直後のレポートでパケットロスが報告されたとする(ステップS09:No)。このとき、上昇可否記憶テーブル151(図13)の上昇不可能RTT1514に0.18を追加し(ステップS10)、ビットレートを1Mbpsへ低下させ(ステップS11)、ステップS02へ戻る。   On the other hand, when the report shown in FIG. 12 is transmitted from the terminal, the threshold value RTTth is 0.2 and the round trip delay time RTTm is 0.18 at the fifth time (RTTm <RTTth), and the bit rate is increased from 1 Mbps to 2 Mbps. (Step S08). Next, it is determined whether or not distribution is possible at an increased bit rate of 2 Mbps (step S09). In the first embodiment, it is determined that delivery is not possible when a packet loss is reported in a report immediately after the bit rate increases. Here, it is assumed that a packet loss is reported in the report immediately after the increase (step S09: No). At this time, 0.18 is added to the ascendable RTT 1514 in the ascendability table 151 (FIG. 13) (step S10), the bit rate is reduced to 1 Mbps (step S11), and the process returns to step S02.

ステップS02ではビットレートを再び2Mbpsへ上昇させるための閾値の上限RTTubと下限RTTlbを決定する。「RTTlb=0、RTTub=0.18」となり、閾値RTTthは図14のようになる。ビットレート1Mbpsへ変更後、5回目の反復で往復遅延時間RTTmが0.030[s]となり、閾値RTTth(0.036[s])を下回ったとすると、再度2Mbpsへビットレートを上昇させ、2Mbpsで配信可能かどうかを判定する。2Mbpsで配信開始後、最初のレポートでパケットロスが発生していないと報告された場合、2Mbpsで配信可能と判定し、上昇可否記憶テーブル151の上昇可能RTT1513に0.030[s]を追加する(図15)。   In step S02, an upper limit RTTub and a lower limit RTTlb are determined for increasing the bit rate to 2 Mbps again. “RTTlb = 0, RTTub = 0.18”, and the threshold value RTTth is as shown in FIG. After the bit rate is changed to 1 Mbps, if the round trip delay time RTTm becomes 0.030 [s] in the fifth iteration and falls below the threshold value RTTth (0.036 [s]), the bit rate is increased again to 2 Mbps and 2 Mbps. To determine whether it can be distributed. If it is reported in the first report that no packet loss has occurred after starting distribution at 2 Mbps, it is determined that distribution is possible at 2 Mbps, and 0.030 [s] is added to the ascending RTT 1513 in the ascending / decreasing storage table 151. (FIG. 15).

その後、ステップS02へ戻り、ビットレートを2Mbpsから4Mbpsへ上昇させるための閾値を設定する。閾値RTTthは図11と同様になる。ビットレート2Mbpsでの配信中のレポートでパケットロスの発生が報告された場合には(ステップS05:Yes)、ビットレートを1Mbpsへ変更し(ステップS06)、ステップS02へ戻る。   Thereafter, the process returns to step S02, and a threshold for increasing the bit rate from 2 Mbps to 4 Mbps is set. The threshold value RTTth is the same as that in FIG. If occurrence of packet loss is reported in the report during distribution at the bit rate of 2 Mbps (step S05: Yes), the bit rate is changed to 1 Mbps (step S06), and the process returns to step S02.

以上説明したように、実施例1においては、ストリーム配信装置1のレポート受信部13は、インターネットを経由して、受信端末2が送信した受信状態のレポートを受信し、このレポートを基に、パケットロスの有無と往復遅延時間RTTを検出することによって、ビットレートの上昇試行時の往復遅延時間RTTの履歴情報を制御履歴記憶部15に保存する。そして、過去のビットレートの上昇試行時の往復遅延時間RTTの制御履歴の情報を基に、受信端末とビットレートに応じた閾値を自動的に設定する。また、閾値RTTthの設定を、閾値設定範囲の下限RTTlbから上限RTTubに向けて動的(自ら積極的)に設定変更して行くことにより、ビットレートの不用意な上昇と、ビットレートの上昇試行の停滞を防止する。   As described above, in the first embodiment, the report receiving unit 13 of the stream distribution device 1 receives the report of the reception state transmitted by the receiving terminal 2 via the Internet, and based on this report, the packet By detecting the presence / absence of loss and the round-trip delay time RTT, the history information of the round-trip delay time RTT at the time of increasing the bit rate is stored in the control history storage unit 15. Then, based on the control history information of the round-trip delay time RTT at the time of the trial of increasing the bit rate in the past, a threshold corresponding to the receiving terminal and the bit rate is automatically set. In addition, the threshold value RTTth is dynamically changed from the lower limit RTTlb to the upper limit RTTub of the threshold setting range, so that the bit rate may be inadvertently increased and the bit rate may be increased. To prevent stagnation.

第2の実施例は、図6に示す第2の実施の形態のストリーム配信システムの具体的な例を示すものである。
前述の通り、図6に示す第2の実施の形態におけるストリーム配信装置1Aは、図1に示す第1の実施の形態のストリーム配信装置1と比較してレポート受信部13が削除され、受信端末2Aとの間の管理セッションの情報からネットワーク状態を推定するネットワーク状態推定部18が追加された点が異なる。また、受信端末2Aは、レポート送信部22が削除され、ストリーム配信装置1Aとの間でセッション情報をやりとりする管理情報通信部23が追加された点で第1の実施の形態と異なる。
The second example shows a specific example of the stream distribution system according to the second embodiment shown in FIG.
As described above, in the stream distribution device 1A in the second embodiment shown in FIG. 6, the report receiving unit 13 is deleted as compared with the stream distribution device 1 in the first embodiment shown in FIG. The difference is that a network state estimation unit 18 that estimates a network state from information of a management session with 2A is added. The receiving terminal 2A is different from the first embodiment in that the report transmitting unit 22 is deleted and a management information communication unit 23 for exchanging session information with the stream delivery device 1A is added.

本実施例2における配信管理部17とネットワーク状態推定部18は、サーバ装置のCPUで実行されるプログラム(配信管理部およびネットワーク状態推定部における一連処理の過程が記述されたプログラム)によりその機能が実現される。また、管理情報通信部23は、セット・トップ・ボックスSTBのCPUで実行されるプログラムにより、その機能が実現される。また、ストリーム配信装置1Aの配信管理部17と受信端末2Aの管理情報通信部23は、RTSP(Real Time Streaming Protocol)によって通信し、プロトコルRTSPはトランスポートプロトコルにTCP(Transmission Control Protocol)を使用する。   The distribution management unit 17 and the network state estimation unit 18 according to the second embodiment have functions according to a program executed by the CPU of the server apparatus (a program in which a series of processes in the distribution management unit and the network state estimation unit is described). Realized. The function of the management information communication unit 23 is realized by a program executed by the CPU of the set top box STB. The distribution management unit 17 of the stream distribution device 1A and the management information communication unit 23 of the receiving terminal 2A communicate by RTSP (Real Time Streaming Protocol), and the protocol RTSP uses TCP (Transmission Control Protocol) as a transport protocol. .

受信端末2Aは、プロトコルRTSPを使用してストリーム配信装置1Aへ配信要求を行う。ストリーム配信装置1A内の配信管理部17は、受信端末2Aからの配信要求を受信すると、配信レート決定部14に対して配信開始を指示する。また、配信開始後は、配信管理部17から受信端末2AへRTSPセッションを使用して死活監視用パケットを送信する。受信端末2Aの管理情報通信部23は死活監視用パケットを受信すると、ストリーム配信装置1Aへ応答確認を送信する。   The receiving terminal 2A makes a distribution request to the stream distribution apparatus 1A using the protocol RTSP. When receiving the distribution request from the receiving terminal 2A, the distribution management unit 17 in the stream distribution device 1A instructs the distribution rate determination unit 14 to start distribution. After the start of distribution, the life management packet is transmitted from the distribution management unit 17 to the receiving terminal 2A using the RTSP session. When the management information communication unit 23 of the receiving terminal 2A receives the alive monitoring packet, it transmits a response confirmation to the stream distribution device 1A.

次に具体的な例を使用して、実施例2におけるネットワーク状態推定部18の動作を説明する。図16は、実施例2におけるネットワーク状態推定方法を示すシーケンス図であり、ストリーム配信装置1Aと受信端末2Aとの間の死活監視の処理の流れを示すものである。   Next, the operation of the network state estimation unit 18 in the second embodiment will be described using a specific example. FIG. 16 is a sequence diagram illustrating a network state estimation method according to the second embodiment, and illustrates a flow of alive monitoring processing between the stream distribution device 1A and the reception terminal 2A.

図16を参照して、時刻0:00:00.100(0時ちょうどの100ミリ秒後)に受信端末2Aへ死活監視パケットを送信したとき、ネットワーク状態推定部18はこの時刻を記憶しておく。この死活監視パケットは時刻0:00:00.110に受信端末2Aが受信し、時刻0:00:00.111に応答確認パケットを送信したとする。   Referring to FIG. 16, when the alive monitoring packet is transmitted to receiving terminal 2A at time 0: 00: 00.100 (100 milliseconds after 0:00), network state estimating unit 18 stores this time. deep. Assume that this alive monitoring packet is received by the receiving terminal 2A at time 0: 00: 10.110 and a response confirmation packet is transmitted at time 0: 00: 10.111.

ストリーム配信装置1Aは、応答確認パケットを時刻0:00:00.121に受信すると、ネットワーク状態推定部18は、パケットロスが発生しておらず往復遅延時間RTTが21ミリ秒(=0:00:00.121−0:00:00.100)であることを配信レート決定部14へ通知する。   When the stream distribution device 1A receives the response confirmation packet at time 0: 00: 10.121, the network state estimation unit 18 does not generate any packet loss, and the round-trip delay time RTT is 21 milliseconds (= 0: 00: 00). : 00.121-0: 00: 00.100) to the distribution rate determination unit 14.

その後、時刻0:00:01.100に次の死活監視パケットを送信したとする。この死活監視パケットが端末に到達する前にパケットロスした場合、受信端末2Aからの確認応答が送られてこないため、一定時間経過後(図16の例では500ミリ秒としている)にTCPによる再送が行われる。この再送が行われると、ネットワーク状態推定部18はパケットロスが発生していると判定する。再送した死活監視パケットに対する確認応答を受信すると、ネットワーク状態推定部18は、パケットロスが発生しており往復遅延時間RTTが61ミリ秒(=0:00:01.661−0:00:01.600)であることを配信レート決定部14へ通知する。   Thereafter, it is assumed that the next alive monitoring packet is transmitted at time 0: 00: 01.100. When the packet is lost before the alive monitoring packet reaches the terminal, the confirmation response from the receiving terminal 2A is not sent, so that the retransmission is performed by TCP after a fixed time has elapsed (in the example of FIG. 16, it is set to 500 milliseconds). Is done. When this retransmission is performed, the network state estimation unit 18 determines that a packet loss has occurred. When receiving the confirmation response to the resent alive monitoring packet, the network state estimation unit 18 has a packet loss and the round trip delay time RTT is 61 milliseconds (= 0: 00: 00.661-0: 00: 01. 600), the distribution rate determination unit 14 is notified.

以上説明したように、実施例2においては、ストリーム配信装置1Aから受信端末2Aに対し、インターネットにおけるRTSPセッションを使用して死活監視用パケットを送信することにより、ストリーム配信装置1Aのネットワーク状態推定部18でストリーム配信装置1Aと受信端末2Aとの間の往復遅延時間RTTとパケットロスの有無を推定する。これにより、受信状態をレポートしない受信端末2Aにおいても、過去のビットレート試行時の往復遅延時間RTTの制御履歴の情報から、受信端末2Aとビットレートに応じた閾値RTTthを容易かつ自動で設定できる。また、第1の実施の形態と同様に、ビットレートの不用意な上昇と、ビットレートの上昇試行の停滞を防止できる。   As described above, in the second embodiment, the network status estimation unit of the stream distribution device 1A is transmitted from the stream distribution device 1A to the receiving terminal 2A by using the RTSP session in the Internet to transmit the alive monitoring packet. 18, the round-trip delay time RTT between the stream distribution device 1 </ b> A and the receiving terminal 2 </ b> A and the presence / absence of packet loss are estimated. Thereby, even in the receiving terminal 2A that does not report the reception state, the threshold RTTth corresponding to the receiving terminal 2A and the bit rate can be easily and automatically set from the control history information of the round-trip delay time RTT at the past bit rate trial. . Further, as in the first embodiment, it is possible to prevent an inadvertent increase in the bit rate and a stagnation in trials for increasing the bit rate.

以上、本発明の実施の形態について説明したが、図1に示すストリーム配信装置1、および図6に示すストリーム配信装置1Aは、前述のようにサーバ装置等で構成され、内部にコンピュータシステムを有している。そして、上述した処理に関する一連の処理の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。   Although the embodiment of the present invention has been described above, the stream distribution device 1 shown in FIG. 1 and the stream distribution device 1A shown in FIG. 6 are configured by a server device or the like as described above, and have a computer system inside. doing. A series of processes related to the above-described process is stored in a computer-readable recording medium in the form of a program, and the above-described process is performed by the computer reading and executing this program.

すなわち、ストリーム配信装置1,1Aにおける各処理は、CPU等の中央演算処理装置がROMやRAM等の主記憶装置に上記プログラムを読み出して、情報の加工、演算処理を実行することにより、実現されるものである。   That is, each process in the stream distribution devices 1 and 1A is realized by a central processing unit such as a CPU reading the above program into a main storage device such as a ROM or a RAM, and executing information processing and arithmetic processing. Is.

ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしても良い。   Here, the computer-readable recording medium means a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, a semiconductor memory, or the like. Alternatively, the computer program may be distributed to the computer via a communication line, and the computer that has received the distribution may execute the program.

以上、本発明の実施の形態について説明したが、本発明のストリーム配信システム、およびストリーム配信装置は、上述の図示例にのみ限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である。   Although the embodiments of the present invention have been described above, the stream distribution system and the stream distribution apparatus of the present invention are not limited to the above-described illustrated examples, and various types can be made without departing from the gist of the present invention. Of course, changes can be made.

本発明は、インターネット上での映像配信サービスに使用するストリーム配信システムや、監視カメラで撮影した映像を監視センタへ転送する映像監視システムなどに適用できる。   The present invention can be applied to a stream distribution system used for a video distribution service on the Internet, a video monitoring system for transferring video captured by a monitoring camera to a monitoring center, and the like.

1,1A・・・ストリーム配信装置、2,2A・・・受信端末、11・・・ストリーム送信部、12・・・コンテンツ記憶部、13・・・レポート受信部、14・・・配信レート決定部、15・・・制御履歴記憶部、16・・・閾値設定部、17・・・配信管理部、18・・・ネットワーク状態推定部、21・・・ストリーム受信部、22・・・レポート送信部、23・・・管理情報通信部、151・・・上昇可否記憶テーブル、1511・・・上昇前ビットレート、1512・・・上昇後ビットレート、1513・・・上昇可能RTT、1514・・・上昇不可能RTT   DESCRIPTION OF SYMBOLS 1,1A ... Stream delivery apparatus, 2,2A ... Receiving terminal, 11 ... Stream transmission part, 12 ... Content storage part, 13 ... Report reception part, 14 ... Delivery rate determination 15 ... Control history storage unit 16 ... Threshold setting unit 17 ... Distribution management unit 18 ... Network state estimation unit 21 ... Stream reception unit 22 ... Report transmission , 23... Management information communication unit, 151... Ascendability storage table, 1511... Bit rate before ascent, 1512... Bitrate after ascent, 1513. Unable to rise RTT

Claims (20)

受信端末に配信するストリームのビットレートを上昇させる際の受信端末との間の往復遅延時間を、受信端末およびビットレートごとに履歴情報として記憶し、この履歴情報を基にしてビットレートを上昇させる際の往復遅延時間の閾値を設定するストリーム配信装置であって、
受信端末に配信するストリームのビットレートを上昇試行する際の受信端末との間の往復遅延時間を、受信端末ごとに、かつ上昇前と上昇後のビットレートの組み合わせに関連付けて履歴情報として記憶する制御履歴記憶部と、
前記制御履歴記憶部に記憶された往復遅延時間の履歴情報を基にして前記ビットレートを上昇させる際の往復遅延時間の閾値を設定する閾値設定部と、
前記受信端末との間の往復遅延時間が前記閾値を下回った場合に、当該受信端末に配信するストリームのビットレートを上昇させること判定する配信レート決定部と、
を有することを特徴とするストリーム配信装置。
The round-trip delay time with the receiving terminal when increasing the bit rate of the stream distributed to the receiving terminal is stored as history information for each receiving terminal and bit rate, and the bit rate is increased based on this history information. A stream delivery device for setting a round-trip delay time threshold at the time ,
The round-trip delay time with the receiving terminal when attempting to increase the bit rate of the stream delivered to the receiving terminal is stored as history information in association with the combination of the bit rate before and after the increase for each receiving terminal. A control history storage unit;
A threshold value setting unit for setting a threshold value for the round trip delay time when increasing the bit rate based on the history information of the round trip delay time stored in the control history storage unit;
A delivery rate determination unit that determines to increase the bit rate of a stream to be delivered to the receiving terminal when a round-trip delay time with the receiving terminal is below the threshold;
A stream distribution apparatus comprising:
前記制御履歴記憶部は、ビットレートを上昇させる直前の前記受信端末との間の往復遅延時間を、ビットレート上昇後に配信可能であった往復遅延時間と、ビットレート上昇後に配信不可能であった往復遅延時間とに分類して記憶する、
ことを特徴とする請求項に記載のストリーム配信装置。
The control history storage unit was unable to deliver the round trip delay time with the receiving terminal immediately before raising the bit rate after the bit rate was raised and the round trip delay time that could be delivered after the bit rate was raised. Classify and store as round trip delay time,
The stream delivery apparatus according to claim 1 , wherein
前記閾値設定部は、前記制御履歴記憶部に記憶された前記ビットレート上昇後に配信可能であった往復遅延時間と、前記ビットレート上昇後に配信不可能であった往復遅延時間とを基に閾値設定範囲を決定し、該閾値設定範囲内から前記閾値を設定する、
ことを特徴とする請求項に記載のストリーム配信装置。
The threshold setting unit sets a threshold based on a round trip delay time that can be distributed after the bit rate increase stored in the control history storage unit and a round trip delay time that cannot be distributed after the bit rate increase. Determining a range, and setting the threshold value from within the threshold setting range;
The stream delivery apparatus according to claim 2 , wherein
前記閾値設定部は、前記配信可能であった往復遅延時間から閾値設定範囲の下限を設定し、前記配信不可能であった往復遅延時間から閾値設定範囲の上限を設定する
ことを特徴とする請求項に記載のストリーム配信装置。
The threshold setting unit sets a lower limit of a threshold setting range from the round-trip delay time that could be distributed, and sets an upper limit of the threshold setting range from the round-trip delay time that could not be distributed. Item 4. The stream delivery device according to Item 3 .
前記閾値設定部は、前記閾値設定範囲内で前記閾値を変化させる、
ことを特徴とする請求項に記載のストリーム配信装置。
The threshold setting unit changes the threshold within the threshold setting range.
The stream delivery apparatus according to claim 4 , wherein
前記閾値設定部は、前記閾値設定範囲内で、前記閾値を時間経過とともに下限値から上限値へ近づくように設定変更する、
ことを特徴とする請求項に記載のストリーム配信装置。
The threshold setting unit changes the setting within the threshold setting range so as to approach the upper limit value from the lower limit value as time elapses.
The stream delivery apparatus according to claim 5 , wherein
前記受信端末から受信状態のレポート情報を受信するレポート受信部を有し、
前記レポート情報を基に、前記往復遅延時間とパケットロスの有無を判定する、
ことを特徴とする請求項1からのいずれかに記載のストリーム配信装置。
A report receiving unit for receiving report information of a reception state from the receiving terminal;
Based on the report information, the presence / absence of the round trip delay time and packet loss is determined.
Streaming apparatus according to any one of claims 1 6, characterized in that.
前記ストリーム配信装置は前記受信端末へ死活監視用データを送信すると共に、前記死活監視用データに対する確認応答を基に、往復遅延時間とパケットロスを推定するネットワーク状態推定部を有する、
ことを特徴とする請求項1からのいずれかに記載のストリーム配信装置。
The stream distribution device transmits a life / death monitoring data to the receiving terminal, and has a network state estimation unit that estimates a round trip delay time and a packet loss based on a confirmation response to the life / death monitoring data.
Streaming apparatus according to any one of claims 1 6, characterized in that.
前記ストリーム配信装置が前記死活監視用データを受信端末に送信した後、当該受信端末からの確認応答を受信するまでの時間を前記往復遅延時間とし、
トランスポートプロトコルによる前記死活監視用データの再送発生を、前記パケットロス発生とする、
ことを特徴とする請求項に記載のストリーム配信装置。
After the stream delivery device transmits the alive monitoring data to the receiving terminal, the time until receiving the confirmation response from the receiving terminal is the round-trip delay time,
The occurrence of retransmission of the data for alive monitoring by a transport protocol is the occurrence of packet loss.
The stream distribution apparatus according to claim 8 , wherein:
請求項1からのいずれかに記載のストリーム配信装置と、
複数の受信端末と、
で構成されることを特徴とするストリーム配信システム。
A stream delivery device according to any one of claims 1 to 9 ;
Multiple receiving terminals,
A stream distribution system comprising:
ネットワークを介して受信端末へストリームを配信するストリーム配信装置におけるストリーム配信方法であって、
前記ストリーム配信装置内のコンピュータにより、
受信端末に配信するストリームのビットレートを上昇させる際の受信端末との間の往復遅延時間を、受信端末およびビットレートごとに履歴情報として記憶し、この履歴情報を基にしてビットレートを上昇させる際の往復遅延時間の閾値を設定する手順が、
行われること特徴とし、
受信端末に配信するストリームのビットレートを上昇試行する際の受信端末との間の往復遅延時間を、受信端末ごとに、かつ上昇前と上昇後のビットレートの組み合わせに関連付けて履歴情報として記憶する制御履歴記憶手順と、
前記制御履歴記憶手順により記憶された往復遅延時間の履歴情報を基にして前記ビットレートを上昇させる際の往復遅延時間の閾値を設定する閾値設定手順と、
前記受信端末との間の往復遅延時間が前記閾値を下回った場合に、当該受信端末に配信するストリームのビットレートを上昇させること判定する配信レート決定手順と、
が行われることを特徴とするストリーム配信方法。
A stream distribution method in a stream distribution device for distributing a stream to a receiving terminal via a network,
By the computer in the stream distribution device,
The round-trip delay time with the receiving terminal when increasing the bit rate of the stream distributed to the receiving terminal is stored as history information for each receiving terminal and bit rate, and the bit rate is increased based on this history information. The procedure for setting the threshold for the round trip delay time is
Characterized as being done ,
The round-trip delay time with the receiving terminal when attempting to increase the bit rate of the stream delivered to the receiving terminal is stored as history information in association with the combination of the bit rate before and after the increase for each receiving terminal. Control history storage procedure;
A threshold setting procedure for setting a round-trip delay time threshold when the bit rate is increased based on the round-trip delay history information stored by the control history storage procedure;
A delivery rate determination procedure for determining to increase the bit rate of a stream to be delivered to the receiving terminal when the round-trip delay time with the receiving terminal is below the threshold;
A stream delivery method characterized in that is performed.
前記制御履歴記憶手順により、ビットレートを上昇させる直前の前記受信端末との間の往復遅延時間を、ビットレート上昇後に配信可能であった往復遅延時間と、ビットレート上昇後に配信不可能であった往復遅延時間とに分類して記憶する、
ことを特徴とする請求項11に記載のストリーム配信方法。
According to the control history storing procedure, the round trip delay time with the receiving terminal immediately before raising the bit rate was not able to be delivered after the round trip delay time that could be delivered after the bit rate was raised and the bit rate was raised. Classify and store as round trip delay time,
The stream delivery method according to claim 11 .
前記閾値設定手順により、前記制御履歴記憶手順により記憶された前記ビットレート上昇後に配信可能であった往復遅延時間と、前記ビットレート上昇後に配信不可能であった往復遅延時間とを基に閾値設定範囲を決定し、該閾値設定範囲内から前記閾値を設定する、
ことを特徴とする請求項12に記載のストリーム配信方法。
The threshold setting procedure sets the threshold based on the round-trip delay time that can be distributed after the bit rate increase stored by the control history storage procedure and the round-trip delay time that cannot be distributed after the bit rate increase. Determining a range, and setting the threshold value from within the threshold setting range;
The stream distribution method according to claim 12 .
前記閾値設定手順により、前記配信可能であった往復遅延時間から閾値設定範囲の下限を設定し、前記配信不可能であった往復遅延時間から閾値設定範囲の上限を設定する
ことを特徴とする請求項13に記載のストリーム配信方法。
The threshold setting procedure sets a lower limit of a threshold setting range from the round-trip delay time that could be distributed, and sets an upper limit of the threshold setting range from the round-trip delay time that could not be distributed. Item 14. The stream delivery method according to Item 13 .
前記閾値設定手手順により、前記閾値設定範囲内で前記閾値を変化させる、
ことを特徴とする請求項14に記載のストリーム配信方法。
The threshold value is changed within the threshold setting range by the threshold setting procedure.
The stream delivery method according to claim 14 .
前記閾値設定手順により、前記閾値設定範囲内で、前記閾値を時間経過とともに下限値から上限値へ近づくように設定変更する、
ことを特徴とする請求項15に記載のストリーム配信方法。
By the threshold setting procedure, within the threshold setting range, the threshold is changed so as to approach the upper limit value from the lower limit value as time elapses.
The stream delivery method according to claim 15 , wherein:
前記受信端末から受信状態のレポート情報を受信するレポート受信手順が行われ、
前記レポート情報を基に、前記往復遅延時間とパケットロスの有無を判定する、
ことを特徴とする請求項11から16のいずれかに記載のストリーム配信方法。
A report reception procedure is performed for receiving report information of a reception state from the receiving terminal,
Based on the report information, the presence / absence of the round trip delay time and packet loss is determined.
Streaming method according to claim 11, wherein 16 of the.
前記ストリーム配信装置は前記受信端末へ死活監視用データを送信すると共に、前記死活監視用データに対する確認応答を基に、往復遅延時間とパケットロスを推定するネットワーク状態推定手順が行われる、
ことを特徴とする請求項11から16のいずれかに記載のストリーム配信方法。
The stream distribution device transmits life and death monitoring data to the receiving terminal, and based on a confirmation response to the life and death monitoring data, a network state estimation procedure for estimating a round trip delay time and a packet loss is performed.
Streaming method according to claim 11, wherein 16 of the.
前記ストリーム配信装置が前記死活監視用データを受信端末に送信した後、当該受信端末からの確認応答を受信するまでの時間を前記往復遅延時間とし、
トランスポートプロトコルによる前記死活監視用データの再送発生を、前記パケットロス発生とする、
ことを特徴とする請求項18に記載のストリーム配信方法。
After the stream delivery device transmits the alive monitoring data to the receiving terminal, the time until receiving the confirmation response from the receiving terminal is the round-trip delay time,
The occurrence of retransmission of the data for alive monitoring by a transport protocol is the occurrence of packet loss.
The stream delivery method according to claim 18 .
請求項11から請求項19のいずれかに記載のストリーム配信方法における各処理の手順をストリーム配信装置内のコンピュータに実行させるためのストリーム配信プログラム。 A stream distribution program for causing a computer in a stream distribution apparatus to execute each processing procedure in the stream distribution method according to any one of claims 11 to 19 .
JP2009180527A 2009-08-03 2009-08-03 Stream delivery apparatus, stream delivery system, stream delivery method, and stream delivery program Expired - Fee Related JP5375416B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009180527A JP5375416B2 (en) 2009-08-03 2009-08-03 Stream delivery apparatus, stream delivery system, stream delivery method, and stream delivery program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009180527A JP5375416B2 (en) 2009-08-03 2009-08-03 Stream delivery apparatus, stream delivery system, stream delivery method, and stream delivery program

Publications (2)

Publication Number Publication Date
JP2011035700A JP2011035700A (en) 2011-02-17
JP5375416B2 true JP5375416B2 (en) 2013-12-25

Family

ID=43764322

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009180527A Expired - Fee Related JP5375416B2 (en) 2009-08-03 2009-08-03 Stream delivery apparatus, stream delivery system, stream delivery method, and stream delivery program

Country Status (1)

Country Link
JP (1) JP5375416B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014069642A1 (en) * 2012-11-05 2014-05-08 日本電気株式会社 Communication device, transmission data output control method, and program for same
JP6086000B2 (en) * 2013-03-11 2017-03-01 株式会社リコー Information processing apparatus, communication control method, and program
JPWO2014171543A1 (en) 2013-04-19 2017-02-23 日本電気株式会社 Data transmission apparatus, data transmission method, and program thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4042696B2 (en) * 2004-01-08 2008-02-06 日本電気株式会社 Communication system, communication terminal, and communication program
US7532642B1 (en) * 2004-03-11 2009-05-12 Sun Microsystems, Inc. Methods and apparatus supporting adaptive bandwidth management
JP4829149B2 (en) * 2007-03-02 2011-12-07 株式会社エヌ・ティ・ティ・ドコモ COMMUNICATION DEVICE, COMMUNICATION SYSTEM, AND TRANSMISSION CONTROL METHOD
JP5029125B2 (en) * 2007-04-27 2012-09-19 日本電気株式会社 Available bandwidth estimation system, stream data distribution system, method, and program

Also Published As

Publication number Publication date
JP2011035700A (en) 2011-02-17

Similar Documents

Publication Publication Date Title
CA2842098C (en) A system and method for transmission of data signals over a wireless network
JP4454320B2 (en) Transmission apparatus, transmission control program, and transmission method
US9462343B2 (en) System and method of delivering video content
US9191664B2 (en) Adaptive bitrate management for streaming media over packet networks
CN107979449B (en) Data transmission method and device
KR101286830B1 (en) Fast channel change handling of late multicast join
JP4827652B2 (en) Relay device, relay method, and relay program
JP5094593B2 (en) Transmitting apparatus, receiving apparatus, method, and program
US7693058B2 (en) Method for enhancing transmission quality of streaming media
US7969997B1 (en) Video communications in a peer-to-peer network
JP5207895B2 (en) Transmitting apparatus, receiving apparatus, method, and program
US11949512B2 (en) Retransmission of data in packet networks
WO2009039754A1 (en) Method, media gateway and system for controlling redundant data packets transport
JP2004007823A (en) Method and apparatus for data transmission
KR102198701B1 (en) Method and apparatus for transmitting and receiving information in a multimedia system
US8811180B2 (en) Communication apparatus and communication method
JP5375416B2 (en) Stream delivery apparatus, stream delivery system, stream delivery method, and stream delivery program
CN110602568A (en) Video stream transmission packet loss retransmission method, device and storage device based on RTP
CN111031340A (en) Edge node control
Kim et al. A transmission control SCTP for real-time multimedia streaming
JP5523163B2 (en) Transmission device, transmission method, and program
JP2009044651A (en) Content distribution method, content distribution system, radio terminal and content distribution server
JP3848222B2 (en) Resending method
KR100880568B1 (en) Method for receiving efficient video using received signal strength notification mechanism in iptv environment
JP2004153610A (en) Method, radio terminal, controller and system for distributing moving image, and radio terminal

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120709

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130415

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130423

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130621

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130827

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130909

R150 Certificate of patent or registration of utility model

Ref document number: 5375416

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees