JP2001111615A - Communication band controller - Google Patents

Communication band controller

Info

Publication number
JP2001111615A
JP2001111615A JP28537799A JP28537799A JP2001111615A JP 2001111615 A JP2001111615 A JP 2001111615A JP 28537799 A JP28537799 A JP 28537799A JP 28537799 A JP28537799 A JP 28537799A JP 2001111615 A JP2001111615 A JP 2001111615A
Authority
JP
Japan
Prior art keywords
buffer
read
accumulated
data amount
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP28537799A
Other languages
Japanese (ja)
Inventor
Makoto Doguchi
誠 堂口
Shoichi Fujita
昭一 藤田
Tetsuya Nagai
哲也 長井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP28537799A priority Critical patent/JP2001111615A/en
Publication of JP2001111615A publication Critical patent/JP2001111615A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To allow a repeater concentrating two packet communication lines to automatically assign a frequency band so that the communication of the other communication line cannot be hindered even when the traffic of the one input communication line is increased. SOLUTION: Each input communication line is provided with a buffer 1a (1b) and a storage frame number measurement means 2a (2b). An output control means 3 referrs to the storage frame number measurement means 2a, 2b to repeat the processing for a prescribed unit time in a way that the output control means 3 reads frames from the buffer whose storage frame number is not zero for a prescribed unit time when number of storage frames of the other buffer is zero, or the output control means 3 reads no frames when the storage frame number is zero in both the buffers, or the output control means 3 halves the prescribed unit time, reads frames from the one buffer for the first half time and reads frames from the other buffer for the latter half time when the storage frame number of both the buffers is not zero. Thus, the frequency band can automatically be assigned without giving hindrance to the other communication line even when the traffic of the one input communication line is increased.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、可変長フレームを
伝送する2本の入力通信路を1本の出力通信路に集線す
る場合に、一方の入力通信路の通信量が増大しても、他
方の通信が阻害されることなく、自動的に帯域を割り振
る通信帯域制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for concentrating two input channels for transmitting variable-length frames to one output channel, even if the traffic of one of the input channels increases. The present invention relates to a communication band control device that automatically allocates a band without disturbing the other communication.

【0002】[0002]

【従来の技術】従来、可変長フレームを伝送する2本の
入力通信路を1本の出力通信路に集線する場合には、入
力側において集線され、フレームの内容に関わらず、全
てのフレームが1つのバッファによって管理されてい
る。入力通信路の通信が増大し、バッファがオーバーフ
ローを起こしそうになった場合は、入力通信路双方から
の入力フレームをしばらく破棄するか、入力通信路双方
の端末にPauseオペレーションなどを発し、双方の通信
路からの入力フレームをしばらく抑止する。
2. Description of the Related Art Conventionally, when two input communication paths for transmitting variable-length frames are concentrated on one output communication path, all the frames are concentrated on the input side, regardless of the contents of the frames. It is managed by one buffer. If the communication on the input channel increases and the buffer is likely to overflow, the input frames from both input channels are discarded for a while, or a Pause operation is issued to both terminals on the input channel, and both sides are issued. Suppress input frames from the communication channel for a while.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記の
ような従来の集線方法によると、一方の通信路のみ通信
量が増大したような場合には、他方の通信路の通信も阻
害され、双方の入力通信路の帯域が低下するなどの不具
合がある。
However, according to the conventional line concentrating method as described above, when the communication volume of only one communication path increases, the communication of the other communication path is also hindered, and both communication paths are inhibited. There is a problem such as a decrease in the bandwidth of the input communication path.

【0004】本発明は、このような事情に鑑みてなされ
たものであり、可変長フレームを伝送する2本の入力通
信路を1本の出力通信路に集線する場合に、一方の入力
通信路の通信量が増大しても他方の通信が阻害されるこ
とのない、帯域を自動的に割り振る通信帯域制御装置を
提供することにある。
The present invention has been made in view of such circumstances, and when two input communication paths for transmitting variable-length frames are concentrated to one output communication path, one input communication path is used. It is an object of the present invention to provide a communication band control device that automatically allocates a band so that the other communication is not hindered even if the communication amount increases.

【0005】[0005]

【課題を解決するための手段】上記の課題を解決するた
めに、本発明は次のような構成にする。すなわち、第一
のバッファは第一の入力通信路より入力したフレームを
蓄積する。また、第二のバッファは第二の入力通信路よ
り入力したフレームを蓄積する。そして、第一の蓄積フ
レーム数計測手段は、第一のバッファに蓄積されている
フレーム数を計測する。また、第二の蓄積フレーム数計
測手段は第二のバッファに蓄積されているフレーム数を
計測する。さらに、出力制御手段は、第一、第二の蓄積
フレーム数計測手段を、予め定められた単位時間ごとに
参照し、次回の参照までの、単位時間内での第一、第二
のバッファそれぞれの読み出し時間を決定する。この場
合の決定方法として、第一、第二のバッファの蓄積フレ
ーム数が一方のみ0の場合、蓄積フレーム数が0でない
バッファの読み出し時間は単位時間の100%、蓄積フ
レーム数が0のバッファの読み出し時間は単位時間の0
%とし、蓄積フレーム数が双方0の場合、双方のバッフ
ァの読み出し時間を単位時間の0%とし、蓄積フレーム
数が双方0でない場合、双方のバッファの読み出し時間
は単位時間の50%として、第一、第二のバッファの読
み出しを行うように選択出力手段を制御する。そして、
選択出力手段は、出力制御手段より指示された帯域で、
第一、第二のバッファからフレームを読み出し、出力通
信路へ出力する。
In order to solve the above problems, the present invention has the following arrangement. That is, the first buffer stores the frames input from the first input channel. The second buffer stores frames input from the second input channel. Then, the first accumulated frame number measuring means measures the number of frames accumulated in the first buffer. The second accumulated frame number measuring means measures the number of frames accumulated in the second buffer. Further, the output control means refers to the first and second accumulated frame number measuring means for each predetermined unit time, and each of the first and second buffers within the unit time until the next reference. Is determined. As a determination method in this case, when only one of the number of accumulated frames in the first and second buffers is 0, the read time of a buffer whose accumulated frame number is not 0 is 100% of the unit time, and the read time of the buffer whose accumulated frame number is 0 is 100%. Read time is unit time 0
%, When the number of accumulated frames is both 0, the read time of both buffers is set to 0% of the unit time, and when the number of accumulated frames is not 0, the read time of both buffers is set to 50% of the unit time. The selection output means is controlled so as to read the first and second buffers. And
The selection output means is a band designated by the output control means,
The frames are read from the first and second buffers and output to the output communication path.

【0006】以上により、可変長フレームを伝送する2
本の入力通信路を1本の出力通信路に集線する場合に、
一方の入力通信路の通信量が増大しても、他方の通信が
阻害されることのない帯域を自動的に割り振る通信帯域
制御装置が得られる。
As described above, transmission of a variable-length frame 2
When concentrating two input communication paths to one output communication path,
A communication band control device that automatically allocates a band that does not hinder the other communication even when the communication amount of one input communication channel increases.

【0007】すなわち、本発明は、第一の入力通信路よ
り入力したフレームを蓄積する第一のバッファと、第二
の入力通信路より入力したフレームを蓄積する第二のバ
ッファと、第一のバッファに蓄積されているフレーム数
を計測する第一の蓄積フレーム数計測手段と、第二のバ
ッファに蓄積されているフレーム数を計測する第二の蓄
積フレーム数計測手段と、第一の蓄積フレーム数計測手
段と第二の蓄積フレーム数計測手段の計測結果を参照し
て、第一のバッファと第二のバッファの各々に割り当て
る伝送帯域を計算し、読み出しの指示を行う出力制御手
段と、出力制御手段より指示された帯域で、第一のバッ
ファ及び第二のバッファからフレームを読み出し、読み
出したフレームを出力通信路へ出力する選択出力手段と
を備えている。
That is, the present invention provides a first buffer for storing frames input from a first input channel, a second buffer for storing frames input from a second input channel, First accumulated frame number measuring means for measuring the number of frames accumulated in the buffer, second accumulated frame number measuring means for measuring the number of frames accumulated in the second buffer, and first accumulated frame With reference to the measurement results of the number measurement means and the second accumulated frame number measurement means, calculate the transmission bandwidth allocated to each of the first buffer and the second buffer, output control means for instructing reading, and output A selection output unit that reads a frame from the first buffer and the second buffer in a band specified by the control unit, and outputs the read frame to an output communication path.

【0008】そして、可変長フレームを伝送する第一、
第二の入力通信路を1本の出力通信路に集線する場合
に、第一のバッファが第一の入力通信路より入力したフ
レームを蓄積し、第二のバッファが第二の入力通信路よ
り入力したフレームを蓄積し、第一の蓄積フレーム数計
測手段が第一のバッファに蓄積されているフレーム数を
計測し、第二の蓄積フレーム数計測手段が第二のバッフ
ァに蓄積されているフレーム数を計測し、出力制御手段
が第一、第二の蓄積フレーム数計測手段を予め定められ
た単位時間ごとに参照し、次回の参照までの単位時間内
での第一、第二のバッファそれぞれの読み出し時間を決
定する。その決定方法として、第一、第二のバッファの
蓄積フレーム数が一方のみ0の場合は、蓄積フレーム数
が0でないバッファの読み出し時間は単位時間の100
%、蓄積フレーム数が0のバッファの読み出し時間は単
位時間の0%とし、蓄積フレーム数が双方0の場合は、
双方のバッファの読み出し時間が単位時間の0%とし、
蓄積フレーム数が双方0でない場合は、双方のバッファ
の読み出し時間が単位時間の50%として、第一、第二
のバッファの読み出しを行うように選択出力手段を制御
し、選択出力手段が出力制御手段より指示された帯域で
第一、第二のバッファからフレームを読み出し、出力通
信路へ出力することができるようにしたものである。
[0008] First, the variable length frame is transmitted.
When concentrating the second input channel to one output channel, the first buffer stores the frames input from the first input channel, and the second buffer stores the frames input from the second input channel. The input frame is accumulated, the first accumulated frame number measuring means measures the number of frames accumulated in the first buffer, and the second accumulated frame number measuring means measures the number of frames accumulated in the second buffer. The output control means refers to the first and second accumulated frame number measuring means for each predetermined unit time, and each of the first and second buffers within the unit time until the next reference. Is determined. As a determination method, when the number of accumulated frames in the first and second buffers is 0 in only one of them, the read time of the buffer in which the number of accumulated frames is not 0 is 100 unit time.
%, The read time of the buffer having the accumulated frame number of 0 is set to 0% of the unit time, and when the accumulated frame numbers are both 0,
The read time of both buffers is 0% of the unit time,
If both the accumulated frame numbers are not 0, the selection output means is controlled to read the first and second buffers with the read time of both buffers being 50% of the unit time, and the selection output means controls the output. The frame can be read from the first and second buffers in the band specified by the means and output to the output communication path.

【0009】また、本発明は、上記の発明の第一のバッ
ファの出力側に、さらに、過去に第一のバッファより読
み出されたフレームのデータ量を累積計算する第一の読
み出しデータ量計測手段と、第二のバッファの出力側
に、過去に第二のバッファより読み出されたフレームの
データ量を累積計算する第二の読み出しデータ量計測手
段とを備えた構成であり、第一の読み出しデータ量計測
手段が過去に第一のバッファより読み出されたフレーム
のデータ量を累積計算し、第二の読み出しデータ量計測
手段が第二のバッファより読み出されたフレームのデー
タ量を累積計算し、出力制御手段が、第一、第二の蓄積
フレーム数計測手段を、予め定められた単位時間ごとに
参照して、次回の参照までの単位時間内での第一、第二
のバッファそれぞれの読み出し時間を決定するが、その
決定方法として、第一、第二のバッファの蓄積フレーム
数が一方のみ0の場合、蓄積フレーム数が0でないバッ
ファの読み出し時間は単位時間の100%、蓄積フレー
ム数が0のバッファの読み出し時間は単位時間の0%と
し、蓄積フレーム数が双方0の場合、双方のバッファの
読み出し時間が単位時間の0%とし、蓄積フレーム数が
双方0でない場合、第一のバッファの読み出し時間は、
第一の読み出しデータ量計測手段の読み出しデータ量の
逆数を、第一、第二の読み出しデータ量計測手段の読み
出しデータ量の逆数の和で除した値に、単位時間を乗じ
て計算された時間とし、第二のバッファの読み出し時間
は、第二の読み出しデータ量計測手段の読み出しデータ
量の逆数を、第一、第二の読み出しデータ量計測手段の
読み出しデータ量の逆数の和で除した値に、単位時間を
乗じて計算された時間として、第一、第二のバッファの
読み出しを行うように選択出力手段を制御することがで
きるようにしたものである。
According to the present invention, there is provided a first reading data amount measuring device for cumulatively calculating a data amount of a frame previously read from the first buffer at an output side of the first buffer according to the above invention. Means, on the output side of the second buffer, a second read data amount measuring means for cumulatively calculating the data amount of the frame read from the second buffer in the past; The read data amount measuring means cumulatively calculates the data amount of the frame read from the first buffer in the past, and the second read data amount measuring means accumulates the data amount of the frame read from the second buffer. Calculating, the output control means refers to the first and second accumulated frame number measuring means for each predetermined unit time, and the first and second buffers within the unit time until the next reference. Respectively The read time is determined. As a determination method, when the number of accumulated frames in the first and second buffers is only 0, the read time of a buffer whose accumulated frame number is not 0 is 100% of the unit time, and the number of accumulated frames is Is 0% of the unit time, the readout time of both buffers is 0% of the unit time, and the readout time of both buffers is 0% of the unit time. The buffer read time is
Time calculated by multiplying a value obtained by dividing a reciprocal of the read data amount of the first read data amount measuring means by a sum of reciprocals of the read data amounts of the first and second read data amount measuring means by a unit time. The read time of the second buffer is a value obtained by dividing the reciprocal of the read data amount of the second read data amount measuring means by the sum of the reciprocals of the read data amounts of the first and second read data amount measuring means. As a time calculated by multiplying the first and second buffers, the selection and output means can be controlled to read the first and second buffers.

【0010】また、本発明は、上記の発明の第一、第二
の読み出しデータ量計測手段に、さらに、過去に送出し
たフレームの送出時刻とフレーム長を対応づけて記録す
る機能を備え、第一、第二の読み出しデータ量計測手段
による読み出しデータ量の計算の際に、フレームを送出
した時刻から現時刻までの時間経過が大きいほど、値の
小さくなる重み関数A(0≦A)を乗じて計算するよう
にしたものである。
According to the present invention, the first and second read data amount measuring means of the above invention further have a function of recording a transmission time of a previously transmitted frame and a frame length in association with each other. In calculating the read data amount by the first and second read data amount measuring means, the weight function A (0 ≦ A) is set such that the value decreases as the time lapse from the time when the frame is transmitted to the current time is larger. Is calculated.

【0011】また、本発明は、上記の発明の第一の蓄積
フレーム数計測手段の代わりに、第一のバッファに蓄積
されたデータ量を計測する第一の蓄積データ量計測手段
とし、第二の蓄積フレーム数計測手段の代わりに、第二
のバッファに蓄積されたデータ量を計測する第二の蓄積
データ量計測手段として置き換えた構成としたものであ
り、第一の蓄積データ量計測手段が第一のバッファに蓄
積されたデータ量を計測し、第二の蓄積データ量計測手
段が第二のバッファに蓄積されたデータ量を計測し、出
力制御手段が、第一、第二の蓄積データ量計測手段を、
予め定められた単位時間ごとに参照し、次回の参照まで
の単位時間内での第一、第二のバッファそれぞれの読み
出し時間を決定するが、その決定方法として、第一のバ
ッファの読み出し時間は、第一の蓄積データ量計測手段
の蓄積データ量を、第一、第二の蓄積データ量計測手段
の蓄積データ量の和で除した値に、単位時間を乗じて計
算された時間とし、第二のバッファの読み出し時間は、
第二の蓄積データ量計測手段の蓄積データ量を、第一、
第二の蓄積データ量計測手段の蓄積データ量の和で除し
た値に、単位時間を乗じて計算された時間として、第
一、第二のバッファの読み出しを行うように選択出力手
段を制御するようにしたものである。
The present invention also provides a first accumulated data amount measuring means for measuring the amount of data accumulated in the first buffer, instead of the first accumulated frame number measuring means of the above invention, Instead of the accumulated frame number measuring means, the second accumulated data amount measuring means for measuring the amount of data accumulated in the second buffer is replaced with a first accumulated data amount measuring means. The amount of data accumulated in the first buffer is measured, the second accumulated data amount measuring means measures the amount of data accumulated in the second buffer, and the output control means operates the first and second accumulated data. Quantity measurement means,
Reference is made for each predetermined unit time, and the read time of each of the first and second buffers within the unit time until the next reference is determined.However, the read time of the first buffer is determined as The accumulated data amount of the first accumulated data amount measuring means is a time calculated by multiplying the value obtained by dividing the sum of the accumulated data amounts of the first and second accumulated data amount measuring means by a unit time, The read time of the second buffer is
The stored data amount of the second stored data amount measuring means is first,
The selection output unit is controlled so as to read the first and second buffers as a time calculated by multiplying the value obtained by multiplying the sum of the accumulated data amounts of the second accumulated data amount measurement unit by the unit time. It is like that.

【0012】また、本発明は、上記の発明の第一の蓄積
フレーム数計測手段を、第一のバッファに蓄積されてい
るフレームのアプリケーションプロトコル情報を読み込
み、第一のバッファの読み出し優先度を計算する第一の
アプリケーション優先度計算手段に置き換え、第二の蓄
積フレーム数計測手段を、第二のバッファに蓄積されて
いるフレームのアプリケーションプロトコル情報を読み
込み、第二のバッファの読み出し優先度を計算する第二
のアプリケーション優先度計算手段に置き換えた構成と
したものであり、第一のアプリケーション優先度計算手
段が第一のバッファに蓄積されているフレームのアプリ
ケーションプロトコル情報を読み込み、第一のバッファ
の読み出し優先度を計算し、第二のアプリケーション優
先度計算手段が第二のバッファに蓄積されているフレー
ムのアプリケーションプロトコル情報を読み込み、第二
のバッファの読み出し優先度を計算し、出力制御手段が
第一、第二のアプリケーション優先度計算手段を予め定
められた単位時間ごとに参照し、次回の参照までの単位
時間内での第一、第二のバッファそれぞれの読み出し時
間を決定するが、その決定方法として、第一のバッファ
の読み出し時間は、第一のアプリケーション優先度計算
手段の読み出し優先度を、第一、第二のアプリケーショ
ン優先度計算手段の読み出し優先度の和で除した値に、
単位時間を乗じて計算された時間とし、第二のバッファ
の読み出し時間は、第二のアプリケーション優先度計算
手段の読み出し優先度を、第一、第二のアプリケーショ
ン優先度計算手段の読み出し優先度の和で除した値に、
単位時間を乗じて計算された時間として、第一、第二の
バッファの読み出しを行うように選択出力手段を制御す
るようにしたものである。
[0012] The present invention further comprises the first accumulated frame number measuring means of the present invention reading the application protocol information of the frames accumulated in the first buffer and calculating the read priority of the first buffer. The first application priority calculating means, and the second accumulated frame number measuring means reads the application protocol information of the frames accumulated in the second buffer and calculates the read priority of the second buffer. The first application priority calculation means reads the application protocol information of the frame stored in the first buffer and reads the first buffer. The priority is calculated, and the second application priority calculating means calculates the priority. The application protocol information of the frame stored in the buffer is read, the read priority of the second buffer is calculated, and the output control means causes the first and second application priority calculation means to change the read priority for each predetermined unit time. To determine the read time of each of the first and second buffers within the unit time until the next reference. As a determination method, the read time of the first buffer is determined by the first application priority. The read priority of the calculation means is divided by the sum of the read priorities of the first and second application priority calculation means,
The read time of the second buffer is the read time of the second application priority calculating means, and the read time of the second application priority calculating means is the time calculated by multiplying the unit time by the unit time. Divided by the sum
As a time calculated by multiplying the unit time, the selection output means is controlled to read the first and second buffers.

【0013】[0013]

【発明の実施の形態】以下、図面を用いて、本発明の幾
つかの実施の形態を詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Some embodiments of the present invention will be described below in detail with reference to the drawings.

【0014】先ず、本発明の第1の実施の形態について
説明する。図1は、本発明の第1の実施の形態における
通信帯域制御装置の構成図であり、通信路より入力した
フレームを蓄積するために入力通信路ごとに設けたバッ
ファ1a,1bと、それぞれのバッファ1a,1bに蓄
積されているフレーム数を計測する蓄積フレーム数計測
手段2a,2bと、蓄積フレーム数計測手段2a,2b
の蓄積フレーム数情報を元に読み出しを制御する出力制
御手段3と、出力制御手段3により指示された帯域でバ
ッファ1a,1bからフレームを読み出し、通信路へ出
力する選択出力手段4とによって構成されている。
First, a first embodiment of the present invention will be described. FIG. 1 is a configuration diagram of a communication band control device according to a first embodiment of the present invention, in which buffers 1a and 1b provided for each input communication path for storing frames input from the communication path, and respective buffers 1a and 1b. Accumulated frame number measuring means 2a, 2b for measuring the number of frames accumulated in buffers 1a, 1b, and accumulated frame number measuring means 2a, 2b
Output control means 3 for controlling the readout based on the accumulated frame number information, and selective output means 4 for reading out the frames from the buffers 1a and 1b in the band specified by the output control means 3 and outputting them to the communication path. ing.

【0015】次に、この実施の形態の動作について説明
する。まず、2本の入力通信路からのフレームは、それ
ぞれの通信路ごとに設けられたバッファ1a,1bへ書
き込まれる。その時、蓄積フレーム数計測手段2a,2
bは、それぞれ、バッファ1a,1bへのフレーム書き
込みを検知し、フレーム数をカウンタなどの計数手段
(図示せず)をインクリメントすることによって計測す
る。また同時に、蓄積フレーム数計測手段2a,2b
は、それぞれ、バッファ1a,1bから読み出されたデ
ータ量も、計数手段(図示せず)をデクリメントするこ
とによって計測する。
Next, the operation of this embodiment will be described. First, frames from two input communication paths are written into buffers 1a and 1b provided for each of the communication paths. At this time, the accumulated frame number measuring means 2a, 2
“b” detects frame writing to the buffers 1a and 1b, respectively, and measures the number of frames by incrementing a counting means (not shown) such as a counter. At the same time, the accumulated frame number measuring means 2a, 2b
Is also measured by decrementing the counting means (not shown) of the data read from the buffers 1a and 1b, respectively.

【0016】次に、出力制御手段3は、2つの蓄積フレ
ーム数計測手段2a,2bを参照し、蓄積フレーム数が
一方のみ0の場合、蓄積フレーム数が0でないバッファ
1aまたはバッファ1bに対してのみ、所定の単位時間
で読み出しを行う。そして、蓄積フレーム数が双方0の
場合、読み出しを行わず、蓄積フレーム数が双方0でな
い場合、所定の単位時間をTとすると、バッファ1aに
割り当てられる読み出し時間t1とバッファ1bに割り
当てられる読み出し時間t2を次の式(1)より計算し
て、前半に一方のバッファの読み出しを行い、後半に他
方のバッファの読み出しを行うように選択出力手段4を
制御する。
Next, the output control means 3 refers to the two accumulated frame number measuring means 2a and 2b. If only one of the accumulated frame numbers is 0, the output control means 3 applies the data to the buffer 1a or 1b whose accumulated frame number is not 0. Only in a predetermined unit time, reading is performed. When the number of accumulated frames is both 0, reading is not performed. When the number of accumulated frames is not both 0, the reading time t1 assigned to the buffer 1a and the reading time assigned to the buffer 1b are defined as T, where T is a predetermined unit time. t2 is calculated from the following equation (1), and the selection output means 4 is controlled so that one buffer is read in the first half and the other buffer is read in the second half.

【0017】[0017]

【数1】 (1)このようにして、上記の処理を、所定の単位時間
Tの周期で繰り返す。
(Equation 1) (1) In this way, the above processing is repeated at a cycle of a predetermined unit time T.

【0018】次に、選択出力手段4は、出力制御手段3
より通知された読み出し時間に基づいて、バッファ1
a,1bに対して読み出しを行う。まず、出力制御手段
3よりバッファ1aに対する読み出し時間t1の通知を
受け、次に、読み出すフレームの長さをバッファ1aに
問い合わせて、読み出し時間t1内に読み出せる長さで
あれば読み出しを行う。
Next, the selection output means 4 is connected to the output control means 3
Buffer 1 based on the read time notified by
The reading is performed for a and 1b. First, a notification of the read time t1 to the buffer 1a is received from the output control means 3, and then the length of the frame to be read is inquired to the buffer 1a.

【0019】そして、このような読み出しを以下の条件
となるまで繰り返す。すなわち、バッファ1aに割り当
てられる読み出し時間t1a内に、バッファ1a内のフ
レームをすべて読み出してしまったときは、そのままバ
ッファ1bの読み出し作業に移る。逆に、読み出しの残
り時間内に次のフレームの読み出しが完了しないと判断
したときは、残り時間をストックしておき、バッファ1
bの読み出し作業に移る。このとき、ストックした残り
時間は次回通知される読み出し時間に加算する。また、
バッファ1bに対しても読み出し時間をt2として上記
と同様の処理を行い、完了したあとは次回の読み出し時
間通知まで待機する。
Such reading is repeated until the following condition is satisfied. That is, when all the frames in the buffer 1a have been read within the read time t1a assigned to the buffer 1a, the operation directly proceeds to the reading operation of the buffer 1b. Conversely, if it is determined that reading of the next frame is not completed within the remaining time of reading, the remaining time is stocked and the buffer 1
Move on to the reading operation of b. At this time, the remaining stock time is added to the read time notified next time. Also,
The same processing as described above is performed on the buffer 1b with the read time set to t2, and after completion, the process waits until the next read time notification.

【0020】以上述べたように、本発明の第1の実施の
形態によれば、集線する2本の入力通信路のうち、一方
の入力通信路のみ通信量が増大するような状況下におい
ても、2本の入力通信路に対してそれぞれ独立して帯域
制御を行い、2本の入力通信路に同一の通信帯域を自動
的に行うことができる。
As described above, according to the first embodiment of the present invention, even in a situation where the traffic of only one of the two input communication paths of the line consolidation increases. In addition, band control can be performed independently on the two input communication paths, and the same communication band can be automatically performed on the two input communication paths.

【0021】尚、上記の第1の実施の形態では、2本の
入力通信路を集線する帯域制御装置について説明した
が、入力通信路をn本にし、入力通信路それぞれにバッ
ファと蓄積フレーム数計測手段を設ける構成としてもよ
い。その時、出力制御手段によるあるx(1≦x≦n)
個目のバッファに割り当てられる読み出し時間txの計
算は、所定の単位時間をT、あるx個目の蓄積フレーム
数計測手段の蓄積フレーム数が0でないと1、蓄積フレ
ーム数が0であると0となる関数をFxとすると、次の
式(2)により計算する。
In the above-described first embodiment, the band control device for concentrating two input communication paths has been described. However, the number of input communication paths is set to n, and each input communication path has a buffer and the number of accumulated frames. It is good also as a structure provided with a measuring means. At that time, a certain x (1 ≦ x ≦ n) by the output control means
The calculation of the read time tx allocated to the buffer of the number of times is as follows: T is a predetermined unit time, 1 if the number of accumulated frames of the xth accumulated frame number measuring means is not 0, and 0 if the number of accumulated frames is 0. Let Fx be the function that satisfies the following equation (2).

【0022】[0022]

【数2】 (2)次に、本発明の第2の実施の形態について説明す
る。図2は本発明の第2の実施の形態における通信帯域
制御装置の構成図である。この通信帯域制御装置は、通
信路より入力したフレームを蓄積するために入力通信路
ごとに設けたバッファ1a,1bと、それぞれのバッフ
ァ1a,1bに蓄積されているフレーム数を計測する蓄
積フレーム数計測手段2a,2bと、それぞれのバッフ
ァ1a,1bより読み出されたフレームの送出時刻とフ
レーム長を対応づけて記録する機能を持ち、読み出しデ
ータ量の計算の際に、フレームを送出してから現在まで
の時間経過が大きいほど値の小さくなる重み関数A(0
≦A)を乗じて計算する読み出しデータ量計測手段5
a,5bと、蓄積フレーム数計測手段2a,2bの蓄積
フレーム数情報と読み出しデータ量計測手段5a,5b
の読み出しデータ量情報を元に読み出しを制御する出力
制御手段3と、出力制御手段3により指示された帯域で
バッファ1a,1bからフレームを読み出し、通信路へ
出力する選択出力手段4とによって構成されている。
(Equation 2) (2) Next, a second embodiment of the present invention will be described. FIG. 2 is a configuration diagram of a communication band control device according to the second embodiment of the present invention. This communication band control device includes buffers 1a and 1b provided for each input communication path for storing frames input from a communication path, and the number of stored frames for measuring the number of frames stored in each of the buffers 1a and 1b. It has a function of correlating and recording the transmission time and frame length of the frames read from the respective buffers 1a and 1b with the measuring means 2a and 2b, and transmits the frames when calculating the read data amount. The weighting function A (0
≦ A) multiplied by read data amount measuring means 5
a, 5b, accumulated frame number information of the accumulated frame number measuring means 2a, 2b, and read data amount measuring means 5a, 5b.
Output control means 3 for controlling the reading based on the read data amount information of the buffer, and selective output means 4 for reading the frames from the buffers 1a and 1b in the band specified by the output control means 3 and outputting the frames to the communication path. ing.

【0023】次に上記第2の実施の形態の動作について
説明する。尚、バッファ1a,1b、蓄積フレーム数計
測手段2a,2b、選択出力手段4の動作については、
前述の第1の実施の形態と同じであるので、その説明は
省略する。
Next, the operation of the second embodiment will be described. The operations of the buffers 1a and 1b, the accumulated frame number measuring means 2a and 2b, and the selection output means 4 are described below.
Since it is the same as the above-described first embodiment, the description is omitted.

【0024】読み出しデータ量計測手段5a,5bは、
それぞれ、バッファ1a,1bから読み出されたフレー
ムの読み出された時刻とフレーム長を対応させて記録す
る。フレーム長を累積計算する際、現時刻と読み出され
た時刻の差が大きいものほど値の小さくなる関数A(例
えば、A=1−0.1×現時刻と読み出された時刻の
差、但し、A<0ならばA=0)をフレーム長に乗じて
計算する。その結果得られた値を読み出しデータ量情報
として、出力制御手段4に通知する。
The read data amount measuring means 5a, 5b
Each of the frames read from the buffers 1a and 1b is recorded in correspondence with the read time and the frame length. When cumulatively calculating the frame length, a function A (for example, A = 1−0.1 × the difference between the current time and the read time, However, if A <0, A = 0) is multiplied by the frame length for calculation. The value obtained as a result is notified to the output control means 4 as read data amount information.

【0025】すると、出力制御手段4は、2つの蓄積フ
レーム数計測手段2a,2bを参照し、蓄積フレーム数
が一方のみ0の場合、蓄積フレーム数が0でないバッフ
ァ1aまたはバッファ1bに対してのみ、所定の単位時
間で読み出しを行う。また、蓄積フレーム数が双方0の
場合は読み出しを行わず、蓄積フレーム数が双方0でな
い場合は、所定の単位時間をTとし、バッファ1a,1
bのそれぞれの読み出しデータ量をR1,R2とする
と、バッファ1aに割り当てられる読み出し時間t1と
バッファ1bに割り当てられる読み出し時間t2を、次
の式(3)により計算し、読み出し時間t1内で、バッ
ファ1aの読み出しを行い、次に、読み出し時間t2内
で、バッファ1bの読み出しを行うように、選択出力手
段4の制御を行う。
Then, the output control means 4 refers to the two accumulated frame number measuring means 2a and 2b. If only one of the accumulated frame numbers is 0, the output control means 4 applies only to the buffer 1a or 1b having a non-zero accumulated frame number. The reading is performed in a predetermined unit time. If the number of accumulated frames is not both 0, no reading is performed. If the number of accumulated frames is not both 0, a predetermined unit time is set to T, and the buffers 1a, 1
Assuming that the respective read data amounts of Rb and Rb are R1 and R2, the read time t1 allocated to the buffer 1a and the read time t2 allocated to the buffer 1b are calculated by the following equation (3). 1a, and then controls the selection output means 4 to read the buffer 1b within the read time t2.

【0026】[0026]

【数3】 (3)そして、このような処理を所定の単位時間Tの周
期で繰り返す。
(Equation 3) (3) Then, such processing is repeated at a cycle of a predetermined unit time T.

【0027】以上述べたように、本発明の第2の実施の
形態によれば、集線する2本の入力通信路のうち一方の
入力通信路のみ通信量が増大するような状況下において
も、2本の入力通信路をそれぞれ独立して帯域制御を行
い、2本の入力通信路のうち、過去に多くの通信を行っ
た方の帯域がより多く制限されるので、長時間平均で同
一の通信帯域を自動的に行うことができる。
As described above, according to the second embodiment of the present invention, even in a situation where the traffic of only one of the two input communication paths of the line consolidation increases, Bandwidth control is performed independently on the two input communication paths, and the band of the two input communication paths that has performed more communication in the past is more limited. The communication band can be automatically set.

【0028】尚、上記の第2の実施の形態では、2本の
入力通信路を集線する帯域制御装置について説明した
が、入力通信路をn本にし、入力通信路それぞれにバッ
ファと蓄積フレーム数計測手段と読み出しデータ量計測
手段とを設ける構成としてもよい。この時、出力制御手
段によるx(1≦x≦n)個目のバッファに割り当てら
れる読み出し時間txは、所定の単位時間をT、あるx
個目の蓄積フレーム数計測手段の蓄積フレーム数が0で
ないと1、蓄積フレーム数が0であると0となる関数を
Fx、あるx個目の読み出しデータ量計測手段で計算さ
れた読み出しデータ量をRxとすると、次の式(4)に
より計算される。
In the above-described second embodiment, the band control device for concentrating two input communication paths has been described. However, the number of input communication paths is n, and a buffer and the number of accumulated frames are provided for each input communication path. A configuration may be provided in which a measurement unit and a read data amount measurement unit are provided. At this time, the read time tx assigned to the x-th (1 ≦ x ≦ n) -th buffer by the output control means is a predetermined unit time T, a certain x
The function that becomes 1 when the number of accumulated frames is not 0 and 0 when the number of accumulated frames is 0 is the read data amount calculated by the xth read data amount measuring means. Is defined as Rx, and is calculated by the following equation (4).

【0029】[0029]

【数4】 (4)次に、本発明の第3の実施の形態について説明す
る。図3は本発明の第3の実施の形態における通信帯域
制御装置の構成図である。この通信帯域制御装置は、通
信路より入力したフレームを蓄積するために入力通信路
ごとに設けたバッファ1a,1bと、バッファ1a,1
bに蓄積されているデータ量を計測する蓄積データ量計
測手段6a,6bと、蓄積データ量計測手段6a,6b
の蓄積データ量情報を元に読み出しを制御する出力制御
手段3と、出力制御手段3により指示された帯域でバッ
ファ1a,1bからフレームを読み出し、通信路へ出力
する選択出力手段4とによって構成されている。
(Equation 4) (4) Next, a third embodiment of the present invention will be described. FIG. 3 is a configuration diagram of a communication band control device according to the third embodiment of the present invention. This communication band control device includes buffers 1a and 1b provided for each input communication path for storing frames input from the communication path, and buffers 1a and 1b.
b, the accumulated data amount measuring means 6a, 6b for measuring the amount of data accumulated in "b", and the accumulated data amount measuring means 6a, 6b.
Output control means 3 for controlling the reading based on the accumulated data amount information of the buffer, and selective output means 4 for reading the frames from the buffers 1a and 1b in the band specified by the output control means 3 and outputting the frames to the communication path. ing.

【0030】次に、第3の実施の形態の動作について説
明する。尚、バッファ1a,1bと選択出力手段4の動
作については、上記の第1の実施の形態と同じであるの
で、その説明は省略する。
Next, the operation of the third embodiment will be described. The operations of the buffers 1a and 1b and the selection output means 4 are the same as those in the first embodiment, and a description thereof will be omitted.

【0031】蓄積データ量計測手段6a,6bは、それ
ぞれ、バッファ1a,1bに書き込まれたデータ量をカ
ウンタなどの計数手段(図示せず)をインクリメントす
ることによって計測する。また同時に、蓄積データ量計
測手段6a,6bは、それぞれ、バッファ1a,1bか
ら読み出されたデータ量も、計数手段(図示せず)をデ
クリメントすることによって計測する。蓄積データ量計
測手段6a,6bは、上記のような計数手段でバッファ
1a,1bに書き込まれているデータ量を計測する。
The accumulated data amount measuring means 6a and 6b measure the data amount written in the buffers 1a and 1b, respectively, by incrementing a counting means (not shown) such as a counter. At the same time, the accumulated data amount measuring means 6a and 6b also measure the data amount read from the buffers 1a and 1b, respectively, by decrementing the counting means (not shown). The accumulated data amount measuring means 6a and 6b measure the data amount written in the buffers 1a and 1b by the counting means as described above.

【0032】また、出力制御手段3は、蓄積データ量計
測手段6a,6bを参照して、所定の単位時間をTと
し、バッファ1a,1bのそれぞれの蓄積データ量をD
1,D2とすると、バッファ1aに割り当てられる読み
出し時間t1とバッファ1bに割り当てられる読み出し
時間t2を次の式(5)により計算し、読み出し時間t
1内で、バッファ1aの読み出しを行い、次に読み出し
時間t2内で、バッファ1bの読み出しを行うように選
択出力手段4の制御を行う。
The output control means 3 refers to the stored data amount measuring means 6a, 6b, sets a predetermined unit time to T, and sets the respective stored data amounts of the buffers 1a, 1b to D.
1, D2, the read time t1 assigned to the buffer 1a and the read time t2 assigned to the buffer 1b are calculated by the following equation (5), and the read time t
1, the control of the selection output means 4 is performed so that the buffer 1a is read out within the read time t2.

【0033】[0033]

【数5】 (5)そして、このような処理を所定の単位時間Tの周
期で繰り返す。
(Equation 5) (5) Then, such processing is repeated at a cycle of a predetermined unit time T.

【0034】以上述べたように、本発明の第3の実施の
形態によれば、集線する2本の入力通信路のうち一方の
入力通信路のみ通信量が増大するような状況下において
も、2本の入力通信路をそれぞれ独立して帯域制御を行
い、2本の入力通信路の通信状況に合わせて通信量に見
合った割合の通信帯域を自動的に行うことができる。
As described above, according to the third embodiment of the present invention, even in a situation where the traffic of only one of the two input communication paths of the line consolidation increases, Bandwidth control can be performed on each of the two input communication paths independently, and a communication band having a ratio commensurate with the traffic can be automatically performed in accordance with the communication conditions of the two input communication paths.

【0035】尚、上記の第3の実施の形態3では、2本
の入力通信路を集線する帯域制御装置について説明した
が、入力通信路をn本にし、入力通信路それぞれにバッ
ファと蓄積データ量計測手段を設ける構成としてもよ
い。この時、出力制御手段によるx(1≦x≦n)個目
のバッファに割り当てられる読み出し時間txは、所定
の単位時間をT、あるx個目の蓄積データ量計測手段で
計算された蓄積データ量をDxとすると、次の式(6)
により計算する。
In the third embodiment described above, the band control device for concentrating two input communication paths has been described. However, the number of input communication paths is n, and a buffer and stored data are provided for each of the input communication paths. It is good also as composition provided with quantity measuring means. At this time, the read time tx assigned to the x-th (1 ≦ x ≦ n) -th buffer by the output control means is a predetermined unit time of T, and the accumulated data calculated by the x-th accumulated data amount measuring means. If the amount is Dx, the following equation (6)
Is calculated by

【0036】[0036]

【数6】 (6)次に、本発明の第4の実施の形態について説明す
る。図4は本発明の第4の実施の形態における通信帯域
制御装置の構成図である。この通信帯域制御装置は、通
信路より入力したフレームを蓄積するために入力通信路
ごとに設けたバッファ1a,1bと、バッファ1a,1
bに蓄積されているフレームのアプリケーションプロト
コル情報を読み込み、予め定めたアプリケーションの優
先度定数をフレームの書き込み読み出しに従って加減算
することによって、バッファ1a,1bの読み出し優先
度を計算するアプリケーション優先度計算手段7a、7
bと、アプリケーション優先度計算手段7a、7bの読
み出し優先度情報に基づいて、読み出しを制御する出力
制御手段3と、出力制御手段3により指示された帯域で
バッファ1a,1bからフレームを読み出し、通信路へ
出力する選択出力手段4とによって構成されている。
(Equation 6) (6) Next, a fourth embodiment of the present invention will be described. FIG. 4 is a configuration diagram of a communication band control device according to the fourth embodiment of the present invention. This communication band control device includes buffers 1a and 1b provided for each input communication path for storing frames input from the communication path, and buffers 1a and 1b.
application priority calculation means 7a for reading the application protocol information of the frame stored in the buffer 1b and calculating the read priority of the buffers 1a and 1b by adding and subtracting a predetermined application priority constant according to the writing and reading of the frame. , 7
b, the output control means 3 for controlling reading based on the read priority information of the application priority calculating means 7a, 7b, and reading the frames from the buffers 1a, 1b in the band designated by the output control means 3, and And a selection output means 4 for outputting to a road.

【0037】次に、上記の第4の実施の形態の動作につ
いて説明する。尚、バッファ1a、1b及び選択出力手
段4の動作については、前述の第1の実施の形態と同じ
動作を行ので、その説明を省略する。
Next, the operation of the fourth embodiment will be described. The operations of the buffers 1a and 1b and the selection output means 4 are the same as those in the first embodiment, and the description thereof will be omitted.

【0038】アプリケーション優先度計算手段7a、7
bは、それぞれ、バッファ1a、1bにフレームが書き
込まれる際に、そのフレームに含まれているアプリケー
ションプロトコル情報(IPデータグラムではTOS値
など)を参照し、その情報に対して、予め定めてある優
先度定数(例えば、低遅延が必要とされるTELNETならば
8、その他特に重要度の低いNNTPなどは1などの定数)
を、図示しないカウンタなどの計数手段に加算する。逆
に、フレームの読み出しが行われたときには、そのフレ
ームのアプリケーションプロトコル情報を参照し、その
情報に対応した優先度定数を計数手段から減算する。ア
プリケーション優先度計算手段7a、7bは、このよう
な処理によりバッファ1a、1bに蓄積されているフレ
ームの読み出し優先度を計算する。
Application priority calculation means 7a, 7
b refers to application protocol information (TOS value or the like in an IP datagram) included in the frame when the frame is written into the buffers 1a and 1b, respectively, and is predetermined for the information. Priority constant (for example, a constant such as 8 for TELNET that requires low delay, and 1 for NNTP, etc., which are less important)
Is added to counting means such as a counter (not shown). Conversely, when a frame is read, the priority constant corresponding to the information is subtracted from the counting means with reference to the application protocol information of the frame. The application priority calculating means 7a, 7b calculates the read priority of the frames stored in the buffers 1a, 1b by such processing.

【0039】出力制御手段3は、アプリケーション優先
度計算手段7a、7bの情報を参照し、所定の単位時間
をTとし、バッファ1a、1bのそれぞれの読み出し優
先度をP1,P2とすると、バッファ1aに割り当てら
れる読み出し時間t1とバッファ1bに割り当てられる
読み出し時間t2を次の式(7)により計算し、読み出
し時間t1内で、バッファ1aの読み出しを行い、次に
読み出し時間t2内で、バッファ1bの読み出しを行う
ように選択出力手段4を制御する。
The output control means 3 refers to the information of the application priority calculation means 7a and 7b and sets a predetermined unit time to T, and sets the read priorities of the buffers 1a and 1b to P1 and P2. The read time t1 assigned to the buffer 1b and the read time t2 assigned to the buffer 1b are calculated by the following equation (7), the buffer 1a is read within the read time t1, and the buffer 1b is read within the read time t2. The selection output means 4 is controlled so as to perform reading.

【0040】[0040]

【数7】 (7)そして、このような処理を所定の単位時間Tの周
期で繰り返す。
(Equation 7) (7) Then, such processing is repeated at a cycle of a predetermined unit time T.

【0041】以上述べたように、本発明の第4の実施の
形態4によれば、集線する2本の入力通信路のうち一方
の入力通信路のみ通信量が増大するような状況下におい
ても、2本の入力通信路をそれぞれ独立して帯域制御を
行い、2本の入力通信路のそれぞれが取り扱っているア
プリケーションの重要度に合った割合の通信帯域を自動
的に行うことができる。
As described above, according to the fourth embodiment of the present invention, even in a situation where the traffic of only one of the two input communication paths to be concentrated increases. In addition, it is possible to control the bandwidth of each of the two input communication paths independently, and to automatically perform a communication band at a rate matching the importance of the application handled by each of the two input communication paths.

【0042】尚、第4の実施の形態では、2本の入力通
信路を集線する帯域制御装置について説明したが、入力
通信路をn本にし、入力通信路それぞれにバッファと蓄
積データ量計測手段を設ける構成としてもよい。この
時、出力制御手段によるあるx(1≦x≦n)個目のバ
ッファに割り当てられる読み出し時間txは、所定の単
位時間をT、あるx個目のアプリケーション優先度計算
手段で計算された読み出し優先度をPxとすると、次の
式8により計算される。
In the fourth embodiment, the band control device for concentrating two input communication paths has been described. However, the number of input communication paths is n, and a buffer and a storage data amount measuring means are provided for each of the input communication paths. May be provided. At this time, the read time tx assigned to a certain x (1 ≦ x ≦ n) buffer by the output control means is a predetermined unit time of T and the read time calculated by the certain x-th application priority calculating means. Assuming that the priority is Px, it is calculated by the following Expression 8.

【0043】[0043]

【数8】 (8)(Equation 8) (8)

【0044】[0044]

【発明の効果】以上説明したように、本発明によれば、
入力通信路ごとにフレームを区別してバッファに格納
し、出力制御手段により入力通信路ごとの使用状況を基
に各バッファの通信帯域を割り当てることにより、集線
する2本の入力通信路のうち一方の入力通信路のみ通信
量が増大するような状況下においても、2本の入力通信
路のそれぞれについて独立した状態で帯域制御を行うこ
とができる。したがって、現在の通信状況に合わせた通
信帯域の制御を自動的に行うことができる。これによ
り、一方の通信路のみ通信量が増大したような場合で
も、他方の通信路が通信が阻害さることなく、双方の入
力通信路の帯域レベルを維持することができる。
As described above, according to the present invention,
A frame is distinguished for each input channel and stored in a buffer, and a communication band of each buffer is allocated by an output control unit based on a use state of each input channel, so that one of the two input channels to be converged is connected. Even in a situation where the traffic increases only in the input communication path, the band control can be performed in an independent state for each of the two input communication paths. Therefore, it is possible to automatically control the communication band according to the current communication status. Thus, even when the communication amount of only one of the communication paths increases, the band level of both input communication paths can be maintained without the communication of the other communication path being hindered.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施の形態における通信帯域制
御装置の構成を示すブロック図
FIG. 1 is a block diagram showing a configuration of a communication band control device according to a first embodiment of the present invention.

【図2】本発明の第2の実施の形態における通信帯域制
御装置の構成を示すブロック図
FIG. 2 is a block diagram showing a configuration of a communication band control device according to a second embodiment of the present invention.

【図3】本発明の第3の実施の形態における通信帯域制
御装置の構成を示すブロック図
FIG. 3 is a block diagram showing a configuration of a communication band control device according to a third embodiment of the present invention.

【図4】本発明の第4の実施の形態における通信帯域制
御装置の構成を示すブロック図
FIG. 4 is a block diagram showing a configuration of a communication band control device according to a fourth embodiment of the present invention.

【符号の説明】[Explanation of symbols]

1a,1b バッファ 2a,2b 蓄積フレーム数計測手段 3 出力制御手段 4 選択出力手段 5a,5b 読み出しデータ量計測手段 6a、6b 蓄積データ量計測手段 7a,7b アプリケーション優先度計算手段 1a, 1b Buffers 2a, 2b Accumulated frame number measuring means 3 Output control means 4 Selection output means 5a, 5b Read data amount measuring means 6a, 6b Accumulated data amount measuring means 7a, 7b Application priority calculating means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 長井 哲也 神奈川県横浜市港北区綱島東四丁目3番1 号 松下通信工業株式会社内 Fターム(参考) 5K028 EE12 KK32 SS24 5K030 HA08 HB28 JA01 KA03 MA13 MB15 9A001 BB04 CC07  ────────────────────────────────────────────────── ─── Continuing from the front page (72) Inventor Tetsuya Nagai 4-3-1 Tsunashima Higashi, Kohoku-ku, Yokohama-shi, Kanagawa Prefecture F-term (reference) 5K028 EE12 KK32 SS24 5K030 HA08 HB28 JA01 KA03 MA13 MB15 9A001 BB04 CC07

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 第一の入力通信路より入力したフレーム
を蓄積する第一のバッファと、 第二の入力通信路より入力したフレームを蓄積する第二
のバッファと、 前記第一のバッファに蓄積されているフレーム数を計測
する第一の蓄積フレーム数計測手段と、 前記第二のバッファに蓄積されているフレーム数を計測
する第二の蓄積フレーム数計測手段と、 前記第一の蓄積フレーム数計測手段と、第二の蓄積フレ
ーム数計測手段の計測結果を参照して、前記第一のバッ
ファと前記第二のバッファの各々に割り当てる伝送帯域
を計算し、読み出しの指示を行う出力制御手段と、 前記出力制御手段より指示された帯域で、前記第一のバ
ッファ及び前記第二のバッファからフレームを読み出
し、読み出したフレームを出力通信路へ出力する選択出
力手段とを備え、 可変長フレームを伝送する前記第一の入力通信路と前記
第二の入力通信路とを、1の出力通信路に集線する場合
に、 前記出力制御手段により、前記第一の蓄積フレーム数計
測手段と、前記第二の蓄積フレーム数計測手段とを予め
定められた単位時間ごとに参照し、次回の参照までの単
位時間内での、前記第一のバッファと前記第二のバッフ
ァのそれぞれの読み出し時間を決定するとき、 前記第一のバッファと前記第二のバッファの蓄積フレー
ム数が、 一方のみが0の場合は、前記蓄積フレーム数が0でない
バッファの読み出し時間は単位時間の100%とし、前
記蓄積フレーム数が0のバッファの読み出し時間は単位
時間の0%とし、 双方共に0の場合は、双方のバッファの読み出し時間が
単位時間の0%とし、 双方共に0でない場合は、双方のバッファの読み出し時
間は単位時間の50%として、 前記第一のバッファと前記第二のバッファの読み出しを
行うように前記選択出力手段を制御し、フレームを前記
出力通信路へ送出することを特徴とする通信帯域制御装
置。
1. A first buffer for storing frames input from a first input channel, a second buffer for storing frames input from a second input channel, and storing in the first buffer First accumulated frame number measuring means for measuring the number of frames stored, second accumulated frame number measuring means for measuring the number of frames accumulated in the second buffer, and the first accumulated frame number Measuring means, with reference to the measurement result of the second accumulated frame number measuring means, calculate the transmission bandwidth to be assigned to each of the first buffer and the second buffer, output control means for instructing readout, Selecting output means for reading a frame from the first buffer and the second buffer in a band designated by the output control means and outputting the read frame to an output communication path; When the first input communication path and the second input communication path for transmitting a variable length frame are concentrated to one output communication path, the first storage frame is output by the output control means. Number counting means and the second accumulated frame number counting means are referenced for each predetermined unit time, and within the unit time until the next reference, the first buffer and the second buffer When determining each read time, when the number of accumulated frames of the first buffer and the second buffer is 0, if only one of them is 0, the read time of the buffer whose accumulated frame number is not 0 is 100 unit time. %, The read time of the buffer having the accumulated frame number of 0 is 0% of the unit time, and when both are 0, the read time of both buffers is 0% of the unit time, and both are 0. In this case, the readout time of both buffers is set to 50% of the unit time, the selection output means is controlled so as to read out the first buffer and the second buffer, and a frame is sent to the output communication path. A communication band control device for transmitting.
【請求項2】 第一の入力通信路より入力したフレーム
を蓄積する第一のバッファと、 第二の入力通信路より入力したフレームを蓄積する第二
のバッファと、 前記第一のバッファに蓄積されているフレーム数を計測
する第一の蓄積フレーム数計測手段と、 前記第二のバッファに蓄積されているフレーム数を計測
する第二の蓄積フレーム数計測手段と、 前記第一の蓄積フレーム数計測手段と、第二の蓄積フレ
ーム数計測手段の計測結果を参照して、前記第一のバッ
ファと前記第二のバッファの各々に割り当てる伝送帯域
を計算し、読み出しの指示を行う出力制御手段と、 前記出力制御手段より指示された帯域で、前記第一のバ
ッファ及び前記第二のバッファからフレームを読み出
し、読み出したフレームを出力通信路へ出力する選択出
力手段と、 前記第一のバッファの出力側に接続されて、前記第一の
バッファより過去に読み出されたフレームのデータ量を
累積計算する、第一の読み出しデータ量計測手段と、 前記第二のバッファの出力側に接続されて、前記第二の
バッファより過去に読み出されたフレームのデータ量を
累積計算する、第二の読み出しデータ量計測手段とを備
え、 前記出力制御手段により、前記第一蓄積フレーム数計測
手段と、前記第二の蓄積フレーム数計測手段とを、予め
定められた単位時間ごとに参照し、次回の参照までの単
位時間内での前記第一のバッファと、前記第二のバッフ
ァの、それぞれの読み出し時間を決定するとき、 前記第一のバッファと第二のバッファの蓄積フレーム数
の一方のみが0の場合は、 蓄積フレーム数が0でないバッファの読み出し時間は単
位時間の100%とし、 蓄積フレーム数が0のバッファの読み出し時間は単位時
間の0%とし、 前記第一のバッファと第二のバッファの蓄積フレーム数
が双方0の場合は、 双方のバッファの読み出し時間が単位時間の0%とし、 前記第一のバッファと第二のバッファの蓄積フレーム数
が双方0でない場合は、 前記第一のバッファの読み出し時間は、前記第一の読み
出しデータ量計測手段の読み出しデータ量の逆数を、前
記第一の読み出しデータ量計測手段の読み出しデータ量
の逆数と前記第二の読み出しデータ量計測手段の読み出
しデータ量の逆数との和で除した値に、単位時間を乗じ
て計算された時間とし、 前記第二のバッファの読み出し時間は、前記第二の読み
出しデータ量計測手段の読み出しデータ量の逆数を、前
記第一の読み出しデータ量計測手段の読み出しデータ量
の逆数と前記第二の読み出しデータ量計測手段の読み出
しデータ量の逆数との和で除した値に、単位時間を乗じ
て計算された時間とし、 前記第一のバッファと前記第二のバッファの読み出しを
行うように前記選択出力手段を制御し、出力通信路へフ
レームを送出することを特徴とする通信帯域制御装置。
2. A first buffer for storing frames input from a first input channel, a second buffer for storing frames input from a second input channel, and storing in the first buffer. First accumulated frame number measuring means for measuring the number of frames stored, second accumulated frame number measuring means for measuring the number of frames accumulated in the second buffer, and the first accumulated frame number Measuring means, with reference to the measurement result of the second accumulated frame number measuring means, calculate the transmission bandwidth to be assigned to each of the first buffer and the second buffer, output control means for instructing readout, Selecting output means for reading a frame from the first buffer and the second buffer in a band designated by the output control means and outputting the read frame to an output communication path; A first read data amount measuring unit, connected to an output side of the first buffer, for cumulatively calculating the data amount of a frame read in the past from the first buffer; and the second buffer A second read data amount measuring means connected to the output side of the second buffer and cumulatively calculating the data amount of the frame read in the past from the second buffer. The accumulated frame number measuring means and the second accumulated frame number measuring means are referred to for each predetermined unit time, and the first buffer within the unit time until the next reference is set, and the second buffer When determining the read time of each of the buffers, when only one of the number of accumulated frames of the first buffer and the second buffer is 0, reading of a buffer whose accumulated frame number is not 0 When the number of frames stored in the first buffer and the number of frames stored in the second buffer are both 0, the read time of the buffer having the number of accumulated frames of 0 is 0% of the unit time. If the read time of the buffer is 0% of the unit time, and the number of accumulated frames in the first buffer and the second buffer is not 0, the read time of the first buffer is the first read data. The reciprocal of the read data amount of the amount measuring means is divided by the sum of the reciprocal of the read data amount of the first read data amount measuring means and the reciprocal of the read data amount of the second read data amount measuring means. , A time calculated by multiplying a unit time, the read time of the second buffer, the reciprocal of the read data amount of the second read data amount measuring means, the second A value calculated by multiplying a value obtained by dividing the sum of the reciprocal of the read data amount of the read data amount measuring means and the reciprocal of the read data amount of the second read data amount means by a unit time, and A communication band control device, wherein the selection output means is controlled so as to read out one buffer and the second buffer, and transmits a frame to an output communication path.
【請求項3】 前記第一の読み出しデータ量計測手段
と、前記第二の読み出しデータ量計測手段とに、過去に
送出したフレームの送出時刻とフレーム長とを対応づけ
て記録する機能を持たせ、 前記第一の読み出しデータ量計測手段と前記第二の読み
出しデータ量計測手段による読み出しデータ量の計算の
際に、フレームを送出した時刻から現時刻までの時間経
過が大きいほど値の小さくなる重み関数A(0≦A)を
乗じて計算することを特徴とする請求項2に記載の通信
帯域制御装置。
3. The first read data amount measuring means and the second read data amount measuring means have a function of recording a transmission time of a previously transmitted frame and a frame length in association with each other. When calculating the read data amount by the first read data amount measuring means and the second read data amount measuring means, the weight becomes smaller as the time lapse from the time when the frame is transmitted to the current time is larger. 3. The communication band control device according to claim 2, wherein the calculation is performed by multiplying a function A (0 ≦ A).
【請求項4】 第一の入力通信路より入力したフレーム
を蓄積する第一のバッファと、 第二の入力通信路より入力したフレームを蓄積する第二
のバッファと、 前記第一のバッファに蓄積されたデータ量を計測する第
一の蓄積データ量計測手段と、 前記第二のバッファに蓄積されたデータ量を計測する第
二の蓄積データ量計測手段と、 前記第一の蓄積データ量計測手段と、第二の蓄積データ
量計測手段の計測結果を参照して、前記第一のバッファ
と前記第二のバッファの各々に割り当てる伝送帯域を計
算し、読み出しの指示を行う出力制御手段と、 前記出力制御手段より指示された帯域で、前記第一のバ
ッファ及び前記第二のバッファからフレームを読み出
し、読み出したフレームを出力通信路へ出力する選択出
力手段とを備え、 可変長フレームを伝送する前記第一の入力通信路と前記
第二の入力通信路とを、1の出力通信路に集線する場合
に、 前記出力制御手段により、前記第一の蓄積データ量計測
手段と第二の蓄積データ量計測手段とを、予め定められ
た単位時間ごとに参照し、次回の参照までの単位時間内
での、前記第一のバッファと前記第二のバッファのそれ
ぞれの読み出し時間を決定するときは、 前記第一のバッファの読み出し時間は、前記第一の蓄積
データ量計測手段の蓄積データ量を、前記第一の蓄積デ
ータ量計測手段の蓄積データ量と前記第二の蓄積データ
量計測手段の蓄積データ量の和で除した値に、単位時間
を乗じて計算された時間とし、 前記第二のバッファの読み出し時間は、前記第二の蓄積
データ量計測手段の蓄積データ量を、前記第一の蓄積デ
ータ量計測手段の蓄積データ量と前記第二の蓄積データ
量計測手段の蓄積データ量の和で除した値に、単位時間
を乗じて計算された時間とし、 前記第一のバッファと前記第二のバッファの読み出しを
行うように前記選択出力手段を制御し、出力通信路へフ
レームを送出することを特徴とする通信帯域制御装置。
4. A first buffer for storing frames input from a first input channel, a second buffer for storing frames input from a second input channel, and storing in the first buffer First accumulated data amount measuring means for measuring the amount of data obtained, second accumulated data amount measuring means for measuring the amount of data accumulated in the second buffer, and first accumulated data amount measuring means And output control means for referring to the measurement result of the second accumulated data amount measuring means, calculating a transmission bandwidth to be assigned to each of the first buffer and the second buffer, and instructing a read, Selecting output means for reading a frame from the first buffer and the second buffer in a band specified by the output control means and outputting the read frame to an output communication path; When the first input communication path and the second input communication path for transmitting a stream are converged to one output communication path, the output control means controls the first stored data amount measurement means, The second accumulated data amount measuring means is referred to at every predetermined unit time, and the reading time of each of the first buffer and the second buffer within the unit time until the next reference is determined. When determining, the read time of the first buffer, the accumulated data amount of the first accumulated data amount measuring means, the accumulated data amount of the first accumulated data amount measuring means and the second accumulated data A value calculated by multiplying the value obtained by dividing the sum of the accumulated data amounts of the amount measuring means by a unit time is used.The reading time of the second buffer is obtained by calculating the accumulated data amount of the second accumulated data amount measuring means. , The first accumulated data amount A value obtained by multiplying a value obtained by dividing the accumulated data amount of the measuring means and the accumulated data amount of the second accumulated data amount means by a unit time, the first buffer and the second buffer A communication band control device for controlling the selection output means so as to read out the frame and transmitting a frame to an output communication path.
【請求項5】 第一の入力通信路より入力したフレーム
を蓄積する第一のバッファと、 第二の入力通信路より入力したフレームを蓄積する第二
のバッファと、 前記第一のバッファに蓄積されているフレームのアプリ
ケーションプロトコル情報を読み込み、前記第一のバッ
ファの読み出し優先度を計算する第一のアプリケーショ
ン優先度計算手段と、 前記第二のバッファに蓄積されているフレームのアプリ
ケーションプロトコル情報を読み込み、前記第二のバッ
ファの読み出し優先度を計算する第二のアプリケーショ
ン優先度計算手段と、 前記第一のアプリケーション優先度計算手段と、前記第
二のアプリケーション優先度計算手段の計算結果を参照
して、前記第一のバッファと前記第二のバッファの各々
に割り当てる伝送帯域を計算し、読み出しの指示を行う
出力制御手段と、 前記出力制御手段より指示された帯域で、前記第一のバ
ッファ及び前記第二のバッファからフレームを読み出
し、読み出したフレームを出力通信路へ出力する選択出
力手段とを備え、 前記出力制御手段により、前記第一のアプリケーション
優先度計算手段と、第二のアプリケーション優先度計算
手段を、予め定められた単位時間ごとに参照し、次回の
参照までの単位時間内での、前記第一のバッファと前記
第二のバッファのそれぞれの読み出し時間を決定すると
きは、 前記第一のバッファの読み出し時間は、前記第一のアプ
リケーション優先度計算手段の読み出し優先度を、前記
第一のアプリケーション優先度計算手段の読み出し優先
度と、前記第二のアプリケーション優先度計算手段の読
み出し優先度の和で除した値に、単位時間を乗じて計算
された時間とし、 前記第二のバッファの読み出し時間は、前記第二のアプ
リケーション優先度計算手段の読み出し優先度を、前記
第一のアプリケーション優先度計算手段の読み出し優先
度と、第二のアプリケーション優先度計算手段の読み出
し優先度との和で除した値に、単位時間を乗じて計算さ
れた時間として、 前記第一のバッファと前記第二のバッファの読み出しを
行うように前記選択出力手段を制御し、出力通信路へフ
レームを送出することを特徴とする通信帯域制御装置。
5. A first buffer for storing frames input from a first input channel, a second buffer for storing frames input from a second input channel, and storing in the first buffer First application priority calculation means for reading the application protocol information of the frame that has been read and calculating the read priority of the first buffer; and reading the application protocol information of the frame stored in the second buffer. A second application priority calculation means for calculating a read priority of the second buffer; a first application priority calculation means; and a calculation result of the second application priority calculation means. Calculating and reading the transmission bandwidth allocated to each of the first buffer and the second buffer. Output control means for instructing output, and selection output means for reading a frame from the first buffer and the second buffer in a band specified by the output control means, and outputting the read frame to an output communication path. The output control unit refers to the first application priority calculation unit and the second application priority calculation unit for each predetermined unit time, and within the unit time until the next reference. In, when determining the read time of each of the first buffer and the second buffer, the read time of the first buffer, the read priority of the first application priority calculation means, The read priority of the first application priority calculation means and the read priority of the second application priority calculation means And a value calculated by multiplying a value obtained by dividing the sum by the unit time, the read time of the second buffer, the read priority of the second application priority calculation means, the first application priority The first buffer and the second buffer, as a time calculated by multiplying a value obtained by dividing the read priority of the degree calculation means and the read priority of the second application priority calculation means by a unit time, A communication band control device for controlling the selection output means so as to read out the buffer of the communication band, and transmitting a frame to an output communication path.
JP28537799A 1999-10-06 1999-10-06 Communication band controller Pending JP2001111615A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28537799A JP2001111615A (en) 1999-10-06 1999-10-06 Communication band controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28537799A JP2001111615A (en) 1999-10-06 1999-10-06 Communication band controller

Publications (1)

Publication Number Publication Date
JP2001111615A true JP2001111615A (en) 2001-04-20

Family

ID=17690769

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28537799A Pending JP2001111615A (en) 1999-10-06 1999-10-06 Communication band controller

Country Status (1)

Country Link
JP (1) JP2001111615A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006135762A (en) * 2004-11-08 2006-05-25 Fujitsu Ltd Device and method for packet transmission control
WO2006106808A1 (en) * 2005-04-04 2006-10-12 Nec Corporation Band control method and communication apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006135762A (en) * 2004-11-08 2006-05-25 Fujitsu Ltd Device and method for packet transmission control
WO2006106808A1 (en) * 2005-04-04 2006-10-12 Nec Corporation Band control method and communication apparatus
JP4760828B2 (en) * 2005-04-04 2011-08-31 日本電気株式会社 Band control method and communication apparatus

Similar Documents

Publication Publication Date Title
US6996064B2 (en) System and method for determining network throughput speed and streaming utilization
US7724662B2 (en) Dynamic rate limiting adjustment
EP2310946B1 (en) Dynamic setting of optimal buffer sizes in ip networks
US9065795B2 (en) Apparatus and method for providing a congestion measurement in a network
US6894974B1 (en) Method, apparatus, media, and signals for controlling packet transmission rate from a packet source
JP2870569B2 (en) Congestion processing method and congestion processing circuit in frame relay switching equipment
US7443804B2 (en) Method and apparatus of estimating available bandwidth on a packet network
US7929431B2 (en) Port rate smoothing in an avionics network
EP1126666A2 (en) A packet flow control apparatus and a method for controlling the same
GB2261799A (en) Measuring delays in a packet transmission system
US7324535B1 (en) Methods and apparatus for maintaining a queue
CN112054965A (en) Congestion control method, equipment and computer readable medium
US6928054B1 (en) Apparatus, method, media and signals for connection-class parameter control of packet flow
JP5046993B2 (en) On / off traffic characteristic estimation method, apparatus, communication system, and on / off traffic characteristic estimation program
FI122670B (en) Method and arrangement for generating a time interval between data frames
US5864536A (en) Method and apparatus for adapting a transmission bit rate of a data multiplexer operating according to an asynchronous transfer mode
JP2001111615A (en) Communication band controller
JPH1023042A (en) Evaluation method for current data packet speed in virtual connection, feedback mechanism using the method, device for realizing the method, switching node and object destination node
JP2002118585A (en) Method and apparatus for scheduling packet
JP3853784B2 (en) Data communication management method
JPH1013472A (en) Delay-exceeded-discard processing system in network connection device having bridging function
US7490163B2 (en) Data unit transmission method and device
JP3722376B2 (en) Method and apparatus for determining cell compliance
JPH0236639A (en) Priority transmitter
JP2933007B2 (en) Timeout judgment device