JP5527614B2 - Network system and relay device - Google Patents

Network system and relay device Download PDF

Info

Publication number
JP5527614B2
JP5527614B2 JP2010266403A JP2010266403A JP5527614B2 JP 5527614 B2 JP5527614 B2 JP 5527614B2 JP 2010266403 A JP2010266403 A JP 2010266403A JP 2010266403 A JP2010266403 A JP 2010266403A JP 5527614 B2 JP5527614 B2 JP 5527614B2
Authority
JP
Japan
Prior art keywords
frame
data
detection code
error detection
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010266403A
Other languages
Japanese (ja)
Other versions
JP2012119837A (en
Inventor
晋太郎 飯野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Metals Ltd
Original Assignee
Hitachi Metals Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Metals Ltd filed Critical Hitachi Metals Ltd
Priority to JP2010266403A priority Critical patent/JP5527614B2/en
Publication of JP2012119837A publication Critical patent/JP2012119837A/en
Application granted granted Critical
Publication of JP5527614B2 publication Critical patent/JP5527614B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Description

本発明は、ネットワークシステム及び中継装置に関する。   The present invention relates to a network system and a relay device.

一般に、中継装置においてフレームを受信した場合、フレーム中の巡回冗長検査ビットに基づいて、伝送路で生じたフレーム中のデータの誤り(いわゆる「ビット化け」等の誤り)を検出する手法が知られている。
また従来、伝送路で生じたフレーム中のデータの誤りを検出するとともに、中継装置内でフレームを中継する過程で生じたデータの誤りを検出する先行技術が知られている(例えば、特許文献1参照。)。
In general, when a frame is received by a relay device, a method for detecting an error in data in a frame (an error such as “bit corruption”) generated in a transmission path based on a cyclic redundancy check bit in the frame is known. ing.
Conventionally, there is known a prior art for detecting an error in data in a frame generated in a transmission path and detecting an error in data generated in a process of relaying a frame in a relay device (for example, Patent Document 1). reference.).

この先行技術では、中継装置がフレームを受信した際、伝送路で生じたフレーム中のデータの誤りを検出する一般的な手法に加えて、新たにフレーム中のデータに基づいて算出した装置内用巡回冗長検査ビットをフレームに付加して転送処理を行う手法を採用している。中継装置は、上記の手法により装置内用巡回冗長検査ビットを用いてフレームの転送処理により生じたデータの誤りを検出する。また、中継装置は、フレームを送信する際、装置内用巡回冗長検査ビットに換えて、データに基づいて算出した伝送路用巡回冗長検査ビットをフレームに付加して送信する。   In this prior art, in addition to a general method for detecting data errors in a frame generated on a transmission path when a relay device receives a frame, it is newly calculated based on the data in the frame. A technique is employed in which a cyclic redundancy check bit is added to a frame to perform transfer processing. The relay device detects an error in the data generated by the frame transfer process using the in-device cyclic redundancy check bit by the above method. Further, when transmitting a frame, the relay device adds a cyclic redundancy check bit for transmission path calculated based on data to the frame for transmission instead of the cyclic redundancy check bit for device.

この先行技術によれば、上記の手法を採用する複数の中継装置を用いてネットワークを構築することで、伝送路及び中継装置内で生じたデータの誤りを検出できる。   According to this prior art, by constructing a network using a plurality of relay apparatuses that employ the above-described method, it is possible to detect data errors that occur in the transmission path and the relay apparatus.

特開2006−217288号公報JP 2006-217288 A

しかしながら、この先行技術では、ネットワーク内に装置内で生じたデータの誤りを検出する機能を有さない中継装置が配置されている場合、この中継装置内で生じたデータの誤りは検出することができない。   However, in this prior art, when a relay device that does not have a function of detecting data errors generated in the device is arranged in the network, the data error generated in the relay device can be detected. Can not.

そこで本発明は、ネットワーク内に装置内で生じたデータの誤りを検出する機能を有さない中継装置が配置されていた場合であっても、ネットワーク内の伝送路及び中継装置内で生じたデータの誤りを検出できる技術の提供を課題とする。   Therefore, the present invention provides data generated in a transmission line and a relay device in the network even when a relay device that does not have a function of detecting an error in data generated in the device is arranged in the network. It is an object to provide a technology capable of detecting the error of the above.

上記の目的を達成するために本発明のネットワークシステムは、ネットワークと外部ネットワークの間でフレームを中継するエッジ中継装置と、ネットワーク内でフレームを中継するコア中継装置と、を備え、エッジ中継装置は、受信したフレームに対し、外部ネットワークから転送されたフレームの場合、フレーム中のデータに基づいて算出した内部誤り検出符号を付加し、ネットワーク内から転送されたフレームの場合、内部誤り検出符号に基づいてフレームのデータの誤りを検査する、内部誤り検出符号検査・付加部と、フレームの送信先を特定するための処理を行う転送処理部と、転送処理部において処理が行われたフレームに対し、内部誤り検出符号に基づいてフレームのデータの誤りを検査し、フレームを外部ネットワークへ送信する場合は内部誤り検出符号をフレームから除去する、内部誤り検出符号検査・除去部と、フレームをネットワーク内又は外部ネットワークへ送信する送信部と、を備える。   In order to achieve the above object, a network system of the present invention includes an edge relay device that relays a frame between a network and an external network, and a core relay device that relays a frame in the network. In the case of a frame transferred from an external network to the received frame, an internal error detection code calculated based on the data in the frame is added, and in the case of a frame transferred from within the network, based on the internal error detection code The internal error detection code checking / adding unit for checking the data error of the frame, the transfer processing unit for performing processing for specifying the transmission destination of the frame, and the frame processed in the transfer processing unit, Check frame data for errors based on internal error detection code and send frame to external network If you want to remove the internal error detection code from the frame includes an internal error detection code checking and removal unit, a transmission unit for transmitting the frame to the network within or external network.

また、上記の目的を達成するために本発明の中継装置は、ネットワークと外部ネットワークの間でフレームを中継する中継装置であって、受信したフレームに対し、外部ネットワークから転送されたフレームの場合、フレーム中のデータに基づいて算出した内部誤り検出符号を付加し、ネットワーク内から転送されたフレームの場合、内部誤り検出符号に基づいてフレームのデータの誤りを検査する、内部誤り検出符号検査・付加部と、フレームの送信先を特定するための処理を行う転送処理部と、転送処理部において処理が行われたフレームに対し、内部誤り検出符号に基づいてフレームのデータの誤りを検査し、フレームを外部ネットワークへ送信する場合は内部誤り検出符号をフレームから除去する、内部誤り検出符号検査・除去部と、フレームをネットワーク内又は外部ネットワークへ送信する送信部と、を備える。   In order to achieve the above object, the relay device of the present invention is a relay device that relays frames between a network and an external network, and in the case of a frame transferred from an external network with respect to a received frame, An internal error detection code calculated based on the data in the frame is added, and in the case of a frame transferred from within the network, the error of the frame data is checked based on the internal error detection code. A frame, a transfer processing unit that performs processing for specifying the transmission destination of the frame, and a frame processed by the transfer processing unit is checked for an error in the data of the frame based on the internal error detection code. An internal error detection code inspection / removal unit that removes the internal error detection code from the frame Comprising a transmitter for transmitting a frame to the network or external network.

また、上記の目的を達成するために本発明の中継装置は、フレームのデータに基づいて算出した内部誤り検出符号と、フレームのデータと内部誤り検出符号に基づいて算出した外部誤り検出符号とを付加したフレームを中継するネットワーク内で、フレームを中継する中継装置であって、フレームを受信した場合、内部誤り検出符号に基づいてフレームのデータの誤りを検査する第1の内部誤り検出符号検査部と、フレームの送信先を特定するための処理を行う転送処理部と、転送処理部において処理が行われたフレームに対し、内部誤り検出符号に基づいてフレームのデータの誤りを検査する第2の内部誤り検出符号検査部と、を備える。   In order to achieve the above object, the relay apparatus of the present invention includes an internal error detection code calculated based on frame data and an external error detection code calculated based on frame data and the internal error detection code. A relay device that relays a frame in a network that relays an added frame, and when a frame is received, a first internal error detection code checking unit that checks a frame data error based on the internal error detection code And a transfer processing unit that performs processing for specifying the transmission destination of the frame, and a frame that is processed by the transfer processing unit for checking a frame data error based on an internal error detection code. An internal error detection code checking unit.

本発明のネットワークシステム及び中継装置によれば、ネットワーク内の伝送路及び中継装置内で生じたデータの誤りを検出することができる。   According to the network system and the relay device of the present invention, it is possible to detect data errors occurring in the transmission path and the relay device in the network.

第1実施形態のネットワークシステムの構成を概略的に示す図である。1 is a diagram schematically illustrating a configuration of a network system according to a first embodiment. ネットワーク内で転送されるフレームの構成を概略的に示す図である。It is a figure which shows schematically the structure of the flame | frame transferred within a network. エッジ中継装置の機能的な構成を概略的に示すブロック図である。It is a block diagram which shows roughly the functional structure of an edge relay apparatus. コア中継装置の機能的な構成を概略的に示すブロック図である。It is a block diagram which shows roughly the functional structure of a core relay apparatus. コア中継装置の機能的な構成を概略的に示すブロック図である。It is a block diagram which shows roughly the functional structure of a core relay apparatus. エッジ中継装置の機能的な構成を概略的に示すブロック図である。It is a block diagram which shows roughly the functional structure of an edge relay apparatus. 転送処理部の機能的な構成を概略的に示すブロック図である。It is a block diagram which shows roughly the functional structure of a transfer process part. フレームの転送処理を概略的に示すシーケンス図である。It is a sequence diagram which shows the transfer process of a frame roughly. 第2実施形態のフレームの構成を概略的に示す図である。It is a figure which shows schematically the structure of the flame | frame of 2nd Embodiment. 第2実施形態のエッジ中継装置の機能的な構成を概略的に示すブロック図である。It is a block diagram which shows roughly the functional structure of the edge relay apparatus of 2nd Embodiment. 第2実施形態の転送処理部の機能的な構成を概略的に示すブロック図である。It is a block diagram which shows roughly the functional structure of the transfer process part of 2nd Embodiment. エッジ中継装置のEFCS検査部及びIFCS検査・付加部をCRC回路基板上に実装した構成を概略的に示すブロック図である。It is a block diagram which shows roughly the structure which mounted the EFCS test | inspection part and IFCS test | inspection / addition part of the edge relay apparatus on the CRC circuit board.

以下、本発明の実施形態について図面を参照しながら説明する。なお、本実施形態の中継装置は、OSI(Open Systems Interconnection)参照モデルのレイヤ2及びレイヤ3等のデータ転送機能を備えており、一般的なスイッチングハブと同様にフレームの中継を行う。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. Note that the relay apparatus of this embodiment has data transfer functions such as OSI (Open Systems Interconnection) reference model layer 2 and layer 3 and relays frames in the same manner as a general switching hub.

〔第1実施形態〕
図1は、第1実施形態のネットワークシステムの構成を概略的に示す図である。
[First Embodiment]
FIG. 1 is a diagram schematically illustrating a configuration of a network system according to the first embodiment.

〔ネットワークシステムの構成例〕
ネットワーク1には、伝送路9を介して接続された複数の中継装置2,4,6,8や図示しない他の中継装置が配置されている。また、ネットワーク1の外部には、外部ネットワーク10,12が配置されている。なお、本実施形態のネットワークシステムは、ネットワーク1内の伝送路9を介して接続された複数の中継装置2,4,6,8や図示しない他の中継装置により構成される。
[Configuration example of network system]
In the network 1, a plurality of relay apparatuses 2, 4, 6, 8 connected via a transmission path 9 and other relay apparatuses (not shown) are arranged. In addition, external networks 10 and 12 are arranged outside the network 1. Note that the network system of the present embodiment is configured by a plurality of relay devices 2, 4, 6, 8 connected via a transmission path 9 in the network 1 and other relay devices not shown.

〔エッジ中継装置〕
中継装置2,8は、それぞれ外部ネットワーク10,12に接続されている。また、中継装置2,8は、ネットワーク1におけるエッジ中継装置として外部ネットワーク10,12から転送されたフレームをネットワーク1内へ中継したり、ネットワーク1内で転送されたフレームを外部ネットワーク10,12へ中継したりする(以下、「中継装置2」及び「中継装置8」をそれぞれ「エッジ中継装置2」及び「エッジ中継装置8」と称呼する。)。
[Edge relay device]
The relay devices 2 and 8 are connected to the external networks 10 and 12, respectively. Further, the relay devices 2 and 8 relay frames transferred from the external networks 10 and 12 as edge relay devices in the network 1 to the network 1, and forward frames transferred in the network 1 to the external networks 10 and 12. (Hereinafter, “relay device 2” and “relay device 8” are referred to as “edge relay device 2” and “edge relay device 8”, respectively).

〔コア中継装置〕
また、中継装置4,6は、ネットワーク1内におけるコア中継装置として、エッジ中継装置2及びエッジ中継装置8から転送されたフレームを他方のエッジ中継装置8,2へ向けて中継する(以下、「中継装置4」及び「中継装置6」をそれぞれ「コア中継装置4」及び「コア中継装置6」と称呼する。)。
[Core relay device]
The relay apparatuses 4 and 6 relay the frames transferred from the edge relay apparatus 2 and the edge relay apparatus 8 to the other edge relay apparatuses 8 and 2 as core relay apparatuses in the network 1 (hereinafter, “ (Relay device 4 ”and“ relay device 6 ”are referred to as“ core relay device 4 ”and“ core relay device 6 ”, respectively.)

〔一般的なネットワークの概要〕
外部ネットワーク10,12には、図示しない複数の中継装置が配置されている。外部ネットワーク10,12内の中継装置では、一般的な中継装置によるフレームの中継動作として、受信したフレームに対してフレーム中のFCS(Frame Check Sequence)に基づいてデータの誤りを検査する。具体的には、受信したフレーム中のデータに対して生成多項式による値を算出し、算出した値とフレーム中のFCSの値との整合性を検査する。中継装置は、算出した値とフレーム中のFCSの値との整合性が保たれていない場合、データに誤りが生じていると判断する。このとき、中継装置は、受信したフレームを破棄する。
[General network overview]
A plurality of relay devices (not shown) are arranged in the external networks 10 and 12. In the relay devices in the external networks 10 and 12, as a frame relay operation by a general relay device, the received frame is inspected for data errors based on FCS (Frame Check Sequence) in the frame. Specifically, a value by a generator polynomial is calculated for the data in the received frame, and the consistency between the calculated value and the FCS value in the frame is checked. When the consistency between the calculated value and the FCS value in the frame is not maintained, the relay apparatus determines that an error has occurred in the data. At this time, the relay device discards the received frame.

また中継装置は、データの誤りを検出しなかった場合、フレーム中のFCSを削除した上でフレームの転送処理を行う。次に中継装置は、フレームを送信する際、転送処理後のデータに基づいて算出したFCSをフレームに付加して送信する。   If the relay apparatus does not detect a data error, the relay apparatus deletes the FCS in the frame and performs a frame transfer process. Next, when the frame is transmitted, the relay device adds the FCS calculated based on the data after the transfer process to the frame and transmits the frame.

エッジ中継装置2,8、及びコア中継装置4,6は、上記の外部ネットワーク10,12内の中継装置と同様に、FCSに基づいてデータの誤りを検出する一般的な機能を備えている。第1実施形態において、エッジ中継装置2,8及びコア中継装置6は、上記の一般的な機能に加えて、中継装置内で実行される転送処理により生じたデータの誤りを検出する機能を備えている。なお、コア中継装置4は、外部ネットワーク10,12内の中継装置と同様に、伝送路9で生じたデータの誤りを検出する一般的な機能のみを備えているものとする。また、エッジ中継装置2,8の構成、コア中継装置4,6の構成、及び、これらによりデータの誤りを検出する機能については、別の図面を用いてさらに詳しく後述する。   The edge relay devices 2 and 8 and the core relay devices 4 and 6 have a general function of detecting data errors based on FCS, like the relay devices in the external networks 10 and 12 described above. In the first embodiment, the edge relay devices 2 and 8 and the core relay device 6 have a function of detecting an error in data caused by a transfer process executed in the relay device in addition to the above general function. ing. It is assumed that the core relay device 4 has only a general function for detecting data errors occurring in the transmission line 9 as in the relay devices in the external networks 10 and 12. Further, the configuration of the edge relay devices 2 and 8, the configuration of the core relay devices 4 and 6, and the function of detecting data errors by these will be described later in detail with reference to another drawing.

図2は、ネットワーク1内で転送されるフレーム14の構成を概略的に示す図である。なお、フレーム14は、一般的なMAC(Media Access Control)フレームや、MAC−in−MACフレーム等のレイヤ2フレームである。   FIG. 2 is a diagram schematically showing the configuration of the frame 14 transferred in the network 1. Note that the frame 14 is a layer 2 frame such as a general MAC (Media Access Control) frame or a MAC-in-MAC frame.

フレーム14は、主にヘッダ領域16、ペイロード領域18、IFCS(Internal FCS)領域20、及びEFCS(External FCS)領域22を備えている。   The frame 14 mainly includes a header area 16, a payload area 18, an IFCS (Internal FCS) area 20, and an EFCS (External FCS) area 22.

ヘッダ領域16には、宛先情報や、送信元情報等のヘッダ情報が格納されており、ペイロード領域18には、フレーム14の送信元である装置により生成された情報が格納されている。ヘッダ領域16及びペイロード領域18に格納された情報は、FCSを算出する際に基準となるデータに含まれている。   The header area 16 stores destination information and header information such as transmission source information, and the payload area 18 stores information generated by a device that is the transmission source of the frame 14. Information stored in the header area 16 and the payload area 18 is included in data serving as a reference when calculating the FCS.

EFCS領域22は、一般的なフレームに備えられているFCS領域に相当する。また、第1実施形態においてフレーム14は、EFCS領域22の他に、IFCS領域20を更に備える。EFCS領域22には、伝送路で生じたデータの誤りを検出するために用いられるFCS(外部誤り検出符号)が格納される(以下、EFCS領域22に格納される「FCS」を「EFCS」と呼称する。)。また、IFCS領域20には、中継装置内で実行される転送処理により生じたデータの誤りを検出するために用いられるFCS(内部誤り検出符号)が格納される(以下、IFCS領域20に格納される「FCS」を「IFCS」と呼称する。)。   The EFCS area 22 corresponds to an FCS area provided in a general frame. In the first embodiment, the frame 14 further includes an IFCS area 20 in addition to the EFCS area 22. The EFCS area 22 stores an FCS (external error detection code) used for detecting an error in data generated in the transmission path (hereinafter, “FCS” stored in the EFCS area 22 is referred to as “EFCS”). Called.) The IFCS area 20 stores an FCS (internal error detection code) used to detect an error in data generated by a transfer process executed in the relay apparatus (hereinafter stored in the IFCS area 20). ("FCS" is referred to as "IFCS").

図3は、エッジ中継装置2,8の機能的な構成を概略的に示すブロック図である。図3では、外部ネットワーク10,12から転送されたフレーム14をコア中継装置4,6に転送する場合における、エッジ中継装置2,8の機能的な構成について説明する。   FIG. 3 is a block diagram schematically showing a functional configuration of the edge relay apparatuses 2 and 8. In FIG. 3, a functional configuration of the edge relay apparatuses 2 and 8 when the frame 14 transferred from the external networks 10 and 12 is transferred to the core relay apparatuses 4 and 6 will be described.

エッジ中継装置2,8は、受信部24、EFCS検査部26、内部誤り検出符号検査・付加部としてのIFCS検査・付加部28、転送処理部30、内部誤り検出符号検査・除去部としてのIFCS検査・除去部32、EFCS付加部34、及び送信部36を備えている。   The edge relay apparatuses 2 and 8 include a receiving unit 24, an EFCS checking unit 26, an IFCS checking / adding unit 28 as an internal error detecting code checking / adding unit, a transfer processing unit 30, and an IFCS as an internal error detecting code checking / removing unit. An inspection / removal unit 32, an EFCS addition unit 34, and a transmission unit 36 are provided.

受信部24は、外部ネットワーク10,12から転送されたフレーム14を受信すると、これをEFCS検査部26へ転送する。   When receiving the frame 14 transferred from the external networks 10 and 12, the receiving unit 24 transfers the frame 14 to the EFCS checking unit 26.

EFCS検査部26は、受信部24から転送されたフレーム14を受信すると、フレーム14に付加されたFCSに基づいて、データの誤りを検査する。なお、データの誤りを検査する手法として、例えば、CRC(Cyclic Redundancy Check)機能を用いる。EFCS検査部26は、データに基づいてCRC機能により算出した値と、フレーム14中のFCSの値とが整合するか否かを検査する。検査の結果、データに誤りが生じていない場合、EFCS検査部26は、フレーム14に付加されたFCSを削除した上でフレーム14をIFCS検査・付加部28へ転送する。一方、データに誤りが生じている場合、EFCS検査部26は、フレーム14を破棄する。   When the EFCS checking unit 26 receives the frame 14 transferred from the receiving unit 24, the EFCS checking unit 26 checks the data error based on the FCS added to the frame 14. For example, a CRC (Cyclic Redundancy Check) function is used as a method for checking data errors. The EFCS checking unit 26 checks whether or not the value calculated by the CRC function based on the data matches the FCS value in the frame 14. If there is no error in the data as a result of the inspection, the EFCS inspection unit 26 deletes the FCS added to the frame 14 and transfers the frame 14 to the IFCS inspection / addition unit 28. On the other hand, if an error has occurred in the data, the EFCS inspection unit 26 discards the frame 14.

IFCS検査・付加部28は、EFCS検査部26から転送されたフレーム14中のデータ(ヘッダ情報及びペイロード情報)に基づいてIFCS(内部誤り検出符号)を算出する。次に、IFCS検査・付加部28は、算出したIFCSをフレーム14に付加して転送処理部30へ転送する。   The IFCS check / addition unit 28 calculates an IFCS (internal error detection code) based on the data (header information and payload information) in the frame 14 transferred from the EFCS check unit 26. Next, the IFCS inspection / addition unit 28 adds the calculated IFCS to the frame 14 and transfers the frame 14 to the transfer processing unit 30.

転送処理部30は、IFCS検査・付加部28から転送されたフレーム14に対して、フレーム14の送信先のポートを特定するための転送処理を行う。転送処理部30では、転送処理として、フレーム14中のデータを書換える処理、もしくは、データを書換えない処理が実行される。これらの処理により、フレーム14を送信するポートを特定して、送信部36へ転送する。また、第1実施形態では、これらの処理を行う過程で、IFCSに基づくデータの誤りを検査する。なお、転送処理部30で実行されるフレーム14の転送処理及び、IFCSに基づくデータの誤りを検査する手法については、別の図面を用いてさらに詳しく後述する。   The transfer processing unit 30 performs a transfer process for specifying the transmission destination port of the frame 14 on the frame 14 transferred from the IFCS inspection / addition unit 28. In the transfer processing unit 30, a process for rewriting data in the frame 14 or a process for not rewriting data is executed as the transfer process. Through these processes, the port that transmits the frame 14 is specified and transferred to the transmitter 36. In the first embodiment, in the course of performing these processes, data errors based on IFCS are checked. It should be noted that the frame 14 transfer process executed by the transfer processing unit 30 and a method for checking data errors based on IFCS will be described in more detail later with reference to another drawing.

転送処理部30により送信先のポートへ向けて転送されたフレーム14に対して、IFCS検査・除去部32は、フレーム14に付加されたIFCSに基づいてデータの誤りを検査する。IFCSに基づいてデータの誤りを検査する手法は、EFCSに基づいてデータの誤りを検査する手法と同様に、例えばCRC機能によるものである。また、IFCS検査・除去部32は、検査の結果、データに誤りが生じていない場合、フレーム14をEFCS付加部34へ転送する。IFCS検査・除去部32は、フレーム14をネットワーク1内へ送信する場合は、フレーム14に付加されているIFCSを除去しない。一方、データの誤りを検出した場合、IFCS検査・除去部32はフレーム14を破棄する。   For the frame 14 transferred to the destination port by the transfer processing unit 30, the IFCS inspection / removal unit 32 inspects data errors based on the IFCS added to the frame 14. The method for checking data errors based on IFCS is based on, for example, a CRC function, as in the method for checking data errors based on EFCS. Further, IFCS inspection / removal unit 32 transfers frame 14 to EFCS addition unit 34 when no error has occurred in the data as a result of the inspection. When transmitting the frame 14 into the network 1, the IFCS inspection / removal unit 32 does not remove the IFCS added to the frame 14. On the other hand, if a data error is detected, the IFCS checking / removal unit 32 discards the frame 14.

EFCS付加部34は、フレーム14中のデータ及びIFCSに基づいてEFCSを算出する。次にEFCS付加部34は、算出したEFCSをフレーム14に付加して送信部36へ転送する。   The EFCS adding unit 34 calculates the EFCS based on the data in the frame 14 and the IFCS. Next, the EFCS adding unit 34 adds the calculated EFCS to the frame 14 and transfers the frame 14 to the transmitting unit 36.

送信部36は、図示しない複数のポートを備えている。送信部36は、EFCS付加部34から転送されたフレーム14を、転送処理部30により特定されたポートからコア中継装置4,6へ向けて送信する。このとき、送信部36は、IFCS及びEFCSを付加した状態でフレーム14を送信する。   The transmission unit 36 includes a plurality of ports (not shown). The transmission unit 36 transmits the frame 14 transferred from the EFCS addition unit 34 from the port specified by the transfer processing unit 30 to the core relay devices 4 and 6. At this time, the transmission unit 36 transmits the frame 14 with IFCS and EFCS added.

図4は、コア中継装置4の機能的な構成を概略的に示すブロック図である。図4では、エッジ中継装置2から転送されたフレーム14をコア中継装置6に転送する場合における、コア中継装置4の機能的な構成について説明する。なお、コア中継装置4は、外部ネットワーク10,12内の中継装置と同様に、伝送路で生じたデータの誤りを検出する一般的な機能のみを備えているものとする。   FIG. 4 is a block diagram schematically showing a functional configuration of the core relay device 4. FIG. 4 illustrates a functional configuration of the core relay device 4 when the frame 14 transferred from the edge relay device 2 is transferred to the core relay device 6. The core relay device 4 is assumed to have only a general function for detecting data errors occurring in the transmission path, similarly to the relay devices in the external networks 10 and 12.

コア中継装置4は、主に、受信部40、EFCS検査部42、フレーム転送部44、EFCS付加部46、及び送信部48を備えている。   The core relay device 4 mainly includes a reception unit 40, an EFCS inspection unit 42, a frame transfer unit 44, an EFCS addition unit 46, and a transmission unit 48.

受信部40は、エッジ中継装置2から転送されたフレーム14を受信すると、フレーム14をEFCS検査部42へ転送する。EFCS検査部42は、受信したフレーム14中のEFCSを用いて、データの誤りを検査する。EFCS検査部42は、検査の結果、データに誤りが生じていない場合、フレーム14に付加されたEFCSを削除してフレーム転送部44へ転送する。一方、データの誤りを検出した場合、EFCS検査部42は、フレーム14を破棄する。   When receiving the frame 14 transferred from the edge relay device 2, the receiving unit 40 transfers the frame 14 to the EFCS inspection unit 42. The EFCS checking unit 42 uses the EFCS in the received frame 14 to check for data errors. If there is no error in the data as a result of the inspection, the EFCS inspection unit 42 deletes the EFCS added to the frame 14 and transfers it to the frame transfer unit 44. On the other hand, when an error in the data is detected, the EFCS inspection unit 42 discards the frame 14.

フレーム転送部44は、フレーム14の転送処理を行う。フレーム転送部44は、転送処理部30とは異なりIFCSに基づくデータの誤り検査を行わない。なお、本実施形態において、コア中継装置4は、フレーム転送部44においてフレーム14のデータの書換えを行わないものとする。   The frame transfer unit 44 performs frame 14 transfer processing. Unlike the transfer processing unit 30, the frame transfer unit 44 does not perform an error check on data based on IFCS. In the present embodiment, it is assumed that the core relay device 4 does not rewrite the data of the frame 14 in the frame transfer unit 44.

EFCS付加部46は、フレーム転送部44から転送されたフレーム14を受信すると、フレーム14中のデータ(ヘッダ情報及びペイロード情報)及びIFCSに基づいてEFCSを算出する。次に、EFCS付加部46は、算出したEFCSをフレーム14に付加して送信部48へ転送する。   When receiving the frame 14 transferred from the frame transfer unit 44, the EFCS adding unit 46 calculates EFCS based on the data (header information and payload information) in the frame 14 and IFCS. Next, the EFCS adding unit 46 adds the calculated EFCS to the frame 14 and transfers the frame 14 to the transmitting unit 48.

このとき、EFCS付加部46は、フレーム転送部44により実行された転送処理を通じてフレーム14中のデータに誤りが生じた場合であっても、誤りが生じたデータに基づいて算出したEFCSを付加する。   At this time, the EFCS addition unit 46 adds the EFCS calculated based on the data in which the error has occurred even if an error has occurred in the data in the frame 14 through the transfer process executed by the frame transfer unit 44. .

送信部48は、EFCS付加部46から転送されたフレーム14をフレーム転送部44により特定された宛先のポートからコア中継装置6へ向けて送信する。   The transmission unit 48 transmits the frame 14 transferred from the EFCS addition unit 46 from the destination port specified by the frame transfer unit 44 to the core relay device 6.

図5は、コア中継装置6の機能的な構成を概略的に示すブロック図である。図5では、コア中継装置4から転送されたフレーム14をエッジ中継装置8に転送する場合における、コア中継装置6の機能的な構成について説明する。   FIG. 5 is a block diagram schematically showing a functional configuration of the core relay device 6. FIG. 5 illustrates a functional configuration of the core relay device 6 when the frame 14 transferred from the core relay device 4 is transferred to the edge relay device 8.

コア中継装置6は、受信部50、EFCS検査部52、第1の内部誤り検出符号検査部としてのIFCS検査部54、転送処理部56、第2の内部誤り検出符号検査部としてのIFCS検査部58、EFCS付加部60、及び送信部62を備えている。   The core relay apparatus 6 includes a receiving unit 50, an EFCS checking unit 52, an IFCS checking unit 54 as a first internal error detecting code checking unit, a transfer processing unit 56, and an IFCS checking unit as a second internal error detecting code checking unit. 58, an EFCS addition unit 60, and a transmission unit 62.

受信部50は、コア中継装置4から転送されたフレーム14を受信すると、これをEFCS検査部52へ転送する。EFCS検査部52では、エッジ中継装置2,8、コア中継装置4と同様に、フレーム14に付加されているEFCSに基づいてデータの誤りを検査する。   When receiving the frame 14 transferred from the core relay device 4, the receiving unit 50 transfers it to the EFCS checking unit 52. The EFCS checking unit 52 checks the data error based on the EFCS added to the frame 14 as in the edge relay devices 2 and 8 and the core relay device 4.

IFCS検査部54は、受信したフレーム14に付加されているIFCSを用いて、データの誤りを検査する。例えば、コア中継装置4のフレーム転送部44においてデータに誤りが生じた場合、IFCSはエッジ中継装置2により付加されているため、算出した値とフレーム14に付加されているIFCSとは整合しない。この場合、IFCS検査部54は、データの誤りを検出したと判断してフレーム14を破棄する。なお、IFCS検査部54は、データの誤りを検出しなかった場合、フレーム14を転送処理部56へ転送する。   The IFCS checking unit 54 checks data errors using the IFCS added to the received frame 14. For example, when an error occurs in data in the frame transfer unit 44 of the core relay device 4, the calculated value and the IFCS added to the frame 14 do not match because the IFCS is added by the edge relay device 2. In this case, the IFCS check unit 54 determines that a data error has been detected and discards the frame 14. Note that the IFCS checking unit 54 transfers the frame 14 to the transfer processing unit 56 when no data error is detected.

転送処理部56は、エッジ中継装置2,8と同様に、フレーム14の転送処理を行うとともに、転送処理の過程で、IFCSに基づいてデータの誤りを検査する。   Similarly to the edge relay apparatuses 2 and 8, the transfer processing unit 56 performs the transfer process of the frame 14, and checks the data error based on IFCS in the course of the transfer process.

IFCS検査部58は、転送処理部56から転送されたフレーム14に対して、転送処理を通じて生じたデータの誤りを検査する。IFCS検査部58は、検査の結果、データの誤りを検出しなかった場合、フレーム14をEFCS付加部60へ転送する。一方、データの誤りを検出した場合、IFCS検査部58はフレーム14を破棄する。   The IFCS checking unit 58 checks the data 14 generated through the transfer process for the frame 14 transferred from the transfer processing unit 56. If no error is detected as a result of the inspection, the IFCS inspection unit 58 transfers the frame 14 to the EFCS addition unit 60. On the other hand, if a data error is detected, the IFCS inspection unit 58 discards the frame 14.

EFCS付加部60は、フレーム14中のデータ(ヘッダ情報及びペイロード情報)及びIFCSに基づいてEFCSを算出する。次に、EFCS付加部60は、算出したEFCSをフレーム14に付加して送信部62へ転送する。送信部62は、EFCS付加部60から転送されたフレーム14を、転送処理部56により特定されたポートからエッジ中継装置8へ向けて転送する。   The EFCS adding unit 60 calculates the EFCS based on the data (header information and payload information) in the frame 14 and IFCS. Next, the EFCS adding unit 60 adds the calculated EFCS to the frame 14 and transfers the frame 14 to the transmitting unit 62. The transmission unit 62 transfers the frame 14 transferred from the EFCS addition unit 60 from the port specified by the transfer processing unit 56 toward the edge relay device 8.

図6は、エッジ中継装置2,8の機能的な構成を概略的に示すブロック図である。図6では、コア中継装置4,6から転送されたフレーム14を外部ネットワーク10,12に転送する場合における、エッジ中継装置2,8の機能的な構成について説明する。   FIG. 6 is a block diagram schematically showing a functional configuration of the edge relay apparatuses 2 and 8. In FIG. 6, the functional configuration of the edge relay apparatuses 2 and 8 when the frame 14 transferred from the core relay apparatuses 4 and 6 is transferred to the external networks 10 and 12 will be described.

受信部24は、コア中継装置4,6から転送されたフレーム14をEFCS検査部26へ転送する。EFCS検査部26では、受信したフレーム14中のEFCSに基づいてデータの誤りを検査する。検査の結果、データに誤りが生じていた場合、EFCS検査部26はフレーム14を破棄する。一方、データに誤りが生じていない場合、EFCS検査部26はフレーム14中のEFCSを削除した上で、フレーム14をIFCS検査・付加部28へ転送する。   The receiving unit 24 transfers the frame 14 transferred from the core relay apparatuses 4 and 6 to the EFCS checking unit 26. The EFCS checking unit 26 checks data errors based on the EFCS in the received frame 14. If there is an error in the data as a result of the inspection, the EFCS inspection unit 26 discards the frame 14. On the other hand, if no error has occurred in the data, the EFCS checking unit 26 deletes the EFCS in the frame 14 and transfers the frame 14 to the IFCS checking / adding unit 28.

IFCS検査・付加部28では、フレーム14中のIFCSに基づいて、データの誤りを検査する。具体的に、IFCS検査・付加部28は、フレーム14中のデータに対してIFCSを算出し、算出したIFCSとフレーム14中のIFCSとが整合しているか否かを検査する。検査の結果、双方のIFCSが整合している場合、IFCS検査・付加部28は、データに誤りが生じていないと判断し、フレーム14を転送処理部30へ転送する。一方、IFCSが整合していない場合、IFCS検査・付加部28はデータに誤りが生じていると判断し、フレーム14を破棄する。   The IFCS checking / adding unit 28 checks the data error based on the IFCS in the frame 14. Specifically, the IFCS checking / adding unit 28 calculates an IFCS for the data in the frame 14 and checks whether the calculated IFCS and the IFCS in the frame 14 are consistent. If both IFCSs match as a result of the inspection, the IFCS inspection / addition unit 28 determines that there is no error in the data, and transfers the frame 14 to the transfer processing unit 30. On the other hand, if the IFCS is not consistent, the IFCS checking / adding unit 28 determines that an error has occurred in the data and discards the frame 14.

転送処理部30では、図3中に示す転送処理部30で実行される処理と同様に、フレーム14の転送処理を行う。そして、転送処理部30はフレーム14を送信部36へ向けて転送する。
IFCS検査・除去部32は、転送処理部30から転送されたフレーム14中のデータの誤りを検査する。検査の結果、データの誤りを検出した場合、IFCS検査・除去部32はフレーム14を破棄する。一方、データの誤りを検出しない場合、IFCS検査・除去部32は、フレーム14中のIFCSを除去した上で、フレーム14をEFCS付加部34へ転送する。
The transfer processing unit 30 performs the frame 14 transfer processing in the same manner as the processing executed by the transfer processing unit 30 shown in FIG. Then, the transfer processing unit 30 transfers the frame 14 toward the transmission unit 36.
The IFCS inspection / removal unit 32 inspects data for errors in the frame 14 transferred from the transfer processing unit 30. If a data error is detected as a result of the inspection, the IFCS inspection / removal unit 32 discards the frame 14. On the other hand, if no data error is detected, the IFCS checking / removal unit 32 removes the IFCS in the frame 14 and transfers the frame 14 to the EFCS addition unit 34.

EFCS付加部34は、転送されたフレーム14中のデータ(ヘッダ情報及びペイロード情報)に基づいて算出したEFCSをフレーム14に付加して、送信部36へ転送する。送信部36は、転送されたフレーム14を転送処理部30により特定されたポートから外部ネットワーク10,12へ向けて送信する。   The EFCS adding unit 34 adds the EFCS calculated based on the data (header information and payload information) in the transferred frame 14 to the frame 14 and transfers the frame 14 to the transmitting unit 36. The transmission unit 36 transmits the transferred frame 14 from the port specified by the transfer processing unit 30 to the external networks 10 and 12.

図7は、転送処理部30の機能的な構成を概略的に示すブロック図である。転送処理部30では、受信したフレーム14の送信先のポートを特定するための処理が行われる。図7中に示す矢印はフレーム14が転送される方向を示している。なお、コア中継装置6が備える転送処理部56も、転送処理部30と同じ機能的な構成を有する。   FIG. 7 is a block diagram schematically showing a functional configuration of the transfer processing unit 30. In the transfer processing unit 30, processing for specifying the transmission destination port of the received frame 14 is performed. The arrows shown in FIG. 7 indicate the direction in which the frame 14 is transferred. Note that the transfer processing unit 56 included in the core relay device 6 also has the same functional configuration as the transfer processing unit 30.

転送処理部30は、非書換え処理部64,72、IFCS検査・除去部66、書換え処理部68、及びIFCS付加部70を備えている。   The transfer processing unit 30 includes non-rewrite processing units 64 and 72, an IFCS inspection / removal unit 66, a rewrite processing unit 68, and an IFCS adding unit 70.

非書換え処理部64,72は、フレーム14のヘッダ情報を書換えることなく、所定の処理を行う。
書換え処理部68は、例えばレイヤ3のデータ転送のように、フレーム14のヘッダ情報を書換える所定の処理を行う。
The non-rewrite processing units 64 and 72 perform predetermined processing without rewriting the header information of the frame 14.
The rewrite processing unit 68 performs a predetermined process for rewriting the header information of the frame 14 like, for example, layer 3 data transfer.

IFCS検査・除去部66は、書換え処理部68によりフレーム14の処理を行う前に、フレーム14に付加されたIFCSに基づいてデータの誤りを検査する。IFCS検査・除去部66は、データの誤りを検出しなかった場合、フレーム14に付加されたIFCSを除去して書換え処理部68へ転送する。一方、IFCS検査・除去部66はデータの誤りを検出した場合、フレーム14を破棄する。   The IFCS checking / removal unit 66 checks the data error based on the IFCS added to the frame 14 before the rewrite processing unit 68 processes the frame 14. If no data error is detected, IFCS checking / removal unit 66 removes the IFCS added to frame 14 and transfers it to rewrite processing unit 68. On the other hand, the IFCS inspection / removal unit 66 discards the frame 14 when detecting an error in data.

また、IFCS付加部70は、書換え処理部68によるフレーム14の処理が行われた後、書換え後のデータに基づいて算出したIFCSをフレーム14に付加する。IFCS付加部70によりIFCSが付加されたフレーム14は、非書換え処理部72を経由して、図3に示すIFCS検査・除去部32へ転送される。   The IFCS adding unit 70 adds the IFCS calculated based on the rewritten data to the frame 14 after the processing of the frame 14 by the rewrite processing unit 68 is performed. The frame 14 with the IFCS added by the IFCS adding unit 70 is transferred to the IFCS inspection / removal unit 32 shown in FIG. 3 via the non-rewrite processing unit 72.

このように、書換え処理部68により処理が行われる前に、IFCS検査・除去部66によってフレーム14のIFCSの除去が行われる。そして、書換え処理部68により処理が行われた後、IFCS付加部70によりフレーム14に対してIFCSが付加される。さらに、転送処理部30から転送されたフレーム14は、図3に示すIFCS検査・除去部32によりIFCSに基づくデータの誤りが検査される。このため、中継装置は、転送処理部30におけるフレーム14の処理で生じたデータの誤りを確実に検出することができる。   As described above, the IFCS in the frame 14 is removed by the IFCS inspection / removal unit 66 before the rewrite processing unit 68 performs the process. Then, after the processing is performed by the rewrite processing unit 68, the IFCS adding unit 70 adds the IFCS to the frame 14. Further, the frame 14 transferred from the transfer processing unit 30 is checked for data errors based on IFCS by the IFCS checking / removing unit 32 shown in FIG. For this reason, the relay apparatus can reliably detect an error in the data generated by the processing of the frame 14 in the transfer processing unit 30.

図8は、フレーム14の転送処理を概略的に示すシーケンス図である。以下、ネットワーク1内のエッジ中継装置2、8及びコア中継装置4,6により実行されるフレーム14の転送処理をシーケンスに沿って説明する。   FIG. 8 is a sequence diagram schematically showing the transfer process of the frame 14. Hereinafter, the transfer process of the frame 14 executed by the edge relay apparatuses 2 and 8 and the core relay apparatuses 4 and 6 in the network 1 will be described along a sequence.

ステップS10:外部ネットワーク10は、フレーム14をエッジ中継装置2へ向けて転送する。   Step S10: The external network 10 transfers the frame 14 toward the edge relay device 2.

〔エッジ中継装置2による転送処理〕
ステップS11:エッジ中継装置2は、EFCS検査部26において、外部ネットワーク10から受信したフレーム14中のFCSに基づいて、データの誤りを検査する。EFCS検査部26は、データの誤りを検出した場合、フレーム14を破棄する。一方、データの誤りを検出しなかった場合、EFCS検査部26は、フレーム14中のFCSを削除した上で、IFCS検査・付加部28へ転送する。
[Transfer Processing by Edge Relay Device 2]
Step S11: The edge relay apparatus 2 checks the data error in the EFCS checking unit 26 based on the FCS in the frame 14 received from the external network 10. The EFCS checking unit 26 discards the frame 14 when detecting an error in data. On the other hand, if no data error is detected, the EFCS checking unit 26 deletes the FCS in the frame 14 and transfers it to the IFCS checking / adding unit 28.

次に、エッジ中継装置2のIFCS検査・付加部28は、フレーム14中のデータに基づいて算出したIFCSをフレーム14に付加する。続いて、IFCS検査・付加部28はIFCSを付加したフレーム14を転送処理部30へ転送する。転送処理部30は、フレーム14中の宛先情報に基づいて送信先のポートを特定する。続いて、転送処理部30は、特定したポートへ向けてフレーム14を転送する。   Next, the IFCS inspection / addition unit 28 of the edge relay apparatus 2 adds the IFCS calculated based on the data in the frame 14 to the frame 14. Subsequently, the IFCS inspection / addition unit 28 transfers the frame 14 with the IFCS added thereto to the transfer processing unit 30. The transfer processing unit 30 specifies a transmission destination port based on the destination information in the frame 14. Subsequently, the transfer processing unit 30 transfers the frame 14 toward the specified port.

また、IFCS検査・除去部32は、転送処理部30から転送されたフレーム14中のデータに対して、IFCSに基づくデータの誤りを検査する。IFCS検査・除去部32は、データの誤りを検出した場合、フレーム14を破棄する。一方、データの誤りを検出しなかった場合、IFCS検査・除去部32は、フレーム14をEFCS付加部34へ転送する。そしてEFCS付加部34は、フレーム14中のデータ及びこれに付加されたIFCSに基づいて算出したEFCSをフレーム14に付加する。   The IFCS checking / removal unit 32 checks the data in the frame 14 transferred from the transfer processing unit 30 for data errors based on the IFCS. The IFCS inspection / removal unit 32 discards the frame 14 when detecting an error in data. On the other hand, when no data error is detected, the IFCS inspection / removal unit 32 transfers the frame 14 to the EFCS addition unit 34. Then, the EFCS adding unit 34 adds the EFCS calculated based on the data in the frame 14 and the IFCS added thereto to the frame 14.

ステップS12:エッジ中継装置2の送信部36は、IFCS及びEFCSが付加されたフレーム14を送信先のポートからコア中継装置4へ向けて送信する。   Step S12: The transmission unit 36 of the edge relay apparatus 2 transmits the frame 14 to which IFCS and EFCS are added from the transmission destination port to the core relay apparatus 4.

〔コア中継装置4による転送処理〕
ステップS13:コア中継装置4は、フレーム14を受信すると、EFCS検査部42においてフレーム14に付加されたEFCSに基づいてデータの誤りを検査する。EFCS検査部42は、データの誤りを検出すると、フレーム14を破棄する。一方、データの誤りが検出されなかった場合、EFCS検査部42は、フレーム14に付加されたEFCSを削除したうえで、フレーム14をフレーム転送部44へ転送する。
[Transfer processing by the core relay device 4]
Step S13: When the core relay device 4 receives the frame 14, the EFCS checking unit 42 checks the data error based on the EFCS added to the frame 14. When the EFCS inspection unit 42 detects a data error, the EFCS inspection unit 42 discards the frame 14. On the other hand, if no data error is detected, the EFCS checking unit 42 deletes the EFCS added to the frame 14 and transfers the frame 14 to the frame transfer unit 44.

次に、フレーム転送部44は、フレーム14の宛先情報に基づいて送信先のポートを特定し、これを転送する。なお、このとき、フレーム転送部44は、ヘッダ情報を書換える処理を行っていない。また、EFCS付加部46は、フレーム14中のデータ及びIFCSに基づいてEFCSを算出し、これをフレーム14に付加する。   Next, the frame transfer unit 44 specifies a transmission destination port based on the destination information of the frame 14 and transfers it. At this time, the frame transfer unit 44 does not perform a process of rewriting the header information. Further, the EFCS adding unit 46 calculates an EFCS based on the data in the frame 14 and the IFCS, and adds this to the frame 14.

ステップS14:コア中継装置4の送信部48は、IFCS及びEFCSが付加されたフレーム14を送信先のポートからコア中継装置6へ向けて転送する。   Step S14: The transmission unit 48 of the core relay apparatus 4 transfers the frame 14 with the IFCS and EFCS added from the transmission destination port to the core relay apparatus 6.

〔コア中継装置6による転送処理〕
ステップS15:コア中継装置6は、EFCS検査部52において、受信したフレーム14中のEFCSに基づいて、データの誤りを検査する。EFCS検査部52は、データの誤りを検出した場合、フレーム14を破棄する。一方、データの誤りを検出しなかった場合、EFCS検査部52は、フレーム14中のEFCSを削除した上で、IFCS検査部54へ転送する。
[Transfer processing by the core relay device 6]
Step S15: The core relay device 6 uses the EFCS checking unit 52 to check for data errors based on the received EFCS in the frame. The EFCS checking unit 52 discards the frame 14 when detecting an error in data. On the other hand, if no data error is detected, the EFCS checking unit 52 deletes the EFCS in the frame 14 and transfers it to the IFCS checking unit 54.

次に、IFCS検査部54は、EFCS検査部52から転送されたフレーム14中のデータに対して、IFCSに基づくデータの誤りを検査する。IFCS検査部54は、データの誤りを検出した場合、フレーム14を破棄する。一方、データの誤りを検出しなかった場合、IFCS検査部54は、フレーム14を転送処理部56へ転送する。転送処理部56は、フレーム14中の宛先情報に基づいて送信先のポートを特定する。転送処理部56は、特定したポートへ向けてフレーム14を転送する。   Next, the IFCS checking unit 54 checks the data in the frame 14 transferred from the EFCS checking unit 52 for an error in data based on the IFCS. The IFCS inspection unit 54 discards the frame 14 when detecting an error in data. On the other hand, if no data error is detected, IFCS inspection unit 54 transfers frame 14 to transfer processing unit 56. The transfer processing unit 56 specifies a destination port based on the destination information in the frame 14. The transfer processing unit 56 transfers the frame 14 toward the specified port.

IFCS検査部58は、転送処理部56から転送されたフレーム14中のデータに対して、IFCSに基づくデータの誤りを検査する。IFCS検査部58は、データの誤りを検出した場合、フレーム14を破棄する。一方、データの誤りを検出しなかった場合、IFCS検査部58は、フレーム14をEFCS付加部60へ転送する。EFCS付加部60は、フレーム14中のデータ及びこれに付加されたIFCSに基づいてEFCSを算出し、これをフレーム14に付加する。   The IFCS checking unit 58 checks the data in the frame 14 transferred from the transfer processing unit 56 for data errors based on IFCS. The IFCS inspection unit 58 discards the frame 14 when detecting an error in data. On the other hand, if no data error is detected, IFCS checking unit 58 transfers frame 14 to EFCS adding unit 60. The EFCS adding unit 60 calculates an EFCS based on the data in the frame 14 and the IFCS added thereto, and adds this to the frame 14.

ステップS16:コア中継装置6の送信部62は、IFCS及びEFCSが付加されたフレーム14を送信先のポートからエッジ中継装置8へ向けて送信する。   Step S16: The transmission unit 62 of the core relay device 6 transmits the frame 14 to which IFCS and EFCS are added from the transmission destination port to the edge relay device 8.

〔エッジ中継装置8による転送処理〕
ステップS17:エッジ中継装置8は、EFCS検査部26において、受信したフレーム14中のEFCSに基づいて、データの誤りを検査する。EFCS検査部26は、データの誤りを検出した場合、フレーム14を破棄する。一方、データの誤りを検出しなかった場合、EFCS検査部26は、EFCSを削除した上でフレーム14をIFCS検査・付加部28へ転送する。
[Transfer Processing by Edge Relay Device 8]
Step S17: The edge relay apparatus 8 checks the data error in the EFCS checking unit 26 based on the received EFCS in the frame 14. The EFCS checking unit 26 discards the frame 14 when detecting an error in data. On the other hand, if no data error is detected, the EFCS checking unit 26 deletes the EFCS and transfers the frame 14 to the IFCS checking / adding unit 28.

IFCS検査・付加部28は、EFCS検査部26から転送されたフレーム14中のデータに対して、IFCSに基づくデータの誤りを検査する。IFCS検査・付加部28は、データの誤りを検出した場合、フレーム14を破棄する。一方、データの誤りを検出しなかった場合、IFCS検査・付加部28は、フレーム14を転送処理部30へ転送する。次に、転送処理部30は、フレーム14中の宛先情報に基づいて送信先のポートを特定する。転送処理部30は、特定したポートへ向けてフレーム14を転送する。   The IFCS checking / adding unit 28 checks the data in the frame 14 transferred from the EFCS checking unit 26 for data errors based on the IFCS. The IFCS checking / adding unit 28 discards the frame 14 when detecting an error in the data. On the other hand, if no data error is detected, the IFCS checking / adding unit 28 transfers the frame 14 to the transfer processing unit 30. Next, the transfer processing unit 30 specifies a transmission destination port based on the destination information in the frame 14. The transfer processing unit 30 transfers the frame 14 toward the specified port.

IFCS検査・除去部32は、転送処理部30から転送されたフレーム14に対して、IFCSに基づくデータの誤りを検査する。IFCS検査・除去部32は、データの誤りを検出した場合、フレーム14を破棄する。一方、データの誤りを検出しなかった場合、IFCS検査・除去部32は、フレーム14中のIFCSを除去した上で、フレーム14をEFCS付加部34へ転送する。次に、EFCS付加部34は、フレーム14中のデータに基づいてEFCSを算出し、これをフレーム14に付加する。   The IFCS checking / removal unit 32 checks the frame 14 transferred from the transfer processing unit 30 for data errors based on IFCS. The IFCS inspection / removal unit 32 discards the frame 14 when detecting an error in data. On the other hand, if no data error is detected, the IFCS inspection / removal unit 32 removes the IFCS in the frame 14 and transfers the frame 14 to the EFCS addition unit 34. Next, the EFCS adding unit 34 calculates an EFCS based on the data in the frame 14 and adds this to the frame 14.

ステップS18:エッジ中継装置8の送信部36は、EFCSが付加されたフレーム14を送信先のポートから外部ネットワーク12へ向けて送信する。   Step S18: The transmission unit 36 of the edge relay apparatus 8 transmits the frame 14 to which the EFCS is added from the transmission destination port to the external network 12.

このように、ネットワーク1内においてフレーム14は、EFCSに加えてIFCSが付加された状態で転送される。これにより、IFCSに基づいてデータの誤りを検査する機能を有さない一般的な中継装置がネットワーク1内に配置されていても、IFCSに基づいてデータの誤りを検査する中継装置によって、確実に中継装置内の転送処理で生じたデータの誤りを検出することができる。例えば、IFCSに基づいてデータの誤りを検査する機能を有さないコア中継装置4が行ったフレーム14の転送処理によりデータの誤りが生じた場合、コア中継装置4は、誤りが生じたデータに基づいて算出したEFCSをフレーム14に付加する。このとき、フレーム14中のIFCSはエッジ中継装置2により付加されたものである。したがって、コア中継装置4からフレーム14を受信したコア中継装置6では、データに基づいて算出したIFCSの値とフレーム14中のIFCSとが整合しない。したがって、コア中継装置6は、コア中継装置4による転送処理を通じて生じたデータの誤りを検出することができる。   As described above, the frame 14 is transferred in the network 1 with IFCS added in addition to the EFCS. As a result, even if a general relay apparatus that does not have a function of checking data errors based on IFCS is arranged in the network 1, the relay apparatus that checks data errors based on IFCS can reliably It is possible to detect data errors caused by transfer processing in the relay apparatus. For example, when a data error occurs due to the transfer process of the frame 14 performed by the core relay apparatus 4 that does not have a function of checking the data error based on IFCS, the core relay apparatus 4 changes the data in which the error has occurred. The EFCS calculated based on this is added to the frame 14. At this time, the IFCS in the frame 14 is added by the edge relay apparatus 2. Therefore, in the core relay device 6 that has received the frame 14 from the core relay device 4, the IFCS value calculated based on the data does not match the IFCS in the frame 14. Therefore, the core relay device 6 can detect an error in data generated through the transfer process by the core relay device 4.

〔第2実施形態〕
次に、第2実施形態の中継装置について説明する。
図9は、第2実施形態のフレーム14の構成を概略的に示す図である。第2実施形態では、IFCS領域20がIFCSヘッダ領域74及びIFCSペイロード領域76を有する。
[Second Embodiment]
Next, the relay apparatus of 2nd Embodiment is demonstrated.
FIG. 9 is a diagram schematically showing the configuration of the frame 14 of the second embodiment. In the second embodiment, the IFCS area 20 includes an IFCS header area 74 and an IFCS payload area 76.

IFCSヘッダ領域74には、ヘッダ領域16内のヘッダ情報に基づいて算出されたヘッダ用内部誤り検出符号としてのIFCSヘッダが格納されている。また、IFCSペイロード領域76には、ペイロード領域18内のペイロード情報に基づいて算出されたペイロード用内部誤り検出符号としてのIFCSペイロードが格納されている。   The IFCS header area 74 stores an IFCS header as a header internal error detection code calculated based on the header information in the header area 16. The IFCS payload area 76 stores an IFCS payload as a payload internal error detection code calculated based on the payload information in the payload area 18.

なお、EFCS領域22には、へッダ領域16、ペイロード領域18、及びIFCS領域20に格納されたすべてのデータに基づいて算出されたEFCSが格納される。   The EFCS area 22 stores EFCS calculated based on all data stored in the header area 16, the payload area 18, and the IFCS area 20.

図10は、第2実施形態のエッジ中継装置2,8の機能的な構成を概略的に示すブロック図である。第2実施形態のエッジ中継装置2,8は、IFCS検査・付加部78とIFCS検査・除去部80の機能が第1実施形態と異なる。第2実施形態では、IFCS検査・付加部78及びIFCS検査・除去部80は、フレーム14中のヘッダ情報及びペイロード情報に対して、それぞれIFCSヘッダ及びIFCSペイロードを算出する。   FIG. 10 is a block diagram schematically illustrating a functional configuration of the edge relay apparatuses 2 and 8 according to the second embodiment. The edge relay apparatuses 2 and 8 of the second embodiment are different from those of the first embodiment in the functions of the IFCS inspection / addition unit 78 and the IFCS inspection / removal unit 80. In the second embodiment, the IFCS inspection / addition unit 78 and the IFCS inspection / removal unit 80 calculate an IFCS header and an IFCS payload for the header information and payload information in the frame 14, respectively.

図11は、第2実施形態の転送処理部30の機能的な構成を概略的に示すブロック図である。第2実施形態におけるエッジ中継装置2,8の転送処理部30は、IFCS検査・除去部82とIFCS付加部84の機能が第1実施形態のIFCS検査・除去部66及びIFCS付加部70と異なる。
その他の構成については第1実施形態と共通であり、ここでは共通の構成には図示とともに同じ符号を付し、重複した説明を省略するものとする。
FIG. 11 is a block diagram schematically illustrating a functional configuration of the transfer processing unit 30 according to the second embodiment. In the transfer processing unit 30 of the edge relay apparatuses 2 and 8 in the second embodiment, the functions of the IFCS inspection / removal unit 82 and the IFCS addition unit 84 are different from the IFCS inspection / removal unit 66 and the IFCS addition unit 70 of the first embodiment. .
The other configurations are the same as those in the first embodiment, and here, the same reference numerals are given to the common configurations together with the drawings, and redundant descriptions are omitted.

IFCS検査・付加部78は、フレーム14中のヘッダ情報、及びペイロード情報に対して、それぞれIFCSヘッダ及びIFCSペイロードを算出する。IFCS検査・付加部78は、算出したIFCSヘッダ及びIFCSペイロードをフレーム14に付加して転送処理部30へ転送する。   The IFCS inspection / addition unit 78 calculates an IFCS header and an IFCS payload for the header information and payload information in the frame 14, respectively. The IFCS inspection / addition unit 78 adds the calculated IFCS header and IFCS payload to the frame 14 and transfers the frame 14 to the transfer processing unit 30.

転送処理部30は、非書換え処理部64,72及び書換え処理部68において、フレームの処理を行う。IFCS検査・除去部82は、書換え処理部68がヘッダ情報を書換える処理を実行する前に、フレーム14中のIFCSヘッダ及びIFCSペイロードに基づいてデータの誤りを検査する。IFCS検査・除去部82は、データの誤りを検出した場合、フレーム14を破棄する。一方、データの誤りを検出しなかった場合、IFCS検査・除去部82は、フレーム14中のIFCSヘッダを削除した上で、書換え処理部68へ転送する。   The transfer processing unit 30 performs frame processing in the non-rewrite processing units 64 and 72 and the rewrite processing unit 68. The IFCS check / removal unit 82 checks data errors based on the IFCS header and IFCS payload in the frame 14 before the rewrite processing unit 68 executes the process of rewriting the header information. The IFCS inspection / removal unit 82 discards the frame 14 when detecting an error in data. On the other hand, if no data error is detected, the IFCS inspection / removal unit 82 deletes the IFCS header in the frame 14 and transfers it to the rewrite processing unit 68.

書換え処理部68によりヘッダ情報を書換えた処理の後、IFCS付加部84は、フレーム14中のヘッダ情報に基づいてIFCSヘッダを算出する。IFCS付加部84は、算出したIFCSヘッダをフレーム14に付加する。IFCSヘッダが付加されたフレーム14は、IFCS付加部84から非書換え処理部72を経由してIFCS検査・除去部80へ転送される。   After the process of rewriting the header information by the rewrite processing unit 68, the IFCS adding unit 84 calculates an IFCS header based on the header information in the frame 14. The IFCS adding unit 84 adds the calculated IFCS header to the frame 14. The frame 14 to which the IFCS header is added is transferred from the IFCS addition unit 84 to the IFCS inspection / removal unit 80 via the non-rewrite processing unit 72.

IFCS検査・除去部80では、フレーム14中のIFCSヘッダ及びIFCSペイロードに基づいてヘッダ情報及びペイロード情報の誤りをそれぞれ検査する。IFCS検査・除去部80は、ヘッダ情報及びペイロード情報のいずれかに生じた誤りを検出した場合、フレーム14を破棄する。一方、ヘッダ情報及びペイロード情報の誤りを検出しなかった場合、IFCS検査・除去部80は、フレーム14をEFCS付加部34へ転送する。   The IFCS inspection / removal unit 80 inspects header information and payload information for errors based on the IFCS header and IFCS payload in the frame 14, respectively. The IFCS inspection / removal unit 80 discards the frame 14 when detecting an error occurring in either the header information or the payload information. On the other hand, when no error is detected in the header information and payload information, the IFCS inspection / removal unit 80 transfers the frame 14 to the EFCS addition unit 34.

EFCS付加部34は、フレーム14中のデータ(ヘッダ情報、ペイロード情報)、IFCSヘッダ、及びIFCSペイロードに基づいてEFCSを算出する。EFCS付加部34は、算出したEFCSをフレーム14に付加して送信部36へ転送する。送信部36は、フレーム14を送信先のポートから送信する。   The EFCS adding unit 34 calculates the EFCS based on the data (header information, payload information), the IFCS header, and the IFCS payload in the frame 14. The EFCS adding unit 34 adds the calculated EFCS to the frame 14 and transfers the frame 14 to the transmitting unit 36. The transmission unit 36 transmits the frame 14 from the transmission destination port.

第2実施形態において、図5中に示すコア中継装置6のIFCS検査部54、IFCS検査部58においても、上記のエッジ中継装置2,8と同様に、フレーム14中のIFCSヘッダ及びIFCSペイロードに基づいてヘッダ情報及びペイロード情報の誤りをそれぞれ検査する。また、コア中継装置6の転送処理部56も第2実施形態の転送処理部30と同じ機能的な構成を有する。   In the second embodiment, the IFCS inspection unit 54 and the IFCS inspection unit 58 of the core relay device 6 shown in FIG. 5 also use the IFCS header and IFCS payload in the frame 14 in the same manner as the edge relay devices 2 and 8 described above. Based on this, the header information and payload information are checked for errors. Also, the transfer processing unit 56 of the core relay device 6 has the same functional configuration as the transfer processing unit 30 of the second embodiment.

一般に、転送処理部30においてフレーム14の書換えを行う処理は、ヘッダ情報の書換えのみを行い、ペイロード情報の書換えは行わない。このため、転送処理部30のIFCS検査・除去部82において、IFCSヘッダのみを除去すればよい。また、IFCS付加部84は、IFCSヘッダの算出とフレーム14への付加のみを行えばよい。これにより、IFCS検査・除去部82とIFCS付加部84を構成する回路の規模を縮小することができる。   In general, the process of rewriting the frame 14 in the transfer processing unit 30 only rewrites the header information and does not rewrite the payload information. Therefore, only the IFCS header needs to be removed in the IFCS inspection / removal unit 82 of the transfer processing unit 30. The IFCS adding unit 84 only needs to calculate the IFCS header and add it to the frame 14. Thereby, the scale of the circuits constituting the IFCS inspection / removal unit 82 and the IFCS addition unit 84 can be reduced.

〔第3実施形態〕
次に、第3実施形態の中継装置について説明する。図12は、エッジ中継装置2,8のEFCS検査部26及びIFCS検査・付加部28をCRC回路86基板上に実装した構成を概略的に示すブロック図である。
[Third Embodiment]
Next, the relay apparatus of 3rd Embodiment is demonstrated. FIG. 12 is a block diagram schematically showing a configuration in which the EFCS inspection unit 26 and the IFCS inspection / addition unit 28 of the edge relay apparatuses 2 and 8 are mounted on the CRC circuit 86 substrate.

第1実施形態のEFCS検査部26及びIFCS検査・付加部28は、同一の回路基板上に実装することができる。例えば、EFCS検査部26では、CRC機能を用いて、EFCSに基づくフレーム14中のデータの誤りを検査するとき、フレーム14のヘッダ領域16から順にペイロード領域18を経てIFCS領域20までを計算する。また、IFCS検査・付加部28では、ヘッダ領域16からペイロード領域18までを計算する。したがって、EFCS検査部26及びIFCS検査・付加部28では、ヘッダ領域16からペイロード領域18までを計算する点で共通する。   The EFCS inspection unit 26 and the IFCS inspection / addition unit 28 of the first embodiment can be mounted on the same circuit board. For example, the EFCS checking unit 26 calculates data from the header area 16 of the frame 14 to the IFCS area 20 in order from the header area 16 of the frame 14 when checking an error of data in the frame 14 based on the EFCS using the CRC function. Further, the IFCS inspection / addition unit 28 calculates from the header area 16 to the payload area 18. Therefore, the EFCS inspection unit 26 and the IFCS inspection / addition unit 28 are common in that the header region 16 to the payload region 18 are calculated.

このため、図12中に示すCRC計算部88を用いて、受信したフレーム14のEFCS及びIFCSを一度に計算させることができる。具体的に、CRC計算部88は、受信したフレーム14中のヘッダ領域16からペイロード領域18を経てIFCS領域20までを計算する過程で、ヘッダ領域16からペイロード領域18までの計算結果をIFCS検査・付加部28へ通知するとともに、ヘッダ情報16からペイロード領域18を経てIFCS領域20までの計算結果をEFCS検査部26へ通知する。   Therefore, the EFCS and IFCS of the received frame 14 can be calculated at once using the CRC calculation unit 88 shown in FIG. Specifically, the CRC calculation unit 88 calculates the calculation results from the header area 16 to the payload area 18 in the process of calculating from the header area 16 to the IFCS area 20 through the payload area 18 in the received frame 14. In addition to notifying the adding unit 28, the calculation result from the header information 16 through the payload area 18 to the IFCS area 20 is notified to the EFCS checking unit 26.

このように、同一の回路基板上に、CRC計算部88、EFCS検査部26及びIFCS検査・付加部28を配置することで、フレーム14の転送効率を低下させること無くIFCSを付加することができる。   As described above, by arranging the CRC calculation unit 88, the EFCS inspection unit 26, and the IFCS inspection / addition unit 28 on the same circuit board, the IFCS can be added without reducing the transfer efficiency of the frame 14. .

第3実施形態のCRC回路86は、図3のIFCS検査・除去部32とEFCS付加部34、図5のIFCS検査部54とEFCS検査部52、図5のIFCS検査部58とEFCS付加部60にも適用できる。また、第3実施形態のCRC回路86を第2実施形態に適用し、CRC回路86において、IFCSヘッダ、IFCSペイロード及びEFCSを一度に計算するようにすることもできる。   The CRC circuit 86 according to the third embodiment includes the IFCS inspection / removal unit 32 and the EFCS addition unit 34 in FIG. 3, the IFCS inspection unit 54 and the EFCS inspection unit 52 in FIG. 5, and the IFCS inspection unit 58 and the EFCS addition unit 60 in FIG. It can also be applied to. Also, the CRC circuit 86 of the third embodiment can be applied to the second embodiment, and the CRC circuit 86 can calculate the IFCS header, IFCS payload, and EFCS at a time.

本発明は上述した実施形態に制約されることなく、特許請求の範囲を逸脱しない範囲で種々に変更して実施可能である。例えば、外部ネットワーク10,12は、これらに配置された中継装置が、本発明によりIFCSに基づいて中継装置内の転送処理で生じるデータの誤りを検出する手法を採用していてもよい。   The present invention is not limited to the above-described embodiments, and can be implemented with various modifications without departing from the scope of the claims. For example, the external networks 10 and 12 may employ a technique in which the relay devices arranged in these networks detect data errors caused by the transfer processing in the relay device based on IFCS according to the present invention.

1 ネットワーク
2,8 エッジ中継装置
4,6 コア中継装置
10,12 外部ネットワーク
14 フレーム
16 ヘッダ領域
18 ペイロード領域
20 IFCS領域
28,78 IFCS検査・付加部
30,56 転送処理部
32,80 IFCS検査・除去部
36,62 送信部
64,72 非書換え処理部
66,82 IFCS検査・除去部
68 書換え処理部
70,84 IFCS付加部
74 IFCSヘッダ領域
76 IFCSペイロード領域

1 Network 2, 8 Edge relay device 4, 6 Core relay device 10, 12 External network 14 Frame 16 Header region 18 Payload region 20 IFCS region 28, 78 IFCS inspection / addition unit 30, 56 Transfer processing unit 32, 80 IFCS inspection / Removal unit 36, 62 Transmission unit 64, 72 Non-rewrite processing unit 66, 82 IFCS inspection / removal unit 68 Rewrite processing unit 70, 84 IFCS addition unit 74 IFCS header area 76 IFCS payload area

Claims (4)

ネットワークと外部ネットワークの間でフレームを中継するエッジ中継装置と、
前記ネットワーク内でフレームを中継するコア中継装置と、
を備え、
前記エッジ中継装置は、
受信したフレームに対し、前記外部ネットワークから転送されたフレームの場合、フレーム中のデータに基づいて算出した内部誤り検出符号を付加し、前記ネットワーク内から転送されたフレームの場合、前記内部誤り検出符号に基づいてフレームのデータの誤りを検査する、内部誤り検出符号検査・付加部と、
前記フレームの送信先を特定するための処理を行う転送処理部と、
前記転送処理部において処理が行われた前記フレームに対し、前記内部誤り検出符号に基づいてフレームのデータの誤りを検査し、フレームを前記外部ネットワークへ送信する場合は前記内部誤り検出符号をフレームから除去する、内部誤り検出符号検査・除去部と、
前記フレームを前記ネットワーク内又は前記外部ネットワークへ送信する送信部と、
を備え
前記内部誤り検出符号検査・付加部は、
前記内部誤り検出符号として、フレームのデータとして含まれるヘッダ情報及びペイロード情報に基づいてそれぞれ算出したヘッダ用内部誤り検出符号及びペイロード用内部誤り検出符号をフレームに付加し、
前記転送処理部は、
フレームのデータを書換える処理を行う場合、フレームのデータを書換える処理を行う前に、前記ヘッダ用内部誤り検出符号を除去し、フレームのデータを書換える処理を行った後に、フレームに対して書換え後のデータのヘッダ情報に基づいて算出した前記ヘッダ用内部誤り検出符号を付加する、
ネットワークシステム。
An edge relay device that relays frames between a network and an external network;
A core relay device that relays frames in the network;
With
The edge relay device is:
In the case of a frame transferred from the external network to the received frame, an internal error detection code calculated based on the data in the frame is added, and in the case of a frame transferred from within the network, the internal error detection code An internal error detection code checking / adding unit that checks for frame data errors based on
A transfer processing unit for performing processing for specifying a transmission destination of the frame;
The frame processed in the transfer processing unit is checked for an error in the data of the frame based on the internal error detection code, and when transmitting the frame to the external network, the internal error detection code is An internal error detection code inspection / removal unit to be removed;
A transmitter for transmitting the frame to the network or the external network;
Equipped with a,
The internal error detection code checking / adding unit is
As the internal error detection code, add an internal error detection code for header and an internal error detection code for payload calculated based on header information and payload information included as frame data, respectively, to the frame,
The transfer processing unit
When rewriting the frame data, the header internal error detection code is removed before rewriting the frame data, and the frame data is rewritten before the frame data is rewritten. Add the header internal error detection code calculated based on the header information of the rewritten data,
Network system.
請求項1に記載のネットワークシステムにおいて、
前記コア中継装置は、
前記フレームを受信した場合、前記内部誤り検出符号に基づいてフレームのデータの誤りを検査する第1の内部誤り検出符号検査部と、
前記フレームの送信先を特定するための処理を行う転送処理部と、
前記転送処理部において処理が行われた前記フレームに対し、前記内部誤り検出符号に基づいてフレームのデータの誤りを検査する第2の内部誤り検出符号検査部と、
を備えた、
ネットワークシステム。
The network system according to claim 1,
The core relay device is
When receiving the frame, a first internal error detection code checking unit that checks data error of the frame based on the internal error detection code;
A transfer processing unit for performing processing for specifying a transmission destination of the frame;
A second internal error detection code checking unit for checking an error in data of a frame based on the internal error detection code for the frame processed in the transfer processing unit;
With
Network system.
ネットワークと外部ネットワークの間でフレームを中継する中継装置であって、
受信したフレームに対し、前記外部ネットワークから転送されたフレームの場合、フレーム中のデータに基づいて算出した内部誤り検出符号を付加し、前記ネットワーク内から転送されたフレームの場合、前記内部誤り検出符号に基づいてフレームのデータの誤りを検査する、内部誤り検出符号検査・付加部と、
前記フレームの送信先を特定するための処理を行う転送処理部と、
前記転送処理部において処理が行われた前記フレームに対し、前記内部誤り検出符号に基づいてフレームのデータの誤りを検査し、フレームを前記外部ネットワークへ送信する場合は前記内部誤り検出符号をフレームから除去する、内部誤り検出符号検査・除去部と、
前記フレームを前記ネットワーク内又は前記外部ネットワークへ送信する送信部と、
を備え
前記内部誤り検出符号検査・付加部は、
前記内部誤り検出符号として、フレームのデータとして含まれるヘッダ情報及びペイロード情報に基づいてそれぞれ算出したヘッダ用内部誤り検出符号及びペイロード用内部誤り検出符号をフレームに付加し、
前記転送処理部は、
フレームのデータを書換える処理を行う場合、フレームのデータを書換える処理を行う前に、前記ヘッダ用内部誤り検出符号を除去し、フレームのデータを書換える処理を行った後に、フレームに対して書換え後のデータのヘッダ情報に基づいて算出した前記ヘッダ用内部誤り検出符号を付加する、
中継装置。
A relay device that relays frames between a network and an external network,
In the case of a frame transferred from the external network to the received frame, an internal error detection code calculated based on the data in the frame is added, and in the case of a frame transferred from within the network, the internal error detection code An internal error detection code checking / adding unit that checks for frame data errors based on
A transfer processing unit for performing processing for specifying a transmission destination of the frame;
The frame processed in the transfer processing unit is checked for an error in the data of the frame based on the internal error detection code, and when transmitting the frame to the external network, the internal error detection code is An internal error detection code inspection / removal unit to be removed;
A transmitter for transmitting the frame to the network or the external network;
Equipped with a,
The internal error detection code checking / adding unit is
As the internal error detection code, add an internal error detection code for header and an internal error detection code for payload calculated based on header information and payload information included as frame data, respectively, to the frame,
The transfer processing unit
When rewriting the frame data, the header internal error detection code is removed before rewriting the frame data, and the frame data is rewritten before the frame data is rewritten. Add the header internal error detection code calculated based on the header information of the rewritten data,
Relay device.
フレームのデータに基づいて算出した内部誤り検出符号と、フレームのデータと前記内部誤り検出符号に基づいて算出した外部誤り検出符号とを付加したフレームを中継するネットワーク内で、フレームを中継する中継装置であって、
前記フレームを受信した場合、前記内部誤り検出符号に基づいてフレームのデータの誤りを検査する第1の内部誤り検出符号検査部と、
前記フレームの送信先を特定するための処理を行う転送処理部と、
前記転送処理部において処理が行われた前記フレームに対し、前記内部誤り検出符号に基づいてフレームのデータの誤りを検査する第2の内部誤り検出符号検査部と、
を備え
前記内部誤り検出符号として、フレームのデータとして含まれるヘッダ情報及びペイロード情報に基づいてそれぞれ算出したヘッダ用内部誤り検出符号及びペイロード用内部誤り検出符号がフレームに付加されており、
前記転送処理部は、
フレームのデータを書換える処理を行う場合、フレームのデータを書換える処理を行う前に、前記ヘッダ用内部誤り検出符号を除去し、フレームのデータを書換える処理を行った後に、フレームに対して書換え後のデータのヘッダ情報に基づいて算出した前記ヘッダ用内部誤り検出符号を付加する、
中継装置。
Relay device that relays a frame in a network that relays a frame to which an internal error detection code calculated based on frame data and a frame data and an external error detection code calculated based on the internal error detection code are relayed Because
When receiving the frame, a first internal error detection code checking unit that checks data error of the frame based on the internal error detection code;
A transfer processing unit for performing processing for specifying a transmission destination of the frame;
A second internal error detection code checking unit for checking an error in data of a frame based on the internal error detection code for the frame processed in the transfer processing unit;
Equipped with a,
As the internal error detection code, an internal error detection code for header and an internal error detection code for payload calculated based on header information and payload information included as frame data are added to the frame,
The transfer processing unit
When rewriting the frame data, the header internal error detection code is removed before rewriting the frame data, and the frame data is rewritten before the frame data is rewritten. Add the header internal error detection code calculated based on the header information of the rewritten data,
Relay device.
JP2010266403A 2010-11-30 2010-11-30 Network system and relay device Expired - Fee Related JP5527614B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010266403A JP5527614B2 (en) 2010-11-30 2010-11-30 Network system and relay device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010266403A JP5527614B2 (en) 2010-11-30 2010-11-30 Network system and relay device

Publications (2)

Publication Number Publication Date
JP2012119837A JP2012119837A (en) 2012-06-21
JP5527614B2 true JP5527614B2 (en) 2014-06-18

Family

ID=46502218

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010266403A Expired - Fee Related JP5527614B2 (en) 2010-11-30 2010-11-30 Network system and relay device

Country Status (1)

Country Link
JP (1) JP5527614B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015080030A (en) * 2013-10-15 2015-04-23 東日本電信電話株式会社 Code error detection system, code error detection method and computer program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0311838A (en) * 1989-06-09 1991-01-21 Fujitsu Ltd Data check system for remote bridge communication
JP5283496B2 (en) * 2008-12-22 2013-09-04 三菱電機株式会社 LAN relay device

Also Published As

Publication number Publication date
JP2012119837A (en) 2012-06-21

Similar Documents

Publication Publication Date Title
JP4308297B2 (en) Communication device and switch processing device
JP3307508B2 (en) Communication network configuration detection method
US7640480B2 (en) Detection of errors in the communication of data
US7817565B2 (en) Method of data integrity control in an AFDX network
US20200410785A1 (en) On-vehicle communication system, switch device, communication control method, and communication control program
US8665754B2 (en) Path generating method, relay device, and computer product
JP5889218B2 (en) Data transfer apparatus and data transfer method
EP4106267A1 (en) Communication system and communication method for reporting compromised state in one-way transmission
CN105637811A (en) Semantic deduplication
US7559006B2 (en) Method and system for incorporating non-redundant components in a redundant system in a communications network
JP5527614B2 (en) Network system and relay device
JP2009253464A (en) Gateway device and gateway method
US20230147005A1 (en) Onboard device and sleep control method
WO2019025835A1 (en) Crc error location detection in automatic cut-through and store-and-forward switching
KR101442963B1 (en) Communication device and communication method
JP5367002B2 (en) Monitoring server and monitoring program
US11115304B2 (en) Transfer device and frame transfer method
JP7147403B2 (en) repeater
JP4887018B2 (en) Loop detection and avoidance function with redundant line function
JP6162996B2 (en) Network control apparatus and method
JP2002300138A (en) Method and device for monitoring parallel signal error
CN104994017A (en) Network router including data packet receiving module
CN117439923A (en) Processing method of link error code and related network equipment
US20140040684A1 (en) System for packet communication and communication method
JP2004234183A (en) Bus check method and system for computer controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130215

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20131031

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131217

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20131218

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140214

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140402

R150 Certificate of patent or registration of utility model

Ref document number: 5527614

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R371 Transfer withdrawn

Free format text: JAPANESE INTERMEDIATE CODE: R371

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees