JP5498435B2 - Congestion control device and operation method thereof - Google Patents
Congestion control device and operation method thereof Download PDFInfo
- Publication number
- JP5498435B2 JP5498435B2 JP2011112288A JP2011112288A JP5498435B2 JP 5498435 B2 JP5498435 B2 JP 5498435B2 JP 2011112288 A JP2011112288 A JP 2011112288A JP 2011112288 A JP2011112288 A JP 2011112288A JP 5498435 B2 JP5498435 B2 JP 5498435B2
- Authority
- JP
- Japan
- Prior art keywords
- codec
- media
- media stream
- media data
- data file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Description
本発明は、輻輳制御装置およびその動作方法に関するものである。 The present invention relates to a congestion control device and an operation method thereof.
従来においては、記憶装置に記憶された音声や映像に関するメディアデータファイルをデコードし、得られたメディアストリームを端末に送信する機能を有するメディアサーバがあり、メディアサーバは、電話の各種ガイダンス通知や様々な付加サービスに用いられる。 Conventionally, there is a media server having a function of decoding media data files related to audio and video stored in a storage device and transmitting the obtained media stream to a terminal. Used for additional services.
一般に、特定のサーバに多くの処理要求が集中し、サーバが過負荷状態となり、サービス品質の低下や正常な処理が不可能となる場合がある。そのような輻輳状態を解消もしくは回避する技術が輻輳制御である。 In general, many processing requests are concentrated on a specific server, the server may be overloaded, and service quality may deteriorate or normal processing may not be possible. A technique for eliminating or avoiding such a congestion state is congestion control.
例えば、特許文献2では、SIPサーバへ同時に接続可能な呼数に上限を設け、上限を超える呼を接続しないように制御する方法を開示している。
For example,
また、非特許文献2では、単位時間当りの新規接続許容呼数を規定値以下にする呼数密度制御に基づく方式が提案、評価されている。
Further, Non-Patent
これらの従来技術は、音声通話サービスのみを対象としており、呼毎に必要なサーバリソース(例えば、サーバ処理能力)の違いを考慮せずに、全体の呼数を基に輻輳制御を行っている。 These conventional technologies are intended only for voice call services, and perform congestion control based on the total number of calls without considering the difference in server resources (for example, server processing capacity) required for each call. .
しかしながら、近年は音声のみでなく映像も伝えることのできるテレビ電話サービスが提供されている。 However, in recent years, videophone services that can transmit not only voice but also video are provided.
テレビ電話用端末には、携帯端末から高精細テレビ会議用端末まで、様々な種類があり、画面解像度やフレームレート、符号化方式等の異なる各種コーデックが用いられる。コーデックは、メディアデータファイルを符号化する方式の名前(エンコーディング名)やプロファイルレベル、帯域等で分類される。 There are various types of videophone terminals, from portable terminals to high-definition videoconferencing terminals, and various codecs such as screen resolution, frame rate, and encoding method are used. Codecs are classified according to the name (encoding name), profile level, bandwidth, and the like of a method for encoding media data files.
一般にメディアサーバにおいて、コーデックで1つのメディアデータファイルをデコードしているときに消費されるリソース量は、コーデック毎に異なる。特に、狭帯域の音声から広帯域の高精細映像までに対応すべく、多くのコーデックを使用する場合、消費されるリソース量の差は大きい。 In general, in a media server, the amount of resources consumed when one media data file is decoded by a codec is different for each codec. In particular, when many codecs are used in order to deal with narrow-band audio to wide-band high-definition video, the difference in the amount of resources consumed is large.
このようなメディアサーバにおいて、全体の同時接続数、つまり同時に送信するメディアストリームの数に上限値を設ける輻輳制御を行う場合、品質確保のためには、全てのメディアストリームが、リソース量が最も多く消費するコーデックで得られるものと仮定し、上限値を決める必要がある。従って、仮にメディアサーバが、リソースを少ししか消費しないコーデックで得られるメディアストリームしか送信していないような場合、メディアサーバのリソース量は余りすぎているにも係らず輻輳制御が行われ、それ以上の呼の接続が規制されるため、メディアサーバの利用効率が悪くなる。 In such a media server, when performing congestion control in which an upper limit is set for the total number of simultaneous connections, that is, the number of media streams transmitted simultaneously, all media streams have the largest amount of resources in order to ensure quality. It is necessary to determine the upper limit value assuming that the codec is consumed. Therefore, if the media server is only sending media streams that can be obtained with a codec that consumes little resources, the congestion control is performed even though the media server resource amount is too large. Since the call connection is restricted, the use efficiency of the media server is deteriorated.
本発明は、上記の課題に鑑みてなされたものであり、その目的とするところは、複数のコーデックを使用するメディアサーバにおいて、消費されるリソース量が上限に達すること、および、消費できるリソース量が余りすぎることを防止する輻輳制御装置およびその動作方法を提供することにある。 The present invention has been made in view of the above problems, and an object of the present invention is to reach the upper limit of the amount of resources consumed and the amount of resources that can be consumed in a media server using a plurality of codecs. It is an object of the present invention to provide a congestion control device and an operation method thereof that prevent the excessive amount from being excessive.
上記の課題を解決するために、第1の本発明は、複数のコーデックを有し、該複数のコーデックの中の1つによりメディアデータファイルをデコードし、得られたメディアストリームを送信するメディアストリーム送信部を備えるメディアサーバに設けられる輻輳制御装置であって、前記各コーデックにつき、該コーデックで1つのメディアデータファイルをデコードしているときに前記メディアサーバで消費されるリソース量に対応する重み係数を記憶した重み係数記憶手段と、前記各コーデックにつき、該コーデックでデコードされているメディアデータファイルの数を示すメディアデータファイル数が記憶されるメディアデータファイル数記憶手段と、前記メディアサーバで消費できる上限のリソース量に対応する閾値を記憶した閾値記憶手段と、メディアストリームの送信を要求された際に、前記各コーデックにつき、該コーデックについての重み係数を前記重み係数記憶手段から読み出し、該コーデックについてのメディアデータファイル数を前記メディアデータファイル数記憶手段から読み出し、該重み係数と該メディアデータファイル数の積を求めるとともに、該積の前記各コーデックについての総和を求める総和計算手段と、前記要求されたメディアストリームを得るためのコーデックについての重み係数を前記重み係数記憶手段から読み出し、前記閾値記憶手段から閾値を読み出し、該重み係数を前記総和に加算し、加算値が該閾値未満であるか否かを判定するメディアストリーム送信可否判定手段と、該加算値が該閾値未満なら前記メディアストリーム送信部に対し、前記要求されたメディアストリームを得るためのメディアデータファイルをデコードし、得られたメディアストリームを送信するように指示を行うメディアストリーム送信指示手段とを備えることを特徴とする輻輳制御装置をもって解決手段とする。 In order to solve the above-mentioned problem, the first present invention has a plurality of codecs, decodes a media data file by one of the plurality of codecs, and transmits a media stream obtained. A congestion control device provided in a media server including a transmission unit, wherein for each codec, a weighting factor corresponding to a resource amount consumed by the media server when one media data file is decoded by the codec Can be consumed by the media server, the media data file number storage means for storing the number of media data files indicating the number of media data files decoded by the codec, and the media server. Threshold value that stores the threshold value corresponding to the upper limit resource amount And when the transmission of the media stream is requested, for each codec, the weighting factor for the codec is read from the weighting factor storage unit, and the number of media data files for the codec is stored in the number of media data files Means for calculating the product of the weight coefficient and the number of media data files, and calculating a sum for each codec of the product, and a weight coefficient for the codec for obtaining the requested media stream Is read from the weight coefficient storage means, the threshold value is read from the threshold storage means, the weight coefficient is added to the sum, and media stream transmission availability determination means for determining whether or not the added value is less than the threshold value; If the added value is less than the threshold, the media stream transmission unit On the other hand, a congestion control apparatus comprising: a media stream transmission instruction means for decoding the media data file for obtaining the requested media stream and instructing to transmit the obtained media stream. Means.
例えば、第1の本発明において、前記閾値は、前記メディアサーバから同時送信可能な最大のパケットの数であり、前記各重み係数は、該重み係数に対応するコーデックにより得られる1つのメディアストリームで消費可能な最大の帯域を該メディアストリームを構成するパケットのサイズで除した値である。 For example, in the first aspect of the present invention, the threshold is the maximum number of packets that can be simultaneously transmitted from the media server, and each weighting factor is a media stream obtained by a codec corresponding to the weighting factor. This is a value obtained by dividing the maximum bandwidth that can be consumed by the size of a packet constituting the media stream.
例えば、第1の本発明において、前記メディアストリーム送信可否判定手段は、複数のコーデックを使用する際の優先順位が指定されている場合において、該各コーデックにつき、前記加算値が前記閾値未満であるか否かを判定し、前記メディアストリーム送信指示手段は、前記加算値が前記閾値未満であると判定されたコーデックから、最も高い優先順位に対応するコーデックを選択し、前記メディアストリーム送信部に対し、該選択したコーデックによりメディアデータファイルをデコードし、得られたメディアストリームを送信するように指示を行う。 For example, in the first aspect of the present invention, the media stream transmission permission / inhibition determining means is configured such that, when a priority order when using a plurality of codecs is specified, the added value is less than the threshold value for each codec. The media stream transmission instructing means selects a codec corresponding to the highest priority from the codecs for which the addition value is determined to be less than the threshold, and sends the codec to the media stream transmission unit. Then, the media data file is decoded by the selected codec, and an instruction is given to transmit the obtained media stream.
第2の本発明は、複数のコーデックを有し、該複数のコーデックの中の1つによりメディアデータファイルをデコードし、得られたメディアストリームを送信するメディアストリーム送信部を備えるメディアサーバに設けられる輻輳制御装置の動作方法であって、前記輻輳制御装置は、前記各コーデックにつき、該コーデックで1つのメディアデータファイルをデコードしているときに前記メディアサーバで消費されるリソース量に対応する重み係数を記憶した重み係数記憶手段と、前記各コーデックにつき、該コーデックでデコードされているメディアデータファイルの数を示すメディアデータファイル数が記憶されるメディアデータファイル数記憶手段と、前記メディアサーバで消費できる上限のリソース量に対応する閾値を記憶した閾値記憶手段とを備え、前記動作方法は、前記輻輳制御装置の総和計算手段が、メディアストリームの送信を要求された際に、前記各コーデックにつき、該コーデックについての重み係数を前記重み係数記憶手段から読み出し、該コーデックについてのメディアデータファイル数を前記メディアデータファイル数記憶手段から読み出し、該重み係数と該メディアデータファイル数の積を求めるとともに、該積の前記各コーデックについての総和を求め、前記輻輳制御装置のメディアストリーム送信可否判定手段が、前記要求されたメディアストリームを得るためのコーデックについての重み係数を前記重み係数記憶手段から読み出し、前記閾値記憶手段から閾値を読み出し、該重み係数を前記総和に加算し、加算値が該閾値未満であるか否かを判定し、前記輻輳制御装置のメディアストリーム送信指示手段が、該加算値が該閾値未満なら前記メディアストリーム送信部に対し、前記要求されたメディアストリームを得るためのメディアデータファイルをデコードし、得られたメディアストリームを送信するように指示を行うことを特徴とする輻輳制御装置の動作方法をもって解決手段とする。 The second aspect of the present invention is provided in a media server that includes a plurality of codecs, decodes a media data file by one of the plurality of codecs, and includes a media stream transmission unit that transmits the obtained media stream. An operation method of a congestion control device, wherein the congestion control device is a weighting factor corresponding to a resource amount consumed by the media server when one media data file is decoded by the codec for each codec. Can be consumed by the media server, the media data file number storage means for storing the number of media data files indicating the number of media data files decoded by the codec, and the media server. Threshold value that stores the threshold value corresponding to the upper limit resource amount Storage means, and when the sum total calculation means of the congestion control device is requested to transmit a media stream, the operation method is configured to obtain a weight coefficient for the codec from the weight coefficient storage means for each codec. Read, read the number of media data files for the codec from the media data file number storage means, determine the product of the weighting factor and the number of media data files, determine the sum of the products for each codec, and A media stream transmission availability determination unit of the control device reads a weighting factor for a codec for obtaining the requested media stream from the weighting factor storage unit, reads a threshold value from the threshold value storage unit, and calculates the weighting factor as the sum Whether or not the added value is less than the threshold value. The media stream transmission instructing means of the congestion control device decodes the media data file for obtaining the requested media stream to the media stream transmitting unit if the added value is less than the threshold value. An operation method of the congestion control device is characterized in that an instruction is given to transmit the media stream.
例えば、第2の本発明において、前記閾値は、前記メディアサーバから同時送信可能な最大のパケットの数であり、前記各重み係数は、該重み係数に対応するコーデックにより得られる1つのメディアストリームで消費可能な最大の帯域を該メディアストリームを構成するパケットのサイズで除した値である。 For example, in the second aspect of the present invention, the threshold is the maximum number of packets that can be simultaneously transmitted from the media server, and each weighting factor is one media stream obtained by a codec corresponding to the weighting factor. This is a value obtained by dividing the maximum bandwidth that can be consumed by the size of a packet constituting the media stream.
例えば、第2の本発明において、前記メディアストリーム送信可否判定手段は、複数のコーデックを使用する際の優先順位が指定されている場合において、該各コーデックにつき、前記加算値が前記閾値未満であるか否かを判定し、前記メディアストリーム送信指示手段は、前記加算値が前記閾値未満であると判定されたコーデックから、最も高い優先順位に対応するコーデックを選択し、前記メディアストリーム送信部に対し、該選択したコーデックによりメディアデータファイルをデコードし、得られたメディアストリームを送信するように指示を行う。 For example, in the second aspect of the present invention, the media stream transmission permission / inhibition determining means is configured such that, when a priority order for using a plurality of codecs is specified, the added value is less than the threshold for each codec. The media stream transmission instructing means selects a codec corresponding to the highest priority from the codecs for which the addition value is determined to be less than the threshold, and sends the codec to the media stream transmission unit. Then, the media data file is decoded by the selected codec, and an instruction is given to transmit the obtained media stream.
本発明によれば、複数のコーデックを使用するメディアサーバにおいて、消費されるリソース量が上限に達すること、および、消費できるリソース量が余りすぎることを防止するすることができる。 ADVANTAGE OF THE INVENTION According to this invention, in the media server using a some codec, it can prevent that the amount of resources consumed reaches an upper limit and the amount of resources which can be consumed is not too much.
以下、本発明の実施の形態について図面を参照して説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本実施の形態に係る輻輳制御装置を利用した通信システムの構成図である。 FIG. 1 is a configuration diagram of a communication system using the congestion control apparatus according to the present embodiment.
メディアサーバ1は、呼制御サーバ2と端末3に対し、図示しないIPネットワークを介して接続される。端末3は、一般には複数存在する。
The
メディアサーバ1は、呼制御サーバ2からの呼接続制御にしたがい、端末3にメディアストリームを送信する装置である。呼接続制御には、例えばSIP(Session Initiation Protocol)等の標準的な呼制御プロトコルが用いられる。
The
メディアサーバ1は、輻輳制御部10とメディア再生機能部20とを備える。輻輳制御部10は、本実施の形態に係る輻輳制御装置である。
The
メディア再生機能部20は、複数のメディアデータファイルが記憶されたメディアデータファイル記憶部21と、複数のコーデックを有し、メディアデータファイル記憶部21から読み出したメディアデータファイルを該メディアデータファイルに適したコーデックでデコードするとともに、デコードで得られたメディアストリームを端末3に送信するメディアストリーム送信部22とを備える。
The media
メディアストリームは、例えば、RTP(Real-time Transport Protocol)パケットにより構成される。 The media stream is composed of, for example, an RTP (Real-time Transport Protocol) packet.
輻輳制御部10は、各コーデックにつき、該コーデックで1つのメディアデータファイルをデコードしているときにメディアサーバ1で消費されるリソース量に対応する重み係数を記憶した重み係数記憶部11と、各コーデックにつき、該コーデックでデコードされているメディアデータファイルの数を示すメディアデータファイル数が記憶されるメディアデータファイル数記憶部12と、メディアサーバ1で消費できる上限のリソース量に対応する閾値を記憶した閾値記憶部13と、呼制御サーバ2から呼接続要求信号が送信された際に、各コーデックにつき、該コーデックについての重み係数を重み係数記憶部11から読み出し、該コーデックについてのメディアデータファイル数をメディアデータファイル数記憶部12から読み出し、該重み係数と該メディアデータファイル数の積を求めるとともに、該積の各コーデックについての総和を求める総和計算部14と、該計算された総和を用いて、呼接続の可否を判定する呼接続可否判定部15と、呼制御サーバ2と通信を行い、受信した呼接続要求信号に含まれる情報を基に、呼接続が許可された際い使用すべきコーデックを特定し、呼接続可否判定部15に呼接続の可否を判定するように指示し、呼接続を許可されたなら、呼制御サーバ2に呼接続許可信号を送信するとともに、メディアストリーム送信部22に対して、メディアストリームを送信するように指示する呼接続制御部16と、呼制御サーバ2が呼接続を完了し、メディアストリームの送信が可能になったなら、メディアデータファイル数記憶部12の該特定されたコーデックについてのメディアデータファイル数を増加させる一方、呼が切断され、メディアストリームの送信ができなくなったなら、該メディアデータファイル数を減少させるメディアデータファイル数増減処理部17とを備える。
The
閾値記憶部13に記憶される閾値は、例えば、メディアサーバ1から同時送信可能な最大のパケットの数である。
The threshold value stored in the threshold
呼接続制御部16は、上記処理のほかに、呼接続を拒否されたなら、呼制御サーバ2に対して呼接続拒否信号を送信する。また、呼接続制御部16は、呼接続可否判定部15への指示と、メディアデータファイル数増減処理部17への指示と、メディアストリーム送信部22への指示とが一貫性をもつように排他制御を行う。
In addition to the above processing, the call
図2は、重み係数記憶部11に記憶される重み係数の一例を示す図である。ただし、同図の備考欄は、参考のためのものであり、重み係数記憶部11には含まれない。 FIG. 2 is a diagram illustrating an example of the weighting factor stored in the weighting factor storage unit 11. However, the remarks column in the figure is for reference and is not included in the weighting coefficient storage unit 11.
同図は、重み係数記憶部11が、「G.711 μ-law」という名称のコーデックについて、重み係数「50」を記憶し、「MPEG-4 visual SP@L0」という名称のコーデックについて、重み係数「82」を記憶し、「MPEG-4 visual SP@L4a」という名称のコーデックについて、重み係数「536」を記憶し、「MPEG-4 visual SP@L6」という名称のコーデックについて、重み係数「1866」を記憶していることを示す。 In the figure, the weighting coefficient storage unit 11 stores a weighting coefficient “50” for a codec named “G.711 μ-law”, and weights for a codec named “MPEG-4 visual SP @ L0”. The coefficient “82” is stored, the weight coefficient “536” is stored for the codec named “MPEG-4 visual SP @ L4a”, and the weight coefficient “536” is stored for the codec named “MPEG-4 visual SP @ L6”. 1866 "is stored.
閾値記憶部13の閾値が、メディアサーバ1から同時送信可能な最大のパケットの数である場合、同図に示す各重み係数は、そのような閾値に適した値となっている。つまり、各重み係数は、対応するコーデックにより得られる1つのメディアストリームで消費可能な最大の帯域を該メディアストリームを構成するパケットのサイズで除した値となっている。
When the threshold value stored in the threshold
具体的には、重み係数「50」は、対応するコーデック「G.711 μ-law」により得られる1つのメディアストリームで消費可能な最大の帯域を該メディアストリームを構成するパケットのサイズで除した値で得られる値である。ここでは、パケットのペイロードの平均のサイズを160Byteとして計算した。 Specifically, the weighting factor “50” is obtained by dividing the maximum bandwidth that can be consumed by one media stream obtained by the corresponding codec “G.711 μ-law” by the size of the packet constituting the media stream. It is a value obtained by value. Here, the average size of the payload of the packet is calculated as 160 bytes.
重み係数「82」は、対応するコーデック「MPEG-4 visual SP@L0」により得られる1つのメディアストリームで消費可能な最大の帯域を該メディアストリームを構成するパケットのサイズで除した値で得られる値である。ここでは、パケットのペイロードの平均のサイズを100Byteとして計算した。 The weighting factor “82” is obtained by dividing the maximum band that can be consumed by one media stream obtained by the corresponding codec “MPEG-4 visual SP @ L0” by the size of the packet constituting the media stream. Value. Here, the average size of the payload of the packet is calculated as 100 bytes.
重み係数「536」は、対応するコーデック「MPEG-4 visual SP@L4a」により得られる1つのメディアストリームで消費可能な最大の帯域を該メディアストリームを構成するパケットのサイズで除した値で得られる値である。ここでは、パケットのペイロードの平均のサイズを1000Byteとして計算した。 The weighting factor “536” is obtained by dividing the maximum band that can be consumed by one media stream obtained by the corresponding codec “MPEG-4 visual SP @ L4a” by the size of the packet constituting the media stream. Value. Here, the average size of the payload of the packet is calculated as 1000 bytes.
重み係数「1866」は、対応するコーデック「MPEG-4 visual SP@L6」により得られる1つのメディアストリームで消費可能な最大の帯域を該メディアストリームを構成するパケットのサイズで除した値で得られる値である。ここでは、パケットのペイロードの平均のサイズを1000Byteとして計算した。 The weighting factor “1866” is obtained by dividing the maximum bandwidth that can be consumed by one media stream obtained by the corresponding codec “MPEG-4 visual SP @ L6” by the size of the packet constituting the media stream. Value. Here, the average size of the payload of the packet is calculated as 1000 bytes.
なお、各重み係数は、対応するコーデックにより得られる1つのメディアストリームで消費可能な最大の帯域を該メディアストリームを構成するパケットのサイズで除した値には限定されない。 Each weighting factor is not limited to a value obtained by dividing the maximum bandwidth that can be consumed by one media stream obtained by the corresponding codec by the size of the packet that constitutes the media stream.
例えば、閾値が、メディアサーバ1における上限の処理能力に対応する値である場合において、各重み係数は、対応するコーデックで1つのメディアデータファイルがデコードされているときに使用される処理能力に対応する値としてもよい。
For example, when the threshold value is a value corresponding to the upper limit processing capability in the
(本実施の形態に係る通信システムの動作)
図3は、本実施の形態に係る通信システムの動作の一例を示すシーケンス図である。
(Operation of the communication system according to the present embodiment)
FIG. 3 is a sequence diagram showing an example of the operation of the communication system according to the present embodiment.
ここでは、ある端末3(以下、単に端末3という)に対し、メディアサーバ1からメディアストリームが送信される際に行われるシーケンスを説明する。
Here, a sequence performed when a media stream is transmitted from the
呼接続制御部16は、呼制御サーバ2から呼接続要求信号を受信したなら(S1)、呼接続要求信号に含まれるSDP(Session Description Protocol)等のメディア情報(エンコーディング名、コーデックのプロファイルとレベル、パケット化周期、帯域等)と、例えば、メディアストリーム送信部22で使用できる各コーデックを記載したコーデック情報とを用い、呼接続が許可された際に使用すべきコーデックを特定する。また、ここでは、呼接続が許可された際にデコードすべきメディアデータファイルが特定されたこととする。呼接続制御部16は、呼接続可否判定部15に対し、該コーデックの種別などを通知し、呼接続の可否を判定するように指示を行う(S3)。
When the call
これにより、呼接続可否判定部15は、総和計算部14に対し、総和を計算するように指示を行う(S5)。
Thereby, the call connection
これにより、総和計算部14は、メディアストリーム送信部22で使用できる各コーデックにつき、該コーデックについての重み係数を重み係数記憶部11から読み出し、該コーデックについてのメディアデータファイル数をメディアデータファイル数記憶部12から読み出し、該重み係数と該メディアデータファイル数の積を求めるとともに、該積の各コーデックについての総和を計算し(S7)、該総和の値を呼接続可否判定部15に通知する(S9)。
As a result, for each codec that can be used by the media
これにより、呼接続可否判定部15は、呼接続制御部16から通知されたコーデックにつき、該コーデックについての重み係数を重み係数記憶部11から読み出し、閾値記憶部13から閾値を読み出し、該重み係数を、ステップS9で通知された総和に加算し、加算値と閾値に基づいて、呼接続の可否を判定する(S11)。
Thereby, the call connection
呼接続可否判定部15は、加算値が閾値未満なら、呼接続を許可する旨を呼接続制御部16に通知する(S13)。
If the added value is less than the threshold value, the call connection
これにより、呼接続制御部16は、呼制御サーバ2に対し、呼接続を許可することを示す呼接続許可応答信号を送信する(S15)。
Thereby, the call
これにより、呼制御サーバ2は、メディアサーバ1と端末3の間の呼接続を行い、呼接続が完了した旨を示す呼接続完了信号を呼接続制御部16に送信する(S17)。
Thereby, the
これにより、呼接続制御部16は、メディアデータファイル数増減処理部17に対し、ステップS3で特定したコーデックの種別などを通知し、メディアデータファイル数記憶部12における該コーデックについてのメディアデータファイル数に1を加算するように指示を行う(S19)。
Thus, the call
これにより、メディアデータファイル数増減処理部17は、メディアデータファイル数記憶部12における該通知されたコーデックについてのメディアデータファイル数に1を加算し、呼接続制御部16に対し、メディアデータファイル数に1を加算した旨を通知する(S21)。
As a result, the media data file number increase /
これにより、呼接続制御部16は、メディアストリーム送信部22に対し、ステップS3で特定されたメディアデータファイルをステップS3で特定されたコーデックによりデコードするとともに、デコードにより得られるメディアストリームを端末3に送信するように指示を行う(S23)。
Thereby, the call
これにより、メディアストリーム送信部22は、該メディアデータファイルをメディアデータファイル記憶部21から読み出し、該メディアデータファイルを該コーデックでデコードし、デコードにより得られるメディアストリームを端末3に送信する。
Accordingly, the media
すなわち、呼接続が許可された際に使用されるコーデックについての重み係数を総和に加算した加算値が、メディアサーバ1で消費できる上限のリソース量に対応する閾値未満なら、呼接続を許可することで、輻輳を防止できるとともに、リソース量が余りすぎてしまう不都合も防止することができる。
That is, if the added value obtained by adding the weighting factor for the codec used when call connection is permitted to the sum is less than the threshold corresponding to the upper limit resource amount that can be consumed by the
なお、呼制御サーバ2は、例えば、端末3へのメディアストリームの送信が終了し、端末3から呼切断要求があったなら、呼切断を行い、呼切断を完了したことを示す呼切断完了信号を呼接続制御部16に送信する。
The
これにより、呼接続制御部16は、メディアデータファイル数増減処理部17に対し、ステップS3で特定したコーデックの種別などを通知し、該当のメディアデータファイル数から1を減算するように指示を行う。
As a result, the call
これにより、メディアデータファイル数増減処理部17は、メディアデータファイル数記憶部12における該コーデックについてのメディアデータファイル数から1を減算する。
Thereby, the media data file number increase /
なお、呼接続可否判定部15は、加算値が閾値以上なら呼接続を拒否する旨を呼接続制御部16に通知する。
The call connection
これにより、呼接続制御部16は、呼制御サーバ2に対し、呼接続を拒否することを示す呼接続拒否応答信号を送信する。
As a result, the call
これにより、呼制御サーバ2は、メディアサーバ1と端末3と間の呼接続を中止する。よって、メディアデータファイルのデコード、メディアストリームの送信も中止される。
As a result, the
したがって、本実施の形態に係る輻輳制御装置(10)によれば、複数のコーデックを有し、該複数のコーデックの中の1つによりメディアデータファイルをデコードし、得られたメディアストリームを送信するメディアストリーム送信部22を備えるメディアサーバ1に設けられる輻輳制御装置であって、各コーデックにつき、該コーデックで1つのメディアデータファイルをデコードしているときにメディアサーバ1で消費されるリソース量に対応する重み係数を記憶した重み係数記憶手段(11)と、各コーデックにつき、該コーデックでデコードされているメディアデータファイルの数を示すメディアデータファイル数が記憶されるメディアデータファイル数記憶手段(12)と、メディアサーバ1で消費できる上限のリソース量に対応する閾値を記憶した閾値記憶手段(13)と、メディアストリームの送信を要求された際に(ステップS1)、各コーデックにつき、該コーデックについての重み係数を重み係数記憶手段(11)から読み出し、該コーデックについてのメディアデータファイル数をメディアデータファイル数記憶手段(12)から読み出し、該重み係数と該メディアデータファイル数の積を求めるとともに、該積の各コーデックについての総和を求める(ステップS7)総和計算手段(14)と、要求されたメディアストリームを得るためのコーデックについての重み係数を重み係数記憶手段(11)から読み出し、閾値記憶手段(13)から閾値を読み出し、該重み係数を総和に加算し、加算値が該閾値未満であるか否かを判定する(ステップS11)メディアストリーム送信可否判定手段(15)と、該加算値が該閾値未満ならメディアストリーム送信部22に対し、要求されたメディアストリームを得るためのメディアデータファイルをデコードし、得られたメディアストリームを送信するように指示を行うメディアストリーム送信指示手段(16)とを備えるので、メディアサーバ1で消費されるリソース量が上限に達すること、および、消費できるリソース量が余りすぎてしまうことを防止でき、よって、リソース量が上限に達することによって生じるメディアストリームの送信に関する輻輳を防止し、且つ、リソース量の余りすぎを防止することができる。
Therefore, according to the congestion control apparatus (10) according to the present embodiment, it has a plurality of codecs, decodes a media data file by one of the plurality of codecs, and transmits the obtained media stream. A congestion control device provided in the
(変形例)
本実施の形態では、呼接続要求信号に含まれる情報により、1つのコーデックを特定し、該コーデックに対応するメディアデータファイルを該コーデックでデコードし、得られたメディアストリームを送信したが、以下のようにしてもよい。
(Modification)
In the present embodiment, one codec is identified by the information included in the call connection request signal, the media data file corresponding to the codec is decoded by the codec, and the obtained media stream is transmitted. You may do it.
例えば、メディアデータファイル記憶部21には、複数のコーデックのそれぞれにつき、該コーデックでデコードすべきメディアデータファイルが記憶される。
For example, the media data
また、メディアストリーム送信部22は、該各コーデックを有している。
The media
また、呼接続要求信号においては、該各コーデックを使用する際の優先順位が指定される。 In the call connection request signal, the priority order when using each codec is specified.
この場合、呼接続可否判定部15は、該各コーデックにつき、加算値が閾値未満であるか否かを判定し、加算値が閾値未満であると判定されたコーデックの種別などを呼接続制御部16に通知する。
In this case, the call connection
呼接続制御部16は、通知されたコーデックについて指定された最も高い優先順位に対応するコーデックを選択し、メディアストリーム送信部22に対し、該選択されたコーデックに対応するメディアデータファイルを該コーデックでデコードし、得られたメディアストリームを送信するように指示を行う。
The call
メディアストリーム送信部22は、メディアデータファイル記憶部21から、該コーデックに対応するメディアデータファイルを読み出し、該メディアデータファイルを該コーデックでデコードし、得られたメディアストリームを端末3に送信する。
The media
したがって、この変形例によれば、メディアストリーム送信可否判定手段(15)は、複数のコーデックを使用する際の優先順位が指定されている場合において、該各コーデックにつき、加算値が閾値未満であるか否かを判定し、メディアストリーム送信指示手段(16)は、加算値が閾値未満であると判定されたコーデックから、最も高い優先順位に対応するコーデックを選択し、メディアストリーム送信部22に対し、該選択したコーデックによりメディアデータファイルをデコードし、得られたメディアストリームを送信するように指示を行うので、複数のコーデックの中から最も高い優先順位に対応するコーデックを使用することができる。
Therefore, according to this modification, the media stream transmission availability determination means (15) has an addition value less than the threshold value for each codec when the priority order when using a plurality of codecs is designated. The media stream transmission instruction means (16) selects the codec corresponding to the highest priority from the codecs for which the addition value is determined to be less than the threshold value, and sends the codec to the media
なお、本実施の形態に係る輻輳制御装置(10)としてコンピュータを機能させるためのコンピュータプログラムは、半導体メモリ、磁気ディスク、光ディスク、光磁気ディスク、磁気テープなどのコンピュータ読み取り可能な記録媒体に記録でき、また、インターネットなどの通信網を介して伝送させて、広く流通させることができる。 The computer program for causing the computer to function as the congestion control device (10) according to the present embodiment can be recorded on a computer-readable recording medium such as a semiconductor memory, a magnetic disk, an optical disk, a magneto-optical disk, or a magnetic tape. Further, it can be widely distributed by being transmitted through a communication network such as the Internet.
1…メディアサーバ
2…呼制御サーバ
3…端末
10…輻輳制御部
11…重み係数記憶部
12…メディアデータファイル数記憶部
13…閾値記憶部
14…総和計算部
15…呼接続可否判定部
16…呼接続制御部
17…メディアデータファイル数増減処理部
20…メディア再生機能部
21…メディアデータファイル記憶部
22…メディアストリーム送信部
DESCRIPTION OF
Claims (7)
前記各コーデックにつき、該コーデックで1つのメディアデータファイルをデコードしているときに前記メディアサーバで消費されるリソース量に対応する重み係数を記憶した重み係数記憶手段と、
前記各コーデックにつき、該コーデックでデコードされているメディアデータファイルの数を示すメディアデータファイル数が記憶されるメディアデータファイル数記憶手段と、
前記メディアサーバで消費できる上限のリソース量に対応する閾値を記憶した閾値記憶手段と、
メディアストリームの送信を要求された際に、前記各コーデックにつき、該コーデックについての重み係数を前記重み係数記憶手段から読み出し、該コーデックについてのメディアデータファイル数を前記メディアデータファイル数記憶手段から読み出し、該重み係数と該メディアデータファイル数の積を求めるとともに、該積の前記各コーデックについての総和を求める総和計算手段と、
前記要求されたメディアストリームを得るためのコーデックについての重み係数を前記重み係数記憶手段から読み出し、前記閾値記憶手段から閾値を読み出し、該重み係数を前記総和に加算し、加算値が該閾値未満であるか否かを判定するメディアストリーム送信可否判定手段と、
該加算値が該閾値未満なら前記メディアストリーム送信部に対し、前記要求されたメディアストリームを得るためのメディアデータファイルをデコードし、得られたメディアストリームを送信するように指示を行うメディアストリーム送信指示手段と
を備えることを特徴とする輻輳制御装置。 A congestion control device provided in a media server having a plurality of codecs, decoding a media data file by one of the plurality of codecs, and including a media stream transmission unit for transmitting the obtained media stream,
For each codec, weight coefficient storage means for storing a weight coefficient corresponding to the amount of resources consumed by the media server when one media data file is decoded by the codec;
Media data file number storage means for storing the number of media data files indicating the number of media data files decoded by the codec for each codec;
Threshold storage means for storing a threshold corresponding to an upper limit resource amount that can be consumed by the media server;
When transmission of a media stream is requested, for each codec, the weighting coefficient for the codec is read from the weighting coefficient storage means, and the number of media data files for the codec is read from the media data file number storage means, A sum calculating means for obtaining a product of the weighting coefficient and the number of media data files and obtaining a sum of the products for each codec;
A weighting factor for a codec for obtaining the requested media stream is read from the weighting factor storage unit, a threshold value is read from the threshold value storage unit, the weighting factor is added to the sum, and the added value is less than the threshold value. Media stream transmission availability determination means for determining whether or not there is,
If the added value is less than the threshold value, a media stream transmission instruction for instructing the media stream transmission unit to decode a media data file for obtaining the requested media stream and to transmit the obtained media stream And a congestion control device.
前記各重み係数は、該重み係数に対応するコーデックにより得られる1つのメディアストリームで消費可能な最大の帯域を該メディアストリームを構成するパケットのサイズで除した値である
ことを特徴とする請求項1記載の輻輳制御装置。 The threshold is the maximum number of packets that can be transmitted simultaneously from the media server,
Each of the weighting factors is a value obtained by dividing the maximum bandwidth that can be consumed by one media stream obtained by a codec corresponding to the weighting factor by the size of a packet constituting the media stream. 1. The congestion control device according to 1.
前記メディアストリーム送信指示手段は、前記加算値が前記閾値未満であると判定されたコーデックから、最も高い優先順位に対応するコーデックを選択し、前記メディアストリーム送信部に対し、該選択したコーデックによりメディアデータファイルをデコードし、得られたメディアストリームを送信するように指示を行う
ことを特徴とする請求項1または2記載の輻輳制御装置。 The media stream transmission availability determination unit determines whether or not the added value is less than the threshold for each codec when a priority order when using a plurality of codecs is designated,
The media stream transmission instruction means selects a codec corresponding to the highest priority from the codecs for which the addition value is determined to be less than the threshold value, and sends a media code to the media stream transmission unit according to the selected codec. The congestion control apparatus according to claim 1, wherein the data file is decoded and an instruction is given to transmit the obtained media stream.
前記輻輳制御装置は、
前記各コーデックにつき、該コーデックで1つのメディアデータファイルをデコードしているときに前記メディアサーバで消費されるリソース量に対応する重み係数を記憶した重み係数記憶手段と、
前記各コーデックにつき、該コーデックでデコードされているメディアデータファイルの数を示すメディアデータファイル数が記憶されるメディアデータファイル数記憶手段と、
前記メディアサーバで消費できる上限のリソース量に対応する閾値を記憶した閾値記憶手段とを備え、
前記動作方法は、
前記輻輳制御装置の総和計算手段が、メディアストリームの送信を要求された際に、前記各コーデックにつき、該コーデックについての重み係数を前記重み係数記憶手段から読み出し、該コーデックについてのメディアデータファイル数を前記メディアデータファイル数記憶手段から読み出し、該重み係数と該メディアデータファイル数の積を求めるとともに、該積の前記各コーデックについての総和を求め、
前記輻輳制御装置のメディアストリーム送信可否判定手段が、
前記要求されたメディアストリームを得るためのコーデックについての重み係数を前記重み係数記憶手段から読み出し、前記閾値記憶手段から閾値を読み出し、該重み係数を前記総和に加算し、加算値が該閾値未満であるか否かを判定し、
前記輻輳制御装置のメディアストリーム送信指示手段が、
該加算値が該閾値未満なら前記メディアストリーム送信部に対し、前記要求されたメディアストリームを得るためのメディアデータファイルをデコードし、得られたメディアストリームを送信するように指示を行う
ことを特徴とする輻輳制御装置の動作方法。 An operation method of a congestion control apparatus provided in a media server having a plurality of codecs, decoding a media data file by one of the plurality of codecs, and including a media stream transmission unit for transmitting the obtained media stream There,
The congestion control device includes:
For each codec, weight coefficient storage means for storing a weight coefficient corresponding to the amount of resources consumed by the media server when one media data file is decoded by the codec;
Media data file number storage means for storing the number of media data files indicating the number of media data files decoded by the codec for each codec;
Threshold storage means for storing a threshold corresponding to the upper limit resource amount that can be consumed by the media server,
The operation method is as follows:
When the sum calculation means of the congestion control device is requested to transmit a media stream, for each of the codecs, the weight coefficient for the codec is read from the weight coefficient storage means, and the number of media data files for the codec is calculated. Read from the media data file number storage means, determine the product of the weighting coefficient and the number of media data files, determine the sum of the product for each codec,
The media stream transmission availability determination means of the congestion control device,
A weighting factor for a codec for obtaining the requested media stream is read from the weighting factor storage unit, a threshold value is read from the threshold value storage unit, the weighting factor is added to the sum, and the added value is less than the threshold value. Determine if there is,
Media stream transmission instruction means of the congestion control device,
If the added value is less than the threshold value, the media stream transmission unit is instructed to decode the media data file for obtaining the requested media stream and to transmit the obtained media stream. Method of operation of the congestion control device.
前記各重み係数は、該重み係数に対応するコーデックにより得られる1つのメディアストリームで消費可能な最大の帯域を該メディアストリームを構成するパケットのサイズで除した値である
ことを特徴とする請求項4記載の輻輳制御装置の動作方法。 The threshold is the maximum number of packets that can be transmitted simultaneously from the media server,
Each of the weighting factors is a value obtained by dividing the maximum bandwidth that can be consumed by one media stream obtained by a codec corresponding to the weighting factor by the size of a packet constituting the media stream. 5. The operation method of the congestion control device according to 4.
前記メディアストリーム送信指示手段は、前記加算値が前記閾値未満であると判定されたコーデックから、最も高い優先順位に対応するコーデックを選択し、前記メディアストリーム送信部に対し、該選択したコーデックによりメディアデータファイルをデコードし、得られたメディアストリームを送信するように指示を行う
ことを特徴とする請求項4または5記載の輻輳制御装置の動作方法。 The media stream transmission availability determination unit determines whether or not the added value is less than the threshold for each codec when a priority order when using a plurality of codecs is designated,
The media stream transmission instruction means selects a codec corresponding to the highest priority from the codecs for which the addition value is determined to be less than the threshold value, and sends a media code to the media stream transmission unit according to the selected codec. The operation method of the congestion control device according to claim 4 or 5, wherein an instruction is given to decode the data file and transmit the obtained media stream.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011112288A JP5498435B2 (en) | 2011-05-19 | 2011-05-19 | Congestion control device and operation method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011112288A JP5498435B2 (en) | 2011-05-19 | 2011-05-19 | Congestion control device and operation method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012244392A JP2012244392A (en) | 2012-12-10 |
JP5498435B2 true JP5498435B2 (en) | 2014-05-21 |
Family
ID=47465630
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011112288A Expired - Fee Related JP5498435B2 (en) | 2011-05-19 | 2011-05-19 | Congestion control device and operation method thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5498435B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6271839B2 (en) * | 2013-01-25 | 2018-01-31 | キヤノン株式会社 | COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM |
JP6389149B2 (en) * | 2015-08-10 | 2018-09-12 | 日本電信電話株式会社 | Call processing apparatus and operation method thereof |
-
2011
- 2011-05-19 JP JP2011112288A patent/JP5498435B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2012244392A (en) | 2012-12-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5845355B2 (en) | Apparatus and method for controlling the selective use of heterogeneous networks depending on the raw state of streaming data | |
CN104160687B (en) | Method and system for identifying and transitioning to an improved VOIP session | |
KR101332615B1 (en) | Method for controlling connection change according to amount of data not transferred and an apparatus for said method | |
US20080056145A1 (en) | Buffering method for network audio transport | |
JP5339007B1 (en) | Content distribution system | |
JP2010521856A (en) | Data transmission method in communication system | |
US20070218902A1 (en) | System and method for adaptive seamless mobility of multimedia communication sessions | |
KR102216622B1 (en) | Data buffering method, network device, and storage medium | |
JP2008527472A (en) | How to process multimedia streams | |
CA3094034A1 (en) | Adaptive bit-rate methods for live broadcasting | |
KR20150057557A (en) | CONGESTION MITIGATION METHOD AND APPARATUS TO MAXIMIZE QoE OF VIEOD TRAFFIC IN MOBILE NETWORKS | |
JP2001204001A (en) | Moving picture distribution system, reproduction terminal and distributor | |
JP2011029868A (en) | Terminal device, remote conference system, method for controlling terminal device, control program of terminal device, and computer readable recording medium recording control program of terminal device | |
JP5498435B2 (en) | Congestion control device and operation method thereof | |
WO2014142295A1 (en) | Media communication system, bitrate control method and computer readable information recording medium | |
CA2851979A1 (en) | Optimizing route selection based on transcoding | |
CN102959531A (en) | Method and system for cloud-based media adaptation and transcoding service | |
KR101251312B1 (en) | Method for handling video seek request in video transcoding server | |
JP4977222B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION CONTROL METHOD AND COMMUNICATION DEVICE | |
JP6565324B2 (en) | Communication terminal, data transmission / reception system, communication method, and communication program | |
JP2023532926A (en) | Information determination method and apparatus | |
US8791980B2 (en) | Controlling CPU usage to balance fast and slow devices | |
US8170006B2 (en) | Digital telecommunications system, program product for, and method of managing such a system | |
CN109076400A (en) | Method and apparatus for determining the encoding/decoding mode collection of service communication | |
CN117834947A (en) | Layered coding method, device, equipment and computer readable medium for media stream |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130628 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140226 |
|
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: 20140304 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140307 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5498435 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |