JP2985844B2 - ATM receiver - Google Patents

ATM receiver

Info

Publication number
JP2985844B2
JP2985844B2 JP24252297A JP24252297A JP2985844B2 JP 2985844 B2 JP2985844 B2 JP 2985844B2 JP 24252297 A JP24252297 A JP 24252297A JP 24252297 A JP24252297 A JP 24252297A JP 2985844 B2 JP2985844 B2 JP 2985844B2
Authority
JP
Japan
Prior art keywords
time
atm
cell
timeout
unit
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
JP24252297A
Other languages
Japanese (ja)
Other versions
JPH1188351A (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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP24252297A priority Critical patent/JP2985844B2/en
Priority to EP19980116240 priority patent/EP0907298A1/en
Priority to US09/148,785 priority patent/US6411622B1/en
Priority to CN98117675A priority patent/CN1103522C/en
Publication of JPH1188351A publication Critical patent/JPH1188351A/en
Application granted granted Critical
Publication of JP2985844B2 publication Critical patent/JP2985844B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/04Selecting arrangements for multiplex systems for time-division multiplexing
    • H04Q11/0428Integrated services digital network, i.e. systems for transmission of different types of digitised signals, e.g. speech, data, telecentral, television signals
    • H04Q11/0478Provisions for broadband connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5614User Network Interface
    • H04L2012/5616Terminal equipment, e.g. codecs, synch.
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5638Services, e.g. multimedia, GOS, QOS
    • H04L2012/5646Cell characteristics, e.g. loss, delay, jitter, sequence integrity
    • H04L2012/5652Cell construction, e.g. including header, packetisation, depacketisation, assembly, reassembly
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • H04L12/5601Transfer mode dependent, e.g. ATM
    • H04L2012/5678Traffic aspects, e.g. arbitration, load balancing, smoothing, buffer management
    • H04L2012/5681Buffer or queue management

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、パケットのタイム
アウト検出機能を備えたATM受信装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an ATM receiving apparatus having a packet timeout detecting function.

【0002】[0002]

【従来の技術】B−ISDN(広帯域ISDN)でのデ
ジタル情報の多重転送方式であるATM(非同期転送モ
ード)は、転送がネットワークのビットレートと同期す
る必要がないので転送する情報量に応じた効率的な処理
ができるという点で高速・広帯域通信サービスに広く用
いられている。図4はATMネットワークの構成を示し
ており、複数のATM端末21a〜21cを複数のAT
Mスイッチ22a〜22cを介して複数のATMサ−バ
22a、22bに接続するATM通信制御装置により構
成されている。各ATM通信装置の送信側では、図5に
示すように、パケットを5バイトのヘッダと48バイト
のペイロ−ドで構成されるATMセルに分解し、回線上
に送信している。ATMセルのヘッダ内には、VPI/
VCIという仮想コネクションを識別する番号が埋め込
まれており、これによりセルの送受信端末間の通信を実
現している。
2. Description of the Related Art ATM (Asynchronous Transfer Mode), which is a multiplex transfer system for digital information in B-ISDN (Broadband ISDN), does not need to synchronize the transfer with the bit rate of the network, so that the amount of information to be transferred is adjusted. It is widely used for high-speed and broadband communication services because it can perform efficient processing. FIG. 4 shows the configuration of an ATM network in which a plurality of ATM terminals 21a to 21c are connected to a plurality of AT terminals.
It is composed of an ATM communication controller connected to a plurality of ATM servers 22a and 22b via M switches 22a to 22c. On the transmitting side of each ATM communication apparatus, as shown in FIG. 5, a packet is decomposed into ATM cells each having a 5-byte header and a 48-byte payload, and transmitted over a line. In the header of the ATM cell, VPI /
A number for identifying a virtual connection called VCI is embedded, thereby realizing communication between transmitting and receiving terminals of the cell.

【0003】このようなATMネットワ−クにおいて、
回線または装置の何らかの異常により、あるコネクショ
ンのこのパケットのセルが遅延したり、廃棄され、最後
まで受信側に到着しないことが起こる場合がある。その
ため、このコネクションの処理を終了するためには、A
TMパケットのタイムアウトを検出することが必要とな
る。
In such an ATM network,
Due to some abnormality of the line or the device, the cell of this packet of a certain connection may be delayed or discarded, and may not reach the receiving end until the end. Therefore, in order to end the processing of this connection, A
It is necessary to detect the timeout of the TM packet.

【0004】従来、この種のATM受信パケットのタイ
ムアウト検出部は、例えば「ユ−ザ−ズマニュアル μ
PD98401 ロ−カルATM SARチップ(NE
ASCOT−S10)」に示されるように、ATM通信
制御装置の受信側において、ATMセル化されたパケッ
トの組み立てに要する時間を規定し、ハ−ドウェアでそ
の許容時間を越えていないかを監視し、タイムアウトを
検出した場合にこれを上位レイアに通知することを目的
として用いられている。
Conventionally, this type of ATM reception packet time-out detection unit has been disclosed in, for example, "User's Manual μ".
PD98401 Local ATM SAR chip (NE
As shown in "ASCOT-S10)", the receiving side of the ATM communication control device defines the time required for assembling the packetized ATM cell, and monitors whether the time exceeds the allowable time by hardware. When a timeout is detected, it is used to notify the upper layer of the timeout.

【0005】図6は、ATM通信制御装置の一例を示す
ブロック図である。
FIG. 6 is a block diagram showing an example of an ATM communication control device.

【0006】ATM通信制御装置は、ATM物理レイヤ
の機能を有するデバイスPHY28と、受信したATM
セルのヘッダ内のVPI/VCIの値による受信の判
断、VPI/VCIの識別番号(以下、VCと称する)
への変換、各種のエラ−検証、パケットの組み立てなど
を行うSAR(Segmentation And R
eassembly)受信部24と、反対に送信するパ
ケットのATMセル分解、送信セルレ−トの制御などを
行うSAR送信部25と、SAR受信部24およびSA
R送信部25で使用する各種の情報(DMA時のアドレ
ス、先頭セルのフラグなど)を格納するコントロ−ルメ
モリ27と、SAR受信部24およびSAR送信部25
とCPU29およびシステムメモリ30とが接続される
システムバス31とのインタフェ−ス制御を行うDMA
コントロ−ラ26とから構成される。
[0006] The ATM communication control device includes a device PHY 28 having an ATM physical layer function and a received ATM.
Judgment of reception based on the value of VPI / VCI in the header of the cell, identification number of VPI / VCI (hereinafter referred to as VC)
SAR (Segmentation AndR) that performs conversion to ISA, various types of error verification, and packet assembly
(Eassembly) receiving unit 24, SAR transmitting unit 25 that performs ATM cell disassembly of a packet to be transmitted and control of the transmission cell rate, and SAR receiving unit 24 and SA
A control memory 27 for storing various types of information (such as an address in a DMA and a flag of a first cell) used by the R transmitting unit 25; a SAR receiving unit 24 and an SAR transmitting unit 25;
For controlling the interface between the CPU and the system bus 31 to which the CPU 29 and the system memory 30 are connected.
And a controller 26.

【0007】セルが受信されると、SAR受信部24に
おいてヘッダ内のVPI/VCIの値が判断される。受
信が許可された受信セルのペイロ−ドは、DMAコント
ロ−ラ26により読み出され、システムバス31を介し
てシステムメモリ30へDMA転送されることになる。
When a cell is received, the SAR receiver 24 determines the value of VPI / VCI in the header. The payload of the reception cell for which reception is permitted is read out by the DMA controller 26 and DMA-transferred to the system memory 30 via the system bus 31.

【0008】図7は従来のATM受信パケットのタイム
アウト検出装置のブロック図である。
FIG. 7 is a block diagram of a conventional device for detecting a timeout of an ATM reception packet.

【0009】ATM受信パケットのタイムアウト検出装
置は、SAR受信部24内に有り、タイムアウトの許容
時間を設定するT1レジスタ16と、「最も前に受信を
開始したVC」の開始時間を格納するTSレジスタ17
と、T1レジスタ16の値とTSレジスタ17の値を加
算するための加算器10と、システムバス31側から供
給されるシステムクロック19に同期してインクリメン
トされるカウンタ7で構成されるタイマ部6と、加算器
10の出力値とタイマ部6のカウンタ値とを比較するた
めの比較器18とから構成される。
The time-out detecting device for the ATM received packet is provided in the SAR receiving section 24 and includes a T1 register 16 for setting an allowable time-out time for a time-out and a TS register for storing the start time of "the VC which has started receiving most recently". 17
A timer unit 6 comprising an adder 10 for adding the value of the T1 register 16 and the value of the TS register 17 and a counter 7 incremented in synchronization with a system clock 19 supplied from the system bus 31 side. And a comparator 18 for comparing the output value of the adder 10 with the counter value of the timer unit 6.

【0010】コントロ−ルメモリ27は、VC単位で領
域を分けてそれぞれのVCの情報を格納する構成(以
下、VCテ−ブルと称する)をとっている。VCテ−ブ
ル15a〜15c内のタイムアウト検出に関連するパラ
メ−タとしては、タイムアウト検出をイネ−ブルにし、
リンクリストにリンクさせるためのEビットと、パケッ
トの受信開始時間、つまり、パケットの先頭セルの到着
時間(TS)と、リンクリストを形成するための前方/
後方ポインタ(EP/BP)とがある。
The control memory 27 has a configuration (hereinafter referred to as a VC table) for storing information of each VC by dividing the area in units of VCs. As parameters related to timeout detection in the VC tables 15a to 15c, timeout detection is enabled,
The E bit for linking to the link list, the reception start time of the packet, that is, the arrival time (TS) of the head cell of the packet, and the forward / backward for forming the link list.
There is a backward pointer (EP / BP).

【0011】また、SAR受信部24は、さらに、受信
セルのヘッダとペイロ−ドを分離するヘッダ/ペイロ−
ド分離部11と、受信セルのヘッダから抽出したVPI
/VCIをこれに対応するVCに変換するVPI/VC
I−VC変換部12と、DMA時まで受信セルのペイロ
−ドを格納するための受信デ−タFIFO13とを有し
ている。
The SAR receiving unit 24 further includes a header / payload for separating the header of the received cell from the payload.
And a VPI extracted from the header of the received cell.
/ VCI that converts / VCI to the corresponding VC
It has an I-VC converter 12 and a reception data FIFO 13 for storing the payload of a reception cell until the time of DMA.

【0012】次に、動作について説明する。Next, the operation will be described.

【0013】受信パケットのタイムアウトの検出は、V
Cテ−ブルにある前方/後方ポインタ(FP/BP)を
用いて形成するリンクリスト方式により行われる。これ
らのポインタには、前に受信開始されたVC番号、後に
受信開始されたVCの番号がそれぞれ格納されている。
The detection of a timeout of a received packet is performed by V
This is performed by a linked list system formed using forward / backward pointers (FP / BP) in the C table. These pointers store the VC number for which reception was started earlier and the VC number for which reception was started later.

【0014】セルを受信すると、受信VCに対応するV
Cテ−ブルからEビットを読み出す。Eビットがセット
されているとき、そのセルが新しいパケットの先頭であ
れば、その時点のタイマ部6のカウンタ値を現在の時間
として、このVCに対応するVCテ−ブルのTS領域に
書き込む。仮に、リンクリストに何もVCが無い状態で
あれば、同様にTSレジスタ17にもこの時間に書き込
む。さらにVCテ−ブルのポインタを更新後、このVC
をリンクリストの最後尾に追加する。つまり、リンクリ
ストは常に、「最も前に受信を開始したVC」が先頭と
なり、「最も新しく受信を開始したVC」が最後尾にリ
ンクされる形となる。
When a cell is received, the V corresponding to the received VC
Read the E bit from the C table. When the E bit is set and the cell is the head of a new packet, the counter value of the timer section 6 at that time is written to the TS area of the VC table corresponding to this VC as the current time. If there is no VC in the link list, the data is similarly written to the TS register 17 at this time. After updating the pointer of the VC table,
Is added to the end of the link list. In other words, the link list is always linked such that "the VC which has started receiving the earliest" is linked to the head and "the VC which has started receiving the link most recently" is linked to the end.

【0015】また、T1レジスタ16に設定されたタイ
ムアウトの許容時間内にパケットの最終セルが到着した
場合には、そのVCおよび前後のVCのポインタを更新
し、リンクリストからこのVCを取り除く。仮に、「最
も前に受信を開始したVC」がリンクリストから削除さ
れる場合には、TSレジスタ17を次にリンクするVC
の受信開始時間で書き換える。
When the last cell of the packet arrives within the allowable time-out period set in the T1 register 16, the VC and the pointers of the preceding and following VCs are updated, and this VC is removed from the link list. If “the VC that has started receiving the earliest” is deleted from the link list, the VC register that links the TS register 17 to the next VC is deleted.
Is rewritten with the reception start time.

【0016】したがって、一番初めにタイムアウトが検
出されるのはリンクリストの先頭にあるVC、つまり
「最も前に受信を開始したVC」であるため、TSレジ
スタ17に書かれたこのVCの受信開始時間とT1レジ
スタ16に設定されたタイムアウトの許容時間とを加算
器10により加算した値を比較器18の入力端子Aに入
力し、現在時間を示すタイマ部6のカウンタ値を比較器
18の入力端子Bに入力し比較することによりタイムア
ウトの検出を行うことができる。比較器18の入力端子
A、Bへの入力が等しい時に、「最も前に受信を開始し
たVC」でタイムアウトを検出したことになる。
Therefore, the first time-out is detected in the VC at the head of the link list, that is, the “VC that has started receiving the earliest”, and the reception of this VC written in the TS register 17 is performed. A value obtained by adding the start time and the allowable time for timeout set in the T1 register 16 by the adder 10 is input to the input terminal A of the comparator 18, and the counter value of the timer unit 6 indicating the current time is input to the comparator 18. Timeout can be detected by inputting to the input terminal B and comparing. When the inputs to the input terminals A and B of the comparator 18 are equal to each other, it means that the timeout has been detected in the “VC that has started receiving the earliest”.

【0017】[0017]

【発明が解決しようとする課題】ところが上述した従来
の検出装置では、各VCのセルレ−トやパケット長に応
じたタイムアウト検出が行えないという問題がある。す
なわち図7において、例えば、各VCのパケットが正常
に受信され組み立てられるまでの所要時間が、VCi:
2msec、VCj:4msec、VCk:8msec
である場合に、タイムアウトの許容時間の設定は8ms
ecとしなければならない。この場合、仮にVCiのパ
ケットが5msecかかって受信されたとしてもタイム
アウトは検出されないことになる。また、実際にVCi
でセルが廃棄されて受信が完了しない場合でも8mse
c経過するまではタイムアウト検出が行えないことにな
る。したがって、各VC単位での正確なタイムアウト検
出が行えないことになる。
However, the above-described conventional detection apparatus has a problem that timeout detection cannot be performed in accordance with the cell rate and packet length of each VC. That is, in FIG. 7, for example, the time required for each VC packet to be normally received and assembled is represented by VCi:
2 msec, VCj: 4 msec, VCk: 8 msec
Is set to 8 ms.
ec. In this case, even if the VCi packet is received in 5 msec, the timeout is not detected. Also, VCi is actually
8 mse even if the cell is discarded and reception is not completed
Until c has elapsed, timeout detection cannot be performed. Therefore, accurate timeout detection cannot be performed for each VC.

【0018】その理由は、受信パケットのタイムアウト
許容時間が複数のVCに対して1個の値しか設定できな
いためである。
The reason is that the timeout allowable time of a received packet can be set to only one value for a plurality of VCs.

【0019】本発明の目的は、上記の点にかんがみてな
されたもので、ATM通信制御装置において、各受信V
Cのセルレ−ト、パケット長に応じて各受信VC単位で
パケット組み立て時間、つまり、先頭セルを受信してか
ら最終セルまでの時間のタイムアウト検出を正確に行う
ことのできるタイムアウトの検出方法および装置を提供
することにある。
An object of the present invention has been made in view of the above-described points, and an ATM communication control apparatus has a structure in which each reception V
A method and apparatus for detecting a timeout which can accurately detect a packet assembling time for each received VC in accordance with the C cell rate and packet length, that is, the time from the reception of the first cell to the last cell. Is to provide.

【0020】[0020]

【課題を解決するための手段】上記目的を達成するため
本発明においては、ATM受信装置を次のように構成し
た。すなわち、受信したパケットの各ATMセルのヘッ
ダとペイロードとを分離するヘッダ/ペイロード分離部
と、前記ペイロードを格納する受信データ格納部と、該
受信データ格納部から前記ペイロードを読み出し、CP
U及びシステムメモリが接続されたシステムバスへDM
A転送するDMAコントローラと、前記ヘッダから抽出
したVPI/VCIをVCに変換するVPI/VCI−
VC変換部と、該VPI/VCI−VC変換部に接続さ
れ、前記VCに対応するタイムアウト許容時間とタイム
アウト検出を行うかどうかを設定する第1のEビットと
が格納された複数のVCテーブルと、前記各ATMセル
の受信時刻を出力するタイマー部と、該タイマー部から
の出力される時刻と前記各ATMセルのVCに対応する
VCテーブルから読み出した前記タイムアウト許容時間
とを加算する加算器と、該加算機の出力値と前記タイマ
ー部から出力される時刻の何れかを選択して出力するセ
レクター部と、前記VCをデコーダによりデコードし、
前記セレクターを介して前記VCに対応した前記加算機
の出力値を書き込み、この書き込んだ出力値と前記タイ
マー部から出力される時刻とが一致した場合にエンコー
ダーを介して一致信号と共にどのVCにおいて一致した
かを示す一致アドレスを出力する複数のCAMセルと、
該複数のCAMセルのそれぞれに設けられ、先頭セルを
受信した場合に第1の状態にされ、最終セルを受信する
か若しくは前記一致信号が検出された場合に第2の状態
にされる第2のEビットとを備えてATM受信装置を構
成した。
In order to achieve the above-mentioned object, according to the present invention, an ATM receiver is constituted as follows. That is, a header / payload separation unit that separates a header and a payload of each ATM cell of a received packet, a reception data storage unit that stores the payload, and reads the payload from the reception data storage unit.
DM to the system bus to which U and system memory are connected
A DMA controller for A transfer, and a VPI / VCI-converting VPI / VCI extracted from the header to VC.
A plurality of VC tables which are connected to the VC conversion section and which are connected to the VPI / VCI-VC conversion section and which store a timeout allowable time corresponding to the VC and a first E bit for setting whether or not to perform timeout detection; A timer unit for outputting a reception time of each of the ATM cells; and an adder for adding the time output from the timer unit and the timeout allowable time read from a VC table corresponding to the VC of each of the ATM cells. A selector for selecting and outputting one of the output value of the adder and the time output from the timer, and decoding the VC by a decoder;
The output value of the adder corresponding to the VC is written via the selector, and when the written output value matches the time output from the timer unit, the output value matches with the match signal via the encoder. A plurality of CAM cells that output a match address indicating whether the
A second state is provided for each of the plurality of CAM cells, and is set to a first state when a first cell is received, and to a second state when a last cell is received or when the coincidence signal is detected. And the E bit of the above.

【0021】また、システムクロックを分周する手段
と、外部から供給されるタイム分解能選択コードにより
前記タイマ部内のカウンタ値をインクリメントする信号
を選択するセレクタを備え、前記タイマ部の1単位時間
を制御する分周手段を有して上記ATM受信装置を構成
した。
The system further comprises means for dividing a system clock, and a selector for selecting a signal for incrementing a counter value in the timer unit by a time resolution selection code supplied from the outside, and controlling one unit time of the timer unit. The above-described ATM receiving apparatus has a frequency dividing means.

【0022】 各受信VC単位でATM受信パケットの
タイムアウトの許容時間を設定できるので、タイムアウ
ト検出を各VCのセルレート、パケット長に応じて各V
C単位で正確に行なうことができる。またタイムアウト
の検出にCAMを使用するので、回路規模を小さくする
ことができる。
The timeout period of the ATM reception packet can be set for each reception VC, so that the timeout detection is performed according to the cell rate and packet length of each VC.
It can be performed accurately in C units. Further, since the CAM is used for detecting the timeout, the circuit scale can be reduced.

【0023】 更に、分周回路を備えたことから、タイ
マ部の単位時間を変更でき、低レートで受信されるパケ
ットまたはパケット長が長いパケットに対応できる。
Further, since the frequency dividing circuit is provided, the unit time of the timer unit can be changed, and it is possible to cope with a packet received at a low rate or a packet having a long packet length.

【0024】[0024]

【発明の実施の形態】以下に図面を参照して本発明を説
明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings.

【0025】図1は本発明によるタイムアウト検出装置
の第1の実施の形態を示すブロック図である。
FIG. 1 is a block diagram showing a first embodiment of a timeout detecting device according to the present invention.

【0026】図1に示したATM受信パケットのタイム
アウト検出装置は図6に示したATM通信制御装置のS
AR受信部24にあり、書き込み/検索モ−ドにより入
力デ−タを切り換えるセレクタ2と、タイムアウト検出
時間を登録するセルアレイ3と、セルアレイ3の内容の
書き込み/読み出しのアドレスを受信VCからデコ−ド
するアドレスデコ−ダ4と、セルアレイの出力から一致
信号および一致アドレスを出力するプライオリティエン
コ−ダ5とから構成されるCAM1と、書き込み/検索
モ−ド切り換え部9と、システムバス31側から供給さ
れるシステムクロック19に同期してインクリメントさ
れるカウンタ7で構成されるタイマ部6と、各VCのタ
イムアウト許容時間とタイマ部6のカウンタ値とを加算
するための加算器10とで構成される。
The time-out detecting device for the ATM received packet shown in FIG. 1 is the same as the ATM communication control device shown in FIG.
The AR receiver 24 has a selector 2 for switching input data according to a write / search mode, a cell array 3 for registering a timeout detection time, and an address for writing / reading the contents of the cell array 3 from the received VC. CAM 1 comprising an address decoder 4 for reading, a priority encoder 5 for outputting a match signal and a match address from the output of the cell array, a write / search mode switching unit 9, and a system bus 31. The timer unit 6 includes a counter 7 that is incremented in synchronization with the supplied system clock 19, and an adder 10 that adds the timeout allowed time of each VC and the counter value of the timer unit 6. You.

【0027】コントロ−ルメモリ27は、VC単位で領
域を分けてそれぞれのVCの情報を格納する。VCテ−
ブル14a〜14c内のタイムアウト検出に関連するパ
ラメ−タとしては、タイムアウト検出をイネ−ブルにす
るためのEビットと、受信パケットのタイムアウト許容
時間(T1)とがある。
The control memory 27 divides the area in units of VC and stores information on each VC. VC te
The parameters related to timeout detection in the cables 14a to 14c include an E bit for enabling timeout detection and a timeout period (T1) for a received packet.

【0028】また、SAR受信部24は、さらに、受信
セルのヘッダとペイロ−ドを分離するヘッダ/ペイロ−
ド分離部11と、受信セルのヘッダから抽出したVPI
/VCIをこれに対応するVCに変換するVPI/VC
I−VC変換部12と、DMA時まで受信セルのペイロ
−ドを格納するための受信デ−タFIFO13とを有す
る。
The SAR receiver 24 further includes a header / payload for separating the header of the received cell from the payload.
And a VPI extracted from the header of the received cell.
/ VCI that converts / VCI to the corresponding VC
It has an I-VC converter 12 and a reception data FIFO 13 for storing the payload of a reception cell until the time of DMA.

【0029】次に動作を説明する。Next, the operation will be described.

【0030】本発明においては、受信パケットのタイム
アウトの検出はCAMを使用することにより行う。CA
Mとは連想メモリのことで、セルアレイ内に記憶された
デ−タが検索パタ−ンとして入力されたデ−タと一致し
たときに、そのデ−タの記憶されているアドレスを一致
信号とともに出力するようなメモリである。
In the present invention, the detection of the timeout of the received packet is performed by using the CAM. CA
M is an associative memory. When the data stored in the cell array matches the data input as the search pattern, the stored address of the data together with the match signal is output. It is a memory to output.

【0031】図2は上記第1の実施の形態の動作を説明
するためのフロ−チャ−トである。SAR受信部24が
セルを受信すると、コントロールメモリ27に格納され
ている受信VCに対応するVCテ−ブルからEビットと
タイムアウトの許容時間を読み出す(S2、S3)。E
ビットを調べ(S4)、Eビットがセットされていなけ
れば、セル受信を再び待つことになる。Eビットがセッ
トされている場合には、受信セルがパケットの最終セル
かどうか調べる(S5)。最終セルの場合、つまり、タ
イムアウトの許容時間内にパケットの最終セルが到着し
た場合には、CAM1を書き込みモ−ドに切り換え(S
11)、セルアレイ3内のEビットをクリアし、このV
Cのタイムアウト検出を終了する(S12)。最終セル
でない場合は、次に先頭セルかどうかを調べる(S
6)。先頭セルでない場合には、セル受信を再び待つこ
とになる。受信セルが先頭セルの場合、CAM1を書き
込みモ−ドに切り換え(S7)、タイムアウト検出時
間、つまり、先頭セルの受信時間(TS)とタイムアウ
トの許容時間(T1)との加算値と、EビットをCAM
1のセルアレイ3に登録し(S8)、CAM1を検索モ
−ドに切り換える(S1)。
FIG. 2 is a flowchart for explaining the operation of the first embodiment. When the SAR receiving section 24 receives the cell, it reads out the E bit and the allowable time-out period from the VC table corresponding to the received VC stored in the control memory 27 (S2, S3). E
The bit is examined (S4), and if the E bit is not set, it waits for cell reception again. If the E bit is set, it is checked whether the received cell is the last cell of the packet (S5). In the case of the last cell, that is, when the last cell of the packet arrives within the time-out allowable time, CAM1 is switched to the write mode (S
11), the E bit in the cell array 3 is cleared, and
The timeout detection of C is terminated (S12). If it is not the last cell, it is checked next whether it is the first cell (S
6). If it is not the first cell, it waits for cell reception again. If the received cell is the head cell, CAM1 is switched to the write mode (S7), and the timeout detection time, that is, the sum of the reception time (TS) of the head cell and the allowable time for timeout (T1), and the E bit CAM
1 is registered in the cell array 3 (S8), and CAM1 is switched to the search mode (S1).

【0032】CAM1の検索モ−ドにおいて、現在時間
を示すタイマ部6のカウンタ値の最上位ビットに“1”
を付加したものを検索パタ−ンとして入力する。これ
は、セルアレイ3内のEビットをクリアしたものを一致
検出させないためである。入力される検索パタ−ンが、
CAM1のセルアレイ3に登録されたタイムアウト時間
に一致したときに、その一致アドレスのVCでタイムア
ウトが検出されたことになる(S9、S10)。タイム
アウトが検出されると、CAM1を書き込みモ−ドに書
き換え(S11)、セルアレイ3内のEビットをクリア
し、このVCのタイムアウト検出を終了する(S1
2)。
In the search mode of CAM1, "1" is set to the most significant bit of the counter value of the timer section 6 indicating the current time.
Is input as a search pattern. This is to prevent the coincidence detected in the cell array 3 with the E bit cleared. The input search pattern is
When the timeout matches the timeout time registered in the cell array 3 of the CAM 1, a timeout is detected in the VC of the matching address (S9, S10). When the timeout is detected, CAM1 is rewritten to the write mode (S11), the E bit in the cell array 3 is cleared, and the timeout detection of this VC is terminated (S1).
2).

【0033】本発明の第1の実施の形態では、コントロ
−ルメモリ27内のVCテ−ブル14a、14b、14
cに各VCの受信パケットのタイムアウト許容時間(T
1)を設定できるため、タイムアウト検出を各VCのセ
ルレ−ト、パケット長に応じて各VC単位で正確に行う
ことができる。また、CAMを使用しているため、集積
化が容易であり、タイムアウト検出回路の回路規模を小
さくすることができる。
In the first embodiment of the present invention, the VC tables 14a, 14b, 14 in the control memory 27 are used.
c indicates the allowable time-out period (T
Since 1) can be set, timeout detection can be accurately performed for each VC in accordance with the cell rate and packet length of each VC. Further, since the CAM is used, integration is easy, and the circuit size of the timeout detection circuit can be reduced.

【0034】図3は本発明によるタイムアウト検出装置
の第2の実施の形態のブロック図である。
FIG. 3 is a block diagram of a second embodiment of the timeout detecting device according to the present invention.

【0035】図3において、システムバス31側から供
給されるシステムクロック19と、このシステムクロッ
ク19を分周するk分周回路、m分周回路34、n分周
回路35(ただし、k、m、nは正の整数)の出力とを
外部から供給されるタイマ分解能選択コ−ドにより選択
するセレクタ32が設けられ、セレクタ32の出力信号
に同期してタイマ部6内のカウンタ値がインクリメント
される構成となっている。その他の構成は図1に示した
第1の実施の形態と同じである。
In FIG. 3, a system clock 19 supplied from the system bus 31 side, a k frequency dividing circuit for dividing the system clock 19, an m frequency dividing circuit 34, and an n frequency dividing circuit 35 (where k, m , N is a positive integer) provided by a timer resolution selection code supplied from the outside, a selector 32 is provided, and the counter value in the timer section 6 is incremented in synchronization with the output signal of the selector 32. Configuration. Other configurations are the same as those of the first embodiment shown in FIG.

【0036】低レ−トで受信されるパケットまたはパケ
ット長が長いパケットは、受信完了までに時間がかか
る。そのため、タイマ部6内のカウンタ7、CAM1の
セルアレイ3、各VCテ−ブル内のタイムアウト許容時
間などの各領域の各ビット幅を大きくする必要がある。
たとえば、これらの領域のビット幅が16ビットで、シ
ステムクロック19が33MHzであった場合、1単位
時間は30nescであり、タイムアウト検出が行える
時間は、最大でも2msec程度である。このため、受
信完了までの時間が10msecかかるパケットのタイ
ムアウト検出は行えないことになる。したがって、タイ
ムアウト検出を行うためには、各領域のビット幅を3ビ
ット分大きくしなければならない。
A packet received at a low rate or a packet having a long packet length takes a long time to complete reception. Therefore, it is necessary to increase each bit width of each area such as the counter 7 in the timer section 6, the cell array 3 of the CAM 1, and the time-out allowable time in each VC table.
For example, when the bit width of these areas is 16 bits and the system clock 19 is 33 MHz, one unit time is 30 nesc, and the time in which timeout can be detected is about 2 msec at the maximum. For this reason, timeout detection of a packet that takes 10 msec to complete reception cannot be performed. Therefore, in order to detect timeout, the bit width of each area must be increased by 3 bits.

【0037】この実施の形態では、各分周回路とタイマ
分解能選択コ−ドによりシステムクロック19を分周し
た信号でタイマ部6内のカウンタ値をインクリメントで
きるため、1単位時間を長くすることができ、低レ−ト
で受信されるパケットまたはパケット長が長いパケット
に対しても各領域のビット幅を大きくする必要がなくな
る。受信完了までの時間が10msecかかるパケット
を受信する場合には、システムクロック19を6分周し
た信号を選択することでタイムアウト検出を行うことが
できる。
In this embodiment, the counter value in the timer section 6 can be incremented by a signal obtained by dividing the system clock 19 by each frequency dividing circuit and the timer resolution selection code, so that one unit time can be lengthened. Thus, it is not necessary to increase the bit width of each area even for a packet received at a low rate or a packet having a long packet length. When receiving a packet that takes 10 msec to complete the reception, timeout can be detected by selecting a signal obtained by dividing the system clock 19 by six.

【0038】上記第2の実施の形態は第1の実施の形態
の効果に加えて、システムクロックを分周し、タイマ部
のインクリメントの単位時間を長く設定することができ
るため、低レ−トで受信されるパケットまたはパケット
長が長いパケットに対応できる。また、タイマ部内のカ
ウンタ、CAMのセルアレイ、各VCテ−ブル内のタイ
ムアウト許容時間などの領域のビット幅を小さくできる
という効果も有する。
In the second embodiment, in addition to the effects of the first embodiment, the system clock can be divided and the unit time for incrementing the timer section can be set long, so that the low rate can be achieved. Can correspond to a packet received with a packet length or a packet having a long packet length. In addition, there is an effect that the bit width of a region such as a counter in the timer unit, a cell array of the CAM, and a time-out allowable time in each VC table can be reduced.

【0039】[0039]

【発明の効果】第1の効果は、ATMパケットのタイム
アウト検出を各受信VCのセルレ−ト、パケット長に応
じて各VC単位で正確に行うことができるということで
ある。その理由は、各受信VC単位で、ATM受信パケ
ットのタイムアウトの許容時間を設定できるためであ
る。図1を参照すると、例えば、各VCのパケットが正
常に受信され組み立てられるまでの所要時間が、VC
i:2msec、VCj:4msec、VCk:8ms
ecである場合に、タイムアウトの許容時間をそれぞれ
のVCに対して、2msec、4msec、8msec
と設定することができる。
The first effect is that the detection of the timeout of the ATM packet can be accurately performed for each VC in accordance with the cell rate and the packet length of each received VC. The reason is that the permissible time of the timeout of the ATM reception packet can be set for each reception VC. Referring to FIG. 1, for example, the time required for a packet of each VC to be normally received and assembled is represented by VC
i: 2 msec, VCj: 4 msec, VCk: 8 ms
ec, the allowable time for timeout is set to 2 msec, 4 msec, 8 msec for each VC.
Can be set.

【0040】第2の効果は、タイムアウト検出部にCA
Mを使用しているためにタイムアウト検出部の回路規模
を小さくすることができるということである。
The second effect is that CA
The use of M means that the circuit size of the timeout detection unit can be reduced.

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

【図1】本発明にかかるATM受信装置のタイムアウト
検出装置の第1の実施の形態のブロック図である。
FIG. 1 is a block diagram of a first embodiment of a timeout detecting device of an ATM receiving device according to the present invention.

【図2】図1に示した本発明の第1の実施の形態の動作
を説明するためのフロ−チャ−トである。
FIG. 2 is a flowchart for explaining the operation of the first embodiment of the present invention shown in FIG.

【図3】本発明にかかるATM受信装置のタイムアウト
検出装置の第2の実施の形態のブロック図である。
FIG. 3 is a block diagram of a second embodiment of the timeout detecting device of the ATM receiving device according to the present invention.

【図4】本発明および従来技術が適用されるATM通信
装置で構成されるATMネットワ−クシステムの一例を
説明するための図である。
FIG. 4 is a diagram for explaining an example of an ATM network system including an ATM communication device to which the present invention and the prior art are applied.

【図5】パケットのATMセル化を説明するためのブロ
ック図である。
FIG. 5 is a block diagram for explaining conversion of a packet to an ATM cell.

【図6】本発明および従来技術が適用されるATM通信
装置の一例を示すブロック図である。
FIG. 6 is a block diagram showing an example of an ATM communication device to which the present invention and the prior art are applied.

【図7】従来例のタイムアウト検出装置の一例のブロッ
ク図である。
FIG. 7 is a block diagram of an example of a conventional timeout detection device.

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

1 CAM 2 セレクタ 3 CAMセルアレイ 4 アドレスデコ−ダ 5 プライオリティエンコ−ダ 6 タイマ部 7 カウンタ 8 インクリメンタ 9 書き込み/検索モ−ド切り換え部 10 加算器 11 ヘッダ/ペイロ−ド分離部 12 VPI/VCI−VC変換部 13 受信デ−タFIFO 14a〜14c 受信VCテ−ブル 15a〜15c 受信VCテ−ブル 16 T1レジスタ 17 TSレジスタ 18 比較器 19 システムクロック 20a、20b ATMサ−バ 21a〜21c ATM端末 22a〜22c ATMスイッチ 23a〜23f ATMセル 24 SAR受信部 25 SAR送信部 26 DMAコントロ−ラ 27 コントロ−ルメモリ(VCテ−ブル) 28 PHY 29 CPU 30 システムメモリ 31 システムバス 32 セレクタ 33 k分周回路 34 m分周回路 35 n分周回路 1 CAM 2 Selector 3 CAM Cell Array 4 Address Decoder 5 Priority Encoder 6 Timer 7 Counter 8 Incrementer 9 Write / Search Mode Switching Unit 10 Adder 11 Header / Payload Separation Unit 12 VPI / VCI- VC converter 13 Received data FIFO 14a-14c Received VC table 15a-15c Received VC table 16 T1 register 17 TS register 18 Comparator 19 System clock 20a, 20b ATM server 21a-21c ATM terminal 22a ATM switch 23a to 23f ATM cell 24 SAR receiver 25 SAR transmitter 26 DMA controller 27 Control memory (VC table) 28 PHY 29 CPU 30 System memory 31 System bus 32 Selector 33 k frequency divider 34 m frequency divider 35 n frequency divider

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 受信したパケットの各ATMセルのヘッ
ダとペイロードとを分離するヘッダ/ペイロード分離部
と、 前記ペイロードを格納する受信データ格納部と、 該受信データ格納部から前記ペイロードを読み出し、C
PU及びシステムメモリが接続されたシステムバスへD
MA転送するDMAコントローラと、 前記ヘッダから抽出したVPI/VCIをVCに変換す
るVPI/VCI−VC変換部と、 該VPI/VCI−VC変換部に接続され、前記VCに
対応するタイムアウト許容時間とタイムアウト検出を行
うかどうかを設定する第1のEビットとが格納された複
数のVCテーブルと、 前記各ATMセルの受信時刻を出力するタイマー部と、 該タイマー部からの出力される時刻と前記各ATMセル
のVCに対応するVCテーブルから読み出した前記タイ
ムアウト許容時間とを加算する加算器と、 該加算機の出力値と前記タイマー部から出力される時刻
の何れかを選択して出力するセレクター部と、 前記VCをデコーダによりデコードし、前記セレクター
を介して前記VCに対応した前記加算機の出力値を書き
込み、この書き込んだ出力値と前記タイマー部から出力
される時刻とが一致した場合にエンコーダーを介して一
致信号と共にどのVCにおいて一致したかを示す一致ア
ドレスを出力する複数のCAMセルと、 該複数のCAMセルのそれぞれに設けられ、先頭セルを
受信した場合に第1の状態にされ、最終セルを受信する
か若しくは前記一致信号が検出された場合に第2の状態
にされる第2のEビットと、を含むことを特徴とするA
TM受信装置。
1. The header of each ATM cell of a received packet.
Header / payload separation unit that separates data from payload
And a reception data storage unit for storing the payload, and reading the payload from the reception data storage unit.
D to system bus to which PU and system memory are connected
DMA controller for MA transfer, and conversion of VPI / VCI extracted from the header to VC
And a VPI / VCI-VC conversion unit connected to the VPI / VCI-VC conversion unit.
Executes the corresponding timeout allowable time and timeout detection.
And a first E bit for setting whether or not
VC table, a timer section for outputting the reception time of each of the ATM cells, a time outputted from the timer section, and each of the ATM cells.
The tie read from the VC table corresponding to the VC of
An adder for adding the time-out allowable time, an output value of the adder , and a time output from the timer unit.
And a selector for selecting and outputting any one of the following: and a decoder for decoding the VC by a decoder.
Write the output value of the adder corresponding to the VC via
Output from the timer unit
If the time matches the
A match signal indicating which VC matched with the match signal.
A plurality of CAM cells for outputting the address, and a first cell provided in each of the plurality of CAM cells.
When receiving, set to the first state and receive the last cell
Or the second state when the coincidence signal is detected.
And a second E bit that is
TM receiver.
【請求項2】 システムクロックを分周する手段と、外
部から供給されるタイム分解能選択コードにより前記タ
イマ部内のカウンタ値をインクリメントする信号を選択
するセレクタを備え、前記タイマ部の1単位時間を制御
する分周手段を有することを特徴とする請求項1に記載
のATM受信装置。
And means for dividing the system clock.
The time resolution selection code supplied from the
Select the signal to increment the counter value in the timer section
To control one unit time of the timer section
2. The frequency dividing means according to claim 1, further comprising:
ATM receiver.
JP24252297A 1997-09-08 1997-09-08 ATM receiver Expired - Fee Related JP2985844B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP24252297A JP2985844B2 (en) 1997-09-08 1997-09-08 ATM receiver
EP19980116240 EP0907298A1 (en) 1997-09-08 1998-08-27 Method and apparatus for detecting timeout of ATM reception packet
US09/148,785 US6411622B1 (en) 1997-09-08 1998-09-04 Method and apparatus for detecting timeout of ATM reception packet
CN98117675A CN1103522C (en) 1997-09-08 1998-09-07 Method and apparatus for detecting timeout of ATM reception packet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24252297A JP2985844B2 (en) 1997-09-08 1997-09-08 ATM receiver

Publications (2)

Publication Number Publication Date
JPH1188351A JPH1188351A (en) 1999-03-30
JP2985844B2 true JP2985844B2 (en) 1999-12-06

Family

ID=17090368

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24252297A Expired - Fee Related JP2985844B2 (en) 1997-09-08 1997-09-08 ATM receiver

Country Status (4)

Country Link
US (1) US6411622B1 (en)
EP (1) EP0907298A1 (en)
JP (1) JP2985844B2 (en)
CN (1) CN1103522C (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6993048B1 (en) * 2000-07-31 2006-01-31 Cisco Technology, Inc. ATM permanent virtual circuit and layer 3 auto-configuration for digital subscriber line customer premises equipment
WO2001001634A1 (en) * 1999-06-24 2001-01-04 Fujitsu Limited Dynamic virtual channel manager
JP2001156783A (en) * 1999-11-26 2001-06-08 Fujitsu Ltd Dynamic virtual channel management circuit and system using it
JP3585823B2 (en) * 2000-09-29 2004-11-04 株式会社東芝 Wireless communication system and timeout value updating method thereof
KR100454917B1 (en) * 2001-08-30 2004-11-12 삼성전자주식회사 Apparatus and method for automatical expiration of virtual channel connection in atm switch
KR100445188B1 (en) * 2001-08-31 2004-08-18 주식회사 실트론 Coating material for absorbing a radiation energy, the method thereof, the apparatus for cooling, and growing a single crystaline silicon ingot
US7103005B2 (en) * 2002-03-05 2006-09-05 Hewlett-Packard Development Company, L.P. System and method for resolving wraparound ambiguity in a counter
US7016996B1 (en) * 2002-04-15 2006-03-21 Schober Richard L Method and apparatus to detect a timeout condition for a data item within a process
JP2009182458A (en) * 2008-01-29 2009-08-13 Sony Corp Communication apparatus, communication system, communication method, and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07253936A (en) * 1994-01-27 1995-10-03 Toshiba Corp Time-out processing circuit and reception device using the same
JP2738504B2 (en) 1994-07-22 1998-04-08 沖電気工業株式会社 Timeout monitoring device
EP1686742B1 (en) * 1995-06-05 2008-10-01 NEC Electronics Corporation Communiction control device and method for an ATM system applicable to an ABR mode
US5978951A (en) * 1997-09-11 1999-11-02 3Com Corporation High speed cache management unit for use in a bridge/router

Also Published As

Publication number Publication date
US6411622B1 (en) 2002-06-25
CN1103522C (en) 2003-03-19
CN1213916A (en) 1999-04-14
EP0907298A1 (en) 1999-04-07
JPH1188351A (en) 1999-03-30

Similar Documents

Publication Publication Date Title
EP0530680B1 (en) ATM cell assembling and disassembling system and method
US7710980B2 (en) Synchronization system and method
CA2108863C (en) Packet disassembler
JP3129244B2 (en) Communication control device
US5740173A (en) Asynchronous transfer mode (ATM) cell arrival monitoring system
US5848067A (en) AAL1 processing method and apparatus for parallelly executing sequence number processing and pointer comparison processing in ATM cell disassembly apparatus
US5619499A (en) Protocol processor in communication network transferring data in asynchronous transfer mode
JPH06276214A (en) Stm/atm signal mixture processing method and switching system
JP2985844B2 (en) ATM receiver
EP1047280B1 (en) Communication systems
US6094432A (en) Apparatus for and method of segmenting and reassembling constant bit rate traffic in asynchronous transfer mode network
US6418144B1 (en) AAL terminal system of duplex configuration and synchronization method
US5642347A (en) Approach to direct performing asynchronous transfer mode (ATM) adaptation layer 5 reassembly
US5751695A (en) ATM cell flow control apparatus
US6449254B1 (en) ATM cell filtering
US7613788B2 (en) Apparatus and method for data transmission
JP3134702B2 (en) Communication control device and control method thereof
US7167477B2 (en) Apparatus and method for recovering abnormal control cells in asynchronous transfer mode exchange subscriber unit
JPH10107799A (en) Cell transmission speed decoupling method
JPH10257068A (en) Atm controller and atm communication controller
JPH1023024A (en) Atm exchange and its method
KR20000025330A (en) Method for transmitting/receiving transport stream packet with constant bit ratio through aal 5
JP3008905B2 (en) ABR shaper rate control method
KR0165097B1 (en) Input buffered atm switch
JP2937750B2 (en) Pointer insertion device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990831

LAPS Cancellation because of no payment of annual fees