JPH05136808A - Time managing system - Google Patents

Time managing system

Info

Publication number
JPH05136808A
JPH05136808A JP29601391A JP29601391A JPH05136808A JP H05136808 A JPH05136808 A JP H05136808A JP 29601391 A JP29601391 A JP 29601391A JP 29601391 A JP29601391 A JP 29601391A JP H05136808 A JPH05136808 A JP H05136808A
Authority
JP
Japan
Prior art keywords
time
cell
fixed length
length data
counter
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
JP29601391A
Other languages
Japanese (ja)
Inventor
Kenichi Uchino
健一 内野
Jitsuo Takada
実雄 高田
Koichi Kihara
弘一 木原
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 JP29601391A priority Critical patent/JPH05136808A/en
Publication of JPH05136808A publication Critical patent/JPH05136808A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To enable a polishing control even if a cell having the same destination is not generated for more than one period Tck of a clock counter in the polishing control of the cell having plural users. CONSTITUTION:A control part 4 refers to the content of a cell arrival history memory 3 with the counted value of a timing generation circuit 2 (corresponding to user's identifier) as an address. When the number of cells xm generated in elapse time tm from the start of supervisory is not zero, the counted value CTs of (the clock counter 1-previous cell arrival time tp+elapse time tm) is calculated. When it is more than supervisory time width Tm, xm, tp and tm are set to zero When it is not more than Tm, CTs-tp+tm is newly set to tm, and CTs is newly set to tp. Thus, a time update processing is executed at least once for any cell of the users.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ATMセル等の固定長
データが所定時間内に発生する数を測定する装置におけ
る時刻管理方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a time management system in an apparatus for measuring the number of fixed length data such as ATM cells generated within a predetermined time.

【0002】[0002]

【従来の技術】ATM(Asynchronous T
ransfer Mode)網では、ユーザはネットワ
ークへ送出する帯域を申告する。したがって、ユーザが
申告値を越えてATMセル(以下、セルと略す)を送出
した場合は、あらかじめ割り当てられた帯域を越えるセ
ルが流入されることになり、他の呼のサービス品質にも
影響を及ぼすこととなる。
2. Description of the Related Art ATM (Asynchronous T
In the transfer mode) network, the user declares the bandwidth to be sent to the network. Therefore, when the user sends out ATM cells (hereinafter abbreviated as cells) exceeding the declared value, cells exceeding the pre-allocated band will flow in, which will affect the quality of service of other calls. Will affect.

【0003】このため、ユーザの申告帯域を監視する機
能により、ユーザの申告値を越えるセルが網に流入しな
いよう、監視することが必要となる。以後、ユーザの申
告帯域を監視する機能をポリシングと呼ぶこととする。
このポリシング方式の一例を以下に示す。この方式は、
監視パラメータとしてユーザから送信されてくるセル数
を監視する時間単位である監視時間幅Tm、Tm中に存
在が許可される最大セル数Xmを有し、Tm時間内にX
m個を越えるセルが入力されると、その入力セルを違反
セルとみなし、違反セル処理を行うといったものであ
る。
For this reason, it is necessary to monitor by the function of monitoring the declared bandwidth of the user so that cells exceeding the declared value of the user do not flow into the network. Hereinafter, the function of monitoring the user's reported bandwidth will be referred to as policing.
An example of this policing method is shown below. This method
As a monitoring parameter, it has a monitoring time width Tm, which is a time unit for monitoring the number of cells transmitted from the user, and a maximum number of cells Xm allowed to exist in Tm, and X within Tm time.
When more than m cells are input, the input cell is regarded as a violation cell and the violation cell processing is performed.

【0004】ここで、単一ユーザの場合のポリシング制
御について考える。図8にセルフォーマットの概念図、
図9はTm=5,Xm=2とした場合の単一ユーザ時の
ポリシング制御タイムチャート、図10はその動作フロ
ーチャートである。図8に示すように、セルは53バイ
トの固定長を有する。5バイトのヘッダ部は、セルの宛
先情報を持ち、同時にこれはユーザ識別子としても用い
ることができる。48バイトの情報部は、宛先に転送す
る情報(音声、画像、データ)で構成される。そして、
セルシンクは、1セル時間に1度、定期的に発生する信
号である。
Here, consider policing control for a single user. Figure 8 is a conceptual diagram of the cell format.
FIG. 9 is a policing control time chart for a single user when Tm = 5 and Xm = 2, and FIG. 10 is an operation flowchart thereof. As shown in FIG. 8, the cell has a fixed length of 53 bytes. The 5-byte header portion has cell destination information, and at the same time can be used as a user identifier. The 48-byte information section is composed of information (voice, image, data) to be transferred to the destination. And
The cell sync is a signal that is periodically generated once per cell time.

【0005】セルは、セルシンクに同期してポリシング
回路(図示せず)に入力される。ポリシング回路におけ
るポリシング制御は、ユーザの監視時間幅Tmを管理す
る時計カウンタと、Tm中に存在が許可される最大セル
数Xmを管理するセル数カウンタと、これらを制御する
制御部とによって行われる。時計カウンタは、セルシン
クに同期してカウントアップされ、カウンタ値がTmと
なった時にリセットされる。セル数カウンタは、入力セ
ルが存在するとカウントアップされ、時計カウンタリセ
ット時にリセットされる。入力セルは、その時のセル数
カウンタ値がXmであれば違反セルとみなされ、違反セ
ル処理される。違反セル処理には、例えば、永井正武監
修「広帯域ISDN対応ATM通信技術」、P.12
6、(株)トリケップス、1990年11月29日発
行、に記載されているように、各種の処理方式がある
が、ここでは無条件廃棄方式(違反セルと判定されたセ
ルは無条件に廃棄される)とする。
A cell is input to a policing circuit (not shown) in synchronization with a cell sync. The policing control in the policing circuit is performed by a clock counter that manages the monitoring time width Tm of the user, a cell number counter that manages the maximum number of cells Xm allowed to exist during Tm, and a control unit that controls these. .. The clock counter counts up in synchronization with the cell sync and is reset when the counter value reaches Tm. The cell number counter is counted up when there is an input cell and is reset when the clock counter is reset. If the cell number counter value at that time is Xm, the input cell is regarded as a violating cell and is processed as a violating cell. For example, “Broadband ISDN-compatible ATM communication technology” supervised by Masatake Nagai, P. 12
There are various processing methods as described in No. 6, Trikeps Co., Ltd., issued November 29, 1990, but here, there are unconditional disposal methods (cells judged as violating cells are unconditionally discarded. Be done).

【0006】このように、単一ユーザ時のポリシング制
御は簡単に行うことができる。
As described above, the policing control for a single user can be easily performed.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、複数ユ
ーザに対して、前記従来の方法でポリシング制御を行う
と、ユーザ数だけのポリシング制御機能が必要となり、
ハードウェア規模が非常に大きなものとなり、コストが
増大するという問題点があった。本発明は、前記問題点
を解決し、複数種類の固定長データが所定時間内に発生
する数を固定データの種類ごとに測定する装置におい
て、それぞれの固定長データごとに時間を管理する時計
カウンタと固定長データ数を管理するデータ数カウンタ
を必要とせず、そのためコスト及びハードウェアの規模
を非常に小さくできる時刻管理方式を提供することを目
的とする。また、本発明は、時計カウンタの1周期以
上、同一種類の固定長データが発生しなくても、その発
生数の測定を可能とする時刻管理方式を提供することを
目的とする。
However, if policing control is performed for a plurality of users by the conventional method, a policing control function corresponding to the number of users is required.
There was a problem that the hardware scale became very large and the cost increased. The present invention solves the above-mentioned problems, and in a device that measures the number of times a plurality of types of fixed length data occur within a predetermined time for each type of fixed data, a clock counter that manages time for each fixed length data. It is an object of the present invention to provide a time management system that does not require a data number counter for managing the number of fixed-length data items and therefore can significantly reduce the cost and the scale of hardware. It is another object of the present invention to provide a time management method that enables the number of occurrences of fixed-length data of the same type to be measured even if the same type of fixed-length data does not occur for one cycle or more.

【0008】[0008]

【課題を解決するための手段】本発明は、上記の目的を
達成するために、U種類(ただし、Uは2以上の整数)
の固定長データが所定時間内に発生する数を該固定長デ
ータの種類ごとに測定する装置において、固定長データ
のデータ長ごとに発生する第1のタイミング信号を入力
とし、周期Tckで時間をカウントする時計カウンタ
と、第1のタイミング信号とそれに同期したクロック信
号を入力とし、第1のタイミング信号のU/Tck(た
だし、整数でない場合は切上げる)倍の速度の第2のタ
イミング信号と、第2のタイミング信号をクロック入力
としてカウントしたカウンタ値を出力するタイミング作
成回路と、入力固定長データの種類を示すデータをアド
レスとし、前回の固定長データの到着時間tpと、固定
長データの監視を開始してからの経過時間tmと、経過
時間tm中に発生した固定長データの数xmと、あらか
じめ固定長データの種類ごとに設定されている固定長デ
ータの監視時間幅の規定値Tmと、Tm中に存在が許可
される記固定長データの最大数Xmを内容とするメモリ
と、時計カウンタ、タイミング作成回路及びメモリを制
御する制御部を設け、第2のタイミング信号検出時に、
タイミング作成回路のカウンタ値をアドレスとしてメモ
リの内容を参照し、xmが0でなければ時計カウンタの
カウンタ値−tp+tmを計算し、これがTm以上であ
ればxm,tp,tmを0にし、Tm以上でなければカ
ウンタ値−tp+tmを新たにtmとし、かつ、時計カ
ウンタのカウンタ値を新たにtpとするように構成し
た。
In order to achieve the above object, the present invention has U types (where U is an integer of 2 or more).
In a device for measuring the number of fixed length data generated within a predetermined time for each type of the fixed length data, the first timing signal generated for each data length of the fixed length data is input, A clock counter for counting, a first timing signal and a clock signal in synchronization with the first timing signal, and a second timing signal having a speed that is U / Tck (but rounded up if not an integer) times the first timing signal, A timing generation circuit that outputs a counter value that counts the second timing signal as a clock input, data that indicates the type of input fixed-length data as an address, the arrival time tp of the previous fixed-length data, and monitoring of the fixed-length data Of the fixed length data, the number of fixed length data xm generated during the elapsed time tm A fixed value data monitoring time width Tm set for each class, a memory having the maximum number Xm of fixed length data allowed to exist in Tm, a clock counter, a timing generation circuit, and A control unit for controlling the memory is provided, and when the second timing signal is detected,
The content of the memory is referred to by using the counter value of the timing generation circuit as an address, and if xm is not 0, the counter value of the clock counter −tp + tm is calculated. If this is Tm or more, xm, tp, tm are set to 0, and Tm or more Otherwise, the counter value −tp + tm is newly set to tm, and the counter value of the clock counter is newly set to tp.

【0009】[0009]

【作用】本発明によれば、以上のように時刻管理方式を
構成したので、制御部は第2のタイミング信号検出時
に、タイミング作成回路のカウンタ値をアドレスとして
メモリの内容を参照し、xmが0でなければ、時計カウ
ンタのカウンタ値−tp+tmを計算し、これがTm以
上であれば監視時間を経過したことになるため、メモリ
内のxm,tp,tmを0にし、Tm以上でなければ時
計カウンタのカウンタ値−tp+tmを新たにメモリ内
のtmとし、かつ、時計カウンタのカウンタ値を新たに
メモリ内のtpとする。
According to the present invention, since the time management system is configured as described above, when the second timing signal is detected, the control unit refers to the contents of the memory by using the counter value of the timing generation circuit as an address, and xm is If it is not 0, the counter value −tp + tm of the clock counter is calculated, and if it is Tm or more, it means that the monitoring time has elapsed. Therefore, xm, tp, and tm in the memory are set to 0. The counter value −tp + tm of the counter is newly set as tm in the memory, and the counter value of the clock counter is newly set as tp in the memory.

【0010】したがって、どの固定長データに対して
も、時計カウンタの周期Tck中に少なくとも1度は時
刻更新処理が行われることになり、Tck以上固定長デ
ータの発生がなくても、その発生数の測定が可能とな
る。
Therefore, for any fixed-length data, the time update process is performed at least once during the period Tck of the clock counter, and the number of occurrences of fixed-length data is generated even if the fixed-length data is not generated for Tck or more. Can be measured.

【0011】[0011]

【実施例】以下、本発明の実施例について図面を参照し
ながら詳細に説明する。図1は本発明の実施例に係る時
刻管理方式の構成を示すブロック図で、時計カウンタ
1、タイミング作成回路2、セル到着履歴メモリ3及び
制御部4から構成されている。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a time management system according to an embodiment of the present invention, which is composed of a clock counter 1, a timing generation circuit 2, a cell arrival history memory 3 and a control unit 4.

【0012】時計カウンタ1は、セルシンクを入力とし
カウントアップしていく。そして、カウンタ値が1周期
経過するとリセットされ、新たにカウントアップしてい
く。タイミング作成回路2は、セルシンクとセルシンク
に同期したクロックを入力とし、後で示す時刻更新処理
を行うタイミングと時刻更新処理を行うべきユーザの論
理チャネル番号LCNを作成する。セル到着履歴メモリ
3は、入力セルの論理チャネル番号LCNをアドレスと
し、前回セル到着時間tp、監視経過時間tm、tm中
のセル数xm、監視時間幅Tm、Tm中に存在が許可さ
れる最大セル数Xmをデータに持つ。ただし、アドレス
は0からユーザ数(U)−1までとする。制御部4は、
違反セルの判定を行う通常処理と時計カウンタの1周期
(Tck)以上入力セルが存在しない場合の対処のため
設けられている時刻更新処理を行う。この2つの処理
は、シリアルに行っても(順序関係なし)パラレルに行
ってもよい。
The clock counter 1 receives a cell sync as an input and counts up. Then, the counter value is reset when one cycle elapses, and is newly counted up. The timing creation circuit 2 receives the cell sync and the clock synchronized with the cell sync as inputs, and creates the timing for performing the time update processing described later and the logical channel number LCN of the user who should perform the time update processing. The cell arrival history memory 3 uses the logical channel number LCN of the input cell as an address, and has the previous cell arrival time tp, the monitoring elapsed time tm, the number of cells in tm xm, the monitoring time width Tm, and the maximum permitted existence. The number of cells Xm is included in the data. However, the address is from 0 to the number of users (U) -1. The control unit 4
The normal processing for determining a violating cell and the time update processing provided for coping with the case where there is no input cell for one cycle (Tck) or more of the clock counter are performed. These two processes may be performed serially (no order relation) or in parallel.

【0013】図2及び図3は本発明の実施例に係る時刻
管理方式の通常処理フローチャートである。ここでは、
違反セル処理は無条件廃棄方式とした。図2において、
まず、ステップ11でセルシンクの有無を判断し、セル
シンクがあればステップ12に進み、ステップ12で入
力セルが空セルの場合は本処理は行われない。空セルで
ない場合は、ステップ13に示すように入力セルの論理
チャネル番号LCNをアドレスとし、セル到着履歴メモ
リ3を読む。そして、ステップ14で監視経過時間tm
中のセル数xmが0であれば、監視状態にするため、ス
テップ15でセル到着履歴メモリ3内のxmを1にし、
ステップ16でセル到着履歴メモリ3内の前回セル到着
時間tpを時計カウンタ1のカウンタ値CTsにする。
また、ステップ14でxmが0でなければ、監視状態に
なっているため、図3のステップ17に進む。
2 and 3 are flowcharts of the normal processing of the time management method according to the embodiment of the present invention. here,
The unlawful discard method was adopted for the processing of the violating cell. In FIG.
First, in step 11, it is determined whether or not there is a cell sync. If there is a cell sync, the process proceeds to step 12, and if the input cell is an empty cell in step 12, this processing is not performed. If it is not an empty cell, the logical channel number LCN of the input cell is used as an address and the cell arrival history memory 3 is read as shown in step 13. Then, in step 14, the monitoring elapsed time tm
If the number of cells in the cell xm is 0, in order to enter the monitoring state, xm in the cell arrival history memory 3 is set to 1 in step 15,
In step 16, the previous cell arrival time tp in the cell arrival history memory 3 is set to the counter value CTs of the clock counter 1.
If xm is not 0 in step 14, it means that the monitoring state is set, and therefore, the process proceeds to step 17 in FIG.

【0014】ステップ17では、(CTs−tp)+t
m≧Tmであれば、監視経過時間が監視時間幅以上とな
ったことであるから、ステップ18で{(CTs−t
p)+tm}−Tmを新たにセル到着履歴メモリ3内の
tmとする。また、ステップ19でセル到着履歴メモリ
3内のxmを1とし、ステップ20でtpをCTsとす
る。一方、ステップ17で(CTs−tp)+tm<T
mであれば、監視経過時間が監視時間幅未満であるの
で、ステップ21で違反セル判定を行う。ここで、xm
+1>Xmであれば違反セルとみなされ、ステップ25
で違反セル処理される。また、ステップ21でxm+1
≦Xmであれば違反セルとみなされないので、ステップ
22で(CTs−tp)+tmをtmとし、ステップ2
3でxm+1を新たにxmとする。さらに、ステップ2
4でCTsをtpとする。なお、ここでCTs−tp
は、図4のカウンタの周期を考慮した到着セル経過時間
の概念図に示すように、CTs−tp>0の時は、CT
s−tpでよいが、CTs−tp<0の時はCTs−t
p+Tckとする。また、CTs=tpの時は、この値
をTckとみなす。実際には、CTsとtpの2の補数
を加算すればよい。
At step 17, (CTs-tp) + t
If m ≧ Tm, it means that the monitoring elapsed time is equal to or longer than the monitoring time width. Therefore, in step 18, {(CTs-t
p) + tm} -Tm is newly set as tm in the cell arrival history memory 3. Further, xm in the cell arrival history memory 3 is set to 1 in step 19, and tp is set to CTs in step 20. On the other hand, in step 17, (CTs-tp) + tm <T
If it is m, the monitoring elapsed time is less than the monitoring time width, and therefore, in step 21, a violation cell determination is performed. Where xm
If +1> Xm, it is regarded as a violation cell and step 25
Violation cells are processed in. In step 21, xm + 1
If ≦ Xm, it is not regarded as a violating cell, so that (CTs−tp) + tm is set to tm in step 22, and step 2
In step 3, xm + 1 is newly set as xm. In addition, step 2
In step 4, CTs is set to tp. Here, CTs-tp
When CTs-tp> 0, as shown in the conceptual diagram of the arrival cell elapsed time considering the counter cycle in FIG.
s-tp is acceptable, but when CTs-tp <0, CTs-t
Let p + Tck. When CTs = tp, this value is regarded as Tck. Actually, the two's complement of CTs and tp may be added.

【0015】ところで、通常処理だけでは、時計カウン
タの1周期以上入力セルが存在しないと、監視経過時間
の判断ができなくなり、ポリシング処理は不可能にな
る。そこで、時刻更新処理を行う。この処理タイミング
と処理を行うべきユーザの論理チャネル番号LCNは、
タイミング作成回路で作られる。図5は本発明の実施例
におけるタイミング作成回路の構成を示すブロック図で
ある。
By the way, if there is no input cell for one cycle or more of the clock counter by the normal processing alone, the elapsed monitoring time cannot be determined and the policing processing becomes impossible. Therefore, time update processing is performed. The processing timing and the logical channel number LCN of the user who should perform the processing are
Made with a timing creation circuit. FIG. 5 is a block diagram showing the configuration of the timing generation circuit in the embodiment of the present invention.

【0016】1セル時間(回線上での1セル保留時間=
セルシンクの間隔)に時刻更新処理の行われる回数は、
Uをユーザ数とし、Tckを時計カウンタの周期とする
と、U/Tckで求められる。ただし、この値が整数で
なければ切り上げて整数にする。図5のパルス発生回路
31にセルシンクとクロックを入力し、セルシンクの速
度に対してU/Tck倍の速度でセルシンクに同期した
パルスを作る。これが、時刻更新処理の行われるタイミ
ングに対応するパルスである。そして、このパルスをカ
ウンタ32のクロック入力にし、時刻更新処理を行うユ
ーザの論理チャネル番号LCNを作る。ただし、カウン
タ値は0からU−1である。以上により、どのユーザの
セルにおいても、時計カウンタ1の周期Tck中に少な
くとも1度は時刻更新処理が行われる。
1 cell time (1 cell hold time on the line =
The number of times the time update process is performed during the cell sync interval is
If U is the number of users and Tck is the period of the clock counter, then U / Tck is obtained. However, if this value is not an integer, round it up to an integer. A cell sync and a clock are input to the pulse generation circuit 31 of FIG. 5, and a pulse synchronized with the cell sync is generated at a speed of U / Tck times the speed of the cell sync. This is a pulse corresponding to the timing at which the time update processing is performed. Then, this pulse is input to the clock of the counter 32, and the logical channel number LCN of the user who performs the time update processing is created. However, the counter value is 0 to U-1. As described above, the time update process is performed at least once in the cycle Tck of the clock counter 1 in any user cell.

【0017】なお、実際には、図1の時計カウンタ1と
タイミング作成回路2の機能は、同一の機能として取り
扱うことができる。例えば、U=4096、n=204
8の時、セルシンクに同期した2倍の速度のパルスを発
生させ、このパルスをクロック入力として0から409
5まで繰り返すカウンタを作り、カウンタの全ビット出
力を時刻更新処理に用い、カウンタの下位1ビットを除
く出力を時計カウンタとして用いれば1つの機能で時計
カウンタとタイミング作成回路の2つの動作が可能にな
る。ただし、ここでは説明を簡単にするため2つの機能
に分割した。
Actually, the functions of the clock counter 1 and the timing generation circuit 2 in FIG. 1 can be treated as the same function. For example, U = 4096, n = 204
When it is 8, a pulse having a double speed synchronized with the cell sync is generated, and this pulse is used as a clock input from 0 to 409.
If a counter that repeats up to 5 is created and all the bit outputs of the counter are used for time update processing, and the output excluding the lower 1 bit of the counter is used as the clock counter, two operations of the clock counter and the timing generation circuit can be performed with one function. Become. However, here, in order to simplify the explanation, it is divided into two functions.

【0018】図6は本発明の実施例に係る時刻管理方式
の時刻更新処理フローチャートである。以下、図1、図
5及び図6を参照しながら、時刻更新処理動作を説明す
る。まず、図6のステップ41でパルス発生回路31の
出力パルスがあれば、ステップ42でカウンタ32のカ
ウンタ値をアドレスとしてセル到着履歴メモリ3を読込
む。ステップ43において、セル到着履歴メモリ3内の
xm=0であれば、前回セル到着がないため、本処理は
行われない。xm≠0であれば、ステップ44で(CT
s−tp)+tm≧Tmかどうかを判断し、これが成り
立てば監視時間を経過したことになるため、ステップ4
5でセル到着履歴メモリ3内のxm,tp,tmを0に
してリセットする。一方、前記条件が成り立たなけれ
ば、時間だけを更新するため、ステップ46でセル到着
履歴メモリ3内のtmを(CTs−tp)+tmにし、
CTsをtpにする。以上の処理により、時計カウンタ
1の周期Tck以上セル発生がなくても、違反セル判定
は可能になる。
FIG. 6 is a flowchart of the time update processing of the time management method according to the embodiment of the present invention. Hereinafter, the time update processing operation will be described with reference to FIGS. 1, 5, and 6. First, if there is an output pulse of the pulse generation circuit 31 in step 41 of FIG. 6, the cell arrival history memory 3 is read in step 42 using the counter value of the counter 32 as an address. In step 43, if xm = 0 in the cell arrival history memory 3, there is no previous cell arrival, so this processing is not performed. If xm ≠ 0, in step 44 (CT
s-tp) + tm ≧ Tm is judged, and if this holds, it means that the monitoring time has elapsed, so step 4
In step 5, xm, tp and tm in the cell arrival history memory 3 are reset to 0 and reset. On the other hand, if the above condition is not satisfied, only the time is updated. Therefore, in step 46, tm in the cell arrival history memory 3 is set to (CTs-tp) + tm,
Set CTs to tp. By the above processing, the violating cell can be determined even if no cell is generated for the period Tck of the clock counter 1 or more.

【0019】図7は、ユーザ数U=3、時計カウンタの
周期Tck=4、ユーザu1,u2,u3の監視時間幅
Tm1,Tm2,Tm3をそれぞれ2,3,4、Tm
1,Tm2,Tm3中に存在が許可される最大セル数X
m1,Xm2,Xm3をいずれも1とした場合の制御タ
イムチャートである(したがって、U/Tck=3/4
→1)。以下、図1〜図7を参照しながら、ユーザu1
のセルに対する通常処理及び時刻更新処理を説明する。
ただし、ユーザu1のセルC1が最初に入力されるユー
ザu1のセルとし、セルC1〜C3は空セルでないもの
とする。また、タイミング作成回路のカウンタ値0,
1,2がそれぞれユーザu1,u2,u3の論理チャネ
ル番号LCNを示すものとする。
In FIG. 7, the number of users U = 3, the period Tck of the clock counter = 4, the monitoring time widths Tm1, Tm2, Tm3 of the users u1, u2, u3 are 2, 3, 4 and Tm, respectively.
1, maximum number of cells X allowed to exist in Tm2, Tm3
It is a control time chart when m1, Xm2, and Xm3 are set to 1 (therefore, U / Tck = 3/4).
→ 1). Hereinafter, with reference to FIGS. 1 to 7, the user u1
The normal process and time update process for the cell will be described.
However, it is assumed that the cell C1 of the user u1 is the cell of the user u1 to be input first and the cells C1 to C3 are not empty cells. Also, the counter value of the timing generation circuit is 0,
It is assumed that 1 and 2 respectively indicate the logical channel numbers LCN of the users u1, u2 and u3.

【0020】まず、図1の制御部4にセルC1が入力さ
れると、通常処理が行われる。この時、図2のステップ
11、ステップ12ではともにYESと判断されるので
ステップ13に進む。ここで、ユーザu1の論理チャネ
ル番号LCNをアドレスとしてセル到着履歴メモリ3を
読み込むが、最初の入力セルなので、ステップ14では
NOと判断され、ステップ15でセル到着履歴メモリ3
内のxm=1とし、ステップ16でtp=CTs=3と
する。
First, when the cell C1 is input to the control unit 4 of FIG. 1, normal processing is performed. At this time, since YES is determined in both step 11 and step 12 of FIG. 2, the process proceeds to step 13. Here, the cell arrival history memory 3 is read by using the logical channel number LCN of the user u1 as an address, but since it is the first input cell, NO is determined in step 14, and the cell arrival history memory 3 is determined in step 15.
Xm = 1 in the above, and tp = CTs = 3 in step 16.

【0021】次に、図7のタイミング作成回路のカウン
タ値が1番目の0となった時、ユーザu1に対する時刻
更新処理が行われる。この時、図6のステップ41でY
ESと判定され、ステップ42でタイミング作成回路の
カウンタ値=0をアドレスとしてセル到着履歴メモリを
読み込む。既に、xm=1となっているので、ステップ
43はYESになり、ステップ44に進む。ここでは、
(CTs−tp)+tm=1(CTs=0、tp=3、
tm=0であるため)であるからNOになり、ステップ
46に進む。ここで、tm=1、tp=0とする。
Next, when the counter value of the timing generation circuit of FIG. 7 becomes the first 0, the time updating process for the user u1 is performed. At this time, in step 41 of FIG. 6, Y
It is determined to be ES, and in step 42, the cell arrival history memory is read with the counter value of the timing generation circuit = 0 as an address. Since xm = 1 has already been set, step 43 becomes YES and the routine proceeds to step 44. here,
(CTs-tp) + tm = 1 (CTs = 0, tp = 3,
Since tm = 0), NO is obtained and the routine proceeds to step 46. Here, tm = 1 and tp = 0.

【0022】次に、セルC2が入力されると、前記と同
様に通常処理が行われ、CTs=1、Tp=0、tm=
1、xm=1であるから、図3のステップ17でYES
となり、ステップ18でtp=1、tm=0、xm=1
とする。次に、セルC3が入力されると、前記と同様に
通常処理が行われ、xm=1、CTs=2、tp=1、
tm=0であるから、図3のステップ17でNO、ステ
ップ21でNOとなり、ステップ25でセルC3は廃棄
される。
Next, when the cell C2 is input, normal processing is performed in the same manner as described above, CTs = 1, Tp = 0, tm =
1, xm = 1, so YES in step 17 of FIG.
Then, in step 18, tp = 1, tm = 0, xm = 1
And Next, when the cell C3 is input, normal processing is performed in the same manner as described above, xm = 1, CTs = 2, tp = 1,
Since tm = 0, NO in step 17 and NO in step 21 of FIG. 3, and the cell C3 is discarded in step 25.

【0023】次に、図7のタイミング作成回路のカウン
タ値が2番目の0となった時、前記と同様にユーザu1
に対する時刻更新処理が行われる。CTs=3、xm=
1、tm=0、tp=1となっているので、図6のステ
ップ43でYES、ステップ44でYESてとなり、ス
テップ45でリセットされxm=0、tp=0、tm=
0となる。
Next, when the counter value of the timing generation circuit of FIG. 7 becomes the second 0, the user u1
The time update processing for is performed. CTs = 3, xm =
Since 1, tm = 0 and tp = 1, YES at step 43 and YES at step 44 in FIG. 6 and reset at step 45 xm = 0, tp = 0, tm =
It becomes 0.

【0024】以下、同様にして通常処理、時刻更新処理
が行われ、ユーザu2、ユーザu3のセルにおいても同
様に、通常処理、時刻更新処理が行われる。なお、本発
明は上記実施例に限定されるものではなく、本発明の趣
旨に基づき種々の変形が可能であり、それらを本発明の
範囲から排除するものではない。
Thereafter, the normal process and the time update process are similarly performed, and the normal process and the time update process are similarly performed in the cells of the users u2 and u3. It should be noted that the present invention is not limited to the above embodiments, and various modifications can be made based on the spirit of the present invention, and they are not excluded from the scope of the present invention.

【0025】[0025]

【発明の効果】以上、詳細に説明したように、本発明に
よれば、複数種類の固定長データが所定時間内に発生す
る数を固定長データの種類ごとに測定する装置におい
て、同一種別の固定長データが時計カウンタの1周期以
上発生しなくてもその発生する数の測定が可能となる。
As described above in detail, according to the present invention, in a device for measuring the number of types of fixed length data generated within a predetermined time for each type of fixed length data, Even if the fixed length data does not occur for one or more cycles of the clock counter, the number of occurrences can be measured.

【0026】したがって、本発明を複数ユーザを有する
ATMセルのポリシング制御に適用すれば、同一宛先を
持つセルが時計カウンタの1周期以上発生しなくても、
ポリシング制御が可能となる。また、ユーザごとに時計
カウンタを用意しなくても、基準となる時計カウンタ1
つと、セル到着履歴メモリ、セル到着時刻メモリを用意
するだけで制御可能となるので、ハードウェア規模とコ
ストが非常に軽減される。
Therefore, if the present invention is applied to policing control of an ATM cell having a plurality of users, even if cells having the same destination do not occur for one cycle or more of the clock counter,
Policing control is possible. Further, even if the clock counter is not prepared for each user, the reference clock counter 1
In addition, since the control can be performed only by preparing the cell arrival history memory and the cell arrival time memory, the hardware scale and the cost can be greatly reduced.

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

【図1】本発明の実施例に係る時刻管理方式の構成を示
すブロック図である。
FIG. 1 is a block diagram showing a configuration of a time management system according to an embodiment of the present invention.

【図2】本発明の実施例に係る時刻管理方式の通常処理
フローチャートの一部である。
FIG. 2 is a part of a normal processing flowchart of a time management method according to an embodiment of the present invention.

【図3】本発明の実施例に係る時刻管理方式の通常処理
フローチャートの一部である。
FIG. 3 is a part of a normal processing flowchart of a time management method according to an embodiment of the present invention.

【図4】本発明の実施例における到着セル経過時間の概
念図である。
FIG. 4 is a conceptual diagram of an arrival cell elapsed time in the embodiment of the present invention.

【図5】本発明の実施例におけるタイミング作成回路の
構成を示すブロック図てある。
FIG. 5 is a block diagram showing a configuration of a timing generation circuit according to an embodiment of the present invention.

【図6】本発明の実施例に係る時刻管理方式の時刻更新
処理フローチャートである。
FIG. 6 is a flowchart of a time update process of the time management method according to the embodiment of the present invention.

【図7】本発明の実施例に係る時刻管理方式の動作タイ
ムチャートである。
FIG. 7 is an operation time chart of the time management system according to the embodiment of the present invention.

【図8】セルフォーマットの概念図である。FIG. 8 is a conceptual diagram of a cell format.

【図9】従来の単一ユーザ時のポリシング制御タイムチ
ャートの1例である。
FIG. 9 is an example of a conventional policing control time chart for a single user.

【図10】従来の単一ユーザ時のポリシング制御動作フ
ローチャートの1例である。
FIG. 10 is an example of a conventional policing control operation flowchart for a single user.

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

1 時計カウンタ 2 タイミング作成回路 3 セル到着履歴メモリ 4 制御部 1 Clock Counter 2 Timing Creation Circuit 3 Cell Arrival History Memory 4 Control Unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 U種類(ただし、Uは2以上の整数)の
固定長データが所定時間内に発生する数を該固定長デー
タの種類ごとに測定する装置において、 (a)前記固定長データのデータ長ごとに発生する第1
のタイミング信号を入力とし、周期Tckで時間をカウ
ントする時計カウンタと、 (b)前記第1のタイミング信号と該第1のタイミング
信号に同期したクロック信号を入力とし、前記第1のタ
イミング信号のU/Tck(ただし、整数でない場合は
切上げる)倍の速度の第2のタイミング信号と、該第2
のタイミング信号をクロック入力としてカウントしたカ
ウンタ値を出力するタイミング作成回路と、 (c)前記入力固定長データの種類を示すデータをアド
レスとし、前回の固定長データの到着時間tpと、前記
固定長データの監視を開始してからの経過時間tmと、
該経過時間中に発生した前記固定長データの数xmと、
あらかじめ固定長データの種類ごとに設定されている固
定長データの監視時間幅の規定値Tmと、該規定値Tm
中に存在が許可される前記固定長データの最大数Xmを
内容とするメモリと、 (d)前記時計カウンタ、タイミング作成回路及びメモ
リを制御する制御部を設け、 前記第2のタイミング信号検出時に、前記タイミング作
成回路のカウンタ値をアドレスとして前記メモリの内容
を参照し、xmが0でなければ前記時計カウンタのカウ
ンタ値−tp+tmを計算し、これがTm以上であれば
xm,tp,tmを0にし、Tm以上でなければ時計カ
ウンタのカウンタ値−tp+tmを新たにtmとし、か
つ、時計カウンタのカウンタ値を新たにtpとすること
を特徴とする時刻管理方式。
1. An apparatus for measuring, for each type of fixed length data, the number of U types (where U is an integer of 2 or more) of fixed length data generated within a predetermined time, wherein: (a) the fixed length data First occurs for each data length of
And a clock counter that counts time with a cycle Tck, and (b) receives the first timing signal and a clock signal synchronized with the first timing signal as an input, and outputs the first timing signal of U / Tck (however, rounding up if not an integer) times the second timing signal and the second timing signal.
A timing generation circuit that outputs a counter value that counts the timing signal as a clock input, and (c) data indicating the type of the input fixed length data as an address, the arrival time tp of the previous fixed length data, and the fixed length. The elapsed time tm from the start of data monitoring,
The number xm of the fixed length data generated during the elapsed time,
A specified value Tm of the fixed time data monitoring time width set in advance for each type of fixed length data and the specified value Tm
A memory having the maximum number Xm of the fixed length data permitted to exist therein, and (d) a control unit for controlling the clock counter, the timing generation circuit and the memory, and at the time of detecting the second timing signal. , The content of the memory is referred to by using the counter value of the timing generation circuit as an address, and the counter value −tp + tm of the clock counter is calculated if xm is not 0, and if this is greater than or equal to Tm, xm, tp, and tm are set to 0. The time management method is characterized in that the counter value of the clock counter −tp + tm is newly set to tm and the counter value of the clock counter is newly set to tp if Tm or more.
【請求項2】 U種類の固定長データがそれぞれ異なる
宛先を有するATMセルであり、第1のタイミング信号
がセルシンクである請求項1記載の時刻管理方式。
2. The time management method according to claim 1, wherein the U types of fixed length data are ATM cells having different destinations, and the first timing signal is a cell sync.
JP29601391A 1991-11-12 1991-11-12 Time managing system Withdrawn JPH05136808A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29601391A JPH05136808A (en) 1991-11-12 1991-11-12 Time managing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29601391A JPH05136808A (en) 1991-11-12 1991-11-12 Time managing system

Publications (1)

Publication Number Publication Date
JPH05136808A true JPH05136808A (en) 1993-06-01

Family

ID=17827994

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29601391A Withdrawn JPH05136808A (en) 1991-11-12 1991-11-12 Time managing system

Country Status (1)

Country Link
JP (1) JPH05136808A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0927813A (en) * 1995-07-10 1997-01-28 Nec Corp Discrimination circuit for cell interval for upc

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0927813A (en) * 1995-07-10 1997-01-28 Nec Corp Discrimination circuit for cell interval for upc
US5854783A (en) * 1995-07-10 1998-12-29 Nec Corporation Cell interval determination apparatus for usage parameter control

Similar Documents

Publication Publication Date Title
JPH05122238A (en) Police system in atm exchange
US6442136B1 (en) Traffic shaping device for ATM communication network
JPH05136808A (en) Time managing system
JP3602893B2 (en) ATM interface and shaping method
JP2891809B2 (en) Time management method
JPH07273771A (en) Window type cell flow rate monitoring device
JP2002247097A (en) Communication controller
JP2851743B2 (en) Policing circuit
JP3157718B2 (en) Time management method for ATM transmission network
JP2851744B2 (en) Policing circuit
JP2737735B2 (en) Polishing control device
JPH05136806A (en) Time management system
JPH08242248A (en) Supervision method and circuit device of prescribed transmission bit rate at the time of communication cell transmission
JPH04329733A (en) Monitor system for transmission network
JP2855485B2 (en) Traffic observation circuit
JP3623907B2 (en) Cell shaping device
JPH05110585A (en) Polishing function monitoring system
JP3501603B2 (en) Arithmetic circuit failure monitoring method
JP3615844B2 (en) Traffic shaper
JPH1032582A (en) Part corresponding to line of cell exchange
JPH08107421A (en) Method and device for measuring flow rate of cells
JP3003660B2 (en) Asynchronous transfer mode ABR switch device
JPH0774748A (en) Cell missing prevention control system
JPH09284290A (en) Processing flow trace test system
JP2998672B2 (en) Cell processing equipment

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: 19990204