JP2019176521A - Communication device and control method - Google Patents
Communication device and control method Download PDFInfo
- Publication number
- JP2019176521A JP2019176521A JP2019128278A JP2019128278A JP2019176521A JP 2019176521 A JP2019176521 A JP 2019176521A JP 2019128278 A JP2019128278 A JP 2019128278A JP 2019128278 A JP2019128278 A JP 2019128278A JP 2019176521 A JP2019176521 A JP 2019176521A
- Authority
- JP
- Japan
- Prior art keywords
- transmission
- communication device
- interface
- port
- failure
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、通信技術に関し、特にフレームを転送する通信装置、制御方法に関する。 The present invention relates to a communication technique, and more particularly to a communication apparatus and a control method for transferring a frame.
レイヤ2スイッチは、LAN(Local Area Network)上のステーシ
ョンを相互に接続する。レイヤ2のデータリンク層において、ビットエラーやバッファ満
杯状態が発生した場合、受信装置側は異常な受信フレームを破棄するだけである。レイヤ
2スイッチは、フロー制御を行うことによって、バッファリソース不足によるフレーム損
失を回避可能である。フロー制御とは、送信装置側が受信装置側で受信可能なデータフレ
ームのレートよりも高い速度でデータフレームを送信してしまうのを防ぐ制御機構である
。フロー制御では、受信装置側から送信装置側に向かって送信のフィードバック制御を行
い、送信装置側の送信レートは、受信装置側のバッファの状況に応じて調整される(例え
ば、特許文献1参照)。
The layer 2 switch connects stations on a LAN (Local Area Network) to each other. When a bit error or a buffer full state occurs in the data link layer of layer 2, the receiving apparatus only discards an abnormal received frame. The layer 2 switch can avoid frame loss due to a shortage of buffer resources by performing flow control. Flow control is a control mechanism that prevents the transmission apparatus from transmitting data frames at a higher rate than the data frame rate that can be received by the reception apparatus. In the flow control, transmission feedback control is performed from the receiving device side to the transmitting device side, and the transmission rate on the transmitting device side is adjusted according to the buffer status on the receiving device side (see, for example, Patent Document 1). .
通信システムは、例えば、複数のレイヤ2スイッチをピラミッド状に接続することによ
って形成される。そのような構成において、末端近くのレイヤ2スイッチのポートに接続
されたケーブルに障害が発生した場合に、当該レイヤ2スイッチがフロー制御を実行する
と、通信システム全体の通信が停止してしまうおそれがある。
The communication system is formed, for example, by connecting a plurality of layer 2 switches in a pyramid shape. In such a configuration, when a failure occurs in the cable connected to the port of the layer 2 switch near the end, if the layer 2 switch executes flow control, communication of the entire communication system may be stopped. is there.
本発明はこうした状況に鑑みてなされたものであり、その目的は、ケーブルに障害が発
生しても、通信システム全体の通信停止を抑制する技術を提供することである。
The present invention has been made in view of such circumstances, and an object of the present invention is to provide a technique for suppressing communication stoppage of the entire communication system even when a failure occurs in a cable.
上記課題を解決するために、本発明のある態様の通信装置は、第1インターフェイスに
おいて受信したフレームを第2インターフェイスから送信する通信装置であって、第2イ
ンターフェイスでのリンクアップを検出する第1検出部と、第1検出部がリンクアップを
検出した場合、第2インターフェイスが送信すべきフレームを蓄積するバッファにおける
オーバーフローへの接近を検出する第2検出部と、第2検出部がオーバーフローへの接近
を検出した場合、第1インターフェイスにおける受信カウンタの値と第2インターフェイ
スにおける送信カウンタの値との差異がしきい値以上であることによって、第2インター
フェイスにおける送信失敗が検出する制御部と、制御部が送信失敗を検出した場合、送信
失敗を検出した第2インターフェイスに接続したケーブルの障害発生を通知する表示部と
、を備える。
In order to solve the above problem, a communication apparatus according to an aspect of the present invention is a communication apparatus that transmits a frame received at a first interface from a second interface, and detects a link-up at the second interface. When the detection unit and the first detection unit detect a link up, the second detection unit detects an approach to overflow in a buffer that accumulates frames to be transmitted by the second interface, and the second detection unit A control unit that detects a transmission failure in the second interface when the difference between the value of the reception counter in the first interface and the value of the transmission counter in the second interface is greater than or equal to a threshold value when an approach is detected; When the transmission unit detects a transmission failure, the second interface that detected the transmission failure Comprising a display unit that notifies the failure of the cable connected to the chair, the.
本発明の別の態様は、制御方法である。この方法は、第1インターフェイスにおいて受
信したフレームを第2インターフェイスから送信する通信装置での制御方法であって、第
2インターフェイスでのリンクアップを検出するステップと、リンクアップを検出した場
合、第2インターフェイスが送信すべきフレームを蓄積するバッファにおけるオーバーフ
ローへの接近を検出するステップと、オーバーフローへの接近を検出した場合、第1イン
ターフェイスにおける受信カウンタの値と第2インターフェイスにおける送信カウンタの
値との差異がしきい値以上であることによって、第2インターフェイスにおける送信失敗
を検出するステップと、送信失敗を検出した場合、送信失敗を検出した第2インターフェ
イスに接続したケーブルの障害発生を通知するステップと、を備える。
Another aspect of the present invention is a control method. This method is a control method in a communication device that transmits a frame received at a first interface from a second interface, and includes a step of detecting a link up at the second interface, A step of detecting an approach to an overflow in a buffer for storing frames to be transmitted by an interface; and a difference between a value of a reception counter in the first interface and a value of a transmission counter in a second interface when an approach to the overflow is detected Detecting a transmission failure in the second interface due to the threshold being equal to or greater than a threshold; and, if detecting a transmission failure, notifying the occurrence of a failure in the cable connected to the second interface that has detected the transmission failure; Is provided.
なお、以上の構成要素の任意の組合せ、本発明の表現を方法、装置、システム、記録媒
体、コンピュータプログラムなどの間で変換したものもまた、本発明の態様として有効で
ある。
It should be noted that any combination of the above-described constituent elements and a conversion of the expression of the present invention between a method, an apparatus, a system, a recording medium, a computer program, etc. are also effective as an aspect of the present invention.
本発明によれば、ケーブルに障害が発生しても、通信システム全体の通信停止を抑制で
きる。
ADVANTAGE OF THE INVENTION According to this invention, even if a failure generate | occur | produces in a cable, the communication stop of the whole communication system can be suppressed.
本発明を具体的に説明する前に、まず概要を述べる。本発明の実施例は、複数の通信装
置がピラミッド状に接続されることによって形成される通信システムに関する。通信装置
は、例えば、レイヤ2スイッチ、スイッチングハブである。通信装置でのバッファオーバ
ーフローには、フロー制御が有効であるが、前述のごとく、フロー制御によって通信シス
テム全体の通信が停止してしまう場合がある。これに対応するために、本実施例における
通信装置は、バッファのオーバーフローへの接近を検出した場合、ケーブルに障害が発生
していなければ、フロー制御を実行するが、ケーブルに障害が発生していれば、フロー制
御を実行しない。
Before describing the present invention specifically, an outline will be given first. An embodiment of the present invention relates to a communication system formed by connecting a plurality of communication devices in a pyramid shape. The communication device is, for example, a layer 2 switch or a switching hub. Flow control is effective for buffer overflow in a communication device, but as described above, communication of the entire communication system may be stopped by flow control. In order to cope with this, when the communication device in the present embodiment detects an approach to the buffer overflow, the communication device executes flow control if there is no failure in the cable, but there is a failure in the cable. If so, flow control is not executed.
図1は、本発明の実施例に係る通信システム100の構成を示す。通信システム100
は、サーバ10、通信装置20と総称される第1通信装置20a、第2通信装置20b、
第3通信装置20c、第4通信装置20d、第5通信装置20e、第6通信装置20f、
第7通信装置20g、第8通信装置20h、第9通信装置20i、第10通信装置20j
、第11通信装置20k、第12通信装置20l、端末装置30と総称される第1端末装
置30a、第2端末装置30b、第3端末装置30c、第4端末装置30d、第5端末装
置30e、第6端末装置30f、第7端末装置30g、第8端末装置30h、第9端末装
置30i、第10端末装置30j、第11端末装置30k、第12端末装置30lを含む
。
FIG. 1 shows a configuration of a
Are the
The
7th communication apparatus 20g,
,
通信システム100は、複数の通信装置20がピラミッド状に接続されることによって
形成される。ピラミッド状に形成された通信システム100の頂点の部分には、サーバ1
0が配置される。また、サーバ10には、第1通信装置20a、第2通信装置20bが接
続される。さらに、第1通信装置20a、第2通信装置20bには、第3通信装置20c
〜第6通信装置20fが接続され、第3通信装置20c〜第6通信装置20fには、第7
通信装置20g〜第12通信装置20lが接続される。そのため、第7通信装置20g〜
第12通信装置20lは、「2」つの通信装置20を介してサーバ10に接続され、第3
通信装置20c〜第6通信装置20fは、「1」つの通信装置20を介してサーバ10に
接続される。一方、第1通信装置20a、第2通信装置20bは、サーバ10に直接接続
されているので、「0」の通信装置20を介してサーバ10に接続されているといえる。
The
0 is placed. The
The
The communication device 20g to the twelfth communication device 20l are connected. Therefore, the seventh communication device 20g ~
The twelfth communication device 20l is connected to the
The
ここで、サーバ10との間に接続された通信装置20の数が同一の通信装置20は、同
一階層の通信装置20といえる。また、サーバ10との間に接続された通信装置20の数
が少ない階層ほど「上位」であり、通信装置20の数が多い階層ほど「下位」である。図
1の場合、第1通信装置20a、第2通信装置20bが、サーバ10の階層の次に上位の
階層に含まれ、第7通信装置20g〜第12通信装置20lが、最も下位の階層に含まれ
る。さらに、第7通信装置20g〜第12通信装置20lには、複数の端末装置30が接
続される。なお、ピラミッド状に接続された通信装置20の階層の数は、「3」に限定さ
れない。また、各階層に含まれた通信装置20の数は、図1と異なっていてもよい。さら
に、上位の階層に含まれた通信装置20に端末装置30が接続されてもよい。
Here,
サーバ10は、データが含まれたフレームを送信する。データは任意のものでよく、フ
レームの最終的な宛先は、端末装置30である。また、送信は、ユニキャスト送信でもよ
く、マルチキャスト送信でもよく、ブロードキャスト送信でもよい。通信装置20は、前
述のごとく、レイヤ2スイッチ、スイッチングハブであり、フレームを転送する機能を有
する。また、通信装置20は、フロー制御を実行可能である。フロー制御は、2つのノー
ド間において高速な送信側が低速な受信側をオーバーランさせてしまうことを防止するよ
うデータレートを管理するプロセスであり、その一例がバックプレッシャである。バック
プレッシャとは、通信装置20内のバッファがオーバーフローになりそうになると、送信
元に衝突信号を意図的に送信し、送信元にフレームの送信を抑制させる方式である。端末
装置30は、ユーザ等によって操作させる電子機器であり、通信装置20を介してサーバ
10からのフレームを受信する。端末装置30は、受信したフレームに含まれたデータに
応じた処理を実行する。
The
このような通信システム100の構成において、サーバ10から通信装置20を介して
端末装置30にブロードキャストフレームを送信する場合を想定する。例えば、サーバ1
0は、ブロードキャストフレームを第1通信装置20aに送信し、第1通信装置20aは
、受信したブロードキャストフレームを第3通信装置20cに送信する。また、第3通信
装置20cは、受信したブロードキャストフレームを第7通信装置20gに送信し、第7
通信装置20gは、受信したブロードキャストフレームを第1端末装置30aに送信する
。第1端末装置30aにおいて処理能力が低下した場合、受信可能なデータレートが低下
する。
In such a configuration of the
0 transmits a broadcast frame to the
The communication device 20g transmits the received broadcast frame to the first terminal device 30a. When the processing capability is reduced in the first terminal device 30a, the receivable data rate is reduced.
これにより、第7通信装置20gは、第3通信装置20cから、高速なデータレートで
ブロードキャストフレームを受信しているにもかかわらず、第1端末装置30aに、低速
なデータレートでしかブロードキャストフレームを送信できない。その結果、第7通信装
置20gの送信バッファがオーバーフローしそうになるので、第7通信装置20gは、第
3通信装置20cに対してバックプレッシャを実行して、第3通信装置20cのデータレ
ートを低下させる。その後、第1端末装置30aにおける処理能力の低下が回復すると、
第7通信装置20gは、第3通信装置20cに対するバックプレッシャを解除する。その
結果、もとのデータレートへの復帰が実現される。
As a result, the seventh communication device 20g receives the broadcast frame from the
The seventh communication device 20g releases the back pressure for the
ここで、第7通信装置20gと第1端末装置30aの間のケーブルに障害、例えば短絡
が発生した場合も、第7通信装置20gの送信バッファがオーバーフローしそうになるの
で、第7通信装置20gは、第3通信装置20cに対してバックプレッシャを実行する。
なお、前述の第1端末装置30aの処理能力が低下した場合と異なって、ケーブルの障害
は回復しない。そのため、バックプレッシャの実行によって、第3通信装置20cの送信
バッファもオーバーフローしそうになり、第3通信装置20cは、第1通信装置20aに
対してバックプレッシャを実行する。このように、送信バッファのオーバーフローが上位
の階層まで伝播し、サーバ10がブロードキャストフレームを送信できなくなる。その結
果、通信システム100全体の通信が停止されてしまう。このような状況の発生を抑制す
るために、通信装置20は、下記の処理を実行する。
Here, even when a failure, for example, a short circuit occurs in the cable between the seventh communication device 20g and the first terminal device 30a, the transmission buffer of the seventh communication device 20g is likely to overflow, so the seventh communication device 20g The back pressure is executed on the
Unlike the case where the processing capability of the first terminal device 30a is reduced, the cable failure is not recovered. Therefore, the transmission buffer of the
図2は、通信装置20の構成を示す。通信装置20は、上位装置40、下位装置50と
総称される第1下位装置50a、第2下位装置50b、第3下位装置50c、第N−1下
位装置50n−1に接続される。通信装置20は、ポート60と総称される第1ポート6
0a、第2ポート60b、第3ポート60c、第4ポート60d、第Nポート60n、ス
イッチ部62、表示部64を含む。スイッチ部62は、送信バッファ66と総称される第
1送信バッファ66a、第2送信バッファ66b、第3送信バッファ66c、第4送信バ
ッファ66d、第N送信バッファ66n、第1検出部68、第2検出部70、制御部72
を含む。
FIG. 2 shows the configuration of the
0a,
including.
上位装置40は、通信装置20よりも上位の階層に配置された他の通信装置20あるい
はサーバ10であり、下位装置50は、通信装置20よりも下位の階層に配置された他の
通信装置20あるいは端末装置30である。ポート60は、LANケーブルを接続可能で
あり、LANケーブルを介して上位装置40あるいは下位装置50を接続する。そのため
、ポート60は、外部の上位装置40あるいは下位装置50との間でフレームを入出力す
るためのインターフェイスであるといえる。また、各ポート60には、フレームを送信す
る際に使用される送信ピン(TDピン)と、フレームを受信する際に使用される受信ピン
(RDピン)が含まれる。
The higher-
スイッチ部62は、1つのポート60において入力したフレームの宛先MACアドレス
をもとに送信先のポート60を決定し、決定したポート60に当該フレームを転送する。
なお、ブロードキャストフレームの場合、スイッチ部62は、入力したポート60以外の
ポート60にブロードキャストフレームを転送する。例えば、第1ポート60aからブロ
ードキャストフレームを入力した場合、スイッチ部62は、第2ポート60bから第Nポ
ート60nにブロードキャストフレームを転送する。また、第4ポート60dからブロー
ドキャストフレームを入力した場合、スイッチ部62は、第1ポート60aから第3ポー
ト60c、第Nポート60nにブロードキャストフレームを転送する。ここで、転送する
際、転送すべきフレームは送信バッファ66に一旦蓄積される。送信バッファ66は、ポ
ート60と1対1で対応づけられて配置される。例えば、第1ポート60aに対応するよ
うに第1送信バッファ66aが設けられる。他の送信バッファ66も同様である。
The
In the case of a broadcast frame, the
第1検出部68は、各ポート60のリンクアップを検出する。これは、フレームの送信
に使用するポート60のリンクアップを検出することに相当する。例えば、リンクアップ
の検出は、RDピンにおいてリンクパルス信号を受信しているか否かで判定され、受信し
ていれば、リンクアップが検出される。第1検出部68は、ポート60毎にリンクアップ
を検出した場合、それを第2検出部70に通知する。
The
第2検出部70は、第1検出部68からの通知を受けつけた場合、リンクアップが検出
されたポート60に対応した送信バッファ66の空き容量を確認する。例えば、第2ポー
ト60bのリンクアップが検出された場合、第2検出部70は、第2送信バッファ66b
の空き容量を確認する。空き容量が第1しきい値よりも小さい場合、第2検出部70は、
当該送信バッファ66におけるオーバーフローへの接近を検出する。第2検出部70は、
送信バッファ66におけるオーバーフローへの接近を検出した場合、それを制御部72に
通知する。
When the
Check the free space of. When the free space is smaller than the first threshold, the
An approach to overflow in the transmission buffer 66 is detected. The
When an approach to overflow in the transmission buffer 66 is detected, this is notified to the
制御部72は、第2検出部70からの通知を受けつけた場合、オーバーフローへの接近
が検出された送信バッファ66に対応したポート60において送信失敗が検出されている
か否かを確認する。送信失敗を検出するために、制御部72は、送信カウンタと受信カウ
ンタとをポート60毎に備える。送信カウンタは、一定期間、例えば、100msecの
間に当該ポート60から送信したフレーム数を計数する。一方、受信カウンタは、同一の
一定期間に当該ポート60において受信したフレーム数を計数する。フレームとしてブロ
ードキャストフレームを対象にした場合、各通信装置20は、1つのポート60において
ブロードキャストフレームを受信すると、残りのポート60からブロードキャストフレー
ムを転送する。
When the
送信失敗の確認対象のポート60が第2ポート60bである場合、送信失敗が発生して
いなければ、第2ポート60b以外のポート60での受信カウンタの合計値と、第2ポー
ト60bでの送信カウンタの値が等しくなるべきである。このことを利用し、制御部72
は、送信失敗の確認対象のポート60以外のポート60(以下、「受信側のポート60」
という)での受信カウンタの合計値と、送信失敗の確認対象のポート60(以下、「送信
側のポート60」という)での送信カウンタの値との差異が第2しきい値よりも小さい場
合、送信側のポート60において送信失敗が非検出であると判定する。
When the port 60 for which transmission failure is to be confirmed is the
Is a port 60 other than the port 60 subject to confirmation of transmission failure (hereinafter referred to as “reception-side port 60”).
And the difference between the total value of the reception counters at the port 60 for which transmission failure is to be confirmed (hereinafter referred to as “transmission side port 60”) is smaller than the second threshold value. Then, it is determined that the transmission failure is not detected in the port 60 on the transmission side.
一方、制御部72は、差異が第2しきい値以上である場合、特に、受信カウンタの合計
値が送信カウンタの値よりも大きい場合、送信側のポート60において送信失敗を検出す
る。ケーブルに短絡等の障害が発生している場合、送信側のポート60からブロードキャ
ストフレームを送信しても、障害箇所でブロードキャストフレームが反射するので、送信
が完了せず、送信カウンタの値が増加しないからである。なお、制御部72は、差異が第
2しきい値以上である場合、すぐに送信失敗を検出しなくてもよい。例えば、制御部72
は、所定の回数連続して、差異が第2しきい値以上である場合に、送信失敗を検出しても
よい。所定の回数の一例は、「4」である。
On the other hand, when the difference is greater than or equal to the second threshold, particularly when the total value of the reception counter is greater than the value of the transmission counter, the
May detect a transmission failure when the difference is equal to or greater than a second threshold value for a predetermined number of times. An example of the predetermined number of times is “4”.
その後、制御部72は、送信側のポート60において送信失敗が非検出であると判定し
た場合、受信側のポート60を介して、バックプレッシャ等のフロー制御を実行する。な
お、フロー制御には公知の技術が使用されればよいので、ここでは説明を省略する。一方
、制御部72は、送信側のポート60において送信失敗が検出された場合、受信側のポー
ト60を介したフロー制御を非実行とする。この場合、制御部72は、送信側のポート6
0から送信すべきフレームを破棄する。ケーブルの障害が発生している場合、ケーブルを
交換しなければ、データレートは回復しない。そのため、フロー制御を実行しても、フロ
ー制御のためのフレームが無駄に受信側のポート60から送信されるだけになり、そのよ
うなフレームによって帯域が消費されてしまう。また、フロー制御をされた上位装置40
は、送信を待機した後、同フレームを再送処理するので、これも帯域の消費、上位装置4
0でのオーバーフロー、通信システム100全体の通信停止につながる。これらを抑制す
るために、送信側のポート60において送信失敗が検出された場合、つまりケーブルの障
害の発生を推定した場合、制御部72は、フロー制御を実行しない。
Thereafter, when it is determined that the transmission failure is not detected in the transmission-side port 60, the
Discard the frame to be transmitted from 0. If a cable failure occurs, the data rate will not recover unless the cable is replaced. For this reason, even if flow control is executed, a frame for flow control is only transmitted from the receiving port 60 unnecessarily, and bandwidth is consumed by such a frame. In addition, the
Since the same frame is retransmitted after waiting for transmission, this also consumes bandwidth, and the higher-level device 4
An overflow at 0 leads to a communication stop of the
さらに、制御部72は、受信側のポート60を介したフロー制御を非実行とした場合、
通信装置20を再起動させない限り、フロー制御の非実行を継続する。つまり、送信側の
ポート60に対するリンクアップの検出、オーバーフローへの接近の検出、送信失敗の検
出を実行せずに、制御部72は、フロー制御を実行しないままにする。前述のごとく、ケ
ーブルを交換しない限り、ケーブルの障害は復旧しないからである。なお、制御部72は
、第2検出部70からの通知に応じて、送信側のポート60、受信側のポート60を変更
しながら、前述の処理を実行する。
Further, when the
Unless the
表示部64は、制御部72が送信失敗を検出した場合、制御部72からの通知を受けつ
ける。表示部64は、複数のポート60のそれぞれに対応したLED(Light Em
itting Diode)を備え、通知において示されたポート60に対応したLED
を点灯あるいは点滅表示させる。これは、LEDによって示されたポート60に接続した
ケーブルにおいて短絡等の障害が発生していることを通知することに相当する。
The
LED corresponding to port 60 indicated in the notification.
Lights up or blinks. This corresponds to notifying that a failure such as a short circuit has occurred in the cable connected to the port 60 indicated by the LED.
この構成は、ハードウエア的には、任意のコンピュータのCPU、メモリ、その他のL
SIで実現でき、ソフトウエア的にはメモリにロードされたプログラムなどによって実現
されるが、ここではそれらの連携によって実現される機能ブロックを描いている。したが
って、これらの機能ブロックがハードウエアのみ、ソフトウエアのみ、またはそれらの組
合せによっていろいろな形で実現できることは、当業者には理解されるところである。
In terms of hardware, this configuration is arbitrary computer CPU, memory, other L
Although it can be realized by SI and is realized by a program loaded in a memory or the like in terms of software, here, functional blocks realized by their cooperation are illustrated. Accordingly, those skilled in the art will understand that these functional blocks can be realized in various forms by hardware only, software only, or a combination thereof.
以上の構成による通信システム100の動作を説明する。図3は、通信装置20による
フロー制御の実行手順を示すフローチャートである。第1検出部68がポート60のリン
クアップを検出した場合(S10のY)、第2検出部70は、当該ポート60に対応した
送信バッファ66の空き容量を確認する(S12)。オーバーフローに接近し(S14の
Y)、送信失敗を検出しない場合(S16のN)、制御部72は、フロー制御を実行する
(S18)。一方、送信失敗を検出した場合(S16のY)、制御部72は、フロー制御
を実行しない(S20)。第1検出部68がポート60のリンクアップを検出しない場合
(S10のN)、あるいはオーバーフローに接近していない場合(S14のN)、処理は
終了される。
The operation of the
本実施例によれば、オーバーフローへの接近を検出しても、送信失敗を検出すれば、フ
ロー制御を実行しないので、無駄なフレームの送信を停止できる。また、無駄なフレーム
の送信が停止されるので、ケーブルに障害が発生しても、通信システム全体の通信停止を
抑制できる。また、フロー制御の非実行を決定した場合、フロー制御の非実行を維持する
ので、リンクアップ、オーバーフローへの接近、送信失敗を判定するための処理を不要に
できる。また、これらの処理が不要になるので、処理量を抑制できる。また、ケーブルの
障害発生をLEDにて通知するので、ケーブルの交換を促すことができる。また、フロー
制御を実行しないので、上位装置における再送信の待機を回避できる。また、上位装置に
おける再送信の待機が回避されるので、上位装置におけるオーバーフローを抑制できる。
According to the present embodiment, even if an approach to overflow is detected, if a transmission failure is detected, flow control is not executed, so that useless frame transmission can be stopped. In addition, since transmission of useless frames is stopped, communication stop of the entire communication system can be suppressed even if a failure occurs in the cable. Further, when non-execution of flow control is determined, non-execution of flow control is maintained, so that processing for determining link-up, approach to overflow, and transmission failure can be made unnecessary. Moreover, since these processes are unnecessary, the processing amount can be suppressed. Moreover, since the failure of the cable is notified by the LED, the replacement of the cable can be prompted. In addition, since flow control is not executed, it is possible to avoid waiting for retransmission in the host device. In addition, since a standby for retransmission in the host device is avoided, overflow in the host device can be suppressed.
以上、本発明を実施例をもとに説明した。この実施例は例示であり、それらの各構成要
素や各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本
発明の範囲にあることは当業者に理解されるところである。
In the above, this invention was demonstrated based on the Example. This embodiment is an exemplification, and it will be understood by those skilled in the art that various modifications can be made to the combination of each component and each processing process, and such modifications are also within the scope of the present invention. .
10 サーバ、 20 通信装置、 30 端末装置、 40 上位装置、 50 下
位装置、 60 ポート、 62 スイッチ部、 64 表示部、 66 送信バッファ
、 68 第1検出部、 70 第2検出部、 72 制御部、 100 通信システム
。
10 server, 20 communication device, 30 terminal device, 40 upper device, 50 lower device, 60 port, 62 switch unit, 64 display unit, 66 transmission buffer, 68 first detection unit, 70 second detection unit, 72 control unit, 100 Communication system.
Claims (2)
通信装置であって、
前記第2インターフェイスでのリンクアップを検出する第1検出部と、
前記第1検出部がリンクアップを検出した場合、前記第2インターフェイスが送信すべ
きフレームを蓄積するバッファにおけるオーバーフローへの接近を検出する第2検出部と
、
前記第2検出部がオーバーフローへの接近を検出した場合、前記第1インターフェイス
における受信カウンタの値と前記第2インターフェイスにおける送信カウンタの値との差
異がしきい値以上であることによって、前記第2インターフェイスにおける送信失敗を検
出する制御部と、
前記制御部が送信失敗を検出した場合、送信失敗を検出した前記第2インターフェイス
に接続したケーブルの障害発生を通知する表示部と、
を備えることを特徴とする通信装置。 A communication device for transmitting a frame received at a first interface from a second interface,
A first detection unit for detecting link-up at the second interface;
A second detector for detecting an approach to an overflow in a buffer for accumulating frames to be transmitted by the second interface when the first detector detects a link up;
When the second detection unit detects an approach to overflow, the difference between the value of the reception counter at the first interface and the value of the transmission counter at the second interface is greater than or equal to a threshold value, A controller that detects a transmission failure on the interface;
When the control unit detects a transmission failure, a display unit that notifies the occurrence of a failure in the cable connected to the second interface that has detected the transmission failure;
A communication apparatus comprising:
通信装置での制御方法であって、
前記第2インターフェイスでのリンクアップを検出するステップと、
リンクアップを検出した場合、前記第2インターフェイスが送信すべきフレームを蓄積
するバッファにおけるオーバーフローへの接近を検出するステップと、
オーバーフローへの接近を検出した場合、前記第1インターフェイスにおける受信カウ
ンタの値と前記第2インターフェイスにおける送信カウンタの値との差異がしきい値以上
であることによって、前記第2インターフェイスにおける送信失敗を検出するステップと
、
送信失敗を検出した場合、送信失敗を検出した前記第2インターフェイスに接続したケ
ーブルの障害発生を通知するステップと、
を備えることを特徴とする制御方法。 A control method in a communication apparatus for transmitting a frame received at a first interface from a second interface,
Detecting link up at the second interface;
Detecting link up, detecting an approach to overflow in a buffer storing frames to be transmitted by the second interface;
When an approach to overflow is detected, a transmission failure in the second interface is detected when a difference between a reception counter value in the first interface and a transmission counter value in the second interface is equal to or greater than a threshold value. And steps to
If a transmission failure is detected, notifying the failure of the cable connected to the second interface that detected the transmission failure;
A control method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019128278A JP2019176521A (en) | 2019-07-10 | 2019-07-10 | Communication device and control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019128278A JP2019176521A (en) | 2019-07-10 | 2019-07-10 | Communication device and control method |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015180985A Division JP6558167B2 (en) | 2015-09-14 | 2015-09-14 | Communication device and control method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2019176521A true JP2019176521A (en) | 2019-10-10 |
Family
ID=68167804
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019128278A Pending JP2019176521A (en) | 2019-07-10 | 2019-07-10 | Communication device and control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2019176521A (en) |
-
2019
- 2019-07-10 JP JP2019128278A patent/JP2019176521A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7260066B2 (en) | Apparatus for link failure detection on high availability Ethernet backplane | |
US7835265B2 (en) | High availability Ethernet backplane architecture | |
US7773526B2 (en) | Network interface control program and network interface controller | |
KR101593168B1 (en) | Physical one direction communication device and method thereof | |
US20030206527A1 (en) | Transmitting data between multiple computer processors | |
US8509616B2 (en) | Devices, systems and methods for run-time reassignment of a PHY to MAC devices interconnect | |
US7864668B2 (en) | Communication apparatus and path switching method | |
US20040032827A1 (en) | Method of flow control | |
CN103957155A (en) | Message transmission method and device and interconnection interface | |
WO2011131081A1 (en) | Method and apparatus for implementing redundancy serial bus | |
CN114448896B (en) | Network optimization method and device | |
WO2017000096A1 (en) | Link recovery method and network device | |
JP6558167B2 (en) | Communication device and control method | |
JP2019176521A (en) | Communication device and control method | |
JP5369748B2 (en) | Communication device including optical interface device | |
CN101170516B (en) | Status self-adapted method and device for non RPF interface | |
JP4462418B2 (en) | Layer 2 switch switching circuit, base station apparatus, and layer 2 switch switching method | |
CN105591894B (en) | A kind of method and apparatus that the veneer of distributed system improves data channel reliability between plate | |
CN114095462A (en) | Fault tolerance method and system for SRIO communication system of radar processor | |
JP2008219551A (en) | Transmission system, communication device, transmission control method, and program | |
CN100420187C (en) | Network switching equipment and network service protection method | |
KR100823130B1 (en) | Apparatus and method for managing network processor | |
JP2001297016A (en) | Instruction execution system | |
JP6898742B2 (en) | Processing device and packet processing method | |
JP2010226576A (en) | Network, network communications apparatus, system switching method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190710 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200526 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200630 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20210202 |