JP2016052074A - Communication device - Google Patents
Communication device Download PDFInfo
- Publication number
- JP2016052074A JP2016052074A JP2014177620A JP2014177620A JP2016052074A JP 2016052074 A JP2016052074 A JP 2016052074A JP 2014177620 A JP2014177620 A JP 2014177620A JP 2014177620 A JP2014177620 A JP 2014177620A JP 2016052074 A JP2016052074 A JP 2016052074A
- Authority
- JP
- Japan
- Prior art keywords
- unit
- data
- packet
- cram
- error
- 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.)
- Pending
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
- Communication Control (AREA)
Abstract
Description
本発明は、通信装置に関する。 The present invention relates to a communication device.
本技術分野の背景技術として、「When The CRC and TCP Checksum Disagree」Jonathan Stone著(非特許文献1)がある。この文献には、パケットを伝送するパケット伝送装置などの通信装置を有するネットワークにおいて、何らかのエラーが発生し、このエラーを含むパケット(以下、「エラーパケット」と呼ぶ。)を正常なパケットであると、各通信装置が誤判定する誤判定確率についての記載がある。 As a background art in this technical field, there is “When The CRC and TCP Checksum Disagree” by Jonathan Stone (Non-Patent Document 1). In this document, an error occurs in a network having a communication device such as a packet transmission device that transmits a packet, and a packet including this error (hereinafter referred to as an “error packet”) is a normal packet. There is a description about the erroneous determination probability that each communication device makes an erroneous determination.
例えば、レイヤ2のプロトコルで知られるEthernet(イーサネット)(登録商標)フレームに採用されている、32ビットのCRC(Cyclic Redundancy Check:巡回冗長検査)では、フレームにエラーが発生していたとしても、正常と誤判定する誤判定確率は約40億分の1であり、さらに上位にあるレイヤ3のプロトコルで知られるTCP(Transmission Control Protocol)パケットに採用されている、16ビットのチェックサムでは、パケットにエラーが発生していたとしても、正常と誤判定する誤判定確率は約6万分の1となるので、32ビットCRCと16ビットチェックサム双方が、正常と誤判定する確率は単純には約250兆分の1と計算されることが記載されている。
For example, in a 32-bit CRC (Cyclic Redundancy Check) adopted in an Ethernet (Ethernet) frame known as a
さらに、実際のネットワーク上の誤判定確率は、計算される誤判定確率よりも高い確率である1600万分の1から100億分の1の間で発生していると記載されている。 Furthermore, it is described that the misjudgment probability on the actual network occurs between 1/16 million and 1/10 billion, which is a higher probability than the calculated misjudgment probability.
また、特開2006−60695号公報(特許文献1)がある。この公報には、情報通信システムにおいて、「ブロック符号化された符号語を通信路を介して受信することで得られる受信語の復号に際して演算負荷の軽減、誤り率特性の改善を実現する」(要約参照)ことを課題として、通信路を介して送信するCRC符号が付加された符号語に対し、さらにLDPC(Low Density Paritycheck Code:低密度パリティ検査符号)符号化することで誤り率特性の改善により、通信品質を向上させることが記載されている。 Moreover, there exists Unexamined-Japanese-Patent No. 2006-60695 (patent document 1). In this information communication system, in an information communication system, “it is possible to reduce a calculation load and improve an error rate characteristic when decoding a received word obtained by receiving a block-coded codeword via a communication path” ( In order to improve error rate characteristics, codewords to which CRC codes transmitted via a communication channel are added are further LDPC (Low Density Parity Check Code) coding. Describes improving communication quality.
ネットワーク上でエラーパケットを正常と誤判定することによって、上位レイヤでの再送処理によるデータ転送効率の低下や、データ破損など、ネットワークに影響を与え、ネットワーク上での通信品質を下げる要因の一つとなっていることが一般的に知られている。
誤判定することについて、例えば、コンピュータなどの通信端末Aから別の通信端末Bへデータを送信する場合に、パケット伝送装置Cでパケットを処理する際にエラーが発生し、このエラーパケットをパケット伝送装置Dが正常であると誤判定すると、通信端末Bへエラーパケットが送信され、通信端末Bはエラーパケットを受信することになる。
By misjudging an error packet as normal on the network, one of the factors that affects the network, such as reduced data transfer efficiency due to retransmission processing at higher layers, data corruption, etc., and lowers the communication quality on the network It is generally known that
Regarding erroneous determination, for example, when data is transmitted from a communication terminal A such as a computer to another communication terminal B, an error occurs when the packet transmission apparatus C processes the packet, and this error packet is transmitted as a packet. If it is erroneously determined that the device D is normal, an error packet is transmitted to the communication terminal B, and the communication terminal B receives the error packet.
この場合、通信端末Aは、通信端末Bに対して送信すべきデータに宛先などを示すヘッダを付与してパケット化し、パケット伝送装置Cへ送信する。パケットを受信したパケット伝送装置Cは、伝送網での転送プロトコル変換などの処理をして伝送網を介して対向装置であるパケット伝送装置Dに対して受信したパケットを伝送する。ここで、パケット伝送装置Cでパケットを処理する際に、何らかのエラーが発生すると、エラーパケットがパケット伝送装置Dに伝送されることになる。 In this case, the communication terminal A adds a header indicating a destination to data to be transmitted to the communication terminal B, packetizes the data, and transmits the packet to the packet transmission apparatus C. The packet transmission apparatus C that has received the packet performs processing such as transfer protocol conversion in the transmission network, and transmits the received packet to the packet transmission apparatus D that is the opposite apparatus via the transmission network. Here, if any error occurs when the packet transmission apparatus C processes the packet, the error packet is transmitted to the packet transmission apparatus D.
エラーパケットを受信したパケット伝送装置Dにおいて、CRCおよびチェックサムを実行するデータチェック処理により、受信したエラーパケットを正常であると誤判定すると、エラーパケットをパケット伝送装置Dにて廃棄することなく、通信端末Bに送信してしまう。
エラーパケットを受信した通信端末Bは、受信したパケットから各種ヘッダを取り除き、元のデータに復元する。受信したパケットには、パケット伝送装置Cで発生したエラーが含まれていることから、この復元されたデータもエラーを含む破損データとなっている。
このように、データの転送途中でエラーが発生し、エラーパケットを正常であると誤判定することで、エラーを含む破損データが送信先に送信される。この破損データが送信先に送信されることで、ダウンロードしたファイルが破損している事で再度ダウンロードの試行をしたり、下位プロトコルによる再送処理がなされるなど、ネットワークに影響を与える。
In the packet transmission device D that has received the error packet, if it is erroneously determined that the received error packet is normal by the data check process that performs CRC and checksum, the packet transmission device D does not discard the error packet, It is transmitted to the communication terminal B.
Receiving the error packet, the communication terminal B removes various headers from the received packet and restores the original data. Since the received packet includes an error that has occurred in the packet transmission apparatus C, the restored data is also corrupted data including an error.
As described above, an error occurs during data transfer, and the error packet is erroneously determined to be normal, so that corrupted data including the error is transmitted to the transmission destination. By transmitting the damaged data to the transmission destination, the downloaded file is damaged and the download is retried, or retransmission processing is performed using a lower protocol, which affects the network.
このような事象を防止する為には、エラーパケットのエラー検出率の改善又は、エラー訂正機構などによる誤り率特性の改善が考えられる。特許文献1では、CRC符号が付加された情報語に対しさらにLDPC符号化することで誤り率特性の改善を図りことが記載されており、エラーパケットを正常と誤判定する確率を低減する効果もあると考えられる。しかしながら、パケット伝送装置では一般的に規格化されたフレーム又はパケット、例えばEthernetフレームやMPLS(Multi-Protocol Label Switching)パケットにより通信を行うため、特許文献1に記載されるLDPC符号をこれらの規格化されたフレーム又はパケットに適用することは、汎用性及び互換性が損なわれるという課題があった。
In order to prevent such an event, it is conceivable to improve the error detection rate of an error packet or improve the error rate characteristic by an error correction mechanism.
そこで、本発明は、ネットワークに影響を与えるエラーパケットの誤判定率を低減するとともに、既存の通信装置との汎用性及び互換性を確保する通信装置を提供する。 Therefore, the present invention provides a communication device that reduces the erroneous determination rate of error packets that affect the network and ensures versatility and compatibility with existing communication devices.
上記課題を解決するために、本発明は、外部から入力されたデータに所定の処理を行うデータ処理部と、前記データ処理部と接続され、前記入力されたデータに基づいて誤り検出に関する情報を生成し、生成した前記誤り検出に関する情報を前記データ処理部へ送信する誤り検出情報生成部と、前記データ処理部と接続され、前記データ処理部から前記所定の処理が行われたデータおよび前記誤り検出に関する情報を受信し、受信した前記所定の処理が行われたデータおよび前記誤り検出に関する情報に対して正常性に関する検査を行い、検査結果に応じて検査した前記所定の処理が行われたデータの廃棄を制御するデータ検査部と、前記データ処理部および前記データ検査部と接続され、前記データ処理部から受信するデータと前記データ検査部から受信するデータとのいずれかのデータを選択して転送する第1の選択部と、前記データ処理部の状態を監視し、前記第1の選択部を制御する状態監視制御部とを有することを特徴とする通信装置を有する。 In order to solve the above-described problems, the present invention provides a data processing unit that performs predetermined processing on data input from the outside, and is connected to the data processing unit, and information related to error detection based on the input data. An error detection information generation unit that generates and transmits the generated error detection information to the data processing unit, and the data that is connected to the data processing unit and has undergone the predetermined processing from the data processing unit and the error Data on which detection is received, data on which the predetermined processing has been performed and data on the error detection are inspected for normality, and data on which the predetermined processing has been performed according to the inspection result A data inspection unit for controlling the disposal of data, and the data processing unit and the data inspection unit connected to and receiving data from the data processing unit and the data A first selection unit that selects and transfers any of the data received from the inspection unit, and a state monitoring control unit that monitors the state of the data processing unit and controls the first selection unit. It has a communication apparatus characterized by having.
本発明によれば、ネットワークの汎用性及び互換性を保ったまま、ネットワーク上での誤判定率を下げる通信装置を提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the communication apparatus which reduces the misjudgment rate on a network can be provided, maintaining the versatility and compatibility of a network.
上記した以外の課題、構成及び効果は、以下の実施形態の説明により明らかにする。 Problems, configurations, and effects other than those described above will be clarified by the following description of embodiments.
以下、実施例を図面を用いて説明する。
図1は、本実施例におけるネットワーク全体の構成例を示した図である。
ネットワークは、所定のデータをパケット化して送受信する通信端末100と、通信端末100から受信したデータを伝送網103を介して対向装置へ送信し、伝送網103を介して対向装置から受信したデータを通信端末100へ送信するパケット伝送装置102とを有する。
Hereinafter, examples will be described with reference to the drawings.
FIG. 1 is a diagram illustrating a configuration example of the entire network in the present embodiment.
The network transmits the data received from the communication terminal 100 via the
ここで、パケット化とは、レイヤ3での処理であり、データの宛先IP(Internet Protocol)アドレスと送信元IPアドレスなどを特定するIPヘッダをデータに付与するTCP/IPパケット化、及び、レイヤ2での処理であり、宛先MAC(Media Access Control)アドレスと送信元MACアドレスなどと特定するフレームヘッダをTCP/IPパケットに付与するフレーム化などのデータに各種ヘッダを付与することを意味する。
なお、本実施例では、フレーム化されたTCP/IPパケットも便宜上「パケット」と呼ぶ。
Here, packetization is processing in layer 3, TCP / IP packetization that adds an IP header specifying data destination IP (Internet Protocol) address and source IP address to data, and
In the present embodiment, a framed TCP / IP packet is also referred to as a “packet” for convenience.
また、伝送網103は、例えば、インターネット、広域網、または、専用線網などで構成される。
なお、パケット伝送装置102と通信端末100との間にルータやスイッチなどの他の通信装置が接続されていてもよい。
なお、通信端末100はパケット伝送装置102に複数接続されていてもよい。
なお、パケット伝送装置102−2と伝送網103との間は、複数の経路で接続されていてもよい。
以下、各通信装置(パケット伝送装置と通信端末)を特定する場合は、各通信装置の参照符号に枝番(「−1」など)を付して説明する。
In addition, the
Note that another communication device such as a router or a switch may be connected between the packet transmission device 102 and the communication terminal 100.
Note that a plurality of communication terminals 100 may be connected to the packet transmission apparatus 102.
Note that the packet transmission apparatus 102-2 and the
Hereinafter, when specifying each communication device (packet transmission device and communication terminal), a branch number (such as “−1”) is attached to the reference number of each communication device.
パケット伝送装置102は、データ(パケット)の伝送に関わる処理部である、インタフェース部201、パケット処理部202、クロスコネクト部203、光インタフェース部204と、各処理部を監視制御バス206を介して装置内の警報等の監視又は、制御などを行う監視制御部205とを有する。
通信端末100からの電気信号であるパケットをインタフェース部201にて受信し、インタフェース部201は、受信したパケットをパケット処理部202に転送する。パケット処理部202は、転送されたパケットに対して、伝送方式に応じたプロトコル変換やクロスコネクト処理に必要なアドレス解決等の各種処理を行いクロスコネクト部へ転送する。クロスコネクト部203は、転送されたパケットを所定の方路(伝送路)に対応する光インタフェース部204にクロスコネクトする。ここで、「クロスコネクトする」とは、パケットを転送すべき方路にスイッチングすることを意味する。光インタフェース部204は、クロスコネクト部203にてクロスコネクトされたパケットを光信号に変換し、伝送網103と接続する光伝送路207に送信する。
The packet transmission apparatus 102 is a processing unit related to data (packet) transmission, and includes an interface unit 201, a
The interface unit 201 receives a packet that is an electrical signal from the communication terminal 100, and the interface unit 201 transfers the received packet to the
また、伝送網103と接続する光伝送路207からの光信号であるパケットを光インタフェース部204にて受信し、光インタフェース部204は、パケットを電気信号に変換し、クロスコネクト部203に転送する。クロスコネクト部203は、転送されたパケットを所定の方路に対応するパケット処理部202にクロスコネクトし、パケット処理部202は、各種の処理を行いインタフェース部201に転送する。インタフェース部201は、パケットを通信端末100に送信する。
なお、パケット伝送装置102は、パケットの伝送に関わる各処理部(インタフェース部210、パケット処理部202、光インタフェース部204)を、各方路に対応して複数有していてもよい。
なお、パケット伝送装置102のインタフェース部201は、光インタフェース部204と同様に、通信端末100側から受信した光信号を電気信号に変換する光インタフェース部であってもよい。
The
The packet transmission apparatus 102 may include a plurality of processing units (interface unit 210,
Note that the interface unit 201 of the packet transmission apparatus 102 may be an optical interface unit that converts an optical signal received from the communication terminal 100 side into an electrical signal, similarly to the
図2は、図1のパケット伝送装置102のパケット処理部202がプログラマブルロジックデバイス(プログラマブルゲートアレイ)により構成される例を示している。プログラマブルロジックデバイスとは、その製造後に内部論理回路(ロジック)を定義・変更できる集積回路のことである。本実施例では、プログラマブルロジックデバイスの例として、FPGA(Field−Programmable Gate Array)を用いて説明するが、プログラマブルなデバイスであれば、FPGAに限られない。
また、パケット処理部202は、インタフェース部201から多数のパケットを受信し、クロスコネクタ部203へ多数のパケットを転送する例で説明する。
FIG. 2 shows an example in which the
Further, an example will be described in which the
パケット処理部202は、FPGA250と、FPGA250の内部論理回路(ロジック、ユーザロジック、ユーザ論理、機能ブロック)を定義する情報であるユーザロジック情報(機能情報)を保持する機能情報保持部である不揮発性メモリ(コンフィギュレーションデータ保持用)299を具備する。
FPGA250は、ユーザロジック情報により構成されるFPGA250の内部論理回路であるユーザロジック部251と、不揮発性メモリ(コンフィギュレーションデータ保持用)299に保持されているユーザロジック情報を読み出して一時的に保持するコンフィギュレーションRAM(Configuration Random Access Memory)(以下、「CRAM」と呼ぶ。)(機能情報一時保持部)252を具備する。
The
The
FPGA250により構成されるユーザロジック部251内のパケット処理回路253は、パケットの帯域制御を行うポリサブロック254と、パケット伝送に用いられるプロトコルの一つであるMPLS化を行うMPLS化ブロック255と、パケットの出力レートを平滑化する処理を受け持つシェーパブロック256により構成される例を示している。
なお、パケット処理回路253は、データ処理部とも呼ぶ。
ここでMPLS化とは、MPLSでの転送処理で用いられるMPLSラベルと呼ばれる宛先情報を含むヘッダデータを付与することである。また、これらパケット処理ブロック(ポリサブロック254とMPLS化ブロック255とシェーパブロック256)は監視/制御信号281を介して、警報等の監視及び制御を行う監視/制御レジスタ257に接続される構成をとる。この監視/制御レジスタ257は、監視制御バス280を介し、パケット伝送装置102内の監視制御バス206と接続され、監視制御部205から監視及び制御される。
The
The
Here, the term “MPLS” means that header data including destination information called an MPLS label used in the transfer process in MPLS is added. The packet processing blocks (the
FPGA250は、パケット伝送装置102の一機能であるパケット処理回路253の他、入力されたパケット285に基づいて誤り検出の情報であるパリティを生成するパリティ生成部258と、パケット285の正常性検査及び、異常データ(エラーデータ)を持つパケットの廃棄を行うパケット検査ブロック260と、シェーパブロック256からのパケット285を後段に送信するか、パケット検査ブロック260の処理を行ったパケットを後段に送信するかを切り替える(選択する)セレクタ部261と、FPGA250の内部回路(ロジック、ユーザロジック、機能ブロック)と接続し、FPGA250の内部論理回路(ロジック、ユーザロジック、機能ブロック)の状態を監視する、つまり、異常(エラー)を診断する(正常性を確認する)診断回路259-1〜259-5と、CRAM252に発生するエラーを監視し、CRAM252を訂正するなど、CRAM252を制御するCRAM監視/訂正部263と、診断回路259−1〜259−5での診断結果及び、CRAM監視/訂正部263でのCRAM252に対する監視結果に基づき、セレクタ部261に対してシェーパブロック256からのパケット285を後段に転送する動作とパケット検査ブロック260からのパケット285を後段に転送する動作とを切り替える指示である切り替え指示信号286を送信する異常処理ブロック262を具備する。
なお、診断回路259-1〜259-5は、監視回路(監視部)とも呼ぶ。また、CRAM監視/訂正部263は、CRAM監視部(機能情報一時保持部監視部)とも呼ぶ。
The
The diagnostic circuits 259-1 to 259-5 are also called monitoring circuits (monitoring units). The CRAM monitoring /
パリティ生成部258は、入力されたパケットに対して垂直パリティを生成し、生成したパリティをパケット285と並走する様にパリティビット288としてパケット処理回路253に付与する。
The
異常処理ブロック262は、診断回路259−1〜259−5での診断結果及び、CRAM監視/訂正部263でのCRAM252に対する監視結果に基づいて、セレクタ部261を制御する。異常(エラーが発生した)と判定した場合に、セレクタ部261に対して切り替え指示信号286を送信して、セレクタ部261の動作をシェーパブロック256からのパケット285を後段に転送する動作からパケット検査ブロック260からのパケット285を後段に転送する動作へ切り替えさせる。
また、異常処理ブロック262は、CRAM252にエラーが発生した可能性がある場合に、CRAM監視/訂正部263に対して、CRAM252のエラーチェックスキャンを行い、CRAM252にエラーが発生しているときにCRAM252のエラーを訂正するよう要求するエラーチェックスキャン及びCRAMエラー訂正リクエスト289を送信する。
The
Further, when there is a possibility that an error has occurred in the
また、異常処理ブロック262は、異常(エラー)から回復したと判断した場合に、セレクタ部261に対して切り替え指示信号286を送信して、セレクタ部261の動作をパケット検査ブロック260からのパケット285を後段に転送する動作からシェーパブロック256からのパケット285を後段に転送する動作へ切り替えさせる。
なお、異常処理ブロック262と診断回路259-1〜259-5とをまとめて状態監視制御部と呼ぶことがある。
Further, when the
The
なお、セレクタ部261の動作について、シェーパブロック256からのパケット285を後段に送信する動作を「シェーパブロック256側動作」と呼ぶことがある。また、パケット検査ブロック260の処理を行ったパケットを後段に送信する動作を「パケット検査ブロック260側動作」と呼ぶことがある。
Regarding the operation of the
インタフェース部201からパケット285を受信すると、ポリサブロック254は、通信ポリシーに基づきポリシーデータをパケット285に付与し、ポリサブロック254と接続するMPLS化ブロック255は、MPLSラベルを含むMPLSヘッダをパケット285に付与し、MPLS化ブロック255と接続するシェーパブロック256は、ネットワークで要求される帯域にシェーピングして、シェーパブロック256と接続するセレクタ部261およびシェーパブロック256と接続するパケット検査ブロック260にパケット285を転送して、シェーパブロック256及びパケット検査ブロック260と接続するセレクタ部261は、異常処理ブロック262からの切り替え指示信号286に従った切替え処理をして、クロスコネクタ部203へパケット285を転送する。
Upon receiving the
診断回路259−1〜259-5は、それぞれ、ポリサブロック254、MPLS化ブロック255、シェーパブロック256、パケット検査ブロック260、監視/制御レジスタ257と回路診断信号283−1〜283−5を送受信して異常を診断し、診断結果をそれぞれ異常処理ブロック262へ異常通知信号282−1〜282−5として通知する。なお、診断回路259は、各機能ブロックを診断できるのであれば、1つの診断回路で2つの機能ブロックを診断するなど、どのような構成であってもよい。
The diagnostic circuits 259-1 to 259-5 transmit and receive a
CRAM監視/訂正部263は、FPGA250のユーザロジック情報を保持するCRAM252のエラー監視及びエラー発生時にはエラー訂正を行うブロックである。CRAM監視/訂正機能を具備していれば、FPGAメーカが提供する回路で構成しても、ユーザロジックにより同等機能を有する回路で構成しても良い。
The CRAM monitoring /
図3は、パケット検査ブロック260と、診断回路259−4の構成例を示した図である。
診断回路259−4は例えば疑似ランダム(疑似乱数)符号(PN(Pseudo Randam)符号)等の診断パターン(診断符号)を生成し、診断パターンを含む信号である診断パターン信号353を送信する診断パターン生成部304と、診断パターンのチェックを行う診断パターンチェック部305と、パリティ生成部258で生成されパケット285と並走されてきたパリティビット288およびパケット285のパリティチェックを行うパリティチェック部306と、診断パターンチェック部305及びパリティチェック部306でのチェックの結果を論理演算し、その結果を異常処理ブロック262に通知する論理演算部307で構成される。なお、診断パターン生成部304は、診断信号生成部とも呼ぶことがある。
FIG. 3 is a diagram showing a configuration example of the
The diagnostic circuit 259-4 generates a diagnostic pattern (diagnostic code) such as a pseudo random (pseudo random number) code (PN (Pseudo Random) code) and transmits a diagnostic pattern signal 353 that is a signal including the diagnostic pattern. A
また、パケット検査ブロック206は、パケット285のデータを解析するデータ解析部300と、シェーパブロック256から受信したパケットを後段に送信するか、診断パターン生成部304からの診断パターン信号353を後段に送信するかを切り替える(選択する)セレクタ部301と、セレクタ部301から受信するパケットとパリティに対して、CRCとパリティのチェックを行い誤り検出を行うCRC/パリティチェック部302と、受信したパケットをバッファに格納するデータバッファメモリ303で構成される。
The
パケット検査ブロック260は、シェーパブロック256からパケット285を受信すると、データ解析部300が、パケット285のデータを解析し、パケット285が存在しないアイドル区間、つまり、パケットとパケットの間(境目)を判定する。
なお、パケット285が途切れたことを検知して、アイドル区間の開始を判定してよい。
アイドル区間と判定された場合には、診断パターン生成部304に対し、診断パターン信号353を送信するように指示する診断パターン送信指示信号352を送信するとともに、セレクタ部301に対して、切り替え指示信号350により、シェーパブロック256から受信したパケット285を後段に送信する動作から、パケット285のデータ以外の部分での信号正常性を診断する為の診断パターン信号353を後段に送信する動作に切替える指示を送信する。
When the
Note that the start of the idle period may be determined by detecting that the
When the idle section is determined, a diagnostic pattern transmission instruction signal 352 is transmitted to instruct the diagnostic
そして、データ解析部300は、アイドル区間後にパケット285の受信を検知すると、セレクタ部301に対して、切り替え指示信号350により、診断パターン信号353を後段に送信する動作からシェーパブロック256から受信したパケット285を後段に送信する動作に切替える指示を送信する。
つまり、データ解析部300は、パケット285のデータを解析してセレクタ部301を制御する。パケット285の間は、シェーパブロック256から受信したパケット285を後段に送信するようにセレクタ部301を制御し、アイドル区間の間は、診断パターン信号353を後段に送信するようにセレクタ部301を制御する。なお、データ解析部300は、セレクタ部制御部とも呼ぶ。
When the
That is, the
また、データ解析部300は、アイドル区間後にパケット285の受信を検知すると、診断パターン信号353の送信停止を指示する診断パターン送信停止指示信号360を送信する。なお、データ解析部300は、アイドル区間の間、診断パターン送信指示信号352を送信し続け、パケット285の受信を検知すると、診断パターン送信指示信号352の送信を停止してもよい。つまり、パケット285とアイドル区間を診断パターン生成部304に通知することができればよい。
Further, when the
また、セレクタ部301は、データ解析部300からの指示によって、後段に送信する信号の選択を切り替える。パケット285の間は、シェーパブロック256から受信したパケット285を後段に送信し、アイドル区間の間は、診断パターン信号353を後段に送信する。
なお、セレクタ部301の動作について、シェーパブロック256からのパケット285を後段に送信する動作をセレクタ部261の動作と同様に「シェーパブロック256側動作」と呼ぶことがある。また、診断パターン生成部304からの診断パターン信号353を後段に送信する動作を「診断パターン生成部304側動作」と呼ぶことがある。
In addition, the
Regarding the operation of the
CRC/パリティチェック部302は、パケット285に付与されているCRCデータ、例えばEthernetの場合ではFCS(Frame Check Sequence)と呼ばれるデータの正常性を判断するためのパリティデータによる検査及び、パリティ生成部258で付与したパリティビット288に対して正常性に関する検査を行い、パリティ演算結果で異常と判定した場合は処理下流に位置するデータバッファメモリ303に対して、パケット廃棄指示信号351により異常データと判定されたパケットの廃棄指示を行う。CRC/パリティチェック部302は、正常性に関する検査の結果、パケット285の異常またはパリティビット288の異常のうち、少なくともいずれか一方の異常を検出すると、パケット285の異常と判定する。
The CRC /
なお、CRC/パリティチェック部302でパリティチェックが完了後にデータバッファメモリ303にパケット285の格納が完了し、データバッファメモリ303は、格納完了時にパケット廃棄指示信号351が無ければ格納したパケット285を後段に転送する。パケット廃棄指示信号351により廃棄指示を受けたデータバッファメモリ303は該当パケットを廃棄する。
Note that after the CRC /
FCSによるエラーチェックは、パケットデータ全体に対してCRC演算によるチェックを行うものである一方、パリティによるエラーチェックはパケットデータのパラレル処理毎に演算されるもので、双方のチェックを行うことで、エラーが発生しているにもかかわらず正常と誤判定する確率を低下させることが出来る。 The error check by FCS is to check the entire packet data by CRC calculation, while the error check by parity is calculated for each parallel processing of packet data. The probability of misjudgment as normal despite the occurrence of this can be reduced.
診断パターン生成部304は、データ解析部300から診断パターン送信指示信号352を受信すると、診断パターン信号353をセレクタ部301へ送信する。そして、データ解析部300から診断パターン送信停止指示信号360を受信すると、診断パターン信号353の送信を停止する。
なお、データ解析部300が、アイドル区間の間、診断パターン送信指示信号352を送信し続ける場合、診断パターン生成部304は、データ解析部300からの診断パターン送信指示信号352の送信の停止を検知すると、診断パターン信号353の送信を停止してもよい。
When receiving the diagnostic pattern transmission instruction signal 352 from the
When the
診断パターンチェック部305は、CRC/パリティチェック部302から転送された診断パターン信号353に対して疑似ランダム符号の規則性のチェック(確認)を行い、その結果である規則性のチェック結果356を論理演算部307へ送信する。これにより、セレクタ部301からCRC/パリティチェック部302の間で発生した異常を検出することができる。なお、診断パターンチェック部305は、診断信号確認部とも呼ぶ。
The diagnostic
パリティチェック部306は、データバッファメモリ303に格納されているパケットのデータと格納時に付与されるパリティデータとを演算し、その結果であるチェック結果357を論理演算部307へ送信する。これにより、データバッファメモリ303で発生した異常を検出することができる。
The
論理演算部307は、診断パターンチェック部305のチェック結果356とパリティチェック部306のチェック結果357とを論理演算し、論理演算した結果を異常通知信号282−4として異常処理ブロック262に通知する。なお、論理演算は、例えば、パリティ演算(EXOR)などにより行う。
なお、診断パターン送信指示信号352と診断パターン送信停止指示信号360、診断パターン信号353、354、355をまとめて、回路診断信号283−4と呼ぶ。
The
The diagnostic pattern transmission instruction signal 352, the diagnostic pattern transmission
以上のように、パケットに付与されたCRCデータによるチェックの場合、複数ビットにエラーが発生した場合には、異常データを正常であると誤判定をする可能性があるが、CRCデータとは独立に、パリティ生成部258でパリティを付与し、CRC/パリティチェック部302により、CRCデータによるチェックとパリティによるチェックとの2重に検査を行うことで、誤検出確率を0に近づけることが可能となる。
As described above, in the case of checking using CRC data attached to a packet, if an error occurs in a plurality of bits, there is a possibility that abnormal data is erroneously determined to be normal, but it is independent of CRC data. In addition, parity is added by the
また、FPGA250の内部回路が異常となるパターンとしては、内部回路を構成する配線の異常又は、メモリ(記憶部)の異常が考えられる。配線異常に関しては、PN符号などの診断パターンを挿入することによる診断手法により検出が可能であり、データバッファメモリ303などのメモリで発生した異常に関しては、パリティ検査により検出が可能である。
異常と判断されたエラーパケットを、クロスコネクト部203などの後段の処理部へ転送することなく、データバッファメモリ303にて確実に廃棄させることが出来る。
Further, as a pattern in which the internal circuit of the
An error packet determined to be abnormal can be reliably discarded in the
診断回路259−4以外の他の診断回路259−1〜259−3、259−5も、診断回路259−4と同様な構成、同様な動作を行う。なお、診断回路259−1〜259−3、259−5は、パリティチェック部306および論理演算部307を有していなくてもよい。
また、パケットの処理に関わる、ポリサブロック254と、MPLS化ブロック255、シェーパブロック256、監視/制御レジスタ257は、パケット検査ブロック260と同様に、データ解析部300とセレクタ部301を備える。
また、CRAM監視/訂正部263は、CRAM252に対して監視/訂正信号287によりエラースキャンを実施する。また、CRAM監視/訂正部263は、異常処理ブロック262に対してCRAMエラー通知信号290を送信して、CRAMエラーの有無を通知し、CRAM訂正中信号291を送信してCRAMエラー訂正の終了を通知する。
Other diagnostic circuits 259-1 to 259-3 and 259-5 other than the diagnostic circuit 259-4 perform the same configuration and the same operation as the diagnostic circuit 259-4. The diagnostic circuits 259-1 to 259-3 and 259-5 do not have to include the
Further, the
In addition, the CRAM monitoring /
図4は、CRC/パリティチェック部302が受信するデータを示した図である。パリティ生成部258でパリティがパケット285と並走するように付与され、診断パターン生成部304で生成された診断パターンがパケット285のアイドル区間に挿入される。
本図では、パケット285がFPGA250の内部で8ビットのパラレルデータとして扱われている場合の例を示している。また、パリティビット288は、パケット285の8ビットパラレルデータの各ビットをXOR(Exclusive OR:排他的論理和)による論理演算をすることで”1”の数が偶数個又は奇数個かどうかにより決まる、一般的に用いられる偶数パリティビット或いは奇数パリティビットを付与する例で説明する。誤り検出について、その他の誤り検出アルゴリズム及び誤り訂正アルゴリズムを用いても良い。
FIG. 4 is a diagram illustrating data received by the CRC /
In the drawing, an example in which the
パケット285−1は、FPGA250に入力される前の機能ブロックで8ビットのパラレルデータに変換されたものが、セレクタ部301から転送される。セレクタ部301は、パケット285−1が途切れ、データ解析部300から切り替え指示信号350を受信すると、診断パターン353−1を選択して後段に送信する。
また、セレクタ部301は、データ解析部300からパケット285−2の受信を通知する切り替え指示信号350を受信すると、パケット285−2を選択して後段に送信する。
以上の動作を繰り返すことで、パケット285とパケット285の間に診断パターン371が挿入されることになる。
パリティビット288は、パケット285−1の先頭の8ビットのパラレルデータ(図4の点線枠部分1000)をパリティ演算したパリティビット1ビットを示したものである。またパリティ372−1は、パケット285−1の各8ビットのパラレルデータをパリティ演算したパリティビット列である。
The packet 285-1 is transferred from the
Further, when the
By repeating the above operation, the diagnostic pattern 371 is inserted between the
A
また、パケットが存在しないアイドル区間に診断パターン371を挿入し、挿入された診断パターン371をチェックすることで正常性を確認する診断対象の内部回路(機能ブロック)の正常性を確認する診断方法に関しては、診断パターンとして、PN符号を用いる手法について示しているが、その他の診断手法を用いてもよい。 Further, the present invention relates to a diagnostic method for confirming the normality of an internal circuit (functional block) to be diagnosed by inserting a diagnostic pattern 371 in an idle section in which no packet exists and checking the inserted diagnostic pattern 371 to check the normality. Shows a method using a PN code as a diagnostic pattern, but other diagnostic methods may be used.
次に、診断回路259-1〜259-5又はCRAM監視/訂正部263で異常を検出したことを起点に、セレクタ部261の選択をパケット検査ブロック260側動作に切替え、エラーが発生したパケットのみをパケット検査ブロック260で確実に廃棄し、発生したエラーから回復する動作について説明する。
これらの動作としては、1)パケットの処理に関わる、ポリサブロック254と、MPLS化ブロック255、シェーパブロック256、監視/制御レジスタ257に対する診断の結果、エラー発生を起点とした動作、2)パケット検査ブロック260に対する診断の結果、エラー発生を起点とした動作、3)CRAM監視/訂正部263によるCRAM252に対する監視の結果、CRAM252に発生するエラーの検出を起点とした動作がある。以下それぞれの動作について説明する。
Next, starting from the detection of an abnormality in the diagnostic circuits 259-1 to 259-5 or the CRAM monitoring /
These operations are as follows: 1) an operation starting from the occurrence of an error as a result of diagnosis of the
1)パケットの処理に関わる、ポリサブロック254と、MPLS化ブロック255、シェーパブロック256、監視制御レジスタ257に対する診断の結果、エラー発生を起点とした動作について説明する。
図5は、パケットの処理に関わる機能ブロックでのエラー発生を起点としたエラーパケットを廃棄し、発生したエラーから回復する処理の動作フローチャート図である。
1) A description will be given of an operation starting from the occurrence of an error as a result of diagnosis on the
FIG. 5 is an operation flowchart of processing for discarding an error packet starting from the occurrence of an error in a functional block related to packet processing and recovering from the error that has occurred.
異常処理ブロック262は、診断回路259−1〜259−3、259−5それぞれによるポリサブロック254と、MPLS化ブロック255、シェーパブロック256、監視制御レジスタ257に対する診断の結果、いずれかの機能ブロックにてエラーが発生したことを通知する異常通知信号282-1〜282-3、282-5による診断異常通知を受信するかどうかを監視して、いずれかの機能ブロックにエラーが発生したか否かを判定する(400)。例えば、異常通知信号282−1を受信することで、ポリサブロック254でエラーが発生したと判定することができる。
The
異常通知信号282-1〜282-3、282-5による診断異常通知を受信したと判定した場合は(400のYes)、異常処理ブロック262は、切り替え指示信号286を送信してセレクタ部261の動作をシェーパブロック256側動作からパケット検査ブロック260側動作に切り替える(401)。
これにより、図3及びその説明にて説明したように、ポリサブロック254と、MPLS化ブロック255、シェーパブロック256、監視制御レジスタ257のいずれかの異常により生成されたエラーパケットを、パケット検査ブロック260においてパケット285及びパリティビット288の正常性を検査することで、確実にエラー(異常)判定を行い、エラー(異常)と判定された場合は、エラーパケットを廃棄することが出来る。
また、異常通知信号282-1〜282-3、282-5による診断異常通知を受信しないと判定した場合は(400のNo)、ステップ430(図6)に進む。
When it is determined that the diagnosis abnormality notifications by the abnormality notification signals 282-1 to 282-3 and 282-5 have been received (Yes in 400), the
As a result, as described in FIG. 3 and the description thereof, an error packet generated due to an abnormality in one of the
When it is determined that the diagnosis abnormality notifications by the abnormality notification signals 282-1 to 282-3 and 282-5 are not received (No in 400), the process proceeds to step 430 (FIG. 6).
次に、ポリサブロック254と、MPLS化ブロック255、シェーパブロック256、監視制御レジスタ257のいずれかの異常は、CRAM252に発生したエラーに起因している可能性があるため、異常処理ブロック262は、CRAM監視/訂正部263に対して、異常が発生した機能ブロックに対応するCRAM252内の領域に対するエラーチェックスキャン及びCRAMエラー訂正リクエスト289を送信して、CRAM252に対するエラーチェック及びエラー訂正を実施させる(402)。
Next, since any abnormality of the
エラースキャン及びCRAMエラー訂正リクエスト289を受信したCRAM監視/訂正部263は、CRAM252に対して監視/訂正信号287によりエラースキャンを実施する(403)。CRAM監視/訂正部263は、CRAM252に格納されているデータとそのデータから演算されたCRC等のエラーチェック符号を用いて実施したエラースキャンの結果から、CRAM252にエラーが発生しているか否かを判定する(404)。CRAM監視/訂正部263が、CRAM252にエラーが発生していない(CRMAエラー無し)と判定した場合(404のNo)は、CRAM監視/訂正部263が、異常処理ブロック262に対してCRAMエラー通知信号290を送信して、CRAMエラー無しであることを通知する(405)。この通知を受けた異常処理ブロック262は、ポリサブロック254と、MPLS化ブロック255、シェーパブロック256、監視制御レジスタ257に診断エラーが発生し且つ、CRAM252にエラーが発生していないことから、ハードウエアの故障であること判定し処理を終了する(412)。
The CRAM monitoring / correcting
次に、CRAM監視/訂正部263が、CRAM252にエラーが発生している(CRAMエラー有り)と判定した場合(404のYes)、CRAM監視/訂正部263が、異常処理ブロック262に対し、CRAMエラー通知信号290を送信してエラー発生を通知するとともに、CRAMエラー訂正中信号291を送信して、CRAM252のエラー訂正処理中(CRAMエラー訂正処理中)であることを通知し、CRAM252のエラー訂正処理(CRAMエラー訂正処理)を実施する(406)。CRAM252のエラー訂正処理(CRAMエラー訂正処理)は、CRAM監視/訂正部263が不揮発性メモリ299に保持されたユーザロジック情報を読み出して、読み出したユーザロジック情報にてCRAM252のエラーを訂正する。
Next, when the CRAM monitoring / correcting
CRAM監視/訂正部263は、CRAMエラー訂正処理によって、CRAM252のエラー訂正(CRAMエラー訂正)が正常に完了したか否かを判定する(407)。このCRAMエラー訂正処理において正常にCRAMエラー訂正が完了しなかった場合は(407のNo)、CRAM252にハードウエア故障が発生していると考えられることから、CRAM監視/訂正部263は、異常処理ブロック262に対してCRAMエラー通知信号290を送信してCRAMエラー有りを通知し、CRAM訂正中信号291を送信してCRAMエラー訂正の終了を通知する(409)。この通知を受けた異常処理ブロック262は、CRAMエラー訂正が終了し且つ、CRAMエラー有りであることから、ハードウエアの故障と判定し処理を終了する(412)。
The CRAM monitoring /
CRAMエラー訂正処理において正常にCRAMエラー訂正が完了した場合は(407のYes)、CRAM監視/訂正部263は、異常処理ブロック262に対してCRAMエラー通知信号290を送信してCRAMエラー無しを通知するとともに、CRAM訂正中信号291を送信してCRAMエラー訂正の完了を通知する(408)。
When the CRAM error correction is normally completed in the CRAM error correction process (Yes in 407), the CRAM monitoring /
この通知を受けた異常処理ブロック262は、再度、異常通知信号282-1〜282-3、282-5による診断異常通知を受信したかどうか確認する(410)。診断異常通知を受信した場合は(410のYes)、CRAMエラー訂正が正常に完了したにもかかわらず診断異常通知があることから、異常処理ブロック262は、ハードウエアの故障と判定し処理を終了する(412)。
また、異常通知信号282-1〜282-3、282-5による診断異常通知を受信しない場合は(410のNo)、全てのエラーが回復したと判断出来ることから、異常処理ブロック262は、切り替え指示信号286を送信してセレクタ部261の動作をシェーパブロック265側動作に切替えを実施し処理を終了する(411)。
なお、ハードウエアの故障と判定した(412)後に、パケット伝送装置102を管理している運用者に対して、ハードウエアの故障である旨を通知してもよい。
Receiving this notification, the
Further, when diagnosis abnormality notifications by abnormality notification signals 282-1 to 282-3 and 282-5 are not received (No in 410), it can be determined that all errors have been recovered, so the
After determining that the hardware is faulty (412), the operator managing the packet transmission apparatus 102 may be notified that the hardware is faulty.
次に、2)パケット検査ブロック260に対する診断の結果、エラー発生を起点とした動作について説明する。
図6は、パケット検査ブロック260でのエラー発生を起点とし、発生したエラーから回復する処理の動作フローチャート図である。本処理は、図5のステップ400でNoと判定された場合に始まる処理フローである。
Next, 2) an operation starting from the occurrence of an error as a result of diagnosis on the
FIG. 6 is an operation flowchart of processing for recovering from an error that has occurred, starting from the occurrence of an error in the
異常処理ブロック262は、診断回路259−4によるパケット検査ブロック260に対する診断の結果、パケット検査ブロック260にてエラーが発生したことを通知する異常通知信号282-4による異常通知を受信するかどうかを監視して、パケット検査ブロック260にエラーが発生したか否かを判定する(430)。異常通知信号282-4による診断異常通知を受信したと判定した場合は(430のYes)、異常処理ブロック262は、CRAM監視/訂正部263に対して、異常が発生したパケット検査ブロック260に対応したCRAM252内の領域に対するエラースキャン及びCRAMエラー訂正リクエスト289を送信してCRAM252に対するエラーチェック及びエラー訂正を実施させる(431)。
The
本処理ではパケット検査ブロック260に異常が発生していることから、セレクタ部261によるパケット検査ブロック260側動作への切替は行わない。また、異常通知信号282-4による診断異常通知を受信しないと判定した場合は(430のNo)、ステップ450(図7)に進む。
In this process, since an abnormality has occurred in the
エラースキャン及びCRAMエラー訂正リクエスト289を受信したCRAM監視/訂正部263は、CRAM252に対して監視/訂正信号287によりエラースキャンを実施する(432)。CRAM監視/訂正部263は、CRAMに格納されているデータとそのデータから演算されたCRC等のエラーチェック符号を用いて実施したエラースキャンの結果から、CRAM252にエラーが発生しているか否かを判定する(433)。CRAM監視/訂正部263が、CRAMエラー無しと判定した場合(433のNo)は、CRAM監視/訂正部263が異常処理ブロック262に対してCRAMエラー通知信号290を送信して、CRAMエラー無しであることを通知する(435)。この通知を受けた異常処理ブロック262は、パケット検査ブロック260に診断エラーが発生し且つ、CRAM252にエラーが発生していないことから、ハードウエアの故障であること判定し処理を終了する(440)。
The CRAM monitoring / correcting
次に、CRAM監視/訂正部263が、CRAMエラー有りと判定した場合(433のYes)、CRAM監視/訂正部263が、異常処理ブロック262に対し、CRAMエラー通知信号290を送信してエラー発生を通知するとともに、CRAMエラー訂正中信号291を送信してCRAMエラー訂正処理中であることを通知し、CRAMエラー訂正処理を実施する(434)。CRAM監視/訂正部263は、CRAMエラー訂正処理によって、CRAM252のエラー訂正(CRAMエラー訂正)が正常に完了したか否かを判定する(436)。
Next, when the CRAM monitoring / correcting
このCRAMエラー訂正処理において正常にCRAMエラー訂正が完了しなかった場合は(436のNo)、CRAM252にハードウエア故障が発生していると考えられることから、CRAM監視/訂正部263は、異常処理ブロック262に対してCRAMエラー通知信号290を送信してCRAMエラー有りを通知し、CRAM訂正中信号291を送信してCRAM訂正の終了を通知する(438)。この通知を受けた異常処理ブロック262は、CRAMエラー訂正が終了し且つ、CRAMエラー有りであることから、ハードウエアの故障と判定し処理を終了する(440)。
If the CRAM error correction is not completed normally in this CRAM error correction process (No in 436), it is considered that a hardware failure has occurred in the
CRAMエラー訂正処理において正常にCRAMエラー訂正が完了した場合は(436のYes)、CRAM監視/訂正部263は、異常処理ブロック262に対してCRAMエラー通知信号290を送信してCRAMエラー無しを通知するとともに、CRAM訂正中信号291を送信してCRAMエラー訂正の完了を通知する(437)。
When the CRAM error correction is normally completed in the CRAM error correction process (Yes in 436), the CRAM monitoring /
この通知を受けた異常処理ブロック262は、再度、異常通知信号282-4による診断異常通知を受信したかどうか確認する(439)。診断異常通知を受信した場合は(439のYes)、CRAMエラー訂正が正常に完了したにもかかわらず診断異常通知があることから、異常処理ブロック262は、ハードウエアの故障と判定し処理を終了する(412)。また、異常通知信号282-4による診断異常通知を受信しない場合は(439のNo)、全てのエラーが回復したと判断されるため処理を終了する。
なお、ハードウエアの故障と判定した(440)後に、パケット伝送装置102を管理している運用者に対して、ハードウエアの故障である旨を通知してもよい。
また、ステップ430は、ステップ400にて「No」と判定した後に実行するのではなく、図5の処理とは独立して実行してもよい。
Receiving this notification, the
Note that after determining that there is a hardware failure (440), the operator managing the packet transmission apparatus 102 may be notified of the hardware failure.
Further,
次に3)CRAM監視/訂正部263によるCRAM252に対する監視の結果、CRAM252に発生するエラーの検出を起点とした動作について説明する。
図7は、CRAM252でのエラー発生を起点とし、発生したエラーから回復する処理の動作フローチャート図である。本処理は、図6のステップ430でNoと判定された場合、つまり全ての診断回路259−1〜259−5で正常と判定された場合に始まる処理フローである。
Next, the operation starting from detection of an error occurring in the
FIG. 7 is an operation flowchart of processing for recovering from an error that has occurred starting from the occurrence of an error in the
異常処理ブロック262は、CRAM252にエラーが発生しているかどうかを、CRAMエラー通知信号290により監視する。つまり、異常処理ブロック262は、CRAM監視/訂正部263に対して、CRAM252内の全領域に対するエラースキャン及びCRAMエラー訂正リクエスト289を送信してCRAM252に対するエラーチェック及びエラー訂正を実施させる(460)。エラースキャン及びCRAMエラー訂正リクエスト289を受信したCRAM監視/訂正部263は、CRAM252に対して監視/訂正信号287によりエラースキャンを実施する(461)。CRAM監視/訂正部263は、実施したエラースキャンの結果から、CRAM252にエラーが発生しているか否かを判定する(450)。CRAM監視/訂正部263が、CRAMエラー無しと判定した場合は(450のNo)、CRAM監視/訂正部263が異常処理ブロック262に対してCRAMエラー通知信号290を送信して、CRAMエラー無しであることを通知する(462)。この通知を受けた異常処理ブロック262は、FPGA250の回路が全て正常と判断し処理を終了する。
The
また、CRAM監視/訂正部263が、CRAMエラー有りと判定した場合は(450のYes)、CRAM監視/訂正部263が異常処理ブロック262に対してCRAMエラー通知信号290を送信して、CRAMエラー有りであることを通知し、この通知を受けた異常処理ブロック262は、切り替え指示信号286を送信してセレクタ部261の動作をシェーパブロック256側動作からパケット検査ブロック260側動作に切り替える。(451)これにより、ポリサブロック254、MPLS化ブロック255、シェーパブロック256又は監視制御レジスタ257の異常により生成されたエラーパケットを、パケット検査ブロック260でのデータ解析、CRC/パリティチェックが完了するまで、データバッファメモリ303でパケットを保持することによりエラー判定及びエラーと判定された場合は、確実に廃棄することが出来る。
When the CRAM monitoring /
次にCRAM監視/訂正部263は、異常処理ブロック262に対してCRAMエラー訂正中信号291を送信してCRAMエラー訂正処理中であることを通知するとともに、CRAMエラー訂正処理を実施する。(452)このCRAMエラー訂正処理において正常にCRAMエラー訂正が完了しなかった場合は(453のNo)、CRAM252にハードウエア故障があると考えられることから、CRAM監視/訂正部263は、異常処理ブロック262に対してCRAMエラー通知信号290を送信してCRAMエラー有りを通知し、且つ、CRAM訂正中信号291を送信してCRAM訂正の終了を通知する。(455)この通知を受けた異常処理ブロック262は、CRAMエラー訂正が終了し、且つCRAMエラー有りであることからハードウエアの故障と判定し処理を終了する(458)。
Next, the CRAM monitoring /
CRAMエラー訂正処理において正常にCRAMエラー訂正が完了した場合は(453のYes)、CRAM監視/訂正部263は、異常処理ブロック262に対してCRAMエラー通知信号290を送信してCRAMエラー無しを通知するとともに、CRAM訂正中信号291を送信してCRAMエラー訂正の完了を通知する(454)。ここで、通知を受けた異常処理ブロック262は、再度、異常通知信号282-1〜282-5による診断異常通知を受信したかどうかを確認する(456)。診断異常通知を受信した場合は(456のYes)、CRAMエラー訂正が正常に完了したにもかかわらず診断異常通知があることから、異常処理ブロック262は、ハードウエアの故障と判定し処理を終了する(458)。また、異常通知信号282-1〜282-5による診断異常通知を受信しない場合は(456のNo)、全てのエラーが回復したと判断出来ることから、異常処理ブロック262は、切り替え指示信号286を送信してセレクタ部261の動作をシェーパブロック265側動作に切替えを実施し処理を終了する(457)。
When the CRAM error correction is normally completed in the CRAM error correction process (Yes in 453), the CRAM monitoring /
なお、ハードウエアの故障と判定した(458)後に、パケット伝送装置102を管理している運用者に対して、ハードウエアの故障である旨を通知してもよい。
また、ステップ450は、ステップ430にて「No」と判定した後に実行するのではなく、図5および図6の処理とは独立して実行してもよい。
Note that, after determining that the hardware is faulty (458), the operator managing the packet transmission apparatus 102 may be notified that the hardware is faulty.
Further,
以上のように、ネットワークの汎用性及び互換性を保ったまま、ネットワーク上での誤判定率を下げる通信装置を提供することができる。また、診断回路において異常と判定された場合、又はCRAMエラー発生及び訂正中に、パケット検査回路を動作させるように切替えることで、異常パケットを確実に廃棄させることが可能となる。
また、FPGA内部回路に閉じた回路と出来る為、FPGA内部パケットデータの処理フォーマットは特に汎用性及び互換性を持たせる必要がないことから、パケットに付与されているCRCの他、パリティビットや前記したLDPC符号を付加して、パケットのエラー検出精度を上げることも可能となる。
As described above, it is possible to provide a communication device that reduces the misjudgment rate on the network while maintaining the versatility and compatibility of the network. In addition, when it is determined that the diagnostic circuit is abnormal, or during the occurrence and correction of the CRAM error, the abnormal packet can be reliably discarded by switching the packet inspection circuit to operate.
In addition, since the FPGA internal circuit can be a closed circuit, the processing format of the FPGA internal packet data does not need to have general versatility and compatibility. Therefore, in addition to the CRC attached to the packet, It is also possible to increase the error detection accuracy of the packet by adding the LDPC code.
さらに、パケット検査回路ではパケットの廃棄をさせるため、メモリバッファにパケットを一旦格納する必要があり、パケット伝送装置の性能の一つの指標である低遅延性能に影響を及ぼし遅延を増大させることが考えられるが、本実施例によれば診断回路において異常と判定された場合、又はCRAMエラー発生及び訂正中の様に異常状態時に、セレクタ部にてパケット検査回路のパケットを選択するように動作させることから、正常状態ではメモリバッファにパケットを格納することによる遅延が増加しないという効果もある。
また、ソフトエラーによるFPGAのCRAMエラー又は回路故障により発生する異常データを持つパケットを確実に検出し廃棄することで、ネットワークへの悪影響を防止することができる。
Furthermore, in order to cause the packet inspection circuit to discard the packet, it is necessary to temporarily store the packet in the memory buffer, which may affect the low delay performance, which is one index of the performance of the packet transmission device, and increase the delay. However, according to the present embodiment, when it is determined that the diagnostic circuit is abnormal, or when an abnormal state occurs such as when a CRAM error is generated and corrected, the selector unit operates to select a packet of the packet inspection circuit. Therefore, there is an effect that the delay caused by storing the packet in the memory buffer does not increase in the normal state.
Further, it is possible to prevent adverse effects on the network by reliably detecting and discarding packets having abnormal data generated by FPGA CRAM errors or circuit failures due to soft errors.
本実施例においては、パケット処理回路及びパケット検査ブロックに対して診断回路による回路の正常性診断及び、CRAM監視/訂正部によるCRAMの正常性診断結果に基づき異常時の処理について示した。但し、本構成によると、異常処理を実施する異常処理ブロック、CRAM監視訂正部及び各診断回路で異常が発生した場合の判定が出来ない。但しこれら異常処理及び診断回路に対してさらに診断回路を設けることは対処にはならない。以下に異常処理回路に異常が発生した場合の対処として考えられる一実施例を示す。 In the present embodiment, the normal processing of the circuit by the diagnosis circuit for the packet processing circuit and the packet inspection block and the processing at the time of abnormality based on the normal diagnosis result of the CRAM by the CRAM monitoring / correction unit are shown. However, according to this configuration, it is not possible to determine when an abnormality has occurred in the abnormality processing block that performs abnormality processing, the CRAM monitoring and correction unit, and each diagnostic circuit. However, providing a diagnostic circuit for these abnormality processing and diagnostic circuits is not a countermeasure. An embodiment which can be considered as a countermeasure when an abnormality occurs in the abnormality processing circuit will be described below.
本実施例に対し、以下の異常処理ブロックやCRAM監視/訂正部の様な異常処理回路は、2重化等の冗長構成としてお互いの回路同士で正常性の診断を行う診断回路を設け、片方が異常の場合は正常回路側で動作させる方法を適用すればさらに信頼性の高いシステムが構築可能である。 In contrast to the present embodiment, the following abnormality processing circuit such as the abnormality processing block and the CRAM monitoring / correction unit is provided with a diagnostic circuit for diagnosing normality between each other as a redundant configuration such as duplication. If the method is operated on the normal circuit side in the case of an abnormality, a more reliable system can be constructed.
なお、本発明は上記した実施例に限定されるものではなく、様々な変形例が含まれる。例えば、上記した実施例は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、ある実施例の構成の一部を他の実施例の構成に置き換えることが可能であり、また、ある実施例の構成に他の実施例の構成を加えることも可能である。 In addition, this invention is not limited to an above-described Example, Various modifications are included. For example, the above-described embodiments have been described in detail for easy understanding of the present invention, and are not necessarily limited to those having all the configurations described. Further, a part of the configuration of one embodiment can be replaced with the configuration of another embodiment, and the configuration of another embodiment can be added to the configuration of one embodiment.
また、各実施例の構成の一部について、他の構成の追加・削除・置換をすることが可能である。また、上記の各構成、機能、処理部、処理手段等は、それらの一部又は全部を、例えばFPGAのような集積回路で設計する等によりハードウエアで実現してもよい。また、上記の各構成、機能等は、プロセッサがそれぞれの機能を実現するプログラムを解釈し、実行することによりソフトウエアで実現してもよい。各機能を実現するプログラム、テーブル、ファイル等の情報は、メモリや、ハードディスク、SSD(SolidStateDrive)等の記録装置、または、IC(Integrated Circuit)カード、SDカード、DVD等の記録媒体に置くことができる。 Further, it is possible to add, delete, and replace other configurations for a part of the configuration of each embodiment. Each of the above-described configurations, functions, processing units, processing means, and the like may be realized by hardware by designing a part or all of them with, for example, an integrated circuit such as an FPGA. Further, each of the above-described configurations, functions, and the like may be realized by software by interpreting and executing a program that realizes each function by the processor. Information such as programs, tables, and files for realizing each function may be placed in a recording device such as a memory, a hard disk, an SSD (Solid State Drive), or a recording medium such as an IC (Integrated Circuit) card, an SD card, or a DVD. it can.
また、制御線や情報線は説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。実際には殆ど全ての構成が相互に接続されていると考えてもよい。 Further, the control lines and information lines indicate what is considered necessary for the explanation, and not all the control lines and information lines on the product are necessarily shown. Actually, it may be considered that almost all the components are connected to each other.
102 パケット伝送装置
202 パケット処理部
250 FPGAで構成されたパケット処理部
251 ユーザロジック部
252 CRAM
253 パケット処理回路
254 ポリサブロック
255 MPLS化ブロック
256 シェーパブロック
257 監視/制御レジスタ
258 パリティ生成部
259-1〜259-5 診断回路
260 パケット検査ブロック
261 セレクタ部
262 異常処理ブロック
263 CRAM監視/訂正部
300 データ解析部
301 セレクタ部
302 CRC/パリティチェック部
303 データバッファメモリ
304 診断パターン生成部
305 診断パターンチェック部
306 パリティチェック部
307 論理演算回路
102
253
Claims (5)
前記データ処理部と接続され、前記入力されたデータに基づいて誤り検出に関する情報を生成し、生成した前記誤り検出に関する情報を前記データ処理部へ送信する誤り検出情報生成部と、
前記データ処理部と接続され、前記データ処理部から前記所定の処理が行われたデータおよび前記誤り検出に関する情報を受信し、受信した前記所定の処理が行われたデータおよび前記誤り検出に関する情報に対して正常性に関する検査を行い、検査結果に応じて検査した前記所定の処理が行われたデータの廃棄を制御するデータ検査部と、
前記データ処理部および前記データ検査部と接続され、前記データ処理部から受信するデータと前記データ検査部から受信するデータとのいずれかのデータを選択して転送する第1の選択部と、
前記データ処理部の状態を監視し、前記第1の選択部を制御する状態監視制御部とを有することを特徴とする通信装置。 A data processing unit that performs predetermined processing on data input from the outside;
An error detection information generating unit connected to the data processing unit, generating information on error detection based on the input data, and transmitting the generated information on error detection to the data processing unit;
The data processing unit is connected to the data processing unit to receive the data on which the predetermined processing has been performed and the information on the error detection, and to receive the data on which the predetermined processing has been performed and the information on the error detection A data inspection unit that controls the discarding of the data on which the predetermined processing that has been performed in accordance with the inspection result is performed according to the inspection result.
A first selection unit that is connected to the data processing unit and the data inspection unit, and that selects and transfers either data received from the data processing unit or data received from the data inspection unit;
A communication apparatus comprising: a state monitoring control unit that monitors a state of the data processing unit and controls the first selection unit.
前記状態監視制御部は、
前記データ処理部に異常が検出された場合、前記データ検査部から受信するデータを選択して転送するよう前記第1の選択部を制御し、
前記データ検査部は、
受信した前記所定の処理が行われたデータまたは前記誤り検出に関する情報のうち、少なくともいずれか一方に異常を検出した場合、検査した前記所定の処理が行われたデータを廃棄することを特徴とする通信装置。 The communication device according to claim 1,
The state monitoring control unit
When an abnormality is detected in the data processing unit, the first selection unit is controlled to select and transfer data received from the data inspection unit,
The data inspection unit
When an abnormality is detected in at least one of the received data that has been subjected to the predetermined processing and the information related to error detection, the data that has been subjected to the predetermined processing that has been inspected is discarded. Communication device.
前記状態監視制御部は、
前記データ検査部と接続され、前記データ検査部の状態を監視する監視部を備え、
前記監視部は、
前記データ検査部の状態を診断する診断信号を生成し、前記データ検査部へ送信する診断信号生成部と、
前記診断信号生成部が生成し前記データ検査部へ送信した前記診断信号を前記データ検査部から受信し、受信した前記診断信号の確認を行うことによって前記データ検査部の状態を監視する診断信号確認部とを有し、
前記データ検査部は、
前記データ処理部および前記監視部と接続され、受信した前記所定の処理が行われたデータおよび前記誤り検出に関する情報と前記診断信号生成部から受信する前記診断信号とのいずれかを選択して転送する第2の選択部と、
前記第2の選択部と接続され、前記所定の処理が行われたデータおよび前記誤り検出に関する情報に対して誤り検出によって前記正常性に関する検査を行う誤り検出部とを備えることを特徴とする通信装置。 The communication device according to claim 2,
The state monitoring control unit
A monitoring unit connected to the data inspection unit and monitoring a state of the data inspection unit;
The monitoring unit
Generating a diagnostic signal for diagnosing the state of the data inspection unit, and transmitting the diagnostic signal to the data inspection unit;
Diagnostic signal confirmation for monitoring the status of the data inspection unit by receiving the diagnostic signal generated by the diagnostic signal generation unit and transmitted to the data inspection unit from the data inspection unit and confirming the received diagnostic signal And
The data inspection unit
Connected to the data processing unit and the monitoring unit, and selects and transfers either the received data that has undergone the predetermined processing, the information on the error detection, or the diagnostic signal received from the diagnostic signal generation unit A second selection unit to
An error detection unit connected to the second selection unit and configured to check the normality by error detection with respect to the data on which the predetermined processing has been performed and the information related to the error detection; apparatus.
プログラミング可能な論理回路を有するプログラマブルゲートアレイと、
前記論理回路を定義する情報である機能情報を保持する機能情報保持部とを有し、
前記プログラマブルゲートアレイは、
前記機能情報保持部が保持する前記機能情報を読み出して、一時的に保持する機能情報一時保持部と、
前記機能情報一時保持部が一時的に保持する前記機能情報によって、前記データ処理部と前記誤り検出情報生成部と前記データ検査部と前記第1の選択部と前記状態監視制御部と前記機能情報一時保持部の監視を行う機能情報一時保持部監視部とを構成する機能情報部とを備え、
前記状態監視制御部は、
前記データ処理部に異常が検出された場合、前記データ検査部から受信するデータを選択して転送するよう前記第1の選択部を制御し、前記データ処理部に異常が検出された旨を前記機能情報一時保持部監視部に通知し、
前記機能情報一時保持部監視部は、
前記情報監視制御部から前記通知を受信すると、前記機能情報一時保持部の状態を検査して前記機能情報一時保持部の状態を監視することを特徴とする通信装置。 The communication device according to claim 3,
A programmable gate array having a programmable logic circuit;
A function information holding unit that holds function information that is information defining the logic circuit;
The programmable gate array is
A function information temporary holding unit that reads and temporarily holds the function information held by the function information holding unit;
The data processing unit, the error detection information generation unit, the data inspection unit, the first selection unit, the state monitoring control unit, and the function information according to the function information temporarily held by the function information temporary holding unit. A function information unit that constitutes a function information temporary storage unit monitoring unit that monitors the temporary storage unit;
The state monitoring control unit
When an abnormality is detected in the data processing unit, the first selection unit is controlled to select and transfer data received from the data inspection unit, and the fact that the abnormality is detected in the data processing unit Notify the function information temporary storage unit monitoring unit,
The function information temporary storage unit monitoring unit
When the notification is received from the information monitoring control unit, the state of the function information temporary holding unit is inspected and the state of the function information temporary holding unit is monitored.
前記機能情報一時保持部監視部は、
前記機能情報一時保持部の状態を検査した結果、前記機能情報一時保持部に異常が発生している場合は、前記機能情報保持部が保持する前記機能情報を用いて前記機能情報一時保持部の異常の訂正を実行することを特徴とする通信装置。 The communication device according to claim 4,
The function information temporary storage unit monitoring unit
As a result of examining the state of the function information temporary holding unit, if an abnormality has occurred in the function information temporary holding unit, the function information temporarily holding unit uses the function information held by the function information holding unit. A communication apparatus that performs correction of abnormality.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014177620A JP2016052074A (en) | 2014-09-02 | 2014-09-02 | Communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014177620A JP2016052074A (en) | 2014-09-02 | 2014-09-02 | Communication device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2016052074A true JP2016052074A (en) | 2016-04-11 |
Family
ID=55659276
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2014177620A Pending JP2016052074A (en) | 2014-09-02 | 2014-09-02 | Communication device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2016052074A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114553369A (en) * | 2022-01-10 | 2022-05-27 | 合肥埃科光电科技股份有限公司 | System and method for detecting performance of digital signal cable based on FPGA |
WO2022176006A1 (en) * | 2021-02-16 | 2022-08-25 | 日本電信電話株式会社 | Communication device, communication failure management method, failure management program, and communication system |
US11994938B2 (en) | 2021-11-11 | 2024-05-28 | Samsung Electronics Co., Ltd. | Systems and methods for detecting intra-chip communication errors in a reconfigurable hardware system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07115435A (en) * | 1993-10-19 | 1995-05-02 | Toshiba Corp | Packet processing device |
JP2011142512A (en) * | 2010-01-07 | 2011-07-21 | Fujitsu Ltd | Transmission apparatus and transmission method |
JP2012014353A (en) * | 2010-06-30 | 2012-01-19 | Fujitsu Ltd | Controller, information processor, control program and control method |
-
2014
- 2014-09-02 JP JP2014177620A patent/JP2016052074A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07115435A (en) * | 1993-10-19 | 1995-05-02 | Toshiba Corp | Packet processing device |
JP2011142512A (en) * | 2010-01-07 | 2011-07-21 | Fujitsu Ltd | Transmission apparatus and transmission method |
JP2012014353A (en) * | 2010-06-30 | 2012-01-19 | Fujitsu Ltd | Controller, information processor, control program and control method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022176006A1 (en) * | 2021-02-16 | 2022-08-25 | 日本電信電話株式会社 | Communication device, communication failure management method, failure management program, and communication system |
US11994938B2 (en) | 2021-11-11 | 2024-05-28 | Samsung Electronics Co., Ltd. | Systems and methods for detecting intra-chip communication errors in a reconfigurable hardware system |
CN114553369A (en) * | 2022-01-10 | 2022-05-27 | 合肥埃科光电科技股份有限公司 | System and method for detecting performance of digital signal cable based on FPGA |
CN114553369B (en) * | 2022-01-10 | 2023-11-03 | 合肥埃科光电科技股份有限公司 | System and method for detecting digital signal cable performance based on FPGA |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100570134B1 (en) | Self-healing chip-to-chip interface | |
JP3816529B2 (en) | Interconnect failure detection and location method and apparatus | |
US9673934B2 (en) | Error correction on demand | |
JP2007067528A (en) | Network relaying apparatus, fault diagnostic apparatus, and program | |
KR102382432B1 (en) | Method and apparatus for detecting bit errors | |
JP5256855B2 (en) | Data transfer device and data transfer method control method | |
JP2016052074A (en) | Communication device | |
KR102539421B1 (en) | Apparatus for one-way data transmission, apparatus for one-way data reception, and one-way data transmission method for using the same | |
JP4079940B2 (en) | Data transmission method and method | |
CN111726288B (en) | Real-time data transmission and recovery method and system for power secondary equipment | |
US9619347B2 (en) | Systems and methods of fault management in electronic communications | |
US20160080111A1 (en) | Receiver, transmitter and data transmission system | |
JP5548160B2 (en) | Fault monitoring node device and fault detection and recovery method | |
US8429484B2 (en) | Digitized radar information redundancy method and system | |
WO2022176006A1 (en) | Communication device, communication failure management method, failure management program, and communication system | |
CN111769906B (en) | Data transmission method and device for adaptively reducing processing delay of coding layer and link layer | |
US20100208581A1 (en) | Data transfer system, data transmitting device, data receiving device and data transfer method | |
WO2019025835A1 (en) | Crc error location detection in automatic cut-through and store-and-forward switching | |
JP6052150B2 (en) | Relay device | |
CN112866187A (en) | Path switching method and path switching device | |
JP2015073176A (en) | Communication device and fault detection method | |
JP6525251B2 (en) | Data transmission system and data transmission method | |
US8910007B2 (en) | Apparatus and method for error check of transmission data | |
JP2015029162A (en) | Transmission equipment | |
JP4033447B2 (en) | Data transmission apparatus and X-ray CT scanner using the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20170110 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20170112 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20170825 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180621 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20180703 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20190108 |