JP3812231B2 - First-in first-out memory read waiting time excess cell discard circuit and cell discard method - Google Patents
First-in first-out memory read waiting time excess cell discard circuit and cell discard method Download PDFInfo
- Publication number
- JP3812231B2 JP3812231B2 JP21246299A JP21246299A JP3812231B2 JP 3812231 B2 JP3812231 B2 JP 3812231B2 JP 21246299 A JP21246299 A JP 21246299A JP 21246299 A JP21246299 A JP 21246299A JP 3812231 B2 JP3812231 B2 JP 3812231B2
- Authority
- JP
- Japan
- Prior art keywords
- cell
- cells
- read
- time
- address
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、FIFO(First In First Out)メモリ(以下FIFOと称する)に書き込まれた読出し待機中のセルの廃棄方式に関する。
【0002】
ディジタル通信において、転送する情報を一定長のデータに分割し、一定長の長さに分割されたそれぞれのデータに、宛先、シーケンシャル番号、誤り制御情報を書き込んだヘッダを付加してセルを構成し、セルを転送の単位として通信を行う通信システム、例えば、ATM通信システムが広く採用されてきている。
【0003】
このような、セルによる通信においては、セルの転送装置は、セルのヘッダに書き込まれた宛先情報を解読して、指定された宛先にセルを転送する。このとき、セルの転送装置の中では、セルを受信した順序でメモリに書き込み、セルの送出はメモリに書き込まれた古いセルから順に送出している。かかる書き込み、読み出しを効率的に行うためのメモリとしてFIFOが使用されている。
【0004】
かかるセルの転送装置内のFIFOに書き込まれた読出し待機中のセルの廃棄処理を効率的に行うことのできる読出し待機中のセルの廃棄方式が要求されている。
【0005】
【従来の技術】
セルを使用する通信システムとして、ATM通信システムがある。例えば、ATM通信においては、ヘッダ部とデータ部から構成されるATMセルを使用して通信を行っている。
【0006】
ATM通信装置はATMセルを受信し、ATMセルのヘッダの内容を確認し、そこで指定された宛先にATMセルを転送する。
【0007】
かかるATMセルを使用する通信システムにおいて、ATMセルの転送が正常に行われているか否かを確認するためにOAM(Operation Administration & Maintenance 、保守運用管理機能) が設けられている。OAMの代表的な機能としてループバック試験があり、ループバック試験はループバック試験用のOAMセル(以下ループバックセルと称する)を、ループバックポイントを指定して送出し、ループバックポイントでは、ループバックセルを検出して、折り返し側の伝送路上の有効空きセルに挿入して返送する。OAMセルを送出したATM通信装置は、送出したOAMセルと受信したOAMセルを比較することにより、ATM通信装置および伝送路の正常性をチェックする。
【0008】
図22はATM通信装置を説明する図を示す。図において、10は受信インタフェース(以下インタフェースをINFと称する)と送信INFからなるセル送受信INF部であり、受信INF、送信INFは受信したセルがループバック(図中LBと示す)セルであるか否かを監視するLBセル監視部11と、LBセル監視部11で受信したセルがループバックセルであることを検出した場合、そのセルを分離するLBセル分岐部12と、LBセル分岐部12で分離されたセルを一時的に書き込んでおくFIFO14と、対応する伝送路上にループバックセルを挿入するLBセル挿入部13から構成されている。20はセルのヘッダで指定される宛先に、そのセルを送出することによりクロスコネクトを行うクロスコネクト部である。
【0009】
以下、本発明のセル廃棄方式を、ループバックセルの廃棄動作を例として、詳細に説明する。
【0010】
図23はループバックセル用のFIFOのアドレスマップを説明する図である。
【0011】
ここでは、FIFOの格納容量を64セルとしており、1セルは27ビットから構成されている。書込みはセルアドレス0から開始し、ループバックセルを受信するごとに現在のアドレスに「1」加算したアドレスを次のLBセルの書込みアドレスとして書込みを行い、セルアドレス63になると、次はセルアドレス0に戻ることにより、FIFOを循環的に使用する。
【0012】
また、FIFOに対する書き込み、読み出し位相は固定で、同一クロックにより読出し、書込みを行い、格納したセル数が64セルでFIFO Full、0セルでFIFO Emptyを出力する。
【0013】
図24はループバック動作のフローチャートである。以下、フローチャートのステップ(STEP、図中Sと示す)にしたがって動作を説明する。
【0014】
(A)は書込みフローチャートであり、FIFOへのセル書込み動作を説明する。セル書込みはセルを受信することによりスタートする。
【0015】
S10:受信したセルがループバックセルであるか否かを判定し、ループバックセルでない場合はS15へ進む。
【0016】
S11:ループバックセルの場合は、セルを書き込むFIFOに空きがあるか否かを判定し、空きがない場合はS14へ進む。
【0017】
S12:FIFOに空きがある場合は、FIFOに受信したセルを書き込む。
【0018】
S13:FIFOが空きではない(セルが書き込まれている)ことを示す×FIFO Epy(×は反転信号を示す)を出力する。
【0019】
S14:S11でFIFOに空きがないと判定された場合、そのセルを廃棄する。
【0020】
S15:S10で受信したセルがループバックセルでないと判定された場合、そのセルをそのまま通過させ、クロスコネクト部へ送出する。
【0021】
(B)は読出しフローチャートであり、FIFOからのセル読出し動作を説明する。読出しはFIFO ×Epyを受信することによりスタートする。
【0022】
S20:受信したセルが有効空きセルであるか否かを判定し、有効空きでない場合は次のセルを待つ。
【0023】
S21:受信したセルが有効空きセルの場合、FIFOからデータを読み出し、有効空きセルに書き込みループバックセルとして送出する。
【0024】
かかる動作により、ループバックセルの折返しを行う。
【0025】
図25は従来技術の構成を説明する図である。100はFIFOであり、図24で説明したアドレス構成を持つものである。210は書込みビットアドレスを生成する書込みビットアドレス生成部であり、220は書込みセルアドレスを生成する書込みセルアドレス生成部であり、510は読出しビットアドレスを生成する読出しビットアドレス生成部であり、520は読出しセルアドレスを生成する読出しセルアドレス生成部であり、401は書込みアドレス、読出しアドレスを監視することにより、FIFO100に書き込まれたセルの容量を監視し、FIFO100がFull状態でFull信号(図中Fullと示す)を、FIFO100がEmpty状態でEpy信号(図中Epyと示す)を出力するセル容量監視部であり、A1、A2は2つの信号の論理積をとるAND回路、INVは信号の反転を行うインバータ、DECは入力した読出しビットアドレス26をデコードして出力するデコーダである。
【0026】
図26はループバックセルの書込み動作タイムチャートである。図において、DTiは入力セルであり、CSIは入力セルの先頭位置を示し、LBは受信したセルがループバックセルであるか否かの判定結果を示す。CSIを受信すると書込みビットアドレス生成部210が起動され、書込みビットアドレス0から書込みを行い、AND回路A1で受信したセルがループバックセルであり、かつ、FIFO100が×Fullのとき書込みセルアドレス生成部220が起動され、書込みセルアドレスをカウントアップすることによりFIFO100に1セルの書き込みを行う。このとき、セル容量監視部401は1セル書き込まれたことを検出して空き状態ではなくなるので、×Epyがハイとなる。
【0027】
次いで、ユーザセルが入力されたときは、セルアドレス1に書込みを行うが、ループバックセル判定が否であるので、次のループバックセルを受信したときにセルアドレス1にその上から上書きされ、FIFO100には、ループバックセルのみが書き込まれていく。
【0028】
図27はループバックセルの読出し動作タイムチャートである。図において、セル容量監視部401から×Epyが通知されると、有効空きセルの検出を開始し、有効空きセルを検出すると、読出しビットアドレス生成部510を起動し、読出しビットアドレス0から読出しを行い、出力セルDToとして出力する。AND回路A2では、読出しビット26で、×Epyがハイのときに読出しセルアドレス生成部を起動して、読出しセルアドレスをカウントアップする。
【0029】
【発明が解決しようとする課題】
図22で説明したATM通信装置を使用してセルのループバック試験を行うとき、ATM通信装置でループバックセルを生成、送出してから受信するまでの時間に、制限時間を設け、この制限時間を超過して受信したループバックセルは無効セルと判定している。一方、折り返し側のATM通信装置では、有効空きセルを検出して、FIFO14に書き込まれたループバックセルを読み出して送出するので、制限時間を設けても、有効空きセルを検出するまでは、ループバックセルをFIFO14内に格納し続けてしまう。
【0030】
このように、制限時間を超過した古いセルを格納していると、ループバック側のATM通信装置で、新しいループバックセルを受信しても制限時間内に折り返しができなかったり、FIFO14がFull状態になっていた場合には、そのセルが廃棄されてしまう。
【0031】
本発明は、FIFOに書き込まれた読出し待機中のセルについて、制限時間を設けて、セルの時間監視を行い、制限時間を超過したセルの廃棄処理を行うことで、制限時間を超過した古いセルが蓄積されることを防止できる読出し待機中のセル廃棄方式を実現することを目的とする。
【0032】
【課題を解決するための手段】
図1は本発明の第1の原理を説明する図である。図中の100はJ個のセルを0からJ−1のセルアドレスに書込みと読出しを行うFIFOであり、200は書込みアドレスを生成する書込みアドレス生成手段と、400はFIFOのセル容量を監視するセル容量監視手段であり、500はセル廃棄機能にセル廃棄数によるセル廃棄機能を有する廃棄セルアドレス生成手段(図中廃棄手段と示す)501を有する読出しアドレス生成手段であり、600は読出し待機中セルのセル待機時間監視のための基準パルスmを外部から受信または基準パルスmを生成する基準パルス生成手段である。
【0033】
また、310はFIFO100の読出し待機中のセルについて、基準パルスmの時間単位でm×n時間中のセル待機機能およびm×nの制限時間を超過したセルを検出する機能にアクセスセルのセル待機時間を監視するアクセスセル・セル待機時間監視手段である。
【0034】
かかる構成により、受信したセルは、書込みアドレス生成手段200の生成するFIFO100のアドレスに順次書き込み、アクセスセル・セル待機時間監視手段310で、基準パルス生成手段600の生成する基準パルスmを受信し、書込みセル数を単位時間ごとに時間監視し、所定の制限時間m×nを超過した読出し待機中のセル中の廃棄対象となる廃棄セル情報を抽出し、読出しアドレス生成手段500でアクセスセル・セル待機時間監視手段310が抽出した廃棄セル情報をもとに、廃棄セルアドレス生成手段501で廃棄セルアドレスを生成し、制限時間m×nを超過したセルを廃棄する。(請求項1)
図2は第2発明の原理を説明する図である。図中のFIFO100、書込みアドレス生成手段200、セル容量監視手段400、読出しアドレス生成手段500、および基準パルス生成手段600は図1と同じ構成である。
【0035】
また、320は基準パルス生成手段600の生成する基準時間パルスmを単位時間として受信し制限時間を単位時間の整数倍m×nとし、書込みを行ったときは、格納セル数として計数しつつ、計数した格納セル数について、単位時間を経過時間の区切りとして経過時間ごとに制限時間m×n分の時間監視を行い、セルの読出しを行ったときは、格納セル数の監視情報の中から経過時間の最も古い格納セル数の監視情報を検索して減算を行い、制限情報m×nを超過した格納セル数の監視情報を廃棄対象のセル数として抽出する格納セル・セル待機時間監視手段である。
【0036】
かかる構成により、受信したセルは、書込みアドレス生成手段200の生成するFIFO100のアドレスに順次書き込み、格納セル・セル待機時間監視手段320で、基準パルス生成手段600の生成する基準パルスmを受信し、格納セル数を単位時間ごとに時間監視し、所定の制限時間m×nを超過した格納セル数を廃棄セル数として抽出し、読出しアドレス生成手段500で格納セル・セル待機時間監視手段320が抽出した廃棄セル情報をもとに、制限時間m×nを超過したセルを廃棄する。(請求項2)
図3は第3発明の原理を説明する図である。図中のFIFO100、書込みアドレス生成手段200、セル容量監視手段400、読出しアドレス生成手段500、および基準パルス生成手段600は図1と同じ構成である。
【0037】
また、330は基準パルス生成手段600の生成する基準時間パルスmを単位時間として受信し制限時間を単位時間の整数倍m×nとし、FIFO100の書込みセルアドレスを監視する書込みセルアドレス監視手段(図中セルアドレス監視手段と示す)350と、FIFO100の書込みアクセス面と読出しアクセス面の位置関係を示すアクセス面監視手段340について、単位時間を経過時間の区切りとして経過時間ごとに制限時間m×n分の時間監視を行い、さらに、各経過時間ごとの監視情報が有効であるか否かを示すイネーブル監視手段360から構成し、基準パルスを受信するごとに、制限時間m×nを経過したイネーブル監視情報が有効である場合、制限時間を経過したセルアドレス情報と制限時間を経過したアクセス面監視情報と現在の読出しセルアドレスより、制限時間m×nを超過した廃棄対象となる読出し待機中のセルアドレス領域を抽出するアドレス・セル待機時間監視手段である。
【0038】
かかる構成において、受信したセルは、書込みアドレス生成手段200の生成するFIFO100のアドレスに順次書き込み、アドレス・セル待機時間監視手段330で、基準パルス生成手段600の生成する基準パルスmを受信し、格納セル数を単位時間ごとに時間監視し、FIFO100の書込み面と読出し面の変化情報と、書込みセルアドレスとイネーブル情報を単位時間ごとに監視し、制限時間m×nを超過した廃棄対象となるアドレス領域を検出し、廃棄セルアドレスを抽出し、制限時間を超過したセルを廃棄する。(請求項3)
【0039】
【発明の実施の形態】
図4は第1発明の実施の形態の構成を説明する図である。第1発明の実施の形態では、図2で説明した書込みアドレス生成手段200を書込みビットアドレス生成部210と、書込みセルアドレス生成部220と、AND回路A1から構成し、アクセスセル・セル待機時間監視手段310をアクセスセル・セル待機時間監視部311(詳細は図5で説明する)から構成し、セル容量監視手段400を書込みアドレス、読出しアドレスを監視して、FIFO100に書き込まれたセル数を監視し、FIFO100がFull状態でFull信号を、FIFO100がEmpty状態でEpy信号を出力するセル容量監視部401で構成している。
【0040】
また、読出しアドレス生成手段500を読出しビットアドレス生成部510と、読出しアドレスをジャンプする加算器522を持つ読出しセルアドレス生成部520(図8で詳細を説明する)と、AND回路A2と、デコーダDECから構成し、Epy信号を反転して×Epyとして出力するインバータ(図中INVと示す)から構成している。図中のRUPは1セル読出し完了パルス、WUPは1セル書込み完了パルスを示す。
【0041】
図5は第1発明の実施の形態のアクセスセル・セル待機時間監視部を説明する図である。図において、アクセスセル・セル待機時間監視部311は書込みセル数カウンタ311A、シフトレジスタ3111〜3115、廃棄セル数判定部311B、、および、出力セル数カウンタ311Cから構成している。
【0042】
第1発明の実施の形態の動作を図4、図5にしたがって説明する。実施の形態の説明においては、時間監視のための基準時間パルスは、FIFO100の読出し位相と同位相の1秒パルス(図中FP1と示す)とし、1秒単位で経過時間をカウントする。また、読出し待機時間の制限時間は5秒とする。
【0043】
アクセスセル数による待機時間監視では、次の関係となっている。
【0044】
ここで、書込みが1セル完了すると処理01の左辺、右辺に「1」加算する。
【0045】
読出しが1セル完了すると処理01の読出しセル数に「1」加算し、右辺は「1」減算する。
【0046】
図5において、書込みセル数の1秒経過ごとの変更は、シフトレジスタ3111〜3115の内容をFP1により1段ずつシフトすることにより行う。
【0047】
図6は第1発明の実施の形態のアクセスセル・セル待機時間監視部の動作フローチャートを示す。フローチャート中、判定YesをY、NoをNと示す。
【0048】
S10〜S15でRUP=1、かつFP1=1のときは、1秒経過し同時に1セルの読出しが行われたので、処理03より読出しセル数Rを「1」加算し、処理05より5秒経過したアクセスセル数W5が加算した読出しセル数R+1以上のときは、廃棄セル数(図中NCと示す)をW−(R+1)とし、ロード値(図中LD値と示す)を「0」とし、そうでなければ、セル廃棄数を「0」とし、ロード値を(R+1)−W5とし各Wiの値をシフトレジスタによりシフトする。(処理05) S20〜S22でFP1=1のときは、処理05より5秒経過したアクセスセル数W5がセル数R以上のときは、セル廃棄数をW5−Rとし、ロード値を「0」とし、そうでなければ、セル廃棄数を「0」とし、ロード値をR−W5とした上で(処理05)、S15の処理により各Wiの値をシフトレジスタ3111〜3115によりシフトする。(処理01)
S30〜S31で、RUP=1のときは、処理03より読出しセル数Rを「1」加算する。
【0049】
S40〜S41で、WUP=1のときは、処理01より書込みセル数Wを「1」加算する。
【0050】
廃棄セル数判定部311Bは出力セル数カウンタ311CとW5の値を比較し、処理05により廃棄セル数を決定する。
【0051】
図7は第1発明の実施の形態のセル廃棄処理を説明する図である。FIFO100にセルをアドレス0からアドレス63に順に書き込み、アドレス63の次はアドレス0に戻る。状態Aはセル廃棄処理の対象となるセルアドレスの領域に63から0に戻るポイントを含まない状態を示し、状態Bはセル廃棄処理の対象となるセルアドレスの領域に63から0に戻るポイントを含む状態を示している。
【0052】
図8は第1発明の実施の形態の読出しセルアドレス生成部を説明する図である。第1発明の実施の形態においては、読出しセルアドレスを生成するアドレス生成部521と、原理図で説明したセル廃棄手段501として廃棄セル数を加算することによりアドレスをジャンプする加算器522とフリップフロップ回路(図中FF回路と称する)523から構成している。
【0053】
アドレスの生成は次による。
【0054】
図9は第1発明の実施の形態の読出しセルアドレス生成部の動作フローャートである。図は処理06、処理07をフローチャートとして表したものである。
【0055】
S10〜S11で、RUP=1かつ、FP1=1のときは、1セルの読出しと1秒経過が同時に生じたので、処理06よりTOTALをRCELL(P)+廃棄セル数+1とする。
【0056】
S20〜21では、FP1=1のときは1秒経過したので、処理06よりTOTALをRCELL(P)+廃棄セル数とする。
【0057】
S30〜S31では、RUP=1のときは1セルの読出しが行われたので、処理06よりTOTALをRCELL(P)+1とする。
【0058】
S40〜S42で、処理07よりTOTALが64以上であるか否かを判定し、64以上のときは、RCELL(G)をTOTAL−64(アドレスが63から0に戻ったため)とし、63以下のときは、RCELL(G)をTOTALとする。
【0059】
かかる処理により、読出しセルアドレスを生成し、廃棄するセルのアドレスを読み飛ばすことによりセルの廃棄を行う。
【0060】
図10は第2発明の実施の形態の構成を説明する図である。第2発明の実施の形態において、書込みアドレス生成手段200を書込みビットアドレス生成部210と、書込みセルアドレス生成部220と、AND回路A1とから構成し、セル容量監視手段400をセル容量監視部401で構成し、読出しアドレス生成手段500を読出しビットアドレス生成部510と、読出しセルアドレス生成部520と、AND回路A2と、デコーダDECと、インバータINVから構成していることは第1発明の実施の形態と同じである。
【0061】
第2発明の実施の形態では格納セル・セル待機時間監視手段320を格納セル・セル待機時間監視部321(詳細は図11で説明する)から構成している。
【0062】
図11は第2発明の実施の形態の格納セル・セル待機時間監視部を説明する図である。図において、格納セル・セル待機時間監視部321は格納セル数カウンタ321A、シフトレジスタ3211〜3215から構成している。
【0063】
第2発明の実施の形態においても、時間監視の基準パルスは、FIFO100の読出し位相と同位相の1秒パルスFP1とすることは、第1発明の実施の形態と同じである。
【0064】
格納セル数による待機時間監視では、次の関係となっている。
【0065】
ここで、書込みが1セル完了すると格納セル数が「1」増加する。
【0066】
読出しが1セル完了すると格納セル数の合計から「1」減算するとともに、左辺の各格納セル数Ciの中で格納セル数が「1」以上で、最も古い格納セル数Cjから「1」減算する。
【0067】
そこで、各格納セル数Ciに読出しイネーブル信号(以下イネーブル信号と称する)CEiを付与する読出しイネーブル付与部(図示省略)を設けて、格納した情報に優先順位を持たせることにより古い格納セル情報を検出し、確定した最も古い格納セル数Cjから「1」減算する。
【0068】
1秒パルスFP1を受信したときは、▲4▼式の左辺において各格納セル数が1秒経過したので、それぞれ次のようにセル数を変更する。
【0069】
ここで、格納セル数C5は制限時間5秒を超過した廃棄セル数として左辺から減算され、右辺は格納セル数の合計から、廃棄セル数を減算する。
【0070】
図12、13は第2発明の実施の形態の格納セル・セル待機時間監視部の動作フローチャート(その1)、(その2)である。図13は処理10をフローチャートとして表したものである。
【0071】
S10でRUP=1かつFP1=1のときは、1セルの読出しと1秒経過が同時に生じたので、図13の動作フローチャート(その2)を経由した後S11で格納セル数Ciをそれぞれ次の格納セル数としてシフトする。図12のA、Bはそれぞれ図13のA、Bへ処理が継続される。S20では、FP1=1で1秒経過したので、S11の処理11を実行する。
【0072】
S30ではRUP=1で1セルの読出しが行われたので、図13の処理を実行する。
【0073】
S40、41では、WUP=1で1セルの書込みが行われたので、格納セル数C0に「1」加算する。
【0074】
図13はRUP=1、すなわち、1セルの読出しが行われたときに、セルが蓄積されている中の最も古いシフトレジスタ321jのセル数から「1」を減算する処理を示す。
【0075】
S10ではCiが1以上であることを判定し、判定がYのとき、S11でCiから「1」減算し、イネーブル信号CEiを0にセットする。判定がNのとき、イネーブル信号CEiを1とし、次の監視情報Ci−1について同様の判定を行う。次いで、S20〜S22、S30〜S32、S40〜S42、S50〜S52、S60〜S62でCiの古い順に、イネーブルCEi+1とセルの有無を確認して、最も古いCiから「1」を減算している。
【0076】
かかる処理により最終段のシフトレジスタ3215から出力されるC5が制限時間を超過した廃棄セル数として出力される。
【0077】
廃棄セル数を抽出した後の、読出しセルアドレス制御によるセルの廃棄処理は第1発明の実施の形態と同じである。
【0078】
図14は第3発明の実施の形態の構成を説明する図である。第3発明の実施の形態においても、書込みアドレス生成手段200を書込みビットアドレス生成部210と、書込みセルアドレス生成部220と、AND回路A1とから構成し、セル容量監視手段400をセル容量監視部401で構成し、読出しアドレス生成手段500を読出しビットアドレス生成部510と、読出しセルアドレス生成部520と、AND回路A2と、インバータINVから構成していることは第1発明の実施の形態と同じである。
【0079】
第3発明の実施の形態ではアドレス・セル待機時間監視手段330をアクセス面数監視部(図示省略)とセルアドレス監視部(図示省略、詳細は図13で説明する)および、監視情報の有効、無効を監視するイネーブル監視部(図示省略)からなるアドレス・セル待機時間監視部331で構成している。
【0080】
図15は第3発明の実施の形態のアドレス・セル待機時間監視部を説明する図である。図において、図3で説明したアクセス面監視手段340をアクセス面変化検出部341A、341C、アクセス面カウンタ341B、シフトレジスタ3411〜3415からなるアクセス面監視部で構成し、セルアドレス監視手段350をシフトレジスタ3511〜3515からなるセルアドレス監視部で構成するとともに、イネーブル監視手段360をイネーブル信号をシフトするシフトレジスタ3610〜3615と、廃棄セルアドレス抽出部371から構成している。
【0081】
第3発明の実施の形態においても、時間監視の基準パルスは、FIFO100の読出し位相と同位相の1秒パルスFP1とすることは、第1発明の実施の形態と同じである。
【0082】
図において、アクセス面と書込みアドレスの処理を行うとき、下記のデータの監視を行う。
【0083】
(WA0,A0,AE0)、(WA1,A1,AE1)、(WA2,A2,AE2)、(WA3,A3,AE3)、(WA4,A4,AE4)、(WA5,A5,AE5)、(RA)
ここで、
WAi:i秒経過した書込みセルアドレス
Ai:i秒経過したアクセス面情報(0:書込み/読出しアクセス面が同面、1:読出しアクセス面が書込み面の1面後ろ)
AEi:i秒経過したイネーブル信号(0:無効、1:有効)
RA:現在の読出しセルアドレス
ここでAiは、FIFO100の書込みセル数が64セルであり、書込みと読出しでアクセス面が異なるのはA0〜A5で1箇所のみである。
【0084】
1秒パルスFP1を受信したときは、各監視情報が1秒経過したので、処理14にしたがって各情報を更新する。更新前の5秒経過した監視情報(WA5、A5、AE5)と、現行の読出しアドレスRAの条件が処理15に該当するとき、図21に示すように、現在の読出しアドレスRAから遡り、5秒経過した書込みセルアドレスWA5までの領域が、制限時間を超過したセル廃棄の対象となる。このときの、5秒経過した書込みセルアドレスWA5をセル廃棄の対象領域を示すセル廃棄アドレスとして抽出し、5秒経過したイネーブル信号AE5をセル廃棄イネーブル信号として抽出する。
図21は第3発明の実施の形態のセル廃棄処理を説明する図である。(A)は、AE5=1でA=0、すなわち、WA5とRAのアクセス面が同じときのアドレス関係を示し、(B)はAE5=1でA=1、すなわち、RAがWA5に対してとアクセス面が1面後ろのときのアドレス関係を示す。
【0085】
図16〜図18は第3発明の実施の形態のアドレス・セル待機時間監視部の動作フローチャート(その1)〜(その3)である。
【0086】
図16のS10〜S12で1セル読出しと1秒経過が同時のときRAが「63」から「0」に変化したか否かを判定し、変化したときは、A0〜A5の中のAi>0となるAjを抽出して、Aj←0と設定し、変化していないときは、その状態で図17のフローチャートにしたがって、イネーブル信号AEi=1となる監視情報を経過時間の古い順に検出し、アクセス面情報Aiが1のときは図18の処理を進める。アクセス面情報Aiが0のときはWAiと現在のRAを比較して一致していなかったときは、図18の処理を行う。一致していないときは、AEi=1として図18の処理を行う。図18はセル廃棄アドレスを抽出する処理を示す。
【0087】
図16のS20では、1秒経過したので処理14を実行する。
【0088】
図17では、S10〜S13により、AE5=1のとき、読出しアクセス面が同じであれば、書込みアドレスWA5と読出しアドレスRAのアドレス位置関係によりAE5=0に設定する。
【0089】
以下同様に、S20〜、S30〜、S40〜、S50、S60〜の処理を実行する。
【0090】
図18では、AE5=1か否かを判定し、AE5=1で、A5=0でWA5≧RAの位置関係ときは、WA5をセル廃棄アドレスに、AE5をセル廃棄イネーブルと設定する。同様に、A5=0でなく、WA5<RAの位置関係ときもWA5をセル廃棄アドレスに、AE5をセル廃棄イネーブルとする。
【0091】
図19は第3発明の実施の形態の読出しセルアドレス生成部を説明する図である。図の524はロード機能付きカウンタで構成されるセルアドレス生成部であり、525はセルアドレス生成部524へのロードするロード値とロード動作を制御するロード制御部である。
【0092】
通常、読出しセルアドレスRCELLはRUP=1を受信すると1セルの読出しが行われたとして「1」インクリメントされ、セルアドレスが63になると0に戻る動作を行う。1秒パルスFP1を受信し、更新前の5秒経過した情報(WA5、A5、AE5)の中のAE5が有効であるとき、通常動作を無視してセル廃棄アドレスを読出しセルアドレスにロードすることによりセルの廃棄処理を行う。
【0093】
このときの読出しセルアドレスRCELL(G)の生成は次による。
【0094】
図20は第3発明の実施の形態の読出しセルアドレス生成部の動作フローチャートである。S10〜S11は1秒経過しかつセル廃棄イネーブル=1であるのてアドレス生成部524へ入力するロード信号=1とロード値=セル廃棄アドレスWA5を生成することにより上述の(a)の処理を行い、S20〜S22は1セルの読出しを行いかつ読出しセルアドレスが63であったのでロード信号=1とロード値=0を生成することにより(b)の処理を行い、S23は1セルの読出しを行ったのでロード信号=0とロード値=0を出力することにより上述の(c)の処理を行う。
【0095】
かかる処理により廃棄セルアドレスを決定し、読出しセルアドレス制御によるセルの廃棄処理を行う。
【0096】
【発明の効果】
本発明により、FIFOに書き込んだ読出し待機中のセルについて、読出しの制限時間を設け、制限時間を超過したセルを検出して廃棄することにより、セル転送装置を小規模で構成することが可能となり、装置の経済化を図ることががきる。
【0097】
さらに、セル転送装置内で制限時間を超過したセルを廃棄できるので、不要のセルの転送を行わないことにより、伝送路の輻輳を防止することも可能となる。
【図面の簡単な説明】
【図1】 第1発明の原理を説明する図
【図2】 第2発明の原理を説明する図
【図3】 第3発明の原理を説明する図
【図4】 第1発明の実施の形態を説明する図
【図5】 第1発明の実施の形態のアクセスセル・セル待機時間監視部を説明する図
【図6】 第1発明の実施の形態のアクセスセル・セル待機時間監視部の動作フローチャート
【図7】 第1発明の実施の形態のセル廃棄処理を説明する図
【図8】 第1発明の実施の形態の読出しセルアドレス生成部を説明する図
【図9】 第1発明の実施の形態の読出しセルアドレス生成部の動作フローチャート
【図10】 第2発明の実施の形態の構成を説明する図
【図11】 第2発明の実施の形態の格納セル・セル待機時間監視部を説明する図
【図12】 第2発明の実施の形態の格納セル・セル待機時間監視部の動作フローチャート(その1)
【図13】 第2発明の実施の形態の格納セル・セル待機時間監視部の動作フローチャート(その2)
【図14】 第3発明の実施の形態の構成を説明する図
【図15】 第3発明の実施の形態のアドレス・セル待機時間監視部を説明する図
【図16】 第3発明の実施の形態のアドレス・セル待機時間監視部の動作フローチャート(その1)
【図17】 第3発明の実施の形態のアドレス・セル待機時間監視部の動作フローチャート(その2)
【図18】 第3発明の実施の形態のアドレス・セル待機時間監視部の動作フローチャート(その3)
【図19】 第3発明の実施の形態の読出しセルアドレス生成部を説明する図
【図20】 第3発明の実施の形態の読出しセルアドレス生成部の動作フローチャート
【図21】 第3発明の実施の形態のセル廃棄処理を説明する図
【図22】 ATM通信装置を説明する図
【図23】 ループバックセル用のFIFOのアドレスマップを説明する図
【図24】 ループバック動作のフローチャート
【図25】 従来技術の構成を説明する図
【図26】 ループバックセルの書込み動作タイムチャート
【図27】 ループバックセルの読出し動作タイムチャート
【符号の説明】
100、14 FIFO
200 書込みアドレス生成手段
210 書込みビットアドレス生成部
220 書込みセルアドレス生成部
310 アクセスセル・セル待機時間監視手段
311 アクセスセル・セル待機時間監視部
320 格納セル・セル待機時間監視手段
321 格納セル・セル待機時間監視部
330 アドレス・セル待機時間監視手段
331 アドレス・セル待機時間監視部
340 アクセス面監視手段
350 セルアドレス監視手段
360 イネーブル監視手段
400 セル容量監視手段
401 セル容量監視部
500 読出しアドレス生成手段
501 セル廃棄手段
510 読出しビットアドレス生成部
520 読出しセルアドレス生成部
600 基準パルス生成手段
10 セル送受信INF
11 LBセル監視部
12 LBセル分岐部
13 LBセル挿入部
20 クロスコネクト部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a method for discarding a read-ready cell written in a FIFO (First In First Out) memory (hereinafter referred to as FIFO).
[0002]
In digital communication, the information to be transferred is divided into fixed-length data, and each data divided into fixed-length data is appended with a header that contains destination, sequential number, and error control information to form a cell. A communication system that performs communication using a cell as a unit of transfer, for example, an ATM communication system, has been widely adopted.
[0003]
In such a cell-based communication, the cell transfer device decodes the destination information written in the cell header and transfers the cell to the designated destination. At this time, in the cell transfer apparatus, the cells are written in the memory in the order of reception, and the cells are transmitted in order from the old cell written in the memory. A FIFO is used as a memory for efficiently performing such writing and reading.
[0004]
There is a demand for a method of discarding a cell in a standby state that can efficiently discard a cell in a standby state that has been written to the FIFO in the cell transfer apparatus.
[0005]
[Prior art]
There is an ATM communication system as a communication system using cells. For example, in ATM communication, communication is performed using an ATM cell composed of a header portion and a data portion.
[0006]
The ATM communication device receives the ATM cell, confirms the contents of the ATM cell header, and transfers the ATM cell to the designated destination.
[0007]
In a communication system using such ATM cells, an OAM (Operation Administration & Maintenance) is provided in order to confirm whether or not the ATM cells are normally transferred. As a typical function of the OAM, there is a loopback test. The loopback test transmits an OAM cell for loopback test (hereinafter referred to as a loopback cell) by designating a loopback point. A back cell is detected, inserted into a valid empty cell on the return side transmission path, and returned. The ATM communication device that has transmitted the OAM cell checks the normality of the ATM communication device and the transmission path by comparing the transmitted OAM cell with the received OAM cell.
[0008]
FIG. 22 is a diagram for explaining an ATM communication apparatus. In the figure,
[0009]
Hereinafter, the cell discard method of the present invention will be described in detail by taking the discard operation of a loopback cell as an example.
[0010]
FIG. 23 is a diagram illustrating a FIFO address map for loopback cells.
[0011]
Here, the storage capacity of the FIFO is 64 cells, and one cell is composed of 27 bits. Writing starts from
[0012]
The write / read phase for the FIFO is fixed, the read / write is performed with the same clock, and FIFO Full is output when the number of stored cells is 64 cells, and FIFO Empty is output when 0 cells are stored.
[0013]
FIG. 24 is a flowchart of the loopback operation. Hereinafter, the operation will be described according to the steps of the flowchart (STEP, indicated as S in the figure).
[0014]
(A) is a write flowchart, and the cell write operation to the FIFO will be described. Cell writing starts when a cell is received.
[0015]
S10: It is determined whether or not the received cell is a loopback cell. If it is not a loopback cell, the process proceeds to S15.
[0016]
S11: In the case of a loopback cell, it is determined whether or not there is an empty FIFO for writing the cell. If there is no empty, the process proceeds to S14.
[0017]
S12: If there is an empty FIFO, the received cell is written into the FIFO.
[0018]
S13: Outputs FIFO Epy (x indicates an inverted signal) indicating that the FIFO is not empty (a cell is written).
[0019]
S14: If it is determined in S11 that the FIFO is not empty, the cell is discarded.
[0020]
S15: If it is determined that the cell received in S10 is not a loopback cell, the cell is passed as it is and sent to the cross-connect unit.
[0021]
(B) is a read flowchart, and a cell read operation from the FIFO will be described. Reading is started by receiving FIFO × Epy.
[0022]
S20: It is determined whether or not the received cell is a valid empty cell. If the received cell is not valid empty, the next cell is awaited.
[0023]
S21: If the received cell is a valid empty cell, data is read from the FIFO and sent to the valid empty cell as a write loopback cell.
[0024]
With this operation, the loopback cell is turned back.
[0025]
FIG. 25 is a diagram for explaining the configuration of the prior art.
[0026]
FIG. 26 is a time chart of the loop back cell write operation. In the figure, DTi is an input cell, CSI indicates the head position of the input cell, and LB indicates a determination result of whether or not the received cell is a loopback cell. When the CSI is received, the write bit
[0027]
Next, when the user cell is input, the
[0028]
FIG. 27 is a read operation time chart of the loopback cell. In the figure, when xEpy is notified from the cell capacity monitoring unit 401, detection of a valid empty cell is started, and when a valid empty cell is detected, the read bit
[0029]
[Problems to be solved by the invention]
When a cell loopback test is performed using the ATM communication apparatus described with reference to FIG. 22, a time limit is provided for the time from the generation and transmission of a loopback cell to reception by the ATM communication apparatus. The loopback cell received in excess of is determined to be an invalid cell. On the other hand, the return side ATM communication device detects a valid empty cell and reads out and sends out the loopback cell written in the FIFO 14, so even if a time limit is provided, a loop is not detected until a valid empty cell is detected. The back cell continues to be stored in the FIFO 14.
[0030]
In this way, if an old cell that has exceeded the time limit is stored, even if a new loopback cell is received by the ATM communication device on the loopback side, it cannot be returned within the time limit, or the FIFO 14 is in the Full state. If so, the cell is discarded.
[0031]
The present invention sets a time limit for cells that are waiting to be read written in the FIFO, monitors the time of the cells, and discards cells that exceed the time limit so that the old cells that have exceeded the time limit An object of the present invention is to realize a cell discarding system during read standby that can prevent the accumulation of.
[0032]
[Means for Solving the Problems]
FIG. 1 is a diagram for explaining the first principle of the present invention. In the figure, 100 is a FIFO for writing and reading J cells from 0 to J-1 cell addresses, 200 is a write address generating means for generating a write address, and 400 is a monitor of the FIFO cell capacity. The cell capacity monitoring means 500 is a read address generation means 500 having a discarded cell address generation means (shown as a discard means in the figure) 501 having a cell discard function according to the number of discarded cells. Reference pulse generation means for receiving a reference pulse m for monitoring a cell waiting time of a cell from the outside or generating a reference pulse m.
[0033]
Further,
[0034]
With this configuration, the received cell sequentially writes to the address of the
FIG. 2 is a diagram for explaining the principle of the second invention. The
[0035]
320 receives the reference time pulse m generated by the reference pulse generating means 600 as a unit time, sets the time limit to an integral multiple m × n of the unit time, and counts as the number of stored cells when writing is performed. For the counted number of stored cells, the unit time is used as a delimiter for the elapsed time, the time is monitored for the limit time m × n for each elapsed time, and when the cell is read, the elapsed time is monitored from the storage cell number monitoring information. A storage cell / cell waiting time monitoring unit that searches and subtracts the monitoring information of the number of storage cells with the oldest time and extracts the monitoring information of the number of storage cells exceeding the limit information m × n as the number of cells to be discarded. is there.
[0036]
With this configuration, the received cell sequentially writes to the address of the
FIG. 3 is a diagram for explaining the principle of the third invention. The
[0037]
[0038]
In such a configuration, the received cells sequentially write to the addresses of the
[0039]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 4 is a diagram for explaining the configuration of the embodiment of the first invention. In the embodiment of the first invention, the write address generation means 200 described in FIG. 2 comprises a write bit
[0040]
The read address generation means 500 includes a read bit
[0041]
FIG. 5 is a diagram for explaining an access cell / cell standby time monitoring unit according to the embodiment of the first invention. In the figure, the access cell / cell standby time monitoring unit 311 includes a write cell number counter 311A, shift registers 3111 to 3115, a discarded cell
[0042]
The operation of the embodiment of the first invention will be described with reference to FIGS. In the description of the embodiment, the reference time pulse for time monitoring is a 1-second pulse (indicated as FP1 in the figure) having the same phase as the readout phase of the
[0043]
In standby time monitoring based on the number of access cells, the following relationship is established.
[0044]
Here, when one cell is written, “1” is added to the left and right sides of the process 01.
[0045]
When one cell is read, “1” is added to the number of read cells in process 01, and “1” is subtracted from the right side.
[0046]
In FIG. 5, the change in the number of write cells every 1 second is performed by shifting the contents of the shift registers 3111 to 3115 one step at a time using FP1.
[0047]
FIG. 6 shows an operation flowchart of the access cell / cell standby time monitoring unit according to the embodiment of the first invention. In the flowchart, determination Yes is indicated as Y, and No is indicated as N.
[0048]
When RUP = 1 and FP1 = 1 in S10 to S15, since 1 second has passed and 1 cell has been read out simultaneously, the number R of read cells is added by “1” from
In S30 to S31, when RUP = 1, “1” is added to the number R of read cells from process 03.
[0049]
In S40 to S41, when WUP = 1, "1" is added to the number W of write cells from the process 01.
[0050]
The discarded cell
[0051]
FIG. 7 is a diagram for explaining cell discard processing according to the embodiment of the first invention. Cells are written in the
[0052]
FIG. 8 is a diagram for explaining the read cell address generation unit according to the embodiment of the first invention. In the embodiment of the first invention, an address generation unit 521 that generates a read cell address, an
[0053]
Address generation is as follows.
[0054]
FIG. 9 is an operation flowchart of the read cell address generation unit according to the embodiment of the first invention. The figure shows processing 06 and processing 07 as a flowchart.
[0055]
In S10 to S11, when RUP = 1 and FP1 = 1, reading of one cell and the elapse of one second occurred at the same time, so that TOTAL is set to RCELL (P) + the number of discarded cells + 1 from process 06.
[0056]
In S20-21, since 1 second has passed when FP1 = 1, TOTAL is set to RCELL (P) + the number of discarded cells from process 06.
[0057]
In S30 to S31, when one cell is read when RUP = 1, TOTAL is set to RCELL (P) +1 from process 06.
[0058]
In S40 to S42, it is determined whether or not TOTAL is 64 or more from processing 07. If it is 64 or more, RCELL (G) is set to TOTAL-64 (because the address has returned from 63 to 0), and 63 or less. At this time, RCELL (G) is set to TOTAL.
[0059]
With this processing, a read cell address is generated, and the cell is discarded by skipping the address of the cell to be discarded.
[0060]
FIG. 10 is a diagram for explaining the configuration of the embodiment of the second invention. In the embodiment of the second invention, the write address generating means 200 is composed of a write bit
[0061]
In the second embodiment of the present invention, the storage cell / cell standby time monitoring means 320 comprises a storage cell / cell standby time monitoring unit 321 (details will be described with reference to FIG. 11).
[0062]
FIG. 11 is a diagram for explaining a storage cell / cell standby time monitoring unit according to the embodiment of the second invention. In the figure, the storage cell / cell standby time monitoring unit 321 includes a storage cell number counter 321A and shift registers 3211 to 3215.
[0063]
Also in the embodiment of the second invention, the reference pulse for time monitoring is the 1-second pulse FP1 having the same phase as the readout phase of the
[0064]
In the standby time monitoring based on the number of stored cells, the following relationship is established.
[0065]
Here, when one cell is written, the number of stored cells increases by “1”.
[0066]
When one cell is read, “1” is subtracted from the total number of stored cells, and among the number of stored cells Ci on the left side, the number of stored cells is “1” or more, and “1” is subtracted from the oldest stored cell number Cj. To do.
[0067]
Therefore, a read enable giving unit (not shown) for giving a read enable signal (hereinafter referred to as an enable signal) CEi to each number of stored cells Ci is provided, and the stored information is given priority to thereby store the old stored cell information. “1” is subtracted from the oldest storage cell number Cj detected and confirmed.
[0068]
When the 1-second pulse FP1 is received, since the number of stored cells has elapsed for 1 second on the left side of the equation (4), the number of cells is changed as follows.
[0069]
Here, the number of stored cells C5 is subtracted from the left side as the number of discarded cells exceeding the time limit of 5 seconds, and the right side subtracts the number of discarded cells from the total number of stored cells.
[0070]
12 and 13 are operational flowcharts (No. 1) and (No. 2) of the storage cell / cell standby time monitoring unit according to the embodiment of the second invention. FIG. 13 shows the
[0071]
When RUP = 1 and FP1 = 1 in S10, the reading of one cell and the elapse of one second occurred at the same time. Therefore, after passing through the operation flowchart (part 2) in FIG. Shift as the number of stored cells. Processing of A and B in FIG. 12 is continued to A and B in FIG. 13, respectively. In S20, since FP1 = 1 and 1 second has elapsed, the
[0072]
In S30, since one cell is read with RUP = 1, the process of FIG. 13 is executed.
[0073]
In S40 and 41, since one cell is written with WUP = 1, “1” is added to the number of stored cells C0.
[0074]
FIG. 13 shows a process of subtracting “1” from the number of cells in the oldest shift register 321j in which cells are stored when RUP = 1, that is, when one cell is read.
[0075]
In S10, it is determined that Ci is 1 or more. When the determination is Y, "1" is subtracted from Ci in S11, and the enable signal CEi is set to 0. When the determination is N, the enable signal CEi is set to 1, and the same determination is performed for the next monitoring information Ci-1. Next, in S20 to S22, S30 to S32, S40 to S42, S50 to S52, and S60 to S62, the enable CEi + 1 and the presence / absence of cells are checked in the order of Ci, and "1" is subtracted from the oldest Ci. .
[0076]
With this process, C5 output from the last-stage shift register 3215 is output as the number of discarded cells exceeding the time limit.
[0077]
The cell discarding process by the read cell address control after extracting the number of discarded cells is the same as the embodiment of the first invention.
[0078]
FIG. 14 is a diagram for explaining the configuration of the embodiment of the third invention. Also in the embodiment of the third invention, the write address generating means 200 is composed of the write bit
[0079]
In the embodiment of the third invention, the address / cell waiting time monitoring means 330 includes an access surface number monitoring unit (not shown), a cell address monitoring unit (not shown, details will be described in FIG. 13), and monitoring information validity, The address / cell waiting
[0080]
FIG. 15 is a diagram for explaining an address / cell standby time monitoring unit according to the third embodiment of the present invention. In the figure, the access surface monitoring means 340 described with reference to FIG. 3 is constituted by an access surface monitoring unit comprising access surface
[0081]
Also in the embodiment of the third invention, the reference pulse for time monitoring is the 1-second pulse FP1 having the same phase as the readout phase of the
[0082]
In the figure, the following data is monitored when processing the access surface and the write address.
[0083]
(WA0, A0, AE0), (WA1, A1, AE1), (WA2, A2, AE2), (WA3, A3, AE3), (WA4, A4, AE4), (WA5, A5, AE5), (RA )
here,
WAi: Write cell address after i seconds
Ai: Access surface information after i seconds have elapsed (0: write / read access surface is the same surface, 1: read access surface is one surface behind the write surface)
AEi: Enable signal after i seconds (0: invalid, 1: valid)
RA: current read cell address
Here, the number of write cells of the
[0084]
When the 1-second pulse FP1 is received, since each monitoring information has passed 1 second, each information is updated according to the processing 14. When the monitoring information (WA5, A5, AE5) 5 seconds before the update and the condition of the current read address RA corresponds to the
FIG. 21 is a diagram for explaining cell discard processing according to the embodiment of the third invention. (A) shows the address relationship when AE5 = 1 and A = 0, that is, when the access planes of WA5 and RA are the same, and (B) shows AE5 = 1 and A = 1, that is, RA is to WA5. And the address relationship when the access surface is one surface behind.
[0085]
FIGS. 16 to 18 are operation flowcharts (No. 1) to (No. 3) of the address cell waiting time monitoring unit according to the embodiment of the third invention.
[0086]
In S10 to S12 of FIG. 16, it is determined whether or not RA has changed from “63” to “0” when one cell read and one second have elapsed, and if so, Ai in A0 to A5> When Aj that is 0 is extracted and Aj ← 0 is set and there is no change, the monitoring information in which the enable signal AEi = 1 is detected in that order according to the flowchart of FIG. When the access plane information Ai is 1, the process of FIG. When the access surface information Ai is 0, WAi and the current RA are compared, and when they do not match, the processing of FIG. 18 is performed. If they do not match, the process shown in FIG. 18 is performed with AEi = 1. FIG. 18 shows a process for extracting a cell discard address.
[0087]
In S20 of FIG. 16, since one second has passed, processing 14 is executed.
[0088]
In FIG. 17, if AE5 = 1 and SAE is equal to 1 in S10 to S13, AE5 = 0 is set according to the address positional relationship between the write address WA5 and the read address RA.
[0089]
Similarly, the processes of S20 to S30, S40 to S50, and S60 are executed.
[0090]
In FIG. 18, it is determined whether or not AE5 = 1. If AE5 = 1, A5 = 0, and WA5 ≧ RA, WA5 is set as the cell discard address, and AE5 is set as cell discard enable. Similarly, when A5 = 0 and WA5 <RA, WA5 is set as a cell discard address, and AE5 is set as cell discard enable.
[0091]
FIG. 19 is a diagram for explaining a read cell address generation unit according to the embodiment of the third invention. In the figure,
[0092]
Normally, the read cell address RCELL is incremented by “1” when one cell is read when RUP = 1 is received, and returns to 0 when the cell address reaches 63. When AE5 in the information (WA5, A5, AE5) that has passed 5 seconds before the update is received after receiving 1-second pulse FP1, normal operation is ignored and the cell discard address is loaded to the read cell address. To discard the cell.
[0093]
The generation of the read cell address RCELL (G) at this time is as follows.
[0094]
FIG. 20 is an operation flowchart of the read cell address generation unit according to the third embodiment. In S10 to S11, the processing of (a) described above is performed by generating the load signal = 1 and the load value = cell discard address WA5 to be input to the
[0095]
A discard cell address is determined by such processing, and a cell discard process is performed by read cell address control.
[0096]
【The invention's effect】
According to the present invention, it is possible to configure a cell transfer apparatus on a small scale by providing a read time limit for a cell written in the FIFO and waiting for reading, and detecting and discarding the cell that has exceeded the time limit. Therefore, it is possible to make the equipment more economical.
[0097]
Furthermore, since cells exceeding the time limit can be discarded in the cell transfer apparatus, it is possible to prevent congestion of the transmission line by not transferring unnecessary cells.
[Brief description of the drawings]
FIG. 1 illustrates the principle of the first invention
FIG. 2 is a diagram for explaining the principle of the second invention.
FIG. 3 is a diagram for explaining the principle of the third invention.
FIG. 4 is a diagram for explaining an embodiment of the first invention;
FIG. 5 is a diagram for explaining an access cell / cell standby time monitoring unit according to the embodiment of the first invention;
FIG. 6 is an operation flowchart of an access cell / cell standby time monitoring unit according to the embodiment of the first invention;
FIG. 7 is a diagram for explaining cell discard processing according to the embodiment of the first invention;
FIG. 8 is a diagram for explaining a read cell address generation unit according to the embodiment of the first invention;
FIG. 9 is an operation flowchart of the read cell address generation unit according to the embodiment of the first invention;
FIG. 10 is a diagram for explaining the configuration of the embodiment of the second invention;
FIG. 11 is a diagram for explaining a storage cell / cell standby time monitoring unit according to the second embodiment of the present invention;
FIG. 12 is an operational flowchart (No. 1) of the storage cell / cell standby time monitoring unit according to the embodiment of the second invention;
FIG. 13 is an operational flowchart (part 2) of the storage cell / cell standby time monitoring unit according to the embodiment of the second invention;
FIG. 14 is a diagram for explaining the configuration of the embodiment of the third invention;
FIG. 15 is a diagram for explaining an address / cell standby time monitoring unit according to the embodiment of the third invention;
FIG. 16 is an operation flowchart (No. 1) of an address / cell standby time monitoring unit according to the embodiment of the third invention;
FIG. 17 is an operation flowchart (part 2) of the address / cell standby time monitoring unit according to the embodiment of the third invention;
FIG. 18 is an operational flowchart (part 3) of the address / cell standby time monitoring unit according to the embodiment of the third invention;
FIG. 19 is a diagram for explaining a read cell address generation unit according to the third embodiment of the present invention;
FIG. 20 is an operation flowchart of the read cell address generation unit according to the third embodiment of the present invention;
FIG. 21 is a diagram for explaining cell discard processing according to the embodiment of the third invention;
FIG. 22 is a diagram for explaining an ATM communication apparatus.
FIG. 23 is a diagram for explaining a loopback cell FIFO address map;
FIG. 24 is a flowchart of the loopback operation.
FIG. 25 is a diagram illustrating a configuration of a conventional technique
FIG. 26 is a time chart of loop back cell write operation.
FIG. 27 is a time chart of loopback cell read operation.
[Explanation of symbols]
100, 14 FIFO
200 Write address generation means
210 Write bit address generator
220 Write cell address generator
310 Access cell / cell waiting time monitoring means
311 Access Cell / Cell Standby Time Monitoring Unit
320 Storage cell / cell waiting time monitoring means
321 Storage cell / cell standby time monitoring unit
330 Address cell waiting time monitoring means
331 Address / cell waiting time monitoring unit
340 Access surface monitoring means
350 Cell address monitoring means
360 Enable monitoring means
400 cell capacity monitoring means
401 Cell capacity monitoring unit
500 Read address generation means
501 Cell discarding means
510 Read bit address generator
520 Read cell address generator
600 Reference pulse generation means
10 cell transmission / reception INF
11 LB cell monitoring unit
12 LB cell branch
13 LB cell insertion part
20 Cross-connect section
Claims (7)
前記先入れ先出しメモリの書込みアドレスを生成する書込みアドレス生成手段と、
前記先入れ先出しメモリのセル容量を監視するセル容量監視手段と、
前記先入れ先出しメモリの読出し待機中セルのセル待機時間監視のための基準パルスmを外部から受信、または基準パルスmを生成する基準パルス生成手段と、
前記先入れ先出しメモリの読出し待機中のセルについて、基準パルスmの時間単位でしてm×n時間中のセル待機機能およびm×nの制限時間を超過したセルを検出する機能にアクセスセルのセル待機時間を監視するアクセスセル・セル待機時間監視手段と、
セル廃棄機能にセル廃棄数によるセル廃棄機能を有する廃棄セルアドレス生成手段を有する読出しアドレス生成手段で構成したことを特徴とする先入れ先出しメモリの読出し待機時間超過セルの廃棄回路。A first-in first-out memory for writing and reading J cells in order from 0 to cell addresses 0 through J-1,
Write address generation means for generating a write address of the first-in first-out memory;
Cell capacity monitoring means for monitoring the cell capacity of the first-in first-out memory;
A reference pulse generator for receiving a reference pulse m for monitoring a cell waiting time of a cell waiting for reading from the first-in first-out memory, or generating a reference pulse m;
For cells waiting to be read from the first-in first-out memory, the cell waiting function of the access cell is added to the cell waiting function for the time of the reference pulse m in the unit of mxn time and the function to detect the cell exceeding the time limit of mxn. Access cell / cell waiting time monitoring means for monitoring time;
A discard circuit for cells that have exceeded the read waiting time of a first-in first-out memory, comprising a read address generation means having a discard cell address generation means having a cell discard function based on the number of cell discards in the cell discard function.
前記先入れ先出しメモリの書込みアドレスを生成する書込みアドレス生成手段と、
前記先入れ先出しメモリのセル容量を監視するセル容量監視手段と、
前記先入れ先出しメモリの読出し待機中セルのセル待機時間監視のための基準パルスmを外部から受信、または基準パルスmを生成する基準パルス生成手段と、
前記先入れ先出しメモリの読出し待機中のセルについて、基準パルスmの時間単位でしてm×n時間中のセル待機機能およびm×nの制限時間を超過したセルを検出する機能に格納セルのセル待機時間を監視する格納セル・セル待機時間監視手段と、
セル廃棄機能にセル廃棄数によるセル廃棄機能を有する廃棄セルアドレス生成手段を有する読出しアドレス生成手段で構成したことを特徴とする先入れ先出しメモリの読出し待機時間超過セルの廃棄回路。A first-in first-out memory for writing and reading J cells in order from 0 to cell addresses 0 through J-1,
Write address generation means for generating a write address of the first-in first-out memory;
Cell capacity monitoring means for monitoring the cell capacity of the first-in first-out memory;
A reference pulse generator for receiving a reference pulse m for monitoring a cell waiting time of a cell waiting for reading from the first-in first-out memory, or generating a reference pulse m;
For cells waiting to be read from the first-in first-out memory, the cell waiting function of the storage cell is used for the function of detecting the cell that exceeds the time limit of m × n and the cell waiting function during the time of m × n in units of time of the reference pulse m. Storage cell / cell waiting time monitoring means for monitoring time;
A discard circuit for cells that have exceeded the read waiting time of a first-in first-out memory, comprising a read address generation means having a discard cell address generation means having a cell discard function based on the number of cell discards in the cell discard function.
前記先入れ先出しメモリの書込みアドレスを生成する書込みアドレス生成手段と、
前記先入れ先出しメモリのセル容量を監視するセル容量監視手段と、
前記先入れ先出しメモリの読出し待機中セルのセル待機時間監視のための基準パルスmを外部から受信、または基準パルスmを生成する基準パルス生成手段と、
前記先入れ先出しメモリの読出し待機中のセルについて、基準パルスmの時間単位でしてm×n時間中のセル待機機能およびm×nの制限時間を超過したセルを検出する機能に書込みアドレスをを監視するアドレス・セル待機時間監視手段と、
セル廃棄機能にセル廃棄アドレスによるセル廃棄機能を有するセルアドレス生成手段を有する読出しアドレス生成手段で構成したことを特徴とする先入れ先出しメモリの読出し待機時間超過セルの廃棄回路。A first-in first-out memory for writing and reading J cells in order from 0 to cell addresses 0 through J-1,
Write address generation means for generating a write address of the first-in first-out memory;
Cell capacity monitoring means for monitoring the cell capacity of the first-in first-out memory;
A reference pulse generator for receiving a reference pulse m for monitoring a cell waiting time of a cell waiting for reading from the first-in first-out memory, or generating a reference pulse m;
For the cells waiting for reading in the first-in first-out memory, the write address is monitored by the cell waiting function during the time of m × n and the function of detecting the cell exceeding the time limit of m × n in units of time of the reference pulse m. Address / cell waiting time monitoring means to perform,
A discard circuit for cells that have exceeded the read waiting time of a first-in first-out memory, comprising: a read address generation unit having a cell address generation unit having a cell discard function based on a cell discard address.
読出しセル数Rを計数し、
制限時間m×n中の書込みセル数W(m×0)〜W(m×n)と読出しセル数Rの時間監視を行い、m×n時間経過した書込みセル数W(m×n)と読出しセル数Rからセル数廃棄数を抽出することを特徴とするセル廃棄方法。
(〔W(m×0)+W(m×1)+〜W(m×n)〕−R=格納セルの合計値)Count the number of write cells W (m × 0) to W (m × n) in the time limit m × n,
Count the number of read cells R,
Time monitoring of the number of write cells W (m × 0) to W (m × n) and the number of read cells R in the time limit m × n and the number of write cells W (m × n) after m × n hours A cell discarding method, comprising extracting the number of cells discarded from the number of read cells R.
([W (m × 0) + W (m × 1) + ˜W (m × n)] − R = total value of storage cells)
制限時間m×n中の書込みセル数C(m×0)〜C(m×n)の時間監視を行い、セル廃棄数をm×n時間経過した格納セル数Cから抽出することを特徴とするセル廃棄方法。
(C(m×0)+C(m×1)+〜C(m×n)=格納セルの合計値)Count the number of storage cells C (m × 0) to C (m × n) in the time limit m × n,
It is characterized by performing time monitoring of the number of write cells C (m × 0) to C (m × n) in the time limit m × n and extracting the number of cell discards from the number C of stored cells that have passed m × n hours. Cell discard method.
(C (m × 0) + C (m × 1) + ˜C (m × n) = total value of storage cells)
制限時間m×n中のアクセス面情報A(m×0)〜A(m×n)を監視し、
制限時間m×n中の監視情報のイネーブル情報AE(m×0)〜AE(m×n)を監視し、
現在の読出しアドレスRAの時間監視を行い、
制限時間m×nを超過した書込みセルアドレスWA(m×n)と現在の読出しセルアドレスの位置関係からセル廃棄領域を抽出することを特徴とするセル廃棄方法。Monitor the write cell addresses WA (m × 0) to WA (m × n) in m × n time, which represents the positional relationship of access between the write cell address and the read cell address,
Monitor access surface information A (m × 0) to A (m × n) during the time limit m × n,
Monitor the enable information AE (m × 0) to AE (m × n) of the monitoring information during the time limit m × n,
Monitor the time of the current read address RA,
A cell discarding method, wherein a cell discarding region is extracted from a positional relationship between a write cell address WA (m × n) exceeding a time limit m × n and a current read cell address.
読出し完了を示すパルスを受信し、格納セルを1以上保有する読出し対象となる情報を検索して1減算する処理で、
それぞれの格納セル数の監視情報に読出し対象イネーブルCEiを付与し、
検索の優先順序を設けて検索し、検出した情報から1減算することを特徴とするセル廃棄方法。
(CE(n+1)=1かつCn>0のときCnを読出し対象とし、Cn←Cn−1、CEn←0とし、CE(n+1)=1かつCn=0のときCnを読出し対象とし、CEn←1とする。)The cell discarding method according to claim 5,
In the process of receiving a pulse indicating the completion of reading, searching for information to be read that holds one or more storage cells, and subtracting one,
A read target enable CEi is given to the monitoring information of each storage cell number,
A cell discarding method, wherein a search priority order is provided for searching, and 1 is subtracted from the detected information.
(When CE (n + 1) = 1 and Cn> 0, Cn is to be read, Cn ← Cn−1, CEn ← 0, and when CE (n + 1) = 1 and Cn = 0, Cn is to be read, and CEn ← 1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21246299A JP3812231B2 (en) | 1999-07-27 | 1999-07-27 | First-in first-out memory read waiting time excess cell discard circuit and cell discard method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP21246299A JP3812231B2 (en) | 1999-07-27 | 1999-07-27 | First-in first-out memory read waiting time excess cell discard circuit and cell discard method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2001045000A JP2001045000A (en) | 2001-02-16 |
| JP3812231B2 true JP3812231B2 (en) | 2006-08-23 |
Family
ID=16623047
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP21246299A Expired - Fee Related JP3812231B2 (en) | 1999-07-27 | 1999-07-27 | First-in first-out memory read waiting time excess cell discard circuit and cell discard method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3812231B2 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5346780B2 (en) * | 2009-11-10 | 2013-11-20 | 本田技研工業株式会社 | Data discard method for first-in first-out buffer and first-in first-out buffer |
| CN115795127A (en) * | 2022-12-16 | 2023-03-14 | 浪潮通用软件有限公司 | Capital turnover plan interaction method, equipment and medium |
| CN120297257B (en) * | 2025-06-10 | 2025-08-15 | 沈阳哲航信息科技有限公司 | Automatic financial statement generation method for ERP system |
-
1999
- 1999-07-27 JP JP21246299A patent/JP3812231B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2001045000A (en) | 2001-02-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3816530B2 (en) | Low latency, high clock frequency, pre-geo asynchronous packet-based crossbar switching chip system and method | |
| US5602850A (en) | High-speed packet bus | |
| JPH1055313A (en) | Multiprocessor device, memory access method for multiprocessor device, transmitting device and receiving device in data transfer system, data transfer system, and bus control method for data transfer system | |
| US4736368A (en) | Priority token protocol circuit for a token ring local area network adaptor | |
| EP0685976A2 (en) | Communication data receiver | |
| JP3812231B2 (en) | First-in first-out memory read waiting time excess cell discard circuit and cell discard method | |
| US8065450B2 (en) | Frame transfer method and device | |
| KR100209458B1 (en) | Method of managing a plurality of identical units, circuit arrangements and switch elements | |
| US6535479B1 (en) | Hitless switching system of ATM switch apparatus in which discard priority control is stopped | |
| US6611871B1 (en) | Fixed length data processing apparatus | |
| JP2873229B2 (en) | Buffer memory controller | |
| JP2790112B2 (en) | Instantaneous interruption switching device and switching method of delay priority control buffer | |
| JPH04100343A (en) | Atm link system | |
| JPH07321795A (en) | Buffer address management method | |
| KR100547891B1 (en) | Data input / output device and method according to priority in asynchronous transmission mode switching system | |
| US6480496B1 (en) | Apparatus and method for restoring cell storage regions in an ATM switch and method therefor | |
| JPH09181771A (en) | Switching device for lan | |
| JP3631950B2 (en) | Communication device | |
| KR100431130B1 (en) | internal network node board having error detecting apparatus | |
| JP3504161B2 (en) | Address failure monitoring device and ATM switch device | |
| JP2000324072A (en) | Pointer termination part and uninterruptive switching system | |
| JP3310495B2 (en) | Instantaneous interruption virtual path switching system | |
| JPH0927810A (en) | Delay fluctuation absorber | |
| JP3657459B2 (en) | Failure notification cell generation circuit and failure notification cell generation method | |
| JP3075273B2 (en) | Cell buffer control circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20040927 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060427 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20060509 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060522 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100609 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110609 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120609 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120609 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130609 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140609 Year of fee payment: 8 |
|
| LAPS | Cancellation because of no payment of annual fees |