JP6012908B2 - Relay device - Google Patents

Relay device Download PDF

Info

Publication number
JP6012908B2
JP6012908B2 JP2016520874A JP2016520874A JP6012908B2 JP 6012908 B2 JP6012908 B2 JP 6012908B2 JP 2016520874 A JP2016520874 A JP 2016520874A JP 2016520874 A JP2016520874 A JP 2016520874A JP 6012908 B2 JP6012908 B2 JP 6012908B2
Authority
JP
Japan
Prior art keywords
frame
queue
time
delay
relay device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2016520874A
Other languages
Japanese (ja)
Other versions
JPWO2015177902A1 (en
Inventor
竜介 川手
竜介 川手
幸子 谷口
幸子 谷口
俊行 中安
俊行 中安
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Application granted granted Critical
Publication of JP6012908B2 publication Critical patent/JP6012908B2/en
Publication of JPWO2015177902A1 publication Critical patent/JPWO2015177902A1/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、リングネットワークを構成する中継装置に関する。   The present invention relates to a relay device constituting a ring network.

産業分野において、イーサネット(登録商標)化が進んでおり、FA(Factory Automation)機器をつなぐネットワーク(以下、FAネットワーク)がイーサネットにより構築されるようになってきている。FAネットワークでは、高速かつ高精度なモーション制御を実現する場合、それぞれのノードや中継装置において、特に時刻同期用のフレームは、遅延揺らぎが無い様に固定遅延で転送することが要求される場合がある。   In the industrial field, Ethernet (registered trademark) has been developed, and a network (hereinafter referred to as an FA network) connecting FA (Factory Automation) devices has been constructed by Ethernet. In the FA network, when realizing high-speed and high-precision motion control, it is sometimes required to transfer a frame for time synchronization at a fixed delay so that there is no delay fluctuation in each node or relay device. is there.

上記システムにおいては、フレームを一旦メモリに蓄積してから転送するストア&フォワード方式の転送制御を行う装置が適用できない。これは、フレーム長が可変長であるイーサネットフレームは、フレームの長さによって、転送遅延が異なってしまうからである。   In the above system, an apparatus that performs store-and-forward transfer control in which a frame is temporarily stored in a memory and then transferred cannot be applied. This is because an Ethernet frame having a variable frame length has different transfer delays depending on the frame length.

リング状のネットワークであるリングネットワークにおいても同様の問題が存在する。すなわち、リングネットワークを構成している各装置が固定遅延での転送が可能な場合でも、障害が発生した装置や通信回線の位置により、時計回りや反時計回りの転送される方向によって遅延時間が異なる場合が発生する。   A similar problem exists in a ring network that is a ring network. In other words, even if each device constituting the ring network can transfer with a fixed delay, the delay time depends on the direction of the clockwise or counterclockwise transfer depending on the location of the failed device or the communication line. Different cases occur.

リングネットワークにおける上記問題を解決する従来技術として、特許文献1に記載された発明がある。特許文献1に記載された発明においては、マスタ局と複数のスレーブ局がリング状に接続され、マスタ局はスレーブ局に対して、時計回りと反時計回りの二つの経路を介してそれぞれ所定の同期フレームを周期的に送信し、スレーブ局は、スレーブクロックと、二つの経路毎に同期有効区間を設定する同期有効区間設定部と、同期フレームの受信終了時刻が前記同期有効区間に含まれる場合にのみ当該同期フレームによってスレーブクロックを補正する同期補正部を備えることで、同期を行っている。   As a prior art for solving the above problem in a ring network, there is an invention described in Patent Document 1. In the invention described in Patent Document 1, a master station and a plurality of slave stations are connected in a ring shape, and the master station is connected to the slave station through two routes, clockwise and counterclockwise. When a synchronization frame is periodically transmitted, the slave station includes a slave clock, a synchronization effective interval setting unit that sets a synchronization effective interval for each of the two paths, and a synchronization frame reception end time included in the synchronization effective interval Synchronization is performed by providing a synchronization correction unit that corrects the slave clock with the synchronization frame only.

特開2011−199420号公報JP 2011-199420 A

しかしながら、特許文献1に記載の発明では、マスタノードやスレーブノード自体が時刻同期を行っており、イーサネットスイッチ等の通信装置を介するような構成のネットワークに対して適用することができない、という問題点があった。   However, in the invention described in Patent Document 1, the master node and the slave node themselves perform time synchronization, and cannot be applied to a network having a configuration via a communication device such as an Ethernet switch. was there.

本発明は、上記に鑑みてなされたものであって、リングネットワークにおいて時刻同期を実現する中継装置を得ることを目的とする。   The present invention has been made in view of the above, and an object of the present invention is to obtain a relay device that realizes time synchronization in a ring network.

上述した課題を解決し、目的を達成するために、本発明は、リングネットワークを構成する中継装置であって、他の中継装置によりリングネットワーク外からリングネットワーク内の右回りの経路へ転送された特定のフレームを受信した場合に当該フレームを保持する第1のキューと、前記他の中継装置によりリングネットワーク外からリングネットワーク内の左回りの経路へ転送された特定のフレームを受信した場合に当該フレームを保持する第2のキューと、前記他の中継装置から自身までの前記右回りの経路におけるフレーム転送時間と前記他の中継装置から自身までの前記左回りの経路におけるフレーム転送時間とに基づいて、前記第1のキューまたは前記第2のキューに対し、保持しているフレームに遅延を与えてから出力するよう指示を与える遅延調整部と、を備えることを特徴とする。   In order to solve the above-described problems and achieve the object, the present invention is a relay device that constitutes a ring network, and is forwarded from outside the ring network to a clockwise route within the ring network by another relay device. The first queue that holds the frame when a specific frame is received, and the specific queue that is transferred from the outside of the ring network to the counterclockwise path in the ring network by the other relay device Based on the second queue holding the frame, the frame transfer time in the clockwise route from the other relay device to itself, and the frame transfer time in the counterclockwise route from the other relay device to itself Thus, a delay is given to the held frame for the first queue or the second queue, and then output. Characterized in that it comprises a delay adjusting unit for giving instructions, the.

本発明にかかる中継装置によれば、リングネットワークにおいて経路切り替えが発生してもフレームの転送遅延時間が変化しないため、時刻同期が可能なリングネットワークを実現できる、という効果を奏する。   The relay device according to the present invention has an effect that a ring network capable of time synchronization can be realized because the frame transfer delay time does not change even when path switching occurs in the ring network.

図1は、本発明にかかる中継装置を含んで構成された通信システムの一例を示す図である。FIG. 1 is a diagram illustrating an example of a communication system configured to include a relay device according to the present invention. 図2は、図1に示したリングネットワークの論理的な構成を示す図である。FIG. 2 is a diagram showing a logical configuration of the ring network shown in FIG. 図3は、障害が発生したリングネットワークの一例を示す図である。FIG. 3 is a diagram illustrating an example of a ring network in which a failure has occurred. 図4は、図3に示したリングネットワークの論理的な構成を示す図である。FIG. 4 is a diagram showing a logical configuration of the ring network shown in FIG. 図5は、スイッチ装置の送信処理部の一例を示す図である。FIG. 5 is a diagram illustrating an example of the transmission processing unit of the switch device. 図6は、スイッチ装置の受信処理部の一例を示す図である。FIG. 6 is a diagram illustrating an example of a reception processing unit of the switch device. 図7は、マスタノードが接続されているスイッチ装置の主要部の一例を示す図である。FIG. 7 is a diagram illustrating an example of a main part of the switch device to which the master node is connected. 図8は、スレーブノードが接続されているスイッチ装置の主要部の一例を示す図である。FIG. 8 is a diagram illustrating an example of a main part of the switch device to which the slave node is connected. 図9は、遅延時間の計測動作を示すシーケンス図である。FIG. 9 is a sequence diagram illustrating a delay time measurement operation.

以下に、本発明にかかる中継装置の実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。   Embodiments of a relay device according to the present invention will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

実施の形態1.
図1は、本発明にかかる中継装置を含んで構成された通信システムの一例を示す図である。
Embodiment 1 FIG.
FIG. 1 is a diagram illustrating an example of a communication system configured to include a relay device according to the present invention.

図1に示した通信システムにおいて、スイッチ装置11〜スイッチ装置16は、リングネットワーク1を構成している。これらのスイッチ装置は、本発明にかかる中継装置に相当し、イーサネットケーブルを介して他のスイッチ装置と接続されている。スイッチ装置11にはマスタノード21がイーサネットケーブルを介して接続されている。同様に、スイッチ装置12にはスレーブノード22が、スイッチ装置13にはスレーブノード23が、スイッチ装置14にはスレーブノード24が、それぞれイーサネットケーブルを介して接続されている。マスタノード21は、システム全体のマスタ時刻を持ち、定期的に時刻同期用のフレームを送信するノードである。スレーブノード22〜スレーブノード24は、リングネットワーク1を介して、固定遅延転送により送られてくるマスタノード21からの時刻同期用のフレームを受信すると、受信したフレームに含まれているマスタ時刻の情報を使用してマスタノード21と時刻同期を行う。   In the communication system shown in FIG. 1, the switch devices 11 to 16 constitute a ring network 1. These switch devices correspond to the relay device according to the present invention, and are connected to other switch devices via an Ethernet cable. A master node 21 is connected to the switch device 11 via an Ethernet cable. Similarly, a slave node 22 is connected to the switch device 12, a slave node 23 is connected to the switch device 13, and a slave node 24 is connected to the switch device 14 via an Ethernet cable. The master node 21 is a node that has the master time of the entire system and periodically transmits a time synchronization frame. When the slave node 22 to the slave node 24 receive the time synchronization frame from the master node 21 sent by the fixed delay transfer via the ring network 1, the master time information included in the received frame is received. Is used to perform time synchronization with the master node 21.

スイッチ装置12にはリング閉塞ポート30が設定されている。このリング閉塞ポート30は、ITU−T G.8032で規定されているイーサネットリングプロテクション(ERP)における閉塞ポートである。この閉塞ポートからはユーザフレームが転送されない。すなわち、図1に示したリングネットワーク1の論理的な構成は、図2に示したものとなる。この場合、例えばマスタノード21とスレーブノード23は、点線で示した通信経路41を介して通信を行う状態となる。   A ring blocking port 30 is set in the switch device 12. This ring blocking port 30 is a blocking port in Ethernet ring protection (ERP) defined by ITU-T G.8032. User frames are not transferred from this blocked port. That is, the logical configuration of the ring network 1 shown in FIG. 1 is as shown in FIG. In this case, for example, the master node 21 and the slave node 23 are in a state of performing communication via the communication path 41 indicated by a dotted line.

ここで、例えば、図3に示したような障害40、すなわち、スイッチ装置13とスイッチ装置14との間で回線障害が発生した場合、新たなリング閉塞ポート31およびリング閉塞ポート32が設定されるとともにリング閉塞ポート30が解除される。その結果、障害発生後のリングネットワーク1の論理的な構成は図4に示したものとなる。また、マスタノード21とスレーブノード23は、図2に示した通信経路41を介した通信が継続できないため、図4において点線で示した通信経路42を介して通信するように切り替わる。   Here, for example, when a failure 40 as shown in FIG. 3, that is, when a line failure occurs between the switch device 13 and the switch device 14, new ring block ports 31 and ring block ports 32 are set. At the same time, the ring closing port 30 is released. As a result, the logical configuration of the ring network 1 after the failure occurs is as shown in FIG. Further, since the master node 21 and the slave node 23 cannot continue the communication via the communication path 41 illustrated in FIG. 2, the master node 21 and the slave node 23 are switched to communicate via the communication path 42 indicated by the dotted line in FIG. 4.

次に、スイッチ装置13の構成について説明する。なお、ここでは一例としてスイッチ装置13について説明するが、他のスイッチ装置についても同様である。   Next, the configuration of the switch device 13 will be described. In addition, although the switch apparatus 13 is demonstrated here as an example, it is the same also about another switch apparatus.

図5は、スイッチ装置13の構成要素のうち、マスタノード21に向けて送信するフレームを処理する各構成要素(送信処理部)の一例を示す図である。図5に示したように、送信処理部は、遅延調整キュー201および205と、固定遅延キュー202および206と、通常キュー203および207と、読出制御部204および208と、遅延調整部209とを備える。   FIG. 5 is a diagram illustrating an example of each component (transmission processing unit) that processes a frame to be transmitted to the master node 21 among the components of the switch device 13. As shown in FIG. 5, the transmission processing unit includes delay adjustment queues 201 and 205, fixed delay queues 202 and 206, normal queues 203 and 207, read control units 204 and 208, and delay adjustment unit 209. Prepare.

遅延調整キュー201は、スレーブノード23から入力されたマスタノード21向けの固定遅延フレーム(すなわち、自身に接続されているスレーブノード23とマスタノード21の間で送受信される固定遅延フレーム)をキューイングする。固定遅延キュー202は、リングネットワークを構成している他のスイッチ装置から入力された固定遅延フレームをキューイングする。通常キュー203は、スレーブノード23から入力されたフレームのうち、固定遅延で転送する必要が無いフレーム(以下、通常フレームと称する)をキューイングする。読出制御部204は、遅延調整キュー201、固定遅延キュー202および通常キュー203から所定の順番でフレームを読み出して時計回り側(スイッチ装置12)へ出力する。以上が時計回りに転送するフレームを処理する構成要素である。   The delay adjustment queue 201 queues the fixed delay frame for the master node 21 input from the slave node 23 (that is, the fixed delay frame transmitted / received between the slave node 23 connected to itself and the master node 21). To do. The fixed delay queue 202 queues fixed delay frames input from other switch devices constituting the ring network. The normal queue 203 queues a frame (hereinafter referred to as a normal frame) that does not need to be transferred with a fixed delay among frames input from the slave node 23. The read control unit 204 reads frames from the delay adjustment queue 201, the fixed delay queue 202, and the normal queue 203 in a predetermined order and outputs them to the clockwise side (switch device 12). The above are the components that process the frames transferred clockwise.

遅延調整キュー205は、スレーブノード23から入力されたマスタノード21向けの固定遅延フレームをキューイングする。固定遅延キュー206は、リングネットワークを構成している他のスイッチ装置から入力された固定遅延フレームをキューイングする。通常キュー207は、通常フレームをキューイングする。読出制御部208は、遅延調整キュー205、固定遅延キュー206および通常キュー207から所定の順番でフレームを読み出して反時計回り側(スイッチ装置14)へ出力する。以上が反時計回りに転送するフレームを処理する構成要素である。   The delay adjustment queue 205 queues a fixed delay frame for the master node 21 input from the slave node 23. The fixed delay queue 206 queues fixed delay frames input from other switch devices constituting the ring network. The normal queue 207 queues normal frames. The read control unit 208 reads frames from the delay adjustment queue 205, the fixed delay queue 206, and the normal queue 207 in a predetermined order and outputs them to the counterclockwise side (switch device 14). The above is a component for processing a frame to be transferred counterclockwise.

遅延調整部209は、遅延調整キュー201および遅延調整キュー205に対して遅延時間の設定を行い、時計回りの経路と反時計回りの経路のいずれの経路でフレームが転送された場合においても遅延時間が固定となるように(マスタノード21に到達するまでの遅延時間が同じになるように)調整する。   The delay adjustment unit 209 sets a delay time for the delay adjustment queue 201 and the delay adjustment queue 205, and the delay time is set regardless of whether the frame is transferred through a clockwise route or a counterclockwise route. Is fixed (so that the delay time until reaching the master node 21 is the same).

図6は、スイッチ装置13の構成要素のうち、マスタノード21から送信されたフレームを処理する各構成要素(受信処理部)の一例を示す図である。図6に示したように、受信処理部は、フレーム転送部301および302と、遅延調整キュー303および304と、通常キュー305と、読出制御部306と、遅延調整部307とを備える。   FIG. 6 is a diagram illustrating an example of each component (reception processing unit) that processes a frame transmitted from the master node 21 among the components of the switch device 13. As shown in FIG. 6, the reception processing unit includes frame transfer units 301 and 302, delay adjustment queues 303 and 304, a normal queue 305, a read control unit 306, and a delay adjustment unit 307.

フレーム転送部301は、時計回りの経路からフレームを受信する(スイッチ装置14からフレームを受信する)。受信したフレームが配下のスレーブノード23宛ての場合、固定遅延フレームと通常フレームのいずれかを判別し、固定遅延フレームであれば遅延調整キュー303に転送し、通常フレームであれば通常キュー305に転送する。また、受信したフレームがスレーブノード23宛てではない場合、時計回りの経路へ転送する(スイッチ装置12へ転送する)。一方、フレーム転送部302は、反時計回りの経路からフレームを受信する(スイッチ装置12からフレームを受信する)。受信したフレームが配下のスレーブノード23宛ての場合、固定遅延フレームと通常フレームのいずれかを判別し、固定遅延フレームであれば遅延調整キュー304に転送し、通常フレームであれば通常キュー305に転送する。また、受信したフレームがスレーブノード23宛てではない場合、反時計回りの経路へ転送する(スイッチ装置14へ転送する)。   The frame transfer unit 301 receives a frame from a clockwise route (receives a frame from the switch device 14). When the received frame is destined for the slave node 23 under its control, it is determined whether it is a fixed delay frame or a normal frame. If it is a fixed delay frame, it is transferred to the delay adjustment queue 303, and if it is a normal frame, it is transferred to the normal queue 305. To do. If the received frame is not addressed to the slave node 23, the frame is transferred to a clockwise route (transferred to the switch device 12). On the other hand, the frame transfer unit 302 receives a frame from a counterclockwise path (receives a frame from the switch device 12). When the received frame is addressed to the slave node 23 under its control, it is determined whether it is a fixed delay frame or a normal frame, and if it is a fixed delay frame, it is transferred to the delay adjustment queue 304, and if it is a normal frame, it is transferred to the normal queue 305 To do. If the received frame is not addressed to the slave node 23, it is transferred to a counterclockwise path (transferred to the switch device 14).

遅延調整キュー303は時計回りの経路で送信されてきた固定遅延フレームをキューイングし、遅延調整キュー304は反時計回りの経路で送信されてきた固定遅延フレームをキューイングする。通常キュー305は通常フレームをキューイングする。   The delay adjustment queue 303 queues fixed delay frames transmitted through a clockwise route, and the delay adjustment queue 304 queues fixed delay frames transmitted through a counterclockwise route. The normal queue 305 queues normal frames.

読出制御部306は、遅延調整キュー303、遅延調整キュー304および通常キュー305から所定の順番でフレームを読み出してスレーブノード23へ出力する。遅延調整部307は、遅延調整キュー303および304に対して遅延時間の設定を行い、マスタノード21からのフレームが時計回りの経路と反時計回りの経路のいずれの経路で転送されてきた場合においても遅延時間が固定となるように調整する。   The read control unit 306 reads frames from the delay adjustment queue 303, the delay adjustment queue 304, and the normal queue 305 in a predetermined order and outputs them to the slave node 23. The delay adjustment unit 307 sets a delay time for the delay adjustment queues 303 and 304, and when the frame from the master node 21 is transferred through either the clockwise route or the counterclockwise route. Also adjust the delay time to be fixed.

なお、説明の便宜上、送信処理部と受信処理部がそれぞれ遅延調整部を備えることとしたが、送信処理部と受信処理部の外部に遅延調整部を1つだけ設け、1つの遅延調整部が送信処理部の遅延調整キュー201,205および受信処理部の遅延調整キュー303,304に対して、フレームに与える遅延時間を指示するようにしてもよい。   For convenience of explanation, each of the transmission processing unit and the reception processing unit includes a delay adjustment unit. However, only one delay adjustment unit is provided outside the transmission processing unit and the reception processing unit, and one delay adjustment unit is provided. You may make it instruct | indicate the delay time given to a frame with respect to the delay adjustment queues 201 and 205 of a transmission process part, and the delay adjustment queues 303 and 304 of a reception process part.

次に、本実施の形態にかかるスイッチ装置の動作について説明する。一例として、スイッチ装置13の動作を説明する。ここで、スイッチ装置13は、マスタノード21が接続されているスイッチ装置11が時計回りにフレームを送信した場合の自身までの遅延時間(スイッチ装置11がフレームを送信してから自身に到達するまでの遅延時間)およびスイッチ装置11が反時計回りにフレームを送信した場合の遅延時間を予め分かっているものとして説明を行う。なお、スイッチ装置11が時計回りにフレームを送信した場合のスイッチ装置13までの遅延時間とスイッチ装置13が反時計回りにフレームを送信した場合のスイッチ装置11までの遅延時間は同じである。スイッチ装置13は、リングネットワークを構築した場合やリングネットワークを構成するスイッチ装置の数が変動した場合、故障したスイッチ装置を交換した場合など、遅延時間が変化すると予測される場合に、遅延時間測定用の制御フレームを各経路において送受信し、各経路における遅延時間を測定する。本実施の形態では、スイッチ装置13からスイッチ装置11までの時計回りの経路における遅延時間を2μs、反時計回りの経路における遅延時間を4μsとする。   Next, the operation of the switch device according to this exemplary embodiment will be described. As an example, the operation of the switch device 13 will be described. Here, the switch device 13 has a delay time to itself when the switch device 11 to which the master node 21 is connected transmits a frame in a clockwise direction (until the switch device 11 reaches itself after the frame is transmitted). The delay time when the switch device 11 transmits the frame counterclockwise is assumed to be known in advance. Note that the delay time to the switch device 13 when the switch device 11 transmits the frame clockwise is the same as the delay time to the switch device 11 when the switch device 13 transmits the frame counterclockwise. The switch device 13 measures the delay time when the delay time is predicted to change, such as when a ring network is constructed, when the number of switch devices constituting the ring network fluctuates, or when a failed switch device is replaced. Control frames are transmitted and received in each path, and the delay time in each path is measured. In the present embodiment, the delay time in the clockwise path from the switch device 13 to the switch device 11 is 2 μs, and the delay time in the counterclockwise path is 4 μs.

この場合、時計回りの経路における遅延時間の方が反時計回りの経路における遅延時間よりも2μs短い。そのため、図5に示した送信処理部において、遅延調整部209は、スレーブノード23から入力されたフレームのうち、時計回りの経路でマスタノード21へ送信する固定遅延フレームを受け取って保持する遅延調整キュー201に対して、2μsの固定遅延転送を指示する。すなわち、2μsの遅延を付加してから出力するよう指示する。遅延調整キュー205に対しては遅延の付加を指示しない。一方、図6に示した受信処理部において、遅延調整部307は、反時計回りの経路で転送されてきたフレームを受け取って保持する遅延調整キュー304に対して、2μsの固定遅延転送を指示する。   In this case, the delay time in the clockwise route is 2 μs shorter than the delay time in the counterclockwise route. Therefore, in the transmission processing unit illustrated in FIG. 5, the delay adjustment unit 209 receives and holds a fixed delay frame to be transmitted to the master node 21 through the clockwise path among the frames input from the slave node 23. A fixed delay transfer of 2 μs is instructed to the queue 201. That is, it instructs to output after adding a delay of 2 μs. The delay adjustment queue 205 is not instructed to add a delay. On the other hand, in the reception processing unit illustrated in FIG. 6, the delay adjustment unit 307 instructs the delay adjustment queue 304 that receives and holds the frame transferred through the counterclockwise path to perform a fixed delay transfer of 2 μs. .

これにより、スイッチ装置13は、スレーブノード23から送信されたフレームがマスタノード21へ到達するまでの遅延時間を、転送経路によらず固定化できる。また、マスタノード21から送信されたフレームがスレーブノード23へ到達するまでの遅延時間を、転送経路によらず固定化できる。   As a result, the switch device 13 can fix the delay time until the frame transmitted from the slave node 23 reaches the master node 21 regardless of the transfer path. Further, the delay time until the frame transmitted from the master node 21 reaches the slave node 23 can be fixed regardless of the transfer path.

図2に示した構成のネットワークにおいて、スレーブノード23から送出される固定遅延フレームは、マスタノード21に対して4μsで転送される。一方、図4に示した障害発生時の状態において、スレーブノード23から送出される固定遅延フレームは、スイッチ装置13の遅延調整キュー201にて2μsの遅延を追加されるため、マスタノード21に対して反時計回りと同じ4μsで転送される状態となる。また、マスタノード21からスレーブノード23への固定遅延フレームは、通常の状態(障害が発生する前の図2に示した状態)においては、時計回りでスイッチ装置13まで到達し、この場合の遅延時間は4μsとなる。一方、障害発生時(図4に示した状態)においては、2μsの遅延時間でスイッチ装置13までフレームが到達し、遅延調整キュー304にて2μsの遅延を追加することで、同じ4μsの転送時間となる。   In the network having the configuration shown in FIG. 2, the fixed delay frame transmitted from the slave node 23 is transferred to the master node 21 in 4 μs. On the other hand, in the state at the time of failure shown in FIG. 4, the fixed delay frame transmitted from the slave node 23 is added with a delay of 2 μs in the delay adjustment queue 201 of the switch device 13, so Thus, the data is transferred in the same 4 μs counterclockwise direction. Further, the fixed delay frame from the master node 21 to the slave node 23 reaches the switch device 13 in the clockwise direction in the normal state (the state shown in FIG. 2 before the failure occurs), and the delay in this case The time is 4 μs. On the other hand, when a failure occurs (the state shown in FIG. 4), the frame arrives at the switch device 13 with a delay time of 2 μs, and the same transfer time of 4 μs is obtained by adding a delay of 2 μs in the delay adjustment queue 304. It becomes.

なお、本実施の形態で説明したスイッチ装置13の動作は、マスタノード21が接続されているスイッチ装置11において遅延調整を行わない場合の動作である。そのため、スイッチ装置13は、スイッチ装置11へフレームを送信する場合およびスイッチ装置11からフレームを受信した場合の双方において遅延時間調整を行う構成としている。スイッチ装置11が遅延時間を調整する機能を有している場合、スイッチ装置13は、固定遅延フレームの送信処理または受信処理のいずれかにおいて遅延時間を調整すればよい。例えば、上述した2μsの遅延付加をスイッチ装置11が固定遅延フレームの受信処理において行う場合、スイッチ装置13は、フレームの送信処理においては遅延時間を調整しないようにする。ただし、マスタノード21が接続されているスイッチ装置11が遅延調整を行う場合、スレーブノードが接続されている各スイッチ装置までの遅延時間を管理し、フレーム送信先のスイッチ装置ごとに異なる値の遅延を与える必要があり、処理が複雑になるとともに負荷も大きくなる。そのため、スレーブノードが接続されている各スイッチ装置が、送信時および受信時ともに遅延調整を行うようにするのが望ましい。   The operation of the switch device 13 described in the present embodiment is an operation when the delay adjustment is not performed in the switch device 11 to which the master node 21 is connected. Therefore, the switch device 13 is configured to adjust the delay time both when a frame is transmitted to the switch device 11 and when a frame is received from the switch device 11. When the switch device 11 has a function of adjusting the delay time, the switch device 13 may adjust the delay time in either the fixed delay frame transmission process or the reception process. For example, when the switching device 11 performs the above-described delay addition of 2 μs in the reception processing of the fixed delay frame, the switching device 13 does not adjust the delay time in the frame transmission processing. However, when the switch device 11 to which the master node 21 is connected performs delay adjustment, the delay time to each switch device to which the slave node is connected is managed, and a delay having a different value for each frame transmission destination switch device. Therefore, the processing becomes complicated and the load increases. For this reason, it is desirable that each switch device to which the slave node is connected performs delay adjustment both at the time of transmission and at the time of reception.

スイッチ装置13について説明したが、スレーブノードが接続されているその他のスイッチ装置(スイッチ装置12、14など)についても同様である。   Although the switch device 13 has been described, the same applies to other switch devices (switch devices 12, 14, etc.) to which the slave node is connected.

このように、本実施の形態のスイッチ装置は、固定遅延フレームを時計回りで送信した場合および反時計回りで送信した場合のリングネットワークにおける遅延時間の差の情報を予め保持しておき、固定遅延フレームの転送経路に応じて遅延調整を行うこととした。具体的には、遅延が小さい経路で固定遅延フレームを送信する場合および遅延が小さい経路で固定遅延フレームを受信した場合において、遅延を付加することとした。これにより、リングネットワークにおいて障害が発生して経路切り替えを実施した場合でも、固定遅延フレームの固定遅延転送を継続することができる。また、従来の技術においては、マスタノードやスレーブノード自体にて時刻同期のための動作を行っていたが、イーサネットスイッチ等の通信装置を介した場合でも固定遅延転送が可能となり、時刻同期を実現できる。   As described above, the switch device according to the present embodiment holds in advance information on the difference in delay time in the ring network between when the fixed delay frame is transmitted clockwise and when it is transmitted counterclockwise. We decided to adjust the delay according to the frame transfer path. Specifically, a delay is added when a fixed delay frame is transmitted through a path with a small delay and when a fixed delay frame is received through a path with a small delay. Thereby, even when a failure occurs in the ring network and the path is switched, the fixed delay transfer of the fixed delay frame can be continued. In the conventional technology, the master node or slave node itself performed the operation for time synchronization. However, fixed delay transfer is possible even through a communication device such as an Ethernet switch, realizing time synchronization. it can.

なお、各スレーブノードが個別に管理しているローカル時刻とマスタノードが管理しているマスタ時刻の同期を実現する場合、各スイッチ装置は、マスタノードが各スレーブノード宛に送信した時刻同期用フレームを固定遅延転送すればよい。すなわち、各スイッチ装置は、少なくとも、自身に接続しているスレーブノードへ転送する時刻同期用フレームを受信した場合に遅延調整を行うようにすればよい。   When synchronization between the local time managed by each slave node and the master time managed by the master node is realized, each switch device sends a time synchronization frame sent to each slave node by the master node. May be transferred with a fixed delay. That is, each switch device may adjust the delay at least when receiving a time synchronization frame to be transferred to a slave node connected to the switch device.

本実施の形態では時刻同期用のフレームを固定遅延転送する場合を想定して説明したが、本実施の形態は時刻同期用のフレーム以外のフレームを固定遅延転送する場合にも適用可能である。   Although the present embodiment has been described on the assumption that a time synchronization frame is transferred with a fixed delay, this embodiment can also be applied to a case where a frame other than a time synchronization frame is transferred with a fixed delay.

実施の形態2.
実施の形態1では、マスタノード21が接続されているスイッチ装置11が各経路(時計回りの経路、反時計回りの経路)における転送遅延時間を予め分かっていることを前提として説明を行ったが、次に、動的に転送遅延時間を取得して固定遅延転送を実現する実施形態について説明する。なお、通信システムの全体構成は実施の形態1と同様とする(図1参照)。
Embodiment 2. FIG.
In the first embodiment, the description has been made on the assumption that the switch device 11 to which the master node 21 is connected knows in advance the transfer delay time in each route (clockwise route, counterclockwise route). Next, an embodiment that dynamically acquires a transfer delay time to realize fixed delay transfer will be described. The overall configuration of the communication system is the same as that of the first embodiment (see FIG. 1).

図7は、マスタノード21が接続されているスイッチ装置11の主要部の一例を示す図である。なお、スイッチ装置11は、実施の形態1で説明したスイッチ装置13が備えていた送信処理部や受信処理部(図5および図6参照)と同様の構成要素を当然ながら具備しているが、図7においては、説明を簡単化するために記載を省略している。図7においては、動的に転送遅延時間を取得する動作に関連する構成要素のみを示している。   FIG. 7 is a diagram illustrating an example of a main part of the switch device 11 to which the master node 21 is connected. The switch device 11 naturally includes the same components as the transmission processing unit and the reception processing unit (see FIGS. 5 and 6) included in the switch device 13 described in the first embodiment. In FIG. 7, the description is omitted to simplify the description. In FIG. 7, only the components related to the operation of dynamically acquiring the transfer delay time are shown.

図7に示したように、スイッチ装置11は、転送遅延時間を取得するための構成として、同期用フレームスヌープ部402、遅延計測部403およびスイッチ部404を備えている。同期用フレームスヌープ部402は、フレームを受信するごとに、受信したフレームをスヌーピングしてスレーブノード宛の同期用フレームか否かを確認する。遅延計測部403は、同期用フレームスヌープ部402におけるスヌーピング結果に基づいて各経路における遅延時間を計測する。スイッチ部404は、他のスイッチ装置との間でフレームを送受信する。例えば、後述する遅延計測リクエストや遅延計測アンサーなどを送受信する。   As illustrated in FIG. 7, the switch device 11 includes a synchronization frame snoop unit 402, a delay measurement unit 403, and a switch unit 404 as a configuration for acquiring the transfer delay time. Every time a frame is received, the synchronization frame snoop unit 402 snoops the received frame to check whether it is a synchronization frame addressed to a slave node. The delay measurement unit 403 measures the delay time in each path based on the snooping result in the synchronization frame snoop unit 402. The switch unit 404 transmits and receives frames to and from other switch devices. For example, a delay measurement request or a delay measurement answer, which will be described later, is transmitted / received.

図7に示したスイッチ装置11において、マスタノード21が接続されているポート(図示せず)は、マスタノード21が定期的に送信する同期用フレーム401を受信するものとする。この場合、同期用フレームスヌープ部402は、マスタノード21が自身(スイッチ装置11)に接続され、かつ同期用フレーム401が定期的に送信されていることを検知する。同期用フレームスヌープ部402は、マスタノード21から同期用フレーム401が定期的に送信されていることを検知すると、その旨を遅延計測部403へ通知する。この通知を受けた遅延計測部403は、スイッチ部404に対して、遅延時間を計測するフレームを受信したら自身へ転送するよう指示する。   In the switch device 11 illustrated in FIG. 7, a port (not shown) to which the master node 21 is connected receives a synchronization frame 401 that the master node 21 periodically transmits. In this case, the synchronization frame snoop unit 402 detects that the master node 21 is connected to itself (switch device 11) and the synchronization frame 401 is periodically transmitted. When detecting that the synchronization frame 401 is periodically transmitted from the master node 21, the synchronization frame snoop unit 402 notifies the delay measurement unit 403 to that effect. Upon receiving this notification, the delay measuring unit 403 instructs the switch unit 404 to transfer to the switch unit 404 when receiving a frame for measuring the delay time.

図8は、スレーブノード23が接続されているスイッチ装置13の主要部の一例を示す図である。図7と同様に、実施の形態1で説明した送信処理部や受信処理部(図5および図6参照)と同様の構成要素については、説明を簡単化するために記載を省略している。   FIG. 8 is a diagram illustrating an example of a main part of the switch device 13 to which the slave node 23 is connected. As in FIG. 7, the same components as those of the transmission processing unit and the reception processing unit (see FIGS. 5 and 6) described in the first embodiment are not described for the sake of simplicity.

図8に示したように、スイッチ装置13は、スイッチ部501、同期用フレームスヌープ部503および遅延計測部504を備えている。この図8と図7を比較すれば明らかなように、スイッチ装置13とスイッチ装置11の基本構成は同じである。ただし、各構成要素の動作は異なる。すなわち、各スイッチ装置は、マスタノードが接続されている場合とスレーブノードが接続されている場合とで異なる動作を実行する。   As illustrated in FIG. 8, the switch device 13 includes a switch unit 501, a synchronization frame snoop unit 503, and a delay measurement unit 504. As is clear from a comparison between FIGS. 8 and 7, the basic configurations of the switch device 13 and the switch device 11 are the same. However, the operation of each component is different. That is, each switch device performs different operations when the master node is connected and when the slave node is connected.

スレーブノード23が接続されているスイッチ装置13において、スイッチ部501は、マスタノード21から送信された同期用フレームを時計回りの経路または反時計回りの経路から受信すると、同期用フレームスヌープ部503に転送する。同期用フレームスヌープ部503は、スイッチ部501から同期用フレームを受け取ると、遅延計測部504に対して遅延時間の計測を指示する。遅延計測部504は、遅延時間の計測指示を受けると、図9に示したシーケンスに従い、マスタノード21と接続されたスイッチ装置11との間の遅延時間を計測する。すなわち、遅延計測部504は、スイッチ装置11との間で、図9のシーケンスに従い、遅延時間計測のためのフレームを送受信する。具体的には、遅延計測リクエストを送信し、これに対する応答として遅延計測アンサーを受信する。図9のシーケンスに従ったフレーム送受信は、時計回りの経路および反時計回りの経路の双方において行う。この時、同期用フレームスヌープ部503は、遅延計測部504における遅延時間計測が完了するまで、同期用フレーム502をスレーブノード側へ転送しないように制御する。遅延計測部504は、遅延時間の計測が完了するとその旨を同期用フレームスヌープ部503へ通知し、この通知を受けた同期用フレームスヌープ部503は、スレーブノード側への同期用フレーム502の転送動作を再開する。   In the switch device 13 to which the slave node 23 is connected, the switch unit 501 receives the synchronization frame transmitted from the master node 21 from the clockwise route or the counterclockwise route, and then sends it to the synchronization frame snoop unit 503. Forward. When receiving the synchronization frame from the switch unit 501, the synchronization frame snoop unit 503 instructs the delay measurement unit 504 to measure the delay time. When receiving the delay time measurement instruction, the delay measuring unit 504 measures the delay time between the master node 21 and the switch device 11 connected in accordance with the sequence shown in FIG. That is, the delay measuring unit 504 transmits and receives a frame for measuring the delay time to and from the switch device 11 according to the sequence of FIG. Specifically, a delay measurement request is transmitted, and a delay measurement answer is received as a response thereto. The frame transmission / reception according to the sequence of FIG. 9 is performed in both the clockwise route and the counterclockwise route. At this time, the synchronization frame snoop unit 503 performs control so that the synchronization frame 502 is not transferred to the slave node side until the delay time measurement by the delay measurement unit 504 is completed. When the delay time measurement is completed, the delay measurement unit 504 notifies the synchronization frame snoop unit 503 to that effect, and the synchronization frame snoop unit 503 receiving the notification transfers the synchronization frame 502 to the slave node side. Resume operation.

遅延計測部504による遅延時間の計測動作について、図9を用いて詳しく説明する。   The delay time measurement operation by the delay measurement unit 504 will be described in detail with reference to FIG.

図9に示したように、まず、スイッチ装置13の遅延計測部504は、ローカル時刻(T0)を保持するとともに、このローカル時刻(T0)の情報を付与したフレームを遅延計測リクエストとしてスイッチ装置11へ送信する。次に、遅延計測リクエストを受信したスイッチ装置11において、遅延計測部403が、内部処理時間(Tm)を付与したフレームを遅延計測アンサーとして返送する。なお、スイッチ装置11は、遅延計測リクエストを受信した方向へ遅延計測アンサーを送信する。すなわち、時計回りの経路で遅延計測リクエストを受信した場合、スイッチ装置11は、反時計回りの経路で遅延計測アンサーを送信する。例えば、スイッチ装置11は、スイッチ装置13からの遅延計測リクエストをスイッチ装置12経由で受信した場合、遅延計測アンサーをスイッチ装置12経由で返送する。スイッチ装置13の遅延計測部504は、遅延計測アンサーを受信すると、受信時刻(T1)を確認し、次の式(1)に従って遅延時間Tdを算出する。遅延計測部504は、算出した遅延時間Tdを遅延調整部209および遅延調整部307(図5,図6参照)に通知して保持させる、または、図示を省略している記憶部で保持させる。遅延計測部504が遅延時間Tdを保持しておき、遅延調整部209や遅延調整部307からの要求に応じて通知するようにしても構わない。
Td=(Ts−Tm)/2=(T1−T0−Tm)/2 …(1)
As shown in FIG. 9, first, the delay measurement unit 504 of the switch device 13 holds the local time (T0) and uses the frame to which the information of the local time (T0) is added as a delay measurement request. Send to. Next, in the switch device 11 that has received the delay measurement request, the delay measurement unit 403 returns a frame to which the internal processing time (Tm) is added as a delay measurement answer. The switch device 11 transmits a delay measurement answer in the direction in which the delay measurement request is received. That is, when a delay measurement request is received through a clockwise route, the switch device 11 transmits a delay measurement answer through a counterclockwise route. For example, when receiving a delay measurement request from the switch device 13 via the switch device 12, the switch device 11 returns a delay measurement answer via the switch device 12. When receiving the delay measurement answer, the delay measurement unit 504 of the switch device 13 confirms the reception time (T1) and calculates the delay time Td according to the following equation (1). The delay measuring unit 504 notifies the delay adjusting unit 209 and the delay adjusting unit 307 (see FIGS. 5 and 6) of the calculated delay time Td and holds them, or holds them in a storage unit not shown. The delay measurement unit 504 may hold the delay time Td and notify it in response to a request from the delay adjustment unit 209 or the delay adjustment unit 307.
Td = (Ts−Tm) / 2 = (T1−T0−Tm) / 2 (1)

遅延計測部504は、時計回りの経路および反時計回りの経路の双方について、遅延時間Tdを算出する。   The delay measuring unit 504 calculates the delay time Td for both the clockwise route and the counterclockwise route.

このように、本実施の形態によれば、スイッチ装置は、マスタノードを自動検出し、時計回りの経路および反時計回りの経路の双方における遅延時間を測定するようにしたので、リング構成のネットワークにおいて障害が発生した場合でも、固定遅延転送を実現することができる。   As described above, according to the present embodiment, the switch device automatically detects the master node and measures the delay time in both the clockwise route and the counterclockwise route. Even when a failure occurs in the network, fixed delay transfer can be realized.

また、本実施の形態で説明した遅延時間Tdの計測動作を一定周期で行うことで、実施の形態1ではできなかった遅延時間Tdの更新が可能となり、仮に遅延時間が変化しても固定遅延転送を継続することができる。   In addition, by performing the measurement operation of the delay time Td described in the present embodiment at a constant period, the delay time Td that cannot be achieved in the first embodiment can be updated, and even if the delay time changes, a fixed delay is possible. The transfer can be continued.

なお、本実施の形態を実現するために、リング閉塞ポート30は、同期用フレームについてはイーサネットリングの制御用フレームと同様に転送を行い、マスタノードが接続されたスイッチ装置は、リングを一周してきた同期用フレームを受信するとこれを廃棄する。   In order to realize this embodiment, the ring blocking port 30 transfers the synchronization frame in the same manner as the control frame of the Ethernet ring, and the switch device connected to the master node goes around the ring. When the received synchronization frame is received, it is discarded.

以上のように、本発明にかかる中継装置は、リングネットワークにおいてフレームの固定遅延転送を実現する場合に有用である。   As described above, the relay apparatus according to the present invention is useful when realizing fixed delay transfer of frames in a ring network.

11,12,13,14,15,16 スイッチ装置、21 マスタノード、22,23,24 スレーブノード、30,31,32 リング閉塞ポート、40 障害、41,42 通信経路、201,205,303,304 遅延調整キュー、202,206 固定遅延キュー、203,207,305 通常キュー、204,208,306 読出制御部、209,307 遅延調整部、301,302 フレーム転送部、401,502 同期用フレーム、402,503 同期用フレームスヌープ部、403,504 遅延計測部、404,501 スイッチ部。   11, 12, 13, 14, 15, 16 Switch device, 21 Master node, 22, 23, 24 Slave node, 30, 31, 32 Ring blocked port, 40 Fault, 41, 42 Communication path, 201, 205, 303, 304 delay adjustment queue, 202, 206 fixed delay queue, 203, 207, 305 normal queue, 204, 208, 306 read control unit, 209, 307 delay adjustment unit, 301, 302 frame transfer unit, 401, 502 synchronization frame, 402, 503 Frame snoop unit for synchronization, 403, 504 Delay measurement unit, 404, 501 Switch unit.

Claims (7)

リングネットワークを構成する中継装置であって、
他の中継装置によりリングネットワーク外からリングネットワーク内の右回りの経路へ転送された特定のフレームを受信した場合に当該フレームを保持する第1のキューと、
前記他の中継装置によりリングネットワーク外からリングネットワーク内の左回りの経路へ転送された特定のフレームを受信した場合に当該フレームを保持する第2のキューと、
前記他の中継装置から自身までの前記右回りの経路におけるフレーム転送時間と前記他の中継装置から自身までの前記左回りの経路におけるフレーム転送時間とに基づいて、前記第1のキューまたは前記第2のキューに対し、保持しているフレームに遅延を与えてから出力するよう指示を与える遅延調整部と、
を備えることを特徴とする中継装置。
A relay device constituting a ring network,
A first queue that holds a specific frame transferred by another relay device from outside the ring network to a clockwise route in the ring network;
A second queue that holds a specific frame transferred from the outside of the ring network to the counterclockwise path in the ring network by the other relay device;
Based on the frame transfer time on the clockwise route from the other relay device to itself and the frame transfer time on the counterclockwise route from the other relay device to itself, the first queue or the first queue A delay adjustment unit that instructs the queue of 2 to output after delaying the held frame;
A relay device comprising:
前記他の中継装置が前記右回りの経路へ前記特定のフレームを送信してから前記第1のキューに格納され、前記第1のキューから出力されるまでの所要時間を第1の所要時間とし、前記他の中継装置が前記左回りの経路へ前記特定のフレームを送信してから前記第2のキューに格納され、前記第2のキューから出力されるまでの所要時間を第2の所要時間としたとき、
前記遅延調整部は、前記第1の所要時間と前記第2の所要時間が同じになるよう、前記第1のキューまたは前記第2のキューに指示を与えることを特徴とする請求項1に記載の中継装置。
The required time from when the other relay device transmits the specific frame to the clockwise route until it is stored in the first queue and output from the first queue is defined as the first required time. The time required from when the other relay device transmits the specific frame to the counterclockwise route until it is stored in the second queue and output from the second queue is the second time required. When
The delay adjusting unit gives an instruction to the first queue or the second queue so that the first required time is equal to the second required time. Relay device.
前記第1のキューおよび前記第2のキューは、マスタ時刻を管理しているマスタノードが送信元であり、かつ固定遅延で転送する必要があるフレームを保持することを特徴とする請求項1または2に記載の中継装置。   2. The first queue and the second queue hold a frame which is a transmission source of a master node managing a master time and needs to be transferred with a fixed delay. 2. The relay device according to 2. 自身がリングネットワーク内の右回りの経路へ転送し、前記他の中継装置がリングネットワーク外へ転送する特定のフレームをリングネットワーク外から受信した場合に当該フレームを保持する第3のキューと、
自身がリングネットワーク内の左回りの経路へ転送し、前記他の中継装置がリングネットワーク外へ転送する特定のフレームをリングネットワーク外から受信した場合に当該フレームを保持する第4のキューと、
を備え、
前記遅延調整部は、前記他の中継装置から自身までの前記右回りの経路におけるフレーム転送時間と前記他の中継装置から自身までの前記左回りの経路におけるフレーム転送時間とに基づいて、さらに、前記第3のキューまたは前記第4のキューに対し、保持しているフレームに遅延を与えてから出力するよう指示を与える、
ことを特徴とする請求項1、2または3に記載の中継装置。
A third queue that holds the frame when it receives a specific frame transferred from the ring network by itself and transferred to the clockwise route in the ring network, and transferred from the ring network by the other relay device;
A fourth queue that holds a frame when it is transferred from outside the ring network, when the other relay device receives the specific frame that is transferred to the counterclockwise route in the ring network, and forwarded outside the ring network;
With
The delay adjustment unit, based on the frame transfer time in the clockwise route from the other relay device to itself and the frame transfer time in the counterclockwise route from the other relay device to itself, Instructing the third queue or the fourth queue to output after delaying the held frame.
The relay apparatus according to claim 1, 2, or 3.
前記第3のキューに前記特定のフレームが格納されてから前記右回りの経路へ送信され、前記他の中継装置に到達するまでの所要時間を第3の所要時間とし、前記第4のキューに前記特定のフレームが格納されてから前記左回りの経路へ送信され、前記他の中継装置に到達するまでの所要時間を第4の所要時間としたとき、
前記遅延調整部は、前記第3の所要時間と前記第4の所要時間が同じになるよう、前記第3のキューまたは前記第4のキューに指示を与えることを特徴とする請求項4に記載の中継装置。
The time required from when the specific frame is stored in the third queue to the clockwise route to reach the other relay device is defined as a third required time, and is stored in the fourth queue. When the required time from when the specific frame is stored to the left-handed route to reach the other relay device is the fourth required time,
The delay adjusting unit gives an instruction to the third queue or the fourth queue so that the third required time is equal to the fourth required time. Relay device.
前記第3のキューおよび前記第4のキューは、マスタ時刻を管理しているマスタノードを宛先とし、かつ固定遅延で転送する必要があるフレームを保持することを特徴とする請求項4または5に記載の中継装置。   6. The third queue and the fourth queue hold a frame that is destined to a master node that manages the master time and that needs to be transferred with a fixed delay. The relay device described. フレーム転送時間測定用のフレームの宛先に前記他の中継装置を設定して前記右回りの経路および前記左回りの経路へ送信し、当該フレーム転送時間測定用のフレームを前記右回りの経路へ送信した時刻および前記左回りの経路へ送信した時刻と、当該フレーム転送時間測定用のフレームに対する応答フレームを前記右回りの経路で受信した時刻および前記左回りの経路で受信した時刻とに基づいて、前記他の中継装置から自身までの前記右回りの経路におけるフレーム転送時間および前記他の中継装置から自身までの前記左回りの経路におけるフレーム転送時間を算出する遅延時間計測部、
をさらに備えることを特徴とする請求項1から6のいずれか一つに記載の中継装置。
Set the other relay device as the destination of the frame transfer time measurement frame and transmit it to the clockwise route and the counterclockwise route, and transmit the frame transfer time measurement frame to the clockwise route Based on the received time and the time transmitted to the counterclockwise route, the time when the response frame for the frame transfer time measurement frame is received via the clockwise route and the time received via the counterclockwise route, A delay time measuring unit that calculates a frame transfer time in the clockwise route from the other relay device to itself and a frame transfer time in the counterclockwise route from the other relay device to itself;
The relay apparatus according to claim 1, further comprising:
JP2016520874A 2014-05-22 2014-05-22 Relay device Expired - Fee Related JP6012908B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2014/063570 WO2015177902A1 (en) 2014-05-22 2014-05-22 Relay apparatus

Publications (2)

Publication Number Publication Date
JP6012908B2 true JP6012908B2 (en) 2016-10-25
JPWO2015177902A1 JPWO2015177902A1 (en) 2017-04-20

Family

ID=54553598

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016520874A Expired - Fee Related JP6012908B2 (en) 2014-05-22 2014-05-22 Relay device

Country Status (5)

Country Link
JP (1) JP6012908B2 (en)
KR (1) KR101707788B1 (en)
CN (1) CN106464562B (en)
TW (1) TWI569607B (en)
WO (1) WO2015177902A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102396635B1 (en) * 2016-02-15 2022-05-12 주식회사 에치에프알 System for Compensating for the Latency caused by Switchover from the Fronthaul Ring Topology
KR101878575B1 (en) * 2016-12-29 2018-07-13 세종대학교산학협력단 Method and system of protection in fronthaul networks
JP7330329B2 (en) * 2018-03-02 2023-08-21 株式会社日立製作所 Communication control device and communication control system
JP2019153941A (en) * 2018-03-02 2019-09-12 株式会社日立製作所 Communication control device and communication control system
WO2019171669A1 (en) * 2018-03-07 2019-09-12 住友電気工業株式会社 Switch device, vehicle-mounted communication device, vehicle-mounted communication system, time correction method, and time correction program
JP6847334B2 (en) * 2018-12-20 2021-03-24 三菱電機株式会社 Network equipment, network systems, network methods, and network programs
WO2021166267A1 (en) * 2020-02-21 2021-08-26 日本電信電話株式会社 Communication delay measuring device, communication delay measuring method, and program
KR102583942B1 (en) * 2021-07-07 2023-09-26 중앙대학교 산학협력단 Packet transmission method based on network coding
KR102667630B1 (en) * 2023-10-31 2024-05-22 한화시스템(주) System for operating ptp-based time synchronization and method for operating thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0697945A (en) * 1992-02-25 1994-04-08 Fujitsu Ltd Transmitting signal non-instantaneous disconnection communicating equipment
JPH0993276A (en) * 1995-09-21 1997-04-04 Mitsubishi Electric Corp Ring type network access control method and ring type network system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5946315A (en) * 1995-12-28 1999-08-31 Dynarc Inc. Method and device for synchronizing dynamic synchronous transfer mode in a ring topology
JP2001016240A (en) * 1999-06-28 2001-01-19 Fujitsu Ltd Optical ring network
US7898942B2 (en) * 2005-03-31 2011-03-01 Nec Corporation Ring network system, failure recovery method, failure detection method, node and program for node
CN100555976C (en) * 2006-02-24 2009-10-28 阿拉克斯拉网络株式会社 Loop network and host node
JP5441776B2 (en) 2010-03-17 2014-03-12 三菱電機株式会社 Ring-shaped synchronous network system
CN103166792B (en) * 2011-12-16 2017-01-18 中国移动通信集团公司 Line asymmetrical compensation method, equipment and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0697945A (en) * 1992-02-25 1994-04-08 Fujitsu Ltd Transmitting signal non-instantaneous disconnection communicating equipment
JPH0993276A (en) * 1995-09-21 1997-04-04 Mitsubishi Electric Corp Ring type network access control method and ring type network system

Also Published As

Publication number Publication date
CN106464562A (en) 2017-02-22
TW201547234A (en) 2015-12-16
KR101707788B1 (en) 2017-02-16
WO2015177902A1 (en) 2015-11-26
JPWO2015177902A1 (en) 2017-04-20
KR20160149320A (en) 2016-12-27
TWI569607B (en) 2017-02-01
CN106464562B (en) 2018-06-01

Similar Documents

Publication Publication Date Title
JP6012908B2 (en) Relay device
JP5377663B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND TIME SYNCHRONIZATION METHOD
JP5228714B2 (en) Time synchronization method and relay device
US20170150464A1 (en) Communication apparatus, time synchronizing method, and non-transitory computer-readable storage medium
JP6355863B1 (en) Network system and communication method
CN103155488A (en) Delay measurement system and delay measurement method, as well as delay measurement device and delay measurement program
WO2015125439A1 (en) Communication system, wireless communication apparatus, and wireless communication method
WO2016135828A1 (en) Relay device and communication system
US9565107B2 (en) Packet relay system, packet relay method, and packet relay device
JP5812494B2 (en) Logical ring switching method, ring node, and ring network
KR101544592B1 (en) Dynamic Queue Allocation Scheme Method and Apparatus for High Availability Distributed Embedded Network Transmission
JP2020174274A (en) Signal transfer system, signal transfer device, route control device and signal transfer method
WO2023037416A1 (en) Delay adjustment device and redundant line system
US9648540B2 (en) Node device and data relaying method
JP6356047B2 (en) Relay system and switch device
JP2017103755A (en) Network based timing system and method to adapt network timing compensation about same
JP6299131B2 (en) Transport network system
JP6641991B2 (en) Node and communication method
JP6198583B2 (en) Relay device and communication system
JP2016082316A (en) Communication relay device and communication relay method
JP6312196B2 (en) Transmission device termination means, transmission device, transmission method, and termination program
WO2015099142A1 (en) Radio communication apparatus, radio communication system, and radio communication method
JP2017208589A (en) Transfer device and transfer processing method
WO2015087667A1 (en) Communication device and communication method
JP2018148291A (en) Network connection device and ring network system

Legal Events

Date Code Title Description
A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20160809

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160920

R150 Certificate of patent or registration of utility model

Ref document number: 6012908

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees