JP2003324438A - Ethernet(r) communication device - Google Patents
Ethernet(r) communication deviceInfo
- Publication number
- JP2003324438A JP2003324438A JP2002132835A JP2002132835A JP2003324438A JP 2003324438 A JP2003324438 A JP 2003324438A JP 2002132835 A JP2002132835 A JP 2002132835A JP 2002132835 A JP2002132835 A JP 2002132835A JP 2003324438 A JP2003324438 A JP 2003324438A
- Authority
- JP
- Japan
- Prior art keywords
- link
- data
- unit
- communication device
- reception
- 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.)
- Granted
Links
- 238000004891 communication Methods 0.000 title claims abstract description 48
- 230000005856 abnormality Effects 0.000 claims abstract description 47
- 230000002159 abnormal effect Effects 0.000 claims abstract description 5
- 230000005540 biological transmission Effects 0.000 claims description 56
- 238000006243 chemical reaction Methods 0.000 description 30
- 238000001514 detection method Methods 0.000 description 28
- 238000005538 encapsulation Methods 0.000 description 17
- 238000010586 diagram Methods 0.000 description 6
- 230000002776 aggregation Effects 0.000 description 3
- 238000004220 aggregation Methods 0.000 description 3
- 238000000034 method Methods 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 2
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、イーサネット通信
装置に関し、特に、専用線に使用可能なイーサネット通
信装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an Ethernet communication device, and more particularly to an Ethernet communication device usable for a leased line.
【0002】[0002]
【従来の技術】従来、イーサネットはLANのインタフ
ェースとして用いられてきた。しかし、近年のデータ通
信の増大により、イーサネットを専用線的に用いた通信
形態が要求されるようになってきている。専用線は伝送
路の信頼性が高いことが要求されるが、イーサネットイ
ンタフェースを用いた通信装置にも信頼性が要求される
ようになっている。2. Description of the Related Art Conventionally, Ethernet has been used as a LAN interface. However, with the recent increase in data communication, a communication mode using Ethernet as a dedicated line has been required. Although the leased line is required to have high reliability of the transmission line, the reliability is also required for the communication device using the Ethernet interface.
【0003】そのため、イーサネットインタフェースを
対象とした冗長構成手段は、IEEE802.3等にて
制定されている。これらによれば、リンクアグリゲーシ
ョンやスパニングツリーにより、イーサネットインタフ
ェースの冗長構成が実現可能である。Therefore, the redundant configuration means for the Ethernet interface is established in IEEE802.3 and the like. According to these, the redundant configuration of the Ethernet interface can be realized by the link aggregation and the spanning tree.
【0004】スパニングツリーによれば、通信装置は、
パケット転送先の装置までのルートが複数ある場合に、
通常時にはそのうちの1ルートだけを生かしておき、そ
のルートに障害が発生したとき他のルートに切り替え
る。According to the spanning tree, the communication device
If there are multiple routes to the packet transfer destination device,
Normally, only one of the routes is kept alive, and when a failure occurs in that route, it is switched to another route.
【0005】また、リンクアグリゲーションによれば、
通信装置は、複数の物理リンクを束ねて1つの論理リン
クとすることにより、論理リンクの中の1つの物理リン
クに障害が発生しても通信を維持することができる。Further, according to link aggregation,
By bundling a plurality of physical links into one logical link, the communication device can maintain communication even if one physical link in the logical links fails.
【0006】[0006]
【発明が解決しようとする課題】スパニングツリーやリ
ンクアグリゲーションを実行するために、通信装置は複
雑なプロトコル処理を要求される。そのため、これらを
用いた方法は、経路の切り替え時間が長いという問題を
有していた。また、複雑なプロトコル処理を実行するた
めに、通信装置の処理能力が圧迫されていた。In order to execute spanning tree or link aggregation, communication devices are required to perform complicated protocol processing. Therefore, the method using these has a problem that the switching time of the route is long. Further, the processing capacity of the communication device has been under pressure in order to execute complicated protocol processing.
【0007】本発明の目的は、複雑なプロトコル処理を
必要とせず、切り替え時間の短い冗長構成を有する通信
装置を提供することである。An object of the present invention is to provide a communication device which does not require complicated protocol processing and has a redundant configuration with a short switching time.
【0008】[0008]
【課題を解決するための手段】上記目的を達成するため
に、本発明のイーサネット通信装置は、2つのリンクに
接続されたイーサネット通信装置であって、障害情報か
ら前記各リンクの状態が正常であるか異常であるか判定
するリンク異常判定手段と、前記リンク異常判定手段の
判定結果を用いて、受信データを取得するリンクを選択
する切替制御手段と、前記各リンクに対応して接続され
該リンクによりデータを送受信しており、対応する該リ
ンクが、受信データを取得するリンクとして前記切替制
御手段により選択されると、該リンクから受信したデー
タを受信データとして取り出し、該リンクの障害を検出
すると前記障害情報を前記リンク異常判定手段に通知す
る2つの送受信手段とを有している。In order to achieve the above object, the Ethernet communication device of the present invention is an Ethernet communication device connected to two links, and the failure information indicates that the status of each link is normal. There is a link abnormality determining unit that determines whether there is an abnormality, a switching control unit that uses the determination result of the link abnormality determining unit to select a link for acquiring received data, When data is transmitted and received by a link, and the corresponding link is selected by the switching control means as a link for acquiring the received data, the data received from the link is taken out as the received data and the failure of the link is detected. Then, it has two transmitting / receiving means for notifying the failure information to the link abnormality determining means.
【0009】本発明によれば、リンク異常の発生を契機
に、有効なリンクの選択が変更される。According to the present invention, the selection of valid links is changed upon the occurrence of a link abnormality.
【0010】本発明のイーサネット通信装置において、
2つの前記送受信手段は、対応する前記リンクが、受信
データを取得するリンクとして前記切替制御手段により
選択されているか否かにかかわらず、対応する前記リン
クに同一のデータを送信してもよい。In the Ethernet communication device of the present invention,
The two transmission / reception units may transmit the same data to the corresponding links regardless of whether or not the corresponding links are selected by the switching control unit as the links for acquiring the reception data.
【0011】本発明によれば、2つのリンクに同一デー
タが送信されているので、リンク異常を検出した受信側
装置だけで、有効なリンクの選択を変更できる。According to the present invention, since the same data is transmitted to the two links, the effective link selection can be changed only by the receiving side device which has detected the link abnormality.
【0012】また、ユーザにより選択された二重化また
は一重化のいずれかを前記切替制御手段および前記送受
信手段に通知する二重化状態設定手段をさらに有し、前
記切替制御手段は、前記二重化状態設定手段から一重化
を通知されると動作を停止し、二重化を通知されると動
作し、前記送受信手段は、前記二重化状態設定手段から
二重化を通知されると、2つの前記送受信手段が同一の
データを送信し、対応する前記リンクが受信データを取
得するリンクとして選択された一方の前記送受信手段が
受信データを取得し、一重化を通知されると、2つの前
記送受信手段が、互いに異なるデータをそれぞれ送信
し、前記リンク毎に異なる受信データをそれぞれ取得す
ることとしてもよい。Further, there is further provided a duplication status setting means for notifying the switching control means and the transmission / reception means of either duplication or unification selected by the user, and the switching control means is provided from the duplication status setting means. When the duplexing is notified from the duplexing state setting means, the operation is stopped when the duplexing is notified, and when the duplexing is notified from the duplexing state setting means, the two transmitting / receiving means transmit the same data. Then, when one of the transmission / reception means selected as the link for acquiring the reception data receives the reception data and is notified of the unification, the two transmission / reception means respectively transmit different data. However, different reception data may be acquired for each link.
【0013】本発明のイーサネット通信装置は、二重化
状態設定手段から通知されたユーザ設定情報に従って切
替制御手段および送受信手段が動作を選択することによ
り、2つのリンクを二重化するか、一重化の2つのリン
クとするかを切り替えることができる。In the Ethernet communication apparatus of the present invention, the switching control means and the transmission / reception means select the operation according to the user setting information notified from the duplexing state setting means, so that the two links are duplexed or singled. You can switch whether to use as a link.
【0014】本発明のイーサネット通信装置は、ユーザ
により設定された閾値を前記リンク異常判定手段に通知
するリンク異常閾値設定手段をさらに有し、前記リンク
異常判定手段は、前記障害情報から前記各リンクの状態
が正常であるか異常であるか判定するとき前記閾値を用
いることとしてもよい。The Ethernet communication device of the present invention further comprises link abnormality threshold setting means for notifying the link abnormality determining means of the threshold value set by the user, and the link abnormality determining means uses the failure information for each of the links. The threshold value may be used when determining whether the state is normal or abnormal.
【0015】本発明によれば、リンク異常判定手段が、
リンク異常閾値設定手段から通知されたユーザ設定の閾
値を用いてリンク異常を判定することができる。According to the present invention, the link abnormality determining means is
The link abnormality can be determined using the threshold set by the user notified from the link abnormality threshold setting means.
【0016】本発明のイーサネット通信装置において、
前記送受信手段はリンク断を前記障害として検出するこ
とが好ましい。In the Ethernet communication device of the present invention,
It is preferable that the transmission / reception unit detect a disconnection of the link as the failure.
【0017】また、前記送受信手段は、デカプセル化に
おけるCRCエラーを前記障害として検出することが好
ましい。Further, it is preferable that the transmitting / receiving means detects a CRC error in decapsulation as the fault.
【0018】本発明のイーサネット通信装置において、
前記送受信手段は、前記リンクから受信したデータを回
線クロックに同期してFIFOに蓄積し、内部クロック
に同期して前記FIFOから前記データを読出して前記
受信データとして取得するとしてもよい。In the Ethernet communication device of the present invention,
The transmission / reception unit may store the data received from the link in the FIFO in synchronization with the line clock, read the data from the FIFO in synchronization with the internal clock, and obtain the reception data.
【0019】さらに、前記内部クロックは前記回線クロ
ックの2倍以上の速度であることが好ましい。Further, it is preferable that the internal clock has a speed twice or more the speed of the line clock.
【0020】[0020]
【発明の実施の形態】本発明の一実施形態について図面
を参照して詳細に説明する。BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described in detail with reference to the drawings.
【0021】図1は、本発明の一実施形態の通信装置の
構成を示すブロック図である。図1を参照すると、通信
装置1は、0系送受信部10、1系送受信部30、バス
制御部41、リンク異常判定部51および切替制御部5
2を有している。0系送受信部10と1系送受信部30
とは、リンクと通信装置の送受信機能を二重化してい
る。FIG. 1 is a block diagram showing the configuration of a communication device according to an embodiment of the present invention. Referring to FIG. 1, the communication device 1 includes a 0-system transmitting / receiving unit 10, a 1-system transmitting / receiving unit 30, a bus control unit 41, a link abnormality determination unit 51, and a switching control unit 5.
Have two. 0 system transmitter / receiver 10 and 1 system transmitter / receiver 30
Means that the link and the transmission / reception function of the communication device are duplicated.
【0022】0系送受信部10は、送信物理インタフェ
ース11、符号化逆変換部12、フレームカプセル化部
13、受信物理インタフェース14、リンク断検出部1
5、符号化変換部16、フレームデカプセル化部17お
よびタイミング調整部18を有している。送信物理イン
タフェース11、符号化逆変換部12、フレームカプセ
ル化部13、受信物理インタフェース14、リンク断検
出部15、符号化変換部16およびフレームデカプセル
化部17によって、IEEE802.3により規定され
ているPHY、PMD、PMA、PCSの機能が実現さ
れている。The 0-system transmission / reception unit 10 includes a transmission physical interface 11, an encoding / inverse conversion unit 12, a frame encapsulation unit 13, a reception physical interface 14, and a link break detection unit 1.
5, a coding conversion unit 16, a frame decapsulation unit 17, and a timing adjustment unit 18. The transmission physical interface 11, the encoding deconversion unit 12, the frame encapsulation unit 13, the reception physical interface 14, the link disconnection detection unit 15, the encoding conversion unit 16, and the frame decapsulation unit 17 define by IEEE802.3. The functions of the existing PHY, PMD, PMA, and PCS are realized.
【0023】同様に、1系送受信部30は、送信物理イ
ンタフェース31、符号化逆変換部32、フレームカプ
セル化部33、受信物理インタフェース34、リンク断
検出部35、符号化変換部36、フレームデカプセル化
部37およびタイミング調整部38を有している。Similarly, the 1-system transmission / reception unit 30 includes a transmission physical interface 31, an encoding inverse conversion unit 32, a frame encapsulation unit 33, a reception physical interface 34, a link break detection unit 35, an encoding conversion unit 36, a frame conversion unit. It has an encapsulation unit 37 and a timing adjustment unit 38.
【0024】フレームカプセル化部13は、タイミング
調整部18からのデータ114をイーサネットフレーム
にカプセル化し、符号化逆変換部12に送信する。カプ
セル化の処理は、プリアンブルの付与、CRC演算およ
びFDCの付与などである。The frame encapsulation unit 13 encapsulates the data 114 from the timing adjustment unit 18 into an Ethernet frame and sends it to the encoding inverse conversion unit 12. The encapsulation processing includes preamble addition, CRC calculation, and FDC addition.
【0025】同様に、フレームカプセル化部33は、タ
イミング調整部38からのデータ134のイーサネット
フレームにカプセル化し、符号化逆変換部32に送信す
る。Similarly, the frame encapsulation unit 33 encapsulates the data 134 from the timing adjustment unit 38 into an Ethernet frame and sends it to the encoding / inverse conversion unit 32.
【0026】符号化逆変換部12は、フレームカプセル
化部13でカプセル化されたイーサネットフレームのデ
ータ113を受信し、4B/5B変換して送信物理イン
タフェース11に送信する。The encoding / inverse conversion unit 12 receives the Ethernet frame data 113 encapsulated in the frame encapsulation unit 13, converts it to 4B / 5B, and transmits it to the transmission physical interface 11.
【0027】同様に、符号化逆変換部32は、フレーム
カプセル化部33でカプセル化されたイーサネットフレ
ームのデータ133を受信し、4B/5B変換して送信
物理インタフェース31に送信する。Similarly, the encoding / inverse conversion unit 32 receives the Ethernet frame data 133 encapsulated by the frame encapsulation unit 33, converts it into 4B / 5B, and transmits it to the transmission physical interface 31.
【0028】送信物理インタフェース11は、符号化逆
変換部113で4B/5B変換されたデータ112を受
信してイーサネットの回線111に送信する。The transmission physical interface 11 receives the data 112 that has been 4B / 5B converted by the encoding / inverse conversion unit 113 and transmits it to the Ethernet line 111.
【0029】同様に、送信物理インタフェース31は、
符号化逆変換部133で4B/5B変換されたデータ1
32を受信してイーサネットの回線131に送信する。Similarly, the transmission physical interface 31 is
Data 1 which has been 4B / 5B converted by the encoding inverse conversion unit 133
32 is received and transmitted to the Ethernet line 131.
【0030】受信物理インタフェース14は、回線11
6からデータを受信し、リンク断検出部15に送信す
る。The receiving physical interface 14 is the line 11
The data is received from 6 and transmitted to the link disconnection detecting unit 15.
【0031】同様に、受信物理インタフェース34は、
回線136からデータを受信し、リンク断検出部35に
送信する。Similarly, the receiving physical interface 34 is
The data is received from the line 136 and transmitted to the link disconnection detecting unit 35.
【0032】リンク断検出部15は、受信物理インタフ
ェース14から受信したデータ117によってリンク断
検出を行うと共に、そのデータを符号化変換器16に送
信する。また、リンク断検出部15は、リンク断を検出
すると、リンク断検出信号151をリンク異常判定部5
1に送信する。The link break detection unit 15 detects a link break by the data 117 received from the reception physical interface 14, and transmits the data to the coding converter 16. When the link break detection unit 15 detects a link break, the link break detection signal 151 outputs the link break detection signal 151.
Send to 1.
【0033】同様に、リンク断検出部35は、受信物理
インタフェース34から受信したデータ137によって
リンク断検出を行うと共に、そのデータを符号化変換器
36に符号化変換器36に送信する。また、リンク断検
出部35は、リンク断を検出すると、リンク断検出信号
152をリンク異常判定部51に送信する。Similarly, the link break detection unit 35 detects the link break by the data 137 received from the reception physical interface 34, and transmits the data to the coding converter 36. Further, when the link disconnection detection unit 35 detects the link disconnection, it transmits a link disconnection detection signal 152 to the link abnormality determination unit 51.
【0034】符号化変換部16は、リンク断検出部15
からのデータ118を5B/4B変換してフレームデカ
プセル化部17に送信する。The encoding conversion unit 16 includes a link disconnection detection unit 15
The data 118 from is converted to 5B / 4B and transmitted to the frame decapsulation unit 17.
【0035】同様に、符号化変換部36は、リンク断検
出部35からのデータ138を5B/4B変換してフレ
ームデカプセル化部37に送信する。Similarly, the encoding conversion unit 36 performs 5B / 4B conversion on the data 138 from the link disconnection detection unit 35 and transmits it to the frame decapsulation unit 37.
【0036】フレームデカプセル化部17は、符号化変
換部16で4B/5B変換されたデータ119のイーサ
ネットフレームをデカプセル化してタイミング調整部1
8に送信する。デカプセル化の処理はCRCエラー検出
を含んでいる。CRCエラーは、フレームのデータをC
RC演算した結果と、フレームに付与されているCRC
値とを比較することにより検出される。フレームデカプ
セル化部17、37は、CRCエラーを検出すると、C
RCエラー検出信号153をリンク異常判定部51に送
信する。The frame decapsulation unit 17 decapsulates the Ethernet frame of the data 119, which has been 4B / 5B converted by the encoding conversion unit 16, and performs the timing adjustment unit 1.
Send to 8. The decapsulation process includes CRC error detection. The CRC error is the C
Result of RC operation and CRC added to frame
It is detected by comparing with the value. When the frame decapsulation units 17 and 37 detect the CRC error, the C
The RC error detection signal 153 is transmitted to the link abnormality determination unit 51.
【0037】同様に、フレームデカプセル化部37は、
符号化変換部36で4B/5B変換されたデータ139
のイーサネットフレームをデカプセル化してタイミング
調整部38に送信する。フレームデカプセル化部37
は、CRCエラーを検出すると、CRCエラー検出信号
154をリンク異常判定部51に送信する。Similarly, the frame decapsulation unit 37 is
Data 139 that has been 4B / 5B converted by the encoding conversion unit 36
The Ethernet frame is decapsulated and transmitted to the timing adjustment unit 38. Frame decapsulation unit 37
When detecting a CRC error, sends a CRC error detection signal 154 to the link abnormality determination unit 51.
【0038】リンク異常判定部51は、リンク断検出信
号151、152およびCRCエラー検出信号153、
154から、回線116、136のリンク断またはCR
Cエラーを取得し、各リンクの状態を含むリンク状態信
号155を切替制御部52に送信する。リンクの状態と
は、正常状態や、リンク断またはCRCエラーによるリ
ンク異常状態である。The link abnormality determining section 51 has the link disconnection detection signals 151 and 152 and the CRC error detection signal 153.
From 154, disconnection of line 116, 136 or CR
The C error is acquired, and the link status signal 155 including the status of each link is transmitted to the switching control unit 52. The link status is a normal status or a link abnormal status due to a link disconnection or a CRC error.
【0039】切替制御部52は、リンク異常判定部51
からのリンク状態信号155を受信し、各リンクの状態
と、自身が管理している運用系情報から、いずれの系を
運用系とすべきか判断する。そして、切替制御部52
は、運用系とすべき系のタイミング調整部にタイミング
制御信号を送信する。運用系情報とは、現在どちらの系
が運用系であるかを含む情報である。また、タイミング
制御信号とは、タイミング制御の実行を指示するための
信号であり、すなわち運用系を示す信号である。0系を
運用系とすべきとき、タイミング制御部52は、タイミ
ング調整部18にタイミング制御信号156を送信す
る。また、1系を運用系とすべきとき、タイミング制御
部52は、タイミング調整部38にタイミング制御信号
157を送信する。The switching control unit 52 includes a link abnormality determination unit 51.
The link status signal 155 is received, and it is determined which system should be the active system from the status of each link and the active system information managed by itself. Then, the switching control unit 52
Sends a timing control signal to the timing adjustment unit of the system that should be the active system. The active system information is information including which system is currently the active system. The timing control signal is a signal for instructing execution of timing control, that is, a signal indicating an active system. When the 0 system is to be the active system, the timing control unit 52 transmits the timing control signal 156 to the timing adjustment unit 18. Further, when the first system is to be the active system, the timing control unit 52 transmits the timing control signal 157 to the timing adjustment unit 38.
【0040】いずれの系を運用系とすべきかの判断は、
原則として、リンク断とCRCエラーのどちらも発生し
ていない系を運用系とする。これは、リンク状態信号1
55のみから判断可能である。また、両系にCRCエラ
ーが発生したとき、切替制御部52は、一例として、現
状の運用系を維持する。この判断に運用系情報が利用さ
れる。The determination of which system should be the active system is
As a general rule, the system in which neither link disconnection nor CRC error has occurred is the active system. This is the link status signal 1
It can be judged only from 55. When a CRC error occurs in both systems, the switching control unit 52 maintains the current operating system as an example. The operational information is used for this determination.
【0041】タイミング調整部18は、タイミング制御
信号156を受信しているときのみ、フレームデカプセ
ル化部17から受信したデータ120をタイミング調整
し、バス制御部41に送信する。受信物理インタフェー
ス14からフレームデカプセル化部17までの各部は、
回線クロック201に同期しており、バス制御部41
は、内部クロック202に同期している。タイミング調
整とは、それらクロック間で、データを乗せ換えること
である。内部クロック202は、回線クロック201の
2倍以上の速度である。The timing adjustment unit 18 adjusts the timing of the data 120 received from the frame decapsulation unit 17 only when receiving the timing control signal 156, and transmits it to the bus control unit 41. Each unit from the reception physical interface 14 to the frame decapsulation unit 17 is
In synchronization with the line clock 201, the bus control unit 41
Are synchronized with the internal clock 202. Timing adjustment is to transfer data between these clocks. The internal clock 202 is twice as fast as the line clock 201.
【0042】また、タイミング調整部18は、タイミン
グ制御信号156を受信していないときには、データを
バス制御部41に送信しない。The timing adjusting section 18 does not transmit data to the bus controlling section 41 when the timing control signal 156 is not received.
【0043】また、タイミング調整部18は、常時、バ
ス制御部41からデータ115を受信し、回線クロック
201にタイミング調整してフレームカプセル化部13
に送信する。Further, the timing adjusting section 18 always receives the data 115 from the bus controlling section 41, adjusts the timing to the line clock 201, and then the frame encapsulating section 13
Send to.
【0044】同様に、タイミング調整部38は、タイミ
ング制御信号157を受信しているときのみ、フレーム
デカプセル化部37から受信したデータ140を受信し
てタイミング調整し、バス制御部41に送信する。受信
物理インタフェース34からフレームデカプセル化部3
7までの各部は、回線クロック201に同期している。Similarly, the timing adjustment unit 38 receives the data 140 received from the frame decapsulation unit 37, adjusts the timing, and transmits the data 140 to the bus control unit 41 only when receiving the timing control signal 157. . From the reception physical interface 34 to the frame decapsulation unit 3
Each unit up to 7 is synchronized with the line clock 201.
【0045】また、タイミング調整部38は、タイミン
グ制御信号157を受信していないときには、データを
バス制御部41に送信しない。The timing adjusting section 38 does not transmit data to the bus control section 41 when the timing control signal 157 is not received.
【0046】また、タイミング調整部38は、常時、バ
ス制御部41からデータ135を受信し、回線クロック
201にタイミング調整してフレームカプセル化部33
に送信する。The timing adjusting unit 38 always receives the data 135 from the bus control unit 41, adjusts the timing to the line clock 201, and then the frame encapsulating unit 33.
Send to.
【0047】バス制御部41は、タイミング調整部1
8、38からのデータ121、141を受信し、受信デ
ータ142として出力する。タイミング調整部18から
のデータ121と、タイミング調整部38からのデータ
141とが同時に受信されることはなく、いずれか一方
が受信される。バス制御部41は、受信されたいずれか
一方のデータを受信データ142としてスイッチ部(不
図示)に送信する。The bus control unit 41 includes the timing adjustment unit 1
The data 121 and 141 from 8 and 38 are received and output as the reception data 142. The data 121 from the timing adjustment unit 18 and the data 141 from the timing adjustment unit 38 are not received at the same time, but only one of them is received. The bus control unit 41 transmits one of the received data as reception data 142 to a switch unit (not shown).
【0048】また、バス制御部41は、スイッチ部から
受信した同じデータを、0系のタイミング調整部18
と、1系のタイミング調整部38の双方に送信する。こ
れにより、対向装置の受信部において、イーサネットフ
レームを取り込む系の選択を変更するだけで、即座に運
用系を切り替えることが可能となっている。Further, the bus control unit 41 uses the same data received from the switch unit as the 0-system timing adjustment unit 18
And the timing adjustment unit 38 of the first system. As a result, in the receiving unit of the opposite device, it is possible to immediately switch the operating system only by changing the selection of the system that captures the Ethernet frame.
【0049】図2は、本実施形態のタイミング調整部1
8の構成を示すブロック図である。タイミング調整部3
8も同様の構成である。図2を参照すると、タイミング
調整部18は、送信データ書込込制御部63、FIFO
62、送信データ読出制御部61、受信データ書込部6
4、FIFO65、受信データ読出制御部66を有して
いる。送信データ書込込制御部63、FIFO62およ
び送信データ読出制御部61が送信側を構成し、受信デ
ータ書込部64、FIFO65および受信データ読出制
御部66が受信部を構成している。FIG. 2 shows the timing adjusting section 1 of this embodiment.
8 is a block diagram showing a configuration of No. 8. Timing adjustment unit 3
8 has the same configuration. Referring to FIG. 2, the timing adjustment unit 18 includes a transmission data writing control unit 63 and a FIFO.
62, a transmission data read control unit 61, a reception data writing unit 6
4, a FIFO 65, and a reception data read control unit 66. The transmission data writing control unit 63, the FIFO 62 and the transmission data reading control unit 61 constitute the transmitting side, and the reception data writing unit 64, the FIFO 65 and the reception data reading control unit 66 constitute the receiving unit.
【0050】送信データ読出制御部61と受信データ書
込制御部64には、回線クロック201が与えられてお
り、送信データ書込部63と受信データ読出部66に
は、内部クロック202とタイミング制御信号156が
与えられている。The transmission data read control unit 61 and the reception data write control unit 64 are supplied with the line clock 201, and the transmission data writing unit 63 and the reception data read unit 66 are supplied with the internal clock 202 and timing control. Signal 156 is provided.
【0051】送信データ書込制御部63は、内部クロッ
ク202に同期して動作している。送信データ書込制御
部63は、バス制御部41からデータ115を受信し、
そのデータを内部クロック202によりFIFO62に
書き込む。The transmission data write control unit 63 operates in synchronization with the internal clock 202. The transmission data writing control unit 63 receives the data 115 from the bus control unit 41,
The data is written to the FIFO 62 by the internal clock 202.
【0052】送信データ読出制御部61は、回線クロッ
ク201に同期して動作している。送信データ読出制御
部61は、回線クロック201によりFIFO62から
データを読出し、そのデータをデータ114としてフレ
ームカプセル化部13に送信する。The transmission data read control unit 61 operates in synchronization with the line clock 201. The transmission data read control unit 61 reads data from the FIFO 62 according to the line clock 201 and sends the data as data 114 to the frame encapsulation unit 13.
【0053】受信データ書込制御部64は、回線クロッ
ク201に同期して動作している。受信データ書込制御
部64は、フレームデカプセル化部17からのデータ1
20を受信し、そのデ0タを回線クロック201により
FIFO65に書き込む。The reception data writing control unit 64 operates in synchronization with the line clock 201. The reception data writing control unit 64 uses the data 1 from the frame decapsulation unit 17.
20 is received, and its data is written in the FIFO 65 by the line clock 201.
【0054】受信データ読出制御部66は、内部クロッ
ク202に同期して動作している。受信データ読出制御
部66は、切替制御部52からタイミング制御信号15
6を受信している間、内部クロック202によりFIF
O62からデータを読出し、データ121としてバス制
御部41に送信する。The reception data read control unit 66 operates in synchronization with the internal clock 202. The reception data read control unit 66 receives the timing control signal 15 from the switching control unit 52.
While receiving 6
The data is read from the O62 and transmitted as the data 121 to the bus control unit 41.
【0055】本実施形態の通信装置1の動作例について
説明する。An operation example of the communication device 1 of the present embodiment will be described.
【0056】図3は、本実施形態の通信装置1の送信動
作を説明するためのタイミングチャートである。図3に
示すように、バス制御部41は、スイッチ部(不図示)
からのデータ143を受信して0系のタイミング調整部
18と1系のタイミング調整部38の双方に同一データ
115、135を送信する。内部クロック202は、回
線クロック201の2倍以上の速度なので、データ14
3は平均すると、有効なデータがあるのタイムスロット
は半分以下である。ここでは、一例として、有効なデー
タのあるタイムスロットと、有効なデータの無いタイム
スロットが交互に存在している。FIG. 3 is a timing chart for explaining the transmission operation of the communication device 1 of this embodiment. As shown in FIG. 3, the bus control unit 41 includes a switch unit (not shown).
And receives the same data 115 and 135 to both the 0-system timing adjusting section 18 and the 1-system timing adjusting section 38. Since the internal clock 202 is twice as fast as the line clock 201, the data 14
3 has, on average, less than half the time slots with valid data. Here, as an example, time slots having valid data and time slots having no valid data are alternately present.
【0057】バス制御部41からのデータは、タイミン
グ調整部18によりタイミング調整され、フレームカプ
セル化部13によりカプセル化され、符号化逆変換部1
2により4B/5B変換され、送信物理インタフェース
11から回線11に送信される。The data from the bus control unit 41 is adjusted in timing by the timing adjustment unit 18, encapsulated by the frame encapsulation unit 13, and encoded / inverted conversion unit 1
4B / 5B is converted by 2 and transmitted from the transmission physical interface 11 to the line 11.
【0058】図4は、本実施形態の通信装置1の受信動
作について説明するためのタイミングチャートである。FIG. 4 is a timing chart for explaining the receiving operation of the communication device 1 of this embodiment.
【0059】受信物理インタフェース14で受信された
データは、リンク断検出部15によりリンク断している
か否か判定され、符号化変換部16により5B/4B変
換され、フレームデカプセル化部17によりCRC異常
があるか否か判定され、タイミング調整部18に送信さ
れる。1系の送受信部30も同様に動作する。The data received by the reception physical interface 14 is judged by the link break detection unit 15 whether the link is broken or not, the coding conversion unit 16 performs 5B / 4B conversion, and the frame decapsulation unit 17 performs CRC. It is determined whether or not there is an abnormality, and it is transmitted to the timing adjustment unit 18. The 1-system transmitting / receiving unit 30 operates in the same manner.
【0060】リンク異常判定部51は、リンク断検出部
15、35で検出されたリンク断と、フレームデカプセ
ル化部17、37で検出されたCRCエラーを基に各リ
ンクの状態を切替制御部52に通知する。各リンクの状
態を通知された切替制御部52は、現在の運用系と、各
リンクの状態から、どちらの系を運用系とすべきか判定
し、タイミング調整部18、38に通知する。The link abnormality determination unit 51 switches the state of each link based on the link disconnection detected by the link disconnection detection units 15 and 35 and the CRC error detected by the frame decapsulation units 17 and 37. 52 is notified. The switching control unit 52, which has been notified of the state of each link, determines which system should be the active system based on the current operating system and the state of each link, and notifies the timing adjusting units 18 and 38.
【0061】0系が運用系であれば、タイミング調整部
18は、フレームデカプリング化部17からのデータ1
20をタイミング調整し、バス制御部41に送信する。
1系が運用系であれば、タイミング調整部38は、フレ
ームデカプリング化部37からのデータ140をタイミ
ング調整し、バス制御部41に送信する。バス制御部4
1は、タイミング調整部18またはタイミング調整部3
8からのデータをスイッチ部(不図示)に送信する。図
4には0系が運用系である場合が示されており、0系の
データ120がバス制御部41からスイッチ部に送信さ
れている。If the 0-system is the active system, the timing adjusting section 18 uses the data 1 from the frame decoupling section 17.
20 is adjusted in timing and transmitted to the bus control unit 41.
If the first system is the active system, the timing adjustment unit 38 adjusts the timing of the data 140 from the frame decoupling unit 37 and transmits the data 140 to the bus control unit 41. Bus control unit 4
1 is a timing adjustment unit 18 or a timing adjustment unit 3
The data from 8 is transmitted to the switch unit (not shown). FIG. 4 shows the case where the 0-system is the active system, and the 0-system data 120 is transmitted from the bus control unit 41 to the switch unit.
【0062】本実施形態によれば、通信装置1は、送信
処理において、運用系および待機系の双方のリンクに同
一のデータを送信し、受信処理において、リンク断検出
部15、35により検出されたリンク断とフレームデカ
プセル化部17、37により検出されたCRCエラーと
を契機にイーサネットリンクを切り替えるので、障害の
発生からリンク切り替えまでの時間が短い。According to this embodiment, the communication device 1 transmits the same data to both the active system link and the standby system link in the transmission process, and is detected by the link disconnection detection units 15 and 35 in the reception process. Since the Ethernet link is switched in response to the link disconnection and the CRC error detected by the frame decapsulation units 17 and 37, the time from the occurrence of the failure to the link switching is short.
【0063】また、本実施形態によれば、通信装置1
は、単純な機能のリンク異常判定部51、切替制御部5
2およびタイミング調整部18を新たに備えることによ
りリンク切り替え動作が可能なので、複雑なプロトコル
処理を実装する必要が無い。Further, according to the present embodiment, the communication device 1
Is a link abnormality determination unit 51 and a switching control unit 5 having simple functions.
Since the link switching operation can be performed by newly providing 2 and the timing adjusting unit 18, there is no need to implement complicated protocol processing.
【0064】本発明の他の実施形態について説明する。Another embodiment of the present invention will be described.
【0065】図5は、本発明の他の実施形態の通信装置
のj構成を示すブロック図である。図5を参照すると、
通信装置2は、送受信部20、送受信部40、バス制御
部41、リンク異常判定部53、切替制御部54、二重
化状態設定部71およびリンク異常閾値設定部72を有
している。図5のバス制御部41は図1と同じものであ
る。FIG. 5 is a block diagram showing a configuration of a communication device according to another embodiment of the present invention. Referring to FIG.
The communication device 2 includes a transmission / reception unit 20, a transmission / reception unit 40, a bus control unit 41, a link abnormality determination unit 53, a switching control unit 54, a duplex state setting unit 71, and a link abnormality threshold setting unit 72. The bus control unit 41 of FIG. 5 is the same as that of FIG.
【0066】送受信部20は、送信物理インタフェース
11、符号化逆変換部12、フレームカプセル化部1
3、受信物理インタフェース14、リンク断検出部1
5、符号化変換部16、フレームデカプセル化部17お
よびタイミング調整部28を有している。送信物理イン
タフェース11、符号化逆変換部12、フレームカプセ
ル化部13、受信物理インタフェース14、リンク断検
出部15、符号化変換部16およびフレームデカプセル
化部17は図1と同じものである。The transmission / reception unit 20 includes a transmission physical interface 11, an encoding / inverse conversion unit 12, and a frame encapsulation unit 1.
3, reception physical interface 14, link disconnection detection unit 1
5, a coding conversion unit 16, a frame decapsulation unit 17, and a timing adjustment unit 28. The transmission physical interface 11, the encoding deconversion unit 12, the frame encapsulation unit 13, the reception physical interface 14, the link disconnection detection unit 15, the encoding conversion unit 16, and the frame decapsulation unit 17 are the same as those in FIG.
【0067】同様に、送受信部40は、送信物理インタ
フェース31、符号化逆変換部32、フレームカプセル
化部33、受信物理インタフェース34、リンク断検出
部35、符号化変換部36、フレームデカプセル化部3
7およびタイミング調整部48を有している。送信物理
インタフェース31、符号化逆変換部32、フレームカ
プセル化部33、受信物理インタフェース34、リンク
断検出部35、符号化変換部36およびフレームデカプ
セル化部37は図1と同じものである。Similarly, the transmission / reception unit 40 includes a transmission physical interface 31, an encoding inverse conversion unit 32, a frame encapsulation unit 33, a reception physical interface 34, a link break detection unit 35, an encoding conversion unit 36, and a frame decapsulation. Part 3
7 and a timing adjusting unit 48. The transmission physical interface 31, the encoding deconversion unit 32, the frame encapsulation unit 33, the reception physical interface 34, the link disconnection detection unit 35, the encoding conversion unit 36, and the frame decapsulation unit 37 are the same as those in FIG.
【0068】二重化状態設定部71は、ユーザインタフ
ェース(不図示)から二重化設定信号171を受信し、
その信号に含まれている情報を保持し、その情報に従っ
て切り替制御部62およびタイミング調整部28、48
に対して二重化か一重化かを指示する。二重化設定信号
171とは、2つのリンクを二重化して用いるか、互い
に独立した別のリンクとして用いるかの情報を含む信号
である。The duplex status setting unit 71 receives the duplex setting signal 171 from the user interface (not shown),
The information contained in the signal is held, and the switching control unit 62 and the timing adjusting units 28 and 48 are held according to the information.
Is instructed to duplex or single. The duplex setting signal 171 is a signal including information as to whether two links are used in duplex or used as separate links independent of each other.
【0069】切替制御部54は、二重化状態設定部71
からの指示を含む信号172を受信し、その指示に従っ
て動作する。二重化状態設定部71からの指示が二重化
であれば、切替制御部54は、図1の切替制御部51と
同様に動作する。指示が一重化であれば、切替制御部5
4は動作しない。The switching control unit 54 includes a duplex state setting unit 71.
Signal 172 including an instruction from the device, and operates according to the instruction. If the instruction from the duplexing state setting unit 71 is duplexing, the switching control unit 54 operates similarly to the switching control unit 51 in FIG. 1. If the instructions are unified, the switching control unit 5
4 does not work.
【0070】リンク異常閾値設定部72は、ユーザイン
タフェース(不図示)から閾値設定信号173を受信
し、その信号に含まれている閾値情報を保持し、その閾
値をリンク異常判定部53に指示する。閾値は、例え
ば、リンク異常と判定するためのリンク断の継続時間
や、CRCエラーレートなどが考えられる。The link abnormality threshold setting unit 72 receives the threshold setting signal 173 from the user interface (not shown), holds the threshold information contained in the signal, and instructs the link abnormality determining unit 53 about the threshold. . The threshold may be, for example, a link disconnection duration for determining a link abnormality, a CRC error rate, or the like.
【0071】リンク異常判定部53は、リンク異常を判
定する際に、リンク異常閾値設定部72から指示された
閾値を用いる。The link abnormality determining unit 53 uses the threshold value instructed by the link abnormality threshold value setting unit 72 when determining the link abnormality.
【0072】タイミング調整部28、48は、二重化状
態設定部71からの指示を含む信号172を受信し、そ
の指示に従って動作する。The timing adjusting units 28 and 48 receive the signal 172 including the instruction from the duplexing state setting unit 71, and operate according to the instruction.
【0073】二重化状態設定部71からの指示が二重化
であれば、タイミング調整部28、48は、図1のタイ
ミング調整部18、38と同様に動作する。If the instruction from the duplexing state setting unit 71 is duplexing, the timing adjusting units 28 and 48 operate in the same manner as the timing adjusting units 18 and 38 of FIG.
【0074】指示が一重化であれば、タイミング調整部
28、48は、切替制御部54からのタイミング制御信
号156、157の有無にかかわらず、フレームデカプ
セル化部17、37から受信したデータ120、140
をタイミング調整し、バス制御部41に送信する。その
ため、図6に示すように、0系および1系からの双方の
データがバス制御部41を介して、受信データ142と
してスイッチ部(不図示)に送信される。また、図7に
示すように、一重化のとき、スイッチ部(不図示)から
の送信データ143には、送受信部20へのデータと、
送受信部40へのデータとが含まれている。ここでは、
バス制御部41は、送受信部20へのデータと、送受信
部40へのデータを互いに異なるタイミングで交互に受
信している。内部クロック202が回線クロック201
の2倍以上の速度なので、それが可能となっている。タ
イミング調整部28およびタイミング調整部48は、指
示が一重化のとき、互いに異なるデータをバス制御部4
1から取得する。If the instruction is unified, the timing adjusting units 28 and 48 receive the data 120 received from the frame decapsulating units 17 and 37 regardless of the presence or absence of the timing control signals 156 and 157 from the switching control unit 54. , 140
Is adjusted and transmitted to the bus control unit 41. Therefore, as shown in FIG. 6, both data from the 0 system and the 1 system are transmitted to the switch unit (not shown) as the reception data 142 via the bus control unit 41. Further, as shown in FIG. 7, in the case of unification, the transmission data 143 from the switch unit (not shown) includes the data to the transmission / reception unit 20,
The data for the transmission / reception unit 40 are included. here,
The bus control unit 41 alternately receives data to the transmitting / receiving unit 20 and data to the transmitting / receiving unit 40 at different timings. Internal clock 202 is line clock 201
It's more than twice as fast, so that's possible. The timing adjustment unit 28 and the timing adjustment unit 48 send different data to the bus control unit 4 when the instruction is single.
Get from 1.
【0075】本実施形態によれば、通信装置2は、二重
化状態設定部71により二重化するか否かの設定情報を
保持し、切替制御部54およびタイミング調整部28、
48がその設定情報に従って動作を選択するので、高い
信頼性が要求される場合には2つのリンクを二重化され
たリンクとして用い、大きなトラフィック量を低コスト
で転送することが要求される場合には一重化の2つのリ
ンクとして用いることによりユーザの要求条件に柔軟に
対応することが可能である。According to this embodiment, the communication device 2 holds the setting information as to whether or not the duplexing is set by the duplexing state setting section 71, and the switching control section 54 and the timing adjusting section 28,
Since 48 selects an operation according to the setting information, when high reliability is required, two links are used as a duplicated link, and when it is required to transfer a large amount of traffic at low cost. It is possible to flexibly meet the requirements of the user by using the two links as a single link.
【0076】また、通信装置2は、リンク異常閾値設定
部72により閾値を変更可能に保持し、リンク異常判定
部53にてその閾値を用いてリンク異常を判定するの
で、回線品質に対する要求に合わせて適切な閾値を用い
ることにより、回線品質に対するユーザ要求条件に柔軟
に対応することができる。In the communication device 2, the link abnormality threshold value setting unit 72 holds the threshold value so that it can be changed, and the link abnormality determination unit 53 uses the threshold value to determine the link abnormality. By using an appropriate threshold value, it is possible to flexibly meet user requirements for channel quality.
【0077】[0077]
【発明の効果】本発明によれば、リンク異常の発生を契
機に、有効なリンクの選択が変更されるので、複雑なプ
ロトコル処理を必要とせず、かつ、障害の発生から有効
なリンクが適切に選択されるまでの時間が短い。According to the present invention, since the selection of valid links is changed in response to the occurrence of a link abnormality, complicated protocol processing is not required, and valid links are appropriate from the occurrence of a failure. It takes a short time to be selected.
【0078】また、2つのリンクに同一データが送信さ
れているので、リンク異常を検出した受信側装置だけ
で、有効なリンクの選択を変更でき、障害の発生から有
効なリンクを適切に選択するまでの時間が短い。Further, since the same data is transmitted to the two links, the selection of the valid link can be changed only by the receiving side device which has detected the link abnormality, and the valid link is properly selected from the occurrence of the failure. Time is short.
【0079】また、二重化状態設定手段から通知された
ユーザ設定情報に従って切替制御手段および送受信手段
が動作を選択することにより、2つのリンクを二重化す
るか、一重化の2つのリンクとするかを切り替えること
ができるので、高い信頼性が要求される場合には2つの
リンクを二重化されたリンクとして用い、大きなトラフ
ィック量を低コストで転送することが要求される場合に
は一重化の2つのリンクとして用いることによりユーザ
の要求条件に柔軟に対応することが可能である。Further, the switching control means and the transmission / reception means select the operation according to the user setting information notified from the duplexing state setting means, thereby switching between two links to be duplexed or two links to be singled. Therefore, when high reliability is required, two links are used as duplicated links, and when it is required to transfer a large amount of traffic at low cost, two links are used as a single link. By using it, it is possible to flexibly meet the requirements of the user.
【0080】また、リンク異常判定手段が、リンク異常
閾値設定手段から通知されたユーザ設定の閾値を用いて
リンク異常を判定するので、回線品質に対するユーザ要
求に合わせて適切な閾値を用いることにより、回線品質
に対するユーザ要求条件に柔軟に対応することができ
る。Further, since the link abnormality determining means determines the link abnormality using the threshold value set by the user notified from the link abnormality threshold setting means, by using an appropriate threshold value in accordance with the user request for the line quality, It is possible to flexibly meet user requirements for line quality.
【図1】本発明の一実施形態の通信装置の構成を示すブ
ロック図である。FIG. 1 is a block diagram showing a configuration of a communication device according to an embodiment of the present invention.
【図2】本発明の一実施形態のタイミング調整部の構成
を示すブロック図である。FIG. 2 is a block diagram showing a configuration of a timing adjusting unit according to the embodiment of the present invention.
【図3】本発明の一実施形態の通信装置の送信動作を説
明するためのタイミングチャートである。FIG. 3 is a timing chart for explaining a transmission operation of the communication device according to the embodiment of the present invention.
【図4】本発明の一実施形態の通信装置の受信動作を説
明するためのタイミングチャートである。FIG. 4 is a timing chart for explaining a reception operation of the communication device according to the embodiment of the present invention.
【図5】本発明の他の実施形態の通信装置のj構成を示
すブロック図である。FIG. 5 is a block diagram showing a configuration of a communication device according to another embodiment of the present invention.
【図6】本発明の他の実施形態の通信装置の受信動作を
説明するためのタイミングチャートである。FIG. 6 is a timing chart for explaining a reception operation of the communication device according to another embodiment of the present invention.
【図7】本発明の他の実施形態の通信装置の送信動作を
説明するためのタイミングチャートである。FIG. 7 is a timing chart for explaining a transmission operation of the communication device according to another embodiment of the present invention.
1、2 通信装置
10 0系送受信部
11 送信物理インタフェース
12 符号化逆変換部
13 フレームカプセル化部
14 受信物理インタフェース
15 リンク断検出部
16 符号化変換部
17 フレームデカプセル化部
18、28 タイミング調整部
30 1系送受信部
31 送信物理インタフェース
32 符号化逆変換部
33 フレームカプセル化部
34 受信物理インタフェース
35 リンク断検出部
36 符号化変換部
37 フレームデカプセル化部
38、48 タイミング調整部
41 バス制御部
51、53 リンク異常判定部
52、54 切替制御部
61 送信データ読出制御部
62、65 FIFO
63 送信データ書込込制御部
64 受信データ書込部
66 受信データ読出制御部
71 二重化状態設定部
72 リンク異常閾値設定
111、116、131、136 回線
112〜115、117〜121、132〜135、1
37〜141、211〜214 データ
142 受信データ
143 送信データ
151、152 リンク断検出信号
153、154 CRCエラー検出信号
155 リンク状態信号
156、157 タイミング制御信号
171 二重化設定信号
172、174 信号
173 閾値設定信号
201 回線クロック
202 内部クロック1, 2 Communication Device 10 0 Transmitting / Receiving Unit 11 Transmission Physical Interface 12 Encoding Inverse Conversion Unit 13 Frame Encapsulation Unit 14 Reception Physical Interface 15 Link Loss Detection Unit 16 Encoding Conversion Unit 17 Frame Decapsulation Units 18 and 28 Timing Adjustment Unit 30 1-system transmitting / receiving unit 31 Transmission physical interface 32 Encoding inverse conversion unit 33 Frame encapsulation unit 34 Reception physical interface 35 Link break detection unit 36 Encoding conversion unit 37 Frame decapsulation units 38, 48 Timing adjustment unit 41 Bus control Units 51, 53 Link abnormality determination units 52, 54 Switching control unit 61 Transmission data read control units 62, 65 FIFO 63 Transmission data writing control unit 64 Reception data writing unit 66 Reception data reading control unit 71 Duplex state setting unit 72 Link error threshold settings 111, 116, 131, 1 Six lines 112~115,117~121,132~135,1
37 to 141, 211 to 214 Data 142 Received data 143 Transmitted data 151, 152 Link disconnection detection signal 153, 154 CRC error detection signal 155 Link status signal 156, 157 Timing control signal 171 Duplication setting signal 172, 174 signal 173 Threshold setting signal 201 Line clock 202 Internal clock
Claims (8)
通信装置であって、 障害情報から前記各リンクの状態が正常であるか異常で
あるか判定するリンク異常判定手段と、 前記リンク異常判定手段の判定結果を用いて、受信デー
タを取得するリンクを選択する切替制御手段と、 前記各リンクに対応して接続され該リンクによりデータ
を送受信しており、対応する該リンクが、受信データを
取得するリンクとして前記切替制御手段により選択され
ると、該リンクから受信したデータを受信データとして
取り出し、該リンクの障害を検出すると前記障害情報を
前記リンク異常判定手段に通知する2つの送受信手段と
を有するイーサネット通信装置。1. An Ethernet communication device connected to two links, comprising: a link abnormality determining means for determining whether the status of each link is normal or abnormal from failure information; and a link abnormality determining means. A switching control unit that selects a link for acquiring received data using the determination result, and is connected to each of the links to transmit and receive data through the link, and the corresponding link acquires the received data. When the link is selected by the switching control means, the data received from the link is taken out as reception data, and when the failure of the link is detected, the failure information is notified to the link abnormality determination means. Ethernet communication device.
リンクが、受信データを取得するリンクとして前記切替
制御手段により選択されているか否かにかかわらず、対
応する前記リンクに同一のデータを送信する、請求項1
記載のイーサネット通信装置。2. The two transmitting / receiving means transmit the same data to the corresponding link regardless of whether the corresponding link is selected by the switching control means as a link for acquiring received data. Claim 1
The described Ethernet communication device.
重化のいずれかを前記切替制御手段および前記送受信手
段に通知する二重化状態設定手段をさらに有し、 前記切替制御手段は、前記二重化状態設定手段から一重
化を通知されると動作を停止し、二重化を通知されると
動作し、 前記送受信手段は、前記二重化状態設定手段から二重化
を通知されると、2つの前記送受信手段が同一のデータ
を送信し、対応する前記リンクが受信データを取得する
リンクとして選択された一方の前記送受信手段が受信デ
ータを取得し、一重化を通知されると、2つの前記送受
信手段が、互いに異なるデータをそれぞれ送信し、前記
リンク毎に異なる受信データをそれぞれ取得する、請求
項1記載のイーサネット通信装置。3. A duplication status setting means for notifying the switching control means and the transmission / reception means of either duplication or unification selected by a user, wherein the switching control means is provided from the duplication status setting means. When the duplexing is notified from the duplexing state setting means, the transmission / reception means operates to stop the operation when the duplexing is notified, and the transmission / reception means transmits the same data when the duplexing is notified from the duplexing state setting means. Then, when one of the transmission / reception means selected as the link for acquiring the reception data receives the reception data and is notified of the unification, the two transmission / reception means respectively transmit different data. The Ethernet communication device according to claim 1, wherein different received data is obtained for each link.
ク異常判定手段に通知するリンク異常閾値設定手段をさ
らに有し、 前記リンク異常判定手段は、前記障害情報から前記各リ
ンクの状態が正常であるか異常であるか判定するとき前
記閾値を用いる、請求項1〜3のいずれか1項に記載の
イーサネット通信装置。4. A link abnormality threshold value setting means for notifying the link abnormality determination means of a threshold value set by a user, wherein the link abnormality determination means has a normal state of each link from the failure information. The Ethernet communication device according to any one of claims 1 to 3, wherein the threshold value is used when determining whether it is abnormal.
して検出する、請求項1〜3のいずれか1項に記載のイ
ーサネット通信装置。5. The Ethernet communication device according to claim 1, wherein the transmission / reception unit detects a broken link as the failure.
るCRCエラーを前記障害として検出する、請求項1〜
3のいずれか1項に記載のイーサネット通信装置。6. The transmission / reception unit detects a CRC error in decapsulation as the fault.
3. The Ethernet communication device according to any one of 3 above.
したデータを回線クロックに同期してFIFOに蓄積
し、内部クロックに同期して前記FIFOから前記デー
タを読出して前記受信データとして取得する、請求項1
〜3のいずれか1項に記載のイーサネット通信装置。7. The transmitting / receiving means stores the data received from the link in a FIFO in synchronization with a line clock, reads the data from the FIFO in synchronization with an internal clock, and acquires the data as the received data. Item 1
4. The Ethernet communication device according to any one of 3 to 3.
2倍以上の速度である、請求項7記載のイーサネット通
信装置。8. The Ethernet communication device according to claim 7, wherein the internal clock is at least twice as fast as the line clock.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002132835A JP4045415B2 (en) | 2002-05-08 | 2002-05-08 | Ethernet communication device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2002132835A JP4045415B2 (en) | 2002-05-08 | 2002-05-08 | Ethernet communication device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2003324438A true JP2003324438A (en) | 2003-11-14 |
| JP4045415B2 JP4045415B2 (en) | 2008-02-13 |
Family
ID=29544653
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2002132835A Expired - Fee Related JP4045415B2 (en) | 2002-05-08 | 2002-05-08 | Ethernet communication device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4045415B2 (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008219172A (en) * | 2007-02-28 | 2008-09-18 | Nippon Telegr & Teleph Corp <Ntt> | Control network, communication method, and node device |
| CN100446476C (en) * | 2006-08-02 | 2008-12-24 | 华为技术有限公司 | Method and device for intercommunication of network fault detection results |
| WO2015162760A1 (en) * | 2014-04-24 | 2015-10-29 | 三菱電機株式会社 | Plc unit and programmable logic controller |
| JP2016119117A (en) * | 2016-02-12 | 2016-06-30 | 三菱電機株式会社 | Programmable logic controller system, input unit system, cpu unit system and output unit system |
-
2002
- 2002-05-08 JP JP2002132835A patent/JP4045415B2/en not_active Expired - Fee Related
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100446476C (en) * | 2006-08-02 | 2008-12-24 | 华为技术有限公司 | Method and device for intercommunication of network fault detection results |
| JP2008219172A (en) * | 2007-02-28 | 2008-09-18 | Nippon Telegr & Teleph Corp <Ntt> | Control network, communication method, and node device |
| WO2015162760A1 (en) * | 2014-04-24 | 2015-10-29 | 三菱電機株式会社 | Plc unit and programmable logic controller |
| KR20160081981A (en) * | 2014-04-24 | 2016-07-08 | 미쓰비시덴키 가부시키가이샤 | Plc unit and programmable logic controller |
| CN106233211A (en) * | 2014-04-24 | 2016-12-14 | 三菱电机株式会社 | PLC unit and programmable logic controller (PLC) |
| JPWO2015162760A1 (en) * | 2014-04-24 | 2017-04-13 | 三菱電機株式会社 | PLC unit and programmable logic controller |
| KR101883086B1 (en) * | 2014-04-24 | 2018-07-27 | 미쓰비시덴키 가부시키가이샤 | Plc unit and programmable logic controller |
| US10073431B2 (en) | 2014-04-24 | 2018-09-11 | Mitsubishi Electric Corporation | PLC unit and programmable logic controller |
| CN106233211B (en) * | 2014-04-24 | 2019-03-08 | 三菱电机株式会社 | PLC unit and programmable logic controller |
| JP2016119117A (en) * | 2016-02-12 | 2016-06-30 | 三菱電機株式会社 | Programmable logic controller system, input unit system, cpu unit system and output unit system |
Also Published As
| Publication number | Publication date |
|---|---|
| JP4045415B2 (en) | 2008-02-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6081523A (en) | Arrangement for transmitting packet data segments from a media access controller across multiple physical links | |
| CN100550715C (en) | Method for supporting SDH/SONET automatic protection switching over Ethernet | |
| US9106523B2 (en) | Communication device and method of controlling the same | |
| US7738507B2 (en) | Network relay system and control method thereof | |
| US7102995B2 (en) | Supporting SDH/SONET APS bridge selector functionality for ethernet | |
| US6738344B1 (en) | Link extenders with link alive propagation | |
| US20090249115A1 (en) | Method and system for dynamic link failover management | |
| CN113852529B (en) | Back board bus system for data communication of trackside equipment and data transmission method thereof | |
| KR101825030B1 (en) | Ring network apparatus and system using PoE and network recovering method for the system | |
| US20030021281A1 (en) | Media converter and transmission system using the same | |
| JP4283792B2 (en) | Band control method and transmission apparatus | |
| JP5176623B2 (en) | Ethernet transmission method, transmission apparatus and system | |
| JP4045415B2 (en) | Ethernet communication device | |
| US6944179B2 (en) | PHY signal control device and method for selectively generating a specific warning data | |
| JP3750546B2 (en) | Line backup system using wireless LAN | |
| KR100713416B1 (en) | Repeater device supporting multiple protocols and control method for protocol conversion in the device | |
| CN1937630A (en) | System and component for realizing first component and second component communication | |
| JP2012129864A (en) | Communication system and method for controlling user access device | |
| JP4035820B2 (en) | Line switching apparatus, data transmission system, and line switching method | |
| US20040199819A1 (en) | Method for fast and local error correction in the event of the failure of individual physical corrections in bundled communication connections and communication system device for carrying out the method | |
| JPH07143153A (en) | Ring transmission system | |
| JP3160927B2 (en) | Loop test circuit | |
| JPH08265355A (en) | LAN communication system | |
| JP2566022B2 (en) | Optical ring bus control system | |
| JP2001177527A (en) | bridge |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20041209 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20041209 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050422 |
|
| RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20060126 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20070618 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070801 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070926 |
|
| 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: 20071024 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20071106 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101130 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111130 Year of fee payment: 4 |
|
| LAPS | Cancellation because of no payment of annual fees |