JP2776707B2 - Cell flow monitoring circuit - Google Patents

Cell flow monitoring circuit

Info

Publication number
JP2776707B2
JP2776707B2 JP30868192A JP30868192A JP2776707B2 JP 2776707 B2 JP2776707 B2 JP 2776707B2 JP 30868192 A JP30868192 A JP 30868192A JP 30868192 A JP30868192 A JP 30868192A JP 2776707 B2 JP2776707 B2 JP 2776707B2
Authority
JP
Japan
Prior art keywords
cell
value
time
arrival
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.)
Expired - Fee Related
Application number
JP30868192A
Other languages
Japanese (ja)
Other versions
JPH06164625A (en
Inventor
和浩 渡邉
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP30868192A priority Critical patent/JP2776707B2/en
Publication of JPH06164625A publication Critical patent/JPH06164625A/en
Application granted granted Critical
Publication of JP2776707B2 publication Critical patent/JP2776707B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、交換・伝送システムに
おけるセル流量監視回路に関し、特に、非同期転送モー
ド(Asynchronous Transfer Mode:ATM) を利用した交換
・伝送システムに適用して好適なものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a cell flow monitoring circuit in a switching / transmission system, and more particularly, to a switching / transmission system using an asynchronous transfer mode (ATM). .

【0002】[0002]

【従来の技術】ATM交換・伝送システムでは、セルと
呼ばれる固定長短パケットにより情報を転送し、論理的
な情報転送速度は全ての位相の時間について所定時間当
たりのセルの送出数により規定される。網利用者は、網
運用者との間にトラフィック契約を結び、契約による時
間規定値T当たりのセル送出数が契約による許容最大セ
ル数X以内であれば情報の送出を自由に行なうことがで
きる。このようなトラフィック契約は、時間規定値T及
び許容最大セル数Xの両方をパラメータとして行なわ
れ、網利用者(チャネル)毎に異なっている。
2. Description of the Related Art In an ATM switching / transmission system, information is transferred by fixed-length / short packets called cells, and the logical information transfer speed is defined by the number of cells transmitted per predetermined time for all phases. The network user makes a traffic contract with the network operator and can freely transmit information as long as the number of cells transmitted per prescribed time T according to the contract is within the maximum number X of cells allowed by the contract. . Such a traffic contract is made using both the time stipulated value T and the allowable maximum number of cells X as parameters, and differs for each network user (channel).

【0003】しかしながら、網利用者と網運用者との間
に設置される物理的なインタフェース速度は、通常、ト
ラフィック契約速度(X/T)以上の速度を有している
ため、網利用者が契約以上のセル流を網に送出すること
が可能である。このため、ATM交換・伝送システムに
おいては、網運用者が網利用者の送出するセル流を監視
し、該セル流がトラフィック契約に違反しているか否か
を判定し、契約に違反している場合に、網資源を保護す
るため、契約に違反した不当なセルを廃棄する等の処置
を行なうこととしている。
However, the physical interface speed installed between the network user and the network operator usually has a speed higher than the traffic contract speed (X / T). It is possible to send a cell flow over the contract to the network. For this reason, in the ATM switching and transmission system, the network operator monitors the cell flow transmitted by the network user, determines whether the cell flow violates the traffic contract, and violates the contract. In such a case, in order to protect network resources, measures such as discarding illegal cells that violate the contract are taken.

【0004】従来、セル流を監視して該セル流がトラフ
ィック契約を遵守しているか否かを判定してその判定結
果に応じてセル流を制御するセル流量監視回路として
は、下記文献に開示されるものがある。
Conventionally, a cell flow monitoring circuit that monitors a cell flow to determine whether the cell flow complies with a traffic contract and controls the cell flow in accordance with the result of the determination is disclosed in the following document. There are things to be done.

【0005】文献『草柳道夫、竹尾浩、小倉孝夫、井口
一雄、山口一雄著、「ATM加入者回路におけるポリシ
ング機能実現方式」、1992年電子情報通信学会春季大会
講演論文集、分冊3、第3-247 項』図2は、この文献に
記載のセル流量監視回路を示すものものであり、以下、
この図2を参照して、上記文献記載の従来のセル流量監
視回路を説明する。なお、図2は、取り扱うチャネル数
が4個の場合を示している。
Literature, "Michio Kusanagi, Hiroshi Takeo, Takao Ogura, Kazuo Iguchi, Kazuo Yamaguchi," A Method for Implementing Policing Function in ATM Subscriber Circuits ", Proc. -247] FIG. 2 shows a cell flow rate monitoring circuit described in this document.
With reference to FIG. 2, a conventional cell flow rate monitoring circuit described in the above document will be described. FIG. 2 shows a case where the number of channels handled is four.

【0006】この従来のセル流量監視回路も、時間規定
値T内に到着するセル数が許容最大セル数X個を越える
か否かを判定して制御するものである。しかし、従来の
セル流量監視回路は、時間規定値T内に到着するセル数
をカウントして時間規定値T内に到着するセル数が許容
最大セル数X個が越えるか否かを判定するのではなく、
時間規定値T内に到着するセル数が許容最大セル数X個
が越えるか否かを判定することと、今回の到着より(X
−1個)前の同一チャネルのセルが時間規定値T内に到
着していたか否かを判定することとは等価であることに
着目し、後者の判定方法を利用して違反判定を行なうこ
ととしている。
This conventional cell flow rate monitoring circuit also controls whether or not the number of cells arriving within the specified time value T exceeds the allowable maximum cell number X. However, the conventional cell flow rate monitoring circuit counts the number of cells arriving within the time stipulated value T and determines whether the number of cells arriving within the time stipulated value T exceeds the allowable maximum cell number X. not,
It is determined whether the number of cells arriving within the time stipulated value T exceeds the allowable maximum cell number X, and (X
Focusing on the fact that it is equivalent to determining whether or not a previous cell of the same channel has arrived within the specified time value T, and performing the violation determination using the latter determination method And

【0007】図2において、従来のセル流量監視回路
は、ブリッジメモリ21、セルカウンタ22、Xポイン
タ23、Nポインタ24、現時刻カウンタ25及び違反
判定回路26から構成されている。
In FIG. 2, the conventional cell flow monitoring circuit comprises a bridge memory 21, a cell counter 22, an X pointer 23, an N pointer 24, a current time counter 25, and a violation determination circuit 26.

【0008】到着したセル(違反判定処理の対象セル)
から図示しないヘッダ抽出回路によってヘッダ部のチャ
ネル番号のみが抽出され、抽出されたチャネル番号CH
j (jは到着セルのチャネルを規定するものであって1
〜4のいずれか)がブリッジメモリ21及びセルカウン
タ22に与えられる。
[0008] Cell arriving (cell targeted for violation determination processing)
From a header extraction circuit (not shown), only the channel number of the header portion is extracted, and the extracted channel number CH
j (j specifies the channel of the arrival cell and is 1
To 4) are given to the bridge memory 21 and the cell counter 22.

【0009】ブリッジメモリ21は、トラフィック契約
し得る時間規定値Tの最大値Tmax分の大きさを持つメ
モリであって、到着セルのチャネル番号情報と、次に到
着した同一チャネル番号を有するセルのチャネル番号情
報が格納されている当該ブリッジメモリ21内のエリア
へのポインタ情報とを一対として保持するものであり、
トラフィック契約し得る時間規定値Tの最大値Tmax に
相当する期間だけ遅延する一種の先入れ先出しメモリ
(FIFOメモリ)として動作するものである。
The bridge memory 21 is a memory having a size corresponding to the maximum value Tmax of the time stipulated value T for which a traffic contract can be made, and stores the channel number information of the arriving cell and the cell having the same channel number arriving next. Pointer information to an area in the bridge memory 21 in which the channel number information is stored, as a pair, and
It operates as a kind of first-in first-out memory (FIFO memory) that delays by a period corresponding to the maximum value Tmax of the time stipulated value T that can be contracted for traffic.

【0010】建築上のブリッジが次々と到着する渡ろう
とする人や車両に対する総重量を所定重量までに制限し
ており、このメモリ21の機能と類似しているので、当
該技術分野においてはこのようなメモリ21はブリッジ
メモリと呼ばれている。
The architectural bridge limits the total weight of arriving persons and vehicles to a predetermined weight, which is similar to the function of this memory 21 and is therefore not described in the art. The memory 21 is called a bridge memory.

【0011】現時刻カウンタ25は、1セルタイムスロ
ットが経過すると1インクリメントするカウンタであ
る。現時刻カウンタ25によるカウント値は、セル到着
時刻をNポインタ24に記録するために使用され、また
到着セルの情報をブリッジメモリ21に書き込むための
位置を示すポインタとして使用される。
The current time counter 25 is a counter that increments by one when one cell time slot elapses. The count value of the current time counter 25 is used to record the cell arrival time in the N pointer 24, and is used as a pointer indicating a position for writing the information of the arrival cell in the bridge memory 21.

【0012】セルカウンタ22は、このセル流量監視回
路が取り扱うチャネル数(図2のものは4チャネル)に
相当する複数のカウンタCC1 〜CC4 で構成される。
セルが到着する度に該到着セルのチャネル番号CHj に
対応するカウンタCCj が1インクリメントされ、ま
た、ブリッジメモリ21からセル情報が排出される度に
排出されたチャネル番号CHm (mはメモリ21からの
排出セルのチャネルを規定するもので1〜4のいずれ
か)に対応するカウンタCCm が1デクリメントされ
る。この結果、セルカウンタ22は、ブリッジメモリ2
1内に収容されている各チャネル番号CHi (iは1〜
4)のセル数を示すことになる。
The cell counter 22 comprises a plurality of counters CC1 to CC4 corresponding to the number of channels (four channels in FIG. 2) handled by the cell flow monitoring circuit.
Each time a cell arrives, the counter CCj corresponding to the channel number CHj of the arriving cell is incremented by one. Each time cell information is discharged from the bridge memory 21, the discharged channel number CHm (m is The counter CCm corresponding to any one of 1 to 4 which defines the channel of the discharge cell is decremented by one. As a result, the cell counter 22 reads the bridge memory 2
1, each channel number CHi (i is 1 to
4) indicates the number of cells.

【0013】Xポインタ(値の更新構成を含む)23
は、各チャネル番号CHi 毎の最新到着セルから(Xi
−1)個前に到着したセルのブリッジメモリ21内での
位置を示すポインタであり、このセル流量監視回路が取
り扱うチャネル数に相当する複数のポインタXp1 、
…、Xp4 で構成されている。
X pointer (including a configuration for updating a value) 23
Are calculated from the latest arrival cell for each channel number CHi (Xi
-1) A pointer indicating the position in the bridge memory 21 of the cell arriving immediately before, and a plurality of pointers Xp1 corresponding to the number of channels handled by this cell flow monitoring circuit,
.., Xp4.

【0014】なお、Xi は、チャネル番号CHi につい
て契約された時間規定値Ti 当たりの許容最大セル数を
表している。
Xi represents the maximum allowable number of cells per the prescribed time value Ti contracted for the channel number CHi.

【0015】例えば、Xポインタ23は、セルが到着す
ると、まずセルカウンタ22の該到着セルのチャネル番
号CHj に相当するカウント値CCj (更新前)と、ト
ラフィック契約における許容最大セル数Xj −1とを比
較する。そして、セルカウンタ22のカウント値CCj
が小さい場合には、そのチャネル番号CHj について何
等処理を行なわない。他方、セルカウント値CCj が許
容最大セル数Xj −1以上の場合には、XポインタXp
j が指し示すブリッジメモリ21のアドレスから、次に
到着した(今回の到着セルから(Xi −1)個前に到着
した)セルの位置を示すポインタ情報を読出し、前記ブ
リッジメモリ21より読出したポインタ値を新たにXポ
インタXpj にセットする。
For example, when a cell arrives, the X pointer 23 first determines a count value CCj (before updating) corresponding to the channel number CHj of the arriving cell of the cell counter 22, a maximum allowable cell number Xj -1 in the traffic contract, and the like. Compare. Then, the count value CCj of the cell counter 22 is calculated.
Is smaller, no processing is performed on the channel number CHj. On the other hand, if the cell count value CCj is equal to or greater than the allowable maximum cell number Xj-1, the X pointer Xp
From the address of the bridge memory 21 indicated by j, pointer information indicating the position of the cell that has arrived next (arriving (Xi -1) cells before this arrival cell) is read, and the pointer value read from the bridge memory 21 is read. Is newly set to the X pointer Xpj.

【0016】今回の到着によってブリッジメモリ21か
ら排出されるセルのチャネル番号CHm に対しても、上
述とほぼ同様な考え方によってXポインタXpm の値を
更新制御する。
The value of the X pointer Xpm is controlled to be updated for the channel number CHm of the cell discharged from the bridge memory 21 upon arrival at this time in a manner similar to that described above.

【0017】以上のようにして、各XポインタXpi は
ブリッジメモリ21内にXi 個以上のセルの情報が格納
されている場合に、常に(Xi −1)個前に到着したセ
ルの位置を示すようになる。
As described above, each X pointer Xpi always indicates the position of the cell arriving before (Xi -1) when information on Xi or more cells is stored in the bridge memory 21. Become like

【0018】Nポインタ(値の更新構成を含む)24
は、各チャネル毎の直前に到着したセルの情報のブリッ
ジメモリ21内における位置を示すポインタであり、こ
のセル流量監視回路が取り扱うチャネル数に相当する複
数のポインタNp1 〜Np4 で構成されている。セルが
到着すると、Nポインタ24内の該到着セルのチャネル
番号CHj に対応したポインタNpj が指し示すブリッ
ジメモリ21のアドレスのポインタ情報部に現時刻カウ
ンタ25の値が書込まれる。
N pointer (including a configuration for updating a value) 24
Is a pointer indicating the position in the bridge memory 21 of the information of the cell arriving immediately before for each channel, and is composed of a plurality of pointers Np1 to Np4 corresponding to the number of channels handled by the cell flow monitoring circuit. When a cell arrives, the value of the current time counter 25 is written in the pointer information section of the address of the bridge memory 21 indicated by the pointer Npj corresponding to the channel number CHj of the arriving cell in the N pointer 24.

【0019】違反判定回路26では、まず該到着セルの
チャネル番号CHj に対応したセルカウンタCCj の値
とトラフィック契約による許容最大セル数Xj −1とを
比較する。そして、セルカウンタCCj の値が、トラフ
ィック契約による許容最大セル数Xj −1未満であれ
ば、トラフィック契約に違反していないことを表す信号
を、例えば図示しない廃棄制御回路に出力する。つま
り、該到着セルのチャネル番号CHj について(Xj −
1)個前のセル到着は少なくともトラフィック契約し得
る最大時間Tmax (≧Tj )以前であるので、トラフィ
ック契約に違反していない。
The violation judging circuit 26 first compares the value of the cell counter CCj corresponding to the channel number CHj of the arriving cell with the allowable maximum cell number Xj-1 according to the traffic contract. If the value of the cell counter CCj is less than the maximum number Xj-1 of cells allowed by the traffic contract, a signal indicating that the traffic contract is not violated is output to, for example, a discard control circuit (not shown). That is, for the channel number CHj of the arriving cell, (Xj−
1) Since the preceding cell arrives at least before the maximum time Tmax (≧ Tj) during which the traffic contract can be made, the traffic contract is not violated.

【0020】該到着セルのチャネル番号CHj に対応し
たセルカウンタCCj の値が、トラフィック契約による
許容最大セル数Xj −1以上であれば、現時刻カウンタ
25の出力する現時刻値とXポインタXpj の値との差
分値を求め、求めた差分値とトラフィック契約における
時間規定値Tj とを比較し、差分値≧Tj であれば違反
でないと判断し、それ以外の場合は違反と判定し、違反
又は非違反を表す信号を、例えば図示しない廃棄制御回
路に出力する。つまり、現時刻カウンタ25の値とXポ
インタXpj の値から、契約された許容最大セル数Xj
個のセルの到着に要した時間(上述した差分値)を求
め、時間規定値Tj と比較して、セル流量に対するトラ
フィック契約違反の判定を行なっている。
If the value of the cell counter CCj corresponding to the channel number CHj of the arriving cell is equal to or greater than the allowable maximum number of cells Xj -1 according to the traffic contract, the current time value output from the current time counter 25 and the X pointer Xpj The difference value is calculated, and the calculated difference value is compared with the specified time value Tj in the traffic contract. If the difference value is equal to or greater than Tj, it is determined that no violation has occurred. A signal indicating non-violation is output to, for example, a discard control circuit (not shown). That is, based on the value of the current time counter 25 and the value of the X pointer Xpj, the contracted allowable maximum cell number Xj
The time required for the arrival of the cells (the above-described difference value) is obtained and compared with the specified time value Tj to determine the traffic contract violation with respect to the cell flow rate.

【0021】以上のように、従来のセル流量監視回路
は、今回の到着より(Xj −1個)前の同一チャネルC
Hj のセルが時間規定値Tj 内に到着していたか否かを
判定することを判定原理としており、各種ポインタやカ
ウンタ等の処理は、到着セルのチャネル番号CHj 、及
びブリッジメモリ21より排出されたセルのチャネル番
号CHm の2種類のチャネルに関する処理のみであり、
このセル流量監視回路が取扱う総チャネル数及びトラフ
ィック契約に係わるパラメータTi 、Xi の種類には依
存しないため、チャネル数やトラフィック契約種類の増
加に対して、ブリッジメモリ21へのアクセス回数等の
問題が発生しないものであった。
As described above, the conventional cell flow monitoring circuit uses the same channel C (Xj -1) prior to the current arrival.
The determination principle is to determine whether the cell of Hj has arrived within the specified time value Tj, and the processing of various pointers and counters is performed by the channel number CHj of the arriving cell and the data discharged from the bridge memory 21. The processing is only for the two types of channels with the channel number CHm of the cell,
Since this cell flow rate monitoring circuit does not depend on the total number of channels handled and the types of parameters Ti and Xi relating to traffic contracts, problems such as the number of accesses to the bridge memory 21 and the like increase with the number of channels and traffic contract types. It did not occur.

【0022】[0022]

【発明が解決しようとする課題】しかしながら、実際
上、ATM交換・伝送システムにおいては、セル流量監
視回路が設置される地点より上流でセル単位での多重化
処理等が行われることがある。例えば多重化処理では複
数チャネルのセルを一旦バッファメモリに格納した後取
り出して多重化することを基本としており、あるセルが
バッファメモリに格納されてから読み出されるまでの遅
延時間は一定しない。すなわち、網利用者が送出したセ
ル流に対して、多重化処理等を介することで揺らぎ(セ
ル遅延揺らぎ:CDV)が発生し、セル送出パターンが
変化する場合があり、そのようなセル遅延揺らぎの影響
を受けたセル流がセル流量監視回路に到着することもあ
る。
However, in practice, in an ATM switching / transmission system, multiplexing processing or the like may be performed in units of cells upstream of a point where a cell flow rate monitoring circuit is installed. For example, the multiplexing process is based on the fact that cells of a plurality of channels are temporarily stored in a buffer memory, then taken out and multiplexed, and the delay time from when a certain cell is stored in the buffer memory until it is read out is not constant. That is, the cell flow transmitted by the network user may fluctuate (cell delay fluctuation: CDV) through multiplexing processing and the like, and the cell transmission pattern may change. In some cases, the cell flow affected by the above may arrive at the cell flow monitoring circuit.

【0023】上述のように、従来のセル流量監視回路で
はセル多重化等でのセル遅延揺らぎを考慮していない。
そのため、網利用者側でトラフィック契約を遵守してセ
ルを送出したにも拘らず、契約違反と判定される場合が
生じるという問題があった。
As described above, the conventional cell flow rate monitoring circuit does not consider cell delay fluctuation due to cell multiplexing or the like.
For this reason, there has been a problem that the network user may determine that the contract is breached even though the cell is transmitted in compliance with the traffic contract.

【0024】このような不都合を解決するため、トラフ
ィック契約のパラメータTi 、Xiの値に対して、セル
遅延揺らぎを補償するためのパラメータマージンを設定
してマージンを有する契約パラメータを適用して、従来
のセル流量監視回路を動作させることも考えられる。し
かし、このようにすると、トラフィック契約以上のセル
流をも一部許容することになり、網資源の有効的な利用
ができなくなるという新たな問題が生じる。
In order to solve such inconvenience, a parameter margin for compensating for cell delay fluctuation is set for the values of the traffic contract parameters Ti and Xi, and a contract parameter having a margin is applied. It is also conceivable to operate the cell flow rate monitoring circuit of FIG. However, in this case, a part of the cell flow more than the traffic contract is allowed, and a new problem that the network resources cannot be effectively used arises.

【0025】本発明は、以上の点を考慮してなされたも
のであり、セル多重化処理などを通じてセル遅延揺らぎ
が生じても、セル流がトラフィック契約に違反するか否
かを適切に判定できるセル流量監視回路を提供しようと
したものである。
The present invention has been made in consideration of the above points, and it is possible to appropriately determine whether or not a cell flow violates a traffic contract even if cell delay fluctuation occurs through cell multiplexing processing or the like. It is intended to provide a cell flow monitoring circuit.

【0026】[0026]

【課題を解決するための手段】かかる課題を解決するた
め、本発明においては、時間T当たりに許容できる最大
セル数Xで規定されたトラヒック契約に、実際のセル流
が違反しているか否かを、規定されたセル遅延揺らぎ許
容値を利用して常時監視制御するセル流量監視回路を、
以下の手段を有するように構成した。
In order to solve such a problem, the present invention provides a method for determining whether or not an actual cell flow violates a traffic contract defined by a maximum number X of cells that can be allowed per time T. A cell flow monitoring circuit that constantly monitors and controls using a prescribed cell delay fluctuation tolerance,
It was configured to have the following means.

【0027】すなわち、セルの到着履歴情報を保持する
セル到着履歴情報保持手段と、このセル到着履歴情報保
持手段の保持内容を利用して、現時点で違反か否かが判
定される処理対象セルをX個目としたX個のセルが到着
するのに要した時間から、処理対象セルより(X−1)
個前に到着したセルに付随する時間オフセット値を減じ
た到着時間間隔を求める到着時間間隔計算手段と、この
到着時間間隔計算手段によって求められた到着時間間隔
が、時間Tからセル遅延揺らぎ許容値を減じた値より小
さい場合にのみ違反であると判定する違反判定手段と、
上記到着時間間隔計算手段によって求められた到着時間
間隔が時間T未満で、かつ、時間Tからセル遅延揺らぎ
許容値を減じた値以上の場合に、時間Tから到着時間間
隔を減じた値を算出して処理対象セルに付随する時間オ
フセット値として上記セル到着履歴情報保持手段に保持
させる時間オフセット計算手段とを有する。
That is, the cell arrival history information holding means for holding the cell arrival history information, and the cell to be processed which is determined to be a violation at the present time is determined by using the contents held by the cell arrival history information holding means. From the time required for the X-th cell to arrive, the cell to be processed is (X-1)
An arrival time interval calculating means for obtaining an arrival time interval obtained by subtracting a time offset value associated with a cell which has arrived immediately before; and an arrival time interval obtained by the arrival time interval calculating means, which is a cell delay fluctuation tolerance from time T. Violation determining means for determining a violation only when the value is smaller than
When the arrival time interval obtained by the arrival time interval calculation means is less than the time T and is equal to or greater than a value obtained by subtracting the allowable value of the cell delay fluctuation from the time T, a value obtained by subtracting the arrival time interval from the time T is calculated. And a time offset calculating means for storing the time offset value associated with the processing target cell in the cell arrival history information holding means.

【0028】[0028]

【作用】本発明において、セル到着履歴情報保持手段は
セルの到着履歴情報を保持しており、到着時間間隔計算
手段は、このセル到着履歴情報保持手段の保持内容を利
用して、現時点で違反か否かが判定される処理対象セル
をX個目としたX個のセルが到着するのに要した時間か
ら、処理対象セルより(X−1)個前に到着したセルに
付随する時間オフセット値を減じた到着時間間隔を求め
る。そして、違反判定手段は、求められた到着時間間隔
が、時間Tからセル遅延揺らぎ許容値を減じた値より小
さい場合にのみ違反であると判定する。例えば、到着し
たセル数がX個より少ない場合には当然に違反でないと
判定する。時間オフセット計算手段は、到着時間間隔計
算手段によって求められた到着時間間隔が時間T未満
で、かつ、時間Tからセル遅延揺らぎ許容値を減じた値
以上の場合に、時間Tから到着時間間隔を減じた値を算
出して処理対象セルに付随するオフセット値として上記
セル到着履歴情報保持手段に保持させる。
In the present invention, the cell arrival history information holding means holds the cell arrival history information, and the arrival time interval calculation means uses the contents held by the cell arrival history information holding means to make a violation at the present time. The time offset associated with the cell arriving (X-1) cells before the cell to be processed, from the time required for the X cells to arrive at the X-th cell to be processed to be determined Find the arrival time interval with the value subtracted. Then, the violation determining means determines that the violation is present only when the calculated arrival time interval is smaller than the value obtained by subtracting the allowable value of the cell delay fluctuation from the time T. For example, if the number of arriving cells is less than X, it is naturally determined that there is no violation. The time offset calculating means determines the arrival time interval from the time T when the arrival time interval obtained by the arrival time interval calculating means is less than the time T and is equal to or greater than a value obtained by subtracting the allowable value of the cell delay fluctuation from the time T. The reduced value is calculated and held in the cell arrival history information holding means as an offset value associated with the processing target cell.

【0029】本発明は、以下のような考え方に基づいて
いる。処理対象セルをX番目としたX個のセルが到着す
るのに要した時間が契約時間Tより短いと、セル流出速
度が契約速度(X/T)より大きくて一応は契約違反と
考えられるが、セルの遅延揺らぎを考慮すると一概には
契約違反とも言えない。そこで、契約された時間Tから
セル遅延揺らぎ許容値を減じた時間を違反判定の閾値と
することとした。しかし、単に、処理対象セルを含めた
X個のセルが到着するのに要した時間と、契約された時
間Tからセル遅延揺らぎ許容値を減じた時間とを比較し
て、違反判定を行なうと、本当に違反しているのにも拘
らず違反でないと判定されることが多く生じる。そこ
で、処理対象セルより(X−1)個前に到着したセルの
ときのセル流の状態に基づいた時間オフセット値を判定
に利用することとした。すなわち、処理対象セルを含め
たX個のセルが到着するのに要した時間から、(X−
1)個前に到着したセルに付随する時間オフセット値を
減じた到着時間間隔を求めてこの到着時間間隔で判定す
ることとし、また、到着時間間隔が時間T未満で、か
つ、時間Tからセル遅延揺らぎ許容値を減じた値以上の
場合に(すなわち、本当は契約違反である可能性が多少
ある場合に)、時間Tから到着時間間隔を減じた値を算
出して処理対象セルに付随する時間オフセット値とする
こととした。
The present invention is based on the following concept. If the time required for the X cells, the processing target cell of which is the X-th cell, to arrive is shorter than the contract time T, the cell outflow speed is larger than the contract speed (X / T), which is considered to be a breach of the contract. Considering the delay fluctuation of the cell, it cannot be said that the contract is breached. Therefore, the time obtained by subtracting the allowable value of the cell delay fluctuation from the contracted time T is set as the threshold value for the violation determination. However, when the time required for the X cells including the cell to be processed to arrive to arrive is simply compared with the time obtained by subtracting the allowable value of the cell delay fluctuation from the contracted time T, the violation determination is performed. However, in many cases, it is determined that there is no violation in spite of the fact that the violation has occurred. Therefore, the time offset value based on the state of the cell flow at the time of the cell arriving (X-1) cells before the cell to be processed is used for the determination. That is, from the time required for X cells including the processing target cell to arrive, (X−
1) The arrival time interval obtained by subtracting the time offset value associated with the cell arriving immediately before is determined, and the arrival time interval is determined based on the arrival time interval. If the delay fluctuation allowable value is equal to or larger than the value obtained by subtracting the allowable value (that is, if there is a possibility that the contract is actually a breach of the contract), a value obtained by subtracting the arrival time interval from the time T is calculated and the time associated with the processing target cell is calculated. It was decided to be an offset value.

【0030】[0030]

【実施例】以下、本発明によるセル流量監視回路の一実
施例を図面を参照しながら詳述する。ここで、図1がこ
の実施例の構成を示すものである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the cell flow monitoring circuit according to the present invention will be described below in detail with reference to the drawings. Here, FIG. 1 shows the configuration of this embodiment.

【0031】図1において、この実施例のセル流量監視
回路10は、ヘッダ抽出回路11、遅延回路12、廃棄
制御回路13、第1のブリッジメモリ14、第2のブリ
ッジメモリ15、制御・判定回路16、現時刻カウンタ
17、演算回路18及び管理テーブル19から構成され
ている。
In FIG. 1, the cell flow monitoring circuit 10 of this embodiment includes a header extraction circuit 11, a delay circuit 12, a discard control circuit 13, a first bridge memory 14, a second bridge memory 15, a control / judgment circuit. 16, a current time counter 17, an arithmetic circuit 18, and a management table 19.

【0032】入力端子に入力された到着セル(違反判定
の処理対象セル)CELは、遅延回路12及びヘッダ抽
出回路11に与えられる。
The arriving cell (cell to be processed for violation determination) CEL input to the input terminal is supplied to the delay circuit 12 and the header extraction circuit 11.

【0033】遅延回路12は、後述する到着セルの違反
判定処理に伴う処理遅延を補償するためのものであり、
到着セルCELに一定の遅延時間を付与した後、廃棄制
御回路13に出力する。
The delay circuit 12 is for compensating for a processing delay associated with a process of determining a violation of an arrival cell, which will be described later.
After a certain delay time is given to the arrival cell CEL, it is output to the discard control circuit 13.

【0034】廃棄制御回路13は、制御・判定回路16
が出力した廃棄制御信号DISの指示に従って、遅延回
路12から出力された遅延到着セルDCELを廃棄した
り通過したりする。
The discard control circuit 13 includes a control / judgment circuit 16
In accordance with the instruction of the discard control signal DIS output from the delay circuit 12, the delay arrival cell DCEL output from the delay circuit 12 is discarded or passed.

【0035】ヘッダ抽出回路11は、入力された到着セ
ルCELのヘッダ部分を解析し、チャネル番号CHNO
を抽出して制御・判定回路16に出力する。
The header extracting circuit 11 analyzes the header part of the input arrival cell CEL and obtains the channel number CHNO.
And outputs it to the control / judgment circuit 16.

【0036】図3は、セルフォーマットの一例を示すも
のである。このフォーマット例のセルは、チャネル番号
情報VPI/VCIと、セル種別PT、優先表示ビット
CLP、ヘッダ部誤り制御HEC及び情報部PAYLO
ADでなり、ヘッダ抽出回路11によって、このうちの
チャネル番号情報VPI/VCIが抽出される。
FIG. 3 shows an example of the cell format. The cell of this format example includes channel number information VPI / VCI, cell type PT, priority indication bit CLP, header error control HEC, and information PAYLO.
The header extraction circuit 11 extracts the channel number information VPI / VCI.

【0037】現時刻カウンタ17は1セルタイムスロッ
ト毎に1インクリメントするカウンタであり、カウント
値を現時刻ポインタ値Cpとして、制御・判定回路16
及び演算回路18に出力する。
The current time counter 17 is a counter that increments by one for each cell time slot, and uses the count value as the current time pointer value Cp to control and determine the circuit 16.
And outputs it to the arithmetic circuit 18.

【0038】管理テーブル19は、制御・判定回路16
から出力されたアドレス信号A19で指定されるチャネ
ル番号の管理情報を制御・判定回路16とバスB19を
介して授受を行なうものである。
The management table 19 stores the control / judgment circuit 16
The management information of the channel number specified by the address signal A19 output from the control circuit 20 is transmitted and received to and from the control / determination circuit 16 via the bus B19.

【0039】図4は、管理テーブル19の各チャネルC
Hi (iはチャネルを識別するための符号であり、以下
同じ)に対応したアドレスに格納されている管理情報の
一例を示すものである。管理情報として、第1及び第2
のブリッジメモリ14及び15内に情報が格納されてい
る該チャネル番号のセル数CNTi と、第1及び第2の
ブリッジメモリ14及び15内の該チャネル番号の直前
に到着したセルへのポインタXpi と、トラフィック契
約時に与えられた時間規定値Ti を1セルタイムスロッ
ト時間で規格化した時間規定値T1i と、トラフィック
契約時に与えられた時間規定値Ti からセル遅延揺らぎ
許容値を減じた値を1セルタイムスロット時間で規格化
した時間規定値T2i と、トラフィック契約による許容
最大セル数Xi から1を減じた値X1i とが格納されて
いる。
FIG. 4 shows each channel C in the management table 19.
Hi (i is a code for identifying a channel, the same applies hereinafter) and shows an example of management information stored at an address corresponding to Hi. First and second management information
The number of cells CNTi of the channel number whose information is stored in the bridge memories 14 and 15, and the pointer Xpi to the cell arriving immediately before the channel number in the first and second bridge memories 14 and 15. 1 cell is defined as a time specified value T1i obtained by standardizing the time specified value Ti given at the time of traffic contract with one cell time slot time, and a value obtained by subtracting the allowable value of cell delay fluctuation from the time specified value Ti given at the time of traffic contract. A time specification value T2i standardized by the time slot time and a value X1i obtained by subtracting 1 from the maximum allowable cell number Xi according to the traffic contract are stored.

【0040】なお、時間規定値T2i を決定するための
セル遅延揺らぎ許容値は、当該セル流量監視回路10の
上流でのセル多重化構成の数等に応じて固定的に定めて
も良く、また、シミュレーション等によって定めても良
い。
It should be noted that the allowable value of the cell delay fluctuation for determining the specified time value T2i may be fixedly determined according to the number of cell multiplexing configurations upstream of the cell flow rate monitoring circuit 10, and the like. , May be determined by simulation or the like.

【0041】管理テーブル19に格納されている同一チ
ャネルに係るこれらの情報は、全体が同時にアクセスさ
せるものであるが、後述する制御・判定回路16による
処理の説明では、アクセスに意味のある情報の変化や取
り出しについて言及する。
The information related to the same channel stored in the management table 19 is to be accessed simultaneously as a whole, but in the description of the processing by the control / judgment circuit 16 to be described later, information that is meaningful for access will be described. Mention change and retrieval.

【0042】第1のブリッジメモリ14は、時間規定値
Ti として契約可能な最大値Tmaxに相当するアドレス
空間を有するメモリであり、制御・判定回路16から出
力されたアドレス信号A14で指定されたアドレスの内
容を、バスB14を介して制御・判定回路16との間で
授受する。1個のアドレスには、1個の到着セルについ
ての情報が格納されている。
The first bridge memory 14 is a memory having an address space corresponding to the maximum value Tmax that can be contracted as the time specified value Ti, and the address specified by the address signal A14 output from the control / judgment circuit 16 Is exchanged with the control / judgment circuit 16 via the bus B14. One address stores information about one arriving cell.

【0043】図5は、第1のブリッジメモリ14の1個
のアドレスnに格納されている内容を示すものである。
1個のアドレスnには、過去に到着したセルのチャネル
番号(既到着チャネル番号)CHPn と、該セルに対し
てセル遅延揺らぎの補償を行なうために付加した遅延時
間を表す時間オフセットOFn と、該セルが第1及び第
2のブリッジメモリ14及び15内でそのチャネル(q
とする)についての許容最大セル数Xq 個以前に到着し
たか否かを表す超過セルフラグOVn と、該アドレスの
内容が無効か有効かを表す有効表示フラグENn とが格
納される。
FIG. 5 shows the contents stored at one address n of the first bridge memory 14.
One address n includes a channel number (arrived channel number) CHPn of a cell arriving in the past, a time offset OFn representing a delay time added for compensating cell delay fluctuation for the cell, The cell has its channel (q) in the first and second bridge memories 14 and 15
), An excess cell flag OVn indicating whether the cell has arrived before the allowable maximum cell number Xq, and a valid display flag ENn indicating whether the content of the address is invalid or valid.

【0044】第2のブリッジメモリ15は、第1のブリ
ッジメモリ14と同一のアドレス空間を有し、制御・判
定回路16から出力されたアドレスA14の内容を、バ
スB15を介して制御・判定回路16との間で授受を行
なう。
The second bridge memory 15 has the same address space as the first bridge memory 14, and stores the contents of the address A14 output from the control / judgment circuit 16 via the bus B15. 16 is exchanged.

【0045】図6は、第2のブリッジメモリ15の格納
情報を示すものである。第2のブリッジメモリ15に
は、同一アドレスnを有する第1のブリッジメモリ14
に格納されているチャネル番号CHPn を有する、この
アドレスnに係るセルの直後に到着したセルの情報を格
納している第1のブリッジメモリ14の位置へのポイン
タ情報である次セルポインタ値Nxn を格納している。
FIG. 6 shows information stored in the second bridge memory 15. The second bridge memory 15 has a first bridge memory 14 having the same address n.
The next cell pointer value Nxn, which is pointer information to the position of the first bridge memory 14 that stores the information of the cell arriving immediately after the cell at the address n having the channel number CHPn stored in Stored.

【0046】ここで、従来回路とは異なって、本来同一
のセル到着に関する情報を、第1のブリッジメモリ14
と第2のブリッジメモリ15とに2分割して格納するよ
うにしたのは、メモリアクセス回数を軽減しようとした
ためである。
Here, unlike the conventional circuit, information about the same cell arrival is stored in the first bridge memory 14.
And the second bridge memory 15 are stored in two parts because the number of memory accesses is reduced.

【0047】第1のブリッジメモリ14に格納されてい
る同一アドレスの複数種類の情報は、全体が同時にアク
セスさせるものであるが、後述する制御・判定回路16
による処理の説明では、アクセスに意味のある情報の変
化や取り出しについてのみ言及することとする。
A plurality of types of information at the same address stored in the first bridge memory 14 are all accessed simultaneously.
In the description of the processing by, only the change or retrieval of information meaningful for access will be mentioned.

【0048】演算回路18には、現時刻カウンタ17か
ら出力された現時刻ポインタ値Cpと、制御・判定回路
16から出力された、現在の到着セルのチャネル(jと
する)についての(Xj −1)個前に到着したセルの到
着時刻を示すポインタ値Xpj 、(Xj −1)個前に到
着したセルに対する時間オフセット値OFj 、セル遅延
揺らぎを考慮しない時間規定値T1j とが与えられ、演
算回路18は、これらの値を用いた所定の演算を行な
い、演算結果である差分値D及びCDV補正オフセット
OFCDVを制御・判定回路16に出力する。
The arithmetic circuit 18 supplies the current time pointer value Cp output from the current time counter 17 and (Xj−) for the channel (j) of the current arrival cell output from the control / determination circuit 16. 1) A pointer value Xpj indicating the arrival time of the cell arriving immediately before, a time offset value OFj for the cell arriving before (Xj -1) times, and a time stipulated value T1j not considering the cell delay fluctuation are given. The circuit 18 performs a predetermined operation using these values, and outputs a difference value D and a CDV correction offset OFCDV, which are the operation results, to the control / determination circuit 16.

【0049】図7は、演算回路18の具体的構成例を示
すものである。演算回路18は、現時刻ポインタ値Cp
から(Xj −1)個前に到着したセルの到着時刻を表す
ポインタ値Xpj を減算する減算器71と、この減算出
力Cp−Xpj から(Xj −1)個前に到着したセルに
対する時間オフセット値OFj を減算する減算器72
と、この減算出力Cp−Xpj −OFj をセル遅延揺ら
ぎを考慮しない時間規定値T1j から減算する減算器7
3とから構成されている。そして、減算器72からの出
力Cp−Xpj −OFj を差分値Dとして制御・判定回
路16に出力すると共に、減算器73からの出力T1j
−(Cp−Xpj −OFj )をCDV補正オフセット値
OFCDVとして制御・判定回路16に出力する。
FIG. 7 shows a specific configuration example of the arithmetic circuit 18. The arithmetic circuit 18 calculates the current time pointer value Cp
Subtractor 71 subtracting a pointer value Xpj representing the arrival time of the cell arriving (Xj -1) times earlier from the current value, and a time offset value for the cell arriving (Xj -1) times earlier from the subtracted output Cp-Xpj Subtractor 72 for subtracting OFj
And a subtractor 7 for subtracting the subtraction output Cp-Xpj-OFj from a specified time value T1j which does not take cell delay fluctuation into account.
And 3. Then, the output Cp-Xpj-OFj from the subtractor 72 is output to the control / judgment circuit 16 as the difference value D, and the output T1j from the subtractor 73 is output.
− (Cp−Xpj−OFj) is output to the control / judgment circuit 16 as the CDV correction offset value OFCDV.

【0050】制御・判定回路16は、両ブリッジメモリ
14及び15や管理テーブル19等をアクセスしながら
現在の到着セルに対する違反判定処理を行なったり、両
ブリッジメモリ14及び15内で時間規定値Ti として
取り得る最大値Tmax を経過したセル情報の排出処理を
行なったりするものである。ATM交換・伝送システム
は、高速セル流を取り扱うのでハードウェアによって実
現されるが、ソフトウェアによって実現されても良い。
The control / judgment circuit 16 performs a violation judging process on the currently arriving cell while accessing the bridge memories 14 and 15 and the management table 19 and the like, or as a specified time value Ti in the bridge memories 14 and 15. For example, a process of discharging cell information having passed the maximum value Tmax that can be taken is performed. The ATM switching / transmission system handles a high-speed cell flow and is realized by hardware, but may be realized by software.

【0051】図8及び図9は、制御・判定回路16が実
行する違反判定処理をフローチャート的に示したもので
あり、制御・判定回路16がハードウェアによって実現
されていてもおおむねこのような流れで処理される。ま
た、図10は、違反判定処理や後述するセル情報排出処
理でアクセスされる両ブリッジメモリ14及び15のア
ドレスを示す説明図である。
FIG. 8 and FIG. 9 are flow charts showing the violation judging process executed by the control / judgment circuit 16. Even if the control / judgment circuit 16 is realized by hardware, such a flow is generally described. Is processed. FIG. 10 is an explanatory diagram showing addresses of both bridge memories 14 and 15 which are accessed in a violation determination process and a cell information discharge process described later.

【0052】違反判定処理を開始するとまず、ヘッダ抽
出回路11によって抽出されたチャネル番号CHNO
(チャネルjとする)をアドレス信号A19として、管
理テーブル19をアクセスし、そのチャネル番号に対応
した管理情報CNTj 、Xpj、Npj 、T1j 、T2j
、X1j をバスB19を介して取り込む(ステップ1
00)。そして、制御・判定回路16は取り出した(X
j −1)個前に到着したセルの到着時刻を示すポインタ
値Xpj と、セル遅延揺らぎを考慮しない時間規定値T
1j とを演算回路18に出力する(ステップ101)。
When the violation judging process is started, first, the channel number CHNO extracted by the header extracting circuit 11 is used.
(Referred to as channel j) as the address signal A19 to access the management table 19, and the management information CNTj, Xpj, Npj, T1j, T2j corresponding to the channel number.
, X1j via the bus B19 (step 1).
00). Then, the control / determination circuit 16 takes out (X
j -1) a pointer value Xpj indicating the arrival time of the cell that has arrived the last time, and a time specification value T that does not consider the cell delay fluctuation.
1j is output to the arithmetic circuit 18 (step 101).

【0053】次に、制御・判定回路16は、取り出した
ポインタ値Xpj をアドレス信号A14(アドレスnと
する:図10参照)として両ブリッジメモリ14及び1
5をアクセスし、バスB14を介して格納情報CHPn
、OFn 、OVn を、またバスB15を介してNxn
を読出す(ステップ102)。そして、制御・判定回路
106は、第1のブリッジメモリ14から読出した時間
オフセット値OFn を演算回路18に出力する(ステッ
プ103)。
Next, the control / judgment circuit 16 uses the extracted pointer value Xpj as an address signal A14 (address n: see FIG. 10) for both bridge memories 14 and 1.
5 and accesses the stored information CHPn via the bus B14.
, OFn, OVn and Nxn via bus B15.
Is read (step 102). Then, the control / judgment circuit 106 outputs the time offset value OFn read from the first bridge memory 14 to the arithmetic circuit 18 (Step 103).

【0054】以上のような前処理を行なった後、制御・
判定回路16は、以下のような具体的な違反判定処理を
行なう。
After performing the above pre-processing, control and
The determination circuit 16 performs a specific violation determination process as described below.

【0055】制御・判定回路16は、まず、現在到着セ
ルのチャネルjに係るメモリ内セル数CNTj が0であ
るか否かを判断する(ステップ104)。
The control / judgment circuit 16 first judges whether or not the number of cells CNTj in the memory relating to the channel j of the currently arriving cell is 0 (step 104).

【0056】メモリ内セル数CNTj が0であれば、そ
のチャネルjについての最初のセルであるので違反無し
と判定し、各種情報の更新処理を行ない、通過を指示す
る廃棄制御信号DISを廃棄制御回路13に出力して一
連の違反判定処理を終了する(ステップ105、10
6)。
If the number of cells CNTj in the memory is 0, it is the first cell for the channel j, so it is determined that there is no violation, the various information is updated, and the discard control signal DIS instructing the passage is discarded. This is output to the circuit 13 to end a series of violation determination processing (steps 105 and 10).
6).

【0057】ステップ105による各種情報の更新処理
は以下の通りである。現時刻ポインタ値Cp(具体的な
値をsとする:図10参照)をアドレス信号A14とし
て第1のブリッジメモリ14をアクセスし、ヘッダ抽出
回路11によって抽出されたチャネル番号CHNO(=
j)を既到着チャネル番号CHPs に、0を時間オフセ
ット値OFs に、0(0は非超過を表す)を超過セルフ
ラグOVs に、1(1は有効を表す)を有効表示フラグ
ENs に書き込む。また、ヘッダ抽出回路11によって
抽出されたチャネル番号CHNO(=j)をアドレス信
号A19として管理テーブル19をアクセスし、メモリ
内セル数CNTj を1インクリメントし、(Xj −1)
個前に到着したセルの到着時刻を示すポインタ値Xpj
を現時刻ポインタ値Cpに、また、直前到着のセルへの
ポインタ値Npj を現時刻ポインタ値Cpに更新する。
The process of updating various information in step 105 is as follows. The first bridge memory 14 is accessed by using the current time pointer value Cp (specific value is s: see FIG. 10) as the address signal A14, and the channel number CHNO (=
j) is written in the arriving channel number CHPs, 0 is written in the time offset value OFs, 0 (0 represents no excess) is written in the excess cell flag OVs, and 1 (1 represents valid) is written in the valid display flag ENs. Further, the management table 19 is accessed by using the channel number CHNO (= j) extracted by the header extraction circuit 11 as the address signal A19, and the number of cells CNTj in the memory is incremented by one, and (Xj -1)
Pointer value Xpj indicating the arrival time of the cell that arrived immediately before
Is updated to the current time pointer value Cp, and the pointer value Npj to the cell that has just arrived is updated to the current time pointer value Cp.

【0058】メモリ内セル数CNTj が0でなければ
(ステップ104で否定結果)、メモリ内セル数CNT
j が1以上でかつ契約された最大許容セル到着数Xj か
ら1を減じた値X1j 未満であるか否かを判断する(ス
テップ107)。すなわち、今回到着したセルをもカウ
ントしたセル数が契約された許容最大セル数Xj 未満で
あるか否かを判断する。
If the number of cells in memory CNTj is not 0 (negative result in step 104), the number of cells in memory CNTj
It is determined whether j is not less than 1 and less than a value X1j obtained by subtracting 1 from the contracted maximum allowable cell arrival number Xj (step 107). That is, it is determined whether or not the number of cells that have counted the cells that have arrived this time is less than the contracted maximum allowable cell number Xj.

【0059】この判断で肯定結果を得ると、そのチャネ
ルjについて、契約された時間規定値Tj 以上の時間T
max 内に到着したセル数でも契約された許容最大セル数
Xjより少ないので違反無しと判定し、各種情報の更新
処理を行ない、通過を指示する廃棄制御信号DISを廃
棄制御回路13に出力して一連の違反判定処理を終了す
る(ステップ108、106)。
If an affirmative result is obtained in this judgment, a time T equal to or more than the contracted time stipulated value Tj for the channel j is obtained.
Since the number of cells arriving within max is less than the contracted allowable maximum number of cells Xj, it is determined that there is no violation, update processing of various information is performed, and a discard control signal DIS instructing passage is output to the discard control circuit 13. A series of violation determination processing ends (steps 108 and 106).

【0060】ステップ108による各種情報の更新処理
は以下の通りである。現時刻ポインタ値Cp(=s)を
アドレス信号A14として第1のブリッジメモリ14を
アクセスし、ヘッダ抽出回路11によって抽出されたチ
ャネル番号CHNO(=j)を既到着チャネル番号CH
Ps に、0を時間オフセット値OFs に、0を超過セル
フラグOVs に、1を有効表示フラグENs に書込む。
また、直前到着セルへのポインタ値Npj (具体的な値
をtとする:図10参照)をアドレス信号A14として
第2のブリッジメモリ15をアクセスし、バスB15を
介して、次セルポインタNxt を現時刻ポインタ値Cp
に更新する。さらに、ヘッダ抽出回路11によって抽出
されたチャネル番号CHNO(=j)をアドレス信号A
19として管理テーブル19をアクセスし、メモリ内セ
ル数CNTj を1インクリメントし、直前到着セルへの
ポインタ値Npj を現時刻ポインタ値Cpに更新する。
The process of updating various information in step 108 is as follows. The first bridge memory 14 is accessed using the current time pointer value Cp (= s) as the address signal A14, and the channel number CHNO (= j) extracted by the header extraction circuit 11 is set to the arriving channel number CH
In Ps, 0 is written in the time offset value OFs, 0 is written in the excess cell flag OVs, and 1 is written in the valid display flag ENs.
Further, the second bridge memory 15 is accessed by using the pointer value Npj (specific value is t: see FIG. 10) to the immediately preceding arriving cell as the address signal A14, and the next cell pointer Nxt is set via the bus B15. Current time pointer value Cp
Update to Further, the channel number CHNO (= j) extracted by the header extraction circuit 11 is stored in the address signal A.
In step 19, the management table 19 is accessed, the number of cells in memory CNTj is incremented by 1, and the pointer value Npj to the immediately preceding cell is updated to the current time pointer value Cp.

【0061】メモリ内セル数CNTj が契約された許容
最大セル数Xj から1を減じた値X1j 以上の場合には
(ステップ107で否定結果)、演算回路18から出力
された差分値Dと、セル遅延揺らぎを考慮しない時間規
定値T1j とを比較する(ステップ109)。
If the number of cells CNTj in the memory is equal to or larger than the contracted maximum allowable cell number Xj minus 1 (No at step 107), the difference value D output from the arithmetic circuit 18 and the cell A comparison is made with a specified time value T1j that does not consider delay fluctuations (step 109).

【0062】その結果、差分値Dがセル遅延揺らぎを考
慮しない時間規定値T1j 以上の場合には、違反無しと
判定し、各種情報の更新処理を行ない、通過を指示する
廃棄制御信号DISを廃棄制御回路13に出力して一連
の違反判定処理を終了する(ステップ110、10
6)。
As a result, when the difference value D is equal to or greater than the specified time value T1j not considering the cell delay fluctuation, it is determined that there is no violation, the various information is updated, and the discard control signal DIS instructing the passage is discarded. The data is output to the control circuit 13 and a series of violation determination processing ends (steps 110 and 10).
6).

【0063】ステップ110による各種情報の更新処理
は以下の通りである。現時刻ポインタ値Cp(=s)を
アドレス信号A14として第1のブリッジメモリ14を
アクセスし、ヘッダ抽出回路11によって抽出されたチ
ャネル番号CHNO(=j)を既到着チャネル番号CH
Ps に、0を時間オフセット値OFs に、0を超過セル
フラグOVs に、1を有効表示フラグENs に書き込
む。また、(Xj −1)個前に到着したセルの到着時刻
を表すポインタ値Xpj (=n)をアドレス信号A14
として第1のブリッジメモリ14をアクセスし、1を超
過セルフラグOVn に書き込む。さらに、直前到着セル
へのポインタ値Npj (=t)をアドレス信号A14と
して第2のブリッジメモリ15をアクセスし、バスB1
5を介して、次セルポインタNxt を現時刻ポインタ値
Cpに更新する。さらにまた、ヘッダ抽出回路11によ
って抽出されたチャネル番号CHNO(=j)をアドレ
ス信号A19として管理テーブル19をアクセスし、メ
モリ内セル数CNTj を1インクリメントし、(Xj −
1)個前に到着したセルの到着時刻を表すポインタ値X
pj を次セルポインタ値Nxn に、直前到着セルへのポ
インタ値Npj を現時刻ポインタ値Cpに更新する。
The process of updating various information in step 110 is as follows. The first bridge memory 14 is accessed using the current time pointer value Cp (= s) as the address signal A14, and the channel number CHNO (= j) extracted by the header extraction circuit 11 is set to the arriving channel number CH
In Ps, 0 is written in the time offset value OFs, 0 is written in the excess cell flag OVs, and 1 is written in the valid display flag ENs. Further, a pointer value Xpj (= n) representing the arrival time of the cell arriving (Xj -1) cells before is given by the address signal A14.
To access the first bridge memory 14 and write 1 to the excess cell flag OVn. Further, the second bridge memory 15 is accessed by using the pointer value Npj (= t) to the immediately preceding cell as the address signal A14, and the bus B1
5, the next cell pointer Nxt is updated to the current time pointer value Cp. Furthermore, the management table 19 is accessed by using the channel number CHNO (= j) extracted by the header extraction circuit 11 as the address signal A19, and the number of cells CNTj in the memory is incremented by one, and (Xj−
1) Pointer value X indicating the arrival time of the cell that arrived immediately before
pj is updated to the next cell pointer value Nxn, and the pointer value Npj to the immediately preceding cell is updated to the current time pointer value Cp.

【0064】差分値Dがセル遅延揺らぎを考慮しない時
間規定値T1j 未満の場合には(ステップ109で否定
結果)、差分値Dとセル遅延揺らぎを考慮した時間規定
値T2j とを比較する(ステップ111)。
If the difference value D is less than the time stipulated value T1j that does not take cell delay fluctuation into account (negative result in step 109), the difference value D is compared with the time stipulated value T2j that takes cell delay fluctuation into account (step S1). 111).

【0065】差分値Dがセル遅延揺らぎを考慮した時間
規定値T2j 以上の場合には、違反無しと判定し、各種
情報の更新処理を行ない、通過を指示する廃棄制御信号
DISを廃棄制御回路13に出力して一連の違反判定処
理を終了する(ステップ112、106)。
If the difference value D is equal to or greater than the specified time value T2j in consideration of the cell delay fluctuation, it is determined that there is no violation, the various information is updated, and the discard control signal DIS instructing the passage is transmitted to the discard control circuit 13. To terminate the series of violation determination processing (steps 112 and 106).

【0066】上述したステップ109及びステップ11
1を違反判定処理に含めるようにしたのは、以下のよう
にセル遅延揺らぎを考慮したためである。
Steps 109 and 11 described above
The reason why 1 is included in the violation determination processing is that the cell delay fluctuation is considered as follows.

【0067】差分値Dは、上述したように、現時刻ポイ
ンタ値Cpから、(Xj −1)個前に到着したセルの到
着時刻を表すポインタ値Xpj と、(Xj −1)個前に
到着したセルに対する時間オフセット値OFj とを減算
した値Cp−Xpj −OFjである。ここで、値Cp−
Xpj は、チャネルjについての今回の到着セルを含め
て契約された許容最大セル数Xj 個のセルが到着するの
に要した時間である。従って、単純には、この所要時間
Cp−Xpj が契約された時間規定値T1j より長けれ
ばセル流の速度が契約より遅くて問題ないということが
できる。しかし、セル遅延揺らぎによって、網加入者が
トラフィック契約を遵守しても、当該セル流量監視回路
10にXj 個のセルが到着する時間Cp−Xpj が契約
された時間規定値T1j 未満(契約速度より高速)とな
ることがある。そこで、このようなときには、セル遅延
揺らぎを考慮した時間規定値T2j との大小比較を通じ
て救済することとした。しかし、契約された許容最大セ
ル数Xj 個のセルが到着するのに要した時間Cp−Xp
j と、セル遅延揺らぎを考慮した時間規定値T2jとを
単に大小比較した場合には、セル遅延揺らぎで生じるこ
とがある程度の速度違反を行なっている場合にも違反を
見逃すことになる。そこで、セル遅延揺らぎの量を反映
させた情報である時間オフセット値OFj を違反判定に
導入することとした。
As described above, the difference value D is, as described above, a pointer value Xpj representing the arrival time of the cell arriving (Xj -1) before the current time pointer value Cp, and a pointer value Xpj arriving (Xj -1) before Cp-Xpj-OFj obtained by subtracting the time offset value OFj for the calculated cell. Here, the value Cp−
Xpj is the time required for arrival of the contracted maximum allowable cell number Xj cells including the currently arriving cell for channel j. Therefore, simply, if the required time Cp-Xpj is longer than the contracted time specified value T1j, it can be said that the cell flow speed is lower than the contract and there is no problem. However, even if the network subscriber complies with the traffic contract due to the cell delay fluctuation, the time Cp-Xpj at which Xj cells arrive at the cell flow rate monitoring circuit 10 is less than the contracted time specified value T1j (from the contracted speed). High speed). Therefore, in such a case, the relief is made by comparing the magnitude with the specified time value T2j in consideration of the cell delay fluctuation. However, the time Cp-Xp required for the maximum number of contracted cells Xj to arrive is Cp-Xp
If j is simply compared in magnitude with the specified time value T2j in consideration of the cell delay fluctuation, the violation will be missed even when a certain degree of speed violation occurs due to the cell delay fluctuation. Therefore, the time offset value OFj, which is information reflecting the amount of cell delay fluctuation, is introduced into the violation determination.

【0068】ステップ112による各種情報の更新処理
は以下の通りである。現時刻ポインタ値Cp(=s)を
アドレス信号A14として第1のブリッジメモリ14を
アクセスし、ヘッダ抽出回路11によって抽出されたチ
ャネル番号CHNO(=j)を既到着チャネル番号CH
Ps に、演算回路18から出力されたCDV補正オフセ
ット値OFCDVを時間オフセット値OFs に、0を時
間オフセット値OFsに、0を超過セルフラグOVs
に、1を有効表示フラグENs に書き込む。また、(X
j −1)個前に到着したセルの到着時刻を表すポインタ
値Xpj (=n)をアドレス信号A14として第1のブ
リッジメモリ14をアクセスし、1を超過セルフラグO
Vn に書き込む。さらに、直前到着セルへのポインタ値
Npj (=t)をアドレス信号A14として第2のブリ
ッジメモリ15をアクセスし、バスB15を介して、次
セルポインタNxt を現時刻ポインタ値Cpに更新す
る。さらにまた、ヘッダ抽出回路11によって抽出され
たチャネル番号CHNO(=j)をアドレス信号A19
として管理テーブル19をアクセスし、メモリ内セル数
CNTj を1インクリメントし、(Xj −1)個前に到
着したセルの到着時刻を表すポインタ値Xpj を次セル
ポインタ値Nxn に、直前到着セルへのポインタ値Np
j を現時刻ポインタ値Cpに更新する。
The process of updating various information in step 112 is as follows. The first bridge memory 14 is accessed using the current time pointer value Cp (= s) as the address signal A14, and the channel number CHNO (= j) extracted by the header extraction circuit 11 is set to the arriving channel number CH
Ps, the CDV correction offset value OFCDV output from the arithmetic circuit 18 is set to the time offset value OFs, 0 is set to the time offset value OFs, and 0 is set to the excess cell flag OVs.
Is written into the valid display flag ENs. Also, (X
j-1) The first bridge memory 14 is accessed using the pointer value Xpj (= n) representing the arrival time of the cell that arrived the previous time as the address signal A14, and 1 is set as the excess cell flag O
Write to Vn. Further, the second bridge memory 15 is accessed using the pointer value Npj (= t) to the immediately preceding arrival cell as the address signal A14, and the next cell pointer Nxt is updated to the current time pointer value Cp via the bus B15. Furthermore, the channel number CHNO (= j) extracted by the header extraction circuit 11 is stored in the address signal A19.
, The number of cells CNTj in the memory is incremented by one, the pointer value Xpj representing the arrival time of the cell arriving (Xj -1) before is set to the next cell pointer value Nxn, and Pointer value Np
j is updated to the current time pointer value Cp.

【0069】上述したステップ111の判断によって、
差分値Dがセル遅延揺らぎを考慮した時間規定値T2j
未満という結果を得ると、セル遅延揺らぎを考慮しても
今回のセル到着は違反であると判定し、現時刻ポインタ
値Cp(=s)をアドレス信号A14として第1のブリ
ッジメモリ14をアクセスし、0を有効表示フラグEN
s に書き込み、廃棄を指示する廃棄制御信号DISを廃
棄制御回路13に出力して一連の違反判定処理を終了す
る(ステップ113、114)。
According to the determination at step 111 described above,
The difference value D is a specified time value T2j in consideration of the cell delay fluctuation.
If a result of less than is obtained, it is determined that the current cell arrival is a violation even in consideration of the cell delay fluctuation, and the first bridge memory 14 is accessed using the current time pointer value Cp (= s) as the address signal A14. , 0 valid display flag EN
s, and outputs a discard control signal DIS instructing discard to the discard control circuit 13 to end a series of violation determination processes (steps 113 and 114).

【0070】図10は、制御・判定回路16が実行する
メモリからのセル情報排出処理をフローチャート的に示
したものであり、制御・判定回路16がハードウェア的
に実現されている場合でもほぼこのような処理を行な
う。セル情報排出処理は、格納時間が時間規定値Ti と
なり得る最大時間Tmax を経過した、第1及び第2のブ
リッジメモリ14及び15に格納されている到着セル情
報を排出させるものであって、例えば、上述した違反判
定処理に引き続いて実行される。
FIG. 10 is a flow chart showing the process of discharging cell information from the memory executed by the control / judgment circuit 16. Even when the control / judgment circuit 16 is realized by hardware, this processing is almost completed. Such processing is performed. The cell information discharging process is for discharging the arriving cell information stored in the first and second bridge memories 14 and 15 when the storage time has exceeded the maximum time Tmax that can be the specified time value Ti. This is executed following the above-described violation determination processing.

【0071】セル情報排出処理を開始するとまず、現時
刻ポインタ値Cpと、時間規定値Ti となり得る最大時
間Tmax とを加算した値Lpを求め、この加算値Lp
(具体的値をvとする:図10参照)をアドレス信号A
14として第1のブリッジメモリ14及び第2のブリッ
ジメモリ15をアクセスし、バスB14を介して既到着
チャネル番号CHPv 、超過セルフラグOVv 、有効表
示フラグENv を読出すと共に、バスB15を介して次
セルポインタNxv を読出す(ステップ120、12
1)。
When the cell information discharging process is started, first, a value Lp obtained by adding the current time pointer value Cp and the maximum time Tmax that can be the specified time value Ti is obtained, and this added value Lp
(Specify a specific value v: see FIG. 10).
14, the first bridge memory 14 and the second bridge memory 15 are accessed, the arriving channel number CHPv, the excess cell flag OVv, and the valid display flag ENv are read out via the bus B14, and the next cell is read out via the bus B15. The pointer Nxv is read (steps 120 and 12).
1).

【0072】そして、読み出された有効表示フラグEN
v が0であるか否かを判断する(ステップ122)。
Then, the read valid display flag EN is read out.
It is determined whether or not v is 0 (step 122).

【0073】読み出された有効表示フラグENv が0で
あれば、読み出された到着セル情報は無効であると判断
し、何等処理を行なうことなく、一連のセル情報排出処
理を終了する。
If the read valid display flag ENv is 0, it is determined that the read arrival cell information is invalid, and the series of cell information discharge processing ends without performing any processing.

【0074】一方、有効表示フラグENv が1であれ
ば、さらに読み出された超過セルフラグOVv が0であ
るか否かを判断する(ステップ123)。超過セルフラ
グOVv が1であれば、読み出された既到着チャネル番
号CHPv (チャネルwとする)をアドレス信号A19
として管理テーブル19をアクセスし、メモリ内セル数
CNTw を1デクリメントして一連のセル情報排出処理
を終了する(ステップ124)。超過セルフラグOVv
が0であれば、既到着チャネル番号CHPv をアドレス
信号A19として管理テーブル19をアクセスし、メモ
リ内セル数CNTw を1デクリメントすると共に、(X
w −1)個前に到着したセルの到着時刻を表すポインタ
値Xpw を次セルポインタ値Nxv (具体的値をyとす
る:図10参照)にして一連のセル情報排出処理を終了
する(ステップ125)。
On the other hand, if the valid display flag ENv is 1, it is further determined whether or not the read excess cell flag OVv is 0 (step 123). If the excess cell flag OVv is 1, the already-arrived channel number CHPv (referred to as channel w) that has been read is used as the address signal A19.
Then, the management table 19 is accessed, the number of cells in memory CNTw is decremented by 1, and a series of cell information discharge processing ends (step 124). Excess cell flag OVv
Is 0, the management table 19 is accessed using the already-arrived channel number CHPv as the address signal A19, and the number of cells CNTw in the memory is decremented by one, and (X
(w-1) The pointer value Xpw representing the arrival time of the cell that has arrived the previous cell is set to the next cell pointer value Nxv (specific value is y: see FIG. 10), and a series of cell information discharge processing is completed (step). 125).

【0075】このような管理テーブル19の更新処理
は、第1及び第2のブリッジメモリ14及び15内のセ
ル数を正しく計数しておくと共に、このセル情報の排出
処理によってもポインタ値Xpw が正しく(Xw-1 )個
前の有効なセル情報(又は最も古い有効なセル情報)の
位置を指し示めさせるために行なわれている。
In the process of updating the management table 19, the number of cells in the first and second bridge memories 14 and 15 is correctly counted, and the pointer value Xpw is also correctly determined by the process of discharging the cell information. This is performed to indicate the position of (Xw-1) previous valid cell information (or the oldest valid cell information).

【0076】次に、網利用者(チャネルj)が契約を遵
守した最大速度でセルを出力し、このセル流の速度が、
実施例のセル流量監視回路10の上流のセル多重化構成
で生じたセル遅延揺らぎの影響を受けて増大方向に揺ら
いで、実施例のセル流量監視回路10に到着した場合の
動作を説明する。
Next, the network user (channel j) outputs a cell at the maximum speed that complies with the contract, and the speed of this cell flow is
An operation in the case of arriving at the cell flow rate monitoring circuit 10 according to the embodiment while oscillating in the increasing direction under the influence of the cell delay fluctuation generated in the cell multiplexing configuration upstream of the cell flow rate monitoring circuit 10 according to the embodiment will be described.

【0077】最初のセルが到着したときは、制御・判定
回路16は違反なしとしてこのセルを通過させる(ステ
ップ100〜106)。また、2番目のセルからXj −
1番目のセルが到着するまでも、制御・判定回路16は
違反なしとしてこのセルを通過させる(ステップ100
〜104、107、108、106)。このような状態
では、上述したステップ105又は108による情報更
新処理が実行され、(Xj −1)個前に到着したセルの
到着時刻を示すポインタ値Xpj は最初のセルが到着し
た現時刻カウンタ17の値Cp を維持する。
When the first cell arrives, the control / judgment circuit 16 passes this cell without any violation (steps 100 to 106). Also, from the second cell, Xj−
Even before the first cell arrives, the control / judgment circuit 16 passes this cell without any violation (step 100).
To 104, 107, 108, 106). In such a state, the information updating process in step 105 or 108 described above is executed, and the pointer value Xpj indicating the arrival time of the cell arriving before (Xj -1) is set to the current time counter 17 when the first cell arrives. Is maintained.

【0078】Xj 番目のセルが到着したときに、ステッ
プ109の判断が初めて行なわれる。このとき取り出し
た時間オフセット値OFn は最初のセルに対するもので
あって0であるので、差分値DはXj 個のセルが到着す
るに要した時間そのままとなり、上述したセル遅延揺ら
ぎのために、セル遅延揺らぎを考慮しない時間規定値T
1j よりは小さくなる。従って、この場合には、差分値
Dは、セル遅延揺らぎを考慮した時間規定値T2j とも
比較される(ステップ111)。しかし、今回のセル送
出は契約が遵守されているので、セル遅延揺らぎを考慮
した時間規定値T2j よりは当然に大きくなって、制御
・判定回路16は違反なしとしてこのセルを通過させる
(ステップ112、106)。なお、この際に行なわれ
る情報の更新動作によって、セル遅延揺らぎを考慮しな
い時間規定値T1j (契約時間)と、差分値D(このと
きはXj 個のセルが到着するに要した時間そのもの)と
の差がXj 番目の到着セルについての時間オフセット値
OFs として設定される。
When the Xj-th cell arrives, the determination in step 109 is made for the first time. Since the time offset value OFn taken out at this time is for the first cell and is 0, the difference value D remains the time required for Xj cells to arrive. Specified time T without considering delay fluctuation
1j. Therefore, in this case, the difference value D is also compared with the time specification value T2j taking cell delay fluctuation into consideration (step 111). However, since the cell transmission this time is in compliance with the contract, the cell transmission is naturally larger than the time stipulated value T2j in consideration of the cell delay fluctuation, and the control / determination circuit 16 passes this cell without any violation (step 112). , 106). Note that, by the information updating operation performed at this time, a time stipulated value T1j (contract time) that does not take cell delay fluctuation into consideration and a difference value D (in this case, the time itself required for Xj cells to arrive) are obtained. Is set as the time offset value OFs for the Xj-th arriving cell.

【0079】このような動作は、Xj 番目の到着セル
が、現時点で到着したセルの(Xj −1)個前に到着し
たセルになるまで繰り返される。
Such an operation is repeated until the Xj-th arriving cell becomes a cell arriving (Xj -1) before the cell arriving at the present time.

【0080】Xj 番目の到着セルが、現時点で到着した
セルの(Xj −1)個前に到着したセルになったときに
は、差分値Dは、Xj 個のセルが到着するに要した時間
から時間オフセット値OFn を減じたものとなる。その
ため、ステップ111による判断は、セル遅延揺らぎに
よる許容値(T1j −T2j )を設けた甘えを排除した
厳格なものとなる。しかし、今回のセル流は、網利用者
(チャネルj)が契約を遵守して送出しているものであ
るので、時間オフセット値OFn がセル遅延揺らぎ許容
値(T1j −T2j )より大きくなることはほとんど生
じることがなく、セルが廃棄されることはほとんど考え
られない。
When the Xj-th arriving cell becomes the cell arriving (Xj -1) cells before the cell arriving at the present time, the difference value D is calculated from the time required for the Xj cells to arrive. This is a value obtained by subtracting the offset value OFn. Therefore, the determination in step 111 is strict, excluding the provision of the tolerance (T1j-T2j) due to the cell delay fluctuation. However, since the current cell flow is transmitted by the network user (channel j) in compliance with the contract, the time offset value OFn may be larger than the allowable value of cell delay fluctuation (T1j-T2j). Few occur and it is unlikely that cells will be discarded.

【0081】以上、トラフィック契約を契約速度いっぱ
いで遵守した場合について説明した。以上の説明から類
推できるように、セル遅延揺らぎ許容値より小さい程度
に契約を僅かに違反した場合には、その速度の、又は、
速度が遅くなったセル流部分では廃棄は生じないが、揺
らぎによって速度が大きくなったセル流部分ではセル廃
棄が頻繁に生じる。また、セル遅延揺らぎ許容値以上に
契約を違反した場合には、セル遅延揺らぎで速度が多少
遅くなったセル流部分があったとしても全体を通してセ
ルの廃棄が頻繁に生じる。
The case where the traffic contract is complied with at the full contract speed has been described above. As can be inferred from the above explanation, if the contract is slightly violated to the extent that it is smaller than the allowable value of the cell delay fluctuation, the speed or
No discard occurs in the cell flow portion where the speed is reduced, but cell discard frequently occurs in the cell flow portion where the speed is increased due to fluctuation. Further, when the contract is violated beyond the allowable value of the cell delay fluctuation, the cell is frequently discarded throughout even if there is a cell flow part whose speed is slightly reduced due to the cell delay fluctuation.

【0082】従って、上記実施例によれば、単に、セル
遅延揺らぎに対する許容時間を設けるだけでなく、時間
オフセット値を算出してセル遅延揺らぎの情報をそれ以
降の違反判定に反映させることとしたので、上流装置で
セル流にセル遅延揺らぎが生じても、精度良く違反判定
を行なうことができる、網資源を有効に利用できるセル
流量監視回路を実現できる。
Therefore, according to the above embodiment, not only the allowable time for the cell delay fluctuation is set, but also the time offset value is calculated and the information of the cell delay fluctuation is reflected in the subsequent violation determination. Therefore, even if a cell delay fluctuation occurs in the cell flow in the upstream device, it is possible to realize a cell flow monitoring circuit that can accurately determine a violation and that can effectively use network resources.

【0083】また、上記実施例の場合、セル到着履歴情
報を保持するブリッジメモリを2個のブリッジメモリに
よって構成したので、ブリッジメモリに対するアクセス
回数を減少させることができ、アクセス速度の遅いメモ
リを利用することが可能となる。
In the above embodiment, since the bridge memory holding the cell arrival history information is composed of two bridge memories, the number of accesses to the bridge memory can be reduced, and a memory having a low access speed can be used. It is possible to do.

【0084】なお、本発明は、上記実施例に限定される
ものではなく、種々の変形が可能なものである。例え
ば、セルの到着履歴を保持するブリッジメモリを1個や
3個にしたものや、ブリッジメモリに格納する履歴情報
をチャネル毎に整理したものや、ブリッジメモリや管理
テーブルの格納情報を変更したものなどを挙げることが
できる。
The present invention is not limited to the above embodiments, but can be variously modified. For example, one or three bridge memories that hold the arrival history of cells, one in which the history information stored in the bridge memory is arranged for each channel, or one in which the storage information of the bridge memory or the management table is changed And the like.

【0085】また、本発明は、ATM交換・伝送システ
ムに適用システムが限定されるものではなく、セル(固
定長パケット)を利用する交換・伝送システムに広く適
用することができる。
The present invention is not limited to a system applied to an ATM switching / transmission system, but can be widely applied to a switching / transmission system using cells (fixed length packets).

【0086】[0086]

【発明の効果】以上のように、本発明によれば、時間T
当たりに許容できる最大セル数Xで規定されたトラヒッ
ク契約に、実際のセル流が違反しているか否かを、規定
されたセル遅延揺らぎ許容値を利用して常時監視制御す
るセル流量監視回路を、セルの到着履歴情報を保持する
セル到着履歴情報保持手段と、このセル到着履歴情報保
持手段の保持内容を利用して、現時点で違反か否かが判
定される処理対象セルをX個目としたX個のセルが到着
するのに要した時間から、処理対象セルより(X−1)
個前に到着したセルに付随する時間オフセット値を減じ
た到着時間間隔を求める到着時間間隔計算手段と、この
到着時間間隔計算手段によって求められた到着時間間隔
が、時間Tからセル遅延揺らぎ許容値を減じた値より小
さい場合にのみ違反であると判定する違反判定手段と、
上記到着時間間隔計算手段によって求められた到着時間
間隔が時間T未満で、かつ、時間Tからセル遅延揺らぎ
許容値を減じた値以上の場合に、時間Tから到着時間間
隔を減じた値を算出して処理対象セルに付随するオフセ
ット値として上記セル到着履歴情報保持手段に保持させ
る時間オフセット計算手段とを有するように構成したの
で、上流装置でセル流にセル遅延揺らぎが生じても、精
度良く違反判定を行なうことができ、網資源を有効に利
用できるようになる。
As described above, according to the present invention, the time T
A cell flow monitoring circuit that constantly monitors and controls whether or not an actual cell flow violates a traffic contract defined by the maximum number X of cells that can be allowed per unit by using a specified allowable value of cell delay fluctuation. A cell arrival history information holding means for holding cell arrival history information, and an X-th cell to be processed which is determined to be a violation at the present time by using the contents held by the cell arrival history information holding means. (X-1) from the processing target cell based on the time required for the X cells to arrive.
An arrival time interval calculating means for obtaining an arrival time interval obtained by subtracting a time offset value associated with a cell which has arrived immediately before; and an arrival time interval obtained by the arrival time interval calculating means, which is a cell delay fluctuation tolerance from time T. Violation determining means for determining a violation only when the value is smaller than
When the arrival time interval obtained by the arrival time interval calculation means is less than the time T and is equal to or greater than a value obtained by subtracting the allowable value of the cell delay fluctuation from the time T, a value obtained by subtracting the arrival time interval from the time T is calculated. And the time offset calculating means for holding the cell arrival history information holding means as an offset value associated with the cell to be processed, so that even if a cell delay fluctuation occurs in the cell flow in the upstream device, it can be accurately performed. Violation determination can be performed, and network resources can be used effectively.

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

【図1】実施例の構成を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of an embodiment.

【図2】従来の構成を示すブロック図である。FIG. 2 is a block diagram showing a conventional configuration.

【図3】実施例の到着セルから取り出すチャネル番号情
報の説明に供するセルフォーマット図である。
FIG. 3 is a cell format diagram for explaining channel number information extracted from an arrival cell according to the embodiment;

【図4】実施例の管理テーブルの構成を示す説明図であ
る。
FIG. 4 is an explanatory diagram illustrating a configuration of a management table according to the embodiment.

【図5】実施例の第1のブリッジメモリの構成を示す説
明図である。
FIG. 5 is an explanatory diagram illustrating a configuration of a first bridge memory according to the embodiment;

【図6】実施例の第2のブリッジメモリの構成を示す説
明図である。
FIG. 6 is an explanatory diagram illustrating a configuration of a second bridge memory according to the embodiment;

【図7】実施例の演算回路の詳細構成を示すブロック図
である。
FIG. 7 is a block diagram illustrating a detailed configuration of an arithmetic circuit according to the embodiment.

【図8】実施例の違反判定処理を示すフローチャート
(その1)である。
FIG. 8 is a flowchart (part 1) illustrating a violation determination process according to the embodiment;

【図9】実施例の違反判定処理を示すフローチャート
(その2)である。
FIG. 9 is a flowchart (part 2) illustrating a violation determination process of the embodiment.

【図10】実施例のブリッジメモリのアドレスと処理と
の関係を示す説明図である。
FIG. 10 is an explanatory diagram illustrating a relationship between an address of a bridge memory and a process according to the embodiment;

【図11】実施例のセル情報排出処理を示すフローチャ
ートである。
FIG. 11 is a flowchart illustrating a cell information discharging process according to the embodiment.

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

10…セル流量監視回路、11…ヘッダ抽出回路、14
…第1のブリッジメモリ、15…第2のブリッジメモ
リ、16…制御・判定回路、17…現時刻カウンタ、1
8…演算回路、19…管理テーブル、Cp…現時刻ポイ
ンタ値、Xpj …チャネルjについての(Xj −1)個
前に到着したセルへのポインタ値、OFj…時間オフセ
ット値、T1j …セル遅延揺らぎ(CDV)を考慮しな
い時間規定値。
10: cell flow rate monitoring circuit, 11: header extraction circuit, 14
... first bridge memory, 15 ... second bridge memory, 16 ... control / judgment circuit, 17 ... current time counter, 1
8 arithmetic circuit, 19 management table, Cp current pointer value, Xpj pointer value to the cell arriving (Xj -1) before channel j, OFj time offset value, T1j cell delay fluctuation A specified time value that does not consider (CDV).

フロントページの続き (56)参考文献 特開 平4−259143(JP,A) 特開 平5−191428(JP,A) 特開 平5−207051(JP,A) 特開 平5−260072(JP,A) 特開 平5−284173(JP,A) 特開 平5−327756(JP,A) 電子情報通信学会春季全国大会講演論 文集,B−674(1992−3−15),P. 3−241 電子情報通信学会秋季全国大会講演論 文集,B−478(1992−9−15),P. 3−144 電子情報通信学会技術研究報告,SS E93−40(1993−9−30),P.7−12 電子情報通信学会技術研究報告,SS E93−39(1993−9−30),P.1−6 (58)調査した分野(Int.Cl.6,DB名) H04L 12/28 H04L 12/56Continuation of the front page (56) References JP-A-4-259143 (JP, A) JP-A-5-191428 (JP, A) JP-A-5-207051 (JP, A) JP-A-5-260072 (JP) , A) JP-A-5-284173 (JP, A) JP-A-5-327756 (JP, A) Proceedings of the IEICE Spring National Convention, B-674 (1992-3-15), p. −241 Proceedings of the IEICE Autumn National Convention, B-478 (1992-9-15), P. 3-144 IEICE Technical Report, SS E93-40 (1993-9-30), . 7-12 IEICE Technical Report, SSE 93-39 (1993-9-30), p. 1-6 (58) Field surveyed (Int. Cl. 6 , DB name) H04L 12/28 H04L 12/56

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 時間T当たりに許容できる最大セル数X
で規定されたトラヒック契約に、実際のセル流が違反し
ているか否かを、規定されたセル遅延揺らぎ許容値を利
用して常時監視制御するセル流量監視回路であって、 セルの到着履歴情報を保持するセル到着履歴情報保持手
段と、 このセル到着履歴情報保持手段の保持内容を利用して、
現時点で違反か否かが判定される処理対象セルをX個目
としたX個のセルが到着するのに要した時間から、処理
対象セルより(X−1)個前に到着したセルに付随する
時間オフセット値を減じた到着時間間隔を求める到着時
間間隔計算手段と、 この到着時間間隔計算手段によって求められた到着時間
間隔が、時間Tからセル遅延揺らぎ許容値を減じた値よ
り小さい場合にのみ違反であると判定する違反判定手段
と、 上記到着時間間隔計算手段によって求められた到着時間
間隔が時間T未満で、かつ、時間Tからセル遅延揺らぎ
許容値を減じた値以上の場合に、時間Tから到着時間間
隔を減じた値を算出して処理対象セルに付随する時間オ
フセット値として上記セル到着履歴情報保持手段に保持
させる時間オフセット計算手段とを有することを特徴と
したセル流量監視回路。
1. The maximum number of cells X permissible per time T
A cell flow monitoring circuit that constantly monitors and controls whether or not an actual cell flow violates a traffic contract specified in, using a specified cell delay fluctuation allowable value; Cell arrival history information holding means for holding the cell arrival history information holding means,
Attach to the cell arriving (X-1) cells ahead of the cell to be processed from the time it took for the X cells to arrive at the X-th cell to be processed for which it is determined at this time whether or not it is a violation. An arrival time interval calculating means for calculating an arrival time interval obtained by subtracting a time offset value to be calculated; and an arrival time interval obtained by the arrival time interval calculating means, wherein the arrival time interval is smaller than a value obtained by subtracting a cell delay fluctuation allowable value from the time T. Only when the arrival time interval obtained by the arrival time interval calculation means is less than the time T and is equal to or greater than a value obtained by subtracting the permissible cell delay fluctuation value from the time T, Time offset calculating means for calculating a value obtained by subtracting the arrival time interval from the time T and holding the calculated value as a time offset value associated with the processing target cell in the cell arrival history information holding means. Cell flow monitoring circuit characterized.
JP30868192A 1992-11-18 1992-11-18 Cell flow monitoring circuit Expired - Fee Related JP2776707B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30868192A JP2776707B2 (en) 1992-11-18 1992-11-18 Cell flow monitoring circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30868192A JP2776707B2 (en) 1992-11-18 1992-11-18 Cell flow monitoring circuit

Publications (2)

Publication Number Publication Date
JPH06164625A JPH06164625A (en) 1994-06-10
JP2776707B2 true JP2776707B2 (en) 1998-07-16

Family

ID=17984012

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30868192A Expired - Fee Related JP2776707B2 (en) 1992-11-18 1992-11-18 Cell flow monitoring circuit

Country Status (1)

Country Link
JP (1) JP2776707B2 (en)

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
電子情報通信学会技術研究報告,SSE93−39(1993−9−30),P.1−6
電子情報通信学会技術研究報告,SSE93−40(1993−9−30),P.7−12
電子情報通信学会春季全国大会講演論文集,B−674(1992−3−15),P.3−241
電子情報通信学会秋季全国大会講演論文集,B−478(1992−9−15),P.3−144

Also Published As

Publication number Publication date
JPH06164625A (en) 1994-06-10

Similar Documents

Publication Publication Date Title
US5432713A (en) Usage parameter control circuit for effecting policing control in an ATM network
US6487202B1 (en) Method and apparatus for maximizing memory throughput
EP0499150B1 (en) Method of and system for controlling packet-rate in communication network
US5555264A (en) Methods and devices for prioritizing in handling buffers in packet networks
JP3162975B2 (en) ATM switch using discard priority control management system
US5726987A (en) Congestion-monitor control apparatus and switching system
US6108303A (en) Method and apparatus for traffic control in a cell-based network
US5732082A (en) System and method for multi-frame received queuing with sorting in an asynchronous transfer mode (ATM) system
JP2776707B2 (en) Cell flow monitoring circuit
JP2964968B2 (en) Shaping processing apparatus and shaping processing method
EP0753980A2 (en) Cell interval determination apparatus for usage parameter control
US6075790A (en) Asynchronous transfer mode system for, and method of, writing a cell payload between a control queue on one side of a system bus and a status queue on the other side of the system bus
JP4258996B2 (en) Scheduling device and cell communication device
JP3144386B2 (en) Back pressure control method and device
JP2851744B2 (en) Policing circuit
JP3072175B2 (en) UPC circuit
JP3356633B2 (en) ATM cell rate monitoring device and ATM cell rate monitoring method
JP2869080B2 (en) Buffer control device
JP2000341295A (en) Atm system
JPH07321807A (en) Communication control equipment
CN113328960B (en) Queue cache management method, device, storage medium and equipment
JP3501603B2 (en) Arithmetic circuit failure monitoring method
KR100256679B1 (en) Atm cell segmentation
JPH05110585A (en) Polishing function monitoring system
KR0129609B1 (en) Method for adjusting inter-cell distance of upc

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees