[go: up one dir, main page]

JPH04150344A - Cell traffic monitor - Google Patents

Cell traffic monitor

Info

Publication number
JPH04150344A
JPH04150344A JP2273010A JP27301090A JPH04150344A JP H04150344 A JPH04150344 A JP H04150344A JP 2273010 A JP2273010 A JP 2273010A JP 27301090 A JP27301090 A JP 27301090A JP H04150344 A JPH04150344 A JP H04150344A
Authority
JP
Japan
Prior art keywords
circuit
cell
vpi
counter
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2273010A
Other languages
Japanese (ja)
Other versions
JP2916604B2 (en
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 JP27301090A priority Critical patent/JP2916604B2/en
Publication of JPH04150344A publication Critical patent/JPH04150344A/en
Application granted granted Critical
Publication of JP2916604B2 publication Critical patent/JP2916604B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE:To make the monitor small and to reduce power consumption even when a VPI number is large by forming the monitor with a program control circuit and a storage circuit used in common and in time division as to plural VPIs. CONSTITUTION:A signal is inputted to a cell detection circuit 2, and when a valid cell is detected thereby, its VPI is identified by a VPI identification circuit 3. A control discrimination circuit 10 accesses an address of the VPI identified in a storage circuit 12, reads a count described in a reference list and adds 1 thereto. The circuit 10 discriminates whether or not the sum exceeds a threshold level. The circuit 10 sends an inhibit output to a terminal 9 to abort a cell based on the contrast condition when the sum exceeds the threshold level. When not in excess, the circuit 10 executes the transmission processing of the cell and returns the added count to the original address of the circuit 12. The circuit 10 reads a list of the VPI to be decremented for each cell time based on a clock and reads the count of the VPI from the reference list, decrements the count by 1 and returns the result to the reference list.

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 pre-contracted traffic, the cell is discarded as a violation of the contract.

〔従来の技術〕[Conventional technology]

パケット通信網では、一つの中継点に一時に多数のセル
が集中的に到来すると円滑な運用ができなくなる。この
ためパケット通信網を運用する通信業者は利用者との契
約の中で、 ■ 利用者は各セルのヘッダに設定されるバーチセル・
パス番号(Virtual Path Identif
ier、 コの明細書ではrVPIJという)毎にmセ
ル時間内にn個のセルを越えてセルの送信をしないこと
、■ 通信業者はこれに違反して送信されたセルを廃棄
すること を利用契約の条件とすることが行われる。たとえばm=
3、n−1とすると、3セル時間内に同じVPIのセル
を1セルだけ送信できるが、これを越えて同じVPIの
セルを送信するとそのセルは廃棄されることになる。こ
のための監視および廃棄はポリシングといわれ、パケッ
ト通信網の入口で自動的にかつ継続的に実行される。
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 contracts with users that require: ■ The users are required to use the verticell information set in the header of each cell.
Virtual Path Identif
(rVPIJ in the specification of ier, Co.), do not transmit more than n cells within m cell time for every m cell time, ■ Telecommunications carriers discard cells transmitted in violation of this rule. Things that are a condition of the contract are done. For example m=
3, n-1, only one cell with the same VPI can be transmitted within 3 cell time, but if a cell with the same VPI is transmitted beyond this time, that cell will be discarded. Monitoring and discarding for this purpose is called policing, and is automatically and continuously executed at the entrance of the packet communication network.

従来のこのための装置として、第10図に示すものが知
られている。これは、リーキーパケット方式として知ら
れるもので、米国学会IEEEの雑誌(J、S、Tur
ner、New Directions in Com
municationsIεBEi Communic
ation Magazine Vow、 24. N
o、 10. pp8−15、1986)に分かり易い
説明がある。
As a conventional device for this purpose, the one shown in FIG. 10 is known. This is known as the leaky packet method, and is published in the journals of the American academic society IEEE (J, S, Tur).
ner, New Directions in Com
communicationsIεBEi Communic
ation Magazine Vow, 24. N
o, 10. pp. 8-15, 1986) has an easy-to-understand explanation.

第10図で端子1には被監視信号が人力する。セル検出
回路2はこの被監視信号に同期しその信号中の有効セル
を検出する。VPI識別回路3はこのセル検出回路2に
より検出された有効セルのVPTを識別する。VPIは
ここではa −iである。
In FIG. 10, a signal to be monitored is manually input to terminal 1. The cell detection circuit 2 is synchronized with this monitored signal and detects valid cells in the signal. The VPI identification circuit 3 identifies the VPT of the valid cell detected by the cell detection circuit 2. VPI is here a −i.

識別出力は、各VPI毎に設けられたアップダウン・カ
ウンタ4a〜41の加算人力にそれぞれ分配され、識別
出力がある毎すなわちVPIが識別される毎に対応する
アップダウン・カウンタの内容が+1加算される。一方
このアップダウン・カウンタ4a〜41の減算入力には
それぞれ減算制御回路5a〜51から減算信号が入力す
る。これは、タイマ8からの信号にしたがってmセル時
間毎に発生される。このmおよびnは上述の利用者との
契約により随意に設定された値であり、上側のようにV
PI=aについて、いまm=3、n=1とすると、3セ
ル時間毎にアップダウン・カウンタの内容が−1される
。閾値保持回路7a〜71にはあらかじめ設定された閾
値n=lが保持されている。判定回路6a〜61はそれ
ぞれアップダウン・カウンタ4a〜41の値と閾値保持
回路7a〜71に保持されている閾値とを比較して、こ
の閾値を越えるときに端子9a〜91に禁止出力を送出
する。この禁止出力により伝送路上ではセルが廃棄され
る。
The identification output is distributed to the up/down counters 4a to 41 provided for each VPI, and each time there is an identification output, that is, each time a VPI is identified, the contents of the corresponding up/down counter are incremented by +1. be done. On the other hand, subtraction signals are input from subtraction control circuits 5a to 51 to the subtraction inputs of the up/down counters 4a to 41, respectively. This is generated every m cell times according to a signal from timer 8. These m and n are values set arbitrarily based on the contract with the user mentioned above, and as shown above, V
For PI=a, if m=3 and n=1, the contents of the up/down counter are decremented by 1 every three cell times. A preset threshold value n=l is held in the threshold value holding circuits 7a to 71. The determination circuits 6a to 61 compare the values of the up/down counters 4a to 41 with the threshold values held in the threshold value holding circuits 7a to 71, respectively, and send prohibition outputs to the terminals 9a to 91 when the threshold values are exceeded. do. This prohibited output causes cells to be discarded on the transmission path.

第11図はこの従来例装置を説明するタイムチャートで
あり、第11図(a)はアップダウン・カウンタ4aの
値、同図(b)は有効セルCが検出されたタイミング、
同図(C)は減算のタイミングをそれぞれ示す。アップ
ダウン・カウンタ4aは3セル時間毎に1だけ減算され
、アップダウン・カウンタ4aの値が3を越えるとその
セルは廃棄される。ここで、アップダウン・カウンタは
零を限度とする計数を行うものであって、有効セルが連
続して到来しない場合にも負の値になることはない。カ
ウンタの減算は長時間の平均セル検出レートに対応し、
閾値は短時間のセル検出の偏りを示す。
FIG. 11 is a time chart explaining this conventional device, in which FIG. 11(a) shows the value of the up/down counter 4a, and FIG. 11(b) shows the timing when valid cell C is detected.
(C) of the same figure shows the timing of subtraction. The up/down counter 4a is decremented by 1 every three cell times, and when the value of the up/down counter 4a exceeds 3, the cell is discarded. Here, the up/down counter counts up to zero, and does not take a negative value even if valid cells do not arrive consecutively. The subtraction of the counter corresponds to the long-term average cell detection rate,
The threshold value indicates the short-term cell detection bias.

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

この従来例装置は、原理的であって柔軟な運用もできる
有効なものであるが、アップダウン・カウンタ、閾値保
持回路、判定回路および減算制御回路がそれぞれVPI
毎に個別に必要であり、VPIO数が多い実用的なパケ
ット通信網で利用する場合にはハードウェア量が大きく
なる欠点がある。また、パケット通信網が高速化される
と各ハードウェアはそれぞれ高速の素子を必要とするこ
とになる。
This conventional device is effective in principle and can be operated flexibly, but the up/down counter, threshold value holding circuit, judgment circuit, and subtraction control circuit each have a
This has the disadvantage that the amount of hardware increases when used in a practical packet communication network with a large number of VPIOs. Furthermore, as the speed of the packet communication network increases, each piece of hardware will require a high-speed element.

本発明はこれを改良するもので、VPIの数が多くなっ
てもハードウェアを小型に構成することができるととも
に、通信が高速化されても対応することができるセルト
ラヒック監視装置を提供することを目的とする。
The present invention improves this, and provides a cell traffic monitoring device that can have a compact hardware configuration even when the number of VPIs increases, and can cope with increased communication speeds. With the goal.

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

本発明は、複数のVPIについて前記カウンタ値および
閾値を対応表として一つの記憶回路に保持し、判定制御
子役が、複数のVPIについて共通に設けられ、この対
応表を参照しかつ書換えるように構成された一つのプロ
グラム制御回路により構成されたことを特徴とする。
The present invention stores the counter values and threshold values for a plurality of VPIs as a correspondence table in one storage circuit, and a judgment control child actor is provided in common for the plurality of VPIs, and is configured to refer to and rewrite this correspondence table. The present invention is characterized in that it is composed of a single program control circuit.

記憶回路は前記対応表をVPIによりアクセスできる連
想メモリ手段を含む構成とすることにより通信速度の高
速化に対応することができる。
By configuring the storage circuit to include associative memory means that allows the correspondence table to be accessed by VPI, it is possible to cope with increased communication speed.

プログラム制御回路に設定されたカウンタ制御手段は、
前記セル検出回路で有効セルが検出されたVPIに限り
前記減算を行う構成とすることにより、記憶回路へのア
クセス頻度を著しく小さくして、通信速度の高速化に対
応することができる。
The counter control means set in the program control circuit is
By configuring the subtraction to be performed only for VPIs for which valid cells have been detected by the cell detection circuit, the frequency of access to the storage circuit can be significantly reduced, making it possible to cope with increased communication speed.

〔作用〕[Effect]

VPI毎にカウンタ手段を個別に設けることなく、一つ
の記憶回路に、VPIと、カウンタ値と、閾値とを対応
させた対応表を設定する。カウンタ制御手段および判定
回路は一つのプログラム制御回路により構成され、この
対応表を参照してその内容を読出しまたその内容を書換
えることによりセルの廃棄についての判定およびカウン
タの加算減算処理が実行される。
A correspondence table that associates VPIs, counter values, and threshold values is set in one storage circuit without providing individual counter means for each VPI. The counter control means and the judgment circuit are constituted by a single program control circuit, and by referring to this correspondence table, reading out its contents, and rewriting the contents, judgment on cell discard and addition/subtraction processing of the counter are executed. Ru.

したがって、VPIの数が多くなっても対応表の行数が
大き(なるだけであって、ハードウェアを別に増設する
必要がなくなる。
Therefore, even if the number of VPIs increases, the number of rows in the correspondence table increases, and there is no need to add additional hardware.

さらに連想メモリを用いることにより、対応表が記憶さ
れた記憶回路へのアクセスが簡単化されて高速化に対処
できる。
Furthermore, by using an associative memory, access to the storage circuit in which the correspondence table is stored is simplified, and speeding up can be achieved.

〔実施例〕〔Example〕

第1図は本発明第一実施例装置のブロック構成図である
。この装置は、端子1に被監視信号が人力する。被監視
信号はパケット通信網の一つのノードを通過する伝送信
号である。端子1の信号は被監視信号に同期しその信号
中の有効セルを検出するセル検出回路2に人力する。こ
のセル検出回路2により検出された有効セルはそのVP
IがVPI識別回路3により識別される。本発明の装置
では、各VPI毎のカウンタ値および閾値は、つの記憶
回路12にVPI毎の対応表として記憶設定される。ま
た、このカウンタ値を前記セル検出回路2により対応す
るVPIの有効セルが検出される度に加算を行いVPI
毎にあらかじめ設定されたセル時間毎にあらかじめ設定
されたセルの数だけ減算を行うカウンタ制御手段と、カ
ウンタ値が対応する閾値を越えるとき禁止信号を送出す
る判定手段とが、この対応表を参照しかつ書換えを行う
ように構成され、複数のVPIについて共通に設けられ
た一つの制御判定回路10としてプログラム制御回路に
より構成されたことを特徴とする。
FIG. 1 is a block diagram of an apparatus according to a first embodiment of the present invention. In this device, a signal to be monitored is manually input to terminal 1. The monitored signal is a transmission signal passing through one node of a packet communication network. The signal at the terminal 1 is synchronized with the monitored signal and is input to a cell detection circuit 2 which detects valid cells in the signal. The valid cell detected by this cell detection circuit 2 has its VP
I is identified by the VPI identification circuit 3. In the device of the present invention, the counter value and threshold value for each VPI are stored and set in two storage circuits 12 as a correspondence table for each VPI. Further, this counter value is added each time a valid cell of the corresponding VPI is detected by the cell detection circuit 2.
A counter control means that subtracts a preset number of cells every preset cell time, and a determination means that sends out a prohibition signal when the counter value exceeds the corresponding threshold value refer to this correspondence table. In addition, it is configured to perform rewriting, and is characterized in that it is configured by a program control circuit as one control determination circuit 10 provided in common for a plurality of VPIs.

制御判定回路10の禁止出力は端子9に送出され、その
ときのVPIは端子11に送出される。また制御判定回
路10にはタイマ回路からクロック信号が供給される。
The prohibition output of the control determination circuit 10 is sent to the terminal 9, and the VPI at that time is sent to the terminal 11. Further, a clock signal is supplied to the control determination circuit 10 from a timer circuit.

記憶回路12には、VPIに対応してカウンタ値および
閾値が対応表として記憶されるほかに、mセル時間に1
だけ減算すべきVPIのリスト、m2セル時間に1だけ
減算すべきVPIのリスト、さらに一般的にはm時間に
1だけ減算すべきVPIのリストが記憶されている。
In addition to storing counter values and threshold values as a correspondence table corresponding to the VPI, the memory circuit 12 also stores counter values and threshold values corresponding to VPI.
A list of VPIs to be subtracted by 1, a list of VPIs to be subtracted by 1 to m2 cell times, and more generally a list of VPIs to be subtracted by 1 to m hours are stored.

第2図はこの第一実施例装置の判定動作を示すフローチ
ャートである。有効セルが検出されるとそのVPIが識
別される。このVPI(その値をXとする)が識別され
ると、制御判定回路10は記憶回路12のこの識別され
たVPIのアドレスにアクセスして、対応表に記入され
ているカウンタ値(Count (x) )および閾値
(Th(X))を読出す。読出しだカウンタ値に1を加
算する。つまりそのVPIについて有効セルが検出され
たのであるからカウンタ値を1加算する。この加算した
結果が閾値を越えているかを判定する。越えていれば契
約条件に基づいてそのセルを廃棄するように禁止出力を
端子9に送出する。越えていなければそのセルの転送処
理を実行して、加算されたカウンタ値を記憶回路12の
元のアドレスに戻す。
FIG. 2 is a flowchart showing the determination operation of the apparatus of the first embodiment. When a valid cell is detected, its VPI is identified. When this VPI (its value is assumed to be )) and the threshold value (Th(X)). Add 1 to the read counter value. In other words, since a valid cell has been detected for that VPI, the counter value is incremented by one. It is determined whether the added result exceeds a threshold value. If it exceeds the limit, a prohibition output is sent to terminal 9 to discard the cell based on the contract conditions. If the value is not exceeded, transfer processing for that cell is executed and the added counter value is returned to the original address in the storage circuit 12.

第3図はこの第一実施例装置のカウンタ制御勤作を示す
フローチャートである。すなわち制御判定回路は上の判
定動作とは別に、クロック信号に基づきm1セル時間毎
に減算するVPIのリストを読出し、そのリストにある
VPIについて対応表からカウンタ値を読出し、そのカ
ウンタ値に1を減算してそのカウンタ値をその対応表へ
戻す。
FIG. 3 is a flowchart showing the counter control operation of the first embodiment device. That is, in addition to the above judgment operation, the control judgment circuit reads a list of VPIs to be subtracted every m1 cell time based on the clock signal, reads counter values from the correspondence table for the VPIs in the list, and adds 1 to the counter value. Subtract and return the counter value to its correspondence table.

この減算演算は零までを限度としカウンタ値が負になる
ことがない非負演算である。
This subtraction operation is a non-negative operation whose limit is zero and the counter value never becomes negative.

このように本発明によれば、VPI毎にハードウェアを
設ける必要がなくなり装置全体を小型化することができ
る。一つの非監視信号からは同−VPIの複数の有効セ
ルが同時に検出されることはないから、この処理は1セ
ル時間内に実行すれば到来するセルについて次々に連続
して処理を行うことができる。ちなみに、150Mb/
sの伝送路ではlセル時間は2.7μsであるから、チ
ップ形のCPUで対応することができる。
As described above, according to the present invention, there is no need to provide hardware for each VPI, and the entire device can be downsized. Since multiple valid cells of the same VPI are not detected at the same time from one non-monitoring signal, if this process is executed within one cell time, it is possible to process incoming cells one after another. can. By the way, 150Mb/
Since the 1 cell time is 2.7 .mu.s in the transmission path of 1.5 s, it can be handled by a chip-type CPU.

第4図および第5図は本発明第二実施例装置の説明図で
ある。この第二実施例装置はその装置構成は第1図で説
明した第一実施例装置と同等であるが、その記憶回路1
2に記憶するテーブルを複数の表について共通化すると
ともに、記憶内容をキーにより読出すことが可能な連想
メモリを利用したところに特徴がある。
FIGS. 4 and 5 are explanatory diagrams of an apparatus according to a second embodiment of the present invention. This second embodiment device has the same device configuration as the first embodiment device explained in FIG. 1, but its memory circuit 1
The feature is that the table stored in 2 is shared by a plurality of tables, and that an associative memory is used in which the stored contents can be read using a key.

一般の記憶回路ではデータが記憶されている物理的場所
をアドレスとしていて、アドレスを与えるとそのアドレ
スに格納されているデータが読出される。ここでいう連
想メモリでは、物理的場所としてのアドレスではなく、
そこに格納されているデータの一部がキーとしてアクセ
スに利用される。ここではVPIをキーとするとそのV
PIが格納されているアドレスがアクセスされて、その
VPIに対応する各種のパラメタを読出すことができる
In general memory circuits, the physical location where data is stored is used as an address, and when an address is given, the data stored at that address is read out. Associative memory here is not an address as a physical location, but
Part of the data stored there is used as a key for access. Here, if VPI is the key, then the V
The address where the PI is stored is accessed, and various parameters corresponding to that VPI can be read.

第4図は連想メモリを利用する場合の対応表の一例を示
す。第5図は連想メモリの論理を説明する図である。こ
こで連想メモリとは記憶されているデータの一部と、人
カキ−として与えられた値とが一致したときに、そのア
ドレスのデータを読出す記憶回路である。第5図で入カ
キ−としていまrlo  11  0011」というデ
ータを与えたものとする。これは記憶回路の各アドレス
に記憶されているデータの一部の桁に対応する。この入
カキ−が与えられると、各アドレス毎にこの人カキ−と
そのアドレスに記憶されているデータの対応する桁とを
比較する。データyでは入カキ−とその対応相の内容は
一部で一致しても全体が一致しない。つまり不一致であ
る。これを順にすすめデータXで一致があった。人カキ
−のすべての桁が一致すると、アンド回路に一致出力が
得られる。一致出力があったアドレスについてそのアド
レスに記憶されているデータが全桁にわたり読出される
FIG. 4 shows an example of a correspondence table when using an associative memory. FIG. 5 is a diagram explaining the logic of an associative memory. Here, the associative memory is a storage circuit that reads data at an address when a portion of stored data matches a value given as a human key. In FIG. 5, it is assumed that data such as "RLO 11 0011" is given as an input key. This corresponds to some digits of data stored at each address in the storage circuit. When this input key is given, for each address, this input key is compared with the corresponding digit of the data stored at that address. In the data y, even if the contents of the input key and its corresponding phase partially match, the whole does not match. In other words, there is a mismatch. I proceeded with this in order and found a match in data X. When all the digits of the human key match, a match output is obtained to the AND circuit. Regarding the address where there is a matching output, the data stored at that address is read out over all digits.

第4図に戻ってここでは各アドレスに第4図に示すよう
なデータが記憶されていて、VPI識別回路で識別され
たVPIを入カキ−としてこの記憶回路をアクセスする
と、その該当桁が識別されたVPIと一致するときその
アドレスのすべてのデータ、すなわちn値、カウンタ値
、閾値が読出される。このようにすると、VPIを記憶
回路のアドレスに変換する操作が不要になり、きわめて
短時間に記憶回路の該当するアドレスの内容を読出すこ
とができる。
Returning to Figure 4, data as shown in Figure 4 is stored in each address, and when this memory circuit is accessed using the VPI identified by the VPI identification circuit as an input key, the corresponding digit is identified. When the address matches the specified VPI, all data at that address, that is, the n value, counter value, and threshold value, are read out. In this way, there is no need to convert the VPI to an address in the memory circuit, and the contents of the corresponding address in the memory circuit can be read out in a very short time.

この第二実施例装置では、セル検出回路2で有効セルが
検出され、その有効セルのVPIがvPI識別回路3で
識別されると、そのVPIを入カキ−として連想メモリ
により構成された記憶回路12をアクセスし、その人カ
キ−と一致があるアドレスのデータを読出す。そのデー
タのカウンタ値に1加算を行い、同時に読出された閾値
と比較して閾値を越えていれば廃棄のための禁止信号を
送出する。カウンタ値の減算については、セル時間mを
キーとして記憶回路12をアクセスし、対応するカウン
タ値を1つ減算することにより行う。第二実施例装置で
は、VPIあるいはセル時間mをキーとして与えて記憶
回路12をアクセスするので、記憶回路のアクセス時間
を短縮することができる。
In the device of the second embodiment, when a valid cell is detected by the cell detection circuit 2 and the VPI of the valid cell is identified by the vPI identification circuit 3, a storage circuit configured with an associative memory uses the VPI as an input key. 12 and read the data at the address that matches the person's key. Add 1 to the counter value of the data, compare it with the threshold value read out at the same time, and if it exceeds the threshold value, send out a prohibition signal for discarding the data. Subtraction of the counter value is performed by accessing the memory circuit 12 using the cell time m as a key and subtracting one from the corresponding counter value. In the device of the second embodiment, the memory circuit 12 is accessed by giving the VPI or the cell time m as a key, so that the access time of the memory circuit can be shortened.

第6図は本発萌第三実施例装置のブロック構成図である
。この第三実施例装置では大略は前記第一実施例装置と
同等であるが、カウンタ制御に特微かある。すなわち、
記憶回路12にはVPIに対応してカウンタ値および閾
値のほかに、減算ファクタおよび前セルの検出時刻が記
録される。またタイマ8は単なるクロック信号だけでな
く絶対時刻を送出する。
FIG. 6 is a block diagram of the device according to the third embodiment of the present invention. The device of this third embodiment is roughly the same as the device of the first embodiment, but has a special feature in counter control. That is,
In addition to a counter value and a threshold value, a subtraction factor and a detection time of the previous cell are recorded in the storage circuit 12 corresponding to the VPI. Further, the timer 8 not only sends out a simple clock signal but also sends out an absolute time.

この構成では、VPIが識別され判定が行われるまで定
常的なカウンタ値の減算を省略する。前記第一実施例で
は契約に基づくセル間隔で定常的にカウンタ値を減算す
る操作を行っているが、この第三実施例では、この定常
的な減算操作を保留しておき、その代わりにVPIが識
別された時刻をその対応表の中に記録しておく。そして
次にVPIが識別されたときに前の識別された時刻と現
在の時刻との差を演算し、その経過時間からカウンタ値
をどれだけ減算すべきかを計算し、その計算の結果を利
用して現在のカウンタ値を求め、その現在のカウンタ値
と閾値との比較判定を行う。
With this configuration, constant subtraction of the counter value is omitted until the VPI is identified and determined. In the first embodiment, the counter value is regularly subtracted at cell intervals based on the contract, but in this third embodiment, this steady subtraction operation is suspended, and instead, the VPI Record the time at which it was identified in the correspondence table. Next, when the VPI is identified, calculate the difference between the previous identified time and the current time, calculate how much the counter value should be subtracted from the elapsed time, and use the result of that calculation. The current counter value is determined by comparing the current counter value with the threshold value.

第7図はこの第三実施例装置の動作を説明するフローチ
ャートである。すなわち、VPIの識別が行われると記
憶回路12のそのVPIO行にアクセスし、その内容を
読出す。前セル検出からの経過時間を計算し、この経過
時間に減算ファクタを掛けて、カウンタ値から減算すべ
き数を求める。
FIG. 7 is a flowchart illustrating the operation of the apparatus of the third embodiment. That is, when the VPI is identified, the VPIO row of the memory circuit 12 is accessed and its contents are read. The elapsed time since the previous cell detection is calculated, and the elapsed time is multiplied by a subtraction factor to determine the number to be subtracted from the counter value.

この数をカウンタ値から減算してそれを現在のカウンタ
値とする。ただしこの演算は負になることはない非負演
算である。その現在のカウンタ値と閾値とを比較して、
閾値を越えていればセルを廃棄し閾値以内であればセル
の転送処理を実行する。
This number is subtracted from the counter value to make it the current counter value. However, this operation is a non-negative operation that never becomes negative. Compare the current counter value with the threshold value,
If the threshold is exceeded, the cell is discarded, and if it is within the threshold, the cell is transferred.

そして、そのカウンタ値と現在の時刻(CCTR)を記
憶回路12に収納しておく。
Then, the counter value and the current time (CCTR) are stored in the storage circuit 12.

このように構成することにより、記憶回路12のアクセ
ス回数を著しく少なくすることができる。
With this configuration, the number of accesses to the memory circuit 12 can be significantly reduced.

すなわちこの第三実施例では、識別されたVPIに対応
のみアクセスを行えばよく、いつ利用されるかわからな
いVPIのカウンタ値の減算のために定常的なアクセス
を行う必要がなくなった。したがって、高速度の通信速
度に対しても余裕をもって対応することができる。
That is, in this third embodiment, it is only necessary to access the identified VPI, and there is no need to perform regular access to subtract the counter value of a VPI whose use is unknown. Therefore, it is possible to cope with high communication speeds with sufficient margin.

ここで、この第三実施例についてmまたはnの値によっ
ては、カウンタ値、カウンタから減算すべき値などが必
ずしも整数にならない場合がある。
Here, in this third embodiment, depending on the value of m or n, the counter value, the value to be subtracted from the counter, etc. may not necessarily be an integer.

すなわちmセル時間にn個のセルという契約であるとす
ると、上記第三実施例ではm時間にカウンタ値から減算
すべき値は 経過時間 xn/m となる。これは整数にならないことがある。整数になら
ないとカウンタとして扱うことが不便である。このよう
な場合には、第8図に示すように、減算ファクタ、加算
値、閾値をそれぞれm倍した値とすることにより、すべ
ては整数処理により演算することができるようになる。
That is, assuming that the contract is for n cells in m cell time, in the third embodiment, the value to be subtracted from the counter value in m time is the elapsed time xn/m. This may not be an integer. It is inconvenient to treat it as a counter unless it becomes an integer. In such a case, as shown in FIG. 8, by setting the subtraction factor, addition value, and threshold value to values multiplied by m, all calculations can be performed by integer processing.

つまり、減算すべき値は上の式をm倍して 経過時間 × n は必ず整数である。これに合わせるようにセル検出毎に
加算すべき値は xm であり、閾値もm倍して Th  x  m となる。この操作により記憶回路の内容をすべて整数と
して扱うことができるようになる。
In other words, the value to be subtracted is the above equation multiplied by m, and the elapsed time x n is always an integer. In order to match this, the value to be added every time a cell is detected is xm, and the threshold value is also multiplied by m to obtain Th x m. This operation allows all contents of the memory circuit to be treated as integers.

ここで、上記各式のように単純にmを乗するに限らず、
mの整数倍を乗することにしても同様に記憶回路の内容
をすべて整数として扱うことができる。
Here, instead of simply multiplying m as in the above formulas,
Even if m is multiplied by an integer multiple, all the contents of the memory circuit can be treated as integers.

第9図は本発明第四実施例装置のブロック構成図である
。この例は他の判定条件と併合してセルの廃棄を判定す
る場合の実施例である。端子13には拡張入力が到来す
る。この拡張人力は、例えば長い周期にわたる最大セル
数について別の契約条件がある場合に、その別の条件に
よる判定の結果セル廃棄を指示する信号である。この拡
張入力と制御判定回路10の禁止出力とを人力とするオ
ア回路14の出力が禁止出力を送出する端子9の信号と
なる。またカウンタ値の書換えもこの拡張入力を含めた
値により制御することが必要であり、制御判定回路10
の禁止出力と拡張人力との論理積がアンド回路15によ
り制御判定回路10に人力される。
FIG. 9 is a block diagram of an apparatus according to a fourth embodiment of the present invention. This example is an example in which discarding of a cell is determined by merging with other determination conditions. An expansion input arrives at terminal 13. For example, when there is another contract condition regarding the maximum number of cells over a long period, this extended human power is a signal that instructs cell discard as a result of a determination based on the other condition. The output of the OR circuit 14 which inputs this expansion input and the prohibition output of the control determination circuit 10 becomes a signal at the terminal 9 that sends out the prohibition output. It is also necessary to control rewriting of the counter value using a value including this extended input, and the control judgment circuit 10
The AND circuit 15 outputs the logical product of the prohibition output and the extended human power to the control determination circuit 10 .

この構成により他の監視結果を総合してセルの廃棄を判
定することができる。
With this configuration, it is possible to determine cell discard by integrating other monitoring results.

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

以上説明したように、本発明によればVPI毎にハード
ウェアを設ける必要がなくなり、複数(多数)のVPI
について共通にかつ時分割的に利用されるプログラム制
御回路および記憶回路により監視装置を構成することが
できる。したがって、VPI数が大きいときに装置がき
わめて小型化されるとともに、消費電力が小さくなる。
As explained above, according to the present invention, there is no need to provide hardware for each VPI, and multiple (many) VPIs
A monitoring device can be configured by a program control circuit and a storage circuit that are used in common and in a time-sharing manner. Therefore, when the number of VPIs is large, the device becomes extremely compact and consumes less power.

また、通信速度の高速化に対してその対応が容易になる
効果がある。
Additionally, it has the effect of making it easier to respond to increased communication speeds.

記憶回路およびそのアクセス制御に連想メモリの技術を
用いることにより、記憶回路へのアクセスが単純化され
て、高速処理に対してさらに合理的に対応することがで
きる効果がある。
By using associative memory technology for the storage circuit and its access control, access to the storage circuit is simplified and high-speed processing can be more rationally supported.

また、カウンタの減算処理を周期的に実行することなく
、該当するVPIのアクセスが行われるときに、経過時
間に減算すべき値についてまとめて減算処理を実行する
ことにより、記憶回路へのアクセス回数が小さくなり、
高速処理に対してさらに合理的に対応することができる
効果がある。
In addition, without periodically executing counter subtraction processing, by executing subtraction processing for the values to be subtracted from the elapsed time all at once when the corresponding VPI is accessed, the number of accesses to the storage circuit can be reduced. becomes smaller,
This has the effect of being able to respond more rationally to high-speed processing.

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

第1図は本発明第一実施例装置のブロック構成図。 第2図はその第一実施例装置の動作フローチャート。 第3図はその第一実施例装置のカウンタ制御のフローチ
ャート。 第4図は本発明第二実施例装置で記憶回路に設けられる
対応表の構成図。 第5図は連想メモリの論理を説明する図。 第6図は本発明第三実施例装置のブロック構成図。 第7図はその第三実施例装置の動作フローチャート。 第8図はその第三実施例装置の動作フローチャート(カ
ウンタ値をすべて整数で処理する場合)。 第9図は本発明第四実施例装置のブロック構成図。 第10図は従来例装置のブロック構成図。 第11図は従来例装置のカウンタ値の変化を示すタイム
チャート。 1・・・被監視信号が人力する端子、2・・・セル検出
回路、3・・・VPI識別回路、4・・・アップダウン
・カウンタ、訃・・減算制御回路、6・・・判定回路、
7・・・閾値保持回路、8・・・タイマ、9・・・禁止
出力を送出する端子、10・・・制御判定回路(プログ
ラム制御回路により構成される)、11・・・VPIが
出力される端子(多ビット信号)、12・・・記憶回路
(対応表が記憶される)、13・・・拡張入力が到来す
る端子。 特許出願人 日本電信電話株式会社 代理人 弁理士  井 出 直 孝
FIG. 1 is a block diagram of an apparatus according to a first embodiment of the present invention. FIG. 2 is an operation flowchart of the device of the first embodiment. FIG. 3 is a flowchart of counter control of the device of the first embodiment. FIG. 4 is a configuration diagram of a correspondence table provided in a memory circuit in a device according to a second embodiment of the present invention. FIG. 5 is a diagram explaining the logic of associative memory. FIG. 6 is a block diagram of a device according to a third embodiment of the present invention. FIG. 7 is an operation flowchart of the device of the third embodiment. FIG. 8 is an operation flowchart of the device of the third embodiment (when all counter values are processed using integers). FIG. 9 is a block diagram of an apparatus according to a fourth embodiment of the present invention. FIG. 10 is a block diagram of a conventional device. FIG. 11 is a time chart showing changes in the counter value of the conventional device. 1... Terminal for manually inputting the monitored signal, 2... Cell detection circuit, 3... VPI identification circuit, 4... Up/down counter, 2... Subtraction control circuit, 6... Judgment circuit ,
7... Threshold value holding circuit, 8... Timer, 9... Terminal for sending prohibition output, 10... Control judgment circuit (consisting of program control circuit), 11... VPI is output. terminal (multi-bit signal), 12... storage circuit (correspondence table is stored), 13... terminal to which extended input arrives. Patent applicant: Nippon Telegraph and Telephone Corporation Representative Patent attorney: Naotaka Ide

Claims (1)

【特許請求の範囲】 1、被監視信号に同期しその信号中の有効セルを検出す
るセル検出回路と、 このセル検出回路により検出された有効セルのバーチャ
ルパス番号(Virtual Path Identi
fier、以下「VPI」という)を識別するVPI識
別回路と、各VPI毎に設けられたカウンタ手段と、 このカウンタ手段の値を前記セル検出回路により対応す
るVPIの有効セルが検出される度に加算を行い、VP
I毎にあらかじめ設定されたセル時間対応にあらかじめ
設定されたセルの数だけ減算を行うカウンタ制御手段と
、 あらかじめ設定された閾値を保持する閾値保持手段と、 前記カウンタ手段の値がこの閾値を越えるときVPI対
応に禁止信号を送出する判定手段とを備えたセルトラヒ
ック監視装置において、複数のVPIについて前記カウ
ンタ手段のカウンタ値および前記閾値保持手段に保持さ
れる閾値が対応表として一つの記憶回路に設定され、前
記判定手段および前記カウンタ制御手段は、この対応表
を参照しかつ書換えを行い、複数のVPIについて共通
に設けられたプログラム制御回路により構成された ことを特徴とするセルトラヒック監視装置。 2、前記記憶回路は前記対応表をVPIその他その対応
表に記憶されている一部の内容を利用してアクセスでき
る連想メモリ手段を含む請求項1記載のセルトラヒック
監視装置。3、前記記憶回路に、アクセスされたVPI
についてそのアクセス時刻を記憶する領域を設け、前記
プログラム制御回路は、前記セル検出回路で有効セルが
検出されたVPIに限りアクセスを行うように設定され
、 前記プログラム制御回路は、前記領域にアクセス時刻を
格納する手段と、アクセスを行ったときに前のアクセス
時刻と現在の時刻との差から経過時間を算出しその経過
時間を基にカウンタ値からまとめて減算すべき数を演算
して現在のカウンタ値を計算する手段とを含む請求項1
記載のセルトラヒック監視装置。 4、カウンタ値から減算すべき数、カウンタ値に加算す
べき数、および読出した閾値はそれぞれmまたはmの整
数倍を乗算した値とする請求項3記載のセルトラヒック
監視装置。5、他の条件によりセル廃棄を指示する信号
を拡張入力として受ける端子を備え、この端子に入力す
る信号と制御判定回路の出力禁止信号との論理和を禁止
出力とする請求項1記載のセルトラヒック監視装置。
[Claims] 1. A cell detection circuit that synchronizes with a monitored signal and detects valid cells in the signal, and a virtual path number (Virtual Path Identity) of the valid cell detected by this cell detection circuit.
a VPI identification circuit for identifying a VPI (hereinafter referred to as "VPI"); and a counter means provided for each VPI; Perform addition and VP
counter control means for subtracting a preset number of cells corresponding to a preset cell time for each cell time; threshold holding means for holding a preset threshold; and when the value of the counter exceeds this threshold In the cell traffic monitoring device, the counter value of the counter means and the threshold value held in the threshold value holding means are stored in one storage circuit as a correspondence table for a plurality of VPIs. The cell traffic monitoring device is characterized in that the determination means and the counter control means refer to and rewrite this correspondence table, and are constituted by a program control circuit that is provided in common for a plurality of VPIs. 2. The cell traffic monitoring device according to claim 1, wherein the storage circuit includes associative memory means that allows access to the correspondence table using VPI and some other contents stored in the correspondence table. 3. VPI accessed to the storage circuit
The program control circuit is configured to access only those VPIs in which valid cells have been detected by the cell detection circuit, and the program control circuit is configured to store the access time in the area. When an access is made, the elapsed time is calculated from the difference between the previous access time and the current time, and based on that elapsed time, the number to be subtracted collectively from the counter value is calculated. Claim 1 comprising means for calculating a counter value.
Cell traffic monitoring device described. 4. The cell traffic monitoring device according to claim 3, wherein the number to be subtracted from the counter value, the number to be added to the counter value, and the read threshold value are respectively m or a value multiplied by an integral multiple of m. 5. The cell according to claim 1, further comprising a terminal for receiving a signal instructing cell discard based on other conditions as an extended input, and a logical sum of the signal input to this terminal and an output prohibition signal of the control determination circuit as the prohibition output. Traffic monitoring equipment.
JP27301090A 1990-10-11 1990-10-11 Cell traffic monitoring device Expired - Fee Related JP2916604B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27301090A JP2916604B2 (en) 1990-10-11 1990-10-11 Cell traffic monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27301090A JP2916604B2 (en) 1990-10-11 1990-10-11 Cell traffic monitoring device

Publications (2)

Publication Number Publication Date
JPH04150344A true JPH04150344A (en) 1992-05-22
JP2916604B2 JP2916604B2 (en) 1999-07-05

Family

ID=17521898

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27301090A Expired - Fee Related JP2916604B2 (en) 1990-10-11 1990-10-11 Cell traffic monitoring device

Country Status (1)

Country Link
JP (1) JP2916604B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003046555A (en) * 2001-07-31 2003-02-14 Hitachi Ltd Bandwidth monitoring device
JP2007266965A (en) * 2006-03-28 2007-10-11 Fujitsu Ltd Frame multiplexer
CN100384097C (en) * 1998-05-25 2008-04-23 三星电子株式会社 Method for real-time monitoring of information volume in ATM switching node

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100384097C (en) * 1998-05-25 2008-04-23 三星电子株式会社 Method for real-time monitoring of information volume in ATM switching node
JP2003046555A (en) * 2001-07-31 2003-02-14 Hitachi Ltd Bandwidth monitoring device
JP2007266965A (en) * 2006-03-28 2007-10-11 Fujitsu Ltd Frame multiplexer
US7961744B2 (en) 2006-03-28 2011-06-14 Fujitsu Limited Frame multiplexing device

Also Published As

Publication number Publication date
JP2916604B2 (en) 1999-07-05

Similar Documents

Publication Publication Date Title
Massoulié Structural properties of proportional fairness: Stability and insensitivity
RU2174742C2 (en) Method and device for measuring traffic in communication system
Onvural et al. Approximate throughput analysis of cyclic queueing networks with finite buffers
JPH04150344A (en) Cell traffic monitor
EP0870415B1 (en) Switching apparatus
Kolarov et al. Least cost routing in multiple-service networks
JP2851744B2 (en) Policing circuit
JP2855237B2 (en) Cell traffic monitoring device
JP2851743B2 (en) Policing circuit
KR0153643B1 (en) Fast Virtual Scheduling Device Using Priority Encoder
JP2855236B2 (en) Cell traffic monitoring device
JPH06164621A (en) ATM call admission control system
JP2580395B2 (en) Cell monitoring device and cell flow control device using the same
JP2860347B2 (en) Cell traffic monitoring device
CA1312957C (en) Apparatus for processing bit streams
Robert et al. An SSMP traffic model based on network measurements
Yardi et al. Covert queueing problem with a Markovian statistic
JP2864071B2 (en) Cell traffic monitoring device
JPH03241944A (en) Cell flow rate monitoring method
JPH04192648A (en) Cell traffic monitor
JP3116587B2 (en) ATM cell processing circuit
JP2873324B2 (en) Cell traffic monitoring device
JP2968143B2 (en) Virtual path capacity variable control method and apparatus
JPH08107421A (en) Method and device for measuring cell flow rate
JP2860348B2 (en) Cell traffic monitoring device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090423

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees