JP6954659B2 - Communication system and communication method - Google Patents
Communication system and communication method Download PDFInfo
- Publication number
- JP6954659B2 JP6954659B2 JP2019150489A JP2019150489A JP6954659B2 JP 6954659 B2 JP6954659 B2 JP 6954659B2 JP 2019150489 A JP2019150489 A JP 2019150489A JP 2019150489 A JP2019150489 A JP 2019150489A JP 6954659 B2 JP6954659 B2 JP 6954659B2
- Authority
- JP
- Japan
- Prior art keywords
- communication
- frame
- gap length
- unit
- transmission
- 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.)
- Active
Links
Images
Landscapes
- Small-Scale Networks (AREA)
- Communication Control (AREA)
Description
本発明は通信システム及び通信方法に関する。 The present invention relates to communication systems and communication methods.
IEEE802.3規格ではフレーム間ギャップ長が規定されており、送信装置はMAC(Media Access Control)11の送信端において12バイト以上で送信し、受信装置はGMII受信端において8バイト以上で受信すると規定されている(図8)。 The IEEE802.3 standard stipulates the inter-frame gap length, which stipulates that the transmitting device transmits at the transmitting end of MAC (Media Access Control) 11 with 12 bytes or more, and the receiving device receives at 8 bytes or more at the GMII receiving end. (Fig. 8).
しかし、PHYチップメーカの規格解釈は様々であり、メーカ毎にIEEE802.3規格のフレーム間ギャップ長に対する解釈も異なる。なぜならば、PHYメーカは受信側PHYにおける受信側フレーム間ギャップ許容値を決定する必要があるが、規格では受信側PHYに関して規定されていないためである。 However, the interpretation of the PHY chip maker's standard is different, and the interpretation of the IEEE802.3 standard for the inter-frame gap length is also different for each maker. This is because the PHY maker needs to determine the allowable inter-frame gap value in the receiving side PHY, but the standard does not specify the receiving side PHY.
受信側PHYに関して規定されていない理由は、ギガビットイーサネット(登録商標)の場合、GMII(Gigabit Media Independent Interface)受信端と受信側PHYでは、フレーム間ギャップ長に差が生じるためである。受信側PHYでは送信側PHYからフレームを受信した際、受信側PHY内部のFIFO(First In First Out)メモリによってクロックの載せ替えを行い、GMII経由でMACに渡す。このクロックの載せ替えによって回線側と受信側MAC間の周波数偏差(100ppm)の吸収を行うため、送信フレーム間ギャップ長が短くなる可能性がある。 The reason why the receiving side PHY is not specified is that in the case of Gigabit Ethernet (registered trademark), there is a difference in the inter-frame gap length between the GMII (Gigabit Media Independent Interface) receiving end and the receiving side PHY. When the receiving PHY receives a frame from the transmitting PHY, the clock is replaced by the FIFO (First In First Out) memory inside the receiving PHY and passed to the MAC via the GMII. Since the frequency deviation (100 ppm) between the line side and the receiving side MAC is absorbed by this clock replacement, the gap length between transmission frames may be shortened.
クロック載せ替えによってどの程度送信フレーム間ギャップ長が短くなるかは各社の作り込み方に差があるため、受信側PHYにおける受信側フレーム間ギャップ許容値は規格では一概に決められない。そのため受信側フレーム間ギャップ許容値に対して、各メーカの解釈に違いが生じる。 Since there are differences in how each company makes the gap length between transmission frames shortened by clock replacement, the allowable value of the gap between reception frames in the reception side PHY cannot be unconditionally determined by the standard. Therefore, there is a difference in the interpretation of each manufacturer with respect to the allowable value of the gap between frames on the receiving side.
また送信フレーム間ギャップ長よりも受信側フレーム間ギャップ許容値が長い場合、通信エラーが発生する。なぜならば、受信側PHYが正常にフレームを受信できなかったり、一時的にフレームを受信できたとしても、送信側PHYに対して送信を停止するよう要求するためである。 If the allowable value of the gap between frames on the receiving side is longer than the gap length between transmission frames, a communication error occurs. This is because the transmitting side PHY is requested to stop the transmission even if the receiving side PHY cannot normally receive the frame or can temporarily receive the frame.
なお通常、送信フレーム間ギャップ長は、通信状態により変化する。そのためフレーム間ギャップに起因する通信エラーは間欠的な障害になることが多い。その場合、他の要因の通信エラーと区別がつかず、原因追及が非常に困難である。そのため、人手によってこの問題を解決しようとすると、非常に多くの労力を必要とする。通信エラーの原因がフレーム間ギャップによるものかどうか確認するためには、送信フレーム間ギャップ長と受信側フレーム間ギャップ許容値の比較が必要である。 Normally, the gap length between transmission frames changes depending on the communication state. Therefore, communication errors caused by inter-frame gaps often become intermittent obstacles. In that case, it is indistinguishable from the communication error of other factors, and it is very difficult to investigate the cause. Therefore, trying to solve this problem manually requires a great deal of effort. In order to confirm whether the cause of the communication error is the inter-frame gap, it is necessary to compare the inter-frame gap length on the transmitting side with the permissible value of the inter-frame gap on the receiving side.
さらにその解決策として、受信装置でフレーム間ギャップが通信エラーの原因であることを把握し、原因を送信装置へ通知する必要がある。関連する技術では受信装置でフレーム間ギャップに起因する通信エラーが発生しても送信装置にエラー状態の通知しか行われず、エラー原因は通知されない。例えば、10ギガビットイーサネット(登録商標)ではIEEE802.3aeで規定されるLFS(Link Fault Signaling)機能のLocal Fault信号やRemote Fault信号のような接続性を確認する障害管理のプロトコルが存在する。それにより送信装置は受信装置がエラー状態になっていることは把握できるが、LFS機能だけでは何故エラー状態になっているのか原因が分からず、さらにどのようにすればエラー状態が解決するのか判断できない。その調査には、例えば送信装置と受信装置の間に回線モニター等の測定器を接続する必要がある。 Further, as a solution, it is necessary for the receiving device to understand that the inter-frame gap is the cause of the communication error and notify the transmitting device of the cause. In the related technology, even if a communication error occurs due to an inter-frame gap in the receiving device, only the error status is notified to the transmitting device, and the cause of the error is not notified. For example, in 10 Gigabit Ethernet (registered trademark), there are fault management protocols for confirming connectivity, such as the Local Fault signal and the Remote Fault signal of the LFS (Link Fault Signaling) function defined by IEEE802.3ae. As a result, the transmitting device can grasp that the receiving device is in the error state, but the LFS function alone does not know the cause of the error state, and further determines how the error state can be resolved. Can not. For the investigation, for example, it is necessary to connect a measuring instrument such as a line monitor between the transmitting device and the receiving device.
イーサネット(登録商標)通信分野では、以下の問題が知られている。
1)送信フレーム間ギャップ長が受信側フレーム間ギャップ許容値よりも短いと通信エラーが発生する。
2)このような原因で通信エラーが発生すると、その他の要因による通信エラーとの見分けが困難であり、原因追及が難航し、問題の解決に労力を必要とする。
3)送信装置が受信装置の受信側フレーム間ギャップ許容値を直接知る手段がないため、送信フレーム間ギャップ長をいくつに設定すれば通信エラーが未発生となるか判断できない。
The following problems are known in the Ethernet (registered trademark) communication field.
1) If the gap length between transmission frames is shorter than the permissible value of gap between frames on the receiving side, a communication error occurs.
2) When a communication error occurs due to such a cause, it is difficult to distinguish it from a communication error due to other factors, it is difficult to investigate the cause, and labor is required to solve the problem.
3) Since there is no means for the transmitting device to directly know the allowable value of the inter-frame gap on the receiving side of the receiving device, it is not possible to determine how many the inter-frame gap length of the transmitting device should be set so that the communication error does not occur.
また、同分野の先行事例として、特許文献1に記載の「判定装置、判定方法及びコンピュータプログラム」がある。これにより、受信側フレーム間ギャップ許容値を測定することが可能である。
特許文献2は、フレーム間ギャップ長の異常を検出する方法が開示されている。特許文献3には、LFS機能を利用した中継装置により通信エラーの要因を判別する方法が開示されている。
Further, as a precedent example in the same field, there is a "determination device, determination method and computer program" described in
Patent Document 2 discloses a method for detecting an abnormality in the gap length between frames.
しかしながら、この特許文献1に記載の装置は、上記の問題を解決できない。その理由は、受信側フレーム間ギャップ許容値が分かるだけでは通信エラーを解消することはできず、送信フレーム間ギャップ長との関係が分からないと送信フレーム間ギャップ長の設定を変更することができないからである。
However, the apparatus described in
また、特許文献1および2を組み合わせても、フレーム間ギャップの不整合による通信エラーを解決することはできない。また、特許文献3の既存のLFS機能ではフレーム間ギャップの不整合を原因とする通信エラーを送信装置に通知することはできない。
Further, even if
本発明は、このような問題点を解決するためになされたものであり、通信エラー発生の際に送信フレーム間ギャップ長の設定を変更可能な通信システム及び通信方法を提供することを目的とする。 The present invention has been made to solve such a problem, and an object of the present invention is to provide a communication system and a communication method capable of changing the setting of the gap length between transmission frames when a communication error occurs. ..
本発明の一態様にかかる通信システムは、第1の装置から第2の装置へ通信回線を介して通信フレームのデータを送信する通信システムであって、
前記第2の装置は、受信した通信フレームが通信エラーとなっているかを確認する確認部と、
前記通信フレームのフレーム間ギャップ長を測定する測定部と、
前記通信エラーの原因が送信フレーム間ギャップ長にあるか否かを判定する判定部と、
前記通信エラーの原因が送信フレーム間ギャップ長にある場合、その情報を載せたシグナリングを生成して送信する生成部と、を備え、
前記第1の装置は、前記シグナリングに載せられた情報に基づき、送信フレーム間ギャップ長の設定を変更する変更部と、を備える。
The communication system according to one aspect of the present invention is a communication system that transmits data of a communication frame from a first device to a second device via a communication line.
The second device includes a confirmation unit for confirming whether the received communication frame has a communication error, and a confirmation unit.
A measuring unit that measures the inter-frame gap length of the communication frame,
A determination unit that determines whether or not the cause of the communication error is the gap length between transmission frames, and
When the cause of the communication error is the gap length between transmission frames, a generation unit for generating and transmitting signaling carrying the information is provided.
The first device includes a changing unit that changes the setting of the gap length between transmission frames based on the information carried in the signaling.
本発明の一態様にかかる通信方法は、第1の装置から第2の装置へ通信回線を介して通信フレームのデータを送信する通信方法であって、
前記第2の装置において、受信した通信フレームが通信エラーとなっているかを確認するステップと、
前記第2の装置において、前記通信フレームのフレーム間ギャップ長を測定するステップと、
前記第2の装置において、前記通信エラーの原因が送信フレーム間ギャップ長にあるか否かを判定するステップと、
前記第2の装置において、前記通信エラーの原因が送信フレーム間ギャップ長にある場合、その情報を載せたシグナリングを生成して送信するステップと、
前記第1の装置において、前記シグナリングに載せられた情報に基づき、送信フレーム間ギャップ長の設定を変更するステップと、を含む。
The communication method according to one aspect of the present invention is a communication method for transmitting data of a communication frame from a first device to a second device via a communication line.
In the second device, a step of confirming whether the received communication frame has a communication error, and
In the second device, the step of measuring the inter-frame gap length of the communication frame and
In the second device, a step of determining whether or not the cause of the communication error is the gap length between transmission frames, and
In the second device, when the cause of the communication error is the gap length between transmission frames, a step of generating and transmitting a signaling carrying the information, and
In the first apparatus, the step of changing the setting of the gap length between transmission frames based on the information carried in the signaling is included.
本発明によれば、通信エラー発生の際に送信フレーム間ギャップ長の設定を変更可能な通信システム、及び通信方法を提供することができる。 According to the present invention, it is possible to provide a communication system and a communication method capable of changing the setting of the gap length between transmission frames when a communication error occurs.
実施の形態1
以下、図面を参照して本発明の実施の形態について説明する。
図1は、実施の形態1にかかる通信システムの構成を示すブロック図である。
通信システム1は、第1の装置(送信装置)10と第2の装置(受信装置)20を備える。通信システム1において、第1の装置から第2の装置へ通信回線を介して通信フレームのデータを送信する。第2の装置(受信装置)20は、受信した通信フレームが通信エラーとなっているかを確認する確認部211と、通信フレームのフレーム間ギャップ長を測定する測定部212と、通信エラーの原因が送信フレーム間ギャップ長にあるか否かを判定する判定部213と、通信エラーの原因が送信フレーム間ギャップ長にある場合、その情報を載せたシグナリングを生成して送信する生成部214と、を備える。また、第1の装置(送信装置)10は、シグナリングに載せられた情報に基づき、送信フレーム間ギャップ長の設定を変更する変更部111と、を備える。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing a configuration of a communication system according to the first embodiment.
The
第1の装置(送信装置)10および第2の装置(受信装置)20はそれぞれ、制御部を有し、制御部は、記憶部に格納された各種プログラムに基づいて、各種制御を実行する機能を有し、中央演算処理装置(CPU)、読出専用メモリ(ROM)、ランダムアクセスメモリ(RAM)、入出力ポート(I/O)等により実現される。 The first device (transmitting device) 10 and the second device (receiving device) 20 each have a control unit, and the control unit has a function of executing various controls based on various programs stored in the storage unit. It is realized by a central processing unit (CPU), a read-only memory (ROM), a random access memory (RAM), an input / output port (I / O), and the like.
以上説明した実施の形態1にかかる通信システムは、通信エラーの原因が送信フレームギャップ長にある場合、送信フレーム間ギャップ長の設定を変更することができる。 In the communication system according to the first embodiment described above, when the cause of the communication error is the transmission frame gap length, the setting of the transmission frame gap length can be changed.
実施の形態2
図2は、実施の形態2にかかる通信システムの構成を示すブロック図である。図2では、実施の形態1と同一の構成要素は、図1と同一の符号を付し、適宜説明を省略する。図2において、通信システム1は、送信装置10と受信装置20から成り、それぞれはイーサネット(登録商標)回線で接続される。
Embodiment 2
FIG. 2 is a block diagram showing a configuration of a communication system according to a second embodiment. In FIG. 2, the same components as those in the first embodiment are designated by the same reference numerals as those in FIG. 1, and the description thereof will be omitted as appropriate. In FIG. 2, the
送信装置10は送受信部101とシグナリング解析部102と送信フレーム間ギャップ設定部103を備える。一方、受信装置20は送受信部201と受信データ解析部202とシグナリング生成部203を備える。
The
なお、通信システム1は、送信装置10と受信装置20の関係を逆にしてよいし、それぞれが双方を併せ持ってもよい。具体的には、送信装置10は受信装置20の機能を有し、受信装置20は送信装置10の機能を有することで、それぞれの装置が送信機能と受信機能を有してもよい。
In the
送信装置10において、送受信部101は、送信フレーム間ギャップ設定部103で予め設定された送信フレーム間ギャップ長を基にしたイーサネット(登録商標)フレームを受信装置20へ送信する機能を有する。さらに、送受信部101は、受信装置20からイーサネット(登録商標)フレームを受信する機能と、受信装置20から受信したイーサネット(登録商標)フレームからシグナリングを抜き取ってシグナリング解析部102へ送信する機能を有する。
In the
シグナリング解析部102は、送受信部101から受信したシグナリングを解析する機能と、受信装置20で送信フレーム間ギャップ長が受信側フレーム間ギャップ許容値より短いことによる通信エラーが発生していることを送信フレーム間ギャップ設定部103へ通知する機能を有する。
The
送信フレーム間ギャップ設定部103は、シグナリング解析部102から受信装置20で送信フレーム間ギャップ長が受信側フレーム間ギャップ許容値より短いことによる通信エラーが発生していることを通知されると、送信フレーム間ギャップ長の設定を変更する機能を有する。さらに、送信フレーム間ギャップ設定部103は、設定変更した送信フレーム間ギャップ長を送受信部101へ通知する機能を有する。
When the
一方、受信装置20において、送受信部201は、送信装置10からイーサネット(登録商標)フレームを受信する機能と、送信装置10から受信した送信フレーム間ギャップを受信データ解析部202へ送信する機能を有する。また、送受信部201は、送信装置10から受信したイーサネット(登録商標)フレームが通信エラーとなっていることをシグナリング生成部203へ通知する機能を有する。さらに、送受信部201は、送信装置10から受信した送信フレーム間ギャップ長が受信側フレーム間ギャップ許容値よりも短いことを示すシグナリングをシグナリング生成部203から受信する機能と、送信装置10へイーサネット(登録商標)フレームを送信する機能を有する。
On the other hand, in the receiving
受信データ解析部202は、送信装置10から受信した送信フレーム間ギャップを送受信部201から受信する機能と、送信装置10から受信した送信フレーム間ギャップ長が受信側フレーム間ギャップ許容値よりも短いことをシグナリング生成部203へ通知する機能を有する。
The reception
シグナリング生成部203は、送信装置10から受信したイーサネット(登録商標)フレームが通信エラーとなっていることを示す送受信部201からの通知を受信する機能と、送信装置10から受信した送信フレーム間ギャップ長が受信側フレーム間ギャップ許容値よりも短いことを示す受信データ解析部202からの通知を受信する機能を有する。さらに、シグナリング生成部203は、その通知された情報をシグナリングに載せて生成し、送受信部201へ送信する機能を有する。
The
なお、これらの各機能の全て又は一部は、ASIC(Application Specific Integrated Circuit)やPLD(Programmable Logic Device)やFPGA(Field Programmable Gate Array)等のハードウェアを用いて実現されても良い。 In addition, all or a part of each of these functions may be realized by using hardware such as ASIC (Application Specific Integrated Circuit), PLD (Programmable Logic Device), and FPGA (Field Programmable Gate Array).
また本発明におけるシグナリングは、10ギガイーサネット(登録商標)のLFS機能を想定しているが、通信回線の方式によってはその代わりにオートネゴシエーションやイーサネット(登録商標)OAMに置き換えても良い。 Further, although the signaling in the present invention assumes the LFS function of 10 Gigabit Ethernet (registered trademark), it may be replaced with auto-negotiation or Ethernet (registered trademark) OAM instead depending on the communication line method.
関連する技術として、受信側フレーム間ギャップ許容値を測定する方法(特許文献1)やフレーム間ギャップ長の異常を検出する方法(特許文献2)は知られていた。しかしながら、この組み合わせだけではフレーム間ギャップの不整合による通信エラーを解決することはできない。そこで、送信フレーム間ギャップ長を変更する機能を追加することでこの課題を解決した。 As related techniques, a method of measuring the allowable value of the inter-frame gap on the receiving side (Patent Document 1) and a method of detecting an abnormality in the inter-frame gap length (Patent Document 2) have been known. However, this combination alone cannot solve the communication error due to the inconsistency of the inter-frame gap. Therefore, this problem was solved by adding a function to change the gap length between transmission frames.
またLFS機能を利用した中継装置により通信エラーの要因を判別する方法(特許文献3)は知られていた。しかしながら、既存のLFS機能ではフレーム間ギャップの不整合を原因とする通信エラーを送信装置に通知することはできない。そこでLFS機能のシーケンスオーダーセットにフレーム間ギャップの不整合による通信エラーを追加することでこの課題を解決した。 Further, a method of determining the cause of a communication error by a relay device using the LFS function (Patent Document 3) has been known. However, the existing LFS function cannot notify the transmitting device of a communication error caused by the inconsistency of the inter-frame gap. Therefore, this problem was solved by adding a communication error due to inconsistency of the inter-frame gap to the sequence order set of the LFS function.
図3は本発明の実施の形態2にかかる通信システムの動作を示すフローチャートであり、このフローチャートを参照して説明する。
送信装置10において、送信フレーム間ギャップ設定部103は、予め初期設定した送信フレーム間ギャップ長を設定し、それを送受信部101に送信する(ステップS1)。送受信部101はその値を最短値として受信装置20へイーサネット(登録商標)フレームを送信する(ステップS3)。
FIG. 3 is a flowchart showing the operation of the communication system according to the second embodiment of the present invention, and will be described with reference to this flowchart.
In the
受信装置20では、送受信部201は、受信したイーサネット(登録商標)フレームからフレーム間ギャップを抜き取り、受信データ解析部202へ送信する。また送受信部201は、受信したイーサネット(登録商標)フレームが通信エラーとなっているかを判断し(ステップS5)、通信エラーとなっている場合にはシグナリング生成部203へ通信エラーの発生を通知する。ここでの通信エラーには、後述する送信フレーム間ギャップ長が受信側フレーム間ギャップ許容値よりも短いことによる通信エラーだけでなく、送信フレーム間ギャップ長のあらゆる異常(例えば、通信ケーブルの品質劣化に伴う通信回路上で発生するビットエラーや一時的な通信断、送信装置および受信装置の故障による間欠的な通信障害など)が含まれる。
In the receiving
受信データ解析部202は送受信部201から受信したフレーム間ギャップのバイト長を測定するとともに、測定した送信フレーム間ギャップ長と受信データ解析部202に予め設定された受信側フレーム間ギャップ許容値の比較を行う(ステップS7)。送信フレーム間ギャップ長が受信側フレーム間ギャップ許容値よりも短い場合(ステップS9でYes)、その結果(それに起因する通信エラー)をシグナリング生成部203へ通知する。
The reception
一方、通信エラーが未発生の場合、または送信フレーム間ギャップ長が受信側フレーム間ギャップ許容値よりも長い場合や同じ長さの場合(ステップS9でNo)、送信フレーム間ギャップ長は正常であると判断して送受信部201および受信データ解析部202による測定および比較を継続する(ステップS5およびステップS7)。シグナリング生成部203は、送受信部201から通信エラーが発生していること、受信データ解析部202からその原因が送信フレーム間ギャップ長が短すぎることを通知されると、シグナリングにその情報を載せる(ステップS11)。なお、シグナリングとは、端末同士(例えば、第1の通信装置および第2の通信装置)が本来の通信を行なう前、あるいは通信中に、情報を交換し、帯域幅、誤り訂正方法、(音声などの)符号化方式などを互いに統一(シグナリング)させるために使われるプロトコルのことである。
On the other hand, if no communication error has occurred, or if the inter-frame gap length on the receiving side is longer than or the same as the permissible value of the inter-frame gap on the receiving side (No in step S9), the inter-frame gap length is normal. Then, the measurement and comparison by the transmission /
ここで、図4を参照して、LFS機能のシーケンスオーダーセットを説明する。オーダーセットとは、特定の制御コードとデータバイトを組み合わせることにより意味をもたせたものである。レーン0が制御コードのシーケンスであり、レーン1乃至3に何かしらのデータを載せた1カラムが「シーケンスオーダーセット」と呼ばれる。シグナリングにおいては、IEEE802.3aeでのシーケンスオーダーセットにより伝送障害を示すLocal FaultとRemote Faultが定義されている(図4参照)。シーケンスオーダーセットのレーン1〜3で現在Reservedとなっている箇所(8bit)に通信エラーが発生していることやその原因が送信フレーム間ギャップ長が短すぎることを新たに定義することで本発明を実現させる。
Here, the sequence order set of the LFS function will be described with reference to FIG. An order set is made meaningful by combining a specific control code and data bytes. Lane 0 is a sequence of control codes, and one column in which some data is placed in
例えば受信装置20で送信フレーム間ギャップ長が短いことよる通信エラーが発生した場合、受信装置20から送信装置10へ送信するシグナリングは図5のようなシーケンスオーダーセットを送信する。図5に示すように、フレーム間ギャップに関するエラーが発生していることを示す0x01をレーン1に追加し、送信フレーム間ギャップ長が受信側フレーム間ギャップ許容値よりも短いことを示す0x01をレーン2に追加する。さらに、レーン3は、前記したように、Local Faultを示す0x01を利用する。このように、生成されたシグナリングには、シーケンスオーダーセットが含まれる。
For example, when a communication error occurs in the receiving
再び図3を参照して、説明を継続する。受信装置20の送受信部201はシグナリング生成部203から受信したシグナリングを送信装置10へイーサネット(登録商標)回線経由で送信する(ステップS13)。
The description will be continued with reference to FIG. 3 again. The transmission /
一方、送信装置10では、送受信部101は、イーサネット(登録商標)回線経由でイーサネット(登録商標)フレームを受信すると、そこからシグナリングを抜き取ってシグナリング解析部102へ送信する。シグナリング解析部102はシグナリングの内容を確認し(ステップS15)、受信装置20が通信エラーとなっていて、その原因が送信フレーム間ギャップ長が短すぎることだと認識すると、送信フレーム間ギャップ設定部103へその内容を通知する。
On the other hand, in the
送信フレーム間ギャップ設定部103はシグナリング解析部102から通知を受けると、送信フレーム間ギャップ長を増やす必要があると判断して、比較結果(ステップS9)に基づいて、送受信部101の送信フレーム間ギャップ長を変更する(例えば、1バイトずつ追加してもよいし、差分を一気に埋めるようにしてもよい)(ステップS17)。送受信部101は設定変更された送信フレーム間ギャップ長を最短値として受信装置20へイーサネット(登録商標)フレームを送信する(ステップS3)。
When the transmission frame
その後も受信装置20において送信フレーム間ギャップ長が受信側フレーム間ギャップ許容値よりも短いことによる通信エラーが再発するたびに送信フレーム間ギャップ長を増加させる(ステップS17)。なおシグナリング生成部203がシグナリングを生成する際、受信側フレーム間ギャップ許容値をシグナリングに追加することで、送信フレーム間ギャップ設定部103は送信フレーム間ギャップ長を即座に決定することができる。
After that, the inter-frame gap length is increased every time the communication error reoccurs due to the inter-frame gap length on the receiving side being shorter than the permissible value of the inter-frame gap on the receiving side in the receiving device 20 (step S17). When the
本実施の形態によれば、通信システム1の送受信間でフレーム間ギャップ長の不整合による通信エラーを自動で回避することができる。受信装置20から送信装置10へ通信エラーの原因が送信フレーム間ギャップ長によるものであることを通知するための新たな仕組みを作るのではなく、従来から存在するシグナリングを利用することによって容易に本発明を実現することができる。関連する技術では送信装置10で行っていたフレーム間ギャップ長の比較機能を、受信装置20に持たせることによって、通信エラーが発生する受信装置20でフレーム間ギャップ長を比較することができるため、仕組みを簡素化することができる。
According to this embodiment, it is possible to automatically avoid a communication error due to an inconsistency in the gap length between frames between transmission and reception of the
フレーム間ギャップはイーサネット(登録商標)回線を経由するごとにその長さが変化するため、イーサネット(登録商標)回線を往復するのではなく、片方向の通信のみでフレーム間ギャップを判断することが望ましい。よって、送信装置10で推測するのではなく、受信装置20で直接比較することで送信フレーム間ギャップ長と受信側フレーム間ギャップ許容値との比較をより正確に実現することができる。さらに、通信システム1は、特別な測定器、テストモード、およびテストフレームを使用することなく、運用中に通信しながら動作させることができるため、時間や手間の無駄を無くすことができる。
Since the length of the inter-frame gap changes each time it goes through the Ethernet (registered trademark) line, it is possible to determine the inter-frame gap only by one-way communication instead of going back and forth between the Ethernet (registered trademark) lines. desirable. Therefore, it is possible to more accurately compare the inter-frame gap length on the receiving side with the permissible value of the inter-frame gap on the receiving side by directly comparing with the receiving
送信フレーム間ギャップ長と受信側フレーム間ギャップ許容値の関係は、必ずしも容易に判断できるものではなく、一旦は最適値が決定したと判断しても実は受信側フレーム間ギャップ許容値に対して送信フレーム間ギャップ長が短くなっている可能性があり、その場合は本来のイーサネット(登録商標)通信を行っている最中でも再度調整を行う必要がある。この場合、本発明によれば、イーサネット(登録商標)通信に影響を与えずに送信フレーム間ギャップ長を適切な値に変更できる。 The relationship between the transmission frame-to-frame gap length and the receiving-side frame-to-frame gap tolerance cannot always be easily determined. There is a possibility that the inter-frame gap length is shortened, in which case it is necessary to make adjustments again even during the original Ethernet (registered trademark) communication. In this case, according to the present invention, the gap length between transmission frames can be changed to an appropriate value without affecting Ethernet (registered trademark) communication.
実施の形態3
図6は実施の形態3にかかる通信システムの動作を示すフローチャートであり、図6を参照して説明する。図6では、実施の形態2の説明と同一の処理は、適宜説明を省略する。
FIG. 6 is a flowchart showing the operation of the communication system according to the third embodiment, which will be described with reference to FIG. In FIG. 6, the same processing as that of the second embodiment will be omitted as appropriate.
上記の実施の形態2にかかる通信システムの動作の説明(図3)では、受信データ解析部202は常に、受信データのフレーム間ギャップ長を測定し、受信側フレーム間ギャップ許容値との比較を行う必要がある。そのため送信装置10が受信側フレーム間ギャップ許容値よりも長い送信フレーム間ギャップ長を送信しつづける場合、受信データ解析部202では、測定や比較を行う必要がないにも関わらず、無駄な動作が生じる。
In the description of the operation of the communication system according to the second embodiment (FIG. 3), the received
本発明の実施の形態3にかかる通信システムでは、受信データ解析部202は常に受信データのフレーム間ギャップ長を測定する必要はなく、送受信部201で通信エラー(前述のとおり、あらゆる通信エラーを含む)が発生したときにのみ、受信データ解析部202で受信データのフレーム間ギャップ長を測定する。具体的な動作としては、送受信部201は通信エラーの有無を常に監視する(ステップS205)。通信エラーが発生するまでは、受信データ解析部202は、フレーム間ギャップ長の測定や比較を行わない。
In the communication system according to the third embodiment of the present invention, the received
送受信部201は通信エラーを検知すると(ステップS209でYes)、受信データ解析部202内のタイマーによる計時をスタートする(ステップS210)とともに、受信データ解析部202は、受信データのフレーム間ギャップ長の測定を開始する(ステップS217)。同時に、送信フレーム間ギャップ長と受信側フレーム間ギャップ許容値との比較を開始し(ステップS217)、送信フレーム間ギャップ長の方が短ければ(ステップS219でYes)、シグナリング生成部203にてシグナリングの生成を行い(ステップS211)、その後の動作は図3で説明した実施の形態2と同一となる。
When the transmission /
一方、送信フレーム間ギャップ長の方が長い場合には(ステップS219でNo)、予め受信データ解析部202に設定されたタイムリミットとタイマーにより計時された時刻を比較する(ステップS221)。タイマーにより計時された時刻がタイムリミットを超えていなければ(ステップS221でNo)、フレーム間ギャップ長の測定と比較を継続する。タイマーにより計時された時刻がタイムリミットを超えていれば(ステップS221でYes)、フレーム間ギャップ長の測定と比較を終了し(ステップS223)、タイマーによる計時をストップ後にリセットして(ステップS225)、送受信部201で再度通信エラーの発生を監視する(ステップS205)。
On the other hand, when the gap length between transmission frames is longer (No in step S219), the time limit set in advance in the received
送受信部201で通信エラーが発生した直後はまだ受信データ解析部202はフレーム間ギャップ長の測定を開始していないため、送信フレーム間ギャップ長と受信側フレーム間ギャップ許容値との比較ができない。よって次に通信エラーが発生するまでフレーム間ギャップ長の測定を継続する。しかし次に通信エラーが発生するまで時間がかかる場合には(ステップS221でYes)、タイムリミットにより一旦フレーム間ギャップ長の測定は終了する(ステップS223)。よってタイムリミットの値は2回目の通信エラーが発生すると想定される時間を考慮して決定する必要がある。
Immediately after the communication error occurs in the transmission /
図7は、実施の形態4にかかる通信システムの構成を示すブロック図である。実施の形態4にかかる通信システム1において、受信装置20は、受信したイーサネット(登録商標)フレームにより通信エラーが発生しているかどうか確認する確認部211、イーサネット(登録商標)フレームのフレーム間ギャップ長を測定する測定部212、送信フレーム間ギャップ長と受信側フレーム間ギャップ許容値を比較する比較部215、この比較結果に基づいて、通信エラーの原因が送信フレーム間ギャップ長にあるか否かを判定する判定部213、通信エラーの原因が送信フレーム間ギャップ長にあることをシグナリングの中に埋め込む生成部214、イーサネット(登録商標)回線にシグナリングを送信する送信部216を備えることができる。さらに通信システム1における送信装置10は、イーサネット(登録商標)フレームの中からシグナリングを抜き取る抽出部112、シグナリングを解析する解析部113、および送信フレーム間ギャップ長の設定を変更する変更部111を備えることができる。
FIG. 7 is a block diagram showing a configuration of the communication system according to the fourth embodiment. In the
さらに、上述した様々な実施の形態において、通信システムにおける処理の手順を説明したように、本開示は通信方法としての形態も採り得る。この通信方法は、第1の装置から第2の装置へ通信回線を介して通信フレームのデータを送信する通信方法であって、前記第2の装置において、受信した通信フレームが通信エラーとなっているかを確認するステップと、前記第2の装置において、前記通信フレームのフレーム間ギャップ長を測定するステップと、前記第2の装置において、前記通信エラーの原因が送信フレーム間ギャップ長にあるか否かを判定するステップと、前記第2の装置において、前記通信エラーの原因が送信フレーム間ギャップ長にある場合、その情報を載せたシグナリングを生成して送信するステップと、前記第1の装置において、前記シグナリングに載せられた情報に基づき、送信フレーム間ギャップ長の設定を変更するステップと、を含む。なお、その他の例については、上述した様々な実施の形態で説明した通りである。例えば、本発明はイーサネット(登録商標)通信分野に属し、フレーム間ギャップの管理方法としての態様も取りうる。 Further, as described in the various embodiments described above, the procedure of processing in the communication system, the present disclosure may also take the form of a communication method. This communication method is a communication method in which data of a communication frame is transmitted from the first device to the second device via a communication line, and the communication frame received in the second device causes a communication error. In the second device, the step of measuring the inter-frame gap length of the communication frame, and in the second device, whether or not the cause of the communication error is the inter-frame gap length of the transmission frame. In the second device, if the cause of the communication error is the gap length between transmission frames, a step of generating and transmitting a signaling carrying the information, and in the first device. , A step of changing the setting of the gap length between transmission frames based on the information carried in the signaling. Other examples are as described in the various embodiments described above. For example, the present invention belongs to the field of Ethernet (registered trademark) communication, and can also take an aspect as a method for managing an inter-frame gap.
上述の例において、プログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non-transitory computer readable medium)を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えばフレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば光磁気ディスク)、CD−ROM(Read Only Memory)、CD−R、CD−R/W、DVD(Digital Versatile Disc)、BD(Blu-ray(登録商標) Disc)、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(Random Access Memory))を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。 In the above example, the program can be stored and supplied to a computer using various types of non-transitory computer readable medium. Non-transitory computer-readable media include various types of tangible storage media. Examples of non-temporary computer-readable media include magnetic recording media (eg, flexible discs, magnetic tapes, hard disk drives), magneto-optical recording media (eg, magneto-optical discs), CD-ROMs (Read Only Memory), CD-Rs. CD-R / W, DVD (Digital Versatile Disc), BD (Blu-ray (registered trademark) Disc), semiconductor memory (for example, mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (for example) Random Access Memory)) is included. The program may also be supplied to the computer by various types of transient computer readable medium. Examples of temporary computer-readable media include electrical, optical, and electromagnetic waves. The temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.
なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。例えば、本発明は、イーサネット(登録商標)通信の分野、フレーム間ギャップの設定を変更して通信エラーを回避する機能、シグナリングを利用してフレーム間ギャップに起因する通信エラーが発生していることを通知する機能を利用する装置などで利用され得る。 The present invention is not limited to the above embodiment, and can be appropriately modified without departing from the spirit. For example, the present invention is in the field of Ethernet (registered trademark) communication, a function of changing the setting of an inter-frame gap to avoid a communication error, and a communication error caused by an inter-frame gap using signaling. It can be used in devices that use the function to notify.
1 通信システム
10 送信装置
101 送受信部
102 シグナリング解析部
103 送信フレーム間ギャップ設定部
111 変更部
112 抽出部
113 解析部
20 受信装置
201 送受信部
202 受信データ解析部
203 シグナリング生成部
211 確認部
212 測定部
213 判定部
214 生成部
215 比較部
216 送信部
1
Claims (8)
前記第2の装置は、受信した通信フレームが通信エラーとなっているかを確認する確認部と、
前記通信フレームのフレーム間ギャップ長を測定する測定部と、
前記通信エラーの原因が送信フレーム間ギャップ長にあるか否かを判定する判定部と、
前記通信エラーの原因が送信フレーム間ギャップ長にある場合、その情報を載せたシグナリングを生成して送信する生成部と、を備え、
前記第1の装置は、前記シグナリングに載せられた情報に基づき、送信フレーム間ギャップ長の設定を変更する変更部と、を備える、通信システム。 A communication system that transmits communication frame data from a first device to a second device via a communication line.
The second device includes a confirmation unit for confirming whether the received communication frame has a communication error, and a confirmation unit.
A measuring unit that measures the inter-frame gap length of the communication frame,
A determination unit that determines whether or not the cause of the communication error is the gap length between transmission frames, and
When the cause of the communication error is the gap length between transmission frames, a generation unit for generating and transmitting signaling carrying the information is provided.
The first device is a communication system including a changing unit that changes the setting of the gap length between transmission frames based on the information carried in the signaling.
前記第2の装置において、受信した通信フレームが通信エラーとなっているかを確認するステップと、
前記第2の装置において、前記通信フレームのフレーム間ギャップ長を測定するステップと、
前記第2の装置において、前記通信エラーの原因が送信フレーム間ギャップ長にあるか否かを判定するステップと、
前記第2の装置において、前記通信エラーの原因が送信フレーム間ギャップ長にある場合、その情報を載せたシグナリングを生成して送信するステップと、
前記第1の装置において、前記シグナリングに載せられた情報に基づき、送信フレーム間ギャップ長の設定を変更するステップと、を含む、通信方法。 A communication method for transmitting communication frame data from a first device to a second device via a communication line.
In the second device, a step of confirming whether the received communication frame has a communication error, and
In the second device, the step of measuring the inter-frame gap length of the communication frame and
In the second device, a step of determining whether or not the cause of the communication error is the gap length between transmission frames, and
In the second device, when the cause of the communication error is the gap length between transmission frames, a step of generating and transmitting a signaling carrying the information, and
A communication method comprising the step of changing the setting of the gap length between transmission frames based on the information carried in the signaling in the first device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019150489A JP6954659B2 (en) | 2019-08-20 | 2019-08-20 | Communication system and communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019150489A JP6954659B2 (en) | 2019-08-20 | 2019-08-20 | Communication system and communication method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021034794A JP2021034794A (en) | 2021-03-01 |
JP6954659B2 true JP6954659B2 (en) | 2021-10-27 |
Family
ID=74678376
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019150489A Active JP6954659B2 (en) | 2019-08-20 | 2019-08-20 | Communication system and communication method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6954659B2 (en) |
-
2019
- 2019-08-20 JP JP2019150489A patent/JP6954659B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2021034794A (en) | 2021-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9419709B2 (en) | Transmission device and method for measuring delay | |
US20190190315A1 (en) | Apparatus and method for ensuring reliability of protection trip of intelligent substation | |
US8675501B2 (en) | Transmission apparatus and reporting method for reporting fault | |
CN106817264B (en) | Method, device and system for detecting link fault | |
US8576698B2 (en) | Connectivity fault management timeout period control | |
US8699359B2 (en) | Data plane delay KPI monitoring in live network | |
CN102594600A (en) | Method and system for determining failure position of bidirectional forwarding detection session | |
EP3068170A1 (en) | Millimeter wave directional link switchover method, link switchover implementation device, and storage medium | |
WO2016019851A1 (en) | Switchover implementation method, station and system | |
WO2011035640A1 (en) | Method, system and apparatus for diagnosing physical downlink failure | |
EP3817288A1 (en) | Network communication method and device | |
JP2009253475A (en) | Transmission apparatus, network monitoring device, network communication system and troubleshooting method therefor | |
CN114338465A (en) | Network anomaly determination method and device | |
CN102487338B (en) | Method and device for adjusting bidirectional forwarding detection (BFD) sending interval according to network jitter | |
US10454617B2 (en) | Coding scheme and multiframe transmission in optical networks | |
JP6954659B2 (en) | Communication system and communication method | |
US20130121165A1 (en) | Communication device, and signal degradation monitoring system and method | |
CN113810238A (en) | Network monitoring method, electronic device and storage medium | |
CN110557268B (en) | Method and device for controlling transmission of Ethernet frame | |
US20220311532A1 (en) | Fiber Link Detection Method and Apparatus | |
CN107800558B (en) | Fault determination method, information sending method, device, source end equipment and sink end equipment | |
US20120151246A1 (en) | Communication interface apparatus, transmission control method, and connection shutdown control method | |
JP2005268889A (en) | Transmission path switching system and operating method of the transmission path switching system | |
CN112532421A (en) | FPGA-based channel state online sensing and multiplexing unit, device and method | |
CN105591814A (en) | Method for online monitoring of E1 channel quality and monitoring system thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20201204 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210826 |
|
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: 20210831 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210922 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6954659 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |