JPH04162847A - Cell traffic monitor - Google Patents

Cell traffic monitor

Info

Publication number
JPH04162847A
JPH04162847A JP2287128A JP28712890A JPH04162847A JP H04162847 A JPH04162847 A JP H04162847A JP 2287128 A JP2287128 A JP 2287128A JP 28712890 A JP28712890 A JP 28712890A JP H04162847 A JPH04162847 A JP H04162847A
Authority
JP
Japan
Prior art keywords
circuit
cell
threshold
counter
output
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
JP2287128A
Other languages
Japanese (ja)
Inventor
Naoaki Yamanaka
直明 山中
Yoichi Sato
陽一 佐藤
Kenichi Sato
健一 佐藤
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2287128A priority Critical patent/JPH04162847A/en
Publication of JPH04162847A publication Critical patent/JPH04162847A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE:To realize the cell traffic supervisory equipment simply coping with by a small hardware by providing a 1st and a 2nd counter circuit receiving an average cell detection rate of a short period and a long period as a subtraction input periodically. CONSTITUTION:First and 2nd counter circuits 41, 42 are non-negative arithmetic circuits, and the 1st counter circuit 41 is subtracted by a subtraction constant being an average cell detection rate (n/m) of a prescribed short period. Thus, a detection output of a cell detection circuit 2 is given to an addition input of the 1st counter circuit 41 to monitor it that the count does not exceeds a preset threshold level of a short period. Moreover, the 2nd counter circuit 42 is subtracted by a subtraction constant being an average cell detection rate (X/T) of a prescribed long period. Thus, a detection output of the cell detection circuit 2 is given to an addition input of the 2nd counter circuit 42 to monitor it that the count does not exceeds a preset threshold level of a short period. Even when a value (m) is set to a very large value on the condition that up to n-cells are allowed in an m-cell time, the cell traffic supervisory equipment is realized, which is realized simply and rationally without increasing the hardware quantity.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、パケット通信に利用する。本発明はパケット
通信網の中で転送されるセル(この明細書では固定長の
パケットを「セル」という)のトラヒックを監視する技
術に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is used for packet communication. The present invention relates to a technique for monitoring traffic of cells (fixed-length packets are referred to as "cells" in this specification) transferred in a packet communication network.

本発明は、あらかし於契約されたトラヒックを越えてセ
ルが送信されたときに、契約違反としてそのセルを廃棄
するポリシング(Policing、警察行為)に利用
する。
The present invention is used for policing, in which when a cell is transmitted in excess of the traffic that has been contracted for, the cell is discarded as a violation of the contract.

〔従来の技術〕[Conventional technology]

パケット通信網では、一つの中継点に一時に多数のセル
が集中的に到来すると円滑な運用ができなくなる。この
ためパケット通信網を運用する通信業者は利用者との契
約の中で、 ■ 利用者は連続するmセル時間内にn個のセルを越え
てセルの送信をしないこと、 ■ 通信業者はこれに違反して送信されたセルを廃棄す
ること を利用契約の条件とすることが行われる。たとえばm=
5、n=3とすると、連続する5セル時間内に3セルま
で送信できるが、これを越えてセルを送信するとそのセ
ルは廃棄されることになる。
In a packet communication network, if a large number of cells arrive at one relay point at the same time, smooth operation becomes impossible. For this reason, telecommunications carriers operating packet communication networks have agreements with users that: ■ Users must not transmit more than n cells within m consecutive cell periods; ■ Telecommunications carriers must: A condition of the usage contract is that cells transmitted in violation of the rules are discarded. For example m=
5. If n=3, up to 3 cells can be transmitted within a continuous 5-cell period, but if a cell is transmitted beyond this time, the cell will be discarded.

このための監視および廃棄はボリシングといわれ、パケ
ット通信網の入口で自動的にかつ継続的に実行される。
Monitoring and discarding for this purpose is called borishing, and is automatically and continuously performed at the entrance of the packet communication network.

第4図は従来例装置のブロック構成図である。FIG. 4 is a block diagram of a conventional device.

この回路は本願出願人すら特許出願′(特願平2−13
0464号、本願出願時において未公開)されている。
Even the applicant of this application applied for a patent for this circuit (Japanese Patent Application No. 2-13
No. 0464, unpublished at the time of filing of this application).

この第4図に示す回路は、連続する5セル時間に3セル
まで送信できるが4セル以上は許されないように監視す
る回路である。
The circuit shown in FIG. 4 is a circuit that monitors so that up to three cells can be transmitted in a continuous five-cell period, but four or more cells are not allowed.

第4図では端子1に被監視信号が入力する。セル検出回
路2はこの被監視信号に同期しその信号中に有効セルが
あると検出出力を送出する。遅延回路3はこの検出出力
を入力とし、この遅延回路3はシフトレジスタにより構
成され、図外のクロック信号により1セル時間毎に1段
づつ図の右方向にシフトされる。すなわちこの遅延回路
3はその入力がmセル時間後に遅延出力に送出される。
In FIG. 4, a monitored signal is input to terminal 1. The cell detection circuit 2 synchronizes with this monitored signal and sends out a detection output if there is a valid cell in the signal. The delay circuit 3 receives this detection output as an input, and is constituted by a shift register, and is shifted one stage to the right in the figure every cell time by a clock signal (not shown). That is, this delay circuit 3 sends its input to the delayed output after m cell times.

アップダウン・カウンタ4の加算入力にはセル検出回路
2の検出出力が入力し、その減算入力には前記遅延回路
3の遅延出力が入力する。閾値保持回路5は契約により
設定された閾値nを保持する。
The detection output of the cell detection circuit 2 is input to the addition input of the up-down counter 4, and the delayed output of the delay circuit 3 is input to the subtraction input thereof. The threshold value holding circuit 5 holds the threshold value n set according to the contract.

この閾値nと上記アップダウン・カウンタ4の内容Sと
を比較し、 S>n ならば禁止出力を端子7に送出する。この禁止出力によ
り図外の装置でそのセルは廃棄される。
This threshold value n is compared with the content S of the up/down counter 4, and if S>n, a prohibition output is sent to the terminal 7. Due to this prohibition output, the cell is discarded by a device not shown.

このように構成された回路ではアップダウン・カウンタ
4には、過去のmセル時間に検出されたセルの数が記憶
されることになり、これが設定された閾値nを越えると
禁止出力が端子7に送出される。端子7に禁止出力が送
出されると、図外の回路で伝送路上でいま検出されたセ
ルは廃棄される。そのセルは廃棄されたのであるから、
アップダウン・カウンタ4の第一段の値は判定出力によ
りクリアされる。
In the circuit configured in this manner, the number of cells detected in the past m cell time is stored in the up/down counter 4, and when this exceeds the set threshold value n, the prohibition output is output to the terminal 7. will be sent to. When a prohibition output is sent to terminal 7, the cell currently detected on the transmission path is discarded by a circuit not shown. Since the cell was discarded,
The value of the first stage of the up/down counter 4 is cleared by the judgment output.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

この従来例装置は、連続する任意の位相についてセル時
間mにわたるセル数を監視できる優れた回路であるが、
セル時間mはシフトレジスタの段数で決まる。したがっ
て上述のようにmの値としてきわめて大きい値が設定さ
れても、m段のシフトレジスタを用意しなければならな
いからハードウェアが大きくなる欠点がある。mの値が
1万を越えるようなときには、ハードウェアの規模は現
実的ではなくなる。
This conventional device is an excellent circuit that can monitor the number of cells over a cell time m for any continuous phase.
The cell time m is determined by the number of stages of the shift register. Therefore, even if an extremely large value is set as the value of m as described above, there is a drawback that the hardware becomes large because m-stage shift registers must be prepared. When the value of m exceeds 10,000, the scale of the hardware becomes unrealistic.

第5図は横軸にmの値をとり、縦軸に必要なハードウェ
ア量をビット数で示す図である。パラメタとしてVP 
I (Virtual Path Identifie
r:バーチセルバス番号)の数がそれぞれ1000.2
000.4000の場合について示す。VPIとは各セ
ルのヘッダに付された仮想経路側の識別番号であって、
上記第4図の例に示すように一つの端末について送信セ
ルを監視する場合には必ずしもVPIによる区分けは必
要でないが、中間の中継ノードで複数の端末から送信さ
れ複数の端末に当てるセルの監視を行う場合にはVPI
による識別が必要である。
FIG. 5 is a diagram in which the horizontal axis represents the value of m, and the vertical axis represents the amount of required hardware in bit numbers. VP as a parameter
I (Virtual Path Identifier)
r: verti cell bus number) is 1000.2 each
The case of 000.4000 will be shown. VPI is an identification number on the virtual route side attached to the header of each cell,
As shown in the example in Figure 4 above, when monitoring transmitted cells for one terminal, classification by VPI is not necessarily necessary, but cells transmitted from multiple terminals and applied to multiple terminals at an intermediate relay node are monitored. VPI
identification is required.

第5図かられかるようにmの値を致方とすると、セル監
視装置のために百方ビット前後の71−ドウエアを必要
とすることになって現実的な装置を設計することはでき
なくなる。
As can be seen from Figure 5, if the value of m is arbitrary, a cell monitoring device would require 71-doware of around 100 bits, making it impossible to design a realistic device. .

さらにもう一つの課題として、原信号が電話通話のよう
な会話音声である場合その他では、有音区間と無音区間
とが交互に現れ、送信されるセルの数は有音区間では無
音区間に比べて圧倒的に多くなる。つまり送信セルがバ
ースト的に集中する。
Another problem is that when the original signal is conversational audio such as a telephone conversation, sound sections and silent sections appear alternately, and the number of cells transmitted in the sound section is smaller than that in the silent section. The number will be overwhelmingly large. In other words, the transmitted cells are concentrated in bursts.

このような場合には従来方式のようにmセル時間にnセ
ルまでという単純な契約条件では最適な管理ができない
。すなわち、送信セルが集中している期間に厳しい条件
でボリシングを実行すると通話音声が不明瞭になってし
まう。また、送信セルが集中している期間に相当する条
件を長い期間に適応すると、伝送路の利用効率が悪くな
ってしまう。このために、送信するセル数を短周期と長
周期とを別の条件デボリジングすることが考えられてい
る。そのためには上記従来例装置では、第4図に例示し
た装置を短周期用と長周期用とに個別に設けなければな
らなくなる。
In such a case, optimal management cannot be achieved with the simple contract conditions of up to n cells in m cell time as in the conventional system. That is, if borsing is performed under strict conditions during a period when transmitting cells are concentrated, the voice of the call will become unclear. Furthermore, if conditions corresponding to a period in which transmission cells are concentrated are applied to a long period, the efficiency of use of the transmission path will deteriorate. To this end, it has been considered to devolution the number of cells to be transmitted under different conditions for short cycles and long cycles. To this end, in the conventional device described above, the devices illustrated in FIG. 4 must be provided separately for short periods and long periods.

本発明はこれを改良するもので、mのきわめて大きい値
についても小さいハードウェアで簡単に対応できるセル
トラヒック監視装置を提供するとともに、mの小さい値
についても併せて監視することができるセルトラヒック
監視装置を提供することを目的とする。しかも本発明は
、短周期mセル時間毎にnセルを送信することを許容し
、かつ長周期Tセル時間毎にXセルを送信することを許
容し、これが平均的に分散することを契約条件とする場
合にも対応できるセルトラヒック監視装置を提供するこ
とを目的とする。
The present invention improves this by providing a cell traffic monitoring device that can easily handle extremely large values of m with small hardware, and also provides a cell traffic monitoring device that can also monitor small values of m. The purpose is to provide equipment. Furthermore, the present invention allows for the transmission of n cells every m short-cycle cell times, and allows the transmission of X cells every long-cycle T cell time, and requires that these be distributed evenly as a condition of the contract. It is an object of the present invention to provide a cell traffic monitoring device that can handle the following cases.

〔課題を解決するたtの手段〕[Means to solve the problem]

本発明の装置は、被監視信号に同期しその信号中の有効
セルの有無を検出するセル検出回路(2)と、このセル
検出回路(2)の検出出力を加算入力とし、短周期の平
均セル検出率(n/m)を周期的に減算入力とする第一
〇カウンタ回路(41)と、短周期の閾値を保持する第
一の閾値保持回路(51)と、この第一の閾値保持回路
が保持する閾値と前記第一のカウンタ回路(41)の計
数値とを比較し第一の判定出力を送出する第一の比較判
定画路(61)と、さらに、 前記セル検出回路(2)の検出出力を加算入力とし、長
周期の平均セル検出率(X/T)を周期的に減算入力と
する第二のカウンタ回路り42)と、長周期の閾値を保
持する第二の閾値保持回路(52)と、この第二の閾値
保持回路が保持する閾値と前記第二〇カウンタ回路(4
2)の計数値とを比較し第二の判定出力を送出する第二
の比較判定回路(62)とを備えたことを特徴とする。
The device of the present invention includes a cell detection circuit (2) that synchronizes with a monitored signal and detects the presence or absence of a valid cell in the signal, and the detection output of this cell detection circuit (2) as an addition input, and a short-cycle average A first counter circuit (41) that periodically inputs the cell detection rate (n/m) for subtraction, a first threshold holding circuit (51) that holds a short-period threshold, and a first threshold holding circuit (51) that holds a short-period threshold. a first comparison judgment circuit (61) that compares a threshold value held by the circuit with a count value of the first counter circuit (41) and sends out a first judgment output; ) as an addition input and a long-period average cell detection rate (X/T) as a periodic subtraction input, and a second threshold that holds the long-period threshold A holding circuit (52), a threshold held by this second threshold holding circuit, and the 20th counter circuit (4).
2) and a second comparison/determination circuit (62) that compares the count value with the count value of 2) and sends out a second determination output.

前記第一の判定出力と前転第二の判定出力との論理和を
演算する論理和回路<11)を備える構成が望ましい。
It is desirable to have a configuration including an OR circuit <11) that calculates the logical sum of the first determination output and the forward rotation second determination output.

〔作用〕[Effect]

第一および第二〇カウンタ回路は非負演算回路(負の値
にはならず減算は零までで止まる回路)である。この第
一〇カウンタ回路は一定の短周期で平均セル検出率(n
/m)を減算定数として減算されている。したがって、
この第一〇カウンタ回路の加算入力にセル検出回路の検
出出力を与え、その計数値があらかじめ設定した短周期
の閾値を越えないことを監視する。この短周期の閾値は
上記一定の短周期がmセル時間であり、減算定数がmセ
ル時間にnの割合、1セル時間当たりの平均セル検出率
がn / mであるときに、n−n2/m である。また第二〇カウンタ回路は一定の長周期で平均
セル検出率(X/T)を減算定数として減算されている
。したがって、この第二〇カウンタ回路の加算入力にセ
ル検出回路の検出出力を与え、その計数値があらかじめ
設定した短周期の閾値を越えないことを監視する。この
長周期の閾値は上記一定周期がTセル時間であり、減算
定数が1セル時間当たりの平均セル検出率がX/Tであ
るとき、 X−X2/T である。
The first and 20th counter circuits are non-negative arithmetic circuits (circuits that do not produce negative values and stop subtraction up to zero). This No. 1 counter circuit has an average cell detection rate (n
/m) as a subtraction constant. therefore,
The detection output of the cell detection circuit is applied to the addition input of this No. 10 counter circuit, and it is monitored that the counted value does not exceed a preset short-cycle threshold. The threshold value of this short period is n-n2 when the constant short period is m cell times, the subtraction constant is a ratio of n to m cell times, and the average cell detection rate per cell time is n/m. /m. Further, the No. 20 counter circuit subtracts the average cell detection rate (X/T) at a constant long period as a subtraction constant. Therefore, the detection output of the cell detection circuit is applied to the addition input of this 20th counter circuit, and it is monitored that the counted value does not exceed a preset short-cycle threshold. The threshold value of this long period is X-X2/T when the above-mentioned constant period is T cell time and the subtraction constant is the average cell detection rate per cell time is X/T.

〔実施例〕〔Example〕

第1図は本発明第一実施例装置のブロック構成図である
。この実施例装置では、被監視信号は端子1に入力する
。この被監視信号に同期しその信号中の有効セルの有無
を検出するセル検出回路2を備える。このセル検出回路
2の検出出力には有効セルが検出されると「1」が送出
され、有効セルの検出がないときには「0」が送出され
る。
FIG. 1 is a block diagram of an apparatus according to a first embodiment of the present invention. In this embodiment, the signal to be monitored is input to terminal 1. A cell detection circuit 2 is provided which synchronizes with this monitored signal and detects the presence or absence of valid cells in the signal. When a valid cell is detected, "1" is sent to the detection output of this cell detection circuit 2, and "0" is sent when no valid cell is detected.

このセル検出回路2の検出出力を加算入力とし、短周期
の平均セル検出率n / mを周期的に減算入力とする
第一〇カウンタ回路41と、短周期の閾値を保持する第
一の閾値保持回路51と、この第一の閾値保持回路51
が保持する閾値と第一〇カウンタ回路41の計数値とを
比較し第一の判定出力を送出する第一の比較判定回路6
1とを備える。
A 10th counter circuit 41 which uses the detection output of this cell detection circuit 2 as an addition input and periodically subtracts the short-cycle average cell detection rate n/m as an input, and a first threshold value that holds the short-cycle threshold value. Holding circuit 51 and this first threshold holding circuit 51
A first comparison/judgment circuit 6 that compares the threshold value held by the counter circuit 41 with the count value of the first counter circuit 41 and sends out a first judgment output.
1.

さらに、セル検出回路2の検出出力を加算入力とし、長
周期の平均セル検出率X/Tを周期的に減算入力とする
第二〇カウンタ回路42と、長周期の閾値を保持する第
二の閾値保持回路52と、この第二の閾値保持回路52
が保持する閾値と前記第二のカウンタ回路42の計数値
とを比較゛し第二の判定出力を送出する第二の比較判定
回路61とを備える。
Further, a 20th counter circuit 42 which takes the detection output of the cell detection circuit 2 as an addition input and periodically takes the long-period average cell detection rate X/T as a subtraction input, and a second counter circuit 42 that holds a long-period threshold value Threshold value holding circuit 52 and this second threshold value holding circuit 52
and a second comparison/determination circuit 61 that compares the threshold value held by the second counter circuit 42 with the count value of the second counter circuit 42 and sends out a second determination output.

第一の判定出力と第二の判定出力との論理和が論理和回
路11で演算され装置としての判定出力は端子7に送出
される。端子7の信号は図外の装置でそのときに中継さ
れようとしていたセルは廃棄される。そのセルは廃棄さ
れたのであるから、モノマルチ回路12を介してカウン
タ回路41および42の計数値が1だけ減算される。
The logical sum of the first judgment output and the second judgment output is calculated by the OR circuit 11, and the judgment output of the device is sent to the terminal 7. The signal at terminal 7 is sent to a device not shown, and the cell that was about to be relayed at that time is discarded. Since that cell has been discarded, the count values of counter circuits 41 and 42 are subtracted by 1 via monomulti circuit 12.

第一のカウンタ回路41および第二〇カウンタ回路42
はともに非負演算回路である。すなわち計数値は零を越
えて負の値になることはなく、零を限度とするように構
成される。
First counter circuit 41 and twenty counter circuit 42
Both are non-negative arithmetic circuits. In other words, the count value never exceeds zero and becomes a negative value, and is configured so that zero is the limit.

第2図にこの装置の計数値および閾値を図示する。横軸
に時間をとりカウンタ回路41の計数値を破線で、カウ
ンタ回路42の計数値を実線でそれぞれ示す。最下段の
矢印は有効セルが検出されたタイミングを示す。この例
は、 m=5、n=2、Tm2O3、X=10の場合であって
、検出セルの有無にかかわらず、カウンタ回路41は1
セル時間毎にn/m=215づつ減算され、カウンタ回
路42は1セル時間毎にX/T= 1 /10  づつ
減算されている。図の△印でカウンタ回路41の計数値
が短周期の閾値を越えて廃棄された状態を示す。
FIG. 2 illustrates the count values and threshold values of this device. Time is plotted on the horizontal axis, and the count value of the counter circuit 41 is shown by a broken line, and the count value of the counter circuit 42 is shown by a solid line. The arrow at the bottom indicates the timing at which a valid cell is detected. In this example, when m=5, n=2, Tm2O3, and X=10, the counter circuit 41 has 1
N/m=215 is subtracted every cell time, and the counter circuit 42 is subtracted by X/T=1/10 every cell time. The △ mark in the figure indicates a state in which the count value of the counter circuit 41 exceeds the short cycle threshold and is discarded.

二つのカウンタ回路4L 42のように一定周期毎に減
算定数を減算し、その残りを計数値とするものはちょう
どバケツに孔がおいていて水が漏れる状態と等しいので
、一般にリーキーパケット(漏れるバケツ)方式という
Two counter circuits, such as 4L 42, which subtract a subtraction constant at regular intervals and use the remainder as a count value are equivalent to a bucket with a hole and water leaks out, so it is generally called a leaky packet (a leaky bucket). ) method.

第3図は本発明第二実施例装置のブロック構成図である
。この例は検出された有効セルの数を計数するカウンタ
の数を少なくするもので、第一実施例装置では第一〇カ
ウンタ回路および第二のカウンタ回路が設けられていた
ものを一つのカウンタ回路43のみにしたものである。
FIG. 3 is a block diagram of an apparatus according to a second embodiment of the present invention. In this example, the number of counters that count the number of detected valid cells is reduced, and the device of the first embodiment has a 10th counter circuit and a second counter circuit, but a single counter circuit is used. It is made up of only 43.

このカウンタ回路43にはリーキーパケットを適用せず
、別に短周期用の第一の減算カウンタ71および長周期
用の第二の減算カウンタ72を設けて、それぞれセル検
出率(n / mまたはX/T)を1セル時間毎に周期
的に累積加算し、この減算カウンタ71または72の値
をそれぞれの閾値に加算して比較判定を行うようにした
ものである。
This counter circuit 43 does not apply leaky packets, and is separately provided with a first subtraction counter 71 for short periods and a second subtraction counter 72 for long periods, each with a cell detection rate (n/m or X/ T) is periodically accumulated and added every cell time, and the value of this subtraction counter 71 or 72 is added to each threshold value to perform a comparative judgment.

さらに詳しく説明する。端子1にはセルクロック信号が
入力する。このセルクロック信号は分周回路91でm分
周されラッチレジスタ13のラッチ動作を駆動する。短
周期用には、短周期の始点毎にカウンタ回路43の計数
値S。をラッチレジスタ13にラッチする。一方減算カ
ウンタ71では1セル時間毎に短周期のセル検出率(n
/m)を累積加算する。この減算カウンタ71の計数値
をMとすると、演算回路81でCn + S o + 
M 〕を演算し、この値とカウンタ回路43の現時の値
Sとを比較判定回路61で比較判定する。さらに一般的
に説明すると、n+so +M  S  >  0 となるとき第一の判定aカを送出する。
I will explain in more detail. A cell clock signal is input to terminal 1. This cell clock signal is frequency-divided by m in a frequency dividing circuit 91 and drives the latch operation of the latch register 13. For short cycles, the count value S of the counter circuit 43 is calculated at each start point of the short cycle. is latched into the latch register 13. On the other hand, in the subtraction counter 71, the short-cycle cell detection rate (n
/m) is cumulatively added. If the count value of the subtraction counter 71 is M, the arithmetic circuit 81 calculates Cn + S o +
M ] is calculated, and this value and the current value S of the counter circuit 43 are compared and determined by the comparison and determination circuit 61. More generally speaking, when n+so +M S > 0, the first decision a is sent.

また長周期用には、減算カウンタ72で1セル時間毎に
長周期のセル検出率(X/T)を累積加算する。この減
算カウンタ72の計数値を2とすると、演算回路82で
CN+M:)を演算し、この値とカウンタ回路43の現
時の値Sとを比較判定回路62で比較判定する。さらに
一般的には、 N+Z−3>0 となるとき第二の判定aカを送出する。
For long periods, a subtraction counter 72 cumulatively adds the long period cell detection rate (X/T) every cell time. When the count value of the subtraction counter 72 is 2, the calculation circuit 82 calculates CN+M:), and the comparison judgment circuit 62 compares and judges this value with the current value S of the counter circuit 43. More generally, when N+Z-3>0, the second decision a is sent.

減算カウンタ71は第一の判定出力が送出されたときに
リセットされ、減算カウンタ72は第二の判定出力が送
出されたときにリセットされる。
The subtraction counter 71 is reset when the first judgment output is sent out, and the subtraction counter 72 is reset when the second judgment output is sent out.

上記各実施例装置について、各カウンタ回路その他はそ
れぞれハードウェアにより構成するように説明したが、
これらは、一つのメモ+J(RAM)、プログラム制御
回路(CPU)およびプログラムを記憶させるメモ!J
  (ROM)を組み合わせたファームウェアにより同
様の機能の回路を実現することができる。さらに閾値保
持回路、比較判定回路もそのファームウェアに組み込む
ことができる。
Regarding each of the embodiments described above, each counter circuit and the like were explained to be constructed by hardware.
These are one memo+J (RAM), a program control circuit (CPU), and a memo that stores programs! J
A circuit with similar functions can be realized using firmware combined with (ROM). Furthermore, a threshold value holding circuit and a comparison/judgment circuit can also be incorporated into the firmware.

これらのメモリおよびCPUは一般に量産されているハ
ードウェアを用いて容易にかつ安価に構成することがで
きる。
These memories and CPUs can be easily and inexpensively constructed using generally mass-produced hardware.

ファームウェアによりこれを実現する場合には、第1図
または第3図に例示する回路の複数を少数のメモリおよ
びプログラム制御回路の組み合わせの中に同時に構成す
ることができる。これは、多数のVPIについて並列的
なポリシングを必要とする通信網内のノードに設ける装
置としてきわめて有用である。
If this is accomplished by firmware, multiple of the circuits illustrated in FIG. 1 or 3 can be implemented simultaneously in a small number of memory and program control circuit combinations. This is extremely useful as a device in a node within a communications network that requires parallel policing of a large number of VPIs.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば監視すべき条件、
mセル時間内にnセルまで許容されるという条件でmを
きわtて大きい値に設定して長時間の監視を行う場合に
も、その値に比例してハードウェア量が大きくなるよう
なことはなく、現実的な小さいハードウェアで簡単に実
現することができるとともに、mセル時間に平均的にn
セルを越えて送信しない、Tセル時間に平均的にXセル
を越えて送信しないとする平均率による契約条件につい
ても、合理的に対応するセルトラヒック監視装置を実現
することができる。
As explained above, according to the present invention, the conditions to be monitored,
Even when monitoring for a long time by setting m to a very large value under the condition that up to n cells are allowed within m cell time, the amount of hardware will increase in proportion to that value. It can be easily realized with practical small hardware, and on average n in m cell time.
It is also possible to realize a cell traffic monitoring device that reasonably accommodates contract conditions based on average rates such as not transmitting beyond cells and not transmitting beyond X cells on average during T cell time.

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

第1図は本発明第一実施例装置のブロック構成図。 第2図は本発明第一実施例装置の動作説明図。 第3図は本発明第二実施例装置のブロック構成図。 第4図は従来例装置のブロック構成図。 第5図はmの値に対するハードウェア量の増大を説明す
る図。 l・・・被監視信号が入力する端子、2・・・セル検出
回路、3・・・遅延回路、4・・・アップダウン・カウ
ンタ、5・・・閾値保持回路、6・・・比較判定回路、
7・・・判定出力が送出される端子、11、・・・論理
和回路、12・・・モノマルチ回路、13・・・ラッチ
レジスタ、41・・・第一〇カウンタ回路、42・・・
第二〇カウンタ回路、43・・・カウンタ回路、51・
・・第一の閾値保持回路、52・・・第二の閾値保持回
路、61・・・第一の比較判定回路、62・・・第二の
比較判定回路、71・・・第一の減算カウンタ、72・
・・第二の減算カウンタ、81・・・第一の演算回路、
82・・・第二の演算回路、91・・・分周回路。 特許出願人 日本電信電話株式会社 −代理人  弁理
士  井 出 直 孝  ′(ほか1名)  ゛ 第1図 第3図 従来例 第4図 昂 5 口
FIG. 1 is a block diagram of an apparatus according to a first embodiment of the present invention. FIG. 2 is an explanatory diagram of the operation of the apparatus according to the first embodiment of the present invention. FIG. 3 is a block diagram of an apparatus according to a second embodiment of the present invention. FIG. 4 is a block diagram of a conventional device. FIG. 5 is a diagram illustrating an increase in the amount of hardware with respect to the value of m. l...Terminal to which the monitored signal is input, 2...Cell detection circuit, 3...Delay circuit, 4...Up/down counter, 5...Threshold value holding circuit, 6...Comparison judgment circuit,
7... Terminal to which judgment output is sent, 11... OR circuit, 12... Mono multi circuit, 13... Latch register, 41... No. 1 counter circuit, 42...
No. 20 counter circuit, 43... counter circuit, 51.
...first threshold value holding circuit, 52...second threshold value holding circuit, 61...first comparison judgment circuit, 62...second comparison judgment circuit, 71...first subtraction counter, 72・
... second subtraction counter, 81 ... first arithmetic circuit,
82... Second arithmetic circuit, 91... Frequency dividing circuit. Patent applicant Nippon Telegraph and Telephone Corporation - Agent Patent attorney Naotaka Ide' (and 1 other person) ゛Figure 1 Figure 3 Conventional example Figure 4 Ko 5

Claims (1)

【特許請求の範囲】 1、被監視信号に同期しその信号中の有効セルの有無を
検出するセル検出回路(2)と、このセル検出回路(2
)の検出出力を加算入力とし、短周期の平均セル検出率
(n/m)を周期的に減算入力とする第一のカウンタ回
路(41)と、短周期の閾値を保持する第一の閾値保持
回路(51)と、 この第一の閾値保持回路が保持する閾値と前記第一のカ
ウンタ回路(41)の計数値とを比較し第一の判定出力
を送出する第一の比較判定回路(61)と、前記セル検
出回路(2)の検出出力を加算入力とし、長周期の平均
セル検出率(X/T)を周期的に減算入力とする第二の
カウンタ回路(42)と、長周期の閾値を保持する第二
の閾値保持回路(52)と、 この第二の閾値保持回路が保持する閾値と前記第二のカ
ウンタ回路(42)の計数値とを比較し第二の判定出力
を送出する第二の比較判定回路(62)とを備えたこと
を特徴とするセルトラヒック監視装置。 2、前記第一の判定出力と前記第二の判定出力との論理
和を演算する論理和回路(11)を備えた請求項2記載
のセルトラヒック監視装置。 3、被監視信号に同期しその信号中の有効セルの有無を
検出するセル検出回路(2)と、このセル検出回路(2
)の検出出力を加算入力とするカウンタ回路(43)と
、 短周期の閾値を保持する第一の閾値保持回路(51)と
、 短周期毎の始点で前記カウンタ回路(43)の計数値(
S_0)を取り込むラッチレジスタ(13)と、短周期
の平均セル検出率(n/m)を周期的に累積加算する第
一の減算定数カウンタ(71)と、短周期毎の始点にお
ける前記カウンタ回路(43)の計数値をS_0とし、
現時の前記カウンタ回路(43)の計数値をSとし、前
記第一の減算定数カウンタ(71)の計数値をMとし、
前記第一の閾値保持回路(51)が保持する短周期の閾
値をnとするとき、n+S_0+M−S>0 となるとき第一の判定出力を送出する第一の比較判定手
段(81、61)と、 長周期の閾値を保持する第二の閾値保持回路(52)と
、 長周期の平均セル検出率(X/T)を周期的に累積加算
する第二の減算定数カウンタ(72)と、前記第二の減
算定数カウンタ(72)の計数値をZとし、前記第二の
閾値保持回路(52)が保持する長周期の閾値をNとす
るとき、 N+Z−S>0 となるとき第二の判定出力を送出する第二の比較判定手
段(82、62)と を備えたことを特徴とするセルトラヒック監視装置。
[Claims] 1. A cell detection circuit (2) that synchronizes with a monitored signal and detects the presence or absence of a valid cell in the signal;
) a first counter circuit (41) which uses the detection output of the cell as an addition input and periodically subtracts the short-period average cell detection rate (n/m) as an input, and a first threshold value that holds the short-period threshold value. a holding circuit (51); a first comparison judgment circuit (51) that compares the threshold held by the first threshold holding circuit with the count value of the first counter circuit (41) and sends out a first judgment output; 61), a second counter circuit (42) which takes the detection output of the cell detection circuit (2) as an addition input, and takes the long-period average cell detection rate (X/T) as a periodic subtraction input; A second threshold holding circuit (52) that holds a cycle threshold; and a second judgment output by comparing the threshold held by this second threshold holding circuit with the count value of the second counter circuit (42). A cell traffic monitoring device comprising: a second comparison/judgment circuit (62) that sends out a second comparison/judgment circuit (62). 2. The cell traffic monitoring device according to claim 2, further comprising an OR circuit (11) for calculating a logical sum of the first determination output and the second determination output. 3. A cell detection circuit (2) that synchronizes with the monitored signal and detects the presence or absence of valid cells in the signal;
); a first threshold holding circuit (51) that holds a short-cycle threshold;
S_0), a first subtraction constant counter (71) that periodically adds up the average cell detection rate (n/m), and the counter circuit at the starting point of each short cycle. Let the count value of (43) be S_0,
The current count value of the counter circuit (43) is S, the count value of the first subtraction constant counter (71) is M,
When the short-cycle threshold held by the first threshold holding circuit (51) is n, a first comparison judgment means (81, 61) sends out a first judgment output when n+S_0+M-S>0. a second threshold holding circuit (52) that holds a long-period threshold; and a second subtraction constant counter (72) that periodically adds up the long-period average cell detection rate (X/T). When the count value of the second subtraction constant counter (72) is Z and the long-period threshold held by the second threshold value holding circuit (52) is N, then when N+Z-S>0, the second A cell traffic monitoring device characterized by comprising: a second comparison/determination means (82, 62) for transmitting a determination output.
JP2287128A 1990-10-26 1990-10-26 Cell traffic monitor Pending JPH04162847A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2287128A JPH04162847A (en) 1990-10-26 1990-10-26 Cell traffic monitor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2287128A JPH04162847A (en) 1990-10-26 1990-10-26 Cell traffic monitor

Publications (1)

Publication Number Publication Date
JPH04162847A true JPH04162847A (en) 1992-06-08

Family

ID=17713437

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2287128A Pending JPH04162847A (en) 1990-10-26 1990-10-26 Cell traffic monitor

Country Status (1)

Country Link
JP (1) JPH04162847A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994011972A1 (en) * 1992-11-13 1994-05-26 Telstra Corporation Limited A method and apparatus for estimating traffic in an asynchronous telecommunications network
AU676231B2 (en) * 1992-11-13 1997-03-06 Telstra Corporation Limited A method and apparatus for estimating traffic in an asynchronous telecommunications network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1994011972A1 (en) * 1992-11-13 1994-05-26 Telstra Corporation Limited A method and apparatus for estimating traffic in an asynchronous telecommunications network
AU676231B2 (en) * 1992-11-13 1997-03-06 Telstra Corporation Limited A method and apparatus for estimating traffic in an asynchronous telecommunications network

Similar Documents

Publication Publication Date Title
JPH04138743A (en) Traffic monitor system
JPH05219093A (en) Method and circuit for polishing
US20040071145A1 (en) Apparatus and method for UBR traffic control
Kühn Reminder on queueing theory for ATM networks
JPH04162847A (en) Cell traffic monitor
Cooper et al. A reasonable solution to the broadband congestion control problem
Ho et al. Cooperating leaky bucket for average rate enforcement of VBR video traffic in ATM networks
JPH04162848A (en) Cell traffic monitor
JPH07327033A (en) Cell transmission control method and cell transmission controller
JP3141880B2 (en) Packet control device
JP2001111556A (en) Device and method for avoiding congestion according to red
JP3514215B2 (en) Scheduling circuit
JP2852473B2 (en) Cell traffic monitoring device
JP2860348B2 (en) Cell traffic monitoring device
JPH04162846A (en) Cell traffic monitor
JPH04162844A (en) Cell traffic monitor
KR19980060655A (en) Usage parameter control method using Ricky bucket algorithm with threshold in data buffer
JPH04104635A (en) Atm cell flow monitor/control system and cell counter circuit
Krishnan et al. The effect of variance reduction on the performance of the leaky bucket
Liu Tra c Shaping for Congestion Control in High Speed ATM Networks
JPH08213987A (en) Traffic monitor device
JP2864071B2 (en) Cell traffic monitoring device
JP3141877B2 (en) Packet switching system
JP3074918B2 (en) Cell traffic monitoring device
JP2735061B2 (en) Priority control method