JP2000183929A5 - - Google Patents

Download PDF

Info

Publication number
JP2000183929A5
JP2000183929A5 JP1998353317A JP35331798A JP2000183929A5 JP 2000183929 A5 JP2000183929 A5 JP 2000183929A5 JP 1998353317 A JP1998353317 A JP 1998353317A JP 35331798 A JP35331798 A JP 35331798A JP 2000183929 A5 JP2000183929 A5 JP 2000183929A5
Authority
JP
Japan
Prior art keywords
node
packet
unique
existence
transmission line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP1998353317A
Other languages
Japanese (ja)
Other versions
JP2000183929A (en
JP4100528B2 (en
Filing date
Publication date
Application filed filed Critical
Priority to JP35331798A priority Critical patent/JP4100528B2/en
Priority claimed from JP35331798A external-priority patent/JP4100528B2/en
Publication of JP2000183929A publication Critical patent/JP2000183929A/en
Publication of JP2000183929A5 publication Critical patent/JP2000183929A5/ja
Application granted granted Critical
Publication of JP4100528B2 publication Critical patent/JP4100528B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【書類名】 明細書
【発明の名称】 ループ型ネットワーク構成管理方法、およびループ型ネットワークシステム
【特許請求の範囲】
【請求項1】 ループ状の伝送路と、該伝送路に接続されたそれぞれ固有ノードIDを持つ1台のマスタノードと1台以上のスレーブノードを有するループ型ネットワークの構成管理方法において、
上記マスタノードが、各ノードの前記固有ノードIDを確認するための固有ID確認パケットを発行し上記伝送路に送出する固有ID確認パケット送出工程と、
上記各ノードが、上記固有ID確認パケットに対し、上記伝送路の固有ノードID毎に割り当てられたスロットに自ノードの存在を示すノード存在パケットを挿入するノード存在パケット挿入工程と、
上記マスタノードが、上記全ノード分の前記ノード存在パケットを受信することにより、ネットワーク上に存在するノードの固有ノードIDの検出を行う固有ノードID検出工程とを含む、
ことを特徴とするループ型ネットワーク構成管理方法。
【請求項2】 請求項1記載のループ型ネットワーク構成管理方法において、
上記各ノードが、上記伝送路の自ノードに割り当てられたスロット内のノード存在パケットを監視し、自ノードの存在を示す上記ノード存在パケットを挿入した際に、既に上記ノード存在パケットが存在した場合は、同一の固有ノードIDを持つノードが他にも存在したことを示す固有ID衝突パケットを、上記自ノードの存在を示す上記ノード存在パケットを挿入した上記自ノードに割り当てられたスロットに挿入し、
上記マスタノードが、上記ノード存在パケットと上記固有ID衝突パケットを受信することにより、その固有ノードIDをネットワーク上の複数のノードが持つ固有ノードIDの検出を行う、
ことを特徴とするループ型ネットワーク構成管理方法。
【請求項3】 請求項1または請求項2記載のループ型ネットワーク構成管理方法において、
上記各ノードが、上記伝送路の自ノードに割り当てられたスロットに自ノードの存在を示すノード存在パケットを挿入する際に、上記全スロット分の上記ノード存在パケットの有無を接続情報として記憶する接続情報記憶工程と、
上記マスタノードが、ノードの接続情報を収集するための接続情報収集パケットを発行し上記伝送路に送出する接続情報収集パケット送出工程と、
上記各ノードが、上記接続情報収集パケットに対し、上記伝送路の自ノードに割り当てられたスロットに上記接続情報を挿入する接続情報挿入工程と、
上記マスタノードが、上記全ノード分の上記接続情報を受信することにより、上記ノードのネットワーク上における接続順の検出を行うノード接続順検出工程とを含む、
ことを特徴とするループ型ネットワーク構成管理方法。
【請求項4】 請求項3記載のループ型ネットワーク構成管理方法において、
上記マスタノードが、外部からのトリガ供給に応答して、上記接続情報収集パケットの発行,送出を行う、
ことを特徴とするループ型ネットワーク構成管理方法。
【請求項5】 請求項1ないし請求項4のいずれかに記載のループ型ネットワーク構成管理方法において、
上記マスタノードが、外部からのトリガ供給に応答して、上記固有ID確認パケットの発行,送出を行う、
ことを特徴とするループ型ネットワーク構成管理方法。
【請求項6】 請求項3記載のループ型ネットワーク構成管理方法において、
上記マスタノードが、定期的に上記接続情報収集パケットの発行,送出を行う、
ことを特徴とするループ型ネットワーク構成管理方法。
【請求項7】 請求項1ないし請求項3のいずれかまたは請求項6に記載のループ型ネットワーク構成管理方法において、
上記マスタノードが、定期的に上記固有ID確認パケットの発行,送出を行う、
ことを特徴とするループ型ネットワーク構成管理方法。
【請求項8】 請求項1ないし請求項7のいずれかに記載のループ型ネットワーク構成管理方法において、
上記マスターノードが、上記検出したネットワーク上に存在するノードの固有ノードIDを示す情報,その固有ノードIDをネットワーク上の複数のノードが持つ固有ノードIDを示す情報、またはネットワーク上におけるノードの接続順を示す情報を、外部からのトリガ供給に応答して、外部に出力する、
ことを特徴とするループ型ネットワーク構成管理方法。
【請求項9】 請求項1ないし請求項8記載のループ型ネットワーク構成管理方法において、
上記マスタノードが、上記固有ID確認パケット、または上記接続情報収集パケットの送出に続き、各ノードに割り当てたスロットを識別するためのスロット識別信号を送出し、
上記各ノードが、上記スロット識別信号を検出することにより、上記スロットを識別する、
ことを特徴とするループ型ネットワーク構成管理方法。
【請求項10】 ループ状の伝送路と、該伝送路に接続されたそれぞれ固有ノードIDを持つ1台のマスタノードと1台以上のスレーブノードを有するループ型ネットワークシステムにおいて、
上記マスタノードは、各ノードの前記固有ノードIDを確認するための固有ID確認パケットを発行し上記伝送路に送出するものであり、
上記各ノードは、上記固有ID確認パケットに対し、上記伝送路の固有ノードID毎に割り当てられたスロットに自ノードの存在を示すノード存在パケットを挿入するものであり、
上記マスタノードは、さらに、上記全ノード分の前記ノード存在パケットを受信することにより、ネットワーク上に存在するノードの固有ノードIDの検出を行うものである、
ことを特徴とするループ型ネットワークシステム。
【請求項11】 請求項10記載のループ型ネットワークシステムにおいて、
上記各ノードは、上記伝送路の自ノードに割り当てられたスロット内のノード存在パケットを監視し、自ノードの存在を示す上記ノード存在パケットを挿入した際に、既に上記ノード存在パケットが存在した場合は、同一の固有ノードIDを持つノードが他にも存在したことを示す固有ID衝突パケットを、上記自ノードの存在を示す上記ノード存在パケットを挿入した上記自ノードに割り当てられたスロットに挿入するものであり、
上記マスタノードは、上記ノード存在パケットと上記固有ID衝突パケットを受信することにより、その固有ノードIDをネットワーク上の複数のノードが持つ固有ノードIDの検出を行うものである、
ことを特徴とするループ型ネットワークシステム。
【請求項12】 請求項10または請求項11記載のループ型ネットワークシステムにおいて、
上記各ノードは、上記伝送路の自ノードに割り当てられたスロットに自ノードの存在を示すノード存在パケットを挿入する際に、上記全スロット分の上記ノード存在パケットの有無を接続情報として記憶し、上記マスタノードが発行し上記伝送路に送出した,ノードの接続情報を収集するための接続情報収集パケットに対し、自伝送路の自ノードに割り当てられたスロットに上記接続情報を挿入するものであり、
上記マスタノードは、上記全ノード分の上記接続情報を受信することにより、上記ノードのネットワーク上における接続順の検出を行うものである、
ことを特徴とするループ型ネットワークシステム。
【請求項13】 請求項12記載のループ型ネットワークシステムにおいて、
上記マスタノードは、外部からのトリガ供給に応答して、上記接続情報収集パケットの発行,送出を行うものである、
ことを特徴とするループ型ネットワークシステム。
【請求項14】 請求項10ないし請求項13のいずれかに記載のループ型ネットワークシステムにおいて、
上記マスタノードは、外部からのトリガ供給に応答して、上記固有ID確認パケットの発行,送出を行うものである、
ことを特徴とするループ型ネットワークシステム。
【請求項15】 請求項12記載のループ型ネットワークシステムにおいて、
上記マスタノードは、定期的に上記接続情報収集パケットの発行,送出を行うものである、
ことを特徴とするループ型ネットワークシステム。
【請求項16】 請求項10ないし請求項12のいずれかまたは請求項15に記載のループ型ネットワークシステムにおいて、
上記マスタノードは、定期的に上記固有ID確認パケットの発行,送出を行うものである、
ことを特徴とするループ型ネットワークシステム。
【請求項17】 請求項10ないし請求項16のいずれかに記載のループ型ネットワークシステムにおいて、
上記マスターノードは、上記検出したネットワーク上に存在するノードの固有ノードIDを示す情報,その固有ノードIDをネットワーク上の複数のノードが持つ固有ノードIDを示す情報、またはネットワーク上におけるノードの接続順を示す情報を、外部からのトリガ供給に応答して、外部に出力するものである、
ことを特徴とするループ型ネットワークシステム。
【請求項18】 請求項10ないし請求項17記載のループ型ネットワークシステムにおいて、
上記マスタノードは、上記固有ID確認パケット、または上記接続情報収集パケットの送出に続き、各ノードに割り当てたスロットを識別するためのスロット識別信号を伝送路に送出するものであり、
上記各ノードは、上記スロット識別信号を検出することにより、上記スロットを識別するものである、
ことを特徴とするループ型ネットワークシステム。
【請求項19】 ループ状の伝送路と、該伝送路に接続されたそれぞれ固有ノードIDを持つ1台のマスタノードと1台以上のスレーブノードを有するループ型ネットワークシステムに接続される上記マスタノードもしくは上記スレーブノードのいずれかのネットワークノードであって、
上記ネットワークノードは、上記伝送路に各パケットを送出するネットワーク送信部と、上記伝送路から上記各パケットを受信するネットワーク受信部と、
各ネットワークノードの前記固有ノードIDを確認するための固有ID確認パケットを生成し、上記ネットワーク送信部から上記伝送路に送出する固有ID確認パケット生成部と、
上記固有ID確認パケットを上記伝送路から受信し、上記伝送路の固有ノードID毎に割り当てられたスロットに自ノードの存在を示すノード存在パケットを生成し、上記ネットワーク送信部から上記伝送路に送出するノード存在パケット生成部と、
さらに、上記ネットワーク受信部にて受信された上記全ノード分の前記ノード存在パケットを受信し、ネットワーク上に存在するノードの固有ノードIDの検出を行うID検出部を備えたものである、
ことを特徴とするネットワークノード。
【請求項20】 請求項19記載のネットワークノードにおいて、
上記各ネットワークノードは、上記伝送路の自ノードに割り当てられたスロット内のノード存在パケットを監視し、自ノードの存在を示す上記ノード存在パケットを挿入した際に、既に上記ノード存在パケットが存在した場合は、同一の固有ノードIDを持つネットワークノードが他にも存在したことを示す固有ID衝突パケットを、上記自ノードの存在を示す上記ノード存在パケットを挿入した上記自ノードに割り当てられたスロットに挿入するID衝突パケット生成部を備え、
上記ID検出部にて、上記ノード存在パケットと上記固有ID衝突パケットを受信することにより、その固有ノードIDをネットワーク上の複数のネットワークノードが持つ固有ノードIDの検出を行う、
ことを特徴とするネットワークノード。
【請求項21】 請求項19または請求項20記載のネットワークノードにおいて、
上記各ネットワークノードは、上記伝送路の自ノードに割り当てられたスロットに自ノードの存在を示すノード存在パケットを挿入する際に、上記全スロット分の上記ノード存在パケットの有無を接続情報として記憶する接続情報記憶部と、上記ネットワークノードの接続情報を収集するための接続情報収集パケットに対し、自伝送路の自ノードに割り当てられたスロットに上記接続情報を生成送出する接続情報生成部とを備え、
上記ID検出部にて、上記全てのネットワークノード分の上記接続情報を受信することにより、上記ネットワークノードのネットワーク上における接続順の検出を行うものである、
ことを特徴とするネットワークノード。
【請求項22】 請求項19ないし請求項21記載のネットワークノードにおいて、
上記ネットワークノードは、上記固有ID確認パケット、または上記接続情報収集パケットの送出に続き、各ネットワークノードに割り当てたスロットを識別するためのスロット識別信号を生成し伝送路に送出するスロット識別信号生成部と、
上記伝送路から上記スロット識別信号を受信検出するスロット識別信号検出部とを備えた、
ことを特徴とするネットワークノード。
【発明の詳細な説明】
【0001】
【発明の属する技術分野】
本発明は1台のマスタノードと1台以上のスレーブノードから構成されるループ型ネットワークの構成管理方法に関するものである。
【0002】
【従来の技術】
従来のループ型ネットワーク構成管理方法について図面を参照しながら以下に説明する。
図6は特許第2687883号「リング伝送路におけるプロテクション情報管理システム」に示される従来のループ型ネットワーク構成管理方法の概略を示す図である。図6において、601はマスタノード、602〜604はスレーブノードであり、マスタノード601の固有ノードIDは「#1」、スレーブノード602〜604の固有ノードIDはそれぞれ「#4」、「#2」、「#3」であり、各ノード601〜604はループ状の伝送路600を介して接続される。
マスタノード601はまず、自ノードの固有ノードID「#1」を挿入した、ノードの接続順を示す情報を収集するための収集パケット605を次段のスレーブノード602に送出する。収集パケット605を受信したスレーブノード602は、自ノードの固有ノードID「#4」を前段のノードの出力した固有ノードID「#1」の後に付け加え、収集パケット605として次段のスレーブノード603に出力する。マスタノード601は、スレーブノード602〜604が順次付け加えた固有ノードIDを含んだ収集パケット605を受信することにより、ループ型ネットワークにおけるノードの接続順、それぞれのノードの固有ノードIDの検出を行う。
【0003】
図7は従来のループ型ネットワークにおけるノードの構成図であり、700は伝送路、701はノード、702は制御部、703はパケット受信部、704はパケット送信部である。
ノード701は上流ノードから送出される収集パケット605をパケット受信部703で受信し、制御部702で取り込み、解析を行った後に、自ノードの固有ノードIDを前段のノードの固有ノードIDの後に付け加え、収集パケット705として送信部704より伝送路700へ送出するものである。
【0004】
【発明が解決しようとする課題】
図8は別のループ型ネットワークにおけるノードの構成図であり、800は伝送路、801はノード、802は制御部、803はパケット受信部、804はパケット送信部、805は伝送路800の切断/接続を行うスイッチである。
ノード801は、スイッチ805をA側(伝送路からの入力端と伝送路への出力端を接続する側)にしてパケットの受信を行い、B側(伝送路からの入力端と伝送路への出力端とを切り離し、パケット送信部と伝送路への出力端を接続する側)にしてパケット送信部804より、パケットの送出を行うものである。
【0005】
このような構成のノードが接続されたループ型ネットワークにおいては、ノード801は受信したパケットを一旦取り込んで再び送出するようなことはなく、パケット受信と同時に、ディレイ無しでパケットを伝送路800に通過させることになる。このため、収集パケット605を受信し、収集パケット605に含まれる前段のノードの出力した固有ノードID(有効データの終了)の検出と、自ノードの固有ノードIDを送出を同時に行うことは不可能であり、また前段のノードの出力した固有ノードIDの後にパケットの終了を示す終了コードが付加された場合においても、終了コードを検出した際には、その終了コードは既に下流のノードへ送出されており、この構成のループ型ネットワークにおいて、従来の方式ではノードの接続順、それぞれのノードの固有ノードIDの検出を行うことはできないという問題が発生する。
【0006】
本発明は上記の問題点を解消するためになされたもので、ネットワークに接続されるノードが、伝送路の切断/接続を行うスイッチを備え、スイッチを伝送路からの入力端と伝送路への出力端を接続する側にしてパケットの受信を行い、伝送路からの入力端と伝送路への出力端とを切り離し、パケット送信部と伝送路への出力端を接続する側にしてパケットの送出を行うものである場合においても、ループ型ネットワークに接続されるノードの接続順とそれぞれのノードの固有ノードIDの検出を行うことができ、伝送路断線時の断線箇所の特定、ノード追加/除去時の診断を容易なものとできるループ型ネットワーク構成管理方法、およびループ型ネットワークシステムを提供することを目的とする。
【0007】
【課題を解決するための手段】
上記の課題を解決するために、本発明(請求項1)は、ループ状の伝送路と、該伝送路に接続されたそれぞれ固有ノードIDを持つ1台のマスタノードと1台以上のスレーブノードを有するループ型ネットワークの構成管理方法において、上記マスタノードが、各ノードの前記固有ノードIDを確認するための固有ID確認パケットを発行し上記伝送路に送出する固有ID確認パケット送出工程と、上記各ノードが、上記固有ID確認パケットに対し、上記伝送路の固有ノードID毎に割り当てられたスロットに自ノードの存在を示すノード存在パケットを挿入するノード存在パケット挿入工程と、上記マスタノードが、上記全ノード分の前記ノード存在パケットを受信することにより、ネットワーク上に存在するノードの固有ノードIDの検出を行う固有ノードID検出工程とを含むものである。
【0008】
また、本発明(請求項2)は、請求項1記載のループ型ネットワーク構成管理方法において、上記各ノードが、上記伝送路の自ノードに割り当てられたスロット内のノード存在パケットを監視し、自ノードの存在を示す上記ノード存在パケットを挿入した際に、既に上記ノード存在パケットが存在した場合は、同一の固有ノードIDを持つノードが他にも存在したことを示す固有ID衝突パケットを、上記自ノードの存在を示す上記ノード存在パケットを挿入した上記自ノードに割り当てられたスロットに挿入し、上記マスタノードが、上記ノード存在パケットと上記固有ID衝突パケットを受信することにより、その固有ノードIDをネットワーク上の複数のノードが持つ固有ノードIDの検出を行うものである。
【0009】
また、本発明(請求項3)は、請求項1または請求項2記載のループ型ネットワーク構成管理方法において、上記各ノードが、上記伝送路の自ノードに割り当てられたスロットに自ノードの存在を示すノード存在パケットを挿入する際に、上記全スロット分の上記ノード存在パケットの有無を接続情報として記憶する接続情報記憶工程と、上記マスタノードが、ノードの接続情報を収集するための接続情報収集パケットを発行し上記伝送路に送出する接続情報収集パケット送出工程と、上記各ノードが、上記接続情報収集パケットに対し、上記伝送路の自ノードに割り当てられたスロットに上記接続情報を挿入する接続情報挿入工程と、上記マスタノードが、上記全ノード分の上記接続情報を受信することにより、上記ノードのネットワーク上における接続順の検出を行うノード接続順検出工程とを含むものである。
【0010】
また、本発明(請求項4)は、請求項3記載のループ型ネットワーク構成管理方法において、上記マスタノードが、外部からのトリガ供給に応答して、上記接続情報収集パケットの発行,送出を行うようにしたものである。
【0011】
また、本発明(請求項5)は、請求項1ないし請求項4のいずれかに記載のループ型ネットワーク構成管理方法において、上記マスタノードが、外部からのトリガ供給に応答して、上記固有ID確認パケットの発行,送出を行うようにしたものである。
【0012】
また、本発明(請求項6)は、請求項3記載のループ型ネットワーク構成管理方法において、上記マスタノードが、定期的に上記接続情報収集パケットの発行,送出を行うようにしたものである。
【0013】
また、本発明(請求項7)は、請求項1ないし請求項3のいずれかまたは請求項6に記載のループ型ネットワーク構成管理方法において、上記マスタノードが、定期的に上記固有ID確認パケットの発行,送出を行うようにしたものである。
【0014】
また、本発明(請求項8)は、請求項1ないし請求項7のいずれかに記載のループ型ネットワーク構成管理方法において、上記マスターノードが、上記検出したネットワーク上に存在するノードの固有ノードIDを示す情報,その固有ノードIDをネットワーク上の複数のノードが持つ固有ノードIDを示す情報、またはネットワーク上におけるノードの接続順を示す情報を、外部からのトリガ供給に応答して、外部に出力するようにしたものである。
【0015】
また、本発明(請求項9)は、請求項1ないし請求項8記載のループ型ネットワーク構成管理方法において、上記マスタノードが、上記固有ID確認パケット、または上記接続情報収集パケットの送出に続き、各ノードに割り当てたスロットを識別するためのスロット識別信号を送出し、上記各ノードが、上記スロット識別信号を検出することにより、上記スロットを識別するようにしたものである。
【0016】
また、本発明(請求項10)は、ループ状の伝送路と、該伝送路に接続されたそれぞれ固有ノードIDを持つ1台のマスタノードと1台以上のスレーブノードを有するループ型ネットワークシステムにおいて、上記マスタノードが、各ノードの前記固有ノードIDを確認するための固有ID確認パケットを発行し上記伝送路に送出するものであり、上記各ノードが、上記固有ID確認パケットに対し、上記伝送路の固有ノードID毎に割り当てられたスロットに自ノードの存在を示すノード存在パケットを挿入するものであり、上記マスタノードが、さらに、上記全ノード分の前記ノード存在パケットを受信することにより、ネットワーク上に存在するノードの固有ノードIDの検出を行うものである。
【0017】
また、本発明(請求項11)は、請求項10記載のループ型ネットワークシステムにおいて、上記各ノードが、上記伝送路の自ノードに割り当てられたスロット内のノード存在パケットを監視し、自ノードの存在を示す上記ノード存在パケットを挿入した際に、既に上記ノード存在パケットが存在した場合は、同一の固有ノードIDを持つノードが他にも存在したことを示す固有ID衝突パケットを、上記自ノードの存在を示す上記ノード存在パケットを挿入した上記自ノードに割り当てられたスロットに挿入するものであり、上記マスタノードが、上記ノード存在パケットと上記固有ID衝突パケットを受信することにより、その固有ノードIDをネットワーク上の複数のノードが持つ固有ノードIDの検出を行うものである。
【0018】
また、本発明(請求項12)は、請求項10または請求項11記載のループ型ネットワークシステムにおいて、上記各ノードが、上記伝送路の自ノードに割り当てられたスロットに自ノードの存在を示すノード存在パケットを挿入する際に、上記全スロット分の上記ノード存在パケットの有無を接続情報として記憶し、上記マスタノードが発行し上記伝送路に送出した,ノードの接続情報を収集するための接続情報収集パケットに対し、自伝送路の自ノードに割り当てられたスロットに上記接続情報を挿入するものであり、上記マスタノードが、上記全ノード分の上記接続情報を受信することにより、上記ノードのネットワーク上における接続順の検出を行うものである。
【0019】
また、本発明(請求項13)は、請求項12記載のループ型ネットワークシステムにおいて、上記マスタノードが、外部からのトリガ供給に応答して、上記接続情報収集パケットの発行,送出を行うものである。
【0020】
また、本発明(請求項14)は、請求項10ないし請求項13のいずれかに記載のループ型ネットワークシステムにおいて、上記マスタノードが、外部からのトリガ供給に応答して、上記固有ID確認パケットの発行,送出を行うものである。
【0021】
また、本発明(請求項15)は、請求項12記載のループ型ネットワークシステムにおいて、上記マスタノードが、定期的に上記接続情報収集パケットの発行,送出を行うものである。
【0022】
また、本発明(請求項16)は、請求項10ないし請求項12のいずれかまたは請求項15に記載のループ型ネットワークシステムにおいて、上記マスタノードが、定期的に上記固有ID確認パケットの発行,送出を行うものである。
【0023】
また、本発明(請求項17)は、請求項10ないし請求項16のいずれかに記載のループ型ネットワークシステムにおいて、上記マスターノードが、上記検出したネットワーク上に存在するノードの固有ノードIDを示す情報,その固有ノードIDをネットワーク上の複数のノードが持つ固有ノードIDを示す情報、またはネットワーク上におけるノードの接続順を示す情報を、外部からのトリガ供給に応答して、外部に出力するものである。
【0024】
また、本発明(請求項18)は、請求項10ないし請求項17記載のループ型ネットワークシステムにおいて、上記マスタノードが、上記固有ID確認パケット、または上記接続情報収集パケットの送出に続き、各ノードに割り当てたスロットを識別するためのスロット識別信号を伝送路に送出するものであり、上記各ノードが、上記スロット識別信号を検出することにより、上記スロットを識別するものである。
【0025】
また、本発明(請求項19)は、ループ状の伝送路と、該伝送路に接続されたそれぞれ固有ノードIDを持つ1台のマスタノードと1台以上のスレーブノードを有するループ型ネットワークシステムに接続される上記マスタノードもしくは上記スレーブノードのいずれかのネットワークノードであって、上記ネットワークノードは、上記伝送路に各パケットを送出するネットワーク送信部と、上記伝送路から上記各パケットを受信するネットワーク受信部と、各ネットワークノードの前記固有ノードIDを確認するための固有ID確認パケットを生成し、上記ネットワーク送信部から上記伝送路に送出する固有ID確認パケット生成部と、上記固有ID確認パケットを上記伝送路から受信し、上記伝送路の固有ノードID毎に割り当てられたスロットに自ノードの存在を示すノード存在パケットを生成し、上記ネットワーク送信部から上記伝送路に送出するノード存在パケット生成部と、さらに、上記ネットワーク受信部にて受信された上記全ノード分の前記ノード存在パケットを受信し、ネットワーク上に存在するノードの固有ノードIDの検出を行うID検出部を備えたものである。
【0026】
また、本発明(請求項20)は、請求項19記載のネットワークノードにおいて、上記各ネットワークノードは、上記伝送路の自ノードに割り当てられたスロット内のノード存在パケットを監視し、自ノードの存在を示す上記ノード存在パケットを挿入した際に、既に上記ノード存在パケットが存在した場合は、同一の固有ノードIDを持つネットワークノードが他にも存在したことを示す固有ID衝突パケットを、上記自ノードの存在を示す上記ノード存在パケットを挿入した上記自ノードに割り当てられたスロットに挿入するID衝突パケット生成部を備え、上記ID検出部にて、上記ノード存在パケットと上記固有ID衝突パケットを受信することにより、その固有ノードIDをネットワーク上の複数のネットワークノードが持つ固有ノードIDの検出を行うものである。
【0027】
また、本発明(請求項21)は、請求項19または請求項20記載のネットワークノードにおいて、上記各ネットワークノードは、上記伝送路の自ノードに割り当てられたスロットに自ノードの存在を示すノード存在パケットを挿入する際に、上記全スロット分の上記ノード存在パケットの有無を接続情報として記憶する接続情報記憶部と、上記ネットワークノードの接続情報を収集するための接続情報収集パケットに対し、自伝送路の自ノードに割り当てられたスロットに上記接続情報を生成送出する接続情報生成部とを備え、上記ID検出部にて、上記全てのネットワークノード分の上記接続情報を受信することにより、上記ネットワークノードのネットワーク上における接続順の検出を行うものである。
【0028】
また、本発明(請求項22)は、請求項19ないし請求項21記載のネットワークノードにおいて、上記ネットワークノードが、上記固有ID確認パケット、または上記接続情報収集パケットの送出に続き、各ネットワークノードに割り当てたスロットを識別するためのスロット識別信号を生成し伝送路に送出するスロット識別信号生成部と、上記伝送路から上記スロット識別信号を受信検出するスロット識別信号検出部とを備えたものである。
【0029】
【発明の実施の形態】
以下、本発明の実施の形態について、図1から図7を用いて説明する。
実施の形態1.
図1は本発明のループ型ネットワーク構成管理方法を用いたネットワーク構成図であり、図1において101はマスタノード、111と121はスレーブノードであり、マスタノード101の固有ノードIDは「#1」、スレーブノード111と121の固有ノードIDはそれぞれ「#4」、「#2」であり、各ノード101、111、121はループ状の伝送路100を介して接続される。各ノード101、111、121は、それぞれ制御部102、112、122と、パケット受信部103、113、123と、パケット送信部104、114、124と、伝送路100の切断/接続を行うスイッチ105、115、125を備えている。各ノード101、111、121のスイッチ105、115、125は、通常A側(伝送路からの入力端と伝送路への出力端を接続する側)に接続されており、この状態でパケットの受信を行い、同時に受信パケットを通過させるものである。またパケットを送出する際には、スイッチ105、115、125をB側(伝送路からの入力端と伝送路への出力端とを切り離し、パケット送信部と伝送路への出力端を接続する側)に接続し、パケット送信を行うものである。
【0030】
図2はマスタノードが固有ID確認パケットを出力した場合の伝送路上の信号の流れを示す図であり、201はマスタノード101の出力する固有ID確認パケット、202は固有ID確認パケット201の後に存在する固有ノードID毎に割り当てられたノード存在パケット用のスロットであり、図2では前方より#1のスロット、#2のスロット、#3のスロット、・・・と割り当てが行われている。203〜205は各ノード101、111、121が出力するノード存在パケットである。図2(a)はマスタノード101とスレーブノード111の間の伝送路におけるパケットの流れを示し、図2(b)はスレーブ111とスレーブノード121の間の伝送路におけるパケットの流れを示し、図2(c)はスレーブノード121のマスタノード101の間の伝送路におけるパケットの流れを示す。
【0031】
マスタノード101は、まずスイッチ105をB側に接続して、ノードの固有ノードIDを確認するための固有ID確認パケット201を伝送路100に送出し、引き続き各ノードに割り当てられたスロット202の一つ(固有ノードIDは「#1」であるので1番目のスロット)に、自ノードの存在を示すノード存在パケット203を送出する(図2(a))。
【0032】
スレーブノード111は、スイッチ115をA側にした状態で、マスタノードによって出力された固有ID確認パケット201を受信すると同時に、下流ノード側に通過させる。スレーブノード111の固有ノードIDは「#4」であるので、その後に到来するマスタノード101の出力したノード存在パケット203を通過させ、スロット202の一つ(固有ノードIDは「#4」であるので4番目のスロット)に、スイッチ115をB側に接続し、自ノードの存在を示すノード存在パケット204を送出する(図2(b))。ノード存在パケット204の出力後はスイッチ115をA側に戻す。
【0033】
同様にスレーブノード121は、スイッチ125をA側にした状態で、マスタノードによって出力された固有ID確認パケット201を受信すると同時に、下流ノード(マスタノード)側に通過させる。スレーブノード121の固有ノードIDは「#2」であるので、その後に到来するマスタノード101の出力したノード存在パケット203を通過させ、自ノードに割り当てられたスロット(2番目のスロット)に、スイッチ125をB側に接続し、自ノードの存在を示すノード存在パケット205を送出する(図2(c))。ノード存在パケット205の出力後はスイッチ115をA側に戻し、スレーブノード111の出力したノード存在パケット204を通過させる。
【0034】
マスタノード101は、各ノード101、111、121が出力したノード存在パケット203、204、205を受信し、スロット202の位置よりネットワークに接続されたノードの固有ノードID(この場合、#1、#2、#4)を知る。マスタノード101は、全スロット202のノード存在パケットを受信した後、スイッチ105をA側にしてノードの固有ノードIDの確認を終える。
【0035】
このように、本実施の形態によるループ型ネットワーク構成管理方法では、マスタノードが、各ノードの前記固有ノードIDを確認するための固有ID確認パケットを発行し上記伝送路に送出し、ネットワークに接続された各ノードが、上記固有ID確認パケットに対し、固有ノードID毎に割り当てられたスロットに自ノードの存在を示すノード存在パケットを挿入し、上記マスタノードが、上記全ノード分の前記ノード存在パケットを受信することにより、ネットワーク上に存在するノードの固有ノードIDの検出を行うようにしたから、ネットワークに接続されるノードが、伝送路の切断/接続を行うスイッチを備え、スイッチを伝送路からの入力端と伝送路への出力端を接続する側にしてパケットの受信を行い、伝送路からの入力端と伝送路への出力端とを切り離し、パケット送信部と伝送路への出力端を接続する側にしてパケットの送出を行うものである場合においても、ループ型ネットワークに接続されるノードの固有ノードIDの検出を行うことができる。
なお、各ノードの出力するノード存在パケットには、そのノードの固有ノードIDが含まれていても良い。
【0036】
次に、ネットワーク上の複数のノードが同一の固有ノードIDを持っている場合の動作について説明する。
図3はマスタノードが固有ID確認パケットを出力した場合の伝送路上の信号の流れを示す図であり、図1におけるマスタノード101とスレーブノード111の固有ノードIDがともに「#4」であった場合のものである。301はマスタノード101の出力する固有ID確認パケット、302は固有ID確認パケット301の後に存在する固有ノードID毎に割り当てられたノード存在パケット用のスロットである。303、304は各ノード101、111が出力するノード存在パケットであり、305はスレーブノード111が出力する固有ID衝突パケットである。図3(a)はマスタノード101とスレーブノード111の間の伝送路におけるパケットの流れを示し、図3(b)はスレーブ111とスレーブノード121の間の伝送路におけるパケットの流れを示す。
【0037】
マスタノード101は、固有ノードIDの確認を行った場合と同様に、まずスイッチ105をB側に接続して、固有ID確認パケット301を送出し、引き続き自ノードに割り当てられたスロット(固有ノードIDは「#4」であるので4番目のスロット)に、自ノードの存在を示すノード存在パケット303を送出する(図3(a))。
【0038】
スレーブノード111は、スイッチ115をA側に接続した状態で、マスタノードによって出力された固有ID確認パケット301を受信すると同時に、下流ノード側に通過させる。スレーブノード111の固有ノードIDもまた「#4」であるので、スイッチ115をB側に接続し、同一のスロット(固有ノードID「#4」であるので4番目のスロット)に、自ノードの存在を示すノード存在パケット304を上書きし、送出する(図3(b))。スイッチ115はB側(ネットワークを切断する側)に接続されているので、マスタノード101によって出力されたノード存在パケット303は、スレーブノード111で受信され、消滅されることになる。ここで、本実施の形態によるループ型ネットワーク構成管理方法においては、各ノードは自ノードに割り当てられたスロット内のノード存在パケットを監視している。ノード存在パケット304送出の際にノード存在パケット303を受信した(自ノードのスロットに既にノード存在パケット303が存在した)場合、上流ノードに自ノードと同一の固有ノードIDを持つノードが他にも存在したことになる。この時スレーブノード111は、同一の固有ノードIDを持つノードが他にも存在したことを示す固有ID衝突パケット305を、ノード存在パケット304の後に引き続き送出し、スイッチ115の接続をA側に戻す。
【0039】
マスタノード101は、ノード存在パケット304と固有ID衝突パケット305を受信し、スロット302の位置より「#4」の固有ノードIDを持つノードが複数存在したことを検出する。
【0040】
このように、本実施の形態によるループ型ネットワーク構成管理方法では、各ノードが、上記伝送路の自ノードに割り当てられたスロット内のノード存在パケットを監視し、自ノードの存在を示す上記ノード存在パケットを挿入した際に、既に上記ノード存在パケットが存在した場合は、同一の固有ノードIDを持つノードが他にも存在したことを示す固有ID衝突パケットを、上記自ノードの存在を示す上記ノード存在パケットを挿入した上記自ノードに割り当てられたスロットに挿入し、マスタノードが、上記ノード存在パケットと上記固有ID衝突パケットを受信することにより、その固有ノードIDをネットワーク上の複数のノードが持つ固有ノードIDの検出を行うようにしたから、ネットワーク上の複数のノードが同一の固有ノードIDを持っている場合に、この同一の固有ノードIDを持つ複数のノードを検出することができる。
【0041】
次に、上述のようにして、固有ノードIDが検出されたノードのネットワーク上における接続順序を検出する動作について説明する。
図4はマスタノードが接続情報収集パケットを出力した場合の伝送路上の信号の流れを示す図であり、401はマスタノード101の出力する接続情報収集パケット、402は固有ID確認パケット401の後に存在する固有ノードID毎に割り当てられた接続情報用のスロットであり、図4では前方より#1のスロット、#2のスロット、#3のスロット、・・・と割り当てが行われている。403〜405は各ノード101、111、121が出力する接続情報である。図4(a)はマスタノード101とスレーブノード111の間の伝送路におけるパケットの流れを示し、図4(b)はスレーブ111とスレーブノード121の間の伝送路におけるパケットの流れを示し、図4(c)はスレーブノード121のマスタノード101の間の伝送路におけるパケットの流れを示す。マスタノード101とスレーブノード111、121の固有ノードIDはそれぞれ、「#1」、「#4」、「#2」である。
【0042】
上述したように、固有ノードIDの確認を行う過程において、マスタノード101が固有ID確認パケット201を送出した場合、各ノードは自ノードに割り当てられたスロットに自ノードの存在を示すノード存在パケットの送出を行った。ここで、本実施の形態によるループ型ネットワーク構成管理方法では、各ノード101、111、121はノード存在パケットを挿入する際に、全スロット分のノード存在パケットの有無を検出し、接続情報として記憶を行う。
【0043】
マスタノード101においては、全スロット202の中に自ノード(固有ノードIDは「#1」)が送信したノード存在パケットのみが存在したので、接続情報として「100000・・・」(1:ノード存在パケット有り、0:ノード存在パケット無し、前方より#1、#2、#3、・・・のスロット順)を記憶する。スレーブノード111においては、全スロット202の中にマスタノード101(固有ノードIDは「#1」)と自ノード(固有ノードIDは「#4」)が送信したノード存在パケットが存在したので、接続情報として「100100・・・」を記憶する。スレーブノード121においては、全スロット202の中にマスタノード101(固有ノードIDは「#1」)とスレーブノード111(固有ノードIDは「#4」)と自ノード(固有ノードIDは「#2」)が送信したノード存在パケットが存在したので、接続情報として「110100・・・」を記憶する。
【0044】
上記固有ノードIDの確認を行う過程を終えた後、マスタノード101は接続情報収集パケット401を送出し、引き続き各ノードに割り当てられたスロット402の一つ(固有ノードIDは「#1」であるので1番目のスロット)に、保持した接続情報「100000・・・」を送出する(図4(a))。スレーブノード111は自ノードに割り当てられたスロット(4番目のスロット)に、保持した接続情報「100100・・・」を送出する(図4(b))。同様に、スレーブノード121は自ノードに割り当てられたスロット(2番目のスロット)に、保持した接続情報「110100・・・」を送出する(図4(c))。
【0045】
マスタノード101は全ノードからの接続情報を受信し、接続情報403〜405に含まれる「1」の個数(各ノードが検出したノード存在パケット数)とスロット402の位置により、「1」の個数の少ない順番に並べ替えて、#1(「1」の個数は1)、#4(「1」の個数は2)、#2(「1」の個数は3)とする。これは、ループ型ネットワークにおけるノードの接続順となる。
【0046】
このように、本実施の形態によるループ型ネットワーク構成管理方法では、各ノードが、自ノードに割り当てられたスロットに自ノードの存在を示すノード存在パケットを挿入する際に、全スロット分のノード存在パケットの有無を接続情報として記憶し、マスタノードが、ノードの接続情報を収集するための接続情報収集パケットを発行し伝送路に送出し、各ノードが、接続情報収集パケットに対し、自ノードに割り当てられたスロットに接続情報を挿入し、マスタノードが、全ノード分の接続情報を受信することにより、上記ノードのネットワーク上における接続順の検出を行うようにしたから、ネットワークに接続されるノードが、伝送路の切断/接続を行うスイッチを備え、スイッチを伝送路からの入力端と伝送路への出力端を接続する側にしてパケットの受信を行い、伝送路からの入力端と伝送路への出力端とを切り離し、パケット送信部と伝送路への出力端を接続する側にしてパケットの送出を行うものである場合においても、ループ型ネットワークにおけるノードの接続順を検出することができる。
【0047】
なお、上記実施の形態の説明では、各ノードの出力する接続情報は、固有ノードID毎に割り当てられたスロットにノード存在パケットが有るか無いかを各スロットについて1ビットを割り当てた信号で示したものとしたが、各ノードの出力する接続情報としては、ノード存在パケットの個数(#1のノードは「1」、#4のノードは「2」、#2のノードは「3」)を数値として示したものであってもよく、同様の効果が得られる。
また、各ノードの出力する接続情報には、そのノードの固有ノードIDが含まれていても良い。
【0048】
また、固有ID確認パケットと接続情報収集パケットは、マスタノード101に外部接続されたネットワーク診断装置等からのトリガ供給により発行され、マスタノード101は収集した各ノードの固有ノードIDと同一の固有ノードIDを持つ複数のノードの存在を示す情報、またはノードの接続順を示す情報を、外部接続されたネットワーク診断装置等に出力することにより、ノードの追加/削除時等のネットワークの診断をより容易なものとできる。
【0049】
また、固有ID確認パケットと接続情報収集パケットは定期的に発行され、マスタノード101は各ノードの固有ノードIDと同一の固有ノードIDを持つ複数のノードの存在を示す情報、またはノードの接続順を示す情報を順次更新し、外部接続されたネットワーク診断装置等に出力する構成としてもよく、同様の効果が得られる。
【0050】
また、外部接続されたネットワーク診断装置等からのトリガ供給に応答して、保持した最新の情報をネットワーク診断装置等に出力を行うことにより、また断線検出手段とを組み合わせて使用することにより、伝送路の断線時の断線箇所の特定を容易なものとできる。
【0051】
ここで、断線検出手段に関して簡単に説明を行う。
図9は特願平10−277194に号記載のネットワーク断線検出方法におけるネットワーク構成図であり、901はマスタノード、911、921はスレーブノード、902、912、922は送受信制御部、905、915、925は伝送路の切断/接続を行う第1のスイッチ、903、913、923はノード制御中央制御装置(以下ノード制御CPUと省略)、906、916、926は通常時用伝送路と断線時用伝送路を切り替える第2のスイッチ、907、917、927は通常時用伝送路と断線時用伝送路を切り替える第3のスイッチ、908、918、928は電気光変換器、909、919、929は光電気変換器、904、914、924は受信信号を監視する信号監視部であり、マスタノード901とスレーブノード911、921は伝送路930、931、932を介してループ状に接続されている。
【0052】
なお通常時、第2のスイッチ906、916、926はE側に、第3のスイッチ907、917、927はC側に接続され、伝送路930、931、932を含めて、ループ状のネットワークが構成され、各ノード901、911、921の間でデータ通信が行われる。
【0053】
マスタノード901は一定時間毎にある種のパケットを伝送路930に送出し、それがスレーブノード911、921にも伝達され、再びマスタノード901に戻され消滅されるのであるが、ここでスレーブノード911とスレーブノード921間の伝送路931で、伝送路の断線が発生した場合を想定する。
【0054】
マスタノード901が一定時間毎に送出するパケットは、スレーブノード921とマスタノード901で受信されなくなる。それぞれの信号監視部904、924は信号を受信していないことをノード制御CPU903、923に通知を行う。それぞれのノード制御CPU903、923は伝送路に断線が発生したと判断し、それぞれの第2のスイッチ906、926をF側に、第3のスイッチ907、927をD側に接続し、断線時用伝送路への切り替えを行う。同時にマスタノード901はパケットの送出を中断するので、スレーブノード911においても断線が発生したと判断され、第2のスイッチ916、第3のスイッチ917を切り替えて断線時用伝送路を確立する。
【0055】
ある時間が経過した後、各ノードのノード制御CPU903、913、923は断線箇所検出用信号の出力を開始する。例えば、この断線箇所検出用信号は一定のHighレベルの信号とする。同時に信号監視部904、914、924で断線箇所検出用信号の受信を行う。伝送路931で断線が発生したので、スレーブノード921でのみ断線箇所検出用信号が受信されないことになる。さらに時間が経過した後に、各ノード901、911、921は断線箇所検出用信号の送出を止め、スレーブノード921のみが断線箇所検出用信号を受信しなかったことを示す信号を送出することにより、他のノード901、911にスレーブノード921の手前の伝送路931に断線が発生したことを伝達することが可能になる。
【0056】
この断線検出手段と、上述したループ型ネットワーク構成管理方法によるノードの接続順検出を合わせて使用することにより、断線発生時の断線箇所の特定を容易なものとできる。
【0057】
実施の形態2.
次に本発明の実施の形態2によるループ型ネットワーク構成管理方法について説明する。
図5は本発明の実施の形態2によるループ型ネットワーク構成管理方法における伝送路上の信号の流れを示す図であり、501はマスタノードの出力する固有ID確認パケット、または接続情報収集パケットである。502は固有ノードID毎に割り当てられたスロットであり、各ノードはこのスロット内にノード存在パケット、固有ID衝突パケット、接続情報を出力する。503は各スロット502の先頭を示すスロット識別信号である。
【0058】
マスタノードは固有ID確認パケットまたは接続情報収集パケット501に続き、固有ノードID毎に割り当てられたスロット502の先頭を示すスロット識別信号503を順次出力する。各ノードはスロット識別信号503を検出することにより、自ノードのスロットの認識を行い、そのスロットにノード存在パケット、固有ID衝突パケット、接続情報の挿入を行う。マスタノードもまた受信したスロット識別信号503を検出することにより、各ノードより出力されたノード存在パケット、固有ID衝突パケット、接続情報の認識を行う。ここで、本実施の形態2によるループ型ネットワーク構成管理方法では、マスタノードがスロット識別信号を出力し、各ノードがスロット識別信号を検出することにより、自ノードのスロットの認識を行う点以外の動作は、上記実施の形態1によるループ型ネットワーク構成管理方法における動作と全く同じである。
【0059】
このように、本実施の形態によるループ型ネットワーク構成管理方法では、マスタノードが固有ID確認パケット、または接続情報収集パケットに続き、各ノードに割り当てたスロット502の先頭を示すスロット識別信号503を順次出力するようにしたから、各ノードにおいてスロットの検出とパケットの検出を容易なものとすることができる。
【0060】
なお、上記実施の形態2ではマスタノードがスロット識別信号を出力し、各ノードがスロット識別信号を検出するようにしたが、その後の動作で各ノードが自ノードに割り当てられたスロットのスロット識別信号503を取り去り、パケットの先頭を示す信号とパケットを続けて出力するようにすれば、マスタノードにおけるパケットの検出が容易なものとなる。
また、上記の説明ではスロット識別信号503は固有ノードID毎に割り当てられたスロット502の先頭を示すものとしたが、各スロット502の区切りを示すものとしても、同様の効果が得られる。
【0061】
【発明の効果】
以上のように本発明によれば、ループ状の伝送路と、該伝送路に接続されたそれぞれ固有ノードIDを持つ1台のマスタノードと1台以上のスレーブノードを有するループ型ネットワークの構成管理方法において、上記マスタノードが、各ノードの前記固有ノードIDを確認するための固有ID確認パケットを発行し上記伝送路に送出する固有ID確認パケット送出工程と、上記各ノードが、上記固有ID確認パケットに対し、上記伝送路の固有ノードID毎に割り当てられたスロットに自ノードの存在を示すノード存在パケットを挿入するノード存在パケット挿入工程と、上記マスタノードが、上記全ノード分の前記ノード存在パケットを受信することにより、ネットワーク上に存在するノードの固有ノードIDの検出を行う固有ノードID検出工程とを含むものとしたから、ネットワークに接続されるノードが、伝送路の切断/接続を行うスイッチを備え、スイッチを伝送路からの入力端と伝送路への出力端を接続する側にしてパケットの受信を行い、伝送路からの入力端と伝送路への出力端とを切り離し、パケット送信部と伝送路への出力端を接続する側にしてパケットの送出を行うものである場合においても、ループ型ネットワークに接続されるノードの固有ノードIDの検出を行うことができる効果がある。
【0062】
また、本発明(請求項2)によれば、請求項1記載のループ型ネットワーク構成管理方法において、上記各ノードが、上記伝送路の自ノードに割り当てられたスロット内のノード存在パケットを監視し、自ノードの存在を示す上記ノード存在パケットを挿入した際に、既に上記ノード存在パケットが存在した場合は、同一の固有ノードIDを持つノードが他にも存在したことを示す固有ID衝突パケットを、上記自ノードの存在を示す上記ノード存在パケットを挿入した上記自ノードに割り当てられたスロットに挿入し、上記マスタノードが、上記ノード存在パケットと上記固有ID衝突パケットを受信することにより、その固有ノードIDをネットワーク上の複数のノードが持つ固有ノードIDの検出を行うようにしたから、ネットワーク上の複数のノードが同一の固有ノードIDを持っている場合に、この同一の固有ノードIDを持つ複数のノードを検出することができる効果がある。
【0063】
また、本発明(請求項3)によれば、請求項1または請求項2記載のループ型ネットワーク構成管理方法において、上記各ノードが、上記伝送路の自ノードに割り当てられたスロットに自ノードの存在を示すノード存在パケットを挿入する際に、上記全スロット分の上記ノード存在パケットの有無を接続情報として記憶する接続情報記憶工程と、上記マスタノードが、ノードの接続情報を収集するための接続情報収集パケットを発行し上記伝送路に送出する接続情報収集パケット送出工程と、上記各ノードが、上記接続情報収集パケットに対し、上記伝送路の自ノードに割り当てられたスロットに上記接続情報を挿入する接続情報挿入工程と、上記マスタノードが、上記全ノード分の上記接続情報を受信することにより、上記ノードのネットワーク上における接続順の検出を行うノード接続順検出工程とを含むものとしたから、ネットワークに接続されるノードが、伝送路の切断/接続を行うスイッチを備え、スイッチを伝送路からの入力端と伝送路への出力端を接続する側にしてパケットの受信を行い、伝送路からの入力端と伝送路への出力端とを切り離し、パケット送信部と伝送路への出力端を接続する側にしてパケットの送出を行うものである場合においても、ループ型ネットワークにおけるノードの接続順を検出することができ、ノードの追加/削除時等のネットワークの診断や、断線検出手段とを組み合わせて使用することによる伝送路の断線時の断線箇所の特定を容易なものとできる効果がある。
【図面の簡単な説明】
【図1】
本発明の実施の形態1によるループ型ネットワーク構成管理方法を用いたループ型ネットワークシステムの構成を示す図である。
【図2】
実施の形態1によるループ型ネットワーク構成管理方法においてマスタノードが固有ID確認パケットを出力した場合の伝送路上の信号の流れの一例を示す図である。
【図3】
実施の形態1によるループ型ネットワーク構成管理方法においてマスタノードが固有ID確認パケットを出力した場合の伝送路上の信号の流れの他の例を示す図である。
【図4】
実施の形態1によるループ型ネットワーク構成管理方法においてマスタノードが接続情報収集パケットを出力した場合の伝送路上の信号の流れを示す図である。
【図5】
本発明の実施の形態2によるループ型ネットワーク構成管理方法における伝送路上の信号の流れを示す図である。
【図6】
従来のループ型ネットワーク構成管理方法の概略を示す図である。
【図7】
従来のループ型ネットワークにおけるノードの一例を示す図である。
【図8】
従来のループ型ネットワークにおけるノードの他の例を示す図である。
【図9】
ネットワーク断線検出方法の一例を説明するための図である。
【符号の説明】
100 伝送路
101 マスタノード
111、121 スレーブノード
102、112、122 制御部
103、113、123 パケット受信部
104、114、124 パケット送信部
201 固有ID確認パケット
202 固有ノードID毎に割り当てられたノード存在パケット用のスロット
203〜205 ノード存在パケット
301 固有ID確認パケット
302 固有ノードID毎に割り当てられたノード存在パケット用のスロット
303、304 ノード存在パケット
305 固有ID衝突パケット
401 接続情報収集パケット
402 固有ノードID毎に割り当てられた接続情報用のスロット
403〜405 接続情報
501 固有ID確認パケット、または接続情報収集パケット
502 固有ノードID毎に割り当てられたスロット
503 スロット識別信号
[Document name] Statement
INDUSTRIAL APPLICABILITY: Loop type network configuration management method and loop type network system
[Claims]
1. The configuration management method of a loop-shaped transmission line and a loop-type network having one master node and one or more slave nodes connected to the transmission line each having a unique node ID.
A unique ID confirmation packet sending process in which the master node issues a unique ID confirmation packet for confirming the unique node ID of each node and sends the unique ID confirmation packet to the transmission line.
A node existence packet insertion step in which each of the above nodes inserts a node existence packet indicating the existence of its own node into a slot assigned to each unique node ID of the transmission line in response to the unique ID confirmation packet.
The master node includes a unique node ID detection step of detecting the unique node ID of a node existing on the network by receiving the node existence packet for all the nodes.
A loop-type network configuration management method characterized by this.
2. The loop-type network configuration management method according to claim 1.
When each of the above nodes monitors the node existence packet in the slot assigned to the own node of the transmission path and inserts the node existence packet indicating the existence of the own node, and the node existence packet already exists. Inserts a unique ID collision packet indicating that another node having the same unique node ID exists into the slot assigned to the local node into which the node existence packet indicating the existence of the local node is inserted. ,
When the master node receives the node existence packet and the unique ID collision packet, the unique node ID is detected by a plurality of nodes on the network.
A loop-type network configuration management method characterized by this.
3. The loop-type network configuration management method according to claim 1 or 2.
When each of the above nodes inserts a node existence packet indicating the existence of the own node into a slot assigned to the own node of the transmission line, a connection that stores the presence or absence of the node existence packet for all the slots as connection information. Information storage process and
The connection information collection packet transmission process in which the master node issues a connection information collection packet for collecting node connection information and sends it to the transmission line.
A connection information insertion step in which each of the above nodes inserts the connection information into a slot assigned to the own node of the transmission line in response to the connection information collection packet.
The master node includes a node connection order detection step of detecting the connection order of the nodes on the network by receiving the connection information for all the nodes.
A loop-type network configuration management method characterized by this.
4. The loop-type network configuration management method according to claim 3.
The master node issues and sends the connection information collection packet in response to an external trigger supply.
A loop-type network configuration management method characterized by this.
5. The loop-type network configuration management method according to any one of claims 1 to 4.
The master node issues and sends the unique ID confirmation packet in response to an external trigger supply.
A loop-type network configuration management method characterized by this.
6. In the loop type network configuration management method according to claim 3,
The master node periodically issues and sends the connection information collection packet.
A loop-type network configuration management method characterized by this.
7. In the loop type network configuration management method according to any one of claims 1 to 3 or claim 6.
The master node periodically issues and sends the unique ID confirmation packet.
A loop-type network configuration management method characterized by this.
8. In the loop type network configuration management method according to any one of claims 1 to 7.
Information indicating the unique node ID of a node existing on the detected network, information indicating the unique node ID of a plurality of nodes on the network, or the connection order of the nodes on the network. Is output to the outside in response to the trigger supply from the outside.
A loop-type network configuration management method characterized by this.
9. In the loop type network configuration management method according to claim 1 to 8.
Following the transmission of the unique ID confirmation packet or the connection information collection packet, the master node sends a slot identification signal for identifying the slot assigned to each node.
Each of the above nodes identifies the slot by detecting the slot identification signal.
A loop-type network configuration management method characterized by this.
10. In a loop-type network system having a loop-shaped transmission line and one master node and one or more slave nodes connected to the transmission line each having a unique node ID.
The master node issues a unique ID confirmation packet for confirming the unique node ID of each node and sends it to the transmission line.
Each of the above nodes inserts a node existence packet indicating the existence of its own node into a slot assigned to each unique node ID of the transmission line in the unique ID confirmation packet.
The master node further detects the unique node ID of the node existing on the network by receiving the node existence packet for all the nodes.
A loop-type network system characterized by this.
11. In the loop type network system according to claim 10,
Each of the above nodes monitors the node existence packet in the slot assigned to the own node of the transmission path, and when the node existence packet indicating the existence of the own node is inserted, the node existence packet already exists. Inserts a unique ID collision packet indicating that another node having the same unique node ID exists into the slot assigned to the local node into which the node existence packet indicating the existence of the local node is inserted. Is a thing
By receiving the node existence packet and the unique ID collision packet, the master node detects the unique node ID possessed by a plurality of nodes on the network.
A loop-type network system characterized by this.
12. In the loop type network system according to claim 10 or 11.
When each of the above nodes inserts a node existence packet indicating the existence of the own node into a slot assigned to the own node of the transmission line, the presence or absence of the node existence packet for all the slots is stored as connection information. The connection information is inserted into the slot assigned to the own node of the own transmission line for the connection information collection packet for collecting the connection information of the node issued by the master node and sent to the transmission line. ,
The master node detects the connection order of the nodes on the network by receiving the connection information for all the nodes.
A loop-type network system characterized by this.
13. In the loop network system according to claim 12,
The master node issues and sends the connection information collection packet in response to a trigger supply from the outside.
A loop-type network system characterized by this.
14. In the loop type network system according to any one of claims 10 to 13.
The master node issues and sends the unique ID confirmation packet in response to a trigger supply from the outside.
A loop-type network system characterized by this.
15. The loop-type network system according to claim 12.
The master node periodically issues and sends the connection information collection packet.
A loop-type network system characterized by this.
16. In the loop network system according to any one of claims 10 to 12 or claim 15.
The master node periodically issues and sends the unique ID confirmation packet.
A loop-type network system characterized by this.
17. In the loop type network system according to any one of claims 10 to 16.
The master node is information indicating the unique node ID of a node existing on the detected network, information indicating the unique node ID of a plurality of nodes on the network, or the connection order of the nodes on the network. The information indicating the above is output to the outside in response to the trigger supply from the outside.
A loop-type network system characterized by this.
18. In the loop type network system according to claim 10 to 17.
The master node sends a slot identification signal for identifying a slot assigned to each node to a transmission line following the transmission of the unique ID confirmation packet or the connection information collection packet.
Each of the above nodes identifies the slot by detecting the slot identification signal.
A loop-type network system characterized by this.
19. The master node or the slave node connected to the loop type transmission line and the loop type network system having one master node having a unique node ID and one or more slave nodes connected to the transmission line. Any network node
The network node includes a network transmission unit that sends each packet to the transmission line, a network reception unit that receives each packet from the transmission line, and the like.
A unique ID confirmation packet generation unit that generates a unique ID confirmation packet for confirming the unique node ID of each network node and sends the unique ID confirmation packet from the network transmission unit to the transmission line.
The unique ID confirmation packet is received from the transmission line, a node existence packet indicating the existence of the own node is generated in the slot assigned to each unique node ID of the transmission line, and the packet is transmitted from the network transmission unit to the transmission line. Node existence packet generator and
Further, it is provided with an ID detection unit that receives the node existence packets for all the nodes received by the network reception unit and detects the unique node ID of the node existing on the network.
A network node that features that.
20. In the network node according to claim 19.
Each of the above network nodes monitors the node existence packet in the slot assigned to the own node of the transmission path, and when the node existence packet indicating the existence of the own node is inserted, the node existence packet already exists. In this case, a unique ID collision packet indicating that another network node having the same unique node ID exists is placed in the slot assigned to the local node into which the node existence packet indicating the existence of the local node is inserted. Equipped with an ID collision packet generator to be inserted
By receiving the node existence packet and the unique ID collision packet in the ID detection unit, the unique node ID possessed by a plurality of network nodes on the network is detected.
A network node that features that.
21. In the network node according to claim 19 or claim 20
When each of the network nodes inserts a node existence packet indicating the existence of the own node into a slot assigned to the own node of the transmission line, the presence or absence of the node existence packet for all the slots is stored as connection information. It is provided with a connection information storage unit and a connection information generation unit that generates and sends the connection information to the slot assigned to the own node of the own transmission line for the connection information collection packet for collecting the connection information of the network node. ,
The ID detection unit detects the connection order of the network nodes on the network by receiving the connection information for all the network nodes.
A network node that features that.
22. In the network node according to claim 19 to 21,
Following the transmission of the unique ID confirmation packet or the connection information collection packet, the network node generates a slot identification signal for identifying a slot assigned to each network node and sends it to a transmission line. When,
A slot identification signal detection unit for receiving and detecting the slot identification signal from the transmission line is provided.
A network node that features that.
Description: TECHNICAL FIELD [Detailed description of the invention]
[0001]
[Technical field to which the invention belongs]
The present invention relates to a configuration management method for a loop network composed of one master node and one or more slave nodes.
0002.
[Conventional technology]
The conventional loop type network configuration management method will be described below with reference to the drawings.
FIG. 6 is a diagram showing an outline of a conventional loop type network configuration management method shown in Japanese Patent No. 2687883 “Protection information management system in a ring transmission line”. In FIG. 6, 601 is a master node, 602 to 604 are slave nodes, the unique node ID of the master node 601 is “# 1”, and the unique node IDs of the slave nodes 602 to 604 are “# 4” and “# 2”, respectively. , "# 3", and each node 601 to 604 is connected via a loop-shaped transmission line 600.
First, the master node 601 sends a collection packet 605 into which the unique node ID "# 1" of the own node is inserted to collect information indicating the connection order of the nodes to the slave node 602 in the next stage. The slave node 602 that has received the collected packet 605 adds the unique node ID "# 4" of its own node after the unique node ID "# 1" output by the previous node, and adds the unique node ID "# 1" of the own node to the slave node 603 of the next stage as the collected packet 605. Output. The master node 601 detects the connection order of the nodes in the loop network and the unique node ID of each node by receiving the collected packet 605 including the unique node ID sequentially added by the slave nodes 602 to 604.
0003
FIG. 7 is a configuration diagram of a node in a conventional loop network, where 700 is a transmission line, 701 is a node, 702 is a control unit, 703 is a packet receiving unit, and 704 is a packet transmitting unit.
The node 701 receives the collected packet 605 sent from the upstream node by the packet receiving unit 703, captures it by the control unit 702, analyzes it, and then adds the unique node ID of its own node after the unique node ID of the node in the previous stage. , The collected packet 705 is transmitted from the transmission unit 704 to the transmission line 700.
0004
[Problems to be Solved by the Invention]
FIG. 8 is a configuration diagram of a node in another loop type network. 800 is a transmission line, 801 is a node, 802 is a control unit, 803 is a packet reception unit, 804 is a packet transmission unit, and 805 is a disconnection / disconnection of the transmission line 800. It is a switch that makes a connection.
The node 801 receives the packet with the switch 805 set to the A side (the side connecting the input end from the transmission line and the output end to the transmission line), and receives the packet on the B side (the input end from the transmission line and the transmission line). The output end is separated from the packet transmission unit (the side that connects the packet transmission unit and the output end to the transmission line), and the packet transmission unit 804 transmits the packet.
0005
In a loop network in which nodes having such a configuration are connected, the node 801 does not once capture the received packet and send it out again, and at the same time as receiving the packet, the packet passes through the transmission line 800 without delay. Will let you. Therefore, it is impossible to receive the collected packet 605, detect the unique node ID (end of valid data) of the previous node included in the collected packet 605, and send out the unique node ID of the own node at the same time. Even if an end code indicating the end of the packet is added after the unique node ID output by the node in the previous stage, the end code is already sent to the downstream node when the end code is detected. Therefore, in the loop type network having this configuration, there is a problem that the connection order of the nodes and the unique node ID of each node cannot be detected by the conventional method.
0006
The present invention has been made to solve the above problems, and the node connected to the network is provided with a switch for disconnecting / connecting the transmission line, and the switch is connected to the input end from the transmission line and the transmission line. The packet is received with the output end connected, the input end from the transmission line and the output end to the transmission line are separated, and the packet transmitter and the output end to the transmission line are connected to send the packet. Even in the case of performing, it is possible to detect the connection order of the nodes connected to the loop type network and the unique node ID of each node, identify the disconnection point at the time of the transmission line disconnection, and add / remove the node. It is an object of the present invention to provide a loop type network configuration management method and a loop type network system that can facilitate the diagnosis of a time.
0007
[Means for solving problems]
In order to solve the above problems, the present invention (claim 1) includes a loop-shaped transmission line, one master node and one or more slave nodes each having a unique node ID connected to the transmission line. In the loop type network configuration management method having the above, the master node issues a unique ID confirmation packet for confirming the unique node ID of each node and sends the unique ID confirmation packet to the transmission path, and the above. A node existence packet insertion step in which each node inserts a node existence packet indicating the existence of its own node into a slot assigned to each unique node ID of the transmission path in response to the unique ID confirmation packet, and the master node This includes a unique node ID detection step of detecting the unique node ID of a node existing on the network by receiving the node existence packet for all the nodes.
0008
Further, according to the present invention (claim 2), in the loop type network configuration management method according to claim 1, each of the above nodes monitors a node-existing packet in a slot assigned to the own node of the transmission path, and itself. If the node-existing packet already exists when the node-existing packet indicating the existence of the node is inserted, the unique ID collision packet indicating that another node having the same unique node ID also exists is displayed. The unique node ID is inserted by inserting the node existence packet indicating the existence of the local node into the slot assigned to the local node, and receiving the node existence packet and the unique ID collision packet by the master node. Is to detect the unique node IDs of a plurality of nodes on the network.
0009
Further, according to the present invention (claim 3), in the loop type network configuration management method according to claim 1 or 2, each of the above nodes has its own node in a slot assigned to the own node of the transmission path. When inserting the indicated node existence packet, the connection information storage step of storing the presence / absence of the node existence packet for all the slots as connection information and the connection information collection for the master node to collect the connection information of the node. A connection information collection packet transmission process that issues a packet and sends it to the transmission path, and a connection in which each node inserts the connection information into a slot assigned to its own node of the transmission path for the connection information collection packet. It includes an information insertion step and a node connection order detection step in which the master node detects the connection order of the nodes on the network by receiving the connection information for all the nodes.
0010
Further, according to the present invention (claim 4), in the loop type network configuration management method according to claim 3, the master node issues and sends the connection information collection packet in response to a trigger supply from the outside. It is something like that.
0011
Further, according to the present invention (claim 5), in the loop type network configuration management method according to any one of claims 1 to 4, the master node responds to an external trigger supply and the unique ID is described. The confirmation packet is issued and sent.
0012
Further, in the loop type network configuration management method according to claim 3, the present invention (claim 6) is such that the master node periodically issues and sends the connection information collection packet.
0013
Further, in the present invention (claim 7), in the loop type network configuration management method according to any one of claims 1 to 3 or claim 6, the master node periodically sends the unique ID confirmation packet. It is designed to be issued and sent.
0014.
Further, according to the present invention (claim 8), in the loop type network configuration management method according to any one of claims 1 to 7, the master node is a unique node ID of a node existing on the detected network. Information indicating the unique node ID of multiple nodes on the network, or information indicating the connection order of the nodes on the network is output to the outside in response to a trigger supply from the outside. It is something that I tried to do.
0015.
Further, according to the present invention (claim 9), in the loop type network configuration management method according to claims 1 to 8, the master node sends out the unique ID confirmation packet or the connection information collection packet. A slot identification signal for identifying a slot assigned to each node is sent, and each node identifies the slot by detecting the slot identification signal.
0016.
Further, the present invention (claim 10) is a loop type network system having a loop-shaped transmission line, one master node having a unique node ID connected to the transmission line, and one or more slave nodes. , The master node issues a unique ID confirmation packet for confirming the unique node ID of each node and sends it to the transmission path, and each of the nodes transmits the unique ID confirmation packet in response to the transmission. A node existence packet indicating the existence of the own node is inserted into the slot assigned for each unique node ID of the road, and the master node further receives the node existence packets for all the nodes. It detects the unique node ID of a node existing on the network.
[0017]
Further, according to the present invention (claim 11), in the loop type network system according to the tenth aspect, each of the above nodes monitors the node existence packet in the slot assigned to the own node of the transmission path, and the own node monitors the node existence packet. If the node existence packet already exists when the node existence packet indicating the existence is inserted, the unique ID collision packet indicating that another node having the same unique node ID also exists is sent to the local node. The node present packet indicating the existence of the node is inserted into the slot assigned to the own node, and the master node receives the node existence packet and the unique ID collision packet, so that the unique node is inserted. The ID is detected as a unique node ID possessed by a plurality of nodes on the network.
0018
Further, according to the present invention (claim 12), in the loop type network system according to claim 10 or 11, each of the above nodes indicates the existence of the own node in the slot assigned to the own node of the transmission line. When inserting existing packets, the presence or absence of the existing node existing packets for all the slots is stored as connection information, and the connection information for collecting the connection information of the nodes issued by the master node and sent to the transmission line. The connection information is inserted into the slot assigned to the own node of the own transmission line for the collected packet, and the master node receives the connection information for all the nodes, so that the network of the node is used. It detects the connection order above.
0019
Further, according to the present invention (claim 13), in the loop type network system according to claim 12, the master node issues and sends the connection information collection packet in response to a trigger supply from the outside. is there.
0020
Further, according to the present invention (claim 14), in the loop type network system according to any one of claims 10 to 13, the master node responds to a trigger supply from the outside and the unique ID confirmation packet. Issuance and transmission.
0021.
Further, in the fifth aspect of the present invention (claim 15), in the loop type network system according to claim 12, the master node periodically issues and sends the connection information collection packet.
0022.
Further, in the present invention (claim 16), in the loop type network system according to any one of claims 10 to 12 or claim 15, the master node periodically issues the unique ID confirmation packet. It sends out.
[0023]
Further, the present invention (claim 17) shows the unique node ID of the node in which the master node exists on the detected network in the loop type network system according to any one of claims 10 to 16. Information, information indicating the unique node ID of multiple nodes on the network, or information indicating the connection order of the nodes on the network is output to the outside in response to a trigger supply from the outside. Is.
0024
Further, according to the present invention (claim 18), in the loop type network system according to claims 10 to 17, the master node sends out the unique ID confirmation packet or the connection information collection packet, and then each node. A slot identification signal for identifying a slot assigned to is sent to a transmission line, and each of the above nodes identifies the slot by detecting the slot identification signal.
0025
Further, the present invention (claim 19) is a loop type network system having a loop-shaped transmission line, one master node having a unique node ID connected to the transmission line, and one or more slave nodes. A network node of either the master node or the slave node to be connected, the network node is a network transmission unit that sends each packet to the transmission line and a network that receives each packet from the transmission line. The receiving unit, the unique ID confirmation packet generating unit that generates the unique ID confirmation packet for confirming the unique node ID of each network node, and sends the unique ID confirmation packet from the network transmitting unit to the transmission path, and the unique ID confirmation packet. A node existence packet generation unit that receives from the transmission line, generates a node existence packet indicating the existence of its own node in a slot assigned to each unique node ID of the transmission line, and sends it from the network transmission unit to the transmission line. Further, it is provided with an ID detection unit that receives the node existence packets for all the nodes received by the network reception unit and detects the unique node ID of the node existing on the network.
0026
Further, according to the present invention (claim 20), in the network node according to claim 19, each of the network nodes monitors the node existence packet in the slot assigned to the own node of the transmission path, and the existence of the own node. If the node-existing packet already exists when the node-existing packet indicating the above is inserted, the unique ID collision packet indicating that another network node having the same unique node ID also exists is sent to the local node. It is provided with an ID collision packet generation unit that inserts the node existence packet indicating the existence of the node into the slot assigned to the own node, and the ID detection unit receives the node existence packet and the unique ID collision packet. As a result, the unique node ID possessed by a plurality of network nodes on the network is detected.
[0027]
Further, according to the present invention (claim 21), in the network node according to claim 19 or 20, each of the network nodes has a node indicating the existence of the own node in the slot assigned to the own node of the transmission path. When inserting a packet, the connection information storage unit that stores the presence / absence of the node existence packet for all the slots as connection information and the connection information collection packet for collecting the connection information of the network node are self-transmitted. The slot assigned to the local node of the road is provided with a connection information generation unit that generates and sends the connection information, and the ID detection unit receives the connection information for all the network nodes to generate the network. It detects the connection order of nodes on the network.
[0028]
Further, in the present invention (claim 22), in the network node according to claim 19 to 21, the network node sends the unique ID confirmation packet or the connection information collection packet to each network node. It is provided with a slot identification signal generation unit that generates a slot identification signal for identifying an assigned slot and sends it to a transmission line, and a slot identification signal detection unit that receives and detects the slot identification signal from the transmission line. ..
[0029]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to FIGS. 1 to 7.
Embodiment 1.
FIG. 1 is a network configuration diagram using the loop type network configuration management method of the present invention. In FIG. 1, 101 is a master node, 111 and 121 are slave nodes, and the unique node ID of the master node 101 is “# 1”. The unique node IDs of the slave nodes 111 and 121 are "# 4" and "# 2", respectively, and the nodes 101, 111, and 121 are connected via the loop-shaped transmission line 100. Each node 101, 111, 121 is a switch 105 that disconnects / connects the control units 102, 112, 122, the packet receiving units 103, 113, 123, the packet transmitting units 104, 114, 124, and the transmission line 100, respectively. , 115, 125. The switches 105, 115, 125 of each node 101, 111, 121 are usually connected to the A side (the side connecting the input end from the transmission line and the output end to the transmission line), and the packet is received in this state. At the same time, the received packet is passed. When sending a packet, switches 105, 115, and 125 are on the B side (the side that separates the input end from the transmission line and the output end to the transmission line and connects the packet transmission unit and the output end to the transmission line). ), And packet transmission is performed.
[0030]
FIG. 2 is a diagram showing a signal flow on the transmission path when the master node outputs the unique ID confirmation packet, where 201 is the unique ID confirmation packet output by the master node 101 and 202 is after the unique ID confirmation packet 201. It is a slot for a node existence packet assigned for each unique node ID, and in FIG. 2, the slot # 1, the slot # 2, the slot # 3, ... Are assigned from the front. 203 to 205 are node existence packets output by each node 101, 111, 121. FIG. 2A shows the packet flow in the transmission line between the master node 101 and the slave node 111, and FIG. 2B shows the packet flow in the transmission line between the slave node 111 and the slave node 121. FIG. 2 (c) shows the flow of packets in the transmission line between the master nodes 101 of the slave nodes 121.
0031
The master node 101 first connects the switch 105 to the B side, sends a unique ID confirmation packet 201 for confirming the unique node ID of the node to the transmission line 100, and subsequently one of the slots 202 assigned to each node. A node existence packet 203 indicating the existence of the own node is sent to one (the first slot because the unique node ID is "# 1") (FIG. 2A).
[0032]
With the switch 115 on the A side, the slave node 111 receives the unique ID confirmation packet 201 output by the master node and at the same time passes it to the downstream node side. Since the unique node ID of the slave node 111 is "# 4", the node existence packet 203 output by the master node 101 that arrives after that is passed through, and one of the slots 202 (the unique node ID is "# 4"). Therefore, the switch 115 is connected to the B side in the fourth slot), and the node existence packet 204 indicating the existence of the own node is transmitted (FIG. 2B). After the node existence packet 204 is output, the switch 115 is returned to the A side.
0033
Similarly, the slave node 121 receives the unique ID confirmation packet 201 output by the master node with the switch 125 on the A side, and at the same time passes it to the downstream node (master node) side. Since the unique node ID of the slave node 121 is "# 2", the node existence packet 203 output by the master node 101 that arrives after that is passed through, and the switch is placed in the slot (second slot) assigned to the own node. 125 is connected to the B side, and a node existence packet 205 indicating the existence of the own node is transmitted (FIG. 2 (c)). After the output of the node existence packet 205, the switch 115 is returned to the A side, and the node existence packet 204 output by the slave node 111 is passed through.
0034
The master node 101 receives the node existence packets 203, 204, 205 output by the nodes 101, 111, 121, and is the unique node ID of the node connected to the network from the position of the slot 202 (in this case, # 1, #). 2. Know # 4). After receiving the node existence packets of all the slots 202, the master node 101 sets the switch 105 to the A side and finishes the confirmation of the unique node ID of the node.
0035.
As described above, in the loop type network configuration management method according to the present embodiment, the master node issues a unique ID confirmation packet for confirming the unique node ID of each node, sends it to the transmission line, and connects to the network. Each node inserts a node existence packet indicating the existence of its own node into the slot assigned for each unique node ID in the unique ID confirmation packet, and the master node is the node existence for all the nodes. Since the unique node ID of the node existing on the network is detected by receiving the packet, the node connected to the network is provided with a switch for disconnecting / connecting the transmission path, and the switch is used as the transmission path. The input end from the node and the output end to the transmission node are connected to each other to receive the packet, the input end from the transmission path and the output end to the transmission node are separated, and the packet transmission unit and the output end to the transmission node are separated. It is possible to detect the unique node ID of the node connected to the loop type network even when the packet is sent out on the connecting side.
The node existence packet output by each node may include the unique node ID of that node.
0036
Next, the operation when a plurality of nodes on the network have the same unique node ID will be described.
FIG. 3 is a diagram showing a signal flow on the transmission path when the master node outputs a unique ID confirmation packet, and the unique node IDs of the master node 101 and the slave node 111 in FIG. 1 are both “# 4”. It is a case. Reference numeral 301 denotes a unique ID confirmation packet output by the master node 101, and 302 is a slot for a node existence packet assigned to each unique node ID existing after the unique ID confirmation packet 301. Reference numerals 303 and 304 are node-existing packets output by the nodes 101 and 111, and reference numeral 305 is a unique ID collision packet output by the slave node 111. FIG. 3A shows the flow of packets on the transmission line between the master node 101 and the slave node 111, and FIG. 3B shows the flow of packets on the transmission line between the slave node 111 and the slave node 121.
0037
The master node 101 first connects the switch 105 to the B side, sends out the unique ID confirmation packet 301, and then continuously assigns the slot (unique node ID) to the own node, as in the case of confirming the unique node ID. Is "# 4", so a node existence packet 303 indicating the existence of the own node is sent to the fourth slot) (FIG. 3 (a)).
[0038]
With the switch 115 connected to the A side, the slave node 111 receives the unique ID confirmation packet 301 output by the master node and at the same time passes it to the downstream node side. Since the unique node ID of the slave node 111 is also "# 4", connect the switch 115 to the B side and put the own node in the same slot (the fourth slot because it is the unique node ID "# 4"). The node existence packet 304 indicating the existence is overwritten and transmitted (FIG. 3 (b)). Since the switch 115 is connected to the B side (the side that disconnects the network), the node existence packet 303 output by the master node 101 is received by the slave node 111 and disappears. Here, in the loop type network configuration management method according to the present embodiment, each node monitors the node existence packet in the slot assigned to the own node. When the node existence packet 303 is received when the node existence packet 304 is sent (the node existence packet 303 already exists in the slot of the own node), there is another node in the upstream node having the same unique node ID as the own node. It will have existed. At this time, the slave node 111 continuously sends a unique ID collision packet 305 indicating that another node having the same unique node ID exists after the node existence packet 304, and returns the connection of the switch 115 to the A side. ..
[0039]
The master node 101 receives the node existence packet 304 and the unique ID collision packet 305, and detects that there are a plurality of nodes having the unique node ID of "# 4" from the position of the slot 302.
0040
As described above, in the loop type network configuration management method according to the present embodiment, each node monitors the node existence packet in the slot assigned to the own node of the transmission path, and indicates the existence of the own node. If the node existence packet already exists when the packet is inserted, the unique ID collision packet indicating that another node having the same unique node ID also exists is displayed as the unique node collision packet indicating the existence of the local node. The existing node is inserted into the slot assigned to the local node into which the existing node is inserted, and the master node receives the node existing packet and the unique ID collision packet, so that the unique node ID is possessed by a plurality of nodes on the network. Since the unique node ID is detected, when a plurality of nodes on the network have the same unique node ID, it is possible to detect a plurality of nodes having the same unique node ID.
[0041]
Next, the operation of detecting the connection order on the network of the node in which the unique node ID is detected will be described as described above.
FIG. 4 is a diagram showing a signal flow on the transmission path when the master node outputs a connection information collection packet, 401 is a connection information collection packet output by the master node 101, and 402 is after the unique ID confirmation packet 401. It is a slot for connection information assigned for each unique node ID, and in FIG. 4, the slot # 1, the slot # 2, the slot # 3, ... Are assigned from the front. Reference numerals 403 to 405 are connection information output by each node 101, 111, 121. FIG. 4 (a) shows the packet flow in the transmission line between the master node 101 and the slave node 111, and FIG. 4 (b) shows the packet flow in the transmission line between the slave node 111 and the slave node 121. 4 (c) shows the flow of packets in the transmission line between the master nodes 101 of the slave nodes 121. The unique node IDs of the master node 101 and the slave nodes 111 and 121 are "# 1", "# 4" and "# 2", respectively.
[0042]
As described above, when the master node 101 sends out the unique ID confirmation packet 201 in the process of confirming the unique node ID, each node is a node existence packet indicating the existence of the local node in the slot assigned to the local node. It was sent out. Here, in the loop type network configuration management method according to the present embodiment, when each node 101, 111, 121 inserts a node existence packet, it detects the presence or absence of the node existence packet for all the slots and stores it as connection information. I do.
[0043]
In the master node 101, since only the node existence packet transmitted by the own node (unique node ID is "# 1") exists in all the slots 202, "100,000 ..." (1: node existence) is used as the connection information. With packet, 0: No node existence packet, # 1, # 2, # 3, ... slot order from the front) is stored. In the slave node 111, since the node existence packet transmitted by the master node 101 (unique node ID is “# 1”) and the local node (unique node ID is “# 4”) exists in all slots 202, the connection is established. "100100 ..." is stored as information. In the slave node 121, the master node 101 (unique node ID is “# 1”), the slave node 111 (unique node ID is “# 4”), and the local node (unique node ID is “# 2”) in all slots 202. Since there was a node existence packet transmitted by ")," 110100 ... "is stored as connection information.
[0044]
After completing the process of confirming the unique node ID, the master node 101 sends out the connection information collection packet 401, and continues to be one of the slots 402 assigned to each node (the unique node ID is "# 1"). Therefore, the held connection information "100,000 ..." is sent to the first slot) (FIG. 4 (a)). The slave node 111 transmits the held connection information “100100 ...” to the slot (fourth slot) assigned to the own node (FIG. 4B). Similarly, the slave node 121 sends the held connection information “110100 ...” to the slot (second slot) assigned to the own node (FIG. 4C).
0045
The master node 101 receives the connection information from all the nodes, and the number of "1" is determined by the number of "1" (the number of node existing packets detected by each node) and the position of the slot 402 included in the connection information 403 to 405. Sorting in ascending order, # 1 (the number of "1" s is 1), # 4 (the number of "1" s is 2), and # 2 (the number of "1" s is 3). This is the connection order of the nodes in the loop network.
[0046]
As described above, in the loop type network configuration management method according to the present embodiment, when each node inserts a node existence packet indicating the existence of the own node into the slot assigned to the own node, the nodes exist for all the slots. The presence or absence of a packet is stored as connection information, the master node issues a connection information collection packet for collecting the connection information of the node and sends it to the transmission path, and each node sends the connection information collection packet to its own node. Since the connection information is inserted into the assigned slot and the master node receives the connection information for all the nodes to detect the connection order of the above nodes on the network, the node connected to the network. However, it is equipped with a switch that disconnects / connects the transmission line, and receives the packet with the switch on the side that connects the input end from the transmission line and the output end to the transmission line, and the input end from the transmission line and the transmission line. Even when the output end to the node is separated and the packet transmission unit and the output end to the transmission path are connected to each other to send the packet, the connection order of the nodes in the loop type network can be detected. ..
[0047]
In the description of the above embodiment, the connection information output by each node indicates whether or not there is a node existence packet in the slot assigned to each unique node ID by a signal in which one bit is assigned to each slot. However, as the connection information output by each node, the number of node-existing packets (# 1 node is "1", # 4 node is "2", # 2 node is "3") is a numerical value. It may be the one shown as, and the same effect can be obtained.
Further, the connection information output by each node may include the unique node ID of that node.
0048
Further, the unique ID confirmation packet and the connection information collection packet are issued by a trigger supply from a network diagnostic device or the like externally connected to the master node 101, and the master node 101 is the same unique node as the collected unique node ID of each node. By outputting information indicating the existence of multiple nodes with IDs or information indicating the connection order of nodes to an externally connected network diagnostic device, etc., it is easier to diagnose the network when adding / deleting nodes. It can be a node.
[0049]
In addition, the unique ID confirmation packet and the connection information collection packet are issued periodically, and the master node 101 is information indicating the existence of a plurality of nodes having the same unique node ID as the unique node ID of each node, or the connection order of the nodes. The information indicating the above may be sequentially updated and output to an externally connected network diagnostic device or the like, and the same effect can be obtained.
0050
Further, in response to a trigger supply from an externally connected network diagnostic device or the like, the latest information held is output to the network diagnostic device or the like, or is transmitted by using it in combination with a disconnection detecting means. It is possible to easily identify the location of the disconnection when the road is disconnected.
0051
Here, the disconnection detecting means will be briefly described.
FIG. 9 is a network configuration diagram in the network disconnection detection method described in Japanese Patent Application No. 10-277194, in which 901 is a master node, 911 and 921 are slave nodes, and 902, 912 and 922 are transmission / reception control units, 905 and 915. 925 is a first switch for disconnecting / connecting a transmission line, 903, 913, and 923 are node control central control devices (hereinafter abbreviated as node control CPU), and 906, 916, and 926 are for normal transmission lines and for disconnection. The second switch for switching the transmission line, 907, 917, 927 is the third switch for switching between the normal transmission line and the transmission line for disconnection, 908, 918, 928 are electro-optical converters, and 909, 919, 929 are The opto-electric converters 904, 914, and 924 are signal monitoring units that monitor received signals, and the master node 901 and the slave nodes 911 and 921 are connected in a loop via transmission lines 930, 931, and 932.
[0052]
Normally, the second switches 906, 916, and 926 are connected to the E side, and the third switches 907, 917, and 927 are connected to the C side, and a loop-shaped network including the transmission lines 930, 931, and 932 is formed. It is configured and data communication is performed between each node 901, 911, 921.
[0053]
The master node 901 sends a certain kind of packet to the transmission line 930 at regular intervals, and it is also transmitted to the slave nodes 911 and 921, returned to the master node 901 again, and disappears. Here, the slave node It is assumed that the transmission line 931 between the 911 and the slave node 921 is disconnected.
0054
Packets sent by the master node 901 at regular time intervals are no longer received by the slave node 921 and the master node 901. The signal monitoring units 904 and 924 notify the node control CPUs 903 and 923 that no signal has been received. Each of the node control CPUs 903 and 923 determines that a disconnection has occurred in the transmission line, and connects the second switches 906 and 926 to the F side and the third switches 907 and 927 to the D side for use in the event of a disconnection. Switch to the transmission line. At the same time, since the master node 901 interrupts the transmission of packets, it is determined that the slave node 911 also has a disconnection, and the second switch 916 and the third switch 917 are switched to establish a transmission line for disconnection.
0055
After a certain period of time has elapsed, the node control CPUs 903, 913, and 923 of each node start outputting the disconnection location detection signal. For example, the disconnection location detection signal is a constant High level signal. At the same time, the signal monitoring units 904, 914, and 924 receive the disconnection location detection signal. Since the disconnection occurred in the transmission line 931, the disconnection location detection signal is not received only in the slave node 921. After a further lapse of time, the nodes 901, 911, and 921 stop sending the disconnection detection signal, and only the slave node 921 sends a signal indicating that the disconnection detection signal was not received. It is possible to transmit to the other nodes 901 and 911 that a disconnection has occurred in the transmission line 931 in front of the slave node 921.
0056
By using this disconnection detecting means together with the node connection order detection by the loop type network configuration management method described above, it is possible to easily identify the disconnection location when the disconnection occurs.
[0057]
Embodiment 2.
Next, the loop type network configuration management method according to the second embodiment of the present invention will be described.
FIG. 5 is a diagram showing a signal flow on the transmission path in the loop type network configuration management method according to the second embodiment of the present invention, and 501 is a unique ID confirmation packet or a connection information collection packet output by the master node. Reference numeral 502 denotes a slot assigned to each unique node ID, and each node outputs a node existence packet, a unique ID collision packet, and connection information in this slot. Reference numeral 503 is a slot identification signal indicating the beginning of each slot 502.
0058.
Following the unique ID confirmation packet or the connection information collection packet 501, the master node sequentially outputs the slot identification signal 503 indicating the head of the slot 502 assigned to each unique node ID. Each node recognizes the slot of its own node by detecting the slot identification signal 503, and inserts a node existence packet, a unique ID collision packet, and connection information into the slot. The master node also recognizes the node existence packet, the unique ID collision packet, and the connection information output from each node by detecting the received slot identification signal 503. Here, in the loop type network configuration management method according to the second embodiment, the master node outputs the slot identification signal, and each node detects the slot identification signal to recognize the slot of the own node. The operation is exactly the same as the operation in the loop type network configuration management method according to the first embodiment.
[0059]
As described above, in the loop type network configuration management method according to the present embodiment, the master node sequentially outputs the slot identification signal 503 indicating the head of the slot 502 assigned to each node after the unique ID confirmation packet or the connection information collection packet. Since the output is made, it is possible to easily detect the slot and the packet at each node.
[0060]
In the second embodiment, the master node outputs the slot identification signal and each node detects the slot identification signal. However, in the subsequent operation, each node assigns the slot identification signal to the own node. If the 503 is removed and the signal indicating the beginning of the packet and the packet are continuously output, the detection of the packet at the master node becomes easy.
Further, in the above description, the slot identification signal 503 indicates the head of the slot 502 assigned to each unique node ID, but the same effect can be obtained even if the slot 502 is delimited.
[0061]
【Effect of the invention】
As described above, according to the present invention, configuration management of a loop-shaped transmission line and a loop-type network having one master node and one or more slave nodes connected to the transmission line each having a unique node ID. In the method, the master node issues a unique ID confirmation packet for confirming the unique node ID of each node and sends the unique ID confirmation packet to the transmission path, and each node confirms the unique ID. The node existence packet insertion step of inserting the node existence packet indicating the existence of the own node into the slot assigned for each unique node ID of the transmission path with respect to the packet, and the master node having the node existence for all the nodes. Since the unique node ID detection step of detecting the unique node ID of the node existing on the network by receiving the packet is included, the node connected to the network disconnects / connects the transmission path. Equipped with a switch, the switch is set to the side that connects the input end from the transmission line and the output end to the transmission line to receive the packet, and the input end from the transmission line and the output end to the transmission line are separated to transmit the packet. Even when the packet is transmitted with the output end to the transmission path connected to the unit, there is an effect that the unique node ID of the node connected to the loop type network can be detected.
[0062]
Further, according to the present invention (claim 2), in the loop type network configuration management method according to claim 1, each of the above nodes monitors node-existing packets in the slot assigned to the own node of the transmission path. , If the node existence packet already exists when the node existence packet indicating the existence of the own node is inserted, a unique ID collision packet indicating that another node having the same unique node ID also exists is sent. , The node existence packet indicating the existence of the own node is inserted into the slot assigned to the own node, and the master node receives the node existence packet and the unique ID collision packet to be unique. Since the unique node IDs of multiple nodes on the network are detected, when multiple nodes on the network have the same unique node ID, they have the same unique node ID. It has the effect of being able to detect multiple nodes.
[0063]
Further, according to the present invention (claim 3), in the loop type network configuration management method according to claim 1 or 2, each of the above nodes is placed in a slot assigned to the own node of the transmission line. A connection information storage process that stores the presence or absence of the node existence packets for all the slots as connection information when inserting a node existence packet indicating the existence, and a connection for the master node to collect the connection information of the node. The connection information collection packet transmission process that issues an information collection packet and sends it to the transmission line, and each node inserts the connection information into the slot assigned to the own node of the transmission line for the connection information collection packet. This is because the connection information insertion step and the node connection order detection step of detecting the connection order of the nodes on the network by receiving the connection information for all the nodes by the master node are included. , The node connected to the network is equipped with a switch for disconnecting / connecting the transmission line, and the switch is set to the side connecting the input end from the transmission line and the output end to the transmission line to receive the packet and receive the transmission line. Connection of nodes in a loop type network even when the input end from and the output end to the transmission line are separated and the packet transmission unit and the output end to the transmission line are connected to each other to send a packet. The order can be detected, and the effect of facilitating the diagnosis of the network when adding / deleting nodes and the identification of the disconnection point at the time of disconnection of the transmission line by using it in combination with the disconnection detection means has the effect. is there.
[Simple explanation of drawings]
FIG. 1
It is a figure which shows the structure of the loop type network system which used the loop type network structure management method by Embodiment 1 of this invention.
FIG. 2
It is a figure which shows an example of the signal flow on the transmission path when a master node outputs a unique ID confirmation packet in the loop type network configuration management method by Embodiment 1. FIG.
FIG. 3
It is a figure which shows another example of the signal flow on the transmission path when a master node outputs a unique ID confirmation packet in the loop type network configuration management method by Embodiment 1. FIG.
FIG. 4
It is a figure which shows the flow of the signal on the transmission path when the master node outputs the connection information collection packet in the loop type network configuration management method by Embodiment 1. FIG.
FIG. 5
It is a figure which shows the flow of the signal on the transmission line in the loop type network configuration management method by Embodiment 2 of this invention.
FIG. 6
It is a figure which shows the outline of the conventional loop type network configuration management method.
FIG. 7
It is a figure which shows an example of the node in the conventional loop type network.
FIG. 8
It is a figure which shows another example of a node in a conventional loop type network.
FIG. 9
It is a figure for demonstrating an example of a network disconnection detection method.
[Explanation of symbols]
100 transmission line
101 master node
111, 121 slave nodes
102, 112, 122 Control unit
103, 113, 123 Packet receiver
104, 114, 124 Packet transmitter
201 Unique ID confirmation packet
202 Slots for node-existing packets assigned to each unique node ID
203-205 node existence packet
301 Unique ID confirmation packet
302 Slot for node-existing packets assigned to each unique node ID
303, 304 node existence packet
305 Unique ID collision packet
401 Connection information collection packet
402 Slot for connection information assigned to each unique node ID
403-405 Connection information
501 Unique ID confirmation packet or connection information collection packet
502 Slots assigned to each unique node ID
503 slot identification signal

JP35331798A 1998-12-11 1998-12-11 Loop network configuration management method and loop network system Expired - Fee Related JP4100528B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35331798A JP4100528B2 (en) 1998-12-11 1998-12-11 Loop network configuration management method and loop network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35331798A JP4100528B2 (en) 1998-12-11 1998-12-11 Loop network configuration management method and loop network system

Publications (3)

Publication Number Publication Date
JP2000183929A JP2000183929A (en) 2000-06-30
JP2000183929A5 true JP2000183929A5 (en) 2006-03-23
JP4100528B2 JP4100528B2 (en) 2008-06-11

Family

ID=18430035

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35331798A Expired - Fee Related JP4100528B2 (en) 1998-12-11 1998-12-11 Loop network configuration management method and loop network system

Country Status (1)

Country Link
JP (1) JP4100528B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4543966B2 (en) * 2005-03-02 2010-09-15 富士電機システムズ株式会社 Information transmission equipment
US20090038701A1 (en) 2006-01-17 2009-02-12 Baxter International Inc. Device, system and method for mixing
JP6903972B2 (en) * 2017-03-21 2021-07-14 株式会社明電舎 Communication method of optical double loop transmission system and optical double loop transmission system
JP6964823B2 (en) * 2019-05-31 2021-11-10 株式会社 エニイワイヤ Short circuit position detection system
CN111224885B (en) * 2020-01-07 2023-05-26 联合汽车电子有限公司 Node order marking method, node order marking system and vehicle-mounted keyless system

Similar Documents

Publication Publication Date Title
EP1202492B1 (en) Network device and method for detecting a link failure in a network
JP4100528B2 (en) Loop network configuration management method and loop network system
JP2000183929A5 (en)
KR20170122483A (en) System for detecting communication network
JP4287734B2 (en) Network equipment
CN105357040A (en) Method and system for detecting disconnection in ring vehicle-mounted MOST network
US7802150B2 (en) Ensuring maximum reaction times in complex or distributed safe and/or nonsafe systems
JP4064032B2 (en) Communications system
CN101741675B (en) Communication node and ring forming method and ring establishing method for communication system
JP2687883B2 (en) Protection information management system in ring transmission line
JP4073595B2 (en) Network failure detection system and detection method
JP3610922B2 (en) Alarm transfer method and apparatus
JP3910903B2 (en) Control packet receiving method and receiving apparatus
JPS609246A (en) Monitor system for data circuit network
JPH03158040A (en) Data transformer
JP3745827B2 (en) Communication device
JP3082425B2 (en) Transmission line control method for data communication system
JP2655506B2 (en) Transmission line switching system
JP3471719B2 (en) Relay device and LAN device using the same
KR100229434B1 (en) Dual apparatus for controlling data communication
JPH03179826A (en) Alarm restoration monitoring system
JPH0879192A (en) Monitor operation system for communication network equipment
JP2539298B2 (en) Monitoring information collection control method
JPH0213151A (en) Local area network system
JPS62225048A (en) Data collection system