JP5434570B2 - Stream distribution device - Google Patents

Stream distribution device Download PDF

Info

Publication number
JP5434570B2
JP5434570B2 JP2009291138A JP2009291138A JP5434570B2 JP 5434570 B2 JP5434570 B2 JP 5434570B2 JP 2009291138 A JP2009291138 A JP 2009291138A JP 2009291138 A JP2009291138 A JP 2009291138A JP 5434570 B2 JP5434570 B2 JP 5434570B2
Authority
JP
Japan
Prior art keywords
transmission rate
rate
packet
content
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2009291138A
Other languages
Japanese (ja)
Other versions
JP2011135207A (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 JP2009291138A priority Critical patent/JP5434570B2/en
Publication of JP2011135207A publication Critical patent/JP2011135207A/en
Application granted granted Critical
Publication of JP5434570B2 publication Critical patent/JP5434570B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、ストリーム配信装置等に関し、特に品質非保証ネットワークで、ネットワーク帯域を可能な限り使用し、乱れや途切れのないストリーミングを実現するストリーム配信装置等に関する。   The present invention relates to a stream distribution apparatus and the like, and more particularly to a stream distribution apparatus and the like that uses a network bandwidth as much as possible in a quality non-guaranteed network and realizes streaming without disturbance or interruption.

特許文献1に記載されているストリーム配信システムの送信端末は、コンテンツパケットとともに、ロスしたコンテンツパケットを再構成するための冗長パケットを、受信端末へ送信する。受信端末は、コンテンツパケットがロスした場合に、冗長パケットからコンテンツパケットを再構成して再生する。また、受信端末は、パケットロス率を送信端末へフィードバックする機能を持つ。送信端末は、受信端末からのフィードバック情報をもとに、ネットワークが輻輳状態であると判定したらビットレートを低減させる。また、送信する冗長パケット量を増加させることにより送信ビットレートを上昇させ、受信端末からのフィードバック情報をもとにネットワークが高いデータレートをサポートするか否かを判定する。   The transmission terminal of the stream distribution system described in Patent Literature 1 transmits a redundant packet for reconstructing the lost content packet together with the content packet to the reception terminal. When the content packet is lost, the receiving terminal reconstructs the content packet from the redundant packet and reproduces it. The receiving terminal has a function of feeding back the packet loss rate to the transmitting terminal. If the transmitting terminal determines that the network is congested based on feedback information from the receiving terminal, the transmitting terminal reduces the bit rate. Further, the transmission bit rate is increased by increasing the amount of redundant packets to be transmitted, and it is determined whether or not the network supports a high data rate based on feedback information from the receiving terminal.

特許文献2には、受信した試験ストリームと同じ構成(パケットサイズ、ビットレート)の試験ストリームを送信ノード側に返送する受信ノードが、記載されている。   Patent Document 2 describes a receiving node that returns a test stream having the same configuration (packet size and bit rate) as the received test stream to the transmitting node side.

特許文献3には、伝送遅延時間差の増加傾向及び減少傾向から試験伝送率を求める技術が、記載されている。   Patent Document 3 describes a technique for obtaining a test transmission rate from an increasing tendency and a decreasing tendency of a transmission delay time difference.

特許文献4には、画像データのバッファ量の近似直線の傾きを演算し、送信レートを制御する技術が、記載されている。   Patent Document 4 describes a technique for calculating the slope of an approximate straight line of the buffer amount of image data and controlling the transmission rate.

特許文献5には、ストリームの送信時にビットレートを段階的に増加させる技術が、記載されている。   Patent Document 5 describes a technique for increasing the bit rate in stages during stream transmission.

特開2009−027720号公報JP 2009-027720 A 特開2008−278207号公報(段落0045〜0047、図1)JP 2008-278207 A (paragraphs 0045 to 0047, FIG. 1) 特開2006−074773号公報(段落0019〜0021、図1、図2)JP 2006-074773 (paragraphs 0019 to 0021, FIGS. 1 and 2) 特開2005−005823号公報(段落0054〜0060、図10、図12)Japanese Patent Laying-Open No. 2005-005823 (paragraphs 0054-0060, FIG. 10, FIG. 12) 特開平11−243360号公報(段落0084、図1)Japanese Patent Laid-Open No. 11-243360 (paragraph 0084, FIG. 1)

Jain and Dovrolis:a measurement tool for end-to-end available bandwidth、In Proceedings of Passive and Active Measurements Workshop、pp.14-25、2002.Jain and Dovrolis: a measurement tool for end-to-end available bandwidth, In Proceedings of Passive and Active Measurements Workshop, pp. 14-25, 2002.

しかしながら、特許文献1の技術を使用するには、受信端末から送信端末へ、パケットロス率などのコンテンツの受信状態をフィードバックする必要がある。そのため、送信端末がコンテンツ受信状態のフィードバックを得られない場合には、特許文献1の技術を使用できない。例えば、特許文献1には、RTCP RR(RTP(Realtime Transport Protocol) Control Protocol Receiver Report)によるパケットロス率のフィードバック方法が記載されている。しかし、RTCPをサポートしないSTB(SetTop Box)や、RTCPの不使用を明示したIPTV(Internet Protocol TeleVision)プロトコルの環境では、特許文献1のフィードバック制御を実現できない。   However, in order to use the technique of Patent Document 1, it is necessary to feed back the reception state of content such as a packet loss rate from the receiving terminal to the transmitting terminal. Therefore, when the transmitting terminal cannot obtain the feedback of the content reception state, the technique of Patent Document 1 cannot be used. For example, Patent Document 1 describes a packet loss rate feedback method using RTCP RR (Real Time Transport Protocol (RTP) Control Protocol Receiver Report). However, in the environment of STB (Set Top Box) that does not support RTCP and the IPTV (Internet Protocol TeleVision) protocol that clearly indicates the non-use of RTCP, the feedback control of Patent Document 1 cannot be realized.

また、特許文献2の技術では、ストリーム配信で受信ノードが「受信した試験ストリームと同じ構成(パケットサイズ、ビットレート)の試験ストリームを送信ノード側に返送する」ために、「受信したコンテンツパケットをそのまま送信ノードへ返送する」というコンテンツ受信状態のフィードバック機能が受信ノードに必要になる。そのため、そのような機能を有しない一般的な受信ノードに対しては、特許文献2の技術を使用できない。   Further, in the technique of Patent Document 2, in order to distribute a stream, the receiving node “returns a test stream having the same configuration (packet size and bit rate) as the received test stream to the transmitting node”. A feedback function of the content reception state “return to the transmission node as it is” is required for the reception node. Therefore, the technique of Patent Document 2 cannot be used for a general receiving node that does not have such a function.

このように、特許文献1、2の技術では、パケットロス率などのコンテンツ受信状態のフィードバックが受信端末から得られない場合には、ネットワークの輻輳状態を知ることができず、その結果、ネットワーク帯域を可能な限り使用し、乱れや途切れのないストリーミングを実現することができなかった。この課題を解決するための技術は、特許文献3〜5のどこにも開示も示唆もされていない。   As described above, in the techniques of Patent Documents 1 and 2, if the feedback of the content reception state such as the packet loss rate cannot be obtained from the receiving terminal, the network congestion state cannot be known. Was used as much as possible, and streaming without turbulence and interruptions could not be realized. The technique for solving this problem is neither disclosed nor suggested anywhere in Patent Documents 3-5.

そこで、本発明の目的は、パケットロス率などのコンテンツ受信状態のフィードバックが受信端末から得られない場合にも、ネットワーク状態を知ることができ、その結果、ネットワーク帯域を可能な限り使用し、乱れや途切れのないストリーミングを実現することにある。   Therefore, the object of the present invention is to know the network status even when the content reception status feedback such as the packet loss rate is not obtained from the receiving terminal, and as a result, the network bandwidth is used as much as possible and the The aim is to achieve seamless streaming.

本発明に係るストリーム配信装置は、
ネットワークを介して受信端末へストリームを送信するストリーム配信装置において、
プローブパケットを定期的に前記受信端末へ送信する送信部と、
前記プローブパケットを受信したことを示す応答パケットを前記受信端末から受信する受信部と、
前記送信部が前記プローブパケットを送信してから前記受信部が前記応答パケットを受信するまでに要した往復遅延時間を計算し、前記往復遅延時間が増加傾向に有れば前記ストリームの送信レートが可用帯域を上回っていると判定し、前記往復遅延時間が増加傾向に無ければ前記送信レートが前記可用帯域以下であると判定する制御部と、
を備えたことを特徴とする。
The stream distribution apparatus according to the present invention is:
In a stream distribution device that transmits a stream to a receiving terminal via a network,
A transmitter that periodically transmits a probe packet to the receiving terminal;
A receiving unit that receives from the receiving terminal a response packet indicating that the probe packet has been received;
The round-trip delay time required from when the transmitting unit transmits the probe packet to when the receiving unit receives the response packet is calculated. If the round-trip delay time tends to increase, the transmission rate of the stream is A controller that determines that the available bandwidth is exceeded, and determines that the transmission rate is equal to or lower than the available bandwidth if the round-trip delay time does not tend to increase;
It is provided with.

本発明に係るストリーム配信方法は、
ネットワークを介して受信端末へストリームを送信するストリーム配信方法において、
プローブパケットを定期的に前記受信端末へ送信する送信部と、前記プローブパケットを受信したことを示す応答パケットを前記受信端末から受信する受信部とを用意し、
前記送信部が前記プローブパケットを送信してから前記受信部が前記応答パケットを受信するまでに要した往復遅延時間を計算し、前記往復遅延時間が増加傾向に有れば前記ストリームの送信レートが可用帯域を上回っていると判定し、前記往復遅延時間が増加傾向に無ければ前記送信レートが前記可用帯域以下であると判定する、
ことを特徴とする。
A stream distribution method according to the present invention includes:
In a stream distribution method for transmitting a stream to a receiving terminal via a network,
A transmitting unit that periodically transmits a probe packet to the receiving terminal, and a receiving unit that receives a response packet indicating that the probe packet has been received from the receiving terminal are prepared,
The round-trip delay time required from when the transmitting unit transmits the probe packet to when the receiving unit receives the response packet is calculated. If the round-trip delay time tends to increase, the transmission rate of the stream is It is determined that the available bandwidth is exceeded, and if the round-trip delay time does not tend to increase, it is determined that the transmission rate is equal to or less than the available bandwidth.
It is characterized by that.

本発明に係るストリーム配信プログラムは、
ネットワークを介して受信端末へストリームを送信するストリーム配信装置に用いられるストリーム配信プログラムにおいて、
前記ストリーム配信装置が、プローブパケットを定期的に前記受信端末へ送信する送信部と、前記プローブパケットを受信したことを示す応答パケットを前記受信端末から受信する受信部と、コンピュータとを備える場合に、
前記送信部が前記プローブパケットを送信してから前記受信部が前記応答パケットを受信するまでに要した往復遅延時間を計算する手段、及び、前記往復遅延時間が増加傾向に有れば前記ストリームの送信レートが可用帯域を上回っていると判定し、前記往復遅延時間が増加傾向に無ければ前記送信レートが前記可用帯域以下であると判定する手段として、
前記コンピュータを機能させるためのものである。
The stream distribution program according to the present invention includes:
In a stream distribution program used in a stream distribution device that transmits a stream to a receiving terminal via a network,
When the stream distribution device includes a transmission unit that periodically transmits a probe packet to the reception terminal, a reception unit that receives a response packet indicating that the probe packet has been received from the reception terminal, and a computer ,
Means for calculating a round-trip delay time required from when the transmitting unit transmits the probe packet to when the receiving unit receives the response packet; and if the round-trip delay time tends to increase, As a means for determining that the transmission rate exceeds the available bandwidth, and determining that the transmission rate is equal to or lower than the available bandwidth if the round-trip delay time does not tend to increase,
This is to make the computer function.

本発明によれば、プローブパケットを送信してから応答パケットを受信するまでに要した往復遅延時間を計算し、往復遅延時間の増加傾向の有無に応じて送信レートが可用帯域を上回っているか否かを判定するようにしたので、パケットロス率などのコンテンツ受信状態のフィードバックが受信端末から得られない場合でも、ネットワーク状態を知ることができる。   According to the present invention, the round-trip delay time required from when the probe packet is transmitted to when the response packet is received is calculated, and whether or not the transmission rate exceeds the available bandwidth depending on whether or not the round-trip delay time increases. Therefore, the network status can be known even when the feedback of the content reception status such as the packet loss rate cannot be obtained from the receiving terminal.

実施形態1の送信端末を示すブロック図である。3 is a block diagram illustrating a transmission terminal according to Embodiment 1. FIG. 図1の制御部の一例を示すブロック図である。It is a block diagram which shows an example of the control part of FIG. 図3[1]は送信レートが可用帯域を上回っている場合のパケットの挙動を表すタイミングチャートであり、図3[2]は送信レートが可用帯域以下である場合のパケットの挙動を表すタイミングチャートである。FIG. 3 [1] is a timing chart showing the behavior of the packet when the transmission rate exceeds the available bandwidth, and FIG. 3 [2] is a timing chart showing the behavior of the packet when the transmission rate is equal to or lower than the available bandwidth. It is. コンテンツレートと送信レートとの関係を示すグラフである。It is a graph which shows the relationship between a content rate and a transmission rate. 実施形態1の送信端末における全体の動作を示すフローチャートである。4 is a flowchart illustrating an overall operation in the transmission terminal according to the first exemplary embodiment. 実施形態1におけるコンテンツレート及び送信レートの決定方法を示すフローチャートである。4 is a flowchart illustrating a method for determining a content rate and a transmission rate in the first embodiment. 実施形態2におけるコンテンツレート及び送信レートの決定方法を示すフローチャートである。10 is a flowchart illustrating a method for determining a content rate and a transmission rate in the second embodiment. 実施形態3におけるコンテンツレート及び送信レートの決定方法を示すフローチャートである。10 is a flowchart illustrating a method for determining a content rate and a transmission rate in the third embodiment. 実施例1における送信時刻と送信パケット数との関係を示す図表であり、図9[1]は配信開始時であり、図9[2]は送信レート上昇時に1回に送信するパケット数を増やした場合であり、図9[3]はパケットの送信間隔を短くした場合である。FIG. 9 is a chart showing the relationship between the transmission time and the number of transmission packets in the first embodiment, FIG. 9 [1] is when distribution starts, and FIG. 9 [2] increases the number of packets transmitted at one time when the transmission rate increases. FIG. 9 [3] shows a case where the packet transmission interval is shortened. 実施例2における送信レートの変化を示す図表である。10 is a chart showing a change in transmission rate in the second embodiment. 図11[1]は実施例3における往復遅延時間と送信レートの増加率との関係を示す図表であり、図11[2]は実施例3における近似直線の傾きと送信レートの低下率との関係を示す図表である。FIG. 11 [1] is a chart showing the relationship between the round-trip delay time and the transmission rate increase rate in the third embodiment, and FIG. 11 [2] shows the slope of the approximate line and the transmission rate decrease rate in the third embodiment. It is a chart which shows a relationship.

次に、発明を実施するための形態について図面を参照して詳細に説明する。図1は、本発明の実施形態1の送信端末を示すブロック図である。図2は、図1の制御部の一例を示すブロック図である。以下、これらの図面に基づき説明する。   Next, embodiments for carrying out the invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a transmitting terminal according to the first embodiment of the present invention. FIG. 2 is a block diagram illustrating an example of the control unit in FIG. Hereinafter, description will be given based on these drawings.

本実施形態1における送信端末10、パケット送信部15及びプローブパケット受信部16は、それぞれ特許請求の範囲における「ストリーム配信装置」、「送信部」及び「受信部」に相当する。送信端末10は、ネットワーク21を介して受信端末20へストリームを送信するストリーム配信装置であり、プローブパケットを定期的に受信端末20へ送信するパケット送信部15と、プローブパケットを受信したことを示す応答パケットを受信端末20から受信するプローブパケット受信部16と、制御部17と、を備えたことを特徴とする。制御部17は、パケット送信部15がプローブパケットを送信してからプローブパケット受信部16が応答パケットを受信するまでに要した往復遅延時間を計算し、この往復遅延時間が増加傾向に有ればストリームの送信レートが可用帯域を上回っていると判定し、往復遅延時間が増加傾向に無ければ送信レートが前記可用帯域以下であると判定する。プローブパケットは、例えばエコー要求パケットである。   The transmission terminal 10, the packet transmission unit 15, and the probe packet reception unit 16 in the first exemplary embodiment correspond to “stream distribution device”, “transmission unit”, and “reception unit” in the claims, respectively. The transmission terminal 10 is a stream distribution device that transmits a stream to the reception terminal 20 via the network 21, and indicates that the packet transmission unit 15 that periodically transmits the probe packet to the reception terminal 20 and that the probe packet has been received. A probe packet receiving unit 16 that receives a response packet from the receiving terminal 20 and a control unit 17 are provided. The control unit 17 calculates the round-trip delay time required from when the packet transmission unit 15 transmits the probe packet to when the probe packet reception unit 16 receives the response packet. It is determined that the transmission rate of the stream exceeds the available bandwidth. If the round-trip delay time does not tend to increase, it is determined that the transmission rate is equal to or lower than the available bandwidth. The probe packet is, for example, an echo request packet.

送信端末10によれば、プローブパケットを送信してから応答パケットを受信するまでに要した往復遅延時間を定期的に計測し、往復遅延時間の増加傾向の有無に応じて送信レートが可用帯域を上回っているか否かを判定するようにしたので、パケットロス率などのコンテンツ受信状態のフィードバックが受信端末20から得られない場合でも、ネットワーク21の状態を知ることができる。   According to the transmission terminal 10, the round-trip delay time required from the transmission of the probe packet to the reception of the response packet is periodically measured, and the transmission rate is set according to whether the round-trip delay time increases or not. Since it is determined whether or not it exceeds the value, the state of the network 21 can be known even when feedback of the content reception state such as the packet loss rate cannot be obtained from the receiving terminal 20.

また、送信端末10は、次のように構成してもよい。   Moreover, you may comprise the transmission terminal 10 as follows.

制御部17は、送信レートが可用帯域を上回っていると判定した場合に送信レートを低下させ、送信レートが可用帯域以下であると判定した場合に送信レートを上昇させる。この場合は、ネットワーク帯域を可能な限り使用し、乱れや途切れのないストリーミングを実現することができる。   The control unit 17 decreases the transmission rate when it is determined that the transmission rate exceeds the available bandwidth, and increases the transmission rate when it is determined that the transmission rate is equal to or lower than the available bandwidth. In this case, the network bandwidth can be used as much as possible, and streaming without disturbance or interruption can be realized.

ここで、本明細書における送信レートの定義を、図4を参照して説明しておく。図4は、コンテンツレートと送信レートとの関係を示すグラフである。図4において、横軸は送信開始からの時間を表し、縦軸は累積送信データ量を表す。   Here, the definition of the transmission rate in this specification will be described with reference to FIG. FIG. 4 is a graph showing the relationship between the content rate and the transmission rate. In FIG. 4, the horizontal axis represents the time from the start of transmission, and the vertical axis represents the accumulated transmission data amount.

通常の送信方法では、図中の破線のように、累積送信データ量は経過時間に比例する。このとき、A[bps]のコンテンツを配信開始からt秒経過したときの累積送信データ量は、A×t[ビット]になる。一方で、送信レートをB[bps](B≧A)とした場合、送信開始からの(A/B)×t秒間でA×t[ビット]のコンテンツの送信を完了し、その後の(1−(A/B))×t秒間は送信しないという送り方も可能である(図中の実線)。本明細書では、このときのBを送信レートと定義する。   In a normal transmission method, the accumulated transmission data amount is proportional to the elapsed time, as indicated by a broken line in the figure. At this time, the accumulated transmission data amount when t seconds have elapsed from the start of distribution of the content of A [bps] is A × t [bits]. On the other hand, when the transmission rate is B [bps] (B ≧ A), the transmission of the content of A × t [bits] is completed in (A / B) × t seconds from the start of transmission, and then (1 -(A / B)) It is also possible to send in such a manner that transmission is not performed for t seconds (solid line in the figure). In this specification, B at this time is defined as a transmission rate.

また、制御部17は、次のように構成してもよい。送信レートが可用帯域を上回っていると判定した場合に、(1)ストリームの対象となるコンテンツのレートであるコンテンツレートよりも送信レートが高ければ、コンテンツレートまで前記送信レートを低下させ、(2)コンテンツレートと送信レートとが同一であれば、コンテンツレートを低下させるとともに低下後のコンテンツレートまで送信レートを低下させる。送信レートが可用帯域以下であると判定した場合に、(3)コンテンツレートよりも送信レートが高ければ、コンテンツレートを上昇させるとともに上昇後のコンテンツレートに送信レートを合わせ、(4)コンテンツレートと送信レートとが同一であれば、送信レートを上昇させる。   The control unit 17 may be configured as follows. When it is determined that the transmission rate exceeds the usable bandwidth, (1) if the transmission rate is higher than the content rate that is the content of the stream, the transmission rate is reduced to the content rate, and (2 If the content rate and the transmission rate are the same, the content rate is lowered and the transmission rate is lowered to the lowered content rate. When it is determined that the transmission rate is equal to or lower than the available bandwidth, (3) if the transmission rate is higher than the content rate, the content rate is increased and the transmission rate is adjusted to the increased content rate. If the transmission rate is the same, the transmission rate is increased.

本実施形態1のストリーム配信方法は、送信端末10の動作を方法の発明として捉えたものである。すなわち、本実施形態1のストリーム配信方法は、ネットワーク21を介して受信端末20へストリームを送信するストリーム配信方法において、プローブパケットを定期的に受信端末20へ送信するパケット送信部15と、プローブパケットを受信したことを示す応答パケットを受信端末20から受信するプローブパケット受信部16とを用意し、パケット送信部15がプローブパケットを送信してからプローブパケット受信部16が応答パケットを受信するまでに要した往復遅延時間を計算し、この往復遅延時間が増加傾向に有ればストリームの送信レートが可用帯域を上回っていると判定し、往復遅延時間が増加傾向に無ければ送信レートが可用帯域以下であると判定する、ことを特徴とする。   The stream distribution method according to the first embodiment captures the operation of the transmission terminal 10 as a method invention. That is, the stream delivery method of the first embodiment is a stream delivery method for sending a stream to the receiving terminal 20 via the network 21. The packet sending unit 15 that periodically sends a probe packet to the receiving terminal 20, and the probe packet And a probe packet receiving unit 16 that receives a response packet indicating that the packet has been received from the receiving terminal 20, and after the packet transmitting unit 15 transmits the probe packet until the probe packet receiving unit 16 receives the response packet. Calculate the required round-trip delay time. If this round-trip delay time is increasing, it is determined that the stream transmission rate exceeds the usable bandwidth. If the round-trip delay time is not increasing, the transmission rate is less than the usable bandwidth. It is judged that it is.

本実施形態1のストリーム配信プログラムは、制御部17としてコンピュータ30(図2)を機能させるためのものである。本実施形態1のストリーム配信プログラムは、ネットワーク21を介して受信端末20へストリームを送信する送信端末10に用いられる。送信端末10は、プローブパケットを定期的に受信端末20へ送信するパケット送信部15と、プローブパケットを受信したことを示す応答パケットを受信端末20から受信するプローブパケット受信部16と、コンピュータ30とを備える。このとき、本実施形態1のストリーム配信プログラムは、パケット送信部15が前記プローブパケットを送信してからプローブパケット受信部16が応答パケットを受信するまでに要した往復遅延時間を計算する手段、及び、この往復遅延時間が増加傾向に有ればストリームの送信レートが可用帯域を上回っていると判定し、往復遅延時間が増加傾向に無ければ送信レートが可用帯域以下であると判定する手段として(すなわち制御部17として)、コンピュータ30を機能させるためものである。   The stream distribution program according to the first embodiment is for causing the computer 30 (FIG. 2) to function as the control unit 17. The stream distribution program according to the first embodiment is used for the transmission terminal 10 that transmits a stream to the reception terminal 20 via the network 21. The transmission terminal 10 includes a packet transmission unit 15 that periodically transmits a probe packet to the reception terminal 20, a probe packet reception unit 16 that receives a response packet indicating that the probe packet has been received from the reception terminal 20, and a computer 30. Is provided. At this time, the stream distribution program according to the first embodiment includes means for calculating a round trip delay time required from when the packet transmission unit 15 transmits the probe packet to when the probe packet reception unit 16 receives the response packet, and As a means for determining that the transmission rate of the stream exceeds the usable bandwidth if the round-trip delay time is increasing, and determining that the transmission rate is equal to or less than the usable bandwidth if the round-trip delay time is not increasing ( That is, as the control unit 17), the computer 30 functions.

図2に示すように、コンピュータ30は、CPU31、ROM32、RAM33、バス34、入出力インタフェース35等を有し、パケット送信部15、プローブパケット受信部16等に接続される。CPU31は、ROM32又はRAM33に記憶された本実施形態1のストリーム配信プログラムを、読み込み、解釈し、実行する。なお、後述するコンテンツパケット生成部13などの機能も、コンピュータ30に実現するようなストリーム配信プログラムにしてもよい。   As shown in FIG. 2, the computer 30 includes a CPU 31, a ROM 32, a RAM 33, a bus 34, an input / output interface 35, and the like, and is connected to the packet transmission unit 15, the probe packet reception unit 16, and the like. The CPU 31 reads, interprets, and executes the stream distribution program of the first embodiment stored in the ROM 32 or the RAM 33. It should be noted that the functions such as the content packet generator 13 described later may also be a stream distribution program that is realized by the computer 30.

本実施形態1のストリーム配信方法及びプログラムは、送信端末10と同様の作用及び効果を奏するとともに、送信端末10の構成に準じて多様な構成を採り得る。   The stream distribution method and program according to the first embodiment exhibit the same operations and effects as the transmission terminal 10 and can adopt various configurations according to the configuration of the transmission terminal 10.

以下、送信端末10について、更に詳しく説明する。   Hereinafter, the transmission terminal 10 will be described in more detail.

図1を参照すると、本実施形態1のストリーム配信システムは、コンテンツを配信する送信端末10と、コンテンツを受信して再生する受信端末20とから構成される。送信端末10と受信端末20とは、ネットワーク21を介して接続されている。受信端末20は複数存在してもよい。本実施形態1の送信端末10には、前述したパケット送信部15、プローブパケット受信部16及び制御部17の他に、コンテンツ記憶部12、コンテンツパケット生成部13等を備える。制御部17は、配信制御部11及びプローブパケット生成部14を有する。   Referring to FIG. 1, the stream distribution system according to the first exemplary embodiment includes a transmission terminal 10 that distributes content and a reception terminal 20 that receives and reproduces the content. The transmission terminal 10 and the reception terminal 20 are connected via a network 21. There may be a plurality of receiving terminals 20. The transmission terminal 10 according to the first embodiment includes a content storage unit 12, a content packet generation unit 13, and the like in addition to the packet transmission unit 15, the probe packet reception unit 16, and the control unit 17 described above. The control unit 17 includes a distribution control unit 11 and a probe packet generation unit 14.

送信端末10は、配信制御部11、コンテンツ記憶部12、コンテンツパケット生成部13、プローブパケット生成部14、パケット送信部15、プローブパケット受信部16等からなる。配信制御部11は、プローブパケット受信部16から各プローブパケットに対する応答パケットの受信時刻を受け取り、配信するコンテンツレート及び送信レートを決定してコンテンツパケット生成部13及びプローブパケット生成部14へコンテンツパケット及びプローブパケットの生成を指示する。コンテンツ記憶部12は、複数のビットレートで配信可能な形態で、コンテンツを記憶している。コンテンツパケット生成部13は、コンテンツ記憶部12からコンテンツデータを取り出してコンテンツパケットを生成し、生成したコンテンツパケットをパケット送信部15へ転送する。プローブパケット生成部14は、プローブパケットであるエコー要求パケットを生成し、これをパケット送信部15へ転送する。パケット送信部15は、コンテンツパケット生成部13及びプローブパケット生成部14で生成した各パケットをネットワーク21へ送出する、プローブパケット受信部16は、送信したプローブパケットに対する応答パケットを受信し、受信時刻を配信制御部11へ通知する   The transmission terminal 10 includes a distribution control unit 11, a content storage unit 12, a content packet generation unit 13, a probe packet generation unit 14, a packet transmission unit 15, a probe packet reception unit 16, and the like. The distribution control unit 11 receives the reception time of the response packet for each probe packet from the probe packet receiving unit 16, determines the content rate and the transmission rate to be distributed, and sends the content packet and the content packet generation unit 13 and the probe packet generation unit 14 Instructs generation of a probe packet. The content storage unit 12 stores content in a form that can be distributed at a plurality of bit rates. The content packet generation unit 13 extracts content data from the content storage unit 12 to generate a content packet, and transfers the generated content packet to the packet transmission unit 15. The probe packet generation unit 14 generates an echo request packet that is a probe packet, and transfers this to the packet transmission unit 15. The packet transmission unit 15 transmits each packet generated by the content packet generation unit 13 and the probe packet generation unit 14 to the network 21. The probe packet reception unit 16 receives a response packet to the transmitted probe packet and sets the reception time. Notify the delivery control unit 11

ここで、本実施形態1のストリーム配信システムの動作原理を説明する。   Here, the operation principle of the stream distribution system of the first embodiment will be described.

IPネットワークには、次の性質がある。送信端末10からの送信レートが送信端末10と受信端末20との間の可用帯域を上回っていると、後に送信するパケットほど遅延時間が増加する。逆に、送信レートが可用帯域以下であるならば、後に送信するパケットでも遅延時間は増加しない。   An IP network has the following properties. If the transmission rate from the transmission terminal 10 exceeds the usable bandwidth between the transmission terminal 10 and the reception terminal 20, the delay time increases as the packet is transmitted later. Conversely, if the transmission rate is less than or equal to the available bandwidth, the delay time does not increase even for packets transmitted later.

図3[1]は送信レートが可用帯域を上回っている場合のパケットの挙動を表すタイミングチャートであり、図3[2]は送信レートが可用帯域以下である場合のパケットの挙動を表すタイミングチャートである。言い換えると、図3[1]は可用帯域よりも高いビットレートでパケットを送信したときのパケットの遅延を示し、図3[2]は可用帯域以下のビットレートでパケットを送信したときのパケットの遅延を示す。以下、これらの図面に基づき説明する。   FIG. 3 [1] is a timing chart showing the behavior of the packet when the transmission rate exceeds the available bandwidth, and FIG. 3 [2] is a timing chart showing the behavior of the packet when the transmission rate is equal to or lower than the available bandwidth. It is. In other words, FIG. 3 [1] shows a packet delay when a packet is transmitted at a bit rate higher than the available bandwidth, and FIG. 3 [2] shows a packet delay when the packet is transmitted at a bit rate lower than the available bandwidth. Indicates delay. Hereinafter, description will be given based on these drawings.

図3において、縦方向が時間経過を表し、矢印はパケットを表し、矢印の密度が高いほどレートが高いことを意味する。可用帯域を上回るレートで送信したパケットは、可用帯域最小のリンク直前のルータに到着後、送信可能になるまでこのルータのキューに保存され、送信可能になると出力される。   In FIG. 3, the vertical direction represents the passage of time, the arrows represent packets, and the higher the density of the arrows, the higher the rate. Packets transmitted at a rate exceeding the available bandwidth are stored in the router queue until they can be transmitted after arrival at the router immediately before the link with the smallest available bandwidth, and are output when transmission is possible.

図3[1]に示すように、送信レートが可用帯域を上回っていると、後方のパケットになるほど、キューに保存される時間が増加するため、遅延時間(送信端末10で送信してから受信端末20に到着するまでの時間)が大きくなる。   As shown in FIG. 3 [1], if the transmission rate exceeds the available bandwidth, the time stored in the queue increases as the packet becomes backward, so the delay time (received after being transmitted by the transmitting terminal 10) Time until it arrives at the terminal 20) increases.

一方、図3[2]に示すように、送信レートが可用帯域以下である場合、送信端末10から送信したパケットは、可用帯域最小リンク直前のルータのキューに保存されることなく、即座に送信される。そのため、送信順によらず、各パケットの遅延時間は一定になる。   On the other hand, as shown in FIG. 3 [2], when the transmission rate is equal to or lower than the usable bandwidth, the packet transmitted from the transmitting terminal 10 is transmitted immediately without being stored in the queue of the router immediately before the minimum usable bandwidth link. Is done. Therefore, the delay time of each packet is constant regardless of the transmission order.

すなわち、あるレートで送信したときの遅延時間に、増加傾向があれば送信レートが可用帯域を超えており、増加傾向がなければ送信レートが可用帯域以下である、と判定できる。この原理はIPネットワークだけでなく、パケット交換ネットワーク全般で利用できるため、本発明の対象はIPネットワークに限らない。本実施形態1の送信端末10は、受信端末20へ送信したプローブパケットの往復遅延時間に増加傾向があるか否かによって、送信レートと可用帯域との大小関係を判定し、その判定結果に基づいてコンテンツレート及び送信レートを制御する。   That is, if the delay time when transmitting at a certain rate has an increasing tendency, the transmission rate exceeds the available bandwidth, and if there is no increasing tendency, it can be determined that the transmission rate is equal to or lower than the available bandwidth. Since this principle can be used not only in IP networks but also in packet switched networks in general, the subject of the present invention is not limited to IP networks. The transmission terminal 10 according to the first embodiment determines the magnitude relationship between the transmission rate and the available bandwidth depending on whether or not the round-trip delay time of the probe packet transmitted to the reception terminal 20 tends to increase, and based on the determination result To control the content rate and transmission rate.

送信レートをコンテンツレートと異なる値にすることで、現在配信しているコンテンツレートよりも高いレートと可用帯域との大小を比較できるため、コンテンツレートを上昇させられるか否かの判定が可能になる。   By setting the transmission rate to a value different from the content rate, it is possible to compare the rate between the rate higher than the currently distributed content rate and the available bandwidth, so it is possible to determine whether the content rate can be increased. .

次に、図5のフローチャートを参照して、本実施形態1の送信端末10における全体の動作について詳細に説明する。以下、図1及び図5に基づき説明する。   Next, the overall operation of the transmission terminal 10 according to the first embodiment will be described in detail with reference to the flowchart of FIG. Hereinafter, a description will be given based on FIGS. 1 and 5.

配信開始時、配信制御部11は、初期コンテンツレート及び送信レート並びにプローブパケットの送信間隔をそれぞれ決定し(ステップS11)、コンテンツパケットの生成をコンテンツパケット生成部13へ、プローブパケットの生成をプローブパケット生成部14へそれぞれ指示する。初期コンテンツレート及び送信レートは、あらかじめ設定しておいた値にする方法、過去の情報をもとに決定する方法、配信可能な最低のビットレートのコンテンツを配信する方法など、いかなる方法で決定してもよい。   At the start of distribution, the distribution control unit 11 determines an initial content rate, a transmission rate, and a probe packet transmission interval (step S11), generates a content packet to the content packet generation unit 13, and generates a probe packet. Each is instructed to the generation unit 14. The initial content rate and transmission rate can be determined by any method, such as a method that uses preset values, a method that determines based on past information, or a method that distributes content with the lowest bit rate that can be distributed. May be.

続いて、コンテンツパケット生成部13は、配信制御部11から指示されたレートのコンテンツデータをコンテンツ記憶部12から取り出してコンテンツパケットを生成し、そのコンテンツパケットを指定された送信レートでパケット送信部15へ転送する(ステップS12)。同時に、プローブパケット生成部14は、配信制御部11から指示された間隔でプローブパケットを生成し、これをパケット送信部15へ転送する(ステップS12)。   Subsequently, the content packet generation unit 13 extracts content data at a rate instructed from the distribution control unit 11 from the content storage unit 12, generates a content packet, and transmits the content packet at the designated transmission rate to the packet transmission unit 15 (Step S12). At the same time, the probe packet generator 14 generates probe packets at intervals instructed by the distribution controller 11 and transfers them to the packet transmitter 15 (step S12).

続いて、パケット送信部15は、コンテンツパケット生成部13で生成したコンテンツパケットと、プローブパケット生成部14で生成したプローブパケットとを、ネットワーク21へ送出する(ステップS13)。   Subsequently, the packet transmitting unit 15 sends the content packet generated by the content packet generating unit 13 and the probe packet generated by the probe packet generating unit 14 to the network 21 (step S13).

最後に、配信制御部11は、コンテンツレートと送信レートを決定する(ステップS14)。その後、送信端末10の動作はステップS12へ戻る。   Finally, the distribution control unit 11 determines a content rate and a transmission rate (step S14). Thereafter, the operation of the transmission terminal 10 returns to step S12.

ここで、ステップ14におけるコンテンツレート及び送信レートの決定方法を、図6のフローチャートを参照して、詳細に説明する。以下、図1及び図6に基づき説明する。   Here, the content rate and transmission rate determination method in step 14 will be described in detail with reference to the flowchart of FIG. Hereinafter, a description will be given based on FIGS. 1 and 6.

配信制御部11は、プローブパケット受信部16から各プローブパケットの受信時刻を受け取り(ステップS1401)、配信制御部11が記憶している送信時刻に基づき往復遅延時間を計算する(ステップS1402)。この送信時刻は、例えば、パケット送信部15がプローブパケットをネットワーク21へ送出した時刻、すなわち配信制御部11がプローブパケット生成部14へプローブパケットの生成を指示した送信時刻である。したがって、往復遅延時間は、(往復遅延時間)=(受信時刻)−(送信時刻)の式で得られる。   The distribution control unit 11 receives the reception time of each probe packet from the probe packet reception unit 16 (step S1401), and calculates a round trip delay time based on the transmission time stored in the distribution control unit 11 (step S1402). This transmission time is, for example, the time when the packet transmission unit 15 sends the probe packet to the network 21, that is, the transmission time when the distribution control unit 11 instructs the probe packet generation unit 14 to generate the probe packet. Therefore, the round-trip delay time is obtained by the equation (round-trip delay time) = (reception time) − (transmission time).

続いて、配信制御部11は、規定数のプローブパケットを受信したら、往復遅延時間の増加傾向の有無を判定する(ステップS1403)。往復遅延時間の増加傾向の有無を判定する方法の一例として、横軸をプローブパケットの送信時刻とし、縦軸を往復遅延時間としたグラフにおいて、各送信時刻における往復遅延時間をプロットし、これらの点の近似直線を最小二乗法で求め、その傾きが規定値以上ならば増加傾向あり、規定値未満ならば増加傾向なし、と判定する方法がある。また、可用帯域推定法であるPathload(非特許文献1参照)の判定方法を使用してもよい。Pathloadでは、既定数のプローブパケットの遅延時間から、PCT(Pairwise Comparison Test)とPDT(Pairwise Difference Test)という値を計算し、これらの値をもとに増加傾向の有無を判定している。また、受信端末20へエコー要求を送信してから規定時間が経ってもエコー応答が返ってこない場合にパケットロスと判定し、プローブパケットのパケットロス率が規定値以上ならば、送信レートが可用帯域を上回っていると判定してもよい。   Subsequently, when receiving the prescribed number of probe packets, the distribution control unit 11 determines whether or not there is an increasing tendency of the round-trip delay time (step S1403). As an example of a method for determining the presence or absence of an increase tendency of the round-trip delay time, plotting the round-trip delay time at each transmission time in a graph in which the horizontal axis is the probe packet transmission time and the vertical axis is the round-trip delay time, There is a method in which an approximate straight line of points is obtained by the least square method, and it is determined that there is an increasing tendency if the slope is not less than a specified value, and there is no increasing tendency if it is less than the specified value. Alternatively, a determination method of Pathload (see Non-Patent Document 1) that is an available bandwidth estimation method may be used. In Pathload, values of PCT (Pairwise Comparison Test) and PDT (Pairwise Difference Test) are calculated from the delay time of a predetermined number of probe packets, and the presence or absence of an increasing tendency is determined based on these values. Further, if an echo response is not returned even after a specified time has elapsed since the echo request was transmitted to the receiving terminal 20, it is determined that the packet is lost, and if the packet loss rate of the probe packet is equal to or greater than the specified value, the transmission rate is available. It may be determined that the bandwidth is exceeded.

これ以降の処理は、送信レートとコンテンツレートとが同一か否か(ステップS1404)と、往復遅延時間に増加傾向があるか否か(ステップS1405,S1406)との、次の四通りの組み合わせによって異なる。   The subsequent processing is based on the following four combinations of whether or not the transmission rate and the content rate are the same (step S1404) and whether or not the round-trip delay time tends to increase (steps S1405 and S1406). Different.

(1).送信レートとコンテンツレートとが同一であり、往復遅延時間に増加傾向がない場合(ステップS1404がYes、ステップS1405がNo)。この場合は、コンテンツレートの上昇可否を判定するため、コンテンツレートは変更せずに送信レートを現在のコンテンツレートよりも1段階上のコンテンツレートと同一にする(ステップS1407)。   (1). When the transmission rate and the content rate are the same and the round-trip delay time does not tend to increase (Yes in step S1404, No in step S1405). In this case, in order to determine whether or not the content rate can be increased, the content rate is not changed and the transmission rate is made the same as the content rate one level higher than the current content rate (step S1407).

(2).送信レートとコンテンツレートとが同一であり、往復遅延時間に増加傾向がある場合(ステップS1404がYes、ステップS1405がYes)。この場合は、現在のコンテンツレートが可用帯域を上回っていると判定して、コンテンツレートを1段階下げ、送信レートを低下後のコンテンツレートと同一にする(ステップS1408)。   (2). When the transmission rate and the content rate are the same and the round-trip delay time tends to increase (Yes in step S1404, Yes in step S1405). In this case, it is determined that the current content rate exceeds the available bandwidth, the content rate is lowered by one level, and the transmission rate is made the same as the content rate after the reduction (step S1408).

(3).送信レートとコンテンツレートとが異なり(すなわち送信レートを1段階上のコンテンツレートとしている)、往復遅延時間に増加傾向がある場合(ステップS1404がNo、ステップS1406がYes)。この場合は、1段階上のコンテンツレートでは配信不可と判定して、送信レートを現在配信中のコンテンツレートと同一する(ステップS1409)。   (3). When the transmission rate is different from the content rate (that is, the transmission rate is a content rate one level higher) and the round-trip delay time tends to increase (No in step S1404, Yes in step S1406). In this case, it is determined that distribution is impossible at the content rate one level above, and the transmission rate is the same as the content rate currently being distributed (step S1409).

(4).送信レートとコンテンツレートとが異なり(すなわち送信レートを1段階上のコンテンツレートとしている)、往復遅延時間に増加傾向がない場合(ステップS1404がNo、ステップS1406がNo)。この場合は、1段階上のコンテンツレートで配信可能と判定して、コンテンツレートを1段階上昇させる(ステップS1410)。図6では、送信レートとコンテンツレートとが同一か否か(ステップS1404)の判定を先に、往復遅延時間に増加傾向があるか否か(ステップS1405,S1406)の判定を後にしているが、前述の四通りの組み合わせが得られればよいので、これらの順従は逆でもよい。   (4). When the transmission rate is different from the content rate (that is, the transmission rate is a content rate one level higher), and the round-trip delay time does not tend to increase (No in step S1404, No in step S1406). In this case, it is determined that distribution is possible at a content rate one level higher, and the content rate is increased by one level (step S1410). In FIG. 6, the determination of whether or not the transmission rate and the content rate are the same (step S1404) is made first, and the determination of whether or not the round-trip delay time tends to increase (steps S1405 and S1406) is made later. As long as the above-mentioned four combinations are obtained, the compliance may be reversed.

ステップS1407とステップS1410とにおいて、往復遅延時間に増加傾向がない場合にすぐに上昇させるのではなく、何回か連続して増加傾向がない場合に上昇させるようにしてもよい。また、ステップS1407において、送信レートを1段階上のコンテンツレートよりも高くして、1段階上のコンテンツレートよりも高いレートと可用帯域を比較してもよい。   In steps S1407 and S1410, instead of increasing immediately when the round-trip delay time does not tend to increase, it may be increased when there is no continuous increase several times. In step S1407, the transmission rate may be set higher than the one-stage content rate, and the rate higher than the one-stage content rate may be compared with the available bandwidth.

これらの処理を行うことで、可用帯域に余裕がある場合にのみコンテンツレートを上昇させることができ、コンテンツレート上昇後に可用帯域不足による受信端末での再生の停止や乱れを防止できる。   By performing these processes, it is possible to increase the content rate only when there is a surplus in the available bandwidth, and it is possible to prevent the playback terminal from being stopped or disturbed due to insufficient available bandwidth after the content rate is increased.

次に、本実施形態1の効果を説明する。本実施形態1によれば、受信端末がコンテンツ受信機能の他にエコー要求に対して応答する機能を備えていれば、受信端末がコンテンツ受信状態のフィードバック機能を持たなくても、ネットワーク帯域を可能な限り使用し、乱れや途切れのないストリーミングを実現できる。インターネットで使用されているIP(Internet Protocol)をサポートするほぼすべての受信端末はICMP(Internet Control Message Protocol) Echo機能を実装しているため、インターネットでのストリーム配信では、ほとんどすべての場合に本発明を利用できる。   Next, the effect of the first embodiment will be described. According to the first embodiment, if the receiving terminal has a function of responding to an echo request in addition to the content receiving function, the network band can be provided even if the receiving terminal does not have a feedback function of the content receiving state. It can be used as much as possible to achieve streaming without disruption or interruption. Since almost all receiving terminals that support the Internet Protocol (IP) used in the Internet are equipped with an ICMP (Internet Control Message Protocol) Echo function, the present invention is applied to almost all cases in stream distribution over the Internet. Can be used.

図7は、実施形態2におけるコンテンツレート及び送信レートの決定方法を示すフローチャートである。本実施形態2は、配信制御部11におけるコンテンツレート及び送信レートの決定方法(図5のステップS14)が実施形態1と異なる。以下、本実施形態2における図5のステップS14の詳細な動作を、図1及び図7を参照して詳細に説明する。   FIG. 7 is a flowchart illustrating a method for determining a content rate and a transmission rate according to the second embodiment. The second embodiment is different from the first embodiment in the content rate and transmission rate determination method (step S14 in FIG. 5) in the distribution control unit 11. Hereinafter, the detailed operation of step S14 in FIG. 5 according to the second embodiment will be described in detail with reference to FIGS.

図5のステップS1401からステップS1403までの動作は、実施形態1と同一である。これ以降の処理は、往復遅延時間の増加傾向の有無によって異なる(ステップS1411)。   The operations from step S1401 to step S1403 in FIG. 5 are the same as those in the first embodiment. The subsequent processing differs depending on whether or not the round-trip delay time tends to increase (step S1411).

往復遅延時間に増加傾向がある場合(ステップS1411がYes)には、送信レートとコンテンツレートとが同一か否かを判定する(ステップS1412)。送信レートがコンテンツレートと異なる(ステップS1412がNo)場合(すなわち送信レートがコンテンツレートよりも大きい場合)には、現在の送信レートが可用帯域を超えていると判定して送信レートをコンテンツレートと同一に変更する(ステップS1414)。送信レートとコンテンツレートとが等しい(ステップS1412がYes)場合には、現在のコンテンツレートは可用帯域を上回っていると判定して、コンテンツレートを1段階低下させ、送信レートを低下後のコンテンツレートと同一にする(ステップS1415)。   If the round-trip delay time tends to increase (step S1411 is Yes), it is determined whether the transmission rate and the content rate are the same (step S1412). When the transmission rate is different from the content rate (No in step S1412) (that is, when the transmission rate is larger than the content rate), it is determined that the current transmission rate exceeds the available bandwidth and the transmission rate is set as the content rate. The same change is made (step S1414). If the transmission rate is equal to the content rate (Yes in step S1412), it is determined that the current content rate exceeds the usable bandwidth, the content rate is decreased by one step, and the content rate after the transmission rate is decreased (Step S1415).

一方、往復遅延時間に増加傾向がない(ステップS1411がNo)場合には、送信レートを上昇させる(ステップS1413)。ステップS1413における送信レートの上昇量は、例えば10%上昇させるなどあらかじめ決めておく。送信レートの上昇量は、現在の送信レートからの一定割合とする以外に、500kbpsなどの絶対量にしてもよい。また、送信レートが1Mbps以上ならば500kbps、1Mbps未満ならば100kbpsなどと、送信レートに応じて変動させてもよい。   On the other hand, if the round-trip delay time does not tend to increase (No in step S1411), the transmission rate is increased (step S1413). The amount of increase in the transmission rate in step S1413 is determined in advance, for example, by 10%. The amount of increase in the transmission rate may be an absolute amount such as 500 kbps, in addition to the constant rate from the current transmission rate. Further, if the transmission rate is 1 Mbps or more, it may be changed according to the transmission rate, such as 500 kbps if it is less than 1 Mbps, or 100 kbps.

続いて、上昇後の送信レートと1段階上のコンテンツレートとを比較し(ステップS1416)、送信レートが1段階上のコンテンツレートを上回っていたら、1段階上のコンテンツレートで配信可能と判断して、コンテンツレートを1段階上昇させる(ステップS1417)。このとき、送信レートが1段階上のコンテンツレートを上回ったらすぐにコンテンツレートを上昇させるのではなく、送信レートが1段階上のコンテンツレートを一定割合(例えば10%)上回ったらコンテンツレートを上昇させるとしてもよい。   Subsequently, the increased transmission rate is compared with the one-stage content rate (step S1416), and if the transmission rate exceeds the one-stage content rate, it is determined that distribution is possible with the one-stage content rate. Thus, the content rate is increased by one level (step S1417). At this time, the content rate is not increased as soon as the transmission rate exceeds the one-stage content rate, but the content rate is increased when the transmission rate exceeds the one-stage content rate by a certain percentage (for example, 10%). It is good.

これらの処理を行うことで、実施形態1と同様に可用帯域に余裕がある場合にのみコンテンツレートを上昇させることができ、コンテンツレート上昇後に可用帯域不足による受信端末での再生の停止や乱れを防止できる。   By performing these processes, it is possible to increase the content rate only when there is a margin in the available bandwidth as in the first embodiment. After the content rate is increased, the playback terminal is stopped or disturbed due to insufficient available bandwidth. Can be prevented.

次に、本実施形態2の効果を説明する。本実施形態2では、送信レートを徐々に上昇させていくため、パケットロスが発生しにくくなる。送信レートが可用帯域を大幅に超えると、ネットワーク機器のキューを溢れさせてコンテンツパケットのロスとなるので、受信端末20での再生に途切れや乱れが生じる可能性がある。そこで、送信レートを徐々に増加させることにより、送信レートが可用帯域を大幅に超える可能性が低くなるので、パケットロスが発生しにくくなる。   Next, the effect of the second embodiment will be described. In the second embodiment, since the transmission rate is gradually increased, packet loss hardly occurs. If the transmission rate greatly exceeds the available bandwidth, the queue of the network device overflows and a content packet is lost, and there is a possibility that playback at the receiving terminal 20 is interrupted or disrupted. Therefore, by gradually increasing the transmission rate, the possibility that the transmission rate will greatly exceed the available bandwidth is reduced, so that packet loss is less likely to occur.

本実施形態2のその他の構成、作用及び効果は、実施形態1と同様である。   Other configurations, operations, and effects of the second embodiment are the same as those of the first embodiment.

図8は、実施形態3におけるコンテンツレート及び送信レートの決定方法を示すフローチャートである。本実施形態3も、配信制御部11におけるコンテンツレート及び送信レートの決定方法(図5のステップS14)が実施形態1、2と異なる。以下、本実施形態3における図5のステップS14の詳細な動作を、図1及び図8を参照して詳細に説明する。   FIG. 8 is a flowchart illustrating a method for determining a content rate and a transmission rate according to the third embodiment. The third embodiment is also different from the first and second embodiments in the content rate and transmission rate determination method (step S14 in FIG. 5) in the distribution control unit 11. Hereinafter, the detailed operation of step S14 in FIG. 5 according to the third embodiment will be described in detail with reference to FIGS.

ステップS1401からステップS1411までの動作は、実施形態2と同一である。本実施形態3では、往復遅延時間に増加傾向がないと判定した(ステップS1411がNo)場合、往復遅延時間の挙動から送信レートの上昇量を決定する(ステップS1423)。   The operations from step S1401 to step S1411 are the same as those in the second embodiment. In the third embodiment, when it is determined that the round-trip delay time does not tend to increase (No in step S1411), the amount of increase in the transmission rate is determined from the behavior of the round-trip delay time (step S1423).

送信レートが可用帯域以下の場合でも、送信レートが可用帯域よりも大幅に小さいときと、送信レートが可用帯域に近いときとでは、往復遅延時間のばらつき傾向が異なる。例えば、送信レートが可用帯域よりも大幅に小さいときには往復遅延時間の分散が小さくなり、送信レートが可用帯域に近いといには往復遅延時間の分散が大きくなる。本実施形態3では、プローブパケットの往復遅延時間の分散が小さい場合には送信レートの上昇量を大きくし、その分散が大きい場合には送信レートの上昇量を小さくする。   Even when the transmission rate is equal to or lower than the available bandwidth, the round-trip delay time varies differently when the transmission rate is significantly smaller than the available bandwidth and when the transmission rate is close to the available bandwidth. For example, when the transmission rate is significantly smaller than the usable bandwidth, the variance of the round trip delay time is small, and when the transmission rate is close to the usable bandwidth, the variance of the round trip delay time is large. In the third embodiment, the increase in the transmission rate is increased when the variance of the round trip delay time of the probe packet is small, and the increase in the transmission rate is decreased when the variance is large.

また、往復遅延時間に増加傾向がある(ステップS1411がYes)場合には、増加傾向から送信レートの低下量を決定する(ステップS1422)。   If the round-trip delay time has an increasing tendency (Yes in step S1411), the amount of decrease in the transmission rate is determined from the increasing tendency (step S1422).

送信レートが可用帯域を大幅に上回っている場合には、実施形態1で述べた近似直線の傾きが大きくなり、プローブパケットのロスも発生しやすくなる。一方、送信レートが可用帯域を超える量が少なければ、近似直線の傾きが小さくなり、プローブパケットのロスも発生しにくくなる。本実施形態3では、プローブパケットの往復遅延時間を直線に近似した場合の傾きの大きさや、プローブパケットのロス率に応じて、送信レートの低下量を決定する。   When the transmission rate is significantly higher than the usable bandwidth, the slope of the approximate line described in the first embodiment is increased, and probe packet loss is likely to occur. On the other hand, if the amount that the transmission rate exceeds the available bandwidth is small, the slope of the approximate line becomes small and probe packet loss is less likely to occur. In the third embodiment, the amount of decrease in the transmission rate is determined in accordance with the magnitude of the gradient when the round trip delay time of the probe packet is approximated to a straight line and the loss rate of the probe packet.

最後に、ステップS1422及びステップS1423で決定した送信レートをもとに、ステップS1424でコンテンツレートを決定する。コンテンツレートは、配信可能なコンテンツレートの中で、送信レート以下かつ最大のものを選択することで、決定できる。   Finally, based on the transmission rate determined in step S1422 and step S1423, the content rate is determined in step S1424. The content rate can be determined by selecting a content rate that is equal to or lower than the transmission rate from among the distributable content rates.

換言すると、本実施形態3における制御部17は、送信レートを上昇させる際に、往復遅延時間のばらつき具合の大小に応じて送信レートの上昇率を変化させ、送信レートを低下させる際に、送信レートが可用帯域を上回っている量に応じて送信レートの低下率を変化させる。   In other words, when increasing the transmission rate, the control unit 17 in Embodiment 3 changes the increase rate of the transmission rate according to the degree of variation in the round-trip delay time, and transmits the transmission rate when decreasing the transmission rate. The rate of decrease in transmission rate is changed according to the amount by which the rate exceeds the available bandwidth.

次に、本実施形態3の効果を説明する。本実施形態3では、送信レートと可用帯域との大小関係だけでなく、送信レートと可用帯域とにどれだけ差があるかという情報をもとに送信レートの変動量を決定するため、可用帯域変動への追従性が向上する。   Next, the effect of the third embodiment will be described. In the third embodiment, not only the magnitude relationship between the transmission rate and the available bandwidth, but also the amount of change in the transmission rate is determined based on information on how much the transmission rate is different from the available bandwidth. The ability to follow fluctuations is improved.

本実施形態3のその他の構成、作用及び効果は、実施形態1、2と同様である。   Other configurations, operations, and effects of the third embodiment are the same as those of the first and second embodiments.

次に、実施形態1〜3をそれぞれ更に具体化した実施例1〜3について説明する。図9は、実施例1における送信時刻と送信パケット数との関係を示す図表であり、図9[1]は配信開始時であり、図9[2]は1回に送信するパケット数を増やした場合であり、図9[3]はパケットの送信間隔を短くした場合である。以下、図1及び図9に基づき説明する。   Next, Examples 1 to 3 that further embody the first to third embodiments will be described. FIG. 9 is a chart showing the relationship between the transmission time and the number of transmitted packets in the first embodiment, FIG. 9 [1] is a distribution start time, and FIG. 9 [2] is an increase in the number of packets transmitted at one time. FIG. 9 [3] shows a case where the packet transmission interval is shortened. Hereinafter, a description will be given based on FIGS. 1 and 9.

実施例1は、実施形態1を更に具体化した一例である。本実施例1において、送信端末10と受信端末20とは、ネットワーク21としてのインターネットを経由して接続されている。送信端末10から受信端末20へのコンテンツ配信はRTP(Realtime Transport Protocol)によって行われ、トランスポートプロトコルにはUDP(User Datagram Protocol)を使用する。また、プローブパケットにはICMP Echoを使用する。送信端末10から受信端末20へはICMP Echo Requestを送信し、受信端末20はICMP Echoを受信すると送信端末10へはICMP Echo Replyを返答する。ICMP Echo機能は、IPをサポートするほとんどすべての端末に実装されているため、本発明はほとんどすべての受信端末で使用できる。ICMP Echo以外にも、UDP Echoなどを使用してもよい。   Example 1 is an example in which Embodiment 1 is further embodied. In the first embodiment, the transmission terminal 10 and the reception terminal 20 are connected via the Internet as the network 21. Content distribution from the transmission terminal 10 to the reception terminal 20 is performed by RTP (Realtime Transport Protocol), and UDP (User Datagram Protocol) is used as a transport protocol. ICMP Echo is used for the probe packet. An ICMP Echo Request is transmitted from the transmitting terminal 10 to the receiving terminal 20, and when the receiving terminal 20 receives the ICMP Echo, it returns an ICMP Echo Reply to the transmitting terminal 10. Since the ICMP Echo function is implemented in almost all terminals that support IP, the present invention can be used in almost all receiving terminals. In addition to ICMP Echo, UDP Echo may be used.

送信端末10はサーバ装置である。配信制御部11、コンテンツパケット生成部13及びプローブパケット生成部14は、サーバ装置のCPU31(図2)で実行するプログラムによって実現されている。コンテンツ記憶部12は、サーバ装置に内蔵される磁気ディスク装置であり、各映像コンテンツを複数のビットレートでエンコードして記憶しておく。コンテンツは、映像以外に音声などでもよい。本実施例1では、各映像コンテンツを2Mbps、4Mbps、6Mbpsでエンコードしたものを記憶しているとする。パケット送信部15及びプローブパケット受信部16は、サーバ装置のネットワーク・インタフェース・カードである。受信端末20は、IPTV用のセット・トップ・ボックス、携帯電話端末、PDA(Personal Digital Assistant)、PC(Personal Computer)などの、映像や音声などのメディアを受信して再生する端末であり、ICMP Echo機能を実装している。   The transmission terminal 10 is a server device. The distribution control unit 11, the content packet generation unit 13, and the probe packet generation unit 14 are realized by a program executed by the CPU 31 (FIG. 2) of the server device. The content storage unit 12 is a magnetic disk device built in the server device, and stores each video content encoded at a plurality of bit rates. The content may be audio other than video. In the first embodiment, it is assumed that video contents encoded at 2 Mbps, 4 Mbps, and 6 Mbps are stored. The packet transmission unit 15 and the probe packet reception unit 16 are network interface cards of the server device. The receiving terminal 20 is a terminal that receives and reproduces media such as video and audio, such as a set top box for IPTV, a mobile phone terminal, a PDA (Personal Digital Assistant), and a PC (Personal Computer). Echo function is implemented.

配信開始時、送信端末10は、初期のコンテンツレート及び配信レートを決定する。ここでは、コンテンツ記憶部12で記憶しているものうち、最低品質のものを選択するとし、コンテンツレート及び送信レートともに2Mbpsとする。1RTPパケットあたりのデータサイズを1000バイトとしたとき、1秒間に送信するRTPパケット数は、250個(=2000000[bps]/8[b/B]/1000[B/パケット])となる。パケットの送信間隔を10ミリ秒とすると、1回に送信するRTPパケット数は2.5個(2個と3個を交互に送信)となる(図9[1])。   At the start of distribution, the transmission terminal 10 determines an initial content rate and distribution rate. Here, it is assumed that the lowest quality of the contents stored in the content storage unit 12 is selected, and both the content rate and the transmission rate are 2 Mbps. When the data size per RTP packet is 1000 bytes, the number of RTP packets transmitted per second is 250 (= 2000000 [bps] / 8 [b / B] / 1000 [B / packet]). When the packet transmission interval is 10 milliseconds, the number of RTP packets transmitted at one time is 2.5 (2 and 3 are alternately transmitted) (FIG. 9 [1]).

このとき、コンテンツパケットの直前・直後・中間にICMP Echo Requestを送信する。
ICMP Echo Requestは、なるべくネットワーク21の負荷にならないように、可能な限り小さいサイズにすることが望ましい。また、ICMP EchoヘッダのIDフィールド及びシーケンス番号フィールドを送信パケット毎に変更することにより、受信端末20からのエコー応答受信時には、どのエコー要求に対する応答パケットであるかを識別可能にする。
At this time, an ICMP Echo Request is transmitted immediately before, immediately after, and in the middle of the content packet.
It is desirable that the ICMP Echo Request be as small as possible so as not to be a load on the network 21 as much as possible. Further, by changing the ID field and sequence number field of the ICMP Echo header for each transmission packet, it is possible to identify which echo request is a response packet when receiving an echo response from the receiving terminal 20.

ここでは、コンテンツレート及び送信レートともに2Mbpsとした場合、往復遅延時間に増加傾向がなかったとする。送信レートとコンテンツレートとが等しく、往復遅延時間に増加傾向がない場合、1段階上のコンテンツレートで配信できるか否かを判定するため、コンテンツレートを変更せずに、送信レートを1段階上のコンテンツレートに変更する(図6のステップS1407)。本実施例1では、送信レートを4Mbpsへ上昇させる。   Here, when both the content rate and the transmission rate are set to 2 Mbps, it is assumed that the round-trip delay time does not increase. When the transmission rate is equal to the content rate and the round-trip delay time does not tend to increase, the transmission rate is increased by one level without changing the content rate in order to determine whether or not the content rate can be distributed by one level. To the content rate (step S1407 in FIG. 6). In the first embodiment, the transmission rate is increased to 4 Mbps.

送信レートを上昇させる方法として、パケットの送信間隔を変更せずに1回の送信パケット数を増加させる方法と、1回の送信パケット数を変更せずにパケットの送信間隔を変更する方法との二通りが考えられる。   As a method of increasing the transmission rate, there are a method of increasing the number of transmission packets at one time without changing the packet transmission interval and a method of changing the packet transmission interval without changing the number of transmission packets at one time. There are two possible ways.

前者の送信パケット数を増加させる方法について、0.1秒分(2Mbpsコンテンツの場合には25個)のパケットの送信レートを変更する例で考える。1回の送信パケット数を増加させる方法では、図9[2]に示すように、10ミリ秒間隔で5個(=2.5×(4Mbps/2Mbps))ずつのコンテンツパケットを送信する。そして、コンテンツパケットとともに送信したプローブパケットの増加傾向の有無に基づき、可用帯域が4Mbps以上あるか否かを判定する。その結果に基づき、コンテンツレートを4Mbpsへ上昇させるか否かを判定する。   The former method for increasing the number of transmission packets will be considered in an example in which the transmission rate of packets for 0.1 seconds (25 in the case of 2 Mbps content) is changed. In the method of increasing the number of transmission packets at one time, as shown in FIG. 9 [2], five (= 2.5 × (4 Mbps / 2 Mbps)) content packets are transmitted at 10 millisecond intervals. Then, it is determined whether or not the available bandwidth is 4 Mbps or more based on whether or not the probe packet transmitted together with the content packet has an increasing tendency. Based on the result, it is determined whether to increase the content rate to 4 Mbps.

一方、後者のパケットの送信間隔を変更する方法では、図9[3]に示すように、5ミリ秒間隔で2.5個(実際には2個と3個を交互に)のコンテンツパケットを送信する。そして、プローブパケットの往復遅延時間の増加傾向の有無に基づき、可用帯域が4Mbps以上あるか否かを判定する。判定の結果、増加傾向がなければコンテンツレートを4Mbpsへ上昇させ、増加傾向があれば送信レートを2Mbpsへ低下させる。   On the other hand, in the latter method of changing the packet transmission interval, as shown in FIG. 9 [3], 2.5 content packets (alternately between 2 and 3) are sent at intervals of 5 milliseconds. Send. Then, it is determined whether or not the available bandwidth is 4 Mbps or more based on whether or not the round-trip delay time of the probe packet tends to increase. As a result of the determination, if there is no increasing tendency, the content rate is increased to 4 Mbps, and if there is an increasing tendency, the transmission rate is decreased to 2 Mbps.

一般的なストリーム配信では、コンテンツのビットレートが上昇した場合、コンテンツの送信間隔は変更せずに1回に送信するパケット数を変化させる。そのため、前者の方法を用いると、コンテンツレート上昇後と同じ送信パターンで、送信レートと可用帯域との比較が可能になる。一方、後者の方法の場合、1回の送信あたりに1個のプローブパケットを送信した場合に、より多くのプローブパケットを送信するため、多くのサンプルから送信レートと可用帯域とを比較することが可能である。   In general stream distribution, when the bit rate of content increases, the number of packets transmitted at one time is changed without changing the content transmission interval. Therefore, when the former method is used, it is possible to compare the transmission rate and the available bandwidth with the same transmission pattern as after the content rate has increased. On the other hand, in the case of the latter method, when one probe packet is transmitted per transmission, more probe packets are transmitted. Therefore, it is possible to compare the transmission rate and the available bandwidth from many samples. Is possible.

図10は、実施例2における送信レートの変化を示す図表である。以下、図10に基づき説明する。   FIG. 10 is a chart illustrating changes in transmission rate in the second embodiment. Hereinafter, a description will be given with reference to FIG.

実施例2は、実施形態2を更に具体化した一例である。コンテンツレート及び送信レートがともに2Mbpsのときに往復遅延時間に増加傾向がない場合、実施例1では送信レートを4Mbpsに増加させるのに対し、本実施例2では送信レートを徐々に増加させていく。送信レートを10%ずつ増加させた場合の一例を図10に示す。往復遅延時間に増加傾向がない場合には、送信レートを2.2Mbps、2.42Mbps、・・・と増加させていき、この処理を9回実行すると送信レートが4Mbpsを超えるため、コンテンツレートを4Mbpsに変更する。   Example 2 is an example in which Embodiment 2 is further embodied. When the content rate and the transmission rate are both 2 Mbps and there is no tendency to increase the round trip delay time, the transmission rate is increased to 4 Mbps in the first embodiment, whereas the transmission rate is gradually increased in the second embodiment. . An example when the transmission rate is increased by 10% is shown in FIG. If the round-trip delay time does not tend to increase, the transmission rate is increased to 2.2 Mbps, 2.42 Mbps, and so on. If this process is executed nine times, the transmission rate exceeds 4 Mbps. Change to 4 Mbps.

実施例2における他の構成、作用及び効果は、実施例1と同様である。   Other configurations, operations, and effects in the second embodiment are the same as those in the first embodiment.

図11[1]は実施例3における往復遅延時間と送信レートの増加率との関係を示す図表であり、図11[2]は実施例3における近似直線の傾きと送信レートの低下率との関係を示す図表である。以下、図8及び図11に基づき説明する。   FIG. 11 [1] is a chart showing the relationship between the round-trip delay time and the transmission rate increase rate in the third embodiment, and FIG. 11 [2] shows the slope of the approximate line and the transmission rate decrease rate in the third embodiment. It is a chart which shows a relationship. Hereinafter, a description will be given based on FIGS. 8 and 11.

実施例3は、実施形態3を更に具体化した一例である。実施形態3では、往復遅延時間に増加傾向がない場合の送信レートの増加率を往復遅延時間の分散に応じて決定し、往復遅延時間に増加傾向がある場合の送信レートの低下率を近似直線の傾きに応じて決定する。   Example 3 is an example in which Embodiment 3 is further embodied. In the third embodiment, the rate of increase of the transmission rate when the round-trip delay time does not tend to increase is determined according to the variance of the round-trip delay time, and the rate of decrease of the transmission rate when the round-trip delay time tends to increase is approximated by a straight line It is determined according to the inclination of.

送信レートの増加率は、図11[1]に示したように決定する。図11[1]は、往復遅延時間の分散があるしきい値a以下ならば送信レートを20%増加させ、aより大きくb以下ならば10%増加させ、b以上ならば5%増加させることを表す。図11[2]は、往復遅延時間に増加傾向があるか否かを判定する際に求めた近似直線の傾きに応じて
送信レートの低下率を変化させている。
The increase rate of the transmission rate is determined as shown in FIG. 11 [1]. FIG. 11 [1] shows that the transmission rate is increased by 20% if the round-trip delay time variance is below a certain threshold a, increased by 10% if greater than a and less than b, and increased by 5% if greater than b. Represents. In FIG. 11 [2], the rate of decrease of the transmission rate is changed according to the slope of the approximate straight line obtained when determining whether or not the round-trip delay time tends to increase.

配信開始時、コンテンツレート及び送信レートがともに2Mbpsであるとする。このとき図8のステップS1411で往復遅延時間に増加傾向がないと判定すると、送信レートの上昇量の決定ステップ(図8のステップS1423)に移る。ステップS1423では、往復遅延時間の分散をもとに送信レートの上昇量を決定する。往復遅延時間の分散vがa未満の場合、送信レートを20%上昇させた2.4Mbpsとする。次に得られた往復遅延時間の分散vがb≧v>aの場合には、送信レートを更に10%上昇させた2.64Mbpsとする。   It is assumed that both the content rate and the transmission rate are 2 Mbps at the start of distribution. At this time, if it is determined in step S1411 in FIG. 8 that the round-trip delay time does not tend to increase, the process proceeds to a determination step for increasing the transmission rate (step S1423 in FIG. 8). In step S1423, the amount of increase in the transmission rate is determined based on the variance of the round trip delay time. When the variance v of the round-trip delay time is less than a, the transmission rate is increased by 20% to 2.4 Mbps. Next, when the obtained variance v of the round trip delay time is b ≧ v> a, the transmission rate is further increased by 10% to 2.64 Mbps.

続いて、送信レートが2.64Mbpsの場合に、プローブパケットの往復遅延時間に増加傾向が表れたとする。往復遅延時間に増加傾向が表れると、近似直線の傾きwをもとに送信レートの変動量を決定する(図8のステップS1422)。このとき、w≦dであれば、送信レートを10%低下させて2.38Mbpsとする。   Subsequently, it is assumed that when the transmission rate is 2.64 Mbps, an increasing tendency appears in the round-trip delay time of the probe packet. If an increase tendency appears in the round trip delay time, the amount of change in the transmission rate is determined based on the slope w of the approximate line (step S1422 in FIG. 8). At this time, if w ≦ d, the transmission rate is reduced by 10% to 2.38 Mbps.

実施例3における他の構成、作用及び効果は、実施例1、2と同様である。   Other configurations, operations, and effects in the third embodiment are the same as those in the first and second embodiments.

以上、上記各実施形態及び各実施例を参照して本発明を説明したが、本発明は上記各実施形態及び各実施例に限定されるものではない。本発明の構成や詳細については、当業者が理解し得るさまざまな変更を加えることができる。また、本発明には、上記各実施形態及び各実施例の構成の一部又は全部を相互に適宜組み合わせたものも含まれる。   As mentioned above, although this invention was demonstrated with reference to said each embodiment and each Example, this invention is not limited to each said embodiment and each Example. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention. In addition, the present invention includes a combination of a part or all of the configurations of the above embodiments and examples as appropriate.

本発明は、例えば、インターネット上での映像配信サービスに使用する配信サーバや、テレビ会議システムなどに適用できる。   The present invention can be applied to, for example, a distribution server used for a video distribution service on the Internet, a video conference system, and the like.

最後に、本発明の構成として特許請求の範囲に記載し得る例を、以下に付記として記載する。   Finally, examples that can be described in the scope of the claims as a configuration of the present invention are described as additional notes below.

(付記1)ネットワークを介して受信端末へストリームを送信するストリーム配信装置であって、
前記ストリーム配信装置の配信制御部は、
定期的に送信したプローブパケットの往復遅延時間の増加傾向の有無を判定し、
前記増加傾向がある場合には前記ストリームの送信レートが可用帯域を上回っていると判定し、前記増加傾向がない場合には前記送信レートが可用帯域以下であると判定する、
ことを特徴とするストリーム配信装置。
(Supplementary Note 1) A stream distribution device that transmits a stream to a receiving terminal via a network,
The distribution control unit of the stream distribution device includes:
Determine if there is a tendency to increase the round-trip delay time of probe packets sent periodically,
When there is a tendency to increase, it is determined that the transmission rate of the stream exceeds the available bandwidth, and when there is no tendency to increase, it is determined that the transmission rate is equal to or lower than the available bandwidth.
The stream delivery apparatus characterized by the above-mentioned.

(付記2)付記1に記載のストリーム配信装置であって、
前記送信レートをコンテンツレートよりも高く設定し、
前記プローブパケットの往復遅延時間の増加傾向の有無を判定することにより、前記コンテンツレートよりも高いレートと可用帯域との比較を行う、
ことを特徴とするストリーム配信装置。
(Supplementary note 2) The stream distribution device according to supplementary note 1, wherein
Set the transmission rate higher than the content rate,
By comparing the probe packet with a rate higher than the content rate by determining whether or not there is a tendency to increase the round-trip delay time of the probe packet,
The stream delivery apparatus characterized by the above-mentioned.

(付記3)付記2に記載のストリーム配信装置であって、
コンテンツパケットの各送信時刻における送信パケット数を増加させることにより、前記送信レートを上昇させる、
ことを特徴とするストリーム配信装置。
(Supplementary note 3) The stream distribution device according to supplementary note 2, wherein
Increasing the transmission rate by increasing the number of transmission packets at each transmission time of content packets,
The stream delivery apparatus characterized by the above-mentioned.

(付記4)付記2に記載のストリーム配信装置であって、
コンテンツパケットの送信間隔を短縮することにより、前記送信レートを上昇させる、
ことを特徴とするストリーム配信装置。
(Supplementary note 4) The stream distribution device according to supplementary note 2,
Increasing the transmission rate by shortening the transmission interval of content packets;
The stream delivery apparatus characterized by the above-mentioned.

(付記5)付記3又は4に記載のストリーム配信装置であって、
前記コンテンツパケットの送信時にプローブパケットを送信する、
ことを特徴とするストリーム配信装置。
(Additional remark 5) It is a stream delivery apparatus of Additional remark 3 or 4, Comprising:
Transmitting a probe packet when transmitting the content packet;
The stream delivery apparatus characterized by the above-mentioned.

(付記6)付記1乃至5のいずれか一つに記載のストリーム配信装置であって、
前記プローブパケットがエコー要求パケットである、
ことを特徴とするストリーム配信装置。
(Supplementary note 6) The stream distribution device according to any one of supplementary notes 1 to 5,
The probe packet is an echo request packet;
The stream delivery apparatus characterized by the above-mentioned.

(付記7)付記1乃至6のいずれか一つに記載のストリーム配信装置であって、
前記送信レートが可用帯域を上回っていると判定した場合に前記送信レートを低下させる、
ことを特徴とするストリーム配信装置。
(Supplementary note 7) The stream distribution device according to any one of supplementary notes 1 to 6,
Reducing the transmission rate when it is determined that the transmission rate exceeds the available bandwidth,
The stream delivery apparatus characterized by the above-mentioned.

(付記8)付記1乃至7に記載のストリーム配信装置であって、
前記送信レートが可用帯域以下と判定した場合に前記送信レートを上昇させる、
ことを特徴とするストリーム配信装置。
(Supplementary note 8) The stream distribution device according to supplementary notes 1 to 7,
Increasing the transmission rate when it is determined that the transmission rate is less than or equal to the available bandwidth,
The stream delivery apparatus characterized by the above-mentioned.

(付記9)付記7に記載のストリーム配信装置であって、
前記送信レートが可用帯域を上回っていると判定した場合に、
前記送信レートがコンテンツレートよりも高ければ、前記送信レートを前記コンテンツレートと同一のレートへ低下させ、
前記送信レートと前記コンテンツレートとが同一であるならば、前記コンテンツレートを現在配信しているものから1段階低下させ、前記送信レートを低下後の前記コンテンツレートと同一にする、
ことを特徴とするストリーム配信装置。
(Supplementary note 9) The stream distribution device according to supplementary note 7,
When it is determined that the transmission rate exceeds the available bandwidth,
If the transmission rate is higher than the content rate, the transmission rate is reduced to the same rate as the content rate,
If the transmission rate and the content rate are the same, the content rate is reduced by one step from what is currently distributed, and the transmission rate is made the same as the content rate after the reduction.
The stream delivery apparatus characterized by the above-mentioned.

(付記10)付記7に記載のストリーム配信装置であって、
前記送信レートが前記可用帯域を上回っていると判定した場合に、前記送信レートが前記可用帯域を上回っている量に応じて前記送信レートの低下率を変化させる、
ことを特徴とするストリーム配信装置。
(Supplementary note 10) The stream distribution device according to supplementary note 7,
When it is determined that the transmission rate exceeds the available bandwidth, the rate of decrease of the transmission rate is changed according to the amount by which the transmission rate exceeds the available bandwidth.
The stream delivery apparatus characterized by the above-mentioned.

(付記11)付記8に記載のストリーム配信装置であって、
前記送信レートが前記可用帯域以下であると判定した場合に、
前記送信レートとコンテンツレートが同一であるならば、前記送信レートを現在配信しているものから1段階上の前記コンテンツレートと同一にし、
前記送信レートが現在配信しているものから1段階上の前記コンテンツレートと同一であるならば、前記コンテンツレートを1段階上昇させる、
ことを特徴とするストリーム配信装置。
(Supplementary note 11) The stream distribution device according to supplementary note 8,
When it is determined that the transmission rate is equal to or lower than the available bandwidth,
If the transmission rate and the content rate are the same, the transmission rate is set to be the same as the content rate that is one level higher than what is currently distributed,
If the transmission rate is the same as the content rate one level above what is currently distributed, the content rate is increased by one level;
The stream delivery apparatus characterized by the above-mentioned.

(付記12)付記8に記載のストリーム配信装置であって、
前記送信レートが前記可用帯域以下であると判定した場合に、前記送信レートを既定量上昇させる、
ことを特徴とするストリーム配信装置。
(Supplementary note 12) The stream distribution device according to supplementary note 8,
If it is determined that the transmission rate is less than or equal to the available bandwidth, the transmission rate is increased by a predetermined amount;
The stream delivery apparatus characterized by the above-mentioned.

(付記13)付記8に記載のストリーム配信装置であって、
前記送信レートが前記可用帯域以下であると判定した場合に、前記プローブパケットの前記往復遅延時間のばらつき具合の大小に応じて前記送信レートの上昇率を変化させる、
ことを特徴とするストリーム配信装置。
(Supplementary note 13) The stream distribution device according to supplementary note 8,
When it is determined that the transmission rate is equal to or less than the available bandwidth, the rate of increase of the transmission rate is changed according to the degree of variation in the round-trip delay time of the probe packet.
The stream delivery apparatus characterized by the above-mentioned.

(付記14)付記1乃至13のいずれか一つに記載のストリーム配信装置を有する、
ことを特徴とするストリーム配信システム。
(Additional remark 14) It has the stream delivery apparatus as described in any one of additional remarks 1 thru | or 13.
A stream distribution system characterized by that.

10 送信端末(ストリーム配信装置)
11 配信制御部
12 コンテンツ記憶部
13 コンテンツパケット生成部
14 プローブパケット生成部
15 パケット送信部(送信部)
16 プローブパケット受信部(受信部)
17 制御部
20 受信端末
21 ネットワーク(インターネット)
30 コンピュータ
31 CPU
32 ROM
33 RAM
34 バス
35 入出力インタフェース
10 Sending terminal (stream distribution device)
DESCRIPTION OF SYMBOLS 11 Distribution control part 12 Content memory | storage part 13 Content packet generation part 14 Probe packet generation part 15 Packet transmission part (transmission part)
16 Probe packet receiver (receiver)
17 Control unit 20 Receiving terminal 21 Network (Internet)
30 Computer 31 CPU
32 ROM
33 RAM
34 bus 35 I / O interface

Claims (5)

ネットワークを介して受信端末へストリームを送信するストリーム配信装置において、
プローブパケットを定期的に前記受信端末へ送信する送信部と、
前記プローブパケットを受信したことを示す応答パケットを前記受信端末から受信する受信部と、
前記送信部が前記プローブパケットを送信してから前記受信部が前記応答パケットを受信するまでに要した往復遅延時間を計算し、前記往復遅延時間が増加傾向に有れば前記ストリームの送信レートが可用帯域を上回っていると判定し、前記往復遅延時間が増加傾向に無ければ前記送信レートが前記可用帯域以下であると判定する制御部と、
を備え
前記制御部は、
前記送信レートが前記可用帯域を上回っていると判定した場合に、
前記ストリームの対象となるコンテンツのレートであるコンテンツレートよりも前記送信レートが高ければ、前記コンテンツレートまで前記送信レートを低下させ、
前記コンテンツレートと前記送信レートとが同一であれば、前記コンテンツレートを低下させるとともに低下後の前記コンテンツレートまで前記送信レートを低下させる、
ことを特徴とするストリーム配信装置。
In a stream distribution device that transmits a stream to a receiving terminal via a network,
A transmitter that periodically transmits a probe packet to the receiving terminal;
A receiving unit that receives from the receiving terminal a response packet indicating that the probe packet has been received;
The round-trip delay time required from when the transmitting unit transmits the probe packet to when the receiving unit receives the response packet is calculated. If the round-trip delay time tends to increase, the transmission rate of the stream is A controller that determines that the available bandwidth is exceeded, and determines that the transmission rate is equal to or lower than the available bandwidth if the round-trip delay time does not tend to increase;
Equipped with a,
The controller is
When it is determined that the transmission rate exceeds the available bandwidth,
If the transmission rate is higher than the content rate that is the content rate of the stream, the transmission rate is reduced to the content rate,
If the content rate and the transmission rate are the same, the content rate is reduced and the transmission rate is reduced to the content rate after the reduction.
The stream delivery apparatus characterized by the above-mentioned.
請求項記載のストリーム配信装置において、
前記制御部は、前記送信レートを低下させる際に、前記送信レートが前記可用帯域を上回っている量に応じて前記送信レートの低下率を変化させる、
ことを特徴とするストリーム配信装置。
The stream distribution apparatus according to claim 1 ,
The control unit, when decreasing the transmission rate, changes the rate of decrease of the transmission rate according to the amount that the transmission rate exceeds the available bandwidth,
The stream delivery apparatus characterized by the above-mentioned.
ネットワークを介して受信端末へストリームを送信するストリーム配信装置において、  In a stream distribution device that transmits a stream to a receiving terminal via a network,
プローブパケットを定期的に前記受信端末へ送信する送信部と、  A transmitter that periodically transmits a probe packet to the receiving terminal;
前記プローブパケットを受信したことを示す応答パケットを前記受信端末から受信する受信部と、  A receiving unit that receives from the receiving terminal a response packet indicating that the probe packet has been received;
前記送信部が前記プローブパケットを送信してから前記受信部が前記応答パケットを受信するまでに要した往復遅延時間を計算し、前記往復遅延時間が増加傾向に有れば前記ストリームの送信レートが可用帯域を上回っていると判定し、前記往復遅延時間が増加傾向に無ければ前記送信レートが前記可用帯域以下であると判定する制御部と、  The round-trip delay time required from when the transmitting unit transmits the probe packet to when the receiving unit receives the response packet is calculated. If the round-trip delay time tends to increase, the transmission rate of the stream is A controller that determines that the available bandwidth is exceeded, and determines that the transmission rate is equal to or lower than the available bandwidth if the round-trip delay time does not tend to increase;
を備え、  With
前記制御部は、  The controller is
前記送信レートが前記可用帯域以下であると判定した場合に、  When it is determined that the transmission rate is equal to or lower than the available bandwidth,
前記ストリームの対象となるコンテンツのレートであるコンテンツレートよりも前記送信レートが高ければ、前記コンテンツレートを上昇させるとともに上昇後の前記コンテンツレートに前記送信レートを合わせ、  If the transmission rate is higher than the content rate that is the content rate of the stream, the content rate is increased and the transmission rate is adjusted to the increased content rate,
前記コンテンツレートと前記送信レートとが同一であれば、前記送信レートを上昇させる、  If the content rate and the transmission rate are the same, the transmission rate is increased.
ことを特徴とするストリーム配信装置。  The stream delivery apparatus characterized by the above-mentioned.
請求項記載のストリーム配信装置において、
前記制御部は、前記送信レートを上昇させる際に、前記往復遅延時間のばらつき具合の大小に応じて前記送信レートの上昇率を変化させる、
ことを特徴とするストリーム配信装置。
The stream distribution apparatus according to claim 3 , wherein
The control unit, when increasing the transmission rate, changes the rate of increase of the transmission rate according to the degree of variation in the round-trip delay time,
The stream delivery apparatus characterized by the above-mentioned.
請求項1乃至のいずれか一項記載のストリーム配信装置において、
前記プローブパケットがエコー要求パケットである、
ことを特徴とするストリーム配信装置。
The stream distribution device according to any one of claims 1 to 4 ,
The probe packet is an echo request packet;
The stream delivery apparatus characterized by the above-mentioned.
JP2009291138A 2009-12-22 2009-12-22 Stream distribution device Active JP5434570B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009291138A JP5434570B2 (en) 2009-12-22 2009-12-22 Stream distribution device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009291138A JP5434570B2 (en) 2009-12-22 2009-12-22 Stream distribution device

Publications (2)

Publication Number Publication Date
JP2011135207A JP2011135207A (en) 2011-07-07
JP5434570B2 true JP5434570B2 (en) 2014-03-05

Family

ID=44347497

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009291138A Active JP5434570B2 (en) 2009-12-22 2009-12-22 Stream distribution device

Country Status (1)

Country Link
JP (1) JP5434570B2 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101640852B1 (en) * 2012-09-27 2016-07-19 닛본 덴끼 가부시끼가이샤 Method for transmitting audio information and packet communication system
CN104685840A (en) * 2012-09-27 2015-06-03 日本电气株式会社 Method for transmitting image information and packet communication system
JP5732498B2 (en) * 2013-09-04 2015-06-10 株式会社京三製作所 Railway communication system, on-board device, ground device, and communication control method
JP6173141B2 (en) * 2013-09-13 2017-08-02 セコム株式会社 Wireless communication system and wireless transmitter
US9781734B2 (en) 2013-12-26 2017-10-03 Nec Corporation Communication apparatus, communication method, and recording medium
JP2016005220A (en) * 2014-06-19 2016-01-12 株式会社Jvcケンウッド Transmission apparatus, transmission method, and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1023064A (en) * 1996-07-01 1998-01-23 Nippon Telegr & Teleph Corp <Ntt> Automatic distribution-type traffic flow control method
JP2003174489A (en) * 2001-12-05 2003-06-20 Ntt Docomo Inc Streaming distribution device and streaming distribution method

Also Published As

Publication number Publication date
JP2011135207A (en) 2011-07-07

Similar Documents

Publication Publication Date Title
EP1309151A2 (en) System and method of network adaptive real-time multimedia streaming
JP5434570B2 (en) Stream distribution device
EP3175584B1 (en) Reducing delay in video telephony
US6992981B2 (en) Communication system and method capable of avoiding congestion in moving image data transmission
US20020194361A1 (en) Data transmitting/receiving method, transmitting device, receiving device, transmiting/receiving system, and program
KR101399509B1 (en) Data streaming through time-varying transport media
US9014048B2 (en) Dynamic bandwidth re-allocation
US10785448B2 (en) Robust handling of sudden changes of bandwidth in selective forwarding unit conferences
US9838209B2 (en) Method for subscribing to streams from multicast clients
JP2010011212A (en) Transmission apparatus, receiving apparatus, and method program
JP5807710B2 (en) Content distribution system, content distribution method and program
US8873590B2 (en) Apparatus and method for correcting jitter
US20140344392A1 (en) Content delivery system, cache server, and content delivery method
WO2011156011A1 (en) Method and apparatus for congestion control
JP5748471B2 (en) Distribution apparatus, distribution method, and program
GB2527365A (en) A telecommunication end-point device data transmission controller
JP2009246630A (en) Home gateway device and communication quality control method of home gateway device
KR101017352B1 (en) Method for transmitting streaming contents in wireless internet system
WO2014083962A1 (en) Communications system
CN109922307A (en) A kind of multimedia data transmission method and video camera
KR101107325B1 (en) Method and System for Measuring Quality by Network Interval for Real-time Multimedia Service
WO2014087764A1 (en) Terminal and communication system
WO2014087765A1 (en) Terminal and communication system
Dhamodaran et al. Adaptive Queue Management Scheme for Flexible Dual TCP/UDP Streaming Protocol
WO2014083961A1 (en) Packet transfer control device and communications system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130712

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130723

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130918

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: 20131112

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131125

R150 Certificate of patent or registration of utility model

Ref document number: 5434570

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150