JP2009246630A - Home gateway device and communication quality control method of home gateway device - Google Patents

Home gateway device and communication quality control method of home gateway device Download PDF

Info

Publication number
JP2009246630A
JP2009246630A JP2008089759A JP2008089759A JP2009246630A JP 2009246630 A JP2009246630 A JP 2009246630A JP 2008089759 A JP2008089759 A JP 2008089759A JP 2008089759 A JP2008089759 A JP 2008089759A JP 2009246630 A JP2009246630 A JP 2009246630A
Authority
JP
Japan
Prior art keywords
rate
rtp
video
home gateway
function unit
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.)
Granted
Application number
JP2008089759A
Other languages
Japanese (ja)
Other versions
JP4994283B2 (en
Inventor
Takao Katsuta
喬雄 勝田
Shinji Furuya
信司 古谷
Tetsuya Yokoya
哲也 横谷
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2008089759A priority Critical patent/JP4994283B2/en
Publication of JP2009246630A publication Critical patent/JP2009246630A/en
Application granted granted Critical
Publication of JP4994283B2 publication Critical patent/JP4994283B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To obtain a home gateway device which improves quality of a reception video image by preventing buffer overflow in a video receiving terminal regardless of a congestion state of an IP network. <P>SOLUTION: The home gateway device includes: an RTCP (RTP Control Protocol) monitoring function part 72 which monitors a video stream reception result packet periodically transmitted from a video receiving terminal 41 to a video distribution server 21 and calculates a loss rate; a buffer 63 for temporarily buffering an RTP packet; an RTP (Real-time Transport Protocol) identification function part 62 for monitoring the RTP packet, specifying the loss rate of the RTP packet being transmitted at present, and outputting a notice for reducing an output rate of the RTP packet to be transmitted from the buffer 63 to the video receiving terminal 41 when the loss rate is equal to or higher than a predetermined threshold; and a traffic control function part 64 for receiving the notice for reducing the output rate and the loss rate and shaping the output rate of the RTP packet to be transmitted from the buffer 63 to the video receiving terminal 41 in accordance with the loss rate. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、IPネットワークを介して配信される映像ストリームを制御し、映像受信端末側で再生される映像品質を向上させるホームゲートウェイ装置およびホームゲートウェイ装置の通信品質制御方法に関するものである。   The present invention relates to a home gateway device for controlling a video stream distributed via an IP network and improving a video quality reproduced on a video receiving terminal side, and a communication quality control method for the home gateway device.

近年、IPネットワークを介した映像配信サービスの普及が進んでいる。IPネットワークを介した映像ストリーム配信は、IETFのRFC3550で標準化されているRTP(real-time transport protocol)/RTCP(RTP control protocol)を用いて実現されている。映像配信サーバからRTPパケットを連続的に映像受信端末に送信することによって、映像ストリームが配信されるが、IPネットワーク内では伝送帯域や遅延が変動するため、受信時にRTPパケット損失が発生する可能性がある。   In recent years, video distribution services via IP networks have been widely used. The video stream distribution via the IP network is realized using RTP (real-time transport protocol) / RTCP (RTP control protocol) standardized by RFC3550 of IETF. A video stream is distributed by continuously transmitting RTP packets from a video distribution server to a video receiving terminal. However, transmission bandwidth and delay fluctuate within the IP network, so that RTP packet loss may occur during reception. There is.

このため、映像受信端末が受信時刻やRTPパケットの廃棄率をRR(Receiver Report)パケットに記録し、RRパケットを映像配信サーバへ通知して、映像配信サーバのレート制御に反映させる手段がRFCに規定されている。しかしながら、RTCPを用いてレート制御をおこなう手順については、RFCに規定されていない。   For this reason, a means for the video receiving terminal to record the reception time and the discard rate of the RTP packet in an RR (Receiver Report) packet, notify the RR packet to the video distribution server, and reflect it in the rate control of the video distribution server in RFC. It is prescribed. However, the procedure for performing rate control using RTCP is not defined in RFC.

この問題を解決するために、以下の従来技術がある。この従来技術においては、映像受信端末から送信されるRTCPのRRパケットを映像配信サーバが受信する。さらに、RRパケットの廃棄率からIPネットワーク上で発生する輻輳度合いに応じて映像配信サーバの送信レートを制御し、映像品質を向上させている(例えば、特許文献1、2参照)。   In order to solve this problem, there are the following conventional techniques. In this prior art, a video distribution server receives an RTCP RR packet transmitted from a video receiving terminal. Further, the video quality is improved by controlling the transmission rate of the video distribution server according to the congestion rate generated on the IP network from the discard rate of the RR packets (see, for example, Patent Documents 1 and 2).

特開2006−042335号公報JP 2006-042335 A 特開2003−244695号公報JP 2003-244695 A

しかしながら、従来技術には次のような課題がある。図15および図16は、従来技術におけるRTPパケットの廃棄の様子を示した説明図である。図15に示すように、RTPパケットの廃棄は、IPネットワークの輻輳によって失われた分だけでなく、アプリケーション内部の受信バッファがRTPストリームであふれた分も反映される。   However, the prior art has the following problems. FIG. 15 and FIG. 16 are explanatory diagrams showing how RTP packets are discarded in the prior art. As shown in FIG. 15, the discard of the RTP packet reflects not only the amount lost due to the congestion of the IP network but also the amount that the reception buffer inside the application overflows with the RTP stream.

アプリケーション内部でのこの受信バッファあふれは、図16に示すように、映像受信端末で他のアプリケーション処理に資源が消費され、映像受信アプリケーションに必要な資源が確保できないために発生する。   As shown in FIG. 16, this reception buffer overflow in the application occurs because resources are consumed by other application processes at the video reception terminal, and resources necessary for the video reception application cannot be secured.

また、映像配信サーバやIPネットワーク内部の機器の特性により、伝送帯域がバースト的に変動することもある。この影響で、映像受信アプリケーションのバッファが、RTPパケットであふれることもある。   Further, the transmission band may fluctuate in a burst manner depending on the characteristics of the video distribution server and the equipment inside the IP network. As a result, the buffer of the video receiving application may overflow with RTP packets.

このため、特許文献1、2に示された技術では、実際にはアプリケーション内部の受信バッファあふれでRTPパケットの廃棄が発生しているにもかかわらず、IPネットワークの輻輳と見なされて、RTPパケットの送信レートが制御されてしまう。このため、結果として、必要以上に映像ストリームの配信レートが低くなり、高品質な映像が得られないという問題が発生する。   For this reason, in the techniques disclosed in Patent Documents 1 and 2, although the RTP packet is discarded due to the overflow of the reception buffer inside the application, the RTP packet is regarded as congestion of the IP network. Will be controlled. As a result, there arises a problem that the delivery rate of the video stream becomes lower than necessary, and high quality video cannot be obtained.

最近、宅内にIPネットワーク接続環境を提供するホームゲートウェイ装置の開発が進んでいる。従って、上述した問題の解決が急務である。   Recently, development of a home gateway device that provides an IP network connection environment in a home is progressing. Therefore, there is an urgent need to solve the above problems.

本発明は上述のような課題を解決するためになされたもので、IPネットワークの輻輳状態によらず、映像受信端末のバッファあふれを防ぎ、受信映像の品質向上を可能とするホームゲートウェイ装置およびホームゲートウェイ装置の通信品質制御方法を得ることを目的とする。   The present invention has been made to solve the above-described problems. A home gateway apparatus and a home that can prevent the buffer overflow of the video receiving terminal and improve the quality of the received video regardless of the congestion state of the IP network. An object is to obtain a communication quality control method for a gateway device.

本発明に係るホームゲートウェイ装置は、外部ネットワークに接続された映像配信サーバからホームネットワークに接続された映像受信端末へ映像ストリームを送信する際に、外部ネットワークおよびホームネットワークとの通信を中継するホームゲートウェイ装置であって、映像受信端末から映像配信サーバへ定期的に送信される映像ストリーム受信結果パケットを監視し、映像ストリーム受信結果パケットに含まれる映像受信端末で受信された映像ストリームを特定するための第1の識別子、受信パケット数、および廃棄パケット数を取得し、取得したデータと今回取得したデータから廃棄率を算出するRTCP監視機能部と、映像受信端末へ映像ストリームを送信するために映像配信サーバから連続して送信されるRTPパケットを一時的にバッファリングするバッファと、RTPパケットを監視し、RTPパケットに対応する映像ストリームを特定するための第2の識別子を取得するとともに、RTCP監視機能部から第1の識別子および廃棄率を取得し、第1の識別子と第2の識別子が一致することにより廃棄率を現在送信中のRTPパケットの廃棄率と特定し、特定した廃棄率が所定閾値以上のときは、バッファから映像受信端末へ送信されるRTPパケットの出力レートを下降させる通知を出力するRTP識別機能部と、出力レートを下降させる通知および廃棄率を受け取り、廃棄率に応じて、バッファから映像受信端末へ送信されるRTPパケットの出力レートをシェーピングするトラヒック制御機能部とを備えるものである。   A home gateway device according to the present invention relays communication with an external network and a home network when transmitting a video stream from a video distribution server connected to the external network to a video receiving terminal connected to the home network. An apparatus for monitoring a video stream reception result packet periodically transmitted from a video receiving terminal to a video distribution server and identifying a video stream received by the video receiving terminal included in the video stream reception result packet RTCP monitoring function unit that obtains the first identifier, the number of received packets, and the number of discarded packets, calculates a discard rate from the acquired data and the currently acquired data, and video distribution for transmitting a video stream to the video receiving terminal One RTP packet sent continuously from the server The buffer to be buffered and the RTP packet are monitored, the second identifier for specifying the video stream corresponding to the RTP packet is acquired, and the first identifier and the discard rate are acquired from the RTCP monitoring function unit When the first identifier and the second identifier match, the discard rate is identified as the discard rate of the currently transmitted RTP packet, and when the identified discard rate is equal to or greater than a predetermined threshold, transmission is performed from the buffer to the video receiving terminal. RTP identification function unit that outputs a notification for lowering the output rate of the RTP packet to be received, and a notification and a discard rate for lowering the output rate, and according to the discard rate, an RTP packet that is transmitted from the buffer to the video receiving terminal And a traffic control function unit for shaping the output rate.

また、本発明に係るホームゲートウェイ装置の通信品質制御方法は、外部ネットワークに接続された映像配信サーバからホームネットワークに接続された映像受信端末へ映像ストリームを送信する際に、外部ネットワークおよびホームネットワークとの通信を中継するホームゲートウェイ装置の通信品質制御方法であって、映像受信端末から映像配信サーバへ定期的に送信される映像ストリーム受信結果パケットを監視し、映像ストリーム受信結果パケットに含まれる映像受信端末で受信された映像ストリームを特定するための第1の識別子、受信パケット数、および廃棄パケット数を取得し、取得したデータと今回取得したデータから廃棄率を算出するステップと、映像受信端末へ映像ストリームを送信するために映像配信サーバから連続して送信されるRTPパケットを監視し、RTPパケットに対応する映像ストリームを特定するための第2の識別子を取得するとともに、第1の識別子および廃棄率を取得し、第1の識別子と第2の識別子が一致することにより廃棄率を現在送信中のRTPパケットの廃棄率と特定し、特定した廃棄率が所定閾値以上のときは、RTPパケットを一時的にバッファリングするバッファから映像受信端末へ送信されるRTPパケットの出力レートを下降させる通知を出力するステップと、出力レートを下降させる通知および廃棄率を受け取り、廃棄率に応じて、バッファから映像受信端末へ送信されるRTPパケットの出力レートをシェーピングするステップとを備えるものである。   The communication quality control method for the home gateway device according to the present invention includes: an external network and a home network when transmitting a video stream from a video distribution server connected to an external network to a video receiving terminal connected to the home network; A communication quality control method of a home gateway device that relays communication of a video stream, monitors a video stream reception result packet periodically transmitted from a video receiving terminal to a video distribution server, and receives a video included in the video stream reception result packet Obtaining a first identifier for identifying a video stream received by the terminal, the number of received packets, and the number of discarded packets, calculating a discard rate from the acquired data and the data acquired this time; Continuous from the video distribution server to send the video stream The RTP packet transmitted is monitored, the second identifier for specifying the video stream corresponding to the RTP packet is acquired, the first identifier and the discard rate are acquired, the first identifier and the second When the identifier matches, the discard rate is identified as the discard rate of the currently transmitted RTP packet. When the identified discard rate is equal to or greater than a predetermined threshold, the RTP packet is temporarily buffered and transmitted to the video receiving terminal. The step of outputting a notification for lowering the output rate of the RTP packet to be received, the notification for lowering the output rate and the discard rate are received, and the output rate of the RTP packet transmitted from the buffer to the video receiving terminal is determined according to the discard rate. And a step of shaping.

本発明によれば、宅内に接続される映像受信端末から送信される受信レポートから、映像受信端末に起因する映像ストリームの廃棄率を検出し、検出した廃棄率に応じて映像ストリームの出力をシェーピングすることによって、IPネットワークの輻輳状態によらず、映像受信端末のバッファあふれを防ぎ、受信映像の品質向上を可能とするホームゲートウェイ装置およびホームゲートウェイ装置の通信品質制御方法を得ることができる。   According to the present invention, the discard rate of the video stream caused by the video receiving terminal is detected from the reception report transmitted from the video receiving terminal connected to the home, and the output of the video stream is shaped according to the detected discard rate. By doing so, it is possible to obtain a home gateway device and a communication quality control method for the home gateway device that can prevent the buffer overflow of the video receiving terminal and improve the quality of the received video regardless of the congestion state of the IP network.

以下、本発明のホームゲートウェイ装置およびホームゲートウェイ装置の通信品質制御方法の好適な実施の形態につき図面を用いて説明する。   Hereinafter, preferred embodiments of a home gateway device and a communication quality control method for the home gateway device of the present invention will be described with reference to the drawings.

実施の形態1.
図1は、本発明の実施の形態1におけるホームゲートウェイ装置を含むネットワーク構成を示した図である。図1において、ホームゲートウェイ装置1は、宅内に設置され、光ファイバや電話線を通じて、外部ネットワーク(IPネットワーク)11に接続されている。
Embodiment 1 FIG.
FIG. 1 is a diagram showing a network configuration including a home gateway device according to Embodiment 1 of the present invention. In FIG. 1, a home gateway device 1 is installed in a house and is connected to an external network (IP network) 11 through an optical fiber or a telephone line.

また、ホームゲートウェイ装置1は、宅内のネットワーク(ホームネットワーク)12を介して、映像受信端末41と接続されている。映像配信サーバ21から配信される映像ストリームは、外部ネットワーク11、ホームゲートウェイ装置1、およびホームネットワーク12を介して、映像受信端末41へ配信される。   The home gateway device 1 is connected to a video receiving terminal 41 via a home network (home network) 12. The video stream distributed from the video distribution server 21 is distributed to the video receiving terminal 41 via the external network 11, the home gateway device 1, and the home network 12.

ここで、映像ストリームとは、映像配信サーバ21から映像受信端末41への連続的に送信されるRTPパケット31の流れである。映像受信端末41は、一定時間内に受信したRTPパケット31の個数、廃棄されたRTPパケット31の個数、およびRTPパケット31の識別子をRTCPのRRパケット32に記録する。そして、映像受信端末41は、このRRパケット32を映像配信サーバ21へ送信し、以降、周期的に送信を繰り返す。   Here, the video stream is a flow of RTP packets 31 continuously transmitted from the video distribution server 21 to the video receiving terminal 41. The video receiving terminal 41 records the number of RTP packets 31 received within a predetermined time, the number of discarded RTP packets 31, and the identifier of the RTP packet 31 in an RTCP RR packet 32. Then, the video receiving terminal 41 transmits the RR packet 32 to the video distribution server 21, and thereafter repeats transmission periodically.

次に、本発明を実施するためのホームゲートウェイ装置1の基本形態について説明する。図2は、本発明の実施の形態1におけるホームゲートウェイ装置1の基本形態における構成図である。ホームゲートウェイ装置1は、外部ネットワーク11につながる機器とホームネットワーク12につながる機器との通信を制御するために、通信制御部2、およびパケット送受信部3、4を備えている。   Next, the basic form of the home gateway apparatus 1 for implementing this invention is demonstrated. FIG. 2 is a configuration diagram in the basic form of the home gateway device 1 according to the first embodiment of the present invention. The home gateway device 1 includes a communication control unit 2 and packet transmission / reception units 3 and 4 in order to control communication between a device connected to the external network 11 and a device connected to the home network 12.

パケット送受信部3は、ホームゲートウェイ装置1と外部ネットワーク11とのパケット送受信を行う。一方、パケット送受信部4は、ホームゲートウェイ装置1とホームネットワーク12とのパケット送受信を行う。そして、通信制御部2は、ホームゲートウェイ装置1を流れる全パケットの通信制御を行う。   The packet transmission / reception unit 3 performs packet transmission / reception between the home gateway device 1 and the external network 11. On the other hand, the packet transmission / reception unit 4 performs packet transmission / reception between the home gateway device 1 and the home network 12. Then, the communication control unit 2 performs communication control of all packets flowing through the home gateway device 1.

ここで、ホームゲートウェイ装置1の通信制御部2からパケット送受信部4へ流れる回線61において、RTPパケットの伝送を制御するために、RTP識別機能部62、バッファ63、およびトラヒック制御機能部64を設けている。   Here, an RTP identification function unit 62, a buffer 63, and a traffic control function unit 64 are provided in order to control the transmission of the RTP packet on the line 61 flowing from the communication control unit 2 to the packet transmitting / receiving unit 4 of the home gateway device 1. ing.

一方、パケット送受信部4から通信制御部2へ流れる回線71においては、映像受信端末41から送信されるRTCPのRRパケット32を監視するために、RTCP監視機能部72を設けている。   On the other hand, in the line 71 flowing from the packet transmitting / receiving unit 4 to the communication control unit 2, an RTCP monitoring function unit 72 is provided to monitor the RTCP RR packet 32 transmitted from the video receiving terminal 41.

ここで、RTCP監視機能部72は、映像受信端末41から送信されるRRパケット32を検出した場合には、RRパケット32から第一のSSRC、受信RTPパケット数、および廃棄パケット数Pを取得する。そして、前回受信したRRパケットの受信時刻T1、受信RTPパケット数C1、廃棄RTPパケット数D1、今回受信したRRパケット32の受信時刻T2、受信RTPパケット数C2、および廃棄RTPパケット数D2を用いて、廃棄率P1を計算する。   Here, when detecting the RR packet 32 transmitted from the video receiving terminal 41, the RTCP monitoring function unit 72 acquires the first SSRC, the number of received RTP packets, and the number of discarded packets P from the RR packet 32. . Then, using the reception time T1 of the previously received RR packet, the number of received RTP packets C1, the number of discarded RTP packets D1, the reception time T2 of the RR packet 32 received this time, the number of received RTP packets C2, and the number of discarded RTP packets D2. The discard rate P1 is calculated.

廃棄率P1は、下式(1)によって計算できる。
P1=(D2−D1)/(C2−C1)/(T2−T1) (1)
The discard rate P1 can be calculated by the following equation (1).
P1 = (D2-D1) / (C2-C1) / (T2-T1) (1)

RTCP監視機能部72は、識別子Sと、上式(1)にて計算した廃棄率P1を、メッセージ81として、RTP識別機能部62に通知する。RTP識別機能部62は、RTCP監視機能部72から廃棄率P1の通知を受けると、回線61を流れるRTPパケット31から取得した第二のSSRCと比較し、同一であれば、テーブル91に、識別子S、廃棄率P1を記録する。   The RTCP monitoring function unit 72 notifies the RTP identification function unit 62 of the identifier S and the discard rate P1 calculated by the above equation (1) as a message 81. When receiving the notification of the discard rate P1 from the RTCP monitoring function unit 72, the RTP identification function unit 62 compares it with the second SSRC acquired from the RTP packet 31 flowing through the line 61. S and the discard rate P1 are recorded.

図3は、本発明の実施の形態1におけるテーブル91の構成例を示した図である。RRパケット32を受信した映像ストリームのリストと、一部の映像ストリームがシェーピングされている状態を示したものである。なお、映像ストリームの特定には、SSRCだけでなく、映像ストリームの発信IPアドレスと宛先IPアドレス、およびRRパケットの発信IPアドレスと宛先IPアドレスによって特定してもよい。   FIG. 3 is a diagram showing a configuration example of the table 91 according to Embodiment 1 of the present invention. It shows a list of video streams that have received the RR packet 32 and a state in which some video streams are shaped. Note that the video stream may be specified by not only the SSRC but also the source IP address and destination IP address of the video stream, and the source IP address and destination IP address of the RR packet.

次に、映像受信端末41の受信バッファ42でRTPパケット31があふれた場合の動作について説明する。図4は、本発明の実施の形態1において、映像受信端末41の受信バッファ42でRTPパケット31があふれた状態を示した説明図である。また、図5は、本発明の実施の形態1において、RTPパケット31があふれた状態でのホームゲートウェイ装置1の処理動作に関する説明図である。   Next, an operation when the RTP packet 31 overflows in the reception buffer 42 of the video reception terminal 41 will be described. FIG. 4 is an explanatory diagram showing a state where the RTP packet 31 overflows in the reception buffer 42 of the video reception terminal 41 in Embodiment 1 of the present invention. FIG. 5 is an explanatory diagram relating to the processing operation of the home gateway device 1 in a state where the RTP packet 31 overflows in the first embodiment of the present invention.

図5において、映像受信端末41は、あふれたRTPパケット31の個数Pとストリーム識別子SをRRパケット32に設定し、RRパケット32をホームゲートウェイ装置1へ送信する。ホームゲートウェイ装置1にてRRパケット32が受信されると、RTCP監視機能部72は、廃棄率P1を計算し、RTP識別機能部62に通知する。   In FIG. 5, the video receiving terminal 41 sets the number P of overflowing RTP packets 31 and the stream identifier S in the RR packet 32, and transmits the RR packet 32 to the home gateway device 1. When the home gateway device 1 receives the RR packet 32, the RTCP monitoring function unit 72 calculates the discard rate P1 and notifies the RTP identification function unit 62 of it.

RTP識別機能部62は、RTCP監視機能部72から通知を受けると、出力レートの下降を判断するための一連の処理を実行する。図6は、本発明の実施の形態1におけるRTP識別機能部62がトラヒック制御機能部64に、バッファ63からの出力レート下降を通知するための一連の処理を示したフローチャートである。   Upon receiving the notification from the RTCP monitoring function unit 72, the RTP identification function unit 62 executes a series of processes for determining a decrease in the output rate. FIG. 6 is a flowchart showing a series of processes for the RTP identification function unit 62 according to the first embodiment of the present invention to notify the traffic control function unit 64 of a decrease in the output rate from the buffer 63.

まず始めに、RTP識別機能部62は、RTCP監視機能部72から識別子Sおよび廃棄率P1を取得し、テーブル91に記録されているデータを更新する(ステップS601)。さらに、RTP識別機能部62は、廃棄率P1があらかじめ設定された閾値Fを超過しているか否かを判断する(ステップS602)。   First, the RTP identification function unit 62 acquires the identifier S and the discard rate P1 from the RTCP monitoring function unit 72, and updates the data recorded in the table 91 (step S601). Further, the RTP identification function unit 62 determines whether or not the discard rate P1 exceeds a preset threshold value F (step S602).

RTP識別機能部62は、ステップS602で廃棄率P1が閾値Fを超過していないと判断した場合には、一連の処理を終了する。一方、RTP識別機能部62は、ステップS602で廃棄率P1が閾値Fを超過していると判断した場合には、ステップS603において、閾値Fを超過した廃棄率P1に対応する映像ストリームをバッファ63から出力させる際の、映像ストリームの出力レート下降をトラヒック制御機能部64に対して通知し、一連の処理を終了する。   If the RTP identification function unit 62 determines in step S602 that the discard rate P1 does not exceed the threshold value F, the series of processing ends. On the other hand, if the RTP identification function unit 62 determines in step S602 that the discard rate P1 exceeds the threshold value F, in step S603, the RTP identification function unit 62 buffers the video stream corresponding to the discard rate P1 exceeding the threshold value F in the buffer 63. When the video stream is output, the traffic control function unit 64 is notified of a decrease in the output rate of the video stream, and the series of processing ends.

出力レート下降を通知するための一連の処理としては、図6のフローチャートに示した処理には限定されない。図7は、本発明の実施の形態1におけるRTP識別機能部62がトラヒック制御機能部64に、バッファ63からの出力レート下降を通知するための一連の処理を示した別のフローチャートである。この図7のフローチャートでは、図6のフローチャートにおけるステップS601とS602の間に、ステップS701、S702の処理をさらに行っている。   The series of processes for notifying the output rate decrease is not limited to the process shown in the flowchart of FIG. FIG. 7 is another flowchart showing a series of processes for the RTP identification function unit 62 according to Embodiment 1 of the present invention to notify the traffic control function unit 64 of a decrease in the output rate from the buffer 63. In the flowchart of FIG. 7, the processes of steps S701 and S702 are further performed between steps S601 and S602 in the flowchart of FIG.

まず始めに、RTP識別機能部62は、RTCP監視機能部72から識別子Sおよび廃棄率P1を取得する(ステップS601)。次に、RTP識別機能部62は、回線61を流れるRTPパケット31のシーケンス番号を取得する(ステップS701)。   First, the RTP identification function unit 62 acquires the identifier S and the discard rate P1 from the RTCP monitoring function unit 72 (step S601). Next, the RTP identification function unit 62 acquires the sequence number of the RTP packet 31 flowing through the line 61 (step S701).

シーケンス番号は、RTPパケット31が1個送信されるたびにインクリメントされていく。従って、RTP識別機能部62は、シーケンス番号抜け回数をカウントすることによって、映像配信サーバ21からホームゲートウェイ装置1までに抜けたRTPパケットの個数、すなわち、映像配信サーバ21からホームゲートウェイ装置1までのRTPパケットの廃棄率P2を特定できる。   The sequence number is incremented every time one RTP packet 31 is transmitted. Therefore, the RTP identification function unit 62 counts the number of missing sequence numbers, thereby counting the number of RTP packets that are lost from the video distribution server 21 to the home gateway device 1, that is, from the video distribution server 21 to the home gateway device 1. The discard rate P2 of RTP packets can be specified.

次に、RTP識別機能部62は、ステップS601で取得した廃棄率P1と、ステップS701で特定した廃棄率P2とを比較する(ステップS702)。廃棄率P1が廃棄率P2以下である場合には、RTP識別機能部62は、トラヒック制御機能部64へバッファ63からの出力レート下降を通知することなく、一連の処理を終了する。   Next, the RTP identification function unit 62 compares the discard rate P1 acquired in step S601 with the discard rate P2 specified in step S701 (step S702). When the discard rate P1 is equal to or less than the discard rate P2, the RTP identification function unit 62 ends the series of processes without notifying the traffic control function unit 64 of a decrease in the output rate from the buffer 63.

一方、廃棄率P1が廃棄率P2よりも大きい場合には、ステップS602に進む。そして、RTP識別機能部62は、先の図6で説明したステップS602、S603の処理を実行する。すなわち、廃棄率P1が、あらかじめ設定された閾値Fを超過している場合には、廃棄率P1に対応する映像ストリームをバッファ63から出力させる際の、映像ストリームの出力レート下降をトラヒック制御機能部64に対して通知し、一連の処理を終了する。   On the other hand, if the discard rate P1 is greater than the discard rate P2, the process proceeds to step S602. Then, the RTP identification function unit 62 executes the processes of steps S602 and S603 described with reference to FIG. That is, when the discard rate P1 exceeds a preset threshold value F, the traffic control function unit indicates a decrease in the output rate of the video stream when the video stream corresponding to the discard rate P1 is output from the buffer 63. 64 is notified, and a series of processing is completed.

先の図5におけるトラヒック制御機能部64は、RTP識別機能部62から通知を受けると、バッファ63から出力されるRTPパケット31をシェーピングしていく。図8は、本発明の実施の形態1におけるトラヒック制御機能部64で行われるRTPパケット31の出力をシェーピングする方法の説明図である。   When receiving the notification from the RTP identification function unit 62, the traffic control function unit 64 in FIG. 5 shapes the RTP packet 31 output from the buffer 63. FIG. 8 is an explanatory diagram of a method of shaping the output of the RTP packet 31 performed by the traffic control function unit 64 according to Embodiment 1 of the present invention.

具体的には、トラヒック制御機能部64は、バッファ63から出力されるRTPパケット31の送出間隔100を、送出間隔101へ伸ばすことによって、RTPパケット31の出力をシェーピングしていく。トラヒック制御機能部64は、RTPパケット31の送出間隔について、各RTPパケットのタイムスタンプをRTP識別機能部62から取得することによって、計測することができる。   Specifically, the traffic control function unit 64 shapes the output of the RTP packet 31 by extending the transmission interval 100 of the RTP packet 31 output from the buffer 63 to the transmission interval 101. The traffic control function unit 64 can measure the transmission interval of the RTP packet 31 by acquiring the time stamp of each RTP packet from the RTP identification function unit 62.

また、映像配信開始前に予約帯域をメッセージとして映像受信端末41が送信している場合には、このメッセージをRTCP監視機能部72が検出し、RTP識別機能部62がこのメッセージを認識することができる。従って、このような場合には、トラヒック制御機能部64は、予約帯域を基準にバッファからの出力をシェーピングしていくこともできる。   If the video receiving terminal 41 transmits the reserved bandwidth as a message before starting the video distribution, the RTCP monitoring function unit 72 detects this message and the RTP identification function unit 62 recognizes this message. it can. Therefore, in such a case, the traffic control function unit 64 can shape the output from the buffer based on the reserved bandwidth.

ここで、バッファ63からのRTPパケットの出力レートを下げるときには、急激に下げてしまうとバッファ63があふれてしまう。そこで、トラヒック制御機能部64は、例えば、図8の右側に示したようなグラフに基づいて、出力レートを制御することができる。   Here, when the output rate of the RTP packet from the buffer 63 is lowered, the buffer 63 overflows if it is suddenly lowered. Therefore, the traffic control function unit 64 can control the output rate based on, for example, a graph as shown on the right side of FIG.

このグラフでは、時間経過とともに、レートの下降量が多くなるように設定されている。例えば、時刻tがt1を経過後t2に達するまでの間は、下降量d1でレートを下げ、時刻tがt2を経過後t3に達するまでの間は、下降量d1よりも大きな下降量d2でさらにレートを下げる様子を示している。   In this graph, the amount of rate decrease is set to increase with time. For example, the rate is decreased by the descent amount d1 until the time t reaches t2 after elapse of t1, and the descent amount d2 larger than the descent amount d1 is elapsed until the time t reaches t3 after elapse of t2. It shows how the rate is further lowered.

次に、このように設定されたグラフを用いた出力レートの下降制御について、フローチャートに基づいて、具体的に説明する。図9は、本発明の実施の形態1におけるトラヒック制御機能部64による出力レートの下降制御を時間経過に沿って示したフローチャートである。まず始めに、トラヒック制御機能部64は、時刻t1から時刻t2までの間に対して、出力レートR1をレート下降量d1分だけ減少させ、RTPパケット31の出力間隔を一時的に調整する(ステップS901)。   Next, the output rate decrease control using the graph set in this way will be specifically described based on a flowchart. FIG. 9 is a flowchart showing the output rate lowering control by the traffic control function unit 64 according to the first embodiment of the present invention as time elapses. First, the traffic control function unit 64 decreases the output rate R1 by the rate decrease d1 from time t1 to time t2, and temporarily adjusts the output interval of the RTP packet 31 (step S1). S901).

ここでのレート下降量d1は、時刻t2から時刻t3までの間に対応するレート下降量d2よりも小さい値である。これにより、RTPパケットの出力レートを急激に下げることによるバッファ63のあふれを防止できる。そして、トラヒック制御機能部64は、時刻t2になるまで待った(ステップS902)後、時刻t2の時点でバッファ63にたまっているRTPパケット数Bを調べる(ステップS903)。   The rate decrease amount d1 here is a value smaller than the corresponding rate decrease amount d2 between time t2 and time t3. As a result, it is possible to prevent the buffer 63 from overflowing due to a sharp decrease in the output rate of RTP packets. The traffic control function unit 64 waits until time t2 (step S902), and then checks the number B of RTP packets accumulated in the buffer 63 at time t2 (step S903).

さらに、トラヒック制御機能部64は、RTPパケット数Bが、バッファ63の最大値に対して余裕があるか否かを判断する(ステップS904)。この判断に当たっては、例えば、バッファ63の最大値の半分を閾値として用いることができる。ステップS904において、RTPパケット数Bがバッファ63の最大値の半分以上であると判断した場合には、トラヒック制御機能部64は、一定時間待って(ステップS902)、再度バッファ63にたまっているRTPパケット数Bを見る(ステップS903)。   Further, the traffic control function unit 64 determines whether or not the number B of RTP packets has a margin with respect to the maximum value of the buffer 63 (step S904). In this determination, for example, half of the maximum value of the buffer 63 can be used as the threshold value. If it is determined in step S904 that the number of RTP packets B is half or more of the maximum value of the buffer 63, the traffic control function unit 64 waits for a certain period of time (step S902), and the RTP accumulated in the buffer 63 again. Look at the number of packets B (step S903).

一方、もし、ステップS904において、RTPパケット数Bがバッファ63の最大値の半分未満であると判断した場合(すなわち、RTPパケット数Bがバッファ63の最大値に比べて相当少ないと判断した場合)には、トラヒック制御機能部64は、時刻t2から時刻t3までの間に対して、RTPパケットの出力レートR1をレート下降量d2分だけさらに減少させ、RTPパケット31の出力間隔100を出力間隔101まで伸ばし、一時的に調整する(ステップS905)。   On the other hand, if it is determined in step S904 that the number of RTP packets B is less than half of the maximum value of the buffer 63 (that is, if the number of RTP packets B is determined to be considerably smaller than the maximum value of the buffer 63). The traffic control function unit 64 further reduces the output rate R1 of the RTP packet by the rate decrease amount d2 from the time t2 to the time t3, and sets the output interval 100 of the RTP packet 31 to the output interval 101. And temporarily adjust (step S905).

ここでのレート下降量d2は、先の時刻t1から時刻t2までの間に対応するレート下降量d1よりも大きい値である。これにより、RTPパケットの出力レートを時刻に伴って徐々に大きく下げることができる。そして、トラヒック制御機能部64は、バッファ63にたまっているRTPパケット数Bを調べる(ステップS906)。   Here, the rate decrease amount d2 is a value larger than the corresponding rate decrease amount d1 between the previous time t1 and time t2. As a result, the output rate of the RTP packet can be gradually lowered with time. Then, the traffic control function unit 64 checks the number B of RTP packets accumulated in the buffer 63 (step S906).

さらに、トラヒック制御機能部64は、RTPパケット数Bが、バッファ63の最大値に対して、まだ余裕があるか否かを判断する(ステップS907)。この判断に当たっては、例えば、バッファ63の最大値の10分の9を閾値として用いることができる。ステップS907において、RTPパケット数Bがバッファ63の9/10以上であると判断した場合(すなわち、最大値に達しそうであると判断した場合)には、トラヒック制御機能部64は、バッファ63の最大量を動的に増やして(ステップS908)、バッファ63がRTPパケットであふれないようにしておく。   Further, the traffic control function unit 64 determines whether or not the number B of RTP packets is still sufficient with respect to the maximum value of the buffer 63 (step S907). In this determination, for example, 9/10 of the maximum value of the buffer 63 can be used as the threshold value. In step S907, when it is determined that the number B of RTP packets is 9/10 or more of the buffer 63 (that is, when it is determined that the maximum value is likely to be reached), the traffic control function unit 64 stores the buffer 63 in the buffer 63. The maximum amount is dynamically increased (step S908) so that the buffer 63 does not overflow with RTP packets.

なお、バッファ63がRTPパケットであふれないようにするための方法としては、バッファ63の最大量を動的に増やす手段に限定される必要はなく、レート下降量を見直すことで実現してもよい。   Note that the method for preventing the buffer 63 from overflowing with RTP packets is not limited to means for dynamically increasing the maximum amount of the buffer 63, and may be realized by reviewing the rate decrease amount. .

一方、ステップS907において、RTPパケット数Bがバッファ63の最大値の9/10未満であると判断した場合(すなわち、RTPパケット数Bがバッファ63の最大値に達しそうにないと判断した場合)、あるいはステップS908において、バッファ63の最大量を動的に増やした後に、トラヒック制御機能部64は、時刻t3になるまで待った後(ステップS909)、時刻t3の時点で、テーブル91から廃棄率P1を取得する。   On the other hand, when it is determined in step S907 that the number of RTP packets B is less than 9/10 of the maximum value of the buffer 63 (that is, when it is determined that the number of RTP packets B is unlikely to reach the maximum value of the buffer 63). Alternatively, after dynamically increasing the maximum amount of the buffer 63 in step S908, the traffic control function unit 64 waits until time t3 (step S909), and then at the time t3, the discard rate P1 from the table 91 is reached. To get.

さらに、トラヒック制御機能部64は、廃棄率P1が所定の閾値F未満であるか否かを判断する(ステップS911)。ステップS911において、廃棄率P1が所定の閾値F未満であると判断した場合には、トラヒック制御機能部64は、シェーピングを停止し、出力レートR1の一連の下降処理を終了する。   Further, the traffic control function unit 64 determines whether or not the discard rate P1 is less than a predetermined threshold value F (step S911). If it is determined in step S911 that the discard rate P1 is less than the predetermined threshold F, the traffic control function unit 64 stops shaping and ends a series of processes for decreasing the output rate R1.

一方、ステップS911において、廃棄率P1が所定の閾値F以上であると判断した場合には、トラヒック制御機能部64は、ステップS905以降の処理を繰り返すことにより、引き続き、出力レートが下降するようにRTPパケット31の出力間隔を伸ばしていく。   On the other hand, when it is determined in step S911 that the discard rate P1 is greater than or equal to the predetermined threshold F, the traffic control function unit 64 repeats the processing from step S905 so that the output rate continues to decrease. The output interval of the RTP packet 31 is increased.

なお、一連のレート下降処理は、バッファ63にたまるRTPパケット31があふれなければよく、図8に示したレート制御、および図9に示した一連のレート下降処理310に限定される必要はない。図10は、本発明の実施の形態1におけるトラヒック制御機能部64で行われるRTPパケット31の出力をシェーピングする別の方法の説明図である。   It should be noted that the series of rate lowering processes need not be limited to the rate control shown in FIG. 8 and the series of rate lowering processes 310 shown in FIG. 9 as long as the RTP packet 31 accumulated in the buffer 63 does not overflow. FIG. 10 is an explanatory diagram of another method for shaping the output of the RTP packet 31 performed by the traffic control function unit 64 according to Embodiment 1 of the present invention.

図10に示すように、時刻t1からt2に対応するレート下降量d1と、時刻t2からt3に対応するレート下降量d2とを同じ値にして、徐々に一定量毎にレートを下降させる方法を取ることもできる。また、図9の一連の処理において、ステップS901〜S904の処理を省略し、出力レートの下げ幅をヒステリシスに変動させない代わりに、バッファ63にためるRTPパケット31の量を自動的に増やす方法を取ることもできる。   As shown in FIG. 10, there is a method in which the rate decrease amount d1 corresponding to the time t1 to t2 and the rate decrease amount d2 corresponding to the time t2 to t3 are set to the same value, and the rate is gradually decreased by a certain amount. It can also be taken. Further, in the series of processes shown in FIG. 9, the process of steps S901 to S904 is omitted, and instead of changing the output rate decrease width to hysteresis, a method of automatically increasing the amount of RTP packets 31 accumulated in the buffer 63 is adopted. You can also

次に、上述した一連のレート下降処理を実施してRTPパケットの廃棄がなくなった後に行われるレート上昇処理について説明する。先の図5におけるトラヒック制御機能部64は、このレート上昇処理を実施することにより、RTPパケットの出力間隔を徐々に縮めていくことになる。   Next, a rate increase process performed after the above-described series of rate decrease processes is performed and no RTP packet is discarded will be described. The traffic control function unit 64 shown in FIG. 5 gradually reduces the output interval of RTP packets by performing this rate increase process.

図11は、本発明の実施の形態1におけるトラヒック制御機能部64で行われるRTPパケット31の出力レートを上昇させる方法の説明図である。トラヒック制御機能部64は、図10に示したようなグラフに基づいて、例えば、時刻t4から時刻t5の間に、レート上昇量i1分だけ出力レートを上昇させることができる。   FIG. 11 is an explanatory diagram of a method for increasing the output rate of the RTP packet 31 performed by the traffic control function unit 64 according to the first embodiment of the present invention. The traffic control function unit 64 can increase the output rate by the rate increase amount i1 between time t4 and time t5, for example, based on the graph as shown in FIG.

そこで、このように設定されたグラフを用いた出力レートの上昇制御について、フローチャートに基づいて、具体的に説明する。図12は、本発明の実施の形態1におけるトラヒック制御機能部64による出力レートの上昇制御を時間経過に沿って示したフローチャートである。まず始めに、トラヒック制御機能部64は、時刻t4から時刻t5までの間に対して、出力レートR1をレート上昇量i1分だけ増加させ、RTPパケット31の出力間隔を一時的に調整する(ステップS1201)。   Therefore, the output rate increase control using the graph set in this way will be specifically described based on a flowchart. FIG. 12 is a flowchart showing the output rate increase control by the traffic control function unit 64 according to the first embodiment of the present invention as time elapses. First, the traffic control function unit 64 increases the output rate R1 by the rate increase amount i1 from time t4 to time t5, and temporarily adjusts the output interval of the RTP packet 31 (step S1). S1201).

そして、トラヒック制御機能部64は、一定時間待った(ステップS1202)後に、テーブル91から廃棄率P1を取得する(ステップS1203)。さらに、トラヒック制御機能部64は、取得した廃棄率P1が所定の閾値未満であるか否かを判断する(ステップS1204)。ステップS1204において、廃棄率P1が所定の閾値F以上であると判断した場合には、トラヒック制御機能部64は、レート上昇を停止し、一連のレート上昇処理を終了する。   The traffic control function unit 64 waits for a predetermined time (step S1202), and then acquires the discard rate P1 from the table 91 (step S1203). Further, the traffic control function unit 64 determines whether or not the acquired discard rate P1 is less than a predetermined threshold value (step S1204). If it is determined in step S1204 that the discard rate P1 is greater than or equal to the predetermined threshold F, the traffic control function unit 64 stops rate increase and ends a series of rate increase processing.

一方、ステップS1204において、廃棄率P1が所定の閾値F未満であると判断した場合には、トラヒック制御機能部64は、先のステップS1201でレート上昇量i1分だけ増加された現在の出力レートR1が、元のレートと等しいか否かを判断する(ステップS1205)。   On the other hand, when it is determined in step S1204 that the discard rate P1 is less than the predetermined threshold value F, the traffic control function unit 64 increases the current output rate R1 increased by the rate increase amount i1 in the previous step S1201. Is equal to the original rate (step S1205).

そして、ステップS1205において、現在の出力レートR1が元のレートと等しい場合には、トラヒック制御機能部64は、レート上昇を停止し、一連のレート上昇処理を終了する。一方、ステップS1205において、現在の出力レートR1が元のレートと等しくない場合(すなわち、現在の出力レートが元の出力レートまで戻っていない場合)には、トラヒック制御機能部64は、ステップS1201以降の処理を繰り返し、元のレートに戻るまで段階的にRTPパケット出力間隔を縮めて、レートを徐々に上昇させていく。   In step S1205, when the current output rate R1 is equal to the original rate, the traffic control function unit 64 stops rate increase and ends a series of rate increase processing. On the other hand, when the current output rate R1 is not equal to the original rate in step S1205 (that is, when the current output rate has not returned to the original output rate), the traffic control function unit 64 performs step S1201 and subsequent steps. This process is repeated, and the RTP packet output interval is gradually reduced until the original rate is restored, and the rate is gradually increased.

なお、RTPパケットの出力レート下降開始から上昇終了までの間(より具体的には、図8の時刻t1から、図11の時刻t6までの間)に、次に示す処理を行ってもよい。時刻t1において、RTP識別機能部62がレート下降開始をトラヒック制御機能部64にメッセージ82で通知したとき、RTCP監視機能部72にRTPパケット31のレート制御中の通知をメッセージ83で行う(図5参照)。   It should be noted that the following processing may be performed from the start of lowering the output rate of the RTP packet to the end of rising (more specifically, from time t1 in FIG. 8 to time t6 in FIG. 11). At time t1, when the RTP identification function unit 62 notifies the traffic control function unit 64 of the start of rate reduction using the message 82, the RTCP monitoring function unit 72 is notified of the rate control of the RTP packet 31 using the message 83 (FIG. 5). reference).

RTCP監視機能部72は、メッセージ83による通知を受けると、映像受信端末41から受信したRRパケット32を終端するか、または、RRパケット32の廃棄パケット数をゼロに書き換え、通信制御部2に転送する。   Upon receiving the notification by the message 83, the RTCP monitoring function unit 72 terminates the RR packet 32 received from the video receiving terminal 41, or rewrites the number of discarded packets of the RR packet 32 to zero and transfers it to the communication control unit 2 To do.

そして、時刻t6において、レート上昇が終了したとき、トラヒック制御機能部64は、メッセージ84にて終了をRTP識別機能部62に通知し、RTP識別機能部62は、メッセージ83を用いて、レート上昇終了をRTCP監視機能部72に通知する(図5参照)。RTCP監視機能部72は、メッセージ83によるレート上昇終了の通知を受けると、RRパケットの処理を停止する。以上の処理によって、映像配信サーバ21によるレート制御の競合を防ぎ、映像受信端末41での配信レートを上げることが可能となる。   When the rate increase ends at time t6, the traffic control function unit 64 notifies the RTP identification function unit 62 of the end with a message 84, and the RTP identification function unit 62 uses the message 83 to increase the rate. The end is notified to the RTCP monitoring function unit 72 (see FIG. 5). The RTCP monitoring function unit 72 stops the processing of the RR packet when receiving the notification of the rate increase end by the message 83. Through the above processing, it is possible to prevent contention of rate control by the video distribution server 21 and increase the distribution rate at the video receiving terminal 41.

以上のように、実施の形態1によれば、宅内に接続される映像受信端末から送信される受信レポートから、映像受信端末に起因する映像ストリームの廃棄を検出し、映像ストリームの出力をシェーピングすることができる。これにより、IPネットワークの輻輳状態によらず、映像受信端末のバッファあふれを防ぎ、受信映像の品質向上を可能とするホームゲートウェイ装置およびホームゲートウェイ装置の通信品質制御方法を得ることができる。   As described above, according to the first embodiment, the discard of the video stream caused by the video receiving terminal is detected from the reception report transmitted from the video receiving terminal connected to the home, and the output of the video stream is shaped. be able to. Accordingly, it is possible to obtain a home gateway device and a communication quality control method for the home gateway device that can prevent the buffer overflow of the video receiving terminal and improve the quality of the received video regardless of the congestion state of the IP network.

実施の形態2.
先の実施の形態1では、シェーピングをするとき、RTPパケット31の出力レートをホームゲートウェイ装置1が自律的に制御する場合について説明した。これに対して、本実施の形態2では、外部ネットワーク11の中継機器に対してシェーピングを指示する場合について説明する。図13は、本発明の実施の形態2におけるホームゲートウェイ装置1を含むネットワーク構成を示した図である。
Embodiment 2. FIG.
In the first embodiment, the case where the home gateway apparatus 1 autonomously controls the output rate of the RTP packet 31 when shaping is described. On the other hand, in the second embodiment, a case in which shaping is instructed to the relay device of the external network 11 will be described. FIG. 13 is a diagram showing a network configuration including the home gateway device 1 according to the second embodiment of the present invention.

本実施の形態2において、次の2つの手順は、基本的には、先の実施の形態1の手順と同じである。
手順1)ホームゲートウェイ装置1が映像受信端末41からRRパケット32を受信し、RRパケット32から計算されるRTPパケット31の廃棄率が閾値Fを上回った場合に、RTPパケット31のシェーピングを行う手順
手順2)出力レート下降後、廃棄率が閾値Fを下回った場合に、RTPパケット31のシェーピングをゆるめる手順
In the second embodiment, the following two procedures are basically the same as those in the first embodiment.
Procedure 1) The procedure of shaping the RTP packet 31 when the home gateway device 1 receives the RR packet 32 from the video receiving terminal 41 and the discard rate of the RTP packet 31 calculated from the RR packet 32 exceeds the threshold F. Procedure 2) Procedure for loosening shaping of the RTP packet 31 when the discard rate falls below the threshold F after the output rate is lowered

ただし、本実施の形態2では、シェーピングをするときの方法が先の実施の形態1とは異なっている。先の実施の形態1では、上述したように、RTPパケット31の出力レートをホームゲートウェイ装置1が自律的に制御していた。   However, in the second embodiment, the method for shaping is different from the first embodiment. In the first embodiment, as described above, the home gateway device 1 autonomously controls the output rate of the RTP packet 31.

これに対して、本実施の形態2では、RTPパケットのシェーピングを行うために、ホームゲートウェイ装置1は、図13に示すように、外部ネットワーク11にあるSIPサーバ51に対して、中継機器15を介してSIPメッセージを用いて出力レートを通知することで、シェーピングを指示している。   On the other hand, in the second embodiment, in order to perform shaping of the RTP packet, the home gateway device 1 connects the relay device 15 to the SIP server 51 in the external network 11 as shown in FIG. Through the SIP message, the output rate is notified to instruct shaping.

図13では、ホームゲートウェイ装置1の内部構成を記載していないが、先の図2あるいは図5と同じ構成を有している。そして、ホームゲートウェイ装置1内の通信制御部およびパケット送受信部3が、外部制御部として機能し、外部ネットワーク11上の各機器と通信を行うこととなる。   Although the internal configuration of the home gateway device 1 is not shown in FIG. 13, it has the same configuration as that of FIG. 2 or FIG. Then, the communication control unit and the packet transmission / reception unit 3 in the home gateway device 1 function as an external control unit, and communicate with each device on the external network 11.

本実施の形態2におけるホームゲートウェイ装置1は、映像受信端末41でバッファあふれが発生した場合に、SIP UPDATEメッセージ33に独自の属性(シェーピングレート)を設定する。そして、外部ネットワーク11内のSIPサーバ51に、このSIP UPDATEメッセージ33を通知する。   The home gateway device 1 according to the second embodiment sets a unique attribute (shaping rate) in the SIP UPDATE message 33 when a buffer overflow occurs in the video receiving terminal 41. Then, the SIP UPDATE message 33 is notified to the SIP server 51 in the external network 11.

SIPサーバ51は、ホームゲートウェイ装置1からSIP UPDATEメッセージ33を受けると、SIPメッセージ34を用いて、中継機器14、15に対してRTPパケットの出力レート制御をおこなうように通知する。中継機器14、15は、SIPメッセージ34による通知を受けると、出力されるRTPパケット31のレートのシェーピングを行う。   When the SIP UPDATE message 33 is received from the home gateway device 1, the SIP server 51 notifies the relay devices 14 and 15 to control the output rate of the RTP packet using the SIP message 34. When receiving the notification by the SIP message 34, the relay devices 14 and 15 shape the rate of the RTP packet 31 to be output.

同様に、映像受信端末41でバッファあふれがなくなった場合には、ホームゲートウェイ装置1は、出力レートを元に戻すためのシェーピングレートをSIP UPDATEメッセージ33に設定の上、SIPサーバ51へ通知する。そして、通知を受けたSIPサーバ51は、中継機器14、15にSIPメッセージ34を通知する。この結果、中継機器14、15にてシェーピングが行われる。   Similarly, when there is no buffer overflow in the video receiving terminal 41, the home gateway device 1 sets the shaping rate for returning the output rate in the SIP UPDATE message 33 and notifies the SIP server 51 of it. Then, the SIP server 51 that has received the notification notifies the relay devices 14 and 15 of the SIP message 34. As a result, shaping is performed in the relay devices 14 and 15.

以上のように、実施の形態2によれば、ホームゲートウェイ装置から外部ネットワーク内のSIPサーバに対して、出力レート制御を行うためのメッセージを通知する構成を備えている。このような構成をとることにより、RTPパケットの出力レートをホームゲートウェイ装置が自律的に制御するのではなく、外部ネットワーク内の中継機器でRTPパケットのレートのシェーピングを行うことができる。   As described above, according to the second embodiment, the home gateway device is configured to notify the SIP server in the external network of a message for performing output rate control. By adopting such a configuration, the RTP packet output rate can be shaped by a relay device in the external network, rather than the home gateway device autonomously controlling the output rate of the RTP packet.

実施の形態3.
本実施の形態3では、先の実施の形態2と同様に、外部ネットワーク11の中継機器に対してシェーピングを指示する際に、帯域予約機能を適用する場合について説明する。図14は、本発明の実施の形態3におけるホームゲートウェイ装置1を含むネットワーク構成を示した図である。
Embodiment 3 FIG.
In the third embodiment, as in the second embodiment, a case where the bandwidth reservation function is applied when shaping is instructed to the relay device of the external network 11 will be described. FIG. 14 is a diagram showing a network configuration including the home gateway device 1 according to Embodiment 3 of the present invention.

この図14の構成においては、ホームゲートウェイ装置1、映像配信サーバ21、および外部ネットワーク11内の中継機器16、17が帯域予約機能とシェーピングをサポートする。すなわち、図14は、各機器で帯域予約機能をサポートしているネットワーク環境を示したものである。   In the configuration of FIG. 14, the home gateway device 1, the video distribution server 21, and the relay devices 16 and 17 in the external network 11 support the bandwidth reservation function and shaping. That is, FIG. 14 shows a network environment in which each device supports the bandwidth reservation function.

帯域予約機能を備えた帯域予約対応中継機器16、17は、帯域予約を維持するためのシグナリングを利用して、RTPパケットのシェーピングを制御するものである。なお、シェーピングの判断手法は、先の実施の形態1と同様である。   The bandwidth reservation supporting relay devices 16 and 17 having the bandwidth reservation function control the shaping of the RTP packet by using signaling for maintaining the bandwidth reservation. Note that the shaping determination method is the same as in the first embodiment.

次に、図14のネットワーク構成における動作について説明する。まず、映像配信サーバ21は、帯域予約を維持するための確認メッセージ52をホームゲートウェイ装置1に送信する。ホームゲートウェイ装置1に送信されるまでに、外部ネットワーク11内の中継機器16、17は、確認メッセージ52を受信し、帯域予約に備えておく。   Next, the operation in the network configuration of FIG. 14 will be described. First, the video distribution server 21 transmits a confirmation message 52 for maintaining the bandwidth reservation to the home gateway device 1. Before being transmitted to the home gateway apparatus 1, the relay devices 16 and 17 in the external network 11 receive the confirmation message 52 and prepare for bandwidth reservation.

そして、ホームゲートウェイ装置1は、確認メッセージ52を受け取ると、確保したいリソースの情報(帯域、クラスなど)を決定する。さらに、ホームゲートウェイ装置1は、決定したリソース情報を、帯域予約を維持する応答メッセージ53に追加し、応答メッセージ53を上流の中継機器17へ送信する。   When the home gateway device 1 receives the confirmation message 52, the home gateway device 1 determines information (bandwidth, class, etc.) of the resource to be secured. Further, the home gateway device 1 adds the determined resource information to the response message 53 for maintaining the bandwidth reservation, and transmits the response message 53 to the upstream relay device 17.

中継機器17は、応答メッセージ53を受信すると、応答メッセージ53に設定された情報に従って帯域を予約する。さらに、中継機器17は、応答メッセージ53をさらに上流の中継機器16へ伝達する。このような流れで、応答メッセージ53は、最終的に映像配信サーバ21まで到達し、帯域予約が完了する。帯域予約をサポートする外部ネットワーク11では、以上の動作を定期的に繰り返している。   When receiving the response message 53, the relay device 17 reserves a bandwidth according to the information set in the response message 53. Further, the relay device 17 transmits the response message 53 to the upstream relay device 16. In this flow, the response message 53 finally reaches the video distribution server 21 and the bandwidth reservation is completed. In the external network 11 that supports bandwidth reservation, the above operation is repeated periodically.

一方、映像受信端末41でバッファあふれが発生したことをホームゲートウェイ装置1が検出した場合には、RTPパケットの出力をシェーピングする際に次の動作を行うこととなる。映像受信端末41でのバッファあふれを検出したホームゲートウェイ装置1は、応答メッセージ53に中継機器16、17でシェーピングを実施する新たな属性と、シェーピングレートを追加する。そして、ホームゲートウェイ装置1は、必要な情報が追加された応答メッセージ53を、外部ネットワーク11へ送信する。   On the other hand, when the home gateway device 1 detects that the buffer overflow has occurred in the video receiving terminal 41, the following operation is performed when shaping the output of the RTP packet. The home gateway device 1 that has detected a buffer overflow at the video receiving terminal 41 adds a new attribute for shaping by the relay devices 16 and 17 and a shaping rate to the response message 53. Then, the home gateway device 1 transmits a response message 53 to which necessary information is added to the external network 11.

外部ネットワーク11にある中継機器17は、この応答メッセージ53に示された情報を見て、シェーピングを実施する属性が有為に設定されていれば、シェーピングに必要なリソースを確保する。さらに、中継機器17は、応答メッセージ53に記されたシェーピングレートに従って、RTPパケットの出力をシェーピングしていき、応答メッセージ53を、さらに上流の中継機器16や映像配信サーバ21へ伝達していく。   The relay device 17 in the external network 11 looks at the information shown in the response message 53 and, if the attribute for performing shaping is set to be significant, secures resources necessary for shaping. Further, the relay device 17 shapes the output of the RTP packet in accordance with the shaping rate described in the response message 53, and transmits the response message 53 to the upstream relay device 16 and the video distribution server 21.

この動作を繰り返しながら映像配信サーバ21まで応答メッセージ53が伝達されていくことで帯域制御が完了し、映像受信端末41でのバッファあふれを抑えることが可能となる。   By repeating this operation and transmitting the response message 53 to the video distribution server 21, the bandwidth control is completed, and buffer overflow at the video receiving terminal 41 can be suppressed.

また、上述のような一連の処理を行った結果、バッファあふれが抑えられたのをホームゲートウェイ装置1が確認した場合には、次のようにして、シェーピングレートを上昇させる。まず、ホームゲートウェイ装置1は、バッファあふれが抑えられたことを確認すると、シェーピングレートを上昇させるようにレートを計算する。そして、ホームゲートウェイ装置1は、応答メッセージ53のシェーピング属性を有為に設定し、計算後のシェーピングレートを応答メッセージ53に設定し、上流の中継機器17へ伝達する。   When the home gateway apparatus 1 confirms that the buffer overflow has been suppressed as a result of performing the series of processes as described above, the shaping rate is increased as follows. First, when it is confirmed that the buffer overflow is suppressed, the home gateway device 1 calculates a rate so as to increase the shaping rate. Then, the home gateway apparatus 1 sets the shaping attribute of the response message 53 to be significant, sets the calculated shaping rate in the response message 53, and transmits it to the upstream relay device 17.

そして、上流の中継機器17は、応答メッセージ53を見て、シェーピングに必要なリソースを確保し、RTPパケットのシェーピングレートを徐々に上げる。また、中継機器17は、さらに上流の中継機器16へ応答メッセージ53を伝達し、最終的に映像配信サーバ21まで応答メッセージ53が伝達される。この応答メッセージ53が映像配信サーバ21に伝達された時点で、帯域制御が完了し、映像品質の向上が可能となる。   Then, the upstream relay device 17 sees the response message 53, secures resources necessary for shaping, and gradually increases the shaping rate of the RTP packet. Further, the relay device 17 transmits the response message 53 to the further upstream relay device 16, and finally the response message 53 is transmitted to the video distribution server 21. When this response message 53 is transmitted to the video distribution server 21, the bandwidth control is completed, and the video quality can be improved.

以上のように、実施の形態3によれば、各機器で帯域予約機能をサポートできるネットワーク環境を備えている。このような構成をとることにより、帯域予約を行いながら、映像受信端末での受信バッファあふれを防ぎ、映像受信端末に対して高品質な映像を提供することが可能となる。   As described above, according to the third embodiment, each device has a network environment that can support the bandwidth reservation function. By adopting such a configuration, it is possible to prevent the reception buffer from overflowing at the video receiving terminal while providing bandwidth reservation and to provide high quality video to the video receiving terminal.

本発明の実施の形態1におけるホームゲートウェイ装置を含むネットワーク構成を示した図である。It is the figure which showed the network structure containing the home gateway apparatus in Embodiment 1 of this invention. 本発明の実施の形態1におけるホームゲートウェイ装置の基本形態における構成図である。It is a block diagram in the basic form of the home gateway apparatus in Embodiment 1 of this invention. 本発明の実施の形態1におけるテーブルの構成例を示した図である。It is the figure which showed the structural example of the table in Embodiment 1 of this invention. 本発明の実施の形態1において、映像受信端末の受信バッファでRTPパケットがあふれた状態を示した説明図である。In Embodiment 1 of this invention, it is explanatory drawing which showed the state with which the RTP packet overflowed in the receiving buffer of the video receiving terminal. 本発明の実施の形態1において、RTPパケットがあふれた状態でのホームゲートウェイ装置の処理動作に関する説明図である。In Embodiment 1 of this invention, it is explanatory drawing regarding the processing operation of the home gateway apparatus in the state where the RTP packet overflowed. 本発明の実施の形態1におけるRTP識別機能部がトラヒック制御機能部に、バッファからの出力レート下降を通知するための一連の処理を示したフローチャートである。It is the flowchart which showed a series of processes for the RTP identification function part in Embodiment 1 of this invention to notify the traffic control function part of the output rate fall from a buffer. 本発明の実施の形態1におけるRTP識別機能部がトラヒック制御機能部に、バッファからの出力レート下降を通知するための一連の処理を示した別のフローチャートである。It is another flowchart which showed a series of processes for the RTP identification function part in Embodiment 1 of this invention to notify the traffic control function part of the output rate fall from a buffer. 本発明の実施の形態1におけるトラヒック制御機能部で行われるRTPパケットの出力をシェーピングする方法の説明図である。It is explanatory drawing of the method of shaping the output of the RTP packet performed in the traffic control function part in Embodiment 1 of this invention. 本発明の実施の形態1におけるトラヒック制御機能部による出力レートの下降制御を時間経過に沿って示したフローチャートである。It is the flowchart which showed the fall control of the output rate by the traffic control function part in Embodiment 1 of this invention along time passage. 本発明の実施の形態1におけるトラヒック制御機能部で行われるRTPパケットの出力をシェーピングする別の方法の説明図である。It is explanatory drawing of another method which shapes the output of the RTP packet performed in the traffic control function part in Embodiment 1 of this invention. 本発明の実施の形態1におけるトラヒック制御機能部で行われるRTPパケットの出力レートを上昇させる方法の説明図である。It is explanatory drawing of the method to raise the output rate of the RTP packet performed in the traffic control function part in Embodiment 1 of this invention. 本発明の実施の形態1におけるトラヒック制御機能部による出力レートの上昇制御を時間経過に沿って示したフローチャートである。It is the flowchart which showed the raise control of the output rate by the traffic control function part in Embodiment 1 of this invention along time passage. 本発明の実施の形態2におけるホームゲートウェイ装置を含むネットワーク構成を示した図である。It is the figure which showed the network structure containing the home gateway apparatus in Embodiment 2 of this invention. 本発明の実施の形態3におけるホームゲートウェイ装置を含むネットワーク構成を示した図である。It is the figure which showed the network structure containing the home gateway apparatus in Embodiment 3 of this invention. 従来技術におけるRTPパケットの廃棄の様子を示した説明図である。It is explanatory drawing which showed the mode of discard of the RTP packet in a prior art. 従来技術におけるRTPパケットの廃棄の様子を示した説明図である。It is explanatory drawing which showed the mode of discard of the RTP packet in a prior art.

符号の説明Explanation of symbols

1 ホームゲートウェイ装置、2 通信制御部、3、4 パケット送受信部、11 外部ネットワーク、12 ホームネットワーク、14、15 中継機器、16、17 帯域予約対応中継機器、21 映像配信サーバ、41 映像受信端末、42 受信バッファ、51 SIPサーバ、61 回線、62 RTP識別機能部、63 バッファ、64 トラヒック制御機能部、71 回線、72 RTCP監視機能部。   DESCRIPTION OF SYMBOLS 1 Home gateway apparatus, 2 Communication control part, 3, 4 Packet transmission / reception part, 11 External network, 12 Home network, 14, 15 Relay equipment, 16, 17 Band reservation compatible relay equipment, 21 Video distribution server, 41 Video receiving terminal, 42 reception buffer, 51 SIP server, 61 line, 62 RTP identification function part, 63 buffer, 64 traffic control function part, 71 line, 72 RTCP monitoring function part.

Claims (10)

外部ネットワークに接続された映像配信サーバからホームネットワークに接続された映像受信端末へ映像ストリームを送信する際に、前記外部ネットワークおよび前記ホームネットワークとの通信を中継するホームゲートウェイ装置であって、
前記映像受信端末から前記映像配信サーバへ定期的に送信される映像ストリーム受信結果パケットを監視し、前記映像ストリーム受信結果パケットに含まれる前記映像受信端末で受信された映像ストリームを特定するための第1の識別子、受信パケット数、および廃棄パケット数を取得し、前回取得したデータと今回取得したデータから廃棄率を算出するRTCP監視機能部と、
前記映像受信端末へ映像ストリームを送信するために前記映像配信サーバから連続して送信されるRTPパケットを一時的にバッファリングするバッファと、
前記RTPパケットを監視し、前記RTPパケットに対応する映像ストリームを特定するための第2の識別子を取得するとともに、前記RTCP監視機能部から前記第1の識別子および前記廃棄率を取得し、前記第1の識別子と前記第2の識別子が一致することにより前記廃棄率を現在送信中のRTPパケットの廃棄率と特定し、特定した前記廃棄率が所定閾値以上のときは、前記バッファから前記映像受信端末へ送信されるRTPパケットの出力レートを下降させる通知を出力するRTP識別機能部と、
前記出力レートを下降させる通知および前記廃棄率を受け取り、前記廃棄率に応じて、前記バッファから前記映像受信端末へ送信されるRTPパケットの出力レートをシェーピングするトラヒック制御機能部と
を備えることを特徴とするホームゲートウェイ装置。
When transmitting a video stream from a video distribution server connected to an external network to a video receiving terminal connected to a home network, the home gateway device relays communication with the external network and the home network,
A video stream reception result packet periodically transmitted from the video reception terminal to the video distribution server is monitored, and a video stream received by the video reception terminal included in the video stream reception result packet is specified. An RTCP monitoring function unit that obtains an identifier of 1, the number of received packets, and the number of discarded packets, and calculates a discard rate from the previously acquired data and the currently acquired data
A buffer for temporarily buffering RTP packets continuously transmitted from the video distribution server in order to transmit a video stream to the video receiving terminal;
The RTP packet is monitored, a second identifier for specifying a video stream corresponding to the RTP packet is acquired, the first identifier and the discard rate are acquired from the RTCP monitoring function unit, and the first When the identifier of 1 and the second identifier match, the discard rate is identified as the discard rate of the currently transmitted RTP packet. When the identified discard rate is equal to or greater than a predetermined threshold, the video reception from the buffer An RTP identification function unit for outputting a notification for lowering the output rate of the RTP packet transmitted to the terminal;
A traffic control function unit which receives the notification for decreasing the output rate and the discard rate, and shapes an output rate of an RTP packet transmitted from the buffer to the video receiving terminal according to the discard rate. A home gateway device.
請求項1に記載のホームゲートウェイ装置において、
前記RTP識別機能部は、前記出力レートを下降させる通知を出力した後に、RTPパケットの廃棄率と特定した値が前記所定閾値未満となった場合には、出力レートを上昇させる通知を出力し、
前記トラヒック制御機能部は、前記出力レートを上昇させる通知前記廃棄率を受け取り、前記廃棄率に応じて、前記バッファから前記映像受信端末へ送信されるRTPパケットの出力レートを上昇させる
ことを特徴とするホームゲートウェイ装置。
The home gateway device according to claim 1,
The RTP identification function unit outputs a notification for increasing the output rate when the RTP packet discard rate and the specified value are less than the predetermined threshold after outputting the notification for decreasing the output rate,
The traffic control function unit receives the notification of the discard rate for increasing the output rate, and increases the output rate of the RTP packet transmitted from the buffer to the video receiving terminal according to the discard rate. Home gateway device.
請求項1または2に記載のホームゲートウェイ装置において、
前記トラヒック制御機能部は、前記バッファにたまっているRTPパケット数を確認し、前記RTPパケット数が前記バッファの最大量を超過しないように、前記バッファにたまっているRTPパケット数および前記廃棄率に応じて前記出力レートをシェーピングすることを特徴とするホームゲートウェイ装置。
In the home gateway apparatus according to claim 1 or 2,
The traffic control function unit confirms the number of RTP packets accumulated in the buffer, and sets the number of RTP packets accumulated in the buffer and the discard rate so that the number of RTP packets does not exceed the maximum amount of the buffer. A home gateway device characterized by shaping the output rate accordingly.
請求項1ないし3のいずれか1項に記載のホームゲートウェイ装置において、
前記RTCP監視機能部は、前記RTP識別機能部から前記出力レートの下降処理中あるいは上昇処理中である通知を受け取り、前記通知を受け取った場合には、算出した廃棄率をゼロに書き換えて外部ネットワークへ転送する、または前記映像ストリーム受信結果パケットを終端することを特徴とするホームゲートウェイ装置。
In the home gateway apparatus according to any one of claims 1 to 3,
The RTCP monitoring function unit receives a notification indicating that the output rate is being decreased or increased from the RTP identification function unit, and when the notification is received, rewrites the calculated discard rate to zero to create an external network A home gateway apparatus characterized in that the video stream reception result packet is terminated or transferred to the home gateway apparatus.
請求項1ないし4のいずれか1項に記載のホームゲートウェイ装置において、
前記RTP識別機能部は、順次流れているRTPパケットのシーケンス番号を監視し、シーケンス番号抜け回数をカウントすることにより、前記映像配信サーバから送られてくるRTPパケットの廃棄率を第2の廃棄率として特定し、前記RTCP監視機能部で算出された廃棄率よりも前記第2の廃棄率が大きい場合には、前記出力レートのシェーピングを見合わせることを特徴とするホームゲートウェイ装置。
In the home gateway apparatus according to any one of claims 1 to 4,
The RTP identification function unit monitors a sequence number of sequentially flowing RTP packets, and counts the number of missing sequence numbers to obtain a discard rate of RTP packets sent from the video distribution server as a second discard rate. A home gateway device characterized in that when the second discard rate is larger than the discard rate calculated by the RTCP monitoring function unit, the output rate shaping is postponed.
請求項1ないし5のいずれか1項に記載のホームゲートウェイ装置において、
前記RTP識別機能部により特定された前記廃棄率が前記所定閾値以上であり、かつ前記外部ネットワーク内に前記映像配信サーバと前記映像受信端末を結ぶセッションを制御する交換機がある場合には、前記トラヒック制御機能部で設定したシェーピングレートで前記RTPパケットの出力レートを下げるように、前記交換機に対して前記セッションの更新手順を通知する外部制御部をさらに備えることを特徴とするホームゲートウェイ装置。
In the home gateway apparatus according to any one of claims 1 to 5,
When the discard rate specified by the RTP identification function unit is equal to or greater than the predetermined threshold and there is an exchange in the external network that controls a session connecting the video distribution server and the video receiving terminal, the traffic The home gateway apparatus further comprising an external control unit for notifying the exchange of the session update procedure so as to lower the output rate of the RTP packet at a shaping rate set by the control function unit.
請求項6に記載のホームゲートウェイ装置において、
前記外部制御部は、前記出力レートを下げるように通知した後に、前記RTP識別機能部により特定された前記廃棄率が前記所定閾値未満に戻った場合には、出力レートを元に戻すように、前記交換機に対して前記セッションの更新手順を通知することを特徴とするホームゲートウェイ装置。
The home gateway device according to claim 6, wherein
The external control unit, after notifying that the output rate is to be lowered, when the discard rate specified by the RTP identification function unit returns to less than the predetermined threshold, so as to restore the output rate, A home gateway apparatus that notifies the exchange of the session update procedure.
請求項1ないし5のいずれか1項に記載のホームゲートウェイ装置において、
前記RTP識別機能部により特定された前記廃棄率が前記所定閾値以上であり、かつ前記外部ネットワーク上に帯域予約可能な中継機器があり、前記外部ネットワークに接続された前記映像配信サーバとの間で定期的に帯域予約を維持するためのメッセージを交換している場合には、帯域予約維持のための応答メッセージに、出力レートを下げるようにシェーピングレートを追加して送信することで、上流にある中継機器が前記メッセージを受け取ったとき、前記シェーピングレートにて再予約しながら、上流の中継機器へ前記応答メッセージを伝達していくことを可能にさせる外部制御部をさらに備えることを特徴とするホームゲートウェイ装置。
In the home gateway apparatus according to any one of claims 1 to 5,
Between the video distribution server connected to the external network, the discard rate specified by the RTP identification function unit is greater than or equal to the predetermined threshold, and there is a relay device capable of reserving bandwidth on the external network. When a message for maintaining the bandwidth reservation is exchanged periodically, the response message for maintaining the bandwidth reservation is sent by adding a shaping rate so as to lower the output rate. When the relay device receives the message, the home further includes an external control unit that enables the response message to be transmitted to an upstream relay device while re-reserving at the shaping rate. Gateway device.
請求項8に記載のホームゲートウェイ装置において、
前記外部制御部は、前記出力レートを下げる前記応答メッセージを送信した後に、前記RTP識別機能部により特定された前記廃棄率が前記所定閾値未満に戻った場合には、帯域予約維持のための応答メッセージに、出力レートを元に戻すようにシェーピングレートを追加して送信することを特徴とするホームゲートウェイ装置。
The home gateway device according to claim 8, wherein
The external control unit transmits a response message for lowering the output rate, and when the discard rate specified by the RTP identification function unit returns below the predetermined threshold, a response for maintaining a bandwidth reservation A home gateway device, wherein a shaping rate is added to a message so as to return the output rate to its original value and transmitted.
外部ネットワークに接続された映像配信サーバからホームネットワークに接続された映像受信端末へ映像ストリームを送信する際に、前記外部ネットワークおよび前記ホームネットワークとの通信を中継するホームゲートウェイ装置の通信品質制御方法であって、
前記映像受信端末から前記映像配信サーバへ定期的に送信される映像ストリーム受信結果パケットを監視し、前記映像ストリーム受信結果パケットに含まれる前記映像受信端末で受信された映像ストリームを特定するための第1の識別子、受信パケット数、および廃棄パケット数を取得し、前回取得したデータと今回取得したデータから廃棄率を算出するステップと、
前記映像受信端末へ映像ストリームを送信するために前記映像配信サーバから連続して送信されるRTPパケットを監視し、前記RTPパケットに対応する映像ストリームを特定するための第2の識別子を取得するとともに、前記第1の識別子および前記廃棄率を取得し、前記第1の識別子と前記第2の識別子が一致することにより前記廃棄率を現在送信中のRTPパケットの廃棄率と特定し、特定した前記廃棄率が所定閾値以上のときは、前記RTPパケットを一時的にバッファリングするバッファから前記映像受信端末へ送信されるRTPパケットの出力レートを下降させる通知を出力するステップと、
前記出力レートを下降させる通知および前記廃棄率を受け取り、前記廃棄率に応じて、前記バッファから前記映像受信端末へ送信されるRTPパケットの出力レートをシェーピングするステップと
を備えることを特徴とするホームゲートウェイ装置の通信品質制御方法。
A communication quality control method for a home gateway device that relays communication between the external network and the home network when transmitting a video stream from a video distribution server connected to the external network to a video receiving terminal connected to the home network. There,
A video stream reception result packet periodically transmitted from the video reception terminal to the video distribution server is monitored, and a video stream received by the video reception terminal included in the video stream reception result packet is specified. Obtaining an identifier of 1, the number of received packets, and the number of discarded packets, and calculating a discard rate from the previously acquired data and the data acquired this time;
Monitoring RTP packets continuously transmitted from the video distribution server in order to transmit a video stream to the video receiving terminal, and obtaining a second identifier for specifying a video stream corresponding to the RTP packet; The first identifier and the discard rate are acquired, and the discard rate is identified as the discard rate of the currently transmitted RTP packet by matching the first identifier and the second identifier. When the discard rate is equal to or higher than a predetermined threshold, outputting a notification for decreasing the output rate of the RTP packet transmitted from the buffer that temporarily buffers the RTP packet to the video receiving terminal;
Receiving the notification for lowering the output rate and the discard rate, and shaping the output rate of the RTP packet transmitted from the buffer to the video receiving terminal according to the discard rate. Communication quality control method for gateway device.
JP2008089759A 2008-03-31 2008-03-31 Home gateway device and communication quality control method for home gateway device Expired - Fee Related JP4994283B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008089759A JP4994283B2 (en) 2008-03-31 2008-03-31 Home gateway device and communication quality control method for home gateway device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008089759A JP4994283B2 (en) 2008-03-31 2008-03-31 Home gateway device and communication quality control method for home gateway device

Publications (2)

Publication Number Publication Date
JP2009246630A true JP2009246630A (en) 2009-10-22
JP4994283B2 JP4994283B2 (en) 2012-08-08

Family

ID=41308072

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008089759A Expired - Fee Related JP4994283B2 (en) 2008-03-31 2008-03-31 Home gateway device and communication quality control method for home gateway device

Country Status (1)

Country Link
JP (1) JP4994283B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011223177A (en) * 2010-04-07 2011-11-04 Nec Corp Communication network, communication device, and band control method therefor
WO2011161870A1 (en) * 2010-06-23 2011-12-29 三菱電機株式会社 Quality-degradation notification system
CN102970216A (en) * 2012-11-29 2013-03-13 上海市共进通信技术有限公司 Household gateway equipment for realizing household monitoring function and household monitoring control method
JP2014534489A (en) * 2011-09-26 2014-12-18 トムソン ライセンシングThomson Licensing Method for controlling bandwidth and corresponding equipment
US10142882B2 (en) 2011-12-29 2018-11-27 Thomson Licensing Network gateway and a method for transmitting packets of a data stream
WO2022254591A1 (en) * 2021-06-01 2022-12-08 日本電信電話株式会社 Bandwidth control device, bandwidth control method, and bandwidth control program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101650756B1 (en) 2014-08-05 2016-08-24 삼성에스디에스 주식회사 QoS-Guaranteed Video Stream Method and System, Transmitting Server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003174489A (en) * 2001-12-05 2003-06-20 Ntt Docomo Inc Streaming distribution device and streaming distribution method
JP2004112113A (en) * 2002-09-13 2004-04-08 Matsushita Electric Ind Co Ltd Method and apparatus for adaptively controlling real-time communication, method of measuring for continuous erasure of receiving report packet, apparatus for dynamically deciding sending interval of receiving report packet, data receiver and data delivering apparatus
JP2006148789A (en) * 2004-11-24 2006-06-08 Matsushita Electric Ind Co Ltd Streaming receiving device, and distribution server device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003174489A (en) * 2001-12-05 2003-06-20 Ntt Docomo Inc Streaming distribution device and streaming distribution method
JP2004112113A (en) * 2002-09-13 2004-04-08 Matsushita Electric Ind Co Ltd Method and apparatus for adaptively controlling real-time communication, method of measuring for continuous erasure of receiving report packet, apparatus for dynamically deciding sending interval of receiving report packet, data receiver and data delivering apparatus
JP2006148789A (en) * 2004-11-24 2006-06-08 Matsushita Electric Ind Co Ltd Streaming receiving device, and distribution server device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011223177A (en) * 2010-04-07 2011-11-04 Nec Corp Communication network, communication device, and band control method therefor
WO2011161870A1 (en) * 2010-06-23 2011-12-29 三菱電機株式会社 Quality-degradation notification system
JP2014534489A (en) * 2011-09-26 2014-12-18 トムソン ライセンシングThomson Licensing Method for controlling bandwidth and corresponding equipment
US10333858B2 (en) 2011-09-26 2019-06-25 Interdigital Madison Patent Holdings Method for controlling bandwidth and corresponding device
US10142882B2 (en) 2011-12-29 2018-11-27 Thomson Licensing Network gateway and a method for transmitting packets of a data stream
CN102970216A (en) * 2012-11-29 2013-03-13 上海市共进通信技术有限公司 Household gateway equipment for realizing household monitoring function and household monitoring control method
WO2022254591A1 (en) * 2021-06-01 2022-12-08 日本電信電話株式会社 Bandwidth control device, bandwidth control method, and bandwidth control program

Also Published As

Publication number Publication date
JP4994283B2 (en) 2012-08-08

Similar Documents

Publication Publication Date Title
CN106937073B (en) Video calling code rate adjustment method, device and mobile terminal based on VoLTE
CN108141443B (en) User equipment, media stream transmission network auxiliary node and media stream transmission method
JP4994283B2 (en) Home gateway device and communication quality control method for home gateway device
CN107979449B (en) Data transmission method and device
JP4101993B2 (en) Wired and wireless mixed network data distribution apparatus and wired and wireless mixed network data distribution method
US11930391B2 (en) Wireless communications apparatus and methods
US9667801B2 (en) Codec selection based on offer
US9838209B2 (en) Method for subscribing to streams from multicast clients
CN104735470A (en) Streaming media data transmission method and device
US20160165059A1 (en) Mobile device audio tuning
US20100020682A1 (en) Communication device, communication method, and recording medium
US9729287B2 (en) Codec with variable packet size
US10469630B2 (en) Embedded RTCP packets
JP2008131262A (en) Call server, call terminal, call system, and transfer processing method and program
KR20040020639A (en) Dynamic control method of realtime multimedia data generation rate, and apparatus thereof.
CN107770473B (en) Audio and video data transmission control method and device
JP5078668B2 (en) Call control system and call control method
KR101435013B1 (en) Packet aggregation mechanism for VoIP service in multi-hop network and terminal thereby
JP2006352420A (en) Terminal sending and receiving quality packet including communication quality information, quality report server, and program
WO2014087764A1 (en) Terminal and communication system
KR101384125B1 (en) Apparatus and method for generating quality of service parameter about mac layer in communication system
WO2014087765A1 (en) Terminal and communication system
KR101107325B1 (en) Method and System for Measuring Quality by Network Interval for Real-time Multimedia Service
JP2010114598A (en) Packet processor, program, and method
CN114584520A (en) Method and apparatus for multiplexing data

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101220

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120210

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120221

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120508

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150518

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees