JPH08107421A - Method and device for measuring flow rate of cells - Google Patents

Method and device for measuring flow rate of cells

Info

Publication number
JPH08107421A
JPH08107421A JP24383394A JP24383394A JPH08107421A JP H08107421 A JPH08107421 A JP H08107421A JP 24383394 A JP24383394 A JP 24383394A JP 24383394 A JP24383394 A JP 24383394A JP H08107421 A JPH08107421 A JP H08107421A
Authority
JP
Japan
Prior art keywords
cell
cell type
time
reset
cells
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.)
Withdrawn
Application number
JP24383394A
Other languages
Japanese (ja)
Inventor
Michio Kusayanagi
道夫 草柳
Toshiyuki Sudo
俊之 須藤
Yoichi Sato
陽一 佐藤
Akira Toyoshima
鑑 豊島
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.)
Fujitsu Ltd
Nippon Telegraph and Telephone Corp
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd, Nippon Telegraph and Telephone Corp filed Critical Fujitsu Ltd
Priority to JP24383394A priority Critical patent/JPH08107421A/en
Publication of JPH08107421A publication Critical patent/JPH08107421A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PURPOSE: To unnecessitate a high-speed operation by respectively setting a specified cycle for each cell class at an n-fold unit cycle and delaying the reset of a cell count value just for prescribed time within a wrong unit cycle corresponding to the cell class. CONSTITUTION: A header information extracting part 60 extracts the header information of an arriving cell and outputs a VPI signal and a relevant VP timing signal. A cell number counter 61 reads the number of cells in an arriving VP from a cell number counter value memory 673. After '1' is added to this value, it is returned to the memory 673 and the number of cells in the arriving cell VP is updated. A VPI generating part 665 successively generates all the VPI within minimum time tmin and repeats this operation in the cycle of tmin. These specified number (n) of times of generated VPI, counter values of (n) times and cell number counter value are respectively read from memories 675, 676 and 673 to a correspondent circuit inside a T cycle reset part 66. Based on these values, a counter 667 performs reset processing once the (n) times within the minimum cycle tmin concerning the cell number counter value of the relevant VP.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はATM(非同期転送モー
ド)におけるポリシング回路のセル流量を計測するセル
流量計測の方法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a cell flow rate measuring method and apparatus for measuring the cell flow rate of a polishing circuit in ATM (asynchronous transfer mode).

【0002】[0002]

【従来の技術】B−ISDN(Broadband-Integrated S
ervices Digital Network)の基幹技術であるATM(Asy
nchronous Transfer Mode)技術においては、網に流量す
る加入者からのATMセルの流量が加入者の申告を超え
ているか否かを判断してセル流量の制御を行う「ポリシ
ング技術(あるいはUPC:Usage Paraneter Control)
と称される) 」が必須となる。
2. Description of the Related Art B-ISDN (Broadband-Integrated S
ervices Digital Network) ATM (Asy
In the "nchronous Transfer Mode" technology, the "policing technology (or UPC: Usage Paraneter)" is used to control the cell flow rate by judging whether the ATM cell flow rate from the subscriber to the network exceeds the subscriber's declaration. Control)
) ”Is required.

【0003】ポリシングでは、各VP(Virtual Path)あ
るいはVC(Virtural Call) ごとに流入セルの観測を行
い、この観測されたセル流量をあらかじめ加入者により
申告された流量と比較し、申告された流量を超える違反
セルに対しては、セル廃棄あるいはバイオレーションの
付加を行う等の処理を施す。
In policing, an inflow cell is observed for each VP (Virtual Path) or VC (Virtural Call), and the observed cell flow rate is compared with the flow rate declared by the subscriber in advance to declare the declared flow rate. If the violating cell exceeds the limit, the cell is discarded or a violation is added.

【0004】図7の(A)にはポリシング技術の構成が
示される。図中、1は各VP/VC毎にセル流量を監視
してセル廃棄等の制御を行うポリシング回路、2は加入
者からの申告値によりポリシング回路1を制御する制御
部である。この制御部2はユーザからの申告値の設定等
をポリシング回路1に対して行う。
FIG. 7A shows the structure of the polishing technique. In the figure, 1 is a policing circuit that monitors the cell flow rate for each VP / VC to control cell discarding and the like, and 2 is a control unit that controls the policing circuit 1 according to a value declared by a subscriber. The control unit 2 sets a value declared by the user to the policing circuit 1.

【0005】ポリシング回路1は、図7の(B)に示さ
れるように、セル情報分岐部3、セル遅延部4、セル制
御部5、流量計測部6等を含み構成される。セル情報分
岐部3は到着セルのヘッダ情報が分岐され、流量計測部
6はこのヘッダ情報に基づいてVP/VC単位にそのセ
ル流量を計測してそれが申告に違反しているか否かを判
定する。セル遅延部4は流量計測部6での処理に要する
時間分だけ到着セルを遅延させてタイミングを合わせる
回路であり、セル制御部5はセル遅延部4を経由して入
力したセルが流量計測部6により違反と判定されれば廃
棄等を行い、無違反であれば通過させる制御を行う。
As shown in FIG. 7B, the polishing circuit 1 includes a cell information branching unit 3, a cell delaying unit 4, a cell control unit 5, a flow rate measuring unit 6 and the like. The cell information branching unit 3 branches the header information of the arriving cell, and the flow rate measuring unit 6 measures the cell flow rate in VP / VC units based on this header information and determines whether it violates the declaration. To do. The cell delay unit 4 is a circuit that adjusts the timing by delaying the arriving cells by the time required for the processing in the flow rate measurement unit 6, and the cell control unit 5 uses the cells input via the cell delay unit 4 as the flow rate measurement unit. If it is determined to be a violation according to 6, discarding or the like is performed, and if there is no violation, control is performed to pass it.

【0006】セル流量が違反か否かを決定するセル流量
の計測方法には種々の方式がある。図8はこの各種のポ
リシング方式を示すものである。以下、この各種ポリシ
ング方式について説明する。
There are various methods for measuring the cell flow rate for determining whether or not the cell flow rate is in violation. FIG. 8 shows the various polishing methods. The various policing methods will be described below.

【0007】「時間間隔法」はセル到着毎にその到着セ
ルと前回到着セルとの時間間隔tを測定し、この測定値
tを所定の規定値(許容到着時間間隔)Tと比較して、
この規定値Tより小さければ違反と判定する方式であ
る。
The "time interval method" measures the time interval t between the arriving cell and the previous arriving cell for each cell arrival, compares the measured value t with a predetermined prescribed value (allowable arrival time interval) T,
If it is smaller than this prescribed value T, it is a method of judging a violation.

【0008】「TX法」は所定の規定周期Tの間に到着
するセルの数xをカウントし、このセル数xを所定の規
定セル数Xと比較し、この規定セル数Xを上回っていれ
ば違反と判定する方式である。
The "TX method" counts the number x of cells arriving during a predetermined prescribed period T, compares the number x of cells with a predetermined prescribed number of cells X, and exceeds the prescribed number of cells X. If it is a violation, it is a method to judge.

【0009】「DB法」はカウント開始点(位相)を順
次にずらして規定周期Tをそれぞれの位相でカウント
し、規定周期Tの間に到着するセルの数xをそれぞれ全
ての位相の規定周期Tについてカウントし、それらの各
規定周期Tにおける到着セル数xを所定の規定セル数X
と比較して、規定セル数Xを超えていれば違反と判定す
る方式である。
In the "DB method", the count start points (phases) are sequentially shifted and the specified period T is counted in each phase, and the number x of cells arriving during the specified period T is specified period of all phases. T is counted, and the number of arriving cells x in each of the prescribed periods T is determined by a prescribed prescribed cell number X.
Compared with the above, if the number of cells exceeds the prescribed number X, it is a method of determining a violation.

【0010】「CAT−M法」は(X+1)個のセルが
到着した時間tを全ての位相(セルの到着ごと)につい
て測定し、この時間tを所定の規定時間Tと比較し、規
定時間Tより小さければ違反と判定する方式である。
The "CAT-M method" measures the time t at which (X + 1) cells arrive for all phases (every cell arrival), compares this time t with a prescribed time T, and If it is smaller than T, it is a method of judging a violation.

【0011】「LB法」は流入したセル数を積算(1セ
ル到着毎にカウンタを一定数加算)し、かつその積算値
から一定速度で一定のセル量を減算(平均レートでカウ
ンタを減算)することで、減算数より加算数が多いため
積算値が増加してある所定量Bを超えた時には、流入セ
ル量が過大と判定して違反とする方式である。
The "LB method" integrates the number of inflowing cells (adds a fixed number of counters every arrival of one cell), and subtracts a fixed amount of cells at a fixed speed from the integrated value (subtracts the counter at an average rate). By doing so, when the number of additions is larger than the number of subtractions and the integrated value increases and exceeds a predetermined amount B, the inflow cell amount is determined to be excessive and a violation occurs.

【0012】図9には上述のポリシング回路における流
量計測部(トラヒック測定部とも称する)の構成例が示
される。この流量計測部はポリシング方式として上述の
「TX法」を用いた場合のものである。図10の(A)
に示すように、この「TX法」では、T時間内に到着し
たセルaの数xをカウントし、その値xが規定数X個を
超えるか否かにより、セルの違反判定を行う。
FIG. 9 shows a structural example of a flow rate measuring section (also called a traffic measuring section) in the above-mentioned polishing circuit. This flow rate measuring unit is a case where the above-mentioned "TX method" is used as a polishing method. FIG. 10 (A)
As shown in, the "TX method" counts the number x of cells a that arrived within the time T, and determines whether or not the value x exceeds the prescribed number X, to determine the cell violation.

【0013】図9において、この流量計測部はヘッダ情
報抽出部60、セル数カウンタ61、規定時間T記憶部
62、T時間カウンタ63、規定数X記憶部64、比較
演算部65を含み構成される。
In FIG. 9, the flow rate measuring unit includes a header information extracting unit 60, a cell number counter 61, a specified time T storage unit 62, a T time counter 63, a specified number X storage unit 64, and a comparison calculation unit 65. It

【0014】ヘッダ情報抽出部60は到着セルのヘッダ
からVPI(VP識別子)等のヘッダ情報を抽出する回
路である。規定時間記憶部62は規定時間Tを予め記憶
するメモリである。この規定時間Tは1セルの処理時間
〔以下、セル時間と称する)を単位とする値である。T
時間カウンタ63はセルタイミング信号(1セル時間毎
に周期的に発生される)が入力される毎にカウントを行
うカウンタであり、セル時間単位で時間のカウントを行
い、そのカウンタ値が規定時間T記憶部62の規定時間
Tに達したらリセット信号をセル数カウンタ61に送出
する。このセル数カウンタ61はヘッダ情報抽出部60
からセル到着時のタイミング信号が入力される毎に計数
値を+1するカウンタであり、その計数値をセル数xと
して比較演算部65に出力する。比較演算部65はこの
セル数xを規定数X記憶部64からの規定数Xと比較す
る。
The header information extraction unit 60 is a circuit for extracting header information such as VPI (VP identifier) from the header of the arriving cell. The specified time storage unit 62 is a memory that stores the specified time T in advance. The specified time T is a value in which the processing time of one cell (hereinafter, referred to as cell time) is a unit. T
The time counter 63 is a counter that counts each time a cell timing signal (which is periodically generated every one cell time) is input, counts time in cell time units, and the counter value is a specified time T. When the specified time T of the storage unit 62 is reached, a reset signal is sent to the cell number counter 61. The cell number counter 61 is a header information extraction unit 60.
Is a counter that increments the count value by 1 each time a timing signal upon arrival of a cell is input, and outputs the count value to the comparison calculation unit 65 as the number of cells x. The comparison calculation unit 65 compares the number of cells x with the specified number X from the specified number X storage unit 64.

【0015】この流量計測回路の動作を以下に説明す
る。ヘッダ情報抽出部61にて到着セルのヘッダからV
PI等のヘッダ情報が抽出される。そのセル到着毎にタ
イミング信号がセル数カウンタ61に送られてセル数が
カウントされる。一方、T時間カウンタ63では規定時
間Tのカウントが行われ、規定時間Tに達するとセル数
カウンタ61に対してリセット信号を送出する。従っ
て、T時間カウンタ63によってT時間間隔が作られ、
セル数カウンタ61はT時間の周期タイミングでリセッ
トされるので、セル数カウンタ61からはT時間内に到
着したセル数xが比較演算部65に送られることにな
る。このセル数xは比較演算部65で規定数X記憶部6
4からの規定数Xと比較され、セル数xが規定数Xを超
えるか否かでセル違反の有無が判定される。
The operation of this flow rate measuring circuit will be described below. The header information extracting unit 61 extracts V from the header of the arriving cell.
Header information such as PI is extracted. Each time the cell arrives, a timing signal is sent to the cell number counter 61 to count the number of cells. On the other hand, the T time counter 63 counts the specified time T, and when the specified time T is reached, a reset signal is sent to the cell number counter 61. Therefore, the T time counter 63 creates a T time interval,
Since the cell number counter 61 is reset at the cycle timing of T time, the cell number counter 61 sends the cell number x arrived within the T time to the comparison calculation unit 65. The number of cells x is calculated by the comparison calculation unit 65 by the prescribed number X storage unit 6
It is compared with the specified number X from 4 and the presence or absence of cell violation is determined by whether or not the number of cells x exceeds the specified number X.

【0016】[0016]

【発明が解決しようとする課題】上述のセル流量計測回
路はセルが1種類(1VP)の場合のものであるが、実
際のハードウェア上には複数のVP(例えば256種
類)のセルが流れており、これらは全て各VP対応に任
意の規定時間Tおよび規定数Xをパラメータとして持
ち、それぞれ独立にポリシングが行われている。例えば
図10の(B)にはVPが4種類の場合の動作概念が示
される。図示のように、到着セルの種別(VP)には
a、b 、c、dの4種類があり、セルa、b 、c、dの
規定時間はそれぞれTa 、Tb 、Tc 、Td となってい
る。
The above-mentioned cell flow rate measuring circuit is for one type of cell (1 VP), but a plurality of VP (for example, 256 types) cells flow on the actual hardware. All of these have an arbitrary specified time T and a specified number X as parameters for each VP, and are each independently subjected to policing. For example, FIG. 10B shows the operation concept when there are four types of VPs. As shown in the figure, there are four types of arriving cells (VP), a, b, c and d, and the prescribed times of the cells a, b, c and d are Ta, Tb, Tc and Td, respectively. There is.

【0017】これら複数のVPに対してそれぞれポリシ
ングを行うには、前述の図9に示した流量計測回路をV
Pの数だけ用意し、同時に動作させる手法が考えられ
る。しかしながら、ハイウェイ上の同時接続VP数は実
際の使用時には例えば256にも及び、このためこの手
法による場合にはハードウェアの規模が膨大となり、現
実的ではない。
In order to perform policing on each of these VPs, the flow rate measuring circuit shown in FIG.
A method of preparing the same number as P and operating them simultaneously can be considered. However, the number of simultaneously-connected VPs on the highway reaches, for example, 256 in actual use, and this method is not realistic because the scale of hardware becomes huge.

【0018】そこで、カウンタ、演算部などのハードウ
ェアは一つ分だけ用意し、全てのVPごとの情報をメモ
リに蓄積し、セル到着時に該当VPの情報をメモリから
読み出してポリシングを行う手法が提案される。図11
はこの手法によるTX法における流量計測回路を示すも
のである。
Therefore, there is a method in which only one piece of hardware such as a counter and an arithmetic unit is prepared, information for all VPs is stored in a memory, and when the cell arrives, the information of the corresponding VP is read from the memory for policing. Be proposed. Figure 11
Shows a flow rate measuring circuit in the TX method by this method.

【0019】図11において、この流量計測回路はヘッ
ダ情報抽出部60、セル数カウンタ61、規定数X記憶
部64、比較演算部65、T周期リセット部66’、メ
モリ67’等を含み構成されるものある。T周期リセッ
ト部66’はVPI発生部661、規定時間T保持部6
62、T時間カウンタ663、セル数カウンタ値保持部
664を含み構成される。またメモリ67’は、各VP
毎に、規定時間Tを記憶するメモリ671、T時間カウ
ンタ値を記憶するメモリ672、セル数カウンタ値67
3を記憶するメモリ673、規定数Xを記憶するメモリ
674を備える。
In FIG. 11, the flow rate measuring circuit includes a header information extraction unit 60, a cell number counter 61, a prescribed number X storage unit 64, a comparison calculation unit 65, a T period reset unit 66 ', a memory 67' and the like. There is something. The T-cycle reset unit 66 'includes a VPI generation unit 661 and a specified time T holding unit 6
62, a T time counter 663, and a cell number counter value holding unit 664. In addition, the memory 67 'is for each VP
The memory 671 for storing the specified time T, the memory 672 for storing the T time counter value, and the cell number counter value 67 for each
A memory 673 for storing 3 and a memory 674 for storing a specified number X are provided.

【0020】VPI発生部661は1セル時間内におい
て全てのVPI(VP識別子)を発生する回路である。
T時間カウンタ663は規定時間T保持部662に保持
された規定時間Tがロードされてアップカウントまたは
ダウンカウントを行い、規定時間T分のカウントを終了
したらリセット信号を出力してセル数カウンタ値保持部
664のセル数カウンタ値をリセットする回路である。
The VPI generator 661 is a circuit for generating all VPIs (VP identifiers) within one cell time.
The T time counter 663 is loaded with the specified time T held in the specified time T holding unit 662 and performs up-counting or down-counting, and when the counting for the specified time T is completed, a reset signal is output to hold the cell number counter value. This is a circuit that resets the cell number counter value of the unit 664.

【0021】本手法により全VPに対してポリシングを
行う場合、入力したセルの処理とは別に、全VPについ
て、各VPのセル数カウンタのリセットをそのVPの規
定時間Tの周期で行う必要があり、本流量計測回路では
これをT周期リセット部66で行っている。すなわち、
1セル時間のうちの一定時間は到着セルの処理を行い、
このセル時間のうちの残りの時間で規定時間Tに達した
VPのセル数カウンタのリセットを行っている。
When performing policing on all VPs by this method, it is necessary to reset the cell number counter of each VP for every VP at the cycle of the prescribed time T of the VP, in addition to the processing of the input cells. Therefore, in the present flow rate measurement circuit, this is performed by the T cycle reset unit 66. That is,
The arrival cell is processed for a certain time of one cell time,
The cell number counter of the VP that has reached the specified time T in the remaining time of the cell time is reset.

【0022】このリセット手法を説明すると、まず、セ
ル数カウンタ61はセル到着毎に当該VPのセル数をセ
ル数カウンタ値メモリ673から読み出してこれに
「1」を加算した後にまたセル数カウンタ値メモリ67
3に戻しており、それによりセル到着毎に対応VPのセ
ル数を更新している。VPI発生部661では1セル時
間内に全てのVPのVPIを順番に発生し、このVPI
発生を1セル時間周期で繰り返している。VPI発生部
661でVPIが発生されると、当該VPの規定時間
T、T時間カウンタ値、セル数カウンタ値x、規定値X
がメモリ67から読み出され、対応する規定時間T保持
部662、T時間カウンタ663、セル数カウンタ値保
持部664、規定数X記憶部64に保持される。
To explain this resetting method, first, the cell number counter 61 reads the cell number of the VP for each cell arrival from the cell number counter value memory 673 and adds "1" to this, and then the cell number counter value again. Memory 67
The number of cells of the corresponding VP is updated every time a cell arrives. The VPI generating unit 661 sequentially generates VPIs of all VPs within one cell time.
The generation is repeated in a one-cell time period. When the VPI is generated by the VPI generating unit 661, the specified time T of the VP, the T time counter value, the cell number counter value x, and the specified value X.
Is read from the memory 67 and held in the corresponding specified time T holding unit 662, T time counter 663, cell number counter value holding unit 664, and specified number X storage unit 64.

【0023】T時間カウンタ663は規定時間Tが一旦
ロードされると、その規定時間TからVPI発生毎(す
なわち1セル時間毎)にダウンカウントを行い、そのカ
ウント値により当該VPのセル数カウンタのリセットを
行う時刻が到来したか否かを判定する。すなわち、カウ
ント値が「1」になったら規定時間Tが経過したと判定
し、リセット信号をセル数カウンタ値保持部664に送
出して、当該VPのセル数カウンタ値を「0」にリセッ
トする。リセットを行うべき時刻でない場合には、更新
したT時間カウンタ値をT時間カウンタ値メモリ672
に戻す。この動作を全てのVPIについて1セル時間内
に行い、さらにその全VPのチェック・リセット動作を
1セル時間周期で繰り返す。
Once the specified time T has been loaded, the T time counter 663 counts down from the specified time T every VPI occurrence (that is, every one cell time), and the count value of the cell number counter of the VP concerned. It is determined whether the time for resetting has arrived. That is, when the count value becomes “1”, it is determined that the specified time T has elapsed, a reset signal is sent to the cell number counter value holding unit 664, and the cell number counter value of the VP is reset to “0”. . If it is not time to reset, the updated T time counter value is updated to the T time counter value memory 672.
Return to. This operation is performed within 1 cell time for all VPIs, and the check / reset operation for all VPs is repeated in a 1 cell time period.

【0024】以上の動作により各VP毎に、当該VPの
規定時間Tが経過する度に当該VPのセル数カウンタ値
をリセットすることができる。また到着セルの処理とし
ては、当該VP対応に読み出したセル数xを当該VP対
応に読み出した規定値Xと比較演算部65で比較するこ
とで、セル違反の有無を判定できる。
By the above operation, the cell number counter value of the VP can be reset for each VP every time the specified time T of the VP elapses. Further, as the processing of the arrival cell, it is possible to determine the presence or absence of a cell violation by comparing the number x of cells read corresponding to the VP with the specified value X read corresponding to the VP by the comparison calculation unit 65.

【0025】さて、以上の全VPに対するチェック・リ
セット動作は、到着セルの処理時間を含めて、1セル時
間内に行わなければならない。例えばVPの数が256
の場合を想定すると、1セル時間内に256のVPに関
してそれぞれ、リセットをすべきか否かを判定し、その
結果に従って必要であればリセットを実施しなければな
らない。このため、最悪の場合には256の全てのVP
に対して1セル時間内にリセットを実施しなければない
ない事態も起こりうる。このため、このような手法は1
セル時間内での極めて高速な処理を必要とするが、現実
にはメモリのアクセス速度等によって制限を受けること
になるので実施することは難しい。
The check / reset operation for all the VPs described above must be performed within one cell time including the processing time of the arriving cell. For example, the number of VPs is 256
Assuming the above case, it is necessary to determine whether or not to reset each of the 256 VPs within one cell time, and to perform the reset if necessary according to the result. Therefore, in the worst case all 256 VPs
However, there may be a situation where the reset must be performed within one cell time. Therefore, such a method
Although extremely high-speed processing within the cell time is required, it is difficult to implement it because it is actually limited by the memory access speed and the like.

【0026】本発明はかかる事情に鑑みてなされたもの
であり、その目的とするところは、複数のセル種別に関
してのポリシングを、少ないハードウェア規模でかつ高
速処理を必要とせずに可能にすることにある。
The present invention has been made in view of the above circumstances, and an object thereof is to enable policing for a plurality of cell types with a small hardware scale and without requiring high-speed processing. It is in.

【0027】[0027]

【課題を解決するための手段】図1は本発明に係る原理
説明図である。図中、101はセル数カウンタ、102
はセル種別発生手段、103はセル数記憶手段、104
は倍率記憶手段、105は回数記憶手段、106は制御
手段である。
FIG. 1 is a diagram illustrating the principle of the present invention. In the figure, 101 is a cell number counter, 102
Is a cell type generation means, 103 is a cell number storage means, 104
Is a magnification storage means, 105 is a number of times storage means, and 106 is a control means.

【0028】上述の課題を解決するために、本発明にお
いては、セル種別毎に規定周期Tを単位周期tmin のn
倍(但し、nは1以上の整数)に設定し、セル種別毎に
その規定周期Tで計測値をリセットしつつ到着したセル
の数を計測するセル流量計測装置であって、セル数を計
数するセル数カウンタ101と、単位周期Tmin 内にお
いてセル種別に応じて所定時間ずつ遅延させたセル種別
識別信号を単位周期T min で発生するセル種別発生手段
102と、セル数カウンタ101で計数したセル数をセ
ル種別毎に記憶するセル数記憶手段103と、規定周期
Tの倍率nをセル種別毎に記憶する倍率記憶手段104
と、セル種別毎に回数を記憶する回数記憶手段105と
を備え、セル数カウンタ101はセルが到着する毎にそ
のセル種別に応じてセル数記憶手段103のセル数を更
新し、セル種別発生手段102で発生されるセル種別識
別信号のセル種別に応じて、その発生の度に回数記憶手
段104の該当セル種別の回数を更新し、その回数が倍
率記憶手段105の該当セル種別の倍率nの回数になっ
たら、セル数記憶手段103の該当セル種別のセル数を
リセットするように構成したセル流量計測装置が提供さ
れる。
In order to solve the above problems, the present invention provides
Then, the specified cycle T is set to the unit cycle t for each cell type.minN
Set to double (where n is an integer of 1 or more) and set for each cell type
Cell that arrived while resetting the measured value at the specified period T
A cell flow rate measuring device for measuring the number of cells
Cell counter 101 for counting and unit cycle TminWithin
Cell type delayed by a predetermined time according to the cell type
The identification signal is used as a unit cycle T minCell type generation means generated in
102 and the number of cells counted by the cell number counter 101
Cell number storage means 103 for storing each type of cell, and a specified cycle
Magnification storage means 104 for storing the magnification n of T for each cell type
And a number-of-times storage means 105 for storing the number of times for each cell type.
The cell number counter 101 is equipped with a
The number of cells in the cell number storage means 103 is updated according to the cell type of
A new cell type identification generated by the cell type generation means 102.
Depending on the cell type of another signal, the number of
The number of times of the corresponding cell type in the stage 104 is updated, and the number is doubled.
It is the number of times of the multiplication factor n of the corresponding cell type in the rate storage means 105.
Then, the number of cells of the corresponding cell type of the cell number storage means 103 is set.
A cell flow meter configured to reset is provided.
Be done.

【0029】上記の該セル種別発生手段は、複数あるセ
ル種別のうちの実際に使用するセル種別についてだけ、
有効なセル種別識別信号を出力し、残りのセル種別につ
いてはリセット処理停止制御を行うように構成すること
ができる。
The cell type generating means described above is only for the cell type actually used among the plurality of cell types.
It is possible to output a valid cell type identification signal and perform reset process stop control for the remaining cell types.

【0030】また本発明においては、セル種別毎に規定
周期Tを設定し、セル種別毎にその規定周期Tで計数値
をリセットしつつ到着したセルの数を計数するセル流量
計測方法であって、該当種別毎の規定周期Tを単位周期
min のn倍(但し、nは1以上の正の整数)にそれぞ
れ設定し、セル計数値のリセットを単位周期内において
セル種別に応じて所定時間ずつ遅延させて行うようにし
たセル流量計測方法が提供される。
The present invention also provides a cell flow rate measuring method in which a prescribed period T is set for each cell type, and the number of arriving cells is counted while resetting the count value at the prescribed period T for each cell type. , The specified period T for each corresponding type is set to n times the unit period t min (where n is a positive integer of 1 or more), and the cell count value is reset within the unit period for a predetermined time period according to the cell type. There is provided a cell flow rate measuring method which is performed with each delay.

【0031】上述のセル流量計測方法においては、セル
計数値のリセットを1回のリセットタイミングで複数の
セル種別について行うようにすることができる。
In the above-described cell flow rate measuring method, the cell count value can be reset for a plurality of cell types at one reset timing.

【0032】[0032]

【作用】セル種別(例えばVPまたはVCなど)毎のセ
ル数の計測は、そのセル種別の規定周期(規定時間)T
内に到着したそのセル種別のセル数をカウンタで計数す
ることで行う。このカウンタの計数値は規定周期Tの到
来タイミング毎にリセットすることで、各周期毎にセル
数を計数する。この動作を複数のセル種別のそれぞれに
ついて行う。
The number of cells for each cell type (for example, VP or VC) is measured by the specified cycle (specified time) T of the cell type.
This is done by counting the number of cells of the cell type that has arrived in the counter. The count value of this counter is reset at each arrival timing of the prescribed cycle T, so that the number of cells is counted at each cycle. This operation is performed for each of the plurality of cell types.

【0033】規定周期Tはセル種別毎に異なっており、
これらの規定周期Tのうちの最小のものを単位周期(単
位時間)tmin とすると、各セル種別毎の規定周期T
は、 T=n×tmin (但し、nは1以上の整数) と表される。
The specified period T is different for each cell type,
Assuming that the minimum one of these prescribed periods T is a unit period (unit time) t min , the prescribed period T for each cell type
Is expressed as T = n × t min (where n is an integer of 1 or more).

【0034】この単位周期tmin は、その単位時間内に
おいて処理すべき全てのセル種別のチェック・リセット
処理を行えるようにする必要があるので、時間の長さを
1セルの処理に要する時間(すなわちセル時間)を単位
にして表すとすると、処理すべきセル種別の最大数より
も大きな値とする。
Since this unit cycle t min needs to be able to perform the check / reset processing for all cell types to be processed within the unit time, the time length is the time required for processing one cell ( That is, when the cell time) is used as a unit, the value is larger than the maximum number of cell types to be processed.

【0035】一つのセル種別については、単位周期T
min のタイミングが到来するごとに、そのセル数カウン
タをリセットする時刻が到来したか否か(すなわちT=
n×t min の時間が経過したか否か)をチェックし、リ
セットすべき時刻であればリセット処理を行う(以降、
チェック・リセット処理と称する)。このチェック・リ
セット処理を処理すべき全てのセル種別について行う
が、その実行時刻は各セル種別毎に所定時間、例えば1
セル時間ずつずらしてあるので、チェック・リセット処
理が行われるセル種別は1セル時間あたり1セル種別に
限定され、よってリセットの競合を回避できる。
For one cell type, the unit cycle T
minThe number of cells is counted each time
Whether the time to reset the data has arrived (that is, T =
n × t minCheck whether or not the
If it is time to set, reset processing is performed (hereinafter,
This is called check / reset processing). Check this
Perform set processing for all cell types that should be processed
However, the execution time is a predetermined time for each cell type, for example, 1
Check / reset processing is performed because the cells are shifted by cell time.
The cell type to be processed is one cell type per cell time.
Limited, thus avoiding reset conflicts.

【0036】図2の(A)にはセル種別を4つのセル種
別a、b 、c 、dとした場合の動作例が示される。セル
種別a、b 、c 、dは、規定周期TがそれぞれTa =1
×t min 、Tb =2×tmin 、Tc =4×tmin 、Td
=3×tmin であり、また単位時間tmin 内においてそ
れぞれチェック・リセット処理タイミング(図中の○ま
たは※)が1セル時間ずつずらされている。リセット処
理を行うか否かの判定は単位時間tmin 毎に行うが、規
定時間T=n×tmin のセル種別の場合、リセット処理
は、n回のチェック・リセット処理の時刻のうち1回だ
け行うことになる。図2の(A)においては、各セル種
別a〜d は規定周期Tの始まりである○印のところでリ
セットを行が、その後はセル種別aはチェック・リセッ
ト処理タイミングの到来毎に、セル種別bは1回置き
に、セル種別cは3回置きに、セル種別dは2回置きに
リセットを行う。図中の*はリセットをとばした箇所で
ある。
FIG. 2A shows four cell types.
An operation example in the case of different a, b, c and d is shown. cell
For types a, b, c, and d, the prescribed period T is Ta = 1 respectively.
× t min, Tb = 2 × tmin, Tc = 4 × tmin, Td
= 3 × tminAnd unit time tminWithin
Check / reset processing timing (○ in the figure)
Or *) is shifted by 1 cell time. Reset process
The unit time tminDo this every time
Fixed time T = n × tminReset process for cell type
Is once in n check / reset processing times
Will be done. In FIG. 2A, each cell type
The other items a to d are re-marked at the circle marked with the beginning of the specified period T.
Set the row, and then check the cell type a
The cell type b is set once every time the processing timing arrives.
, Cell type c every 3 times, cell type d every 2 times
Perform a reset. * In the figure is the part where the reset is skipped.
is there.

【0037】なお、上記所定時間(例えば1セル時間)
内にチェック・リセット処理を行うセル種別の数は1種
別に限られるものではない。もし、時間的に余裕があれ
ば、1セル時間内に2セル種別以上に対してチェック・
リセット処理を行っても構わない。2セル種別の場合の
動作を図2の(B)に示す。
The predetermined time (for example, one cell time)
The number of cell types in which the check / reset processing is performed is not limited to one type. If there is time, check for more than 2 cell types within 1 cell time.
The reset process may be performed. The operation in the case of the two-cell type is shown in FIG.

【0038】なお、1セル種別を同時処理する場合は単
位時間tmin は処理すべき最大セル種別の数よりも大き
い値とする必要があったが、2セル種別を同時処理する
場合には、単位時間tmin は処理すべき最大セル種別数
の半分よりも大きな値であればよい。
When one cell type is processed at the same time, the unit time t min needs to be larger than the maximum number of cell types to be processed, but when two cell types are processed simultaneously, The unit time t min may be a value larger than half the maximum number of cell types to be processed.

【0039】本発明のセル流量計測装置は、上記手法を
実現するため、セル数カウンタ101により、セルが到
着する毎にそのセル種別に応じてセル数記憶手段103
のセル数を+1などして更新し、到着したセル数を計数
する。そして、制御手段106の制御下に、セル種別発
生手段102で発生されるセル種別識別信号のセル種別
に応じて、その発生の度に回数記憶手段104の該当セ
ル種別の回数を更新する。セル種別発生手段102は一
つのセル種別については単位周期tmin 毎にセル種別識
別信号を出力するから、この回数は当該セル種別の規定
周期T=n×t min における単位周期tmin の何周期目
に入ったかを表すことになる。よって、その回数が倍率
記憶手段105の該当セル種別の倍率nの回数になった
ら、当該セル種別の規定周期Tのリセット時刻が到来し
たと判断して、セル数記憶手段103の該当セル種別の
セル数をリセットする。
The cell flow rate measuring device of the present invention uses the above method.
To achieve this, the cell number counter 101
The cell number storage means 103 according to the cell type each time it is worn
The number of cells that arrived is counted by updating the number of cells in
I do. Then, under the control of the control means 106, the cell type is generated.
Cell type of cell type identification signal generated by live means 102
In accordance with the
Update the number of times for each type. The cell type generation means 102 is
Unit cycle t for one cell typeminCell type identification for each
Since a separate signal is output, the number of times is defined according to the cell type.
Period T = n × t minUnit period t atminWhat cycle of
It means that you have entered. Therefore, the number of times
The number of times of the magnification n of the corresponding cell type in the storage unit 105 has been reached.
Then, the reset time of the specified cycle T of the cell type has arrived.
It is determined that the cell type of the corresponding cell type of the cell number storage means 103
Reset the number of cells.

【0040】上述したように単位周期tmin 内において
は時間をずらして全てのセル種別のチェック・リセット
処理を行わなければならない。このため、多数のセル種
別が用意されているシステムでは単位周期tmin が大き
くなって、チェック・リセット処理の間隔が長くなって
しまう。そこで、上記の該セル種別発生手段101を、
多数あるセル種別のうちの実際に使用するセル種別につ
いてだけ、有効なセル種別識別信号を出力し、残りのセ
ル種別についてはリセット処理停止制御を行うように構
成する。これにより、セル種別自体は多数あるが、実際
に使用するセル種別はそのうちの一部である場合に、リ
セットすべき周期の最小値(すなわち単位周期tmin
を小さくすることができる。
As described above, the check / reset processing for all cell types must be performed at different times within the unit cycle t min . For this reason, in a system in which a large number of cell types are prepared, the unit cycle t min becomes large and the check / reset processing interval becomes long. Therefore, the cell type generating means 101 is
Only a cell type that is actually used among a large number of cell types outputs a valid cell type identification signal, and reset processing stop control is performed for the remaining cell types. As a result, when there are many cell types themselves, but the cell types actually used are some of them, the minimum value of the cycle to be reset (that is, the unit cycle t min ).
Can be made smaller.

【0041】[0041]

【実施例】以下、図面を参照して本発明の実施例を説明
する。図3には本発明の一実施例としてのセル流量計測
装置が示される。この実施例はポリシング方式として
「TX法」を用いている。図中のヘッダ情報抽出部6
0、セル数カウンタ61、規定数X記憶部64、比較演
算部65は従来技術の項で説明したものと同じである。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 3 shows a cell flow rate measuring device as an embodiment of the present invention. This embodiment uses the "TX method" as a polishing method. Header information extraction unit 6 in the figure
0, the cell number counter 61, the specified number X storage unit 64, and the comparison operation unit 65 are the same as those described in the section of the related art.

【0042】T周期リセット部66はVPI発生部66
5、規定回数n保持部666、n回カウンタ667、セ
ル数カウンタ値保持部664を含み構成される。またメ
モリ67は、各VP対応に、規定回数nを記憶するメモ
リ675、n回カウンタ値を記憶するn回カウンタ値メ
モリ676、セル数カウンタ値を記憶するメモリ67
3、規定数Xを記憶するメモリ674を含み構成され
る。
The T cycle reset unit 66 is a VPI generation unit 66.
5, a prescribed number n holding unit 666, an n-time counter 667, and a cell number counter value holding unit 664. The memory 67 includes a memory 675 that stores a specified number of times n, an n times counter value memory 676 that stores an n times counter value, and a memory 67 that stores a cell number counter value for each VP.
3, a memory 674 for storing the specified number X is included.

【0043】この実施例では、各VPの規定時間Tは、 T=n×tmin に設定される。但し、nは1以上の正の整数、tmin
各VPの規定時間Tのうちの最小の時間である。この最
小時間tmin はVPの最大数よりも大きく設定する。す
なわち、 tmin ≧最大多重VP数 とする。以上の条件を設定する。
In this embodiment, the prescribed time T of each VP is set to T = n × t min . However, n is a positive integer of 1 or more, and t min is the minimum time of the specified time T of each VP. This minimum time t min is set larger than the maximum number of VPs. That is, t min ≧ maximum multiplex VP number. The above conditions are set.

【0044】VPI発生部665は、処理すべき全ての
VPIを上述の最小時間tmin 内において1セル時間ず
つずらして発生させ、これを最小時間tmin の周期で繰
り返す回路である。すなわち、各VPについてチェック
・リセット処理タイミング(ここではVPI発生のタイ
ミング)をtmin の周期で発生させる。最小時間tmi n
において最も大きなVPI値まで発生させたら、残りの
時間はチェック・リセット処理は行わない。図5にはこ
のVPIの発生の様子が示される。図示のように、VP
Iの最大数が「m」の場合、「0」から「m」までのV
PIが発生されると、残りの時間は不動作となる。
The VPI generating unit 665 is a circuit that generates all VPIs to be processed by shifting them by one cell time within the above-mentioned minimum time t min , and repeats this at a cycle of the minimum time t min . That is, the check / reset processing timing (here, the timing of VPI generation) is generated for each VP at a cycle of t min . The minimum time t mi n
When the maximum VPI value is generated in, the check / reset processing is not performed for the remaining time. FIG. 5 shows how this VPI is generated. As shown, VP
When the maximum number of I is "m", V from "0" to "m"
When PI is generated, it is inactive for the rest of the time.

【0045】図4にはこのVPI発生部665の構成例
が示される。図中、71はセルタイミング毎に計数値を
「0」から1ずつインクリメントするカウンタ、72は
VP最大値mを保持するVP最大値保持部、73は最小
時間tmin を保持するtmin保持部、74と75は比較
部である。この回路では、セルタイミング毎(1セル時
間毎)にカウンタ71が計数値を「+1」し、それをV
PI値として出力する。この計数値(VPI値)がVP
最大値mになると、それを比較部74がVP最大値保持
部72の最大値mと比較することで検出して、リセット
処理停止制御信号を出力する。したがって有効なVPI
としては「0」〜「m」のVPIが出力される。カウン
タ71の動作は計数値がtmin になるまで行われ、t
min に達すると比較部75がそれをtmin 保持部73の
値と比較することで検出してカウンタ71をリセットす
る。したがって、「0」〜「m」のVPIの発生が最小
時間tmin の周期で繰り返されることになる。
FIG. 4 shows a structural example of the VPI generating section 665. In the figure, 71 is a counter that increments the count value by 1 from "0" at each cell timing, 72 is a VP maximum value holding unit that holds the VP maximum value m, and 73 is a t min holding unit that holds the minimum time t min. , 74 and 75 are comparison parts. In this circuit, the counter 71 increments the count value by “+1” at each cell timing (every one cell time), and
Output as PI value. This count value (VPI value) is VP
When the maximum value m is reached, it is detected by the comparison unit 74 comparing it with the maximum value m of the VP maximum value holding unit 72, and a reset process stop control signal is output. Therefore a valid VPI
, VPIs of "0" to "m" are output. The operation of the counter 71 is performed until the count value reaches t min , and t
When it reaches min , the comparing unit 75 detects it by comparing it with the value of the t min holding unit 73, and resets the counter 71. Therefore, the generation of VPI of "0" to "m" is repeated in the cycle of the minimum time t min .

【0046】規定回数nは上述の規定時間Tのtmin
対する倍率であり、メモリ675には各VP対応にそれ
ぞれの規定回数nが記憶されている。n回カウンタ66
7は、規定回数n保持部666から該当VPの規定回数
nをロードされ、その後は該当VPのチェック・リセッ
ト処理タイミング毎にn回カウンタ値メモリ676を用
いてこの規定回数nを順次にダウンカウントし、そのn
回カウンタ値が「0」になるとリセット信号を発生する
回路である。セル数カウンタ値保持部664はn回カウ
ンタ667からリセット信号が入力された時にセル数カ
ウンタ値メモリ673のセル数カウンタ値を読み込み、
これを「0」にして同メモリ673に戻す回路、すなわ
ちセル数のリセット処理を行う回路である。
The specified number of times n is a magnification of t min of the above specified time T, and the specified number of times n is stored in the memory 675 for each VP. n times counter 66
7 is loaded with the prescribed number n of the corresponding VP from the prescribed number n holding unit 666, and thereafter, the prescribed number n is sequentially down-counted by using the counter value memory 676 for each check / reset processing timing of the relevant VP. And then n
It is a circuit that generates a reset signal when the counter value reaches "0". The cell number counter value holding unit 664 reads the cell number counter value of the cell number counter value memory 673 when the reset signal is input from the n-time counter 667,
This is a circuit for setting this to "0" and returning it to the same memory 673, that is, a circuit for resetting the number of cells.

【0047】以下、この実施例装置の動作を説明する。
ヘッダ情報抽出部60は到着したセルのヘッダ情報を抽
出し、VPI信号と該当VPタイミング信号を出力す
る。セル数カウンタ61はセル到着毎にその到着したV
Pのセル数をセル数カウンタ値メモリ673から読み出
してこれに「1」を加算した後にまた同メモリ673に
戻しており、これにより、セル到着毎にその到着セルV
Pのセル数を更新している。
The operation of the apparatus of this embodiment will be described below.
The header information extraction unit 60 extracts the header information of the arrived cell and outputs the VPI signal and the corresponding VP timing signal. The cell number counter 61 indicates that the V
The number of cells of P is read from the cell number counter value memory 673, "1" is added to the value, and then the value is returned to the memory 673 again.
The number of P cells is updated.

【0048】VPI発生部665では、最小時間tmin
内に全部のVPI(ここでは0〜m)を順番に発生し、
これをtmin の周期で繰り返している。この発生したV
PIの規定回数n、n回カウンタ値、セル数カウンタ値
がそれぞれのメモリ675、676、673からT周期
リセット部66内の対応する回路に読み込まれる。
In the VPI generating section 665, the minimum time t min
All VPIs (0 to m here) are generated in sequence,
This is repeated at a cycle of t min . This generated V
The prescribed number n of PIs, the counter value n times, and the cell number counter value are read from the respective memories 675, 676, and 673 into the corresponding circuits in the T-cycle reset unit 66.

【0049】n回カウンタ667はこれらの値に基づ
き、該当するVPのセル数カウンタ値に対して最小周期
min のn回に1回の割合でリセット処理を行う。例え
ば、n回カウンタ667をダウンカウンタで構成した場
合、該当VPのVPIが入力される毎にn回カウンタ値
から1つデクリメントを行い、もしその値が「0」にな
ったら該当VPのセル数カウンタ値のリセットを行うと
共に、規定回数n保持部666からn回カウンタ667
への規定回数nのロードを行う。そして、n回カウンタ
値とセル数カウンタ値をメモリ676、673へ戻す。
この動作によりn回に1回の割合でセル数カウンタのリ
セットが行われる。
Based on these values, the n-time counter 667 resets the cell number counter value of the corresponding VP once every n times of the minimum period t min . For example, when the n-time counter 667 is configured as a down counter, the counter value is decremented by 1 from the n-time counter value each time the VPI of the corresponding VP is input, and if the value becomes “0”, the number of cells of the corresponding VP is decreased. The counter value is reset, and the specified number of times n holding unit 666 causes the n times counter 667.
To the specified number of times n. Then, the n-time counter value and the cell number counter value are returned to the memories 676 and 673.
By this operation, the cell number counter is reset once every n times.

【0050】この手法によれば、1セル時間内では一つ
のVPについてのチェック・リセット処理を行うだけで
よく、また従来回路のように1セル時間内に全てのVP
についての規定時間カウンタ値の更新を行う必要もな
い。
According to this method, it is only necessary to perform the check / reset processing for one VP within one cell time, and all VPs within one cell time as in the conventional circuit.
It is not necessary to update the specified time counter value for

【0051】なお、この実施例ではn回カウンタはダウ
ンカウンタを用いて構成したが、勿論、アップカウンタ
を用いて構成して規定回数nをカウントするものであっ
てもよい。また、例としてVPでセル種別を分ける場合
について述べたが、勿論VC等でセル種別を分けるもの
であってもよい。また、上述の実施例では1セル時間あ
たり1VPのチェック・リセット処理を行う場合につい
て説明したが、本発明はこれに限られるものではなく、
1セル時間内における処理時間に余裕があれば、1セル
時間内において複数のVPについてチェック・リセット
処理を行うようにしても勿論よい。
In this embodiment, the n-time counter is constructed by using the down counter, but of course, it may be constructed by using the up counter to count the specified number of times n. Further, as an example, the case where the cell type is divided by the VP has been described, but it goes without saying that the cell type may be divided by the VC or the like. Further, in the above-described embodiment, the case where the check / reset processing of 1VP per cell time is performed has been described, but the present invention is not limited to this.
Of course, if there is a margin in the processing time within one cell time, the check / reset processing may be performed for a plurality of VPs within one cell time.

【0052】図6は本発明の他の実施例を示すもので、
上述のセル流量計測装置のVPI発生部の他の構成例で
ある。この実施例はハイウェイ上に複数のVPがある場
合でも実際に使用する分のVPのみをリセットし、使用
しないVPに関してはリセットを行わないようにしたも
のであり、VPI変換部77を設けて各VPIのリセッ
トの要・不要を記憶させ、カウンタ71からのVPIに
対してそのリセット要・不要の情報を読み出すことによ
り、使用しないVPに対してはリセットを行わないよう
制御することができる。
FIG. 6 shows another embodiment of the present invention.
It is another example of the configuration of the VPI generation unit of the above-mentioned cell flow rate measuring device. In this embodiment, even if there are a plurality of VPs on the highway, only the VPs that are actually used are reset, and the VPs that are not used are not reset. By storing the necessity / unnecessity of resetting of the VPI and reading the information of the necessity / unnecessity of resetting for the VPI from the counter 71, it is possible to control not to reset the unused VP.

【0053】また、他の構成として、同じVPI変換部
にリセット要・不要の情報に換えて、入力するアドレス
と実際に使用するVPIとを対応させるマッピングを行
う。これにより実際に使用する分のVPのみをリセット
することが可能となる。例えば、VPIは8ビット表現
の256通りのVPIを使用するが、実際に同時に使用
するVPIが16通りである場合、カウンタ71のカウ
ンタ値「0〜15」に対して上記使用する16通りのV
PIをそれぞれ対応させておき、カウンタ値「0〜1
5」に対してVPI値がVPI変換部77から読み出さ
れるようにする。また、使用カウンタ閾値に16通りに
相当する「15」を入れておき、カウンタ71のカウン
タ値が「15」になったら比較部74からOR回路78
を介してリセット処理停止制御信号を送出することによ
り、256通りのうちの任意の16通りのVPのみにリ
セットをかけることが可能となる。本手法をとることに
より、最小周期tmin はカウンタ閾値の値まで(この例
では16まで)、小さくすることが可能となる。
As another configuration, the same VPI conversion unit is replaced with information indicating whether reset is necessary or unnecessary, and mapping is performed so that an input address and an actually used VPI are associated with each other. This makes it possible to reset only the VP that is actually used. For example, as the VPI, 256 kinds of VPI represented by 8 bits are used. However, when 16 kinds of VPI are actually used at the same time, 16 kinds of VPI to be used for the counter value “0 to 15” of the counter 71.
The PIs are made to correspond to each other, and the counter value "0 to 1"
5 ”, the VPI value is read from the VPI conversion unit 77. Further, “15” corresponding to 16 ways is put in the usage counter threshold value, and when the counter value of the counter 71 becomes “15”, the comparison unit 74 causes the OR circuit 78 to be used.
By sending the reset processing stop control signal via the, it is possible to reset only any 16 out of 256 VPs. By using this method, the minimum period t min can be reduced to the value of the counter threshold (up to 16 in this example).

【0054】以上の実施例は本発明を「TX法」による
ポリシング方式のセル流量計測に適用した場合について
述べたが、勿論本発明はこれに限られるものではなく、
各セル種別毎に規定周期を計測してセル数のリセット処
理を行うポリシング方式一般に適用ができるものであ
る。
The above embodiments have been described with respect to the case where the present invention is applied to the cell flow rate measurement of the polishing method by the "TX method", but the present invention is not limited to this, of course.
It can be applied to a general policing method in which a prescribed period is measured for each cell type and the reset processing of the number of cells is performed.

【0055】[0055]

【発明の効果】以上に述べたように、本発明によれば、
複数のセル種別のチェック・リセット処理を行うにあた
り、所定時間内(例えば1セル時間内)におけるチェッ
ク・リセット処理を1または少数のセル種別に限定する
ことができるから、従来のように短時間のうちに全ての
セル種別のチェック・リセット処理を行うといったよう
な高速動作が必要でなく、少ないハードウェア規模で複
数のセル種別のポリシングを実現することができる。
As described above, according to the present invention,
When performing the check / reset processing of a plurality of cell types, the check / reset processing within a predetermined time (for example, within one cell time) can be limited to one or a small number of cell types. It is not necessary to perform a high-speed operation such as performing check / reset processing for all cell types, and policing of a plurality of cell types can be realized with a small hardware scale.

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

【図1】本発明に係る原理説明図である。FIG. 1 is a diagram illustrating the principle of the present invention.

【図2】本発明の作用の説明図である。FIG. 2 is an explanatory view of the operation of the present invention.

【図3】本発明の一実施例としてのセル流量計測装置を
示す図である。
FIG. 3 is a diagram showing a cell flow rate measuring device as an embodiment of the present invention.

【図4】実施例装置におけるVPI発生部の構成例を示
す図である。
FIG. 4 is a diagram showing a configuration example of a VPI generation unit in the device of the embodiment.

【図5】実施例装置のVPI発生の態様を説明する図で
ある。
FIG. 5 is a diagram for explaining a mode of VPI generation in the apparatus of the embodiment.

【図6】VPI発生部の他の構成例を示す図である。FIG. 6 is a diagram illustrating another configuration example of a VPI generation unit.

【図7】従来のポリシング回路を説明する図である。FIG. 7 is a diagram illustrating a conventional polishing circuit.

【図8】ポリシングの各種方式を説明する図である。FIG. 8 is a diagram illustrating various methods of policing.

【図9】TX法によるセル流量計測回路の従来例を示す
図である。
FIG. 9 is a diagram showing a conventional example of a cell flow rate measuring circuit by the TX method.

【図10】TX法の動作例を示す図である。FIG. 10 is a diagram showing an operation example of the TX method.

【図11】TX法によるセル流量計測回路のハードウェ
ア規模を削減した例を示す図である。
FIG. 11 is a diagram showing an example in which the hardware scale of the cell flow rate measurement circuit by the TX method is reduced.

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

1 ポリシング回路 2 制御部 3 セル情報分岐部 4 セル遅延部 5 セル制御部 6 セル流量計測部 60 ヘッダ情報抽出部 61 セル数カウンタ 62 規定時間T記憶部 63 T時間カウンタ 64 規定数記憶部 66、66’ T周期リセット部 67、67’ メモリ 661、665 VPI発生部 664 セル数カウンチ値保持部 666 規定回数保持部 667 n回カウンタ 673 セル数カウンタ値メモリ 674 規定数Xメモリ 675 規定回数nメモリ 676 n回カウンタ値メモリ DESCRIPTION OF SYMBOLS 1 policing circuit 2 control part 3 cell information branching part 4 cell delay part 5 cell control part 6 cell flow rate measuring part 60 header information extracting part 61 cell number counter 62 specified time T storage part 63 T time counter 64 specified number storage part 66, 66 'T-cycle reset unit 67, 67' memory 661, 665 VPI generation unit 664 cell number count value holding unit 666 specified number holding unit 667 n times counter 673 cell number counter value memory 674 specified number X memory 675 specified number n memory 676 n times counter value memory

フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04Q 3/00 (72)発明者 佐藤 陽一 東京都千代田区内幸町一丁目1番6号 日 本電信電話株式会社内 (72)発明者 豊島 鑑 東京都千代田区内幸町一丁目1番6号 日 本電信電話株式会社内Continuation of front page (51) Int.Cl. 6 Identification number Office reference number FI Technical indication location H04Q 3/00 (72) Inventor Yoichi Sato 1-6, Uchisaiwaicho, Chiyoda-ku, Tokyo Nihon Telegraph and Telephone Corporation (72) Inventor Kan Toyoshima 1-1-6 Uchisaiwaicho, Chiyoda-ku, Tokyo Nihon Telegraph and Telephone Corporation

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 セル種別毎に規定周期(T)を設定し、
セル種別毎にその規定周期で計数値をリセットしつつ到
着したセルの数を計数するセル流量計測方法であって、 該セル種別毎の規定周期を単位周期(tmin )のn倍
(但し、nは1以上の整数)にそれぞれ設定し、 セル計数値のリセットを該単位周期内においてセル種別
に応じて所定時間ずつ遅延させて行うようにしたセル流
量計測方法。
1. A specified period (T) is set for each cell type,
A cell flow rate measuring method for counting the number of arriving cells while resetting the count value for each cell type at a specified cycle, wherein the specified cycle for each cell type is n times the unit cycle (t min ). (n is an integer of 1 or more), and the cell count value is reset by delaying the cell count value by a predetermined time depending on the cell type within the unit cycle.
【請求項2】 セル計数値のリセットを1回のリセット
タイミングで複数のセル種別について行うようにした請
求項1記載のセル流量計測方法。
2. The cell flow rate measuring method according to claim 1, wherein the cell count value is reset for a plurality of cell types at one reset timing.
【請求項3】 セル種別毎に規定周期(T)を単位周期
(tmin )のn倍(但し、nは1以上の整数)に設定
し、セル種別毎にその規定周期で計測値をリセットしつ
つ到着したセルの数を計測するセル流量計測装置であっ
て、 セル数を計数するセル数カウンタと、 該単位周期内においてセル種別に応じて所定時間ずつ遅
延させたセル種別識別信号を該単位周期で発生するセル
種別発生手段と、 該セル数カウンタで計数したセル数をセル種別毎に記憶
するセル数記憶手段と、 該規定周期の倍率nをセル種別毎に記憶する倍率記憶手
段と、 セル種別毎に回数を記憶する回数記憶手段とを備え、 該セル数カウンタはセルが到着する毎にそのセル種別に
応じて該セル数記憶手段のセル数を更新し、 該セル種別発生手段で発生されるセル種別識別信号のセ
ル種別に応じて、その発生の度に該回数記憶手段の該当
セル種別の回数を更新し、その回数が該倍率記憶手段の
該当セル種別の倍率nの回数になったら、該セル数記憶
手段の該当セル種別のセル数をリセットするように構成
したセル流量計測装置。
3. The specified period (T) is set to n times the unit period (t min ) (where n is an integer of 1 or more) for each cell type, and the measured value is reset at the specified period for each cell type. A cell flow rate measuring device for measuring the number of cells arriving while a cell number counter for counting the number of cells and a cell type identification signal delayed by a predetermined time according to the cell type within the unit cycle Cell type generation means for generating in a unit cycle, cell number storage means for storing the number of cells counted by the cell number counter for each cell type, and magnification storage means for storing a magnification n of the specified cycle for each cell type. A cell number counter for updating the number of cells in the cell number storage means according to the cell type each time a cell arrives, and the cell type generation means. Cell type identification signal generated in The number of times of occurrence of the corresponding cell type in the number-of-times storage means is updated each time it occurs, and when the number of times reaches the number of times of the magnification n of the corresponding cell type of the magnification storage means, the number of cells is stored. A cell flow rate measuring device configured to reset the number of cells of the corresponding cell type of the means.
【請求項4】 該セル種別発生手段は、複数あるセル種
別のうちの実際に使用するセル種別についてだけ、有効
なセル種別識別信号を出力し、残りのセル種別について
はリセット処理停止制御を行うようにした請求項3記載
のセル流量計測装置。
4. The cell type generation means outputs a valid cell type identification signal only for a cell type that is actually used among a plurality of cell types, and performs reset process stop control for the remaining cell types. The cell flow rate measuring device according to claim 3, wherein.
JP24383394A 1994-10-07 1994-10-07 Method and device for measuring flow rate of cells Withdrawn JPH08107421A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24383394A JPH08107421A (en) 1994-10-07 1994-10-07 Method and device for measuring flow rate of cells

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24383394A JPH08107421A (en) 1994-10-07 1994-10-07 Method and device for measuring flow rate of cells

Publications (1)

Publication Number Publication Date
JPH08107421A true JPH08107421A (en) 1996-04-23

Family

ID=17109626

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24383394A Withdrawn JPH08107421A (en) 1994-10-07 1994-10-07 Method and device for measuring flow rate of cells

Country Status (1)

Country Link
JP (1) JPH08107421A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6442136B1 (en) 1998-07-15 2002-08-27 Fujitsu Limited Traffic shaping device for ATM communication network
US7330434B2 (en) 2002-04-30 2008-02-12 Nippon Telegraph And Telephone Corporation Traffic quality measurement apparatus and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6442136B1 (en) 1998-07-15 2002-08-27 Fujitsu Limited Traffic shaping device for ATM communication network
US7330434B2 (en) 2002-04-30 2008-02-12 Nippon Telegraph And Telephone Corporation Traffic quality measurement apparatus and method

Similar Documents

Publication Publication Date Title
US5818815A (en) Method and an apparatus for shaping the output traffic in a fixed length cell switching network node
US5432713A (en) Usage parameter control circuit for effecting policing control in an ATM network
US6504824B1 (en) Apparatus and method for managing rate band
US6044060A (en) Traffic shaping ATM network switch
US6181678B1 (en) Binary-tree data element sorting device and ATM spacer comprising such a device
US6442136B1 (en) Traffic shaping device for ATM communication network
JPH08107421A (en) Method and device for measuring flow rate of cells
JPH07273771A (en) Window type cell flow rate monitoring device
CA2213295C (en) Atm network time management method
JP3443531B2 (en) Communication simulation device
JP2987258B2 (en) Traffic monitoring method in asynchronous transfer mode communication network
JP2916604B2 (en) Cell traffic monitoring device
JP2895657B2 (en) Monitoring system for ATM transmission network
JP2851743B2 (en) Policing circuit
US6343076B1 (en) ATM cell spacer
EP0481507A2 (en) Apparatus and method for controlling cells input to ATM network
JP2891809B2 (en) Time management method
JP3072175B2 (en) UPC circuit
JP2580395B2 (en) Cell monitoring device and cell flow control device using the same
JP3587708B2 (en) Cell management processing circuit and network system
JPH08116324A (en) Time interval measuring instrument and cell flow rate measuring instrument
JPH06338902A (en) Call reception controller
US5974029A (en) Method for limiting the transmission of data generated by a data source
EP0823158A1 (en) A traffic shaping atm network switch
Bach et al. Performance Evaluation of an ATM-based high-speed slotted ring network

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20020115