JP2012182512A - Ring type network system - Google Patents
Ring type network system Download PDFInfo
- Publication number
- JP2012182512A JP2012182512A JP2011042001A JP2011042001A JP2012182512A JP 2012182512 A JP2012182512 A JP 2012182512A JP 2011042001 A JP2011042001 A JP 2011042001A JP 2011042001 A JP2011042001 A JP 2011042001A JP 2012182512 A JP2012182512 A JP 2012182512A
- Authority
- JP
- Japan
- Prior art keywords
- station
- disconnection detection
- frame
- detection frame
- slave
- 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
本発明は、複数のノード(局)をディジーチェイン接続し、このディジーチェイン接続された両端の局で回線(信号線)を折り返すことにより、リング状の伝送経路を形成するようにした、リング型ネットワークシステムに関する。 In the present invention, a ring type transmission path is formed by connecting a plurality of nodes (stations) in a daisy chain and turning back a line (signal line) between the stations connected at both ends of the daisy chain. Related to network system.
図6は、リング型ネットワークシステムの一例を示す構成図である。このリング型ネットワークシステムは、マスタ局、および複数のスレーブ局#1、#2、#3、#4が回線にディジーチェイン接続されることにより構成される。そして、末端に位置するスレーブ局#2、#3が片側に局が接続されていないことを検知し内部でループバックすることでリング状の伝送経路を形成する。
FIG. 6 is a configuration diagram illustrating an example of a ring network system. This ring network system is configured by daisy chaining a master station and a plurality of
このようなリング型ネットワークシステムを構成する全ての局は、物理層でネットワークの信号線を監視し、振幅(電位)が検出されないか、あるいは小さい等の理由により、断線やコネクタの脱落等による「断線」であると判定する。この場合、断線箇所近傍の局が通信の異常を検出して回線を折り返すループバックを行い、回線を接続状態に維持することにより、切り離された局を除いた局間でデータ交換を継続するように構成されている。 All the stations constituting such a ring network system monitor the network signal lines in the physical layer, and because of the reason that the amplitude (potential) is not detected or is small, it is caused by disconnection or connector disconnection. It is determined that it is “disconnected”. In this case, the station near the disconnection point detects a communication error, loops back the line, and maintains the line in a connected state so that data exchange between stations other than the disconnected station is continued. It is configured.
図6に示したリング型ネットワークシステムでは、スレーブ局#4が、スレーブ局#3との間の信号線から振幅が検出されないことから断線を検出し、ループバックを行なうことによりリング状の伝送経路を維持している。
In the ring network system shown in FIG. 6, the
例えば、特許文献1には、ループバックが行なわれるネットワークシステムにおいて、各局の状態に影響を与えないビーコンフレームを監視することにより、ネットワークを断線状態から復旧させる技術が開示されている。また、特許文献2には、主伝送路と副伝送路とを持つループバック方式のネットワークシステムにおいて、一度断線検出を行い、異常が検出された側の伝送路にはLow信号を出力して再び断線検出を行うことで、片方の伝送路が断線している場合でも正しい断線検出が可能な技術が開示されている。これら特許文献に記載された発明は、いずれも信号レベルを監視することによって断線検出を行う方法である。
For example,
しかしながら、上記した従来技術によれば、信号線を伝搬する信号の振幅(電位)は検出できても、ネットワークケーブルの損傷等により電気的には接続されていても接触不良等の理由により、CRC(Cyclic Redundancy Check:巡回冗長検査)異常等が多発して正常な通信ができないような論理的な断線状態が発生した場合にはループバックができず、このため、通信を継続することができなくなる。 However, according to the above-described prior art, even if the amplitude (potential) of the signal propagating through the signal line can be detected, even if the signal is electrically connected due to damage of the network cable or the like, the CRC is not suitable for reasons such as poor contact. (Cyclic Redundancy Check) If a logical disconnection occurs that prevents normal communication due to frequent abnormalities, loopback cannot be performed, and communication cannot be continued. .
本発明は、上記の問題を鑑みてなされたものであり、その目的は、電気的には接続されていながら正常に通信ができないような論理的な断線状態が発生した場合であってもループバックを行なうことを可能にし、通信を継続することができるようにしたリング型ネットワークシステムを提供することにある。 The present invention has been made in view of the above-described problems, and the object of the present invention is to provide a loopback even in the case where a logical disconnection state occurs in which communication cannot be normally performed while being electrically connected. It is an object of the present invention to provide a ring network system that enables communication to be continued.
上記課題を解決するために、本発明のリング型ネットワークシステムは、マスタ局およびスレーブ局からなる複数の局がディジーチェイン接続されてリング状の回線を構成したリング型ネットワークシステムであって、前記マスタ局は、 前記リング状の回線にフレームを周回させるフレーム送信手段と、このフレーム送信手段によって送信された前記フレームが戻らないことを検知する論理断線検出手段と、この論理断線検出手段によって前記フレームが戻らないことが検知されると断線検出フレームを該マスタ局に隣接するスレーブ局に送信する断線検出フレーム送信手段と、前記断線検出フレームを送信した後、前記断線検出フレームに対する応答フレームを前記マスタ局に隣接するスレーブ局から受信すると該スレーブ局との接続を維持し、前記断線検出応答フレームを前記マスタ局に隣接するスレーブ局から未受信のときには該スレーブ局との接続を断ち、前記回線をループバックする第1のループバック制御手段と、を有する第1の通信制御部を備え、前記スレーブ局は、前記断線検出フレームを送信した隣接局から送信された前記断線検出フレームを受信し、前記隣接局に前記応答フレームを送信する応答フレーム送信手段と、自局が中間局の場合に自局の下流に接続されるスレーブ局に前記断線検出フレームを中継する断線検出フレーム中継手段と、この断線検出フレーム中継手段によって前記断線検出フレームが中継された後、前記断線検出フレームに対する応答フレームを前記自局の下流に接続されるスレーブ局から受信すると該スレーブ局との接続を維持し、前記断線検出応答フレームを前記自局の下流に接続されるスレーブ局から未受信のときには前記自局の下流に接続される前記スレーブ局との接続を断ち、前記回線をループバックする第2のループバック制御手段と、を有する第2の通信制御部を備えることを特徴とする。 In order to solve the above problems, a ring network system of the present invention is a ring network system in which a plurality of stations including a master station and a slave station are daisy chain connected to form a ring-shaped line. The station includes a frame transmission unit that circulates the frame on the ring-shaped line, a logical disconnection detection unit that detects that the frame transmitted by the frame transmission unit does not return, and the logical disconnection detection unit. A disconnection detection frame transmitting means for transmitting a disconnection detection frame to a slave station adjacent to the master station when it is detected that no return is made, and a response frame for the disconnection detection frame is transmitted to the master station after transmitting the disconnection detection frame. Connection from the slave station adjacent to the And a first loopback control means for disconnecting from the slave station and looping back the line when the disconnection detection response frame is not received from a slave station adjacent to the master station. A response frame transmitting means for receiving the disconnection detection frame transmitted from the adjacent station that transmitted the disconnection detection frame and transmitting the response frame to the adjacent station; When the station is an intermediate station, the disconnection detection frame relay means for relaying the disconnection detection frame to a slave station connected downstream of the own station, and after the disconnection detection frame is relayed by the disconnection detection frame relay means, When a response frame to the disconnection detection frame is received from a slave station connected downstream of the own station, the connection with the slave station is maintained, When the disconnection detection response frame is not received from a slave station connected downstream of the own station, a second loop that disconnects the slave station connected downstream of the own station and loops back the line And a second communication control unit having a back control means.
本発明によれば、マスタ局は、連続して通信失敗を検出した場合に隣接するスレーブ局に対して断線検出フレームを送信し、この断線検出フレームを受信したスレーブ局は、断線していないことを示す断線検出応答フレームを返信すると共に、他方の隣接局に断線検出フレームを送信する。そして、断線検出フレームを送信したマスタ局あるいはスレーブ局は、所定期間内にその応答が無い場合に断線と判断して自局を末端局としてループバックを行う。このため、ネットワークケーブルの劣化等により、電気的には接続されても正常に通信ができないような論理的断線状態であっても断線発生個所を特定することができ、ループバックにより正常な通信を継続することができる。 According to the present invention, when the master station continuously detects a communication failure, the master station transmits a disconnection detection frame to an adjacent slave station, and the slave station that has received this disconnection detection frame is not disconnected. Is returned, and a disconnection detection frame is transmitted to the other adjacent station. Then, the master station or slave station that has transmitted the disconnection detection frame determines that it is disconnected when there is no response within a predetermined period, and loops back with the local station as the terminal station. For this reason, it is possible to identify the location where the disconnection occurs even in a logical disconnection state where normal communication is not possible due to deterioration of the network cable, etc. Can continue.
また、本発明のリング型ネットワークシステムにおいて、前記断線検出フレーム送信手段は、前記マスタ局が末端局の場合にはその片端に接続された前記スレーブ局のみに前記断線検出フレームを送信し、前記マスタ局が中間局の場合には、隣接する両端の前記スレーブ局それぞれに前記断線検出フレームを送信することを特徴とする。 In the ring network system of the present invention, the disconnection detection frame transmitting means transmits the disconnection detection frame only to the slave station connected to one end of the master station when the master station is a terminal station. When the station is an intermediate station, the disconnection detection frame is transmitted to each of the slave stations at both ends adjacent to each other.
本発明のリング型ネットワークシステムによれば、電気的には接続されていながら正常に通信ができないような論理的な断線状態が発生した場合であってもループバックを可能にし、通信を継続することができる。 According to the ring network system of the present invention, even if a logical disconnection state occurs in which electrical communication is not possible but normal communication is possible, loopback is possible and communication is continued. Can do.
以下、本発明に係る好適な実施の形態(以下、本実施形態)について、図面を参照しながら詳細に説明する。
(実施形態の構成)
図1は、本実施形態に係るリング型ネットワークシステムの構成を示す図である。図1において、リング型ネットワークシステム10は、マスタ局1と、複数のスレーブ局#1(2)、#2(3)、#3(4)、#4(5)とが、ディジーチェイン接続されている。そして、末端局である局#2(3)と#3(4)それぞれによっての回線を折り返すことにより回線6をリング状にしている。
DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments (hereinafter, this embodiment) according to the present invention will be described in detail with reference to the drawings.
(Configuration of the embodiment)
FIG. 1 is a diagram showing a configuration of a ring network system according to the present embodiment. In FIG. 1, in the ring network system 10, a
マスタ局1は、図2に示されるように、ループバック制御部115を含むマスタ通信制御部11A、で構成される。マスタ通信制御部11Aは、送信が連続して失敗したことを検知したときに断線検出フレームを生成して隣接するスレーブ局#1(2)、#4(5)に送信し、この断線検出フレームを送信してから所定時間経過しても断線検出応答フレームを受信できない場合に、自局を末端局としてループバック制御部11Bによりループバックする機能を有する。
As shown in FIG. 2, the
図2に示されるように、マスタ通信制御部11Aは、主制御部110と、送受信部111と、論理断線検知部112と、断線検出フレーム生成部113と、応答判定部114と、ループバック制御部115とからなる。
As shown in FIG. 2, the master
送受信部111は、隣接するスレーブ局#1(2)、#4(5)との間で回線6を経由したフレームの送受信を行う。論理断線検知部112は、送受信部111を介して回線6に送信されたフレームが、回線6を周回して正常に戻ったかをチェックする。そして、論理断線検知部112は、送信されたフレームが所定の時間連続して戻らないことを検知すると、「論理断線」と判定して断線検出フレーム生成部113に断線検出フレームの生成処理を開始させる。すなわち、論理断線検出部112は、送受信部111によるフレームの送信が所定時間連続して失敗しことで論理断線を検出し、断線検出フレーム生成部113に断線検出フレームの生成を指示する。
The transmission /
この指示の下、断線検出フレーム生成部113は、断線検出フレームを生成し、送受信部111経由で、隣接するスレーブ局#1(2)、#4(5)に送信する。応答判定部114は、送受信部111が断線検出フレームを送信してから所定時間経過しても隣接局から断線検出応答フレームを受信できない場合に、隣接局との通信不可を検出する。この隣接局との通信不可の検知を基に、主制御部110は自局を末端局としてループバック制御部11Bにループバック制御を行なわせる。
Under this instruction, the disconnection detection
また、主制御部110は、論理断線が論理断線検知部112によって検知されたら、自局が末端局でない場合、すなわち中間局のときに、断線検出フレーム生成部によって生成された断線検出フレームを自局の両端のスレーブ局#1(2)、#4(5)に送信するよう送受信部111に指示する。
When the logical disconnection is detected by the logical
一方、スレーブ局#4(5)は、図2に示されるように、ループバック制御部154を含むスレーブ通信制御部15Aで構成される。スレーブ通信制御部15Aは、断線検出フレームを受信したとき断線検出応答フレームを生成して断線検出フレームを送信した送信元局に返信し、自局が末端局でない場合、すなわち中間局のときに、送信元局以外の隣接する局に対して断線検出フレームを送信(中継)する機能を有する。また、スレーブ通信制御部15Aは、隣接する局間で通信可を検出するとその隣接局と接続し、隣接局間で通信不可を検出すると回線6をループバックする機能を有する。
On the other hand, the slave station # 4 (5) includes a slave
スレーブ通信制御部15Aは、主制御部150と、送受信部151と、断線検出フレーム周回制御部152と、応答判定部153と、ループバック制御部154とからなる。
送受信部151は、回線6を介し隣接するマスタ局1、スレーブ局#3(4)との間でフレームを送受信する。断線検出フレーム周回制御部152は、自局が末端局の場合には、送受信部151を介して断線検出フレームを受信した際、断線検出応答フレームを、断線検出フレームを送信した隣接する送信元局に対して返信する。また、断線検出フレーム周回制御部152は、自局が末端局でない場合に、すなわち中間局のときは、断線検出フレームを受信した際、断線検出応答フレームを、断線検出フレームを送信した隣接する送信元局に対して返信するとともに、もう片方に接続される隣接局に断線検出フレームを送信(中継)する。応答判定部153は、断線検出フレームが送信(中継)されてから所定時間経過しても断線検出応答フレームを受信できない場合に、自局を末端局としてループバック制御部154にループバックを実行させる。
The slave
The transmission /
なお、主制御部150は、自局が末端局であるか否かの判定を行っている。自局が末端局でない(中間局)場合に、主制御部150は、前述断線検出フレーム受信の際の、断線検出応答フレームを生成して断線検出フレームを送信した送信元局(隣接局)に返信し、送信元局以外の隣接する局に対して断線検出フレームを送信するという機能と、断線検出フレームを送信してから所定時間経過しても断線検出応答フレームを受信できない場合に、自局を末端局とし、ループバック制御部15Bによりループバックを行なわせるという機能、すなわち「スレーブ通信制御部15A」としての機能を実現するために、上記した送受信部151、断線検出フレーム周回制御部152、応答判定部153、ループバック制御部154の制御を行う(詳細は後述)。
The
すなわち、主制御部150は、断線検出フレームを監視し、断線検出フレームが受信されない場合に、受信した通常のフレームを下流に隣接するスレーブ局#3(4)に送信して通常のフレームを回線6に周回させるようにフレームの周回制御を行う。また、主制御部150は、断線検出フレームの受信が確認されると、断線検出フレームに対する応答を示す断線検出応答フレームを送信元のマスタ局1に対して返信するようにフレームの周回制御を行う。さらに、主制御部150は、自局が末端局であれば回線6の接続状態を維持し、中間局であれば、下流に隣接して位置するスレーブ局#3(4)に対して断線検出フレームを中継するフレームの周回制御を行う。
That is, the
なお、スレーブ局#1(2)、#2(3)、#3(4)ともに、上記したスレーブ局#4(5)と同じ構成を有するため、重複を回避する意味で構成の説明を省略する。
(実施形態の動作)
図3は、本実施形態に係るリング型ネットワークシステム10の動作を示すシーケンス図である。まず、図3のシーケンス図を参照しながら、図1に示すリング型ネットワークシステム10の概略動作を説明する。
The slave stations # 1 (2), # 2 (3), and # 3 (4) all have the same configuration as that of the slave station # 4 (5), and thus the description of the configuration is omitted to avoid duplication. To do.
(Operation of the embodiment)
FIG. 3 is a sequence diagram showing the operation of the ring network system 10 according to the present embodiment. First, the schematic operation of the ring network system 10 shown in FIG. 1 will be described with reference to the sequence diagram of FIG.
図3(a)は、正常通信時におけるフレームの周回の様子を示している。マスタ局1にて生成されたフレームは、隣接するスレーブ局#1(2)、#2(3)、#3(4)、#4(5)を順次周回して戻ってくる。このとき、マスタ局1は、周回して戻ってきたフレームのデータ化け等の異常を検知するためにCRCチェックを行っている。図3(b)に示されるように、スレーブ局#3(4)とスレーブ局#4(5)との間で論理断線が発生したとする。マスタ局1は、例えば10[ms]の間連続して通信が失敗した、すなわち10[ms]の間連続して周回フレームを正常に受信しないことによりこの論理断線を検出する。このとき、マスタ局1は、図3(c)に示されるように、隣接する両端のスレーブ局#1(2)、スレーブ局#4(5)それぞれに対して断線検出フレームを送信する。
FIG. 3A shows how the frame circulates during normal communication. The frame generated by the
断線検出フレームを受信したスレーブ局#1(2)は、図3(d)に示されるように、断線していないことを、断線検出フレームの送信元局であるマスタ局1に断線検出応答フレームを送信することにより応答する。同時にスレーブ局#1(2)は、隣接して下流に位置するスレーブ局#2(3)に対して断線検出フレームを送信(中継)し、断線検出フレームを周回させる。同じく、断線検出フレームを受信したスレーブ局#4(5)は、断線していないことを、断線検出フレームの送信元局であるマスタ局1に断線検出応答フレームを送信することにより応答する。同時にスレーブ局#4(5)は隣接して下流に位置するスレーブ局#3(4)に対して断線検出フレームを送信(中継)し、断線検出フレームを周回させる。
As shown in FIG. 3D, the slave station # 1 (2) that has received the disconnection detection frame notifies the
このとき、図3(e)に示されるように、スレーブ局#4(5)は、自局が送信した断線検出フレームに対するスレーブ局#3(4)からの応答が10[ms]経過しても無いことから断線を検出し、自局を末端局とするループバックを実施する。以降、図3(f)に示されるように、スレーブ局#3(4)は、ネットワーク(回線6)から切り離され、縮退された構成にてフレームが周回される。 At this time, as shown in FIG. 3 (e), the slave station # 4 (5) has received a response of 10 [ms] from the slave station # 3 (4) for the disconnection detection frame transmitted by itself. Therefore, a disconnection is detected, and loopback is performed with the local station as the terminal station. Thereafter, as shown in FIG. 3F, the slave station # 3 (4) is disconnected from the network (line 6), and the frame is circulated in a degenerated configuration.
次に、図4、図5に示すフローチャートを参照しながら、図2に示すマスタ局1におけるマスタ通信制御部11Aと、スレーブ局#4(5)におけるスレーブ通信制御部15Aの動作について詳細に説明する。
Next, operations of the master
図4に示されるように、マスタ局1は送受信部111を介して自局で生成したフレームを送信する。この送信の後、マスタ局1は送信したフレームがスレーブ局#1(2)、#2(3)、#3(4)、#4(5)を経由して正常に周回されるか常時監視している(ステップS11、S12)。例えば、10msの間連続してフレームが戻らないことを論理断線検知部112が検知すると(ステップS12“NO”)、論理断線検知部112は断線検出フレーム生成部113に対し、断線検出フレームの生成を指示する。
As shown in FIG. 4, the
このとき、主制御部110は、自局が末端局であるか否かを判定する(ステップS13)。末端局でなければ(ステップS13“NO”)、断線検出フレーム生成部113によって生成された断線検出フレームを、自局の両端に接続されたスレーブ局#1(2)とスレーブ局#4(5)に送信するように送受信部111に指示する(ステップS15)。一方、例えば、マスタ局1の左手のスレーブ局が接続されてないようなとき、マスタ局1は末端局として動作するが、自局が末端局であれば(ステップS13“YES”)その片端に接続されたスレーブ局#1(2)のみに、断線検出フレームを送信するように送受信部111に指示する(ステップS14)。
At this time, the
なお、自局が末端局であるか否かを検出する方法としては、自局の受信ポートの受信キャリアを検出することで判定することができる。例えば、両受信ポートの受信キャリアが検出されれば自局は末端局ではなく、片方の受信ポートのキャリアのみが検出されれば自局は末端局であると判定する。なお、両方の受信ポートのキャリアが検出されない場合は、自局はネットワークに接続されてなく、孤立していると判定される。 As a method for detecting whether or not the own station is a terminal station, it can be determined by detecting the reception carrier of the reception port of the own station. For example, if the reception carrier of both reception ports is detected, the local station is not a terminal station, and if only the carrier of one reception port is detected, the local station is determined to be a terminal station. When the carriers of both reception ports are not detected, it is determined that the local station is not connected to the network and is isolated.
さらにマスタ局1は、送信した断線検出フレームに対して応答フレームが受信されるか応答判定部114により監視している(ステップS16)。例えば、断線検出フレームを送信してから時間監視し、2ms経過しても断線検出応答フレームが受信されない場合(タイムアウト発生:ステップS17“YES”)、応答判定部114は隣接局との通信が不可であることを検出し、主制御部110に通知する。この通知に伴い、主制御部110は、ループバック制御部115にループバックを指示し、自局を末端局としてループバックする(ステップS18)。なお、タイムアウトを検出することなく断線検出応答フレームを受信できた場合、(ステップS17“NO”)、応答判定部114は、断線検出応答フレームの受信を主制御部110に通知する。この通知の下、主制御部110は、ループバック制御部115への指示をそのまま維持し、回線の接続状態を維持する。
Further, the
次に、スレーブ局#4(5)の動作について説明する。図5において、スレーブ局#4(5)は、主制御部150にて、マスタ局1により送信され送受信部151で受信される断線検出フレームを監視している(ステップS21)。断線検出フレームが受信されない場合(ステップS21“NO”)、主制御部150は、受信した通常のフレームを、下流に隣接するスレーブ局#3(4)に送信するよう送受信部151に指示し、通常のフレームを回線6に周回させる。
Next, the operation of slave station # 4 (5) will be described. In FIG. 5, the slave station # 4 (5) monitors the disconnection detection frame transmitted from the
主制御部150は、断線検出フレームの受信が確認されると(ステップS21“YES”)、断線検出フレームに対する応答を示す断線検出応答フレームを送信元のマスタ局1に対して返信する(ステップS22)。この後、主制御部150は、自局が末端局であるか否か判定し(ステップS23)、自局が末端局であれば(ステップS23“YES”)、ループバック制御部への指示を維持して回線の接続状態を維持する。自局が末端局でない、すなわち中間局のとき、(ステップS23“NO”)、主制御部150は、下流に隣接して位置するスレーブ局#3(4)に対して断線検出フレームを送信(中継)するように断線検出フレーム周回制御部152に指示する(ステップS24)。そして、スレーブ局#4(5)は、送信した断線検出フレームに対するスレーブ局#3(4)からの応答の監視を応答判定部153で行なう(ステップS25)。
When the reception of the disconnection detection frame is confirmed (step S21 “YES”), the
なお、自局が末端局であるか否かを検出する方法としては、前述したマスタ局と同様である。
ここで、応答判定部153は、断線検出フレームがスレーブ局#3(4)に送信されてから、例えば、2msの間に断線検出応答フレームを受信しない場合(ステップS26“YES”)タイムアウトとし、主制御部150にタイムアウトの検知を通知する。この通知の下、主制御部150はループバック制御部154にループバックを指示し自局を末端局としてループバックする(ステップS27)。その結果、回線6はスレーブ局#4(5)より下流の局が切り離され、スレーブ局#3(4)よりも上流の局のみでリング状の伝送経路が再構築される。以降、局が縮退された状態でフレームが周回される。
The method for detecting whether or not the own station is a terminal station is the same as that for the master station described above.
Here, for example, when the disconnection detection response frame is not received within 2 ms after the disconnection detection frame is transmitted to the slave station # 3 (4) (step S26 “YES”), the
なお、ステップS26においてタイムアウトを検出することなくスレーブ局#2(3)から断線検出応答フレームを受信できた場合(ステップS26“NO”)、応答判定部153は、断線検出応答フレームの受信を主制御部150に通知する。この通知の基、主制御部150はループバック制御部154への指示をそのまま維持し、回線の接続状態を維持する。
(実施形態の効果)
以上説明のように本実施形態に係るリング型ネットワークシステム10によれば、マスタ局1は、送信が連続して失敗したことを検知したときに断線検出フレームを生成して隣接するスレーブ局#1(2)、#4(5)に送信する。スレーブ局#4(5)では、断線検出フレームを受信したときに応答し、自局が末端局でない場合、すなわち中間局のときに、送信元局以外の隣接局#3(4)に対して断線検出フレームを送信する。そして、スレーブ局#4(5)では、断線検出フレームを送信してから所定時間経過しても隣接局#3(4)からその応答を受信できない場合に、自局を末端局としてループバックする。このとき、スレーブ局#3(4)をネットワークから切り離し、縮退構成で通信を継続させる。したがって、例えば、ネットワークケーブルの劣化等により、電気的には接続されても正常に通信ができないような論理的断線状態であっても断線発生個所を特定することができ、ループバックにより正常な通信を継続することができる。
If a disconnection detection response frame can be received from slave station # 2 (3) without detecting a timeout in step S26 (step S26 “NO”),
(Effect of embodiment)
As described above, according to the ring network system 10 according to the present embodiment, the
また、(ステップS12“YES”)、(ステップS17“NO”)、(ステップS21“NO”)、(ステップS23“YES”)、(ステップS26“NO”)、を通るルートは、回線の接続状態を維持することになる。このため、一旦ループバックが作動され、回線が縮退された状態になると、その状態が維持される。すなわち、本発明は、ネットワークケーブルの損傷や接触不良等が生じても、回線を縮退方向のみに維持するように作用するので、局の脱落と加入が繰り返されるような通信が不安定な状態を回避することができ、高信頼なリング型ネットワークシステムを提供することができる。 The route passing through (Step S12 “YES”), (Step S17 “NO”), (Step S21 “NO”), (Step S23 “YES”), and (Step S26 “NO”) The state will be maintained. For this reason, once the loopback is activated and the line is degenerated, the state is maintained. In other words, the present invention operates so as to maintain the line only in the degenerate direction even if the network cable is damaged or poorly contacted, so that the communication where the station is repeatedly dropped and joined is unstable. Therefore, a highly reliable ring network system can be provided.
以上、本発明の好ましい実施形態について詳述したが、本発明の技術的範囲は上記実施形態に記載の範囲には限定されないことは言うまでもない。上記実施形態に、多様な変更または改良を加えることが可能であることが当業者に明らかである。またその様な変更または改良を加えた形態も本発明の技術的範囲に含まれ得ることが、特許請求の範囲の記載から明らかである。 As mentioned above, although preferred embodiment of this invention was explained in full detail, it cannot be overemphasized that the technical scope of this invention is not limited to the range as described in the said embodiment. It will be apparent to those skilled in the art that various modifications or improvements can be added to the above-described embodiments. Further, it is apparent from the scope of the claims that the embodiments added with such changes or improvements can be included in the technical scope of the present invention.
なお、図4のステップS11がフレーム送信手段に対応し、図4のステップS12が論理断線検出手段に対応し、図4のステップS14やステップS15が断線検出フレーム送信手段に対応し、図4のステップS16〜S18が第1のループバック制御手段に対応している。 4 corresponds to the frame transmission means, step S12 in FIG. 4 corresponds to the logical disconnection detection means, and steps S14 and S15 in FIG. 4 correspond to the disconnection detection frame transmission means. Steps S16 to S18 correspond to the first loopback control means.
また、図5のステップS21およびステップS21に係るステップS22が応答フレーム送信手段に対応し、図5のステップS24が断線検出フレーム中継手段に対応し、図5のステップS26およびステップS26に係るステップS27が第2のループバック制御手段に対応している。 Further, step S21 in FIG. 5 and step S22 related to step S21 correspond to response frame transmission means, step S24 in FIG. 5 corresponds to disconnection detection frame relay means, and step S27 related to step S26 and step S26 in FIG. Corresponds to the second loopback control means.
1 マスタ局
2、3、4、5 スレーブ局#1〜#4
6 回線
10 リング型ネットワークシステム
11A マスタ通信制御部
12A スレーブ通信制御部
110、150 主制御部
111、151 送受信部
112 論理断線検知部
113 断線検出フレーム生成部
114、153 応答判定部
115、154 ループバック制御部
152 断線検出フレーム周回制御部
1
6 lines 10
Claims (2)
前記マスタ局は、
前記リング状の回線にフレームを周回させるフレーム送信手段と、
このフレーム送信手段によって送信された前記フレームが戻らないことを検知する論理断線検出手段と、
この論理断線検出手段によって前記フレームが戻らないことが検知されると断線検出フレームを該マスタ局に隣接するスレーブ局に送信する断線検出フレーム送信手段と、
前記断線検出フレームを送信した後、前記断線検出フレームに対する応答フレームを前記マスタ局に隣接するスレーブ局から受信すると該スレーブ局との接続を維持し、前記断線検出応答フレームを前記マスタ局に隣接するスレーブ局から未受信のときには該スレーブ局との接続を断ち、前記回線をループバックする第1のループバック制御手段と、を有する第1の通信制御部を備え、
前記スレーブ局は、
前記断線検出フレームを送信した隣接局から送信された前記断線検出フレームを受信し、前記隣接局に前記応答フレームを送信する応答フレーム送信手段と、
自局が中間局の場合に自局の下流に接続されるスレーブ局に前記断線検出フレームを中継する断線検出フレーム中継手段と、
この断線検出フレーム中継手段によって前記断線検出フレームが中継された後、前記断線検出フレームに対する応答フレームを前記自局の下流に接続されるスレーブ局から受信すると該スレーブ局との接続を維持し、前記断線検出応答フレームを前記自局の下流に接続されるスレーブ局から未受信のときには前記自局の下流に接続される前記スレーブ局との接続を断ち、前記回線をループバックする第2のループバック制御手段と、を有する第2の通信制御部を備えることを特徴とするリング型ネットワークシステム。 A ring network system in which a plurality of stations including a master station and a slave station are daisy chain connected to form a ring-shaped line,
The master station
Frame transmitting means for circulating a frame around the ring-shaped line;
Logical disconnection detecting means for detecting that the frame transmitted by the frame transmitting means does not return;
A disconnection detection frame transmitting means for transmitting a disconnection detection frame to a slave station adjacent to the master station when the logical disconnection detection means detects that the frame does not return;
After transmitting the disconnection detection frame, when a response frame for the disconnection detection frame is received from a slave station adjacent to the master station, the connection with the slave station is maintained, and the disconnection detection response frame is adjacent to the master station. A first communication control unit having first loopback control means for disconnecting from the slave station when not receiving from the slave station and looping back the line;
The slave station
Response frame transmitting means for receiving the disconnection detection frame transmitted from the adjacent station that has transmitted the disconnection detection frame, and transmitting the response frame to the adjacent station;
Disconnection detection frame relay means for relaying the disconnection detection frame to a slave station connected downstream of the local station when the local station is an intermediate station;
After the disconnection detection frame is relayed by the disconnection detection frame relay means, when a response frame for the disconnection detection frame is received from a slave station connected downstream of the own station, the connection with the slave station is maintained, When a disconnection detection response frame is not received from a slave station connected downstream of the own station, a connection with the slave station connected downstream of the own station is disconnected, and a second loopback for looping back the line A ring network system comprising a second communication control unit having control means.
前記断線検出フレーム送信手段は、
前記マスタ局が末端局の場合にはその片端に接続された前記スレーブ局のみに前記断線検出フレームを送信し、前記マスタ局が中間局の場合には、隣接する両端の前記スレーブ局それぞれに前記断線検出フレームを送信することを特徴とするリング型ネットワークシステム。
The ring network system according to claim 1,
The disconnection detection frame transmission means includes:
When the master station is a terminal station, the disconnection detection frame is transmitted only to the slave station connected to one end of the master station, and when the master station is an intermediate station, the master station is connected to the slave stations at both ends adjacent to each other. A ring network system characterized by transmitting a disconnection detection frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011042001A JP2012182512A (en) | 2011-02-28 | 2011-02-28 | Ring type network system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011042001A JP2012182512A (en) | 2011-02-28 | 2011-02-28 | Ring type network system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2012182512A true JP2012182512A (en) | 2012-09-20 |
Family
ID=47013373
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011042001A Pending JP2012182512A (en) | 2011-02-28 | 2011-02-28 | Ring type network system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2012182512A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104124729A (en) * | 2013-04-24 | 2014-10-29 | 丰田自动车株式会社 | Battery monitor apparatus and battery unit |
KR20150018993A (en) * | 2013-08-12 | 2015-02-25 | 현대모비스 주식회사 | Apparatus and Method for implementing fail safe in Battery Management System |
JP2018194336A (en) * | 2017-05-12 | 2018-12-06 | 株式会社デンソーテン | Abnormality detector and abnormality detection method |
JP2019054405A (en) * | 2017-09-14 | 2019-04-04 | 富士電機株式会社 | Network system |
CN110601807A (en) * | 2013-01-17 | 2019-12-20 | Kddi株式会社 | Terminal device, base station device, communication system, and communication method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07202923A (en) * | 1993-12-28 | 1995-08-04 | Nec Corp | Fault position detecting system for loop-shaped transmission line |
JP2010062861A (en) * | 2008-09-03 | 2010-03-18 | Fuji Electric Systems Co Ltd | Ring type network system and method for restoring same |
-
2011
- 2011-02-28 JP JP2011042001A patent/JP2012182512A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07202923A (en) * | 1993-12-28 | 1995-08-04 | Nec Corp | Fault position detecting system for loop-shaped transmission line |
JP2010062861A (en) * | 2008-09-03 | 2010-03-18 | Fuji Electric Systems Co Ltd | Ring type network system and method for restoring same |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110601807A (en) * | 2013-01-17 | 2019-12-20 | Kddi株式会社 | Terminal device, base station device, communication system, and communication method |
CN110601807B (en) * | 2013-01-17 | 2022-09-13 | Kddi株式会社 | Terminal device, base station device, communication system, and communication method |
CN104124729A (en) * | 2013-04-24 | 2014-10-29 | 丰田自动车株式会社 | Battery monitor apparatus and battery unit |
JP2014217146A (en) * | 2013-04-24 | 2014-11-17 | トヨタ自動車株式会社 | Battery monitoring device and battery unit |
KR20150018993A (en) * | 2013-08-12 | 2015-02-25 | 현대모비스 주식회사 | Apparatus and Method for implementing fail safe in Battery Management System |
KR102071404B1 (en) * | 2013-08-12 | 2020-01-30 | 현대모비스 주식회사 | Apparatus and Method for implementing fail safe in Battery Management System |
JP2018194336A (en) * | 2017-05-12 | 2018-12-06 | 株式会社デンソーテン | Abnormality detector and abnormality detection method |
JP2019054405A (en) * | 2017-09-14 | 2019-04-04 | 富士電機株式会社 | Network system |
JP6992346B2 (en) | 2017-09-14 | 2022-01-13 | 富士電機株式会社 | Network system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8244838B2 (en) | Industrial controller employing the network ring topology | |
US9602348B2 (en) | Methods and apparatus for detecting and handling split brain issues in a link aggregation group | |
KR20100116578A (en) | Fault processing method, system and exchanging device based on industry ethernet network | |
JP2012182512A (en) | Ring type network system | |
US20140177435A1 (en) | Wireless transmission system, wireless transmission method, and wireless communication apparatus | |
JP2008544678A (en) | Communication network system | |
JP2016119616A (en) | Ring type network system, and master node thereof | |
JP2004104186A (en) | Circuit switching system and method thereof | |
US9143426B2 (en) | Communication apparatus for transmitting data through a plurality of data-paths | |
JP3917467B2 (en) | Power system monitoring control system and program | |
JP4237101B2 (en) | Double loop network system | |
JP2004112246A (en) | Remote supervision control system | |
JP6026847B2 (en) | Communication device, ring network system, and control method | |
JP2005268889A (en) | Transmission path switching system and operating method of the transmission path switching system | |
KR20110033036A (en) | Communication node and method for processing communication fault thereof | |
JP2006067239A (en) | Transmission equipment, fault notification method therefor, and transmission system | |
JP2019062484A (en) | Power reception device and control method | |
US11897132B1 (en) | Systems and methods for redundant network communication in a robot | |
US11924023B1 (en) | Systems and methods for redundant network communication in a robot | |
JP5459094B2 (en) | Link aggregation communication device | |
JP5459117B2 (en) | Data transmission apparatus and data transmission method | |
TW201830930A (en) | Balance chain topology network processing system with network traffic load balancing and method thereof for considering a ring redundancy processing method formed by a chain topology network and balancing a network bearing capacity | |
JP2012165109A (en) | Network system | |
JP2008011156A (en) | Double-loop network system | |
JPS6124345A (en) | Signal output gate control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140114 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140417 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140422 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20140819 |