JP3569151B2 - Exchanger and diagnostic method - Google Patents
Exchanger and diagnostic method Download PDFInfo
- Publication number
- JP3569151B2 JP3569151B2 JP4487199A JP4487199A JP3569151B2 JP 3569151 B2 JP3569151 B2 JP 3569151B2 JP 4487199 A JP4487199 A JP 4487199A JP 4487199 A JP4487199 A JP 4487199A JP 3569151 B2 JP3569151 B2 JP 3569151B2
- Authority
- JP
- Japan
- Prior art keywords
- circuit
- test cell
- test
- payload
- cell
- 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 - Lifetime
Links
Images
Landscapes
- Monitoring And Testing Of Exchanges (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、交換機に関し、特に、大容量化に適したATM交換機の診断方法に関するものである。
【0002】
【従来の技術】
従来の技術は、例えば、特開平10−41945号公報の「通話路導通試験セル送出装置」などに記載されている。以下、この従来技術を説明する。図10は一般的なATM交換機の概略構成を示している。ATM通信方法は、通話データを固定長の小容量パケットに分解して、各パケットに対してルーティング情報など交換伝送に必要な情報をヘッダとして付加したATMセルをハードウェアにより高速に交換処理する通信方法である。図10に示すATM交換機では、#0から#nまでの複数回線(4−0,4−1,4−2...)からATMセルが同時並列に交換機1に入力される。回線インタフェース3は各回線毎に処理タイミングの調整などを行い、高速データ伝送路6を用いてコアスイッチ2へ伝送する。コアスイッチ2では、各々のセル情報に基いた交換処理を行い、各々の交換先として指定された回線(5−0,5−1,5−2...)のインタフェース3へ高速データ伝送路7を通じて送出する。回線インタフェース3はコアスイッチ2から伝送されたATMセルを各々の回線へ送出する。ここで、交換機内の高速データ伝送路6、7やコアスイッチ2が正常に交換伝送できるかどうかを診断する為、従来は図2に示すような試験機能部12を、各回線に共通に設けている。試験機能部12は、指定された任意の入力回線側6に対して試験セルを送出すると共に、同じく指定された任意の出力回線側7から試験セルを取り込み、比較判定が行える。
【0003】
図3に、この試験機能部12による試験概略を示す。図3において、設定レジスタ23は試験セルとして送出するセルのデータを制御用CPUから設定するためのレジスタファイルである。試験に先立って、予め制御用CPU10からこの設定レジスタ23に試験セルデータを設定する。試験セル発生回路24は設定レジスタ23のデータを用いて試験セルを発生し、コアスイッチの入力側の指定された任意の回線上に試験セル20を送出する。コアスイッチ2ではATMセルの交換処理を行い、該当する回線へセルを転送する。出力側の回線では、試験セル判別回路25により、試験セルを判別して、セルのデータを回収レジスタ26へ格納する。回収レジスタ26へ格納されたセルデータは、比較回路27を用いて、あるいは制御用CPU10が読み出すことによって、設定レジスタ23の値と比較を行い、正常な交換伝送処理が行われたか、否かを判定する。
【0004】
このような構成により、従来、全ての回線経路を通した導通試験は、各回線インタフェースにおける「折り返し」機能を利用して行われる。図2においては、各回線インタフェースがコアスイッチ入力側と出力側とを分けて示しているが、実際には入力側および出力側の回線インタフェースが同一基板あるいは同一LSI内に実装されることが多い。これを利用し、例えば、回線#0の出力側回線インタフェースでコアスイッチ2から受信したセルを、再び入力側回線#0インタフェースから回線#1へ向けて交換処理することを指示して出力するように「折り返し」設定することができる。このようにして、回線#0から回線#1へ、さらに回線#1から回線#2へと、1つのセルが順次全ての回線を通るように「折り返し」を設定した上で、試験機能部12を用いて回線#nの入力側から回線#0へ向けて試験セルを送出する。送出された試験セルは、回線#0から回線#1、さらに回線#2へと、順次すべての回線を通して、再び回線#nの出力側インタフェースへと戻ってくる。戻ってきた試験セルを試験機能部12で取り込み、図3に示した機能により送出した試験セルと回収したセルの内容を比較判定することにより、全ての回線およびコアスイッチでの導通を試験することができる。
【0005】
【発明が解決しようとする課題】
上述した従来例では、試験セルの内容として、予めCPUから設定レジスタ(レジスタファイル)23にライトされたデータを用いている。すなわち、これらのレジスタファイルの書き換えはCPUの速度によって制限されるため、試験時には半固定的なデータを用いて試験することになり、動的に種々のデータパターンに変えた場合の伝送を試験することができない。試験セルを1つ送出するごとに別のデータに書き換えることはCPUからの書き込み速度的に不可能である。また、試験セルの送出・回収機能は1ケ所に共通で持っているため、試験セルの送出・回収・判定できる容量に制限がある。交換機そのものの持つ交換容量は毎秒数十ギガビットであったとしても、試験セルの送出・回収できる容量は、その数十分の一、あるいは百分の一程度に留まる。すなわち、交換機の持つ交換能力に余裕のある状態での試験しか行えないため、データ伝送経路あるいはコアスイッチ部にインターミッテントなエラーが発生している場合など、このような異常を検出することが困難である。さらに、回線インタフェースでの「折り返し」機能を用いて全回線を通した導通試験においても、同じデータの試験セルを使いまわすため、各回線間で伝送する試験セルの内容はいずれも同一となり、経路の誤りを判断することはできない。
【0006】
このような問題を解決するために、特開平4−291856号公報および特開平5−75639号公報に記載されている発明がある。これらの従来例では、受信側で試験セルの先頭オクテットで受信側カウンタの初期値を設定し、データが連続値であるか否かを比較することにより試験データを検査している。しかしこれらの方法では、初期値が同じであれば、ペイロードのデータが全て同じとなり、経路の誤りを判断することはできない。また、これらの例では、試験セルのペイロードデータをカウンタを用いて生成・検査しているため、ペイロードデータのビット位置によって、用いるデータの変化率が異なる、という問題がある。これは、例えば、8ビットのカウンタを用いた場合、0から255までのパターンが生成可能であるが、最下位ビットであるビット0では0/1が交互に用いられて毎回変化しているが、最上位ビットであるビット7では0データが128回続いたのち、1データが128回連続して、0/1の変化は1回しかないことになる。すなわち、交換機の内部では、高速にデータ伝送しているにも関わらず、このようなカウンタデータを用いた場合、最上位のビットに位置するビットでは、非常に低周期でしか変化しないデータを用いることになり、高速伝送の試験を行っていることにならない問題がある。また、これらの例では、試験対象がペイロード部分だけであり、ヘッダ情報の伝送誤りについては、検査する手段が提供されていない。
【0007】
本発明の目的は、上述した問題を解決し、交換機の持つ最大交換能力まで試験セルの発生・回収・判定を可能とする交換機およびその診断方法を提供することにある。
【0008】
【課題を解決するための手段】
上記課題を解決するために、本発明は、複数の通信回線の間でセルの交換処理を行う交換機において、前記回線ごとに設けられ、前記交換処理を試験するための試験セルを送信する送信部と、前記回線ごとに設けられ、前記送信手段より送信された試験セルを受信し、当該試験セルの検査を行う検査部とを有し、前記送信部は、送信する試験セルごとに、ランダムデータを初期値とし、当該初期値と、当該初期値に基づいて予め定めた演算の結果とを含むデータを、試験セルのペイロードデータとして出力し、前記検査部は、受信した試験セルから前記初期値および演算の結果を抽出し、抽出した初期値に基づいた予め定めた演算の結果と、抽出した演算の結果とが一致するか否かを判定する。また、前記送信部は、前記試験セルのヘッダ情報に対応する値から予め定めた演算により求めた固定値をさらに出力し、前記検査部は、受信した試験セルから前記ヘッダ情報に対応する値および前記固定値を抽出し、抽出した前記ヘッダ情報に対応する値から前記予め定めた演算の結果と、抽出した固定値とが一致するか否かをさらに判定するようにしてもよい。前記送信部は、前記予め定めた演算を行う演算回路と、当該演算回路の演算の結果を保持する保持回路とを備えることができる。また、前記検査部は、前記予め定めた演算を行う演算回路と、当該演算回路の演算の結果を保持する保持回路と、当該保持回路に保持する演算の結果と、前記抽出した演算の結果とが一致するか否かを判定する比較回路とを備えることができる。
【0009】
本発明によれば、回線毎あるいは試験セル毎にランダムデータを用いて試験可能とすると共に、各回線毎送信部と検査部とを備えることにより、複数の回線から種々の試験セルを同時並列に入力し、受信側だけで自律的に試験セルの内容の整合性判定を行える。また、本発明では、ランダムデータ(例えば、疑似ランダムデータ)をペイロードに用いるため、ビット位置によるデータ変化率の偏りはない。さらに、ヘッダ部分の伝送誤りを検出するため、前記送信部は、前記試験セルのヘッダ情報に対応する値から予め定めた演算により求めた固定値をさらに出力し、前記検査部は、受信した試験セルから前記ヘッダ情報に対応する値および前記固定値を抽出し、抽出した前記ヘッダ情報に対応する値から前記予め定めた演算の結果と、抽出した固定値とが一致するか否かをさらに判定する。これにより、送信側では、ヘッダ情報に基づいて固定値(シグネチャ)を生成し、ペイロードにこの固有値(シグネチャ)とランダムデータとを格納して送信し、一方の受信側でも受信したヘッダ情報に基づいて固有値(シグネチャ)を演算生成すると共に、ペイロードに受信されたシグネチャ期待値とを比較することにより、ヘッダ情報の伝送誤りを検出できる。
【0010】
【発明の実施の形態】
以下、本発明にかかる第1の実施の形態を図を参照して説明する。
【0011】
従来、試験セルが正常に交換処理を経て受信されたか否かを判定するため、試験セル送信側に設定された試験セルデータと受信側で回収された試験セルデータとをビット毎に逐一比較することにより検査していた。このような判定方法では、図3に示したように、試験セルを送出する回路ブロックと回収する回路ブロックとを全く独立させて離れた位置に実装することは不可能であり、したがって試験機能部12は回線インタフェース毎ではなく、共通の回路ブロックとして各回線で共有されていた。このため、共有の試験機能部の処理容量により、発生できる試験セルの容量が制限され、交換機の持つ最大交換能力に比べて極めて小容量の交換処理条件での試験しか行えなかった。さらに、全回線を駆動した導通試験であっても、各回線で異なる試験セルを使用することはできなかった。
【0012】
上記の問題を解決するため、試験機能を全回線間で共有する代わりに、個々の回線毎に試験回路を実装する。本発明では、図1に示すように、各回線インタフェース毎に試験セル発生送信部101と試験セル受信検査部201とを備える。これにより、図1に示す如く回線#0から回線#nへ試験セルを送出すると同時に、回線#3から回線#0へ、回線#nから回線#1へと並行して複数の経路で試験セルを送出・受信することができる。この時、試験セルを送出する回線と受信する回線とは全く独立しているため、送出した試験セルの内容と受信した試験セルの内容とを比較して判定することは不可能となる。そこで、本発明では試験セルのペイロード(通信データ部分)に入れるデータを特定の演算回路により発生することで、ペイロードパターンに一定の規則を持たせる。これにより、試験セルを受信した回線では、同様の演算回路を使用して、受信した試験セルのペイロードパターンが一定の規則を有しているか否かの整合性を検査することで試験セルの交換伝送が正常に行われたかを判定することが可能となる。送信側のデータを参照することなく受信側単独での判定を可能とするこのようなペイロードの整合性検査には、図1に示す試験セル形態のように、ペイロードパターン中に、パターンの初期値P0と、論理的に連続したパターンの間にPn+1=f(Pn)なる関係を持たせ、試験セルの送出側および受信側共に同様な演算回路を用いてパターンの発生/検査を行うことが本発明の特徴である。
【0013】
以下、詳細な実施の形態を図を用いて説明する。
【0014】
図5は、試験セルのペイロードパターン発生回路を示しており、試験セル発生側に用いられる。ここに示すペイロードパターン発生回路は、主に、複数ビットから構成されたレジスタ30と、レジスタ30の値を入力して次の値を演算する演算回路f(x)31とを有する。選択器33はレジスタ30の値の更新を制御するための回路である。選択信号として入力される制御信号36に従い、レジスタ30に格納するデータを、初期値34、演算回路出力35、あるいは、レジスタ30の現在の値から選択して出力する。レジスタ30は、クロック37のタイミングで値を取込み更新する。レジスタ30の出力する値32をペイロードパターンとして用いる。レジスタ30に現在入っている値を、仮に、P0とする。初期値は、各試験セルごとに異なる値が交換機の制御用CPUからあらかじめ指示される。演算回路f(x)31はP0を入力として演算を行い、続く値f(P0)=P1を出力する。選択器33は制御信号36に従い、演算回路f(x)の出力35を選択する。レジスタ30はクロック37のタイミングでこれを取込み、値をP1に更新する。以下、同様な動作を繰り返すことにより、レジスタ30は、一連のパターンとしてP0、P1、P2、P3、P4と、関数f(x)によりPn+1=f(Pn)で関連付いた系列値を出力する。
【0015】
図6は、先に示した一連のパターンP0、P1、P2、、、と試験セルの形態との対応づけを示している。試験セルは通常のATMセルと同じく、ヘッダ部分21とペイロード部分22から構成される。ヘッダ21にはセル識別情報、VCIやVPI、優先度などのATMセルの交換伝送に必要な情報が入る。ここでは、特に試験セルであることを示す情報が、セル識別情報として含まれる。一方のペイロード22は、通信データそのものの部分である。従来の方法では、試験セルのペイロードデータとして、制御用CPU10から交換機の設定レジスタ23へ予め設定されたデータが使用された。本実施の形態では、先に図5示した演算回路によって発生する一連のパターン系列P0、P1、P2、P3、P4…を用いて試験セルのペイロードデータとする。図6は最も単純に、ペイロード内をP0、P1、P2、P3…とパターン系列順にそのままデータを並べた例である。このようなパターン系列にデータを並べるのは最も単純であり、その発生および受信側での検査に必要なハードウェア量が最も少なくなる。しかし、受信した側でパターンの論理的な順序を復元して検査可能であれば、必ずしも送信側でパターン系列順にペイロードに挿入する必要は無い。例えば、Pn+1なる奇数番のパターンとPnなる偶数番パターンとを入れ替えて逆にして送信し、受信側でこれらを入れ替えて論理的な順番を復元してから検査しても良く、本発明の本質から外れるものではない。
【0016】
図7は、試験セル受信側におけるペイロードパターンを検査する回路詳細を示している。この検査回路は主に、演算レジスタ40と、この演算レジスタ40の値を元に次の値を演算する演算回路f(x)41と、受信した試験セルのセルデータ(ペイロードデータ)を取り込むためのレジスタ49と、演算レジスタ40の出力する値42およびレジスタ49の値に基づいてレジスタ49に取り込んだセルデータの整合性を判定する回路(図7では比較器として示す)27とを有する。これらの各構成要素を制御しているのが試験セル判別制御回路25である。試験セル判別制御回路25は、コアスイッチから回線インタフェースへ転送されたATMセルのヘッダ情報を検査し、それが試験セルか通常の通信セルかを判別する。これが試験セルであることが検出された場合、セルデータ(ペイロードデータ)をペイロードパターン検査回路200に取り込ませて、選択器43への選択制御信号46および比較器への比較制御信号48を制御して、データの整合性の検査を行う。図7には、回路構成と併せて、試験セルのペイロードに格納された各パターン系列に対応して、試験セル判別制御回路25がどのような制御を行うかを示している。試験セルのペイロードには図5に示したパターン発生回路により一連のパターン系列が順番に格納されているものとする。試験セル判別制御回路25は、比較レジスタ49および演算レジスタ40の双方に対して、ペイロードに含まれるパターン系列の初期値P0を取り込むことを指示する。この状態で次のクロックが入力されるまでは比較レジスタ49および演算レジスタ40共に不定の値であるため、比較器27に対しては比較禁止を指示する。次のクロックが入力されることで比較レジスタ49および演算レジスタ40には初期値P0が取り込まれる。この状態で試験セル判別制御回路25は比較器27に対して比較を行うよう指示する。次のパターンP1については、比較レジスタ49に対しては取込みを指示する一方、演算レジスタ40に対しては先に取り込んだP0に基づいて演算を行った結果としてのP1に更新することを指示する。この状態で次のクロックが入力されると、比較レジスタ49は試験セルのペイロードからのP1を取込み、演算レジスタは先のパターン初期値P0に基づいて独自に演算したパターンP1に更新される。これらの値を比較器27は比較する。ここで、試験セルから取り込まれたP0またはP1のいずれか、あるいは双方に誤りがあると、比較器27で不一致が検出される。仮に、取り込まれたP0に誤りがありP1は正常であったとする。演算レジスタ40では誤ったP0に基づいて演算を行い値を更新するため、正常なP1とは異なったP1に更新される。一方の比較レジスタ49には正常なP1が取り込まれるため、更新された演算レジスタ40とは値が一致しない。逆に、P0が正常でP1が誤って入力された場合は、演算レジスタ40が正常なP0に基づいて正常なP1に値を更新するのに対して、比較レジスタ49は誤ったP1を取り込むため、やはり不一致が生じて、伝送の誤りが検出される。以下、同様に、比較レジスタ49は、順次入力された次のパターンを取込み、演算レジスタ40は演算器f(x)41により値を演算更新することにより、これらを比較する比較器27で試験セルのペイロードデータの整合性を判定することが可能となる。
【0017】
これまでの説明では、演算レジスタおよび試験セルのペイロードに用いるパターン系列の具体的なビット幅には言及せず、単に複数ビットとしてきた。また、説明を簡単にするため、演算レジスタおよび比較レジスタのビット幅とパターン系列を構成する1つのパターンのビット幅が同じであることを前提として説明してきた。このビット幅をどのような値にするかは発明の本質に関わりなく、単に設計上の問題であるが、演算レジスタおよび比較レジスタとパターン系列のビット幅が異なる場合であっても発明が実施できることを示すため、図8に演算レジスタおよび比較レジスタが24ビットであり、ペイロードパターンを1バイト(8ビット)ずつ受信した場合の実施の形態の制御動作の例を示す。
【0018】
図8に示すように、試験セル発生側で用いるペイロード試験パターン演算レジスタ30、試験セル受け取り側で用いる比較レジスタ49および演算レジスタ40が各々24ビットであるとする。一方、試験セルのペイロードパターンは1バイト(8ビット)の幅で送受信されるとする。図8に示す試験セル発生側では、演算レジスタの値を下位側から1バイトずつ3回に分割して送出する(サイクル1、2、3)。サイクル3において最上位のバイト(ビット23からビット16)を送出すると共に、それまで保持していた演算レジスタの値更新を指示して次のクロックによって全ビットの値を更新する。再びサイクル4において下位の8ビット(ビット7からビット0)から順に送出することを繰り返す。一方、試験セルの受け取り側では、比較レジスタに対しては、受け取った各バイトをレジスタの下位の8ビット(ビット7からビット0)から順に取り込んで行くことを繰り返す。受け取り側演算レジスタでは、最初の3バイトを初期値として下位の8ビットから順に取込み、それ以降は3サイクルに1回の頻度で演算による値更新を繰り返して行く。比較器では、比較レジスタおよび演算レジスタに新規の3バイトが揃う毎にこれらの比較を行う。以上のような制御により、パターン系列を生成・検査するレジスタのビット幅と試験セルデータの(1クロックでの)転送幅とが一致していなくとも、本発明を適用することが可能である。
【0019】
図9に、これまで説明してきたペイロードパターンの発生/検査回路を利用した、試験セルの発生送出・受信検査部の全体構成を示す。試験セル発生送信部101は、主に、試験モードを制御用CPU10から設定するための試験モード設定レジスタ55と、ここに設定された試験モードに応じて試験セルの発生送出制御を行う試験セル発生制御回路54と、試験セルの交換先や試験セル識別情報などの試験セルヘッダ生成に必要な情報を予め制御用CPU10から設定する試験情報設定レジスタ56と、図5で説明したペイロードパターン発生回路100と、通常の通信ATMセルと試験セルとを切り替えて出力する選択器52とを有する。試験モードによっては、通常の通信セルを全て廃棄して強制的に試験セルを挿入・送出する場合もあるが、交換機が稼働中にオンラインで試験するには空セルのみを試験セルに置き換える機能が必要となる。空セル検出回路53は、回線より入力されたセル4が空セルかどうかを判定する回路である。遅延回路51は、空セル検出回路53が空セルを検出してから、試験セル発生制御回路54が試験セルの発生を開始するのに要する時間分だけ通常の通信セルを遅延させて、試験セルとの置換タイミングを整合させるための回路である。
【0020】
以上の回路構成を用いて、試験セルを発生送出する動作概略を以下に説明する。まず、交換機の制御用CPU10が制御用バス11を介して、回線インタフェース内にある試験セル発生送信部101の試験情報設定レジスタ56に、発生すべき試験セルのヘッダ情報として必要な情報を設定する。次に試験モード設定レジスタ55に対して、試験モード(どのような頻度でどのように試験セルを発生・送出するか)を設定することにより、試験セル発生制御回路54に対して試験セルの発生開始を指示する。空セル検出回路53は、回線より入力されたセルが空セルであるかどうかを判定し、空セルの場合は試験セル発生制御回路54に通知する。試験セル発生制御回路54は、試験情報設定レジスタ56に設定された情報に基づき、試験セルのヘッダ発生を開始すると共に選択器52に対して試験セル側に切り替えて出力することを指示する。試験セルのヘッダ発生が終了すると、試験セル発生制御回路54は、ペイロードパターン発生回路100へ制御信号を与えて、一定の規則を持った一連のパターン系列を発生させる。選択器52は試験セルのヘッダに続いてペイロードパターン発生回路100からのパターン系列を選択出力する。試験モード設定レジスタ55に設定された試験モードが、連続送出の場合は、試験セル発生制御回路54は、続けて試験セルのヘッダ発生を開始するが、空セルが入力された時のみ試験セルを発生するモードが設定された場合は、空セル検出回路53からの検出信号が来るのを待ってから次の試験セル発生を開始する。ここで、発生・送出する試験セルの交換先や優先度は、予め試験情報設定レジスタ56に設定された情報に基づいて生成するが、カウンタなどを用いてこれを動的に変更しても良い。例えば、試験セルを送出する毎にカウンタをカウントアップして、試験セルの交換先の回線番号を順次変えても良い。また、発生する試験セルの数を予め試験情報設定レジスタ56に設定しておくことが考えられる。
【0021】
一方の試験セル受信検査部201は、試験モード設定レジスタ61と、試験セル判別回路25−1と、試験セル検査制御回路25−2と、図7で説明したペイロードパターン検査回路200と、試験結果保持レジスタ60とを有する。空セル送出回路59および選択器58は、交換機内部のコアスイッチおよび回線インタフェースの試験に用いた試験セルが外部に流れ出さないように空セルに置換して出力するための回路である。遅延回路57は、この空セル送出回路59での遅延と通常の通信セルの遅延とを整合して、選択器58で切り替えてもセルタイミングが整合しているようにするための回路である。試験に先立ち、交換機の制御用CPU10が予め制御用バス11を介して、試験モード設定レジスタ61に、検査すべき試験モードを設定することにより、試験セル検査制御回路25−2に試験開始を通知する。試験セル検査制御回路25−2は、試験セル判別回路25−1からの試験セル検出信号を待つ。試験セルの受信が検出されると、試験セル検査制御回路25−2は、ヘッダの検査を行うと共に、ペイロードパターン検査回路200を制御してペイロード部分の整合性検査を実施する。ペイロードパターン検査回路200でペイロードに誤りが検出された場合、あるいは試験中の情報は、試験結果保持レジスタ60が記憶保持する。ここで記憶保持された試験セルの誤りなどに関する情報は、制御用バス11を介して制御用CPU10へ読み出すことができる。試験モード設定レジスタ61の内容により、試験セルを空セルに変えて出力することが指示された場合、試験セル検査制御回路25−2は、試験セルが検出される毎に、空セル送出回路59および選択器58を制御して、試験セルに代えて空セルを出力するようにする。
【0022】
つぎに、試験セル発生送信部101および試験セル受信検査部201を適用した交換機を図1に示す。図9で説明した試験セル発生送信部101および試験セル受信検査部201を全ての回線インタフェースが各々備えている。すでに説明したように、試験セルの発生・検査回路ではペイロードパターンとして一定の規則を持つパターン系列を使用(ペイロードに初期値P0を含み、さらに、ペイロード内のパターンに関してPn+1=f(Pn)が成立)して、発生回路から独立した検査回路単独でペイロードの検査が行えるようにしている。このため、本実施の形態では図1に示すように、回線#0から回線#nへ試験セルを送出して試験すると並行して、回線#3から回線#0へ、加えて回線#nから回線#1へと、複数の交換経路で同時に試験することが可能である。しかも、各々の試験経路でのペイロード初期値として個別の値を使用することにより、試験経路毎に異なるペイロードデータを用いた試験が可能である。
【0023】
以上、説明した実施の形態では、ペイロードデータとして疑似ランダムパターンを用いることで、試験セルのペイロードの各ビットでの変化率に偏りがないようにしている。これにより、従来のカウンタを用いて生成したペイロードデータで問題となったビット位置による変化率の偏りを防止することができ、より正確な通信試験を実現している。
【0024】
つぎに、通信試験の誤り検出能力をさらに向上させるため、ヘッダ情報も含めた形での試験を可能とする第2の実施の形態を示す。
【0025】
図11にヘッダも含めた形で誤り検出可能な試験セルの形式を示す。本実施の形態の特徴は、ペイロード内に、ヘッダ情報を元に生成したシグネチャ値を入れ込むことにある。シグネチャ値は、セルヘッダの情報に基いて生成した固有の値である。ヘッダ情報に伝送誤りがあれば、これを元に生成したシグネチャ値と、元のシグネチャ値との間に不一致が生じ、これを検出することが可能となる。さらに、本実施の形態では、ペイロード内に、ヘッダシグネチャに続いてペイロードシード値(ランダムデータ)を入れ込んでいる。これは、試験セルヘッダ情報が同じであれば、常に同一のシグネチャ値になるため、それを元にペイロードデータを生成すると、常に同じパターンのペイロードデータの試験セルを用いることになり、試験セル毎に異なったペイロードデータパターンを適用するという、本発明の目的の一つが実現できないためである。発生する試験セル毎に、ペイロードのデータパターンを変えるため、ヘッダ情報から生成したシグネチャ値とランダムデータであるペイロードシード値とに基づき、それに続くペイロードパターンの生成を行うようにする。
【0026】
図11において、ペイロードの先頭に挿入しているヘッダシグネチャ値(HD_SIGN)は、試験セルヘッダの情報を元に、図12に示したシグネチャ生成回路を用いて生成した値である。図12に示すシグネチャ生成回路は、シフト動作を基本とした疑似ランダムパターン発生回路に並列データ入力による排他的論理和機能を付加したものである。図12は8ビットの例を示したものであり、シグネチャ生成回路は、8個のフリップフロップと11個の2入力排他的論理和とを有する。ヘッダ情報である8ビットの並列データ入力(D7〜D0)があり、各フリップフロップQの現在の値とD入力によって、擬似的な乱数が発生される。このような回路を用いることで、試験セルヘッダの各バイトを先頭から順に入力することで、ヘッダ情報による固有の値が生成される。これがヘッダシグネチャ値であり、本実施の形態においては、試験セルのペイロード先頭にこの値を挿入する。この試験セルを受け取った受信側では、ヘッダ情報に基づき同様の方法でヘッダシグネチャを生成し、この値をペイロード先頭で受け取ったヘッダシグネチャの期待値と比較することで、受信した試験セルのヘッダ情報に誤りがあったか否かを判定することができる。さらに、このヘッダシグネチャの値と受信したシード値とから、続くペイロードのパターンを生成して、ペイロードの誤りを試験することができる。図11におけるP2以下のペイロードパターンの生成方法は、すでに図5を用いて説明した方法と同じである。ただし、ここで、図5において初期値として表記したP0に代わって、図11に示すP1(P1は、ヘッダヘッダシグネチャとシード値とから演算2を実行して求めた値である)を用いることになる。もしくは、図5において初期値として表記したP0に代わって、ペイロードシード値を、そのまま初期値として利用してもよい。この場合、P1を演算せずに、ペイロードシード値を初期値としてそれ以降のペイロードデータを求める。
【0027】
図13にヘッダ情報の誤り検出にも対応可能な、試験セルのペイロードパターン発生回路の例を示す。これは、図9において示したペイロードパターン発生回路100の詳細を示している。本実施の形態のペイロードには、ヘッダデータに基づいて生成したヘッダシグネチャが含まれるため、本ペイロードパターン発生回路に、試験セルヘッダデータ20を入力する。ヘッダシグネチャは、本回路の主レジスタ30−1および演算回路62を用いて、生成される。演算回路62は、図13に示すように、2つの演算モード(演算1および演算2)を持っており、演算制御信号FUNCにより、いずれかのモードが選択される。演算1は主レジスタ30−1単独でのランダムパターン生成に用いるものであり、図5におけるf(x)に相当する。一方の演算2は、主レジスタ30−1と入力する試験セルヘッダデータ20との2つの入力を用いて演算するものであり、図12に示した動作を実現することでヘッダシグネチャ生成に用いられる。補レジスタ30−2は、ランダムデータであるペイロードシード値を保持・出力するためのものであり、一つの試験セルのペイロードデータ生成完了時に、最後に主レジスタで生成した値を取り込み、次の試験セルを発生するまで保持しておき、新たなペイロードシードとして出力すると共に、続くペイロードパターン生成に用いる。このため、ペイロードシード値は、ランダムなデータとなる。選択制御信号1、2、3、演算制御信号およびLOAD/HOLD信号は、制御用バスを介して図1に示す制御用CPU10から指示されるか、もしくは、図9に示す試験セル発生制御回路54から指示される。
【0028】
本回路を用いて、試験セルのペイロードデータを生成するには、まず、試験セルで用いるヘッダデータを入力してヘッダシグネチャを求める必要がある。ここに示した例では、主・補レジスタおよび演算器をすべて8ビット幅である場合を例にしている。図13に示すように、ヘッダシグネチャは、試験セルヘッダの先頭バイトを主レジスタ30−1に取り込み、それ以降、試験セルヘッダのバイトとの間で次々と「演算2」を行う。そのため、選択器2(33−2)は、ヘッダ先頭バイト時のみ入力Bを選択し、それ以降は入力Aを選択する。これにより、主レジスタには、ヘッダ先頭バイトのみがそのまま取り込まれ、それ以降は演算結果が取り込まれる。各ヘッダバイトを入力しながら演算を行い、ヘッダの最終バイトとの演算結果を主レジスタ30−1に取り込みを完了した時の主レジスタ30−1の値がヘッダシグネチャ値である。続いて、ペイロードパターンの生成・出力を行う。まず、選択器3(33−3)がB入力を選択することで、主レジスタ30−1の値をそのまま出力する。これにより、図13に示すように、ペイロードパターン32の先頭バイトがヘッダシグネチャを表すことになる。この時、主レジスタ30−1にはHOLDの制御信号を与えて、値を継続保持させておく。次に、選択器3(33−3)は入力Aを選択して補レジスタ30−2の保持しているランダムデータを出力する。これによりペイロードの第2バイトがペイロードシード値を表すことになる。これと同時に、選択器1(33−1)ではヘッダデータ入力ではなく、補レジスタ30−2の出力を選択して、演算回路62において、ヘッダシグネチャ値を保持した主レジスタ30−1とペイロードシード値を保持した補レジスタ30−2との間でシグネチャ演算(演算2)を行わせ、P1を求め、ペイロードランダムデータの初期値を生成する。主レジスタ30−1にはLOAD制御信号が与えられる。次のクロック入力により、主レジスタは、先の演算結果を取り込む。同時に選択器3は再び入力Bを選択して主レジスタの取り込んだ値を出力する。これ以降、演算回路には演算制御信号FUNCとして「演算1」を選択するように主レジスタの値を用いて、残りのペイロードデータとして疑似ランダムパターンを生成する。捕レジスタにはペイロードの最終バイト出力時にLOAD制御信号が与えられ、次回の試験セル発生で用いるペイロードシードとして保持させる。
【0029】
以上、説明した機能動作により、ペイロードだけでなくヘッダデータの伝送誤りも含めて検査可能な試験セルを発生することができる。
【0030】
以下に、この試験セルを受信する側での検査を行うための手段について説明する。
【0031】
図14は、ペイロードパターン検査回路の内部構成を示している。この回路は、図7および図9に示したペイロードパターン検査回路200に、さらにヘッダ検査機能を付加したものである。図7に示した回路とハード構成上の大きな違いはないが、図14に示す演算器62の機能は、図14に示すように「演算1」と「演算2」との2種類の演算が可能である。この演算器62は、図13に示したものと同じ演算機能を有する。図14における各制御信号は図7に示した試験セル判別制御回路25から与えられる。試験セル判別制御回路25は、試験セルを判別すると、図14に示すペイロードパターン検査回路へセルデータ44を入力すると共に選択器46においてB入力を選択させ、レジスタ40に試験セルヘッダの先頭バイトを取り込ませる。これ以降、このレジスタ40の値と続くセルヘッダバイトとの間で、演算回路62を用いて「演算2」を行いながら順次レジスタ40にロードする。ヘッダ最終バイトを入力して、その演算結果をレジスタ40に取り込んだ段階で、レジスタ40には受信した試験セルのヘッダデータから生成したヘッダシグネチャが保持されている。続いて入力されるペイロードの先頭には、ヘッダシグネチャの期待値が格納されているため、レジスタ40の値を保持(ホールド)した状態で、これとの比較を行う。ここで比較結果が一致していれば、受信した試験セルのヘッダ情報には伝送誤りが無いことになる。逆に、ヘッダシグネチャの値が期待値と不一致の場合は、ヘッダデータあるいはシグネチャ期待値のいずれかに誤りがあったことが判る。次に、試験セルのペイロードシード値が入力されるため、先に生成したヘッダシグネチャとの間で「演算2」を行い、ペイロードランダムデータの初期値を生成する。これ以降、演算回路62では「演算1」を行い、レジスタ40の値を順次更新すると共に、比較器27において残りのペイロードパターンとの比較判定を行う。
【0032】
以上、説明したように、図12、図13および図14に示した第2の実施の形態を用いれば、試験セルのヘッダデータの伝送誤りも含めて、ペイロードデータの誤りも検査可能となる。
【0033】
【発明の効果】
以上説明したように、本発明によれば、回線毎あるいは試験セル毎に異なったデータを用いて交換機の試験を行うことが可能となる。また、複数の回線から種々の試験セルを同時並列に入力することで交換機の持つ最大交換能力までの容量の試験セルの発生・回収・判定を行うことができるようになる。
【図面の簡単な説明】
【図1】本発明を適用したATM交換機の構成図と本発明で使用する試験セルの形態を示す図である。
【図2】従来のATM交換機における診断回路の位置づけを示す構成図である。
【図3】ATM交換機の従来の診断方法を実現するハードウェア構成を示す図である。
【図4】本発明の課題の一つである複数の交換経路における異なる試験セル送出形態を示す図。
【図5】本発明の実施の形態に係るペイロードパターン発生回路の構成図である。
【図6】本発明の実施の形態に係る試験セルを構成するデータ形態を示す図である。
【図7】本発明の実施の形態に係るペイロードパターン検査回路の構成図である。
【図8】本発明による試験セルのペイロードパターン発生・検査に係るレジスタビットとペイロードバイトとの対応関係図である。
【図9】本発明の実施の形態に係る試験セルの発生・検査機能を実現するためのハード構成図である。
【図10】一般的なATM交換機の構成図である。
【図11】ヘッダ誤り検出可能な試験セル形式を示す説明図。
【図12】並列データのシグネチャ生成回路の構成を示す説明図。
【図13】ヘッダ誤り検出に対応した試験セルペイロードパターン発生回路の構成および動作を示す説明図。
【図14】ヘッダ誤り検出に対応したペイロードパターン検査回路の構成および動作を示す説明図。
【符号の説明】
1… ATM交換機、2…コアスイッチ 、3…回線インタフェース、4…回線入力、5回線出力…、6…高速データ伝送路、7…高速データ伝送路、10…制御用CPU、11…制御用バス、20…試験セル、21…ヘッダ、22…ペイロード、23…設定レジスタ、24…試験セル発生回路、25…試験セル判別回路、26…回収レジスタ、27…比較回路、30…演算レジスタ、31…演算回路、32…演算レジスタ出力、33…選択器、40…演算レジスタ、41…演算回路、42…演算レジスタ出力、43…選択器、49…比較レジスタ、51…遅延回路、52…選択器、53…空セル検出回路、54…試験セル発生制御回路、55…試験モード設定レジスタ(発生側)、56…試験情報設定レジスタ、57…遅延回路、58…選択器、59…空セル送出回路、60…試験結果保持レジスタ、61…試験モード設定レジスタ(受信側)、100…ペイロードパターン発生回路、101…試験セル発生送信部、200…ペイロードパターン検査回路、201…試験セル受信検査部。[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an exchange, and more particularly to a method for diagnosing an ATM exchange suitable for increasing the capacity.
[0002]
[Prior art]
The conventional technique is described in, for example, "Speech path continuity test cell transmitting apparatus" in Japanese Patent Application Laid-Open No. 10-41945. Hereinafter, this conventional technique will be described. FIG. 10 shows a schematic configuration of a general ATM exchange. In the ATM communication method, communication data is decomposed into small-capacity packets of fixed length, and an ATM cell in which information necessary for exchange transmission such as routing information is added to each packet as a header is exchanged at high speed by hardware. Is the way. In the ATM switch shown in FIG. 10, ATM cells are input to the
[0003]
FIG. 3 shows an outline of a test performed by the
[0004]
With such a configuration, conventionally, the continuity test through all the line paths is performed by using the "return" function in each line interface. In FIG. 2, each line interface is shown separately for the input side and the output side of the core switch. However, actually, the line interfaces on the input side and the output side are often mounted on the same board or the same LSI. . Utilizing this, for example, it is instructed to output a cell received from the
[0005]
[Problems to be solved by the invention]
In the conventional example described above, data previously written in the setting register (register file) 23 from the CPU is used as the contents of the test cell. That is, since the rewriting of these register files is limited by the speed of the CPU, the test is performed using semi-fixed data at the time of the test, and the transmission when various data patterns are dynamically changed is tested. I can't. Every time one test cell is transmitted, it is impossible to rewrite the data with another data due to the writing speed from the CPU. In addition, since the transmission / recovery function of the test cell is shared in one place, there is a limit on the capacity of transmitting / recovering / determining the test cell. Even if the exchange capacity of the exchange itself is several tens of gigabits per second, the capacity of test cells that can be transmitted and recovered is only one-tenth or one-hundredth. In other words, since the test can only be performed in a state where the exchange capacity of the exchange has a margin, it is not possible to detect such an abnormality such as when an intermittent error occurs in the data transmission path or the core switch unit. Have difficulty. Furthermore, even in the continuity test using all the lines using the "return" function at the line interface, the test cells with the same data are reused, so the contents of the test cells transmitted between the lines are the same, Cannot be determined.
[0006]
In order to solve such a problem, there are inventions described in JP-A-4-291856 and JP-A-5-75639. In these conventional examples, the receiving side sets the initial value of the receiving side counter at the first octet of the test cell, and checks the test data by comparing whether or not the data is a continuous value. However, according to these methods, if the initial values are the same, the data of the payload are all the same, and it is not possible to determine a path error. Further, in these examples, since the payload data of the test cell is generated and inspected using the counter, there is a problem that the rate of change of the used data differs depending on the bit position of the payload data. This is because, for example, when an 8-bit counter is used, a pattern from 0 to 255 can be generated, but 0/1 is used alternately for
[0007]
SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems and to provide an exchange that enables generation, collection, and determination of test cells up to the maximum exchange capacity of the exchange, and a diagnostic method thereof.
[0008]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, the present invention provides an exchange for performing a cell switching process between a plurality of communication lines, a transmission unit provided for each of the lines and transmitting a test cell for testing the switching process. And a test unit provided for each line, for receiving a test cell transmitted from the transmitting unit and performing a test on the test cell, wherein the transmitting unit includes, for each test cell to be transmitted, random data. As an initial value, data including the initial value and a result of a predetermined operation based on the initial value is output as payload data of a test cell, and the inspection unit outputs the initial value from the received test cell. And the result of the operation are extracted, and it is determined whether the result of the predetermined operation based on the extracted initial value matches the result of the extracted operation. Further, the transmitting unit further outputs a fixed value obtained by a predetermined operation from a value corresponding to the header information of the test cell, the inspection unit, the value corresponding to the header information from the received test cell and The fixed value may be extracted, and it may be further determined from the value corresponding to the extracted header information whether or not the result of the predetermined operation matches the extracted fixed value. The transmission unit may include an arithmetic circuit that performs the predetermined operation, and a holding circuit that holds a result of the operation of the arithmetic circuit. In addition, the inspection unit, the arithmetic circuit that performs the predetermined operation, a holding circuit that holds a result of the operation of the arithmetic circuit, a result of the operation that is held in the holding circuit, and a result of the extracted operation And a comparison circuit that determines whether or not the two match.
[0009]
According to the present invention, a test can be performed using random data for each line or each test cell, and a transmission unit and an inspection unit are provided for each line so that various test cells can be simultaneously and parallelly connected from a plurality of lines. By inputting, only the receiving side can autonomously judge the consistency of the contents of the test cell. In the present invention, since random data (for example, pseudo-random data) is used for the payload, there is no bias in the data change rate depending on the bit position. Further, in order to detect a transmission error in a header portion, the transmitting unit further outputs a fixed value obtained by a predetermined calculation from a value corresponding to the header information of the test cell, and the test unit receives the received test data. A value corresponding to the header information and the fixed value are extracted from the cell, and it is further determined from the value corresponding to the extracted header information whether a result of the predetermined operation matches the extracted fixed value. I do. Thereby, the transmitting side generates a fixed value (signature) based on the header information, stores the unique value (signature) and the random data in the payload and transmits the payload, and one of the receiving sides also generates the fixed value (signature) based on the received header information. By calculating and generating an eigenvalue (signature) using the above method, and comparing the signature value with the expected signature value received in the payload, a transmission error of the header information can be detected.
[0010]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, a first embodiment according to the present invention will be described with reference to the drawings.
[0011]
Conventionally, in order to determine whether a test cell has been normally received through an exchange process, test cell data set on the test cell transmitting side and test cell data collected on the receiving side are compared bit by bit one by one. Had been inspected. In such a determination method, as shown in FIG. 3, it is impossible to mount a circuit block for sending out a test cell and a circuit block for recovering a test cell completely independently from each other, so that the test function unit is not provided.
[0012]
To solve the above problem, a test circuit is implemented for each individual line instead of sharing the test function among all the lines. In the present invention, as shown in FIG. 1, a test cell generation /
[0013]
Hereinafter, detailed embodiments will be described with reference to the drawings.
[0014]
FIG. 5 shows a test cell payload pattern generation circuit, which is used on the test cell generation side. The payload pattern generation circuit shown here mainly has a
[0015]
FIG. 6 shows the correspondence between the series of patterns P0, P1, P2,... Shown above and the form of the test cell. The test cell is composed of a
[0016]
FIG. 7 shows details of a circuit for inspecting a payload pattern on the test cell receiving side. The inspection circuit mainly includes an
[0017]
In the description so far, the specific bit width of the pattern sequence used for the operation register and the payload of the test cell is not referred to, but simply a plurality of bits. In addition, for simplicity, the description has been made on the assumption that the bit widths of the operation register and the comparison register and the bit width of one pattern forming the pattern sequence are the same. The value of this bit width is merely a matter of design, irrespective of the nature of the invention, but the invention can be implemented even when the bit width of the operation register and the comparison register is different from that of the pattern series. FIG. 8 shows an example of the control operation of the embodiment when the operation register and the comparison register are 24 bits and the payload pattern is received one byte (8 bits) at a time.
[0018]
As shown in FIG. 8, it is assumed that the payload test pattern operation register 30 used on the test cell generating side, the comparison register 49 and the
[0019]
FIG. 9 shows an overall configuration of a test cell generation / transmission / reception inspection unit using the payload pattern generation / inspection circuit described above. The test cell generation and
[0020]
An outline of the operation of generating and transmitting a test cell using the above circuit configuration will be described below. First, the
[0021]
One test cell
[0022]
Next, FIG. 1 shows an exchange to which the test cell generation /
[0023]
As described above, in the embodiment described above, the pseudo-random pattern is used as the payload data, so that the rate of change in each bit of the payload of the test cell is not biased. Thereby, it is possible to prevent the change rate from being biased due to the bit position, which is a problem in the payload data generated by using the conventional counter, and to realize a more accurate communication test.
[0024]
Next, in order to further improve the error detection capability of the communication test, a second embodiment that enables a test including header information will be described.
[0025]
FIG. 11 shows the format of a test cell in which an error can be detected, including the header. The feature of this embodiment resides in that a signature value generated based on header information is inserted into a payload. The signature value is a unique value generated based on the information of the cell header. If there is a transmission error in the header information, a mismatch occurs between the signature value generated based on the transmission error and the original signature value, and this can be detected. Further, in the present embodiment, a payload seed value (random data) is inserted into the payload following the header signature. This is because if the test cell header information is the same, the signature value will always be the same, so if the payload data is generated based on it, the test cells with the same pattern of payload data will always be used, and for each test cell This is because one of the objects of the present invention of applying a different payload data pattern cannot be realized. In order to change the data pattern of the payload for each test cell generated, a subsequent payload pattern is generated based on the signature value generated from the header information and the payload seed value as random data.
[0026]
11, the header signature value (HD_SIGN) inserted at the head of the payload is a value generated by using the signature generation circuit shown in FIG. 12 based on the information of the test cell header. The signature generation circuit shown in FIG. 12 is obtained by adding an exclusive OR function by parallel data input to a pseudo random pattern generation circuit based on a shift operation. FIG. 12 shows an example of 8 bits, and the signature generation circuit has eight flip-flops and 11 two-input exclusive ORs. There is an 8-bit parallel data input (D7 to D0) as header information, and a pseudo random number is generated by the current value and D input of each flip-flop Q. By using such a circuit, by inputting each byte of the test cell header sequentially from the head, a unique value based on the header information is generated. This is the header signature value, and in the present embodiment, this value is inserted at the head of the payload of the test cell. The receiving side receiving the test cell generates a header signature in the same manner based on the header information, and compares this value with the expected value of the header signature received at the beginning of the payload, thereby obtaining the header information of the received test cell. Can be determined whether or not there is an error. Further, a pattern of a subsequent payload can be generated from the value of the header signature and the received seed value, and an error of the payload can be tested. The method of generating the payload pattern below P2 in FIG. 11 is the same as the method already described with reference to FIG. However, here, P1 shown in FIG. 11 (P1 is a value obtained by executing the
[0027]
FIG. 13 shows an example of a test cell payload pattern generation circuit that can cope with error detection of header information. This shows details of the payload
[0028]
In order to generate the payload data of the test cell using this circuit, first, it is necessary to input the header data used in the test cell and obtain the header signature. In the example shown here, the case where the main / complementary registers and the arithmetic units are all 8 bits wide is taken as an example. As shown in FIG. 13, the header signature takes the first byte of the test cell header into the main register 30-1 and thereafter performs “
[0029]
As described above, by the above-described functional operation, it is possible to generate a test cell that can be inspected not only for the payload but also for the transmission error of the header data.
[0030]
In the following, a description will be given of means for performing a test on the test cell receiving side.
[0031]
FIG. 14 shows the internal configuration of the payload pattern inspection circuit. This circuit is obtained by adding a header inspection function to the payload
[0032]
As described above, if the second embodiment shown in FIGS. 12, 13 and 14 is used, it is possible to inspect errors in payload data including transmission errors in header data of test cells.
[0033]
【The invention's effect】
As described above, according to the present invention, it is possible to perform a test of an exchange using different data for each line or each test cell. Further, by inputting various test cells from a plurality of lines simultaneously and in parallel, it becomes possible to generate, collect, and determine test cells having a capacity up to the maximum exchange capacity of the exchange.
[Brief description of the drawings]
FIG. 1 is a diagram showing the configuration of an ATM switch to which the present invention is applied and the form of a test cell used in the present invention.
FIG. 2 is a configuration diagram showing the positioning of a diagnostic circuit in a conventional ATM exchange.
FIG. 3 is a diagram showing a hardware configuration for realizing a conventional diagnostic method for an ATM exchange.
FIG. 4 is a diagram showing different test cell transmission modes in a plurality of exchange paths, which is one of the objects of the present invention.
FIG. 5 is a configuration diagram of a payload pattern generation circuit according to the embodiment of the present invention.
FIG. 6 is a diagram showing a data format constituting a test cell according to the embodiment of the present invention.
FIG. 7 is a configuration diagram of a payload pattern inspection circuit according to the embodiment of the present invention.
FIG. 8 is a diagram showing a correspondence relationship between register bits and payload bytes related to generation and inspection of a payload pattern of a test cell according to the present invention.
FIG. 9 is a hardware configuration diagram for realizing a test cell generation / inspection function according to the embodiment of the present invention.
FIG. 10 is a configuration diagram of a general ATM exchange.
FIG. 11 is an explanatory diagram showing a test cell format capable of detecting a header error.
FIG. 12 is an explanatory diagram showing a configuration of a signature generating circuit for parallel data.
FIG. 13 is an explanatory diagram showing a configuration and operation of a test cell payload pattern generation circuit corresponding to header error detection.
FIG. 14 is an explanatory diagram showing a configuration and operation of a payload pattern inspection circuit corresponding to header error detection.
[Explanation of symbols]
REFERENCE SIGNS
Claims (4)
前記回線ごとに設けられ、前記交換処理を試験するための試験セルを送信する送信部と、
前記回線ごとに設けられ、前記送信手段より送信された試験セルを受信し、当該試験セルの検査を行う検査部とを有し、
前記送信部は、1つの送信部演算回路を有し、
送信する試験セルごとに、
当該試験セルのヘッダ情報から前記送信部演算回路を用いて行う予め定めた第一の演算により算出した固定値、ランダムデータである初期値、および、前記固定値と前記初期値とから前記送信部演算回路を用いて行う予め定めた第二の演算に従って生成したペイロードパターンとを含むデータを、当該試験セルのペイロードデータとして出力し、
前記検査部は、前記送信部演算回路と同じ演算機能を有する1つの検査部演算回路を有し、
受信した試験セルから前記ヘッダ情報、前記固定値、前記初期値、および、前記ペイロードパターンを抽出し、抽出した前記ヘッダ情報から前記検査部演算回路を用いて行う前記第一の演算により算出した結果と前記抽出した固定値とが一致するか否かを判定するとともに、当該第一の演算により算出した結果と前記抽出した初期値とから前記検査部演算回路を用いて行う前期第二の演算に従って第二のペイロードパターンを生成し、当該生成した第二のペイロードパターンと前記抽出したペイロードパターンとが一致するか否かを判定すること
を特徴とする交換機。In an exchange for exchanging cells between a plurality of communication lines,
A transmission unit that is provided for each line and transmits a test cell for testing the switching process.
An inspection unit provided for each line, receiving a test cell transmitted from the transmission unit, and inspecting the test cell,
The transmission unit has one transmission unit operation circuit,
For each test cell to be transmitted,
A fixed value calculated by a predetermined first operation performed using the transmission unit operation circuit from the header information of the test cell, an initial value that is random data, and the transmission unit based on the fixed value and the initial value. A data including a payload pattern generated according to a second predetermined operation performed by using an arithmetic circuit is output as payload data of the test cell,
The inspection unit has one inspection unit operation circuit having the same operation function as the transmission unit operation circuit,
The header information, the fixed value, the initial value, and the payload pattern are extracted from the received test cell, and the result calculated by the first calculation performed using the inspection unit calculation circuit from the extracted header information. And whether or not the extracted fixed value matches, and according to the first and second calculations performed using the inspection unit calculation circuit from the result calculated by the first calculation and the extracted initial value. An exchange for generating a second payload pattern and determining whether or not the generated second payload pattern matches the extracted payload pattern .
前記送信部は、
試験セルを発生する試験セル発生制御回路と、
前記通信回線から入力されたセルが、空セルであるかどうかを判定し、空セルである場合、前記試験セル発生制御回路に試験セルの発生開始を指示する空セル検出回路、をさらに備えること
を特徴とする交換機。 The exchange according to claim 1,
The transmitting unit includes:
A test cell generation control circuit for generating a test cell;
It further comprises an empty cell detection circuit that determines whether or not the cell input from the communication line is an empty cell, and when the cell is empty, instructs the test cell generation control circuit to start generation of a test cell.
The exchange characterized by the above .
前記送信部は、
前記送信部演算回路による演算結果を保持する保持回路をさらに備え、
前記送信部演算回路は、
演算制御信号の指示に従って、前記第一の演算および前記第二の演算とを、それぞれ行い、
前記第一の演算は、前記ヘッダ情報と前記保持回路に保持された値とを入力として行われ、
前記第二の演算は、前記保持回路に保持された値を入力として行われること
を特徴とする交換機。The exchange according to claim 1 or 2 ,
The transmitting unit includes:
Further comprising a holding circuit for holding a calculation result by the transmission unit calculation circuit,
The transmission unit operation circuit,
According to the instruction of the operation control signal, the first operation and the second operation, respectively,
The first operation is performed using the header information and the value held in the holding circuit as inputs,
The exchange, wherein the second operation is performed by using a value held in the holding circuit as an input .
前記検査部は、
前記演算部演算回路における演算の結果を保持する保持回路と、
当該保持回路に保持する演算の結果と前記抽出した固定値または前記抽出したペイロードパターンとが一致するか否かを判定する比較回路と、をさらに備え、
前記検査部演算回路は、
演算制御信号の指示に従って、前記第一の演算および前記第二の演算とを、それぞれ行 い、
前記第一の演算は、前記ヘッダ情報と前記保持回路に保持された値とを入力として行われ、
前記第二の演算は、前記保持回路に保持された値を入力として行われること
を特徴とする交換機。The exchange according to claim 1 , 2 or 3 ,
The inspection unit,
A holding circuit for holding a result of the operation in the operation unit operation circuit,
A comparison circuit that determines whether the result of the operation held in the holding circuit matches the extracted fixed value or the extracted payload pattern,
The inspection unit arithmetic circuit,
Follow the instructions on the operation control signal, and said first operation and said second operation, have each row,
The first operation is performed using the header information and the value held in the holding circuit as inputs,
The exchange, wherein the second operation is performed by using a value held in the holding circuit as an input .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4487199A JP3569151B2 (en) | 1999-02-23 | 1999-02-23 | Exchanger and diagnostic method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4487199A JP3569151B2 (en) | 1999-02-23 | 1999-02-23 | Exchanger and diagnostic method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2000244529A JP2000244529A (en) | 2000-09-08 |
| JP3569151B2 true JP3569151B2 (en) | 2004-09-22 |
Family
ID=12703571
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4487199A Expired - Lifetime JP3569151B2 (en) | 1999-02-23 | 1999-02-23 | Exchanger and diagnostic method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3569151B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008085557A (en) * | 2006-09-27 | 2008-04-10 | Nec Electronics Corp | Method for generating pattern frame, method for collating test pattern, method for testing jitter, communication device, and communication system |
-
1999
- 1999-02-23 JP JP4487199A patent/JP3569151B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JP2000244529A (en) | 2000-09-08 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0549602B1 (en) | Integrated circuit, system and method for fault insertion | |
| Cota et al. | The impact of NoC reuse on the testing of core-based systems | |
| JP3984300B2 (en) | Communication device | |
| CN115459865B (en) | Error rate measuring device and error rate measuring method | |
| US6772369B2 (en) | System observation bus | |
| JP2007518988A (en) | Testing a circuit with multiple clock domains | |
| US6671653B2 (en) | Semiconductor test system and monitor apparatus thereof | |
| JPS61128180A (en) | Self-testing equipment | |
| JP3569151B2 (en) | Exchanger and diagnostic method | |
| CN112630630A (en) | Chip testing method, computing chip and digital currency mining machine | |
| EP0198568A2 (en) | Data capture logic system | |
| Larsson et al. | Graceful degradation of reconfigurable scan networks | |
| JP3190364B2 (en) | Inspection method and circuit | |
| GB2290203A (en) | Communication circuit for performing data transfer | |
| CN1870178B (en) | Semiconductor device | |
| JP2008210114A (en) | Internal bus analysis system performing inter-card communication, method therefor and program therefor | |
| JP2002148311A (en) | Test architecture | |
| CN120468631B (en) | Chip testing circuit, chip and testing method | |
| CN115562925B (en) | A chip interface testing system, method, device and storage medium | |
| KR20100084153A (en) | Error catch ram support using fan-out/fan-in matrix | |
| JP3090053B2 (en) | Monitor device for circuit data | |
| Kariniemi et al. | Fault-tolerant 2-D mesh network-on-chip for multiprocessor systems-on-chip | |
| US6553519B1 (en) | Method for detecting signal transfer errors in near real time in a digital system | |
| JPH09181590A (en) | Logic circuit and data processing device using the same | |
| JP2000338188A (en) | Testing circuit for semiconductor integrated circuit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20031225 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040113 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040311 |
|
| 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: 20040608 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040617 |
|
| 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: 20080625 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080625 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090625 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090625 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100625 Year of fee payment: 6 |