JP2017225016A - Plug-and-play transmission device - Google Patents

Plug-and-play transmission device Download PDF

Info

Publication number
JP2017225016A
JP2017225016A JP2016119518A JP2016119518A JP2017225016A JP 2017225016 A JP2017225016 A JP 2017225016A JP 2016119518 A JP2016119518 A JP 2016119518A JP 2016119518 A JP2016119518 A JP 2016119518A JP 2017225016 A JP2017225016 A JP 2017225016A
Authority
JP
Japan
Prior art keywords
node
plug
notification
play
transmission device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2016119518A
Other languages
Japanese (ja)
Other versions
JP6675938B2 (en
Inventor
徳彦 落合
Norihiko Ochiai
徳彦 落合
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2016119518A priority Critical patent/JP6675938B2/en
Publication of JP2017225016A publication Critical patent/JP2017225016A/en
Application granted granted Critical
Publication of JP6675938B2 publication Critical patent/JP6675938B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To detect overlapped node IDs in a transmission device.SOLUTION: A plug-and-play transmission device includes: a device power supply which supplies power; a node ID set unit which sets a node ID; a port connected to a network; a plug-and-play function unit which executes plug-and-play operation; and a node ID overlap detection unit which detects whether or not node IDs overlap. The node ID overlap detection unit acquires a node ID when the device power is switched on, to determine whether or not the self-device is a new node. On determination that the self-device is a new node, node ID notification transmission processing is performed. As a result of determination whether a node ID overlap notification is received within a certain time from the node ID notification transmission processing, if the reception of the node ID overlap notification within the certain time is not determined, the plug-and-play transmission device instructs the plug-and-play function unit to start plug-and-play operation.SELECTED DRAWING: Figure 4

Description

この発明は、プラグアンドプレイ伝送装置に関し、特に、ノードID重複検出機能を備えたプラグアンドプレイ伝送装置に関するものである。   The present invention relates to a plug and play transmission device, and more particularly to a plug and play transmission device having a node ID duplication detection function.

ローカルエリアネットワークなどのネットワークシステムを構成するのに、伝送装置が用いられている(例えば、特許文献1〜5を参照)。伝送装置には、ネットワークシステムにおける伝送制御のために必要な情報があらかじめ設定されている。このようなネットワークシステムでは、伝送制御を行う伝送装置が故障した場合に、交換した新しい伝送装置に対して、再度、伝送制御のために必要な情報を設定する必要がある。この設定を伝送装置において自動的に実施する技術としてプラグアンドプレイ(PnP)方式が提案されている(例えば、特許文献6を参照)。   A transmission apparatus is used to configure a network system such as a local area network (see, for example, Patent Documents 1 to 5). Information necessary for transmission control in the network system is preset in the transmission apparatus. In such a network system, when a transmission apparatus that performs transmission control fails, it is necessary to set information necessary for transmission control again for the replaced new transmission apparatus. A plug and play (PnP) method has been proposed as a technique for automatically performing this setting in a transmission apparatus (see, for example, Patent Document 6).

プラグアンドプレイ方式によれば、それぞれのプラグアンドプレイ伝送装置は、ノードID(Identifier)と呼ぶ識別子を持っている。それぞれのプラグアンドプレイ伝送装置の設定情報を保持している伝送装置は、バックアップノードと呼ばれている。これに対し、新規に設置するノード(伝送装置)は、新規ノードと呼ばれている。バックアップノードは、ノードIDを識別子として、それぞれのプラグアンドプレイ伝送装置の設定情報を管理している。プラグアンドプレイ伝送装置を交換するときには、新規ノードに、交換前のプラグアンドプレイ伝送装置と同じノードIDを設定することで、交換前のプラグアンドプレイ伝送装置と同じ設定を、新規ノードに再現することができる。   According to the plug-and-play method, each plug-and-play transmission apparatus has an identifier called a node ID (Identifier). A transmission device that holds setting information of each plug-and-play transmission device is called a backup node. On the other hand, a newly installed node (transmission device) is called a new node. The backup node manages the setting information of each plug and play transmission device using the node ID as an identifier. When replacing a plug and play transmission device, the same node ID as that of the plug and play transmission device before replacement is set in the new node, so that the same setting as that of the plug and play transmission device before replacement is reproduced in the new node. be able to.

ノードIDは、ディップスイッチなどを使って、ユーザ操作で決定される。そのため、ユーザが操作を誤り、ノードIDが意図しない値に設定される可能性がある。もしも、新規ノードが誤って、他のプラグアンドプレイ伝送装置と同じノードIDに設定されると、プラグアンドプレイ方式で取得した設定情報が、他のプラグアンドプレイ伝送装置の設定情報と同じものになる。その結果、例えば、プラグアンドプレイ伝送装置間でIPアドレスが重複するなどの、通信上の障害が生じる。現状のプラグアンドプレイ方式には、ノードIDが重複していることを検出する仕組みがないため、このような誤動作が発生する。   The node ID is determined by a user operation using a dip switch or the like. Therefore, there is a possibility that the user makes an operation error and the node ID is set to an unintended value. If a new node is mistakenly set to the same node ID as another plug and play transmission device, the setting information acquired by the plug and play method is the same as the setting information of the other plug and play transmission device. Become. As a result, for example, a communication failure such as an overlapping IP address between plug and play transmission devices occurs. Since the current plug-and-play method does not have a mechanism for detecting that node IDs are duplicated, such a malfunction occurs.

ノードIDの重複を検出する方法としては、新規ノードが自身に設定されたノードIDを他のプラグアンドプレイ伝送装置に広告(ブロードキャスト)する方法が考えられる。それを受けた他のプラグアンドプレイ伝送装置は、広告中のノードIDと、自身に設定されているノードIDを比較し、重複していないかどうか確認する。しかしながら、新規ノードは、工場出荷時の設定で動作しているため、他のプラグアンドプレイ伝送装置と通信するためのVLAN(Virtual Local Area Network)設定が行われていない。新規ノードが送信したノードIDの広告は、他のプラグアンドプレイ伝送装置で受信されない可能性がある。   As a method for detecting duplication of node IDs, a method in which a new node advertises (broadcasts) a node ID set to itself to another plug-and-play transmission device is conceivable. The other plug-and-play transmission device receiving it compares the node ID being advertised with the node ID set in itself, and checks whether there is any duplication. However, since the new node operates with settings at the time of factory shipment, VLAN (Virtual Local Area Network) settings for communication with other plug-and-play transmission apparatuses are not performed. The advertisement of the node ID transmitted by the new node may not be received by other plug and play transmission devices.

VLAN(Virtual Local Area Network)とは、ある1つのLANネットワークシステムの物理的な接続を、仮想的に分割することで、LANネットワークシステムを複数のLANネットワークシステムに分割するための技術である。例えば、3つの端末A、B、Cが互いに通信可能な1つのLANネットワークシステムが構築されているとする。単純な構成として、1つの伝送装置に端末A、端末B、端末Cが接続されているものとする。この構成にて、端末Cが残りの端末A、Bと通信が出来ないように、LANネットワークシステムを分割する場合には、伝送装置で端末Aと端末Bの接続されているポートと端末Cの接続されているポートをVLAN設定にて分割することで可能となる。   VLAN (Virtual Local Area Network) is a technique for dividing a LAN network system into a plurality of LAN network systems by virtually dividing a physical connection of a certain LAN network system. For example, it is assumed that one LAN network system in which three terminals A, B, and C can communicate with each other is constructed. As a simple configuration, it is assumed that terminal A, terminal B, and terminal C are connected to one transmission apparatus. In this configuration, when the LAN network system is divided so that the terminal C cannot communicate with the remaining terminals A and B, the port connected to the terminal A and the terminal B in the transmission apparatus and the terminal C This is possible by dividing the connected port by VLAN settings.

また、同じポートに複数のVLANが設定されている場合は、どのVLANに参加するかを識別するための、VLANIDが必要となる。例えば、上記構成にて、端末Aが端末B、端末Cと通信が可能で、かつ端末Bと端末Cの通信が不可能となるLANネットワークシステムを構成するためには、端末Aと端末Bで同じVLAN設定、端末Aと端末Cで同じVLAN設定が必要となる。この場合、伝送装置の端末Aの接続されているポートには2つのVLANが設定されることになる。端末Aから通信を行う場合に、どちらのVLANに参加するかは、VLANIDを用いて決めることになる。   In addition, when a plurality of VLANs are set for the same port, a VLAN ID for identifying which VLAN to participate in is required. For example, in the above configuration, in order to configure a LAN network system in which terminal A can communicate with terminal B and terminal C and communication between terminal B and terminal C is impossible, terminal A and terminal B The same VLAN setting is required for terminal A and terminal C. In this case, two VLANs are set in the port to which the terminal A of the transmission apparatus is connected. When communicating from terminal A, which VLAN to participate in is determined using VLANID.

特開平5−324365号公報JP-A-5-324365 特開2003−8585号公報JP 2003-8585 A 特開2003−209551号公報JP 2003-209551 A 特開2006−25341号公報JP 2006-25341 A 特開2009−296079号公報JP 2009-296079 A 特開2008−141468号公報JP 2008-141468 A

本発明は、上記のようなプラグアンドプレイ伝送装置における課題を解決するために考案されたものである。新規ノードのVLAN設定が工場出荷時設定であっても、ノードIDの重複を検出可能にし、重複している場合にはプラグアンドプレイ方式が誤動作して通信異常が発生することを防ぐ方式を備えたプラグアンドプレイ伝送装置を提供することを目的にしている。   The present invention has been devised to solve the problems in the plug and play transmission apparatus as described above. Even if the VLAN setting of the new node is the factory default setting, it is possible to detect node ID duplication, and in the case of duplication, there is a method to prevent the plug and play method from malfunctioning and causing communication abnormality An object of the present invention is to provide a plug and play transmission device.

本発明に係わるプラグアンドプレイ伝送装置は、電力を供給する装置電源と、ノードIDを設定するノードID設定部と、ネットワークに接続されるポートと、プラグアンドプレイ動作を実施するプラグアンドプレイ機能部と、ノードIDが重複しているかどうかを検出するノードID重複検出部と、を備え、ノードID重複検出部は、装置電源がONに入るとノードIDを取得し、自身が新規ノードであるかどうかを判断し、自身が新規ノードであると判断した場合は、ノードID通知送信処理を行い、ノードID通知送信処理から一定時間以内にノードID重複通知を受信したかどうかを判断し、一定時間以内にノードID重複通知を受信していないと判断した場合は、プラグアンドプレイ動作の開始をプラグアンドプレイ機能部に指示することを特徴とする。   A plug and play transmission apparatus according to the present invention includes a device power supply for supplying power, a node ID setting unit for setting a node ID, a port connected to a network, and a plug and play function unit for performing a plug and play operation. And a node ID duplication detection unit that detects whether or not the node IDs are duplicated. The node ID duplication detection unit acquires the node ID when the apparatus power is turned on, and is the node ID itself a new node? If it is determined that the node itself is a new node, a node ID notification transmission process is performed to determine whether or not a node ID duplication notification is received within a predetermined time from the node ID notification transmission process. If it is determined that the node ID duplicate notification has not been received within, the plug and play function unit is instructed to start the plug and play operation. And wherein the Rukoto.

本発明に係わるプラグアンドプレイ伝送装置は、電力を供給する装置電源と、ノードIDを設定するノードID設定部と、ネットワークに接続されるポートと、プラグアンドプレイ動作を実施するプラグアンドプレイ機能部と、ノードIDが重複しているかどうかを検出するノードID重複検出部と、を備え、ノードID重複検出部は、装置電源がONに入るとノードIDを取得し、自身が新規ノードであるかどうかを判断し、自身が新規ノードであると判断した場合は、ノードID通知送信処理を行い、ノードID通知送信処理から一定時間以内にノードID重複通知を受信したかどうかを判断し、一定時間以内にノードID重複通知を受信していないと判断した場合は、プラグアンドプレイ動作の開始をプラグアンドプレイ機能部に指示することを特徴とすることにより、新規ノードのVLAN設定が工場出荷時設定であっても、ノードIDの重複が検出可能である。また、ノードIDが重複している場合には、プラグアンドプレイ方式が誤動作して通信異常が発生することを防ぐことが可能である。   A plug and play transmission apparatus according to the present invention includes a device power supply for supplying power, a node ID setting unit for setting a node ID, a port connected to a network, and a plug and play function unit for performing a plug and play operation. And a node ID duplication detection unit that detects whether or not the node IDs are duplicated. The node ID duplication detection unit acquires the node ID when the apparatus power is turned on, and is the node ID itself a new node? If it is determined that the node itself is a new node, a node ID notification transmission process is performed to determine whether or not a node ID duplication notification is received within a predetermined time from the node ID notification transmission process. If it is determined that the node ID duplicate notification has not been received within, the plug and play function unit is instructed to start the plug and play operation. By wherein Rukoto, VLAN settings for the new node be factory settings, duplicate node ID can be detected. In addition, when node IDs are duplicated, it is possible to prevent the plug-and-play method from malfunctioning and causing a communication error.

本発明に係わるプラグアンドプレイ伝送装置を用いて構成した第1のリングネットワークを示す図である。It is a figure which shows the 1st ring network comprised using the plug and play transmission apparatus concerning this invention. 実施の形態に係わるプラグアンドプレイ伝送装置の機能を示すブロック図である。It is a block diagram which shows the function of the plug and play transmission apparatus concerning embodiment. 実施の形態に係わるプラグアンドプレイ伝送装置のハードウエアを示す構成図である。It is a block diagram which shows the hardware of the plug and play transmission apparatus concerning embodiment. 実施の形態1に係わるフローチャートであり、ノードID重複検出部C103の処理手順を示す図である。FIG. 10 is a flowchart according to the first embodiment and shows a processing procedure of a node ID duplication detection unit C103. 実施の形態1に係わるフローチャートであり、ノードID通知送信処理の手順を示している図である。FIG. 10 is a flowchart according to the first embodiment and shows a procedure of node ID notification transmission processing. 実施の形態1に係わるフローチャートであり、ノードID重複通知送信処理の手順を示している図である。FIG. 10 is a flowchart according to the first embodiment and shows a procedure of node ID duplication notification transmission processing; 実施の形態1に係わるプラグアンドプレイ伝送装置を示すシーケンス図である。FIG. 3 is a sequence diagram illustrating the plug-and-play transmission apparatus according to the first embodiment. 実施の形態2に係わるフローチャートであり、ノードID重複検出部C103の処理手順を示す図である。FIG. 10 is a flowchart according to the second embodiment and shows a processing procedure of the node ID duplication detection unit C103. 実施の形態2に係わるフローチャートであり、ノードID通知送信処理の手順を示している図である。FIG. 10 is a flowchart according to the second embodiment and shows a procedure of node ID notification transmission processing. 実施の形態2に係わるフローチャートであり、ノードID重複通知送信処理の手順を示している図である。FIG. 10 is a flowchart according to the second embodiment and shows a procedure of node ID duplication notification transmission processing; 実施の形態2に係わるプラグアンドプレイ伝送装置を示すシーケンス図である。6 is a sequence diagram illustrating a plug-and-play transmission apparatus according to Embodiment 2. FIG. 実施の形態3に係わるフローチャートであり、ノードID重複検出部C103の処理手順を示す図である。FIG. 10 is a flowchart according to the third embodiment and shows a processing procedure of the node ID duplication detection unit C103. 実施の形態3に係わるフローチャートであり、ノードID通知送信処理の手順を示している図である。FIG. 10 is a flowchart according to the third embodiment and shows a procedure of node ID notification transmission processing. 実施の形態3に係わるフローチャートであり、ノードID重複通知送信処理の手順を示している図である。FIG. 10 is a flowchart according to the third embodiment and shows a procedure of node ID duplication notification transmission processing; 実施の形態3に係わるプラグアンドプレイ伝送装置を示すシーケンス図である。10 is a sequence diagram illustrating a plug-and-play transmission apparatus according to Embodiment 3. FIG. 実施の形態4に係わるフローチャートであり、ノードID重複検出部C103の処理手順を示す図である。It is a flowchart concerning Embodiment 4, and is a figure which shows the process sequence of node ID duplication detection part C103. 実施の形態4に係わるフローチャートであり、ノードID通知送信処理の手順を示している図である。It is a flowchart concerning Embodiment 4, and is a figure which shows the procedure of a node ID notification transmission process. 実施の形態4に係わるフローチャートであり、ノードID重複通知送信処理の手順を示している図である。It is a flowchart concerning Embodiment 4, and is a figure which shows the procedure of a node ID duplication notification transmission process. 実施の形態4に係わるプラグアンドプレイ伝送装置を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating a plug and play transmission apparatus according to a fourth embodiment. 本発明に係わるプラグアンドプレイ伝送装置を用いて構成した第2のリングネットワークを示す図である。It is a figure which shows the 2nd ring network comprised using the plug and play transmission apparatus concerning this invention. 実施の形態5に係わるプラグアンドプレイ伝送装置を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating a plug-and-play transmission apparatus according to a fifth embodiment.

本発明の実施の形態に係る、プラグアンドプレイ伝送装置について、図を参照しながら以下に説明する。なお、各図において、同一または同様の構成部分については同じ符号を付しており、対応する各構成部のサイズや縮尺はそれぞれ独立している。例えば構成の一部を変更した断面図の間で、変更されていない同一構成部分を図示する際に、同一構成部分のサイズや縮尺が異なっている場合もある。また、プラグアンドプレイ伝送装置は、実際にはさらに複数の部材を備えているが、説明を簡単にするため、説明に必要な部分のみを記載し、他の部分については省略している。   A plug and play transmission apparatus according to an embodiment of the present invention will be described below with reference to the drawings. In each figure, the same or similar components are denoted by the same reference numerals, and the sizes and scales of the corresponding components are independent. For example, when the same components that are not changed are illustrated in cross-sectional views in which a part of the configuration is changed, the sizes and scales of the same components may be different. The plug-and-play transmission apparatus actually includes a plurality of members. However, for the sake of simplicity, only the portions necessary for the description are shown, and the other portions are omitted.

実施の形態1.
以下、この発明の実施の形態1に係わるプラグアンドプレイ伝送装置(PnP伝送装置)を、図を参照して説明する。図1は、本発明に係わるプラグアンドプレイ伝送装置を用いて構成したリングネットワークを示している。同図において、プラグアンドプレイ伝送装置1(C11)、プラグアンドプレイ伝送装置2(C12)、プラグアンドプレイ伝送装置3(C13)およびプラグアンドプレイ伝送装置4(C14)は、PnP(プラグアンドプレイ)機能に加えて、本発明を実現するためのノードID重複検出機能を有している。プラグアンドプレイ伝送装置1は、プラグアンドプレイ伝送装置を交換するために新たに設置された新規ノードである。
Embodiment 1 FIG.
Hereinafter, a plug-and-play transmission apparatus (PnP transmission apparatus) according to Embodiment 1 of the present invention will be described with reference to the drawings. FIG. 1 shows a ring network configured using a plug and play transmission apparatus according to the present invention. In the figure, plug and play transmission apparatus 1 (C11), plug and play transmission apparatus 2 (C12), plug and play transmission apparatus 3 (C13) and plug and play transmission apparatus 4 (C14) are represented by PnP (plug and play). ) In addition to the function, it has a node ID duplication detection function for realizing the present invention. The plug and play transmission device 1 is a new node newly installed to replace the plug and play transmission device.

プラグアンドプレイ伝送装置2、プラグアンドプレイ伝送装置3およびプラグアンドプレイ伝送装置4は、いずれもバックアップノード(BUノード)である。バックアップノードは、ノードIDを識別子として、各プラグアンドプレイ伝送装置の設定情報を管理している。プラグアンドプレイ伝送装置1〜4は、それぞれが、Eポート(EASTポート)とWポート(WESTポート)を備えている。これらのEポートとWポートを用いて、プラグアンドプレイ伝送装置1からプラグアンドプレイ伝送装置4は、リング状に接続されている。   The plug and play transmission device 2, the plug and play transmission device 3, and the plug and play transmission device 4 are all backup nodes (BU nodes). The backup node manages the setting information of each plug and play transmission device using the node ID as an identifier. Each of the plug-and-play transmission apparatuses 1 to 4 includes an E port (EAST port) and a W port (WEST port). Using these E port and W port, the plug and play transmission device 1 to the plug and play transmission device 4 are connected in a ring shape.

図2は、プラグアンドプレイ伝送装置1〜4に共通する、プラグアンドプレイ伝送装置の機能ブロック図を示している。プラグアンドプレイ伝送装置1〜4は、ノードID設定部(C102)、ノードID重複検出部(C103)、プラグアンドプレイ機能部(C104)、WESTポート(C105)、EASTポート(C106)、伝送機能部(C107)、端末接続ポート(C108)などを備えている。端末接続ポート(C108)は、1つ以上設けられており、中継装置(通信端末、レイヤスイッチ等)と接続する。   FIG. 2 shows a functional block diagram of the plug and play transmission apparatus common to the plug and play transmission apparatuses 1 to 4. The plug and play transmission devices 1 to 4 include a node ID setting unit (C102), a node ID duplication detection unit (C103), a plug and play function unit (C104), a WEST port (C105), an EAST port (C106), and a transmission function. Part (C107), a terminal connection port (C108), and the like. One or more terminal connection ports (C108) are provided and are connected to a relay device (communication terminal, layer switch, etc.).

次に、機能部それぞれについて役割を説明する。ノードID設定部(C102)は、ディップスイッチ(図3を参照)からの入力を受けて、プラグアンドプレイ伝送装置にノードIDを設定する。ノードID重複検出部(C103)は、ノードIDの重複を検出するためのパケットを他プラグアンドプレイ伝送装置と送受信する。こうすることで、自身に設定されたノードIDと、他プラグアンドプレイ伝送装置のノードIDを比較して、ノードIDが重複していることを検出する。プラグアンドプレイ機能部(C104)は、プラグアンドプレイ機能を提供する(特許文献6を参照)。伝送機能部(C107)は、それぞれのポート(WESTポート、EASTポートおよび端末接続ポート)間で通信データを伝送する機能を提供する。   Next, the role of each functional unit will be described. The node ID setting unit (C102) receives the input from the dip switch (see FIG. 3) and sets the node ID in the plug and play transmission device. The node ID duplication detection unit (C103) transmits / receives a packet for detecting duplication of the node ID to / from another plug and play transmission apparatus. By doing so, the node ID set for itself is compared with the node ID of the other plug-and-play transmission device to detect that the node ID is duplicated. The plug and play function unit (C104) provides a plug and play function (see Patent Document 6). The transmission function unit (C107) provides a function of transmitting communication data between the respective ports (WEST port, EAST port, and terminal connection port).

図3は、プラグアンドプレイ伝送装置1、2、3、4のハードウエア構成を示している。プラグアンドプレイ伝送装置1〜4は、装置電源(C101)、プロセッサ(C109)、メモリ(C110)、ディップスイッチ(C111)などから構成されている。装置電源(C101)は、装置の各部に電力を供給する。ユーザは、ディップスイッチ(C111)を使って、ノードIDを決定する。メモリ(C110)は、例えば、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリー、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically Erasable Programmable Read-Only Memory)等の、不揮発性または揮発性の半導体メモリ等が該当する。   FIG. 3 shows the hardware configuration of the plug-and-play transmission apparatuses 1, 2, 3, and 4. The plug-and-play transmission devices 1 to 4 include a device power supply (C101), a processor (C109), a memory (C110), a dip switch (C111), and the like. The device power supply (C101) supplies power to each unit of the device. The user determines the node ID using the DIP switch (C111). The memory (C110) is, for example, non-volatile or RAM (Random Access Memory), ROM (Read Only Memory), flash memory, EPROM (Erasable Programmable Read Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), etc. A volatile semiconductor memory or the like is applicable.

プラグアンドプレイ伝送装置1〜4におけるノードID設定部(C102)、ノードID重複検出部(C103)、プラグアンドプレイ機能部(C104)、伝送機能部(C107)、などの各機能は、プロセッサ(C109)およびメモリ(C110)により実現される。ノードID設定部(C102)、ノードID重複検出部(C103)、プラグアンドプレイ機能部(C104)、伝送機能部(C107)などは、専用のハードウエアであっても、メモリ(C110)に格納されるプログラムを実行するCPU(Central Processing Unit:中央処理装置)であってもよい。CPUは、処理装置、演算装置、マイクロプロセッサ、マイクロコンピュータ、プロセッサ、DSP(Digital Signal Processor)ともいう。   Each function of the node ID setting unit (C102), the node ID duplication detection unit (C103), the plug and play function unit (C104), the transmission function unit (C107), etc. in the plug and play transmission apparatuses 1 to 4 is a processor ( C109) and a memory (C110). The node ID setting unit (C102), node ID duplication detection unit (C103), plug and play function unit (C104), transmission function unit (C107), etc. are stored in the memory (C110) even if they are dedicated hardware. It may be a CPU (Central Processing Unit) that executes the program to be executed. The CPU is also called a processing device, an arithmetic device, a microprocessor, a microcomputer, a processor, or a DSP (Digital Signal Processor).

ノードID重複検出部(C103)、ノードID設定部(C102)、プラグアンドプレイ機能部(C104)、伝送機能部(C107)などがCPUの場合、プラグアンドプレイ伝送装置1〜4の機能は、ソフトウエア、ファームウェア、またはソフトウエアとファームウェアとの組み合わせにより実現される。ソフトウエアやファームウェアはプログラムとして記述され、メモリ(C110)に格納される。ノードID設定部(C102)、ノードID重複検出部(C103)、プラグアンドプレイ機能部(C104)、伝送機能部(C107)などは、メモリ(C110)に記憶されたプログラムをプロセッサが読み出して実行することにより、各部の機能を実現する。   When the node ID duplication detection unit (C103), node ID setting unit (C102), plug and play function unit (C104), transmission function unit (C107), etc. are CPUs, the functions of the plug and play transmission devices 1 to 4 are as follows: It is realized by software, firmware, or a combination of software and firmware. Software and firmware are described as programs and stored in the memory (C110). In the node ID setting unit (C102), node ID duplication detection unit (C103), plug and play function unit (C104), transmission function unit (C107), etc., the processor reads and executes the program stored in the memory (C110). By doing so, the function of each part is realized.

次に、ノードID重複検出部(C103)の動作を、図4に示すフローチャートを参照して説明する。ノードID重複検出部(C103)は、プラグアンドプレイ伝送装置の装置電源(C101)がONされると動作を開始する(F100)。まず、プラグアンドプレイ伝送装置自身のノードIDを取得する(F101)。その後、ノードID重複検出部(C103)は、自身が新規ノードであるか、否かを判断する(F102)。新規ノードであるかどうかの判断は、VLAN(Virtual Local Area Network)が設定されているかどうかで判断する。   Next, the operation of the node ID duplication detection unit (C103) will be described with reference to the flowchart shown in FIG. The node ID duplication detection unit (C103) starts operating when the device power supply (C101) of the plug-and-play transmission device is turned on (F100). First, the node ID of the plug and play transmission device itself is acquired (F101). Thereafter, the node ID duplication detection unit (C103) determines whether or not it is a new node (F102). Whether the node is a new node is determined based on whether a VLAN (Virtual Local Area Network) is set.

ノードID重複検出部(C103)は、自身が新規ノードであると判断した場合、自ノードIDを、ノードID通知と呼ぶパケットでバックアップノードへ通知する。ノードID通知は、IPアドレスが設定されていない状態で送信するため、イーサネット(登録商標)など、レイヤ2のフレームとして送信する。ノードID通知の送信は、Wポート(C105)とEポート(C106)から行う。ノードID通知の送信処理を、ノードID通知送信処理(F103)と呼ぶ。   When the node ID duplication detection unit (C103) determines that it is a new node, it notifies the backup node of its own node ID in a packet called node ID notification. The node ID notification is transmitted as a layer 2 frame such as Ethernet (registered trademark) because it is transmitted in a state where no IP address is set. The node ID notification is transmitted from the W port (C105) and the E port (C106). The node ID notification transmission process is referred to as a node ID notification transmission process (F103).

新規ノードは、工場出荷時の設定であるため、バックアップノードと通信するために必要なVLAN(Virtual Local Area Network)の設定が入っていない。そのため、ノードID通知をバックアップノードへ通知するにあたって、VLANタグを付けて送信するべきなのか、VLANタグのVID(VLAN Identifier)をいくつに設定するべきかを決定することができない。VIDは、VLANを識別するための番号を格納している。なお、VLANタグは、IEEE802.1Qで規定されたものとする。   Since the new node has a factory default setting, it does not include a VLAN (Virtual Local Area Network) setting necessary for communicating with the backup node. For this reason, when notifying the backup node of the node ID notification, it is impossible to determine whether the VLAN tag should be transmitted and how many VIDs (VLAN Identifiers) of the VLAN tags should be set. The VID stores a number for identifying the VLAN. Note that the VLAN tag is defined by IEEE 802.1Q.

この対応策として、本願に係わる新規ノードは、VLANタグの有無とVIDを、考えられる数パターンで送信する。すなわち、パケットを数パターン送信することで、いずれかのパケットがバックアップノードへ到達するであろうという考えに基づいている。パケットを数パターンに絞り込めない場合は、規格上取り得るすべてのVIDで送信してもよい。以下では、[VLANタグなし]、[VID3841タグ付き]、[VID3842タグ付き]の3パターンで送信する場合を説明する。ここで、[VID3841タグ付き]は、[VID=3841;VLANタグ付き]を表している。同様に、[VID3842タグ付き]は、[VID=3842;VLANタグ付き]を表している。   As a countermeasure, the new node according to the present application transmits the presence / absence of the VLAN tag and the VID in several possible patterns. That is, it is based on the idea that any packet will reach the backup node by transmitting several patterns of packets. When packets cannot be narrowed down to several patterns, transmission may be performed using all VIDs that can be taken in accordance with the standard. In the following, a case will be described where transmission is performed in three patterns: [no VLAN tag], [with VID3841 tag], and [with VID3842 tag]. Here, “with VID3841 tag” represents [VID = 3841; with VLAN tag]. Similarly, [with VID3842 tag] represents [VID = 3842; with VLAN tag].

ノードID通知送信処理(F103)のフローは、図5に示されている。ノードID通知送信処理が開始すると(F201)、まずVLANタグなしのノードID通知を送信する(F202)。次に、VID3841タグ付きのノードID通知を送信する(F203)。さらに、VID3842タグ付きのノードID通知を送信する(F204)。その後、一定時間内にノードID重複通知と呼ぶパケットを受信しなかった場合(F104)は、ノードIDが重複するプラグアンドプレイ伝送装置が他に存在しないと判断して、ノードID重複検出部(C103)は、PnP動作の開始をプラグアンドプレイ機能部(C104)に指示する(F105)。一定時間内にノードID重複通知を受信した場合は、ノードIDが重複するプラグアンドプレイ伝送装置が他に存在すると判断して、PnP動作を開始しない(F110)。   The flow of the node ID notification transmission process (F103) is shown in FIG. When the node ID notification transmission process starts (F201), first, a node ID notification without a VLAN tag is transmitted (F202). Next, a node ID notification with a VID3841 tag is transmitted (F203). Further, a node ID notification with a VID3842 tag is transmitted (F204). After that, when a packet called node ID duplication notification is not received within a certain time (F104), it is determined that there is no other plug-and-play transmission device with a duplicate node ID, and a node ID duplication detection unit ( C103) instructs the plug and play function unit (C104) to start the PnP operation (F105). If a node ID duplication notification is received within a certain time, it is determined that there is another plug-and-play transmission apparatus with a duplicate node ID, and the PnP operation is not started (F110).

ノードID重複検出部(C103)は、装置電源(C101)のON後に、自身が新規ノードでないと判断した場合(F102)は、次に、自身がバックアップノード(BUノード)であるか否かを判断する(F106)。自身がバックアップノードである場合は、他ノード(プラグアンドプレイ伝送装置)から、ノードID通知の受信を待つ(F107)。ノードID重複検出部(C103)は、ノードID通知を受信した場合は、ノードID通知に含まれるノードIDと、自ノードIDを比較し、ノードIDが重複しているかどうかを判断する(F108)。重複している場合は、ノードID重複通知の送信処理を実行する(F109)。   If the node ID duplication detection unit (C103) determines that it is not a new node after the device power supply (C101) is turned on (F102), it next determines whether or not it is a backup node (BU node). Judgment is made (F106). If the node itself is a backup node, it waits for reception of a node ID notification from another node (plug and play transmission device) (F107). When receiving the node ID notification, the node ID duplication detection unit (C103) compares the node ID included in the node ID notification with the own node ID, and determines whether the node ID is duplicated (F108). . If they are duplicated, node ID duplicate notification transmission processing is executed (F109).

ノードID重複通知送信処理(F109)のフローは、図6に示されている。ノードID重複通知は、ノードID通知に対する応答であり、通知されたノードIDをすでに自身が使用していることを、ノードID通知を送信したプラグアンドプレイ伝送装置へ通知するものである。ノードID重複通知もノードID通知と同じく、レイヤ2のフレームとして送信する。ノードID重複通知送信処理では、処理が開始すると(F301)、受信したノードIDのVLANタグの有無を判断する(F302)。   The flow of the node ID duplication notification transmission process (F109) is shown in FIG. The node ID overlap notification is a response to the node ID notification, and notifies the plug-and-play transmission apparatus that has transmitted the node ID notification that the node ID notified by itself is already used. The node ID overlap notification is also transmitted as a layer 2 frame in the same manner as the node ID notification. In the node ID duplication notification transmission process, when the process starts (F301), the presence / absence of a VLAN tag of the received node ID is determined (F302).

受信したノードIDにVLANタグが付いていない場合は、VLANタグを付けずにノードID重複通知を送信する(F303)。これに対し、VLANタグが付いている場合は、受信したVIDと同じVLANタグを付けてノードID重複通知を送信する(F304)。このようにして、バックアップノードは、重複したノードIDを使っている新規ノードへ、ノードIDが重複していることを伝える。   If the received node ID does not have a VLAN tag, a node ID duplication notification is transmitted without attaching a VLAN tag (F303). On the other hand, if the VLAN tag is attached, the node ID duplicate notification is transmitted with the same VLAN tag as the received VID (F304). In this way, the backup node informs the new node using the duplicate node ID that the node ID is duplicated.

次に、プラグアンドプレイ伝送装置1〜4それぞれの動作を、図7のシーケンス図を参照しながら説明する。プラグアンドプレイ伝送装置1〜4は、リング状に接続されているが、ここではプラグアンドプレイ伝送装置1−プラグアンドプレイ伝送装置2−プラグアンドプレイ伝送装置3−プラグアンドプレイ伝送装置4の区間に限って説明する。ノードIDは、プラグアンドプレイ伝送装置1(C11)、プラグアンドプレイ伝送装置2(C12)、プラグアンドプレイ伝送装置3(C13)、プラグアンドプレイ伝送装置4(C14)がそれぞれ「3」、「2」、「3」、「4」に設定されている。新規ノードであるプラグアンドプレイ伝送装置1(C11)のノードIDが、バックアップノードであるプラグアンドプレイ伝送装置3のノードIDと重複している。   Next, the operation of each of the plug-and-play transmission apparatuses 1 to 4 will be described with reference to the sequence diagram of FIG. The plug-and-play transmission devices 1 to 4 are connected in a ring shape, but here, the section of the plug-and-play transmission device 1 -the plug-and-play transmission device 2 -the plug-and-play transmission device 3 -the plug-and-play transmission device 4. Only the explanation will be given. The node IDs are “3” and “3” for the plug and play transmission device 1 (C11), the plug and play transmission device 2 (C12), the plug and play transmission device 3 (C13), and the plug and play transmission device 4 (C14), respectively. “2”, “3”, and “4” are set. The node ID of the plug-and-play transmission apparatus 1 (C11), which is a new node, overlaps with the node ID of the plug-and-play transmission apparatus 3, which is a backup node.

プラグアンドプレイ伝送装置2、プラグアンドプレイ伝送装置3およびプラグアンドプレイ伝送装置4は、ネットワーク運用上、VID3842タグ付き以外のパケットを中継せず、さらに、受信処理もせずに、パケットを破棄する設定になっている。プラグアンドプレイ伝送装置1(C11)は、装置電源(C101)がONされると、新規ノードとして、VLANタグなしのノードID通知を送信する(S101)。ノードID通知は、マルチキャストアドレス宛に送信する。使用するマルチキャストアドレスは、ネットワーク内で未使用のアドレスを割り当てる。マルチキャストアドレス宛に送信することで、ノードID重複検出の機能が使用しているパケットであることを明確にする。   The plug-and-play transmission device 2, the plug-and-play transmission device 3, and the plug-and-play transmission device 4 are configured to discard packets without relaying packets other than those with a VID3842 tag for network operation and without performing reception processing. It has become. When the device power supply (C101) is turned on, the plug-and-play transmission device 1 (C11) transmits a node ID notification without a VLAN tag as a new node (S101). The node ID notification is transmitted to the multicast address. As the multicast address to be used, an unused address in the network is assigned. By transmitting to the multicast address, it is clarified that the packet is used by the node ID duplication detection function.

プラグアンドプレイ伝送装置1は、ノードID通知を、Eポート、Wポート両方から送信するため、プラグアンドプレイ伝送装置1からプラグアンドプレイ伝送装置2へ送信されるノードID通知と、プラグアンドプレイ伝送装置1からプラグアンドプレイ伝送装置4へ送信されるノードID通知の2つが存在する。ここでは、プラグアンドプレイ伝送装置2側へ送信されるノードID通知に限って説明している。プラグアンドプレイ伝送装置2に到達したVLANタグなしノードID通知は、プラグアンドプレイ伝送装置2がVID3842タグ付き以外を破棄する設定で動作しているため、受信処理も中継処理も行われずに、破棄される。   Since the plug and play transmission device 1 transmits the node ID notification from both the E port and the W port, the node ID notification transmitted from the plug and play transmission device 1 to the plug and play transmission device 2 and the plug and play transmission. There are two node ID notifications sent from the device 1 to the plug and play transmission device 4. Here, only the node ID notification transmitted to the plug and play transmission device 2 side is described. The node ID notification without the VLAN tag reaching the plug-and-play transmission device 2 operates without the plug-and-play transmission device 2 being discarded except for the one with the VID3842 tag. Is done.

その後、プラグアンドプレイ伝送装置1は、VID3841タグ付きノードID通知を送信する(S102)。これも同じく、VID3842タグ付きとは異なるため、プラグアンドプレイ伝送装置2で破棄される。次に、プラグアンドプレイ伝送装置1は、VID3842タグ付きノードID通知を送信する(S103)。今度は、プラグアンドプレイ伝送装置2で破棄されず、プラグアンドプレイ伝送装置3、プラグアンドプレイ伝送装置4まで中継される。さらに、プラグアンドプレイ伝送装置2、プラグアンドプレイ伝送装置3、プラグアンドプレイ伝送装置4で受信処理が行われる。   Thereafter, the plug-and-play transmission device 1 transmits a node ID notification with a VID3841 tag (S102). Since this is also different from the case with the VID3842 tag, it is discarded by the plug-and-play transmission apparatus 2. Next, the plug-and-play transmission device 1 transmits a node ID notification with a VID3842 tag (S103). This time, it is not discarded by the plug and play transmission device 2 but is relayed to the plug and play transmission device 3 and the plug and play transmission device 4. Further, the plug-and-play transmission device 2, the plug-and-play transmission device 3, and the plug-and-play transmission device 4 perform reception processing.

プラグアンドプレイ伝送装置3は、ノードIDの重複を検出するので、ノードID重複通知を送信する(S301)。ノードID重複通知は、ノードID通知の応答であるため、マルチキャストアドレス宛でなく、プラグアンドプレイ伝送装置1宛のユニキャストで送信する。ノードID重複通知を受けたプラグアンドプレイ伝送装置1は、PnP動作を開始させない(S104)。このようにして、ノードIDが重複した状態で、PnP動作が開始し、誤動作することを防止する。   Since the plug-and-play transmission device 3 detects node ID duplication, it transmits a node ID duplication notification (S301). Since the node ID duplication notification is a response to the node ID notification, the node ID duplication notification is transmitted not by the multicast address but by unicast addressed to the plug and play transmission device 1. The plug and play transmission device 1 that has received the node ID duplication notification does not start the PnP operation (S104). In this way, the PnP operation is started and the malfunction is prevented in the state where the node IDs are duplicated.

すなわち、本実施の形態には、プラグアンドプレイ機能を行うネットワーク装置において、ノードIDを設定するノードID設定部と、プラグアンドプレイ機能を実現するプラグアンドプレイ機能部(特許文献6を参照のこと)と、新規ノードとして動作する場合は、自身のノードIDをバックアップノードへ通知し、バックアップノードとして動作する場合は、前記通知に含まれるノードIDを自身のノードIDと比較することで、新規ノードが自身と重複するノードIDで動作していることを検出し、新規ノードに対してノードIDが重複していることを通知するノードID重複検出部と、を備え、前記プラグアンドプレイ機能部は、新規ノードとして動作するとき、ノードIDが重複していない場合はプラグアンドプレイ機能を動作開始し、ノードIDが重複している場合は動作開始しないことを特徴とするネットワーク装置が開示されている。   That is, in this embodiment, in a network device that performs a plug-and-play function, a node ID setting unit that sets a node ID and a plug-and-play function unit that realizes a plug-and-play function (see Patent Document 6) ), When operating as a new node, the node ID of its own is notified to the backup node, and when operating as a backup node, the node ID included in the notification is compared with its own node ID. A node ID duplication detection unit that detects that the node ID is duplicated with itself and notifies the new node that the node ID is duplicated, and the plug and play function unit includes: When operating as a new node, if the node ID is not duplicated, the plug and play function is activated. And, the network device characterized in that it does not start operation when the node ID is duplicated is disclosed.

また、本実施の形態には、実施の形態1におけるノードID重複検出部は、新規ノードとして動作する場合に、自身のノードIDを複数のVLANで、マルチキャストグループアドレス宛のレイヤ2フレームを用いて通知することを特徴とするネットワーク装置が開示されている。   Further, in this embodiment, when the node ID duplication detection unit in the first embodiment operates as a new node, it uses its own node ID in a plurality of VLANs and a layer 2 frame addressed to a multicast group address. There is disclosed a network device characterized by notification.

従って、本実施の形態に係わるプラグアンドプレイ伝送装置は、電力を供給する装置電源と、ノードIDを設定するノードID設定部と、ネットワークに接続されるポートと、プラグアンドプレイ動作を実施するプラグアンドプレイ機能部と、ノードIDが重複しているかどうかを検出するノードID重複検出部と、を備え、ノードID重複検出部は、装置電源がONに入るとノードIDを取得し、自身が新規ノードであるかどうかを判断し、自身が新規ノードであると判断した場合は、ノードID通知送信処理を行い、ノードID通知送信処理から一定時間以内にノードID重複通知を受信したかどうかを判断し、一定時間以内にノードID重複通知を受信していないと判断した場合は、プラグアンドプレイ動作の開始をプラグアンドプレイ機能部に指示することを特徴とする。   Therefore, the plug and play transmission apparatus according to the present embodiment includes a device power supply that supplies power, a node ID setting unit that sets a node ID, a port connected to a network, and a plug that performs a plug and play operation. An and play function unit, and a node ID duplication detection unit that detects whether or not the node ID is duplicated. The node ID duplication detection unit acquires a node ID when the apparatus power is turned on, and is newly If it is determined that it is a node, and if it is determined that it is a new node, a node ID notification transmission process is performed, and it is determined whether a node ID duplicate notification is received within a predetermined time from the node ID notification transmission process. If it is determined that the node ID duplicate notification has not been received within a certain period of time, the plug and play operation is started. Characterized by instructing the functional unit.

また、本実施の形態に係わるプラグアンドプレイ伝送装置では、ノードID重複検出部は、自身が新規ノードであるかどうかを判断した結果、自身は新規ノードではないと判断した場合は、自身がバックアップノードであるかどうかを判断し、自身がバックアップノードであると判断した場合は、ノードID通知を受信したかどうかを判断し、ノードID通知を受信したと判断した場合は、このノードID通知から取得したノードIDが自ノードIDと重複しているかどうかを判断し、取得したノードIDが自ノードIDと重複していると判断した場合は、ノードID重複通知送信処理を行うことを特徴とする。   In the plug-and-play transmission apparatus according to this embodiment, the node ID duplication detection unit determines whether it is a new node as a result of determining whether it is a new node. If it is determined whether it is a node, if it is determined that it is a backup node, it is determined whether a node ID notification has been received. If it is determined that a node ID notification has been received, from this node ID notification It is determined whether or not the acquired node ID overlaps with the own node ID, and when it is determined that the acquired node ID overlaps with the own node ID, a node ID duplication notification transmission process is performed. .

実施の形態2.
実施の形態1では、新規ノードがバックアップノードと通信可能なVLANを知らない場合の動作を説明した。工場出荷時の設定では、ノードID通知を送信するVLANをあらかじめ決定しておける場合が存在する。新規ノードに、あらかじめVLANを決定しておくことで、破棄されるような不要なノードID通知が伝送路に流れることを防げるようになる。
Embodiment 2. FIG.
In the first embodiment, the operation when the new node does not know the VLAN that can communicate with the backup node has been described. In the factory default setting, there is a case where a VLAN for transmitting a node ID notification can be determined in advance. By determining the VLAN in advance for the new node, unnecessary node ID notifications that can be discarded can be prevented from flowing through the transmission path.

実施の形態2を実現するための、プラグアンドプレイ伝送装置のブロック図は、実施の形態1に係わるブロック図と同じである(図2を参照のこと)。本実施の形態に係わるノードID重複検出部のフローチャートを、図8に示す。このフローチャートは、基本的に、実施の形態1に係わるフローチャート(図4を参照のこと)と同じである。ノードID通知送信処理(F103)のフローが異なるので、違いを中心に説明する。   The block diagram of the plug-and-play transmission device for realizing the second embodiment is the same as the block diagram according to the first embodiment (see FIG. 2). A flowchart of the node ID duplication detection unit according to the present embodiment is shown in FIG. This flowchart is basically the same as the flowchart according to the first embodiment (see FIG. 4). Since the flow of the node ID notification transmission process (F103) is different, the difference will be mainly described.

実施の形態2におけるノードID通知送信処理(F103)のフローは、図9に示されている。実施の形態1では、ノードID通知を送信するVLANが分からないため、複数パターンで送信していたが、実施の形態2では、ノードID重複検出部(C103)は、ユーザが事前に設定した、VLANタグの有無とVIDで、ノードID通知を送信する(F206)。この処理以外は、実施の形態1と同じである。   The flow of the node ID notification transmission process (F103) in the second embodiment is shown in FIG. In the first embodiment, since the VLAN for transmitting the node ID notification is not known, it is transmitted in a plurality of patterns. However, in the second embodiment, the node ID duplication detection unit (C103) is set in advance by the user. The node ID notification is transmitted based on the presence / absence of the VLAN tag and the VID (F206). Other than this processing, the process is the same as that of the first embodiment.

ノードID通知送信処理が開始すると(F201)、事前に設定された、VLANタグ有無とVIDで、ノードID通知を送信する(F206)。その後、一定時間内にノードID重複通知と呼ぶパケットを受信しなかった場合(F104)は、ノードIDが重複するプラグアンドプレイ伝送装置が他に存在しないと判断して、ノードID重複検出部(C103)は、PnP動作の開始をプラグアンドプレイ機能部(C104)に指示する(F105)。一定時間内にノードID重複通知を受信した場合は、ノードIDが重複するプラグアンドプレイ伝送装置が他に存在すると判断して、PnP動作を開始しない(F110)。   When the node ID notification transmission process starts (F201), the node ID notification is transmitted with the VLAN tag presence / absence and VID set in advance (F206). After that, when a packet called node ID duplication notification is not received within a certain time (F104), it is determined that there is no other plug-and-play transmission device with a duplicate node ID, and a node ID duplication detection unit ( C103) instructs the plug and play function unit (C104) to start the PnP operation (F105). If a node ID duplication notification is received within a certain time, it is determined that there is another plug-and-play transmission apparatus with a duplicate node ID, and the PnP operation is not started (F110).

ノードID重複検出部(C103)は、装置電源(C101)のON後に、自身が新規ノードでないと判断した場合(F102)は、次に、自身がバックアップノード(BUノード)であるか否かを判断する(F106)。自身がバックアップノードである場合は、他ノード(プラグアンドプレイ伝送装置)から、ノードID通知の受信を待つ(F107)。ノードID重複検出部(C103)は、ノードID通知を受信した場合は、ノードID通知に含まれるノードIDと、自ノードIDを比較し、ノードIDが重複しているかどうかを判断する(F108)。重複している場合は、ノードID重複通知の送信処理を実行する(F109)。   If the node ID duplication detection unit (C103) determines that it is not a new node after the device power supply (C101) is turned on (F102), it next determines whether or not it is a backup node (BU node). Judgment is made (F106). If the node itself is a backup node, it waits for reception of a node ID notification from another node (plug and play transmission device) (F107). When receiving the node ID notification, the node ID duplication detection unit (C103) compares the node ID included in the node ID notification with the own node ID, and determines whether the node ID is duplicated (F108). . If they are duplicated, node ID duplicate notification transmission processing is executed (F109).

ノードID重複通知送信処理(F109)のフローは、図10に示されている。ノードID重複通知は、ノードID通知に対する応答であり、通知されたノードIDをすでに自身が使用していることを、ノードID通知を送信したプラグアンドプレイ伝送装置へ通知するものである。ノードID重複通知もノードID通知と同じく、レイヤ2のフレームとして送信する。ノードID重複通知送信処理では、処理が開始すると(F301)、受信したノードIDのVLANタグの有無を判断する(F302)。   The flow of the node ID duplication notification transmission process (F109) is shown in FIG. The node ID overlap notification is a response to the node ID notification, and notifies the plug-and-play transmission apparatus that has transmitted the node ID notification that the node ID notified by itself is already used. The node ID overlap notification is also transmitted as a layer 2 frame in the same manner as the node ID notification. In the node ID duplication notification transmission process, when the process starts (F301), the presence / absence of a VLAN tag of the received node ID is determined (F302).

受信したノードIDにVLANタグが付いていない場合は、VLANタグを付けずにノードID重複通知を送信する(F303)。これに対し、VLANタグが付いている場合は、受信したVIDと同じVLANタグを付けてノードID重複通知を送信する(F304)。このようにして、バックアップノードは、重複したノードIDを使っている新規ノードへ、ノードIDが重複していることを伝える。   If the received node ID does not have a VLAN tag, a node ID duplication notification is transmitted without attaching a VLAN tag (F303). On the other hand, if the VLAN tag is attached, the node ID duplicate notification is transmitted with the same VLAN tag as the received VID (F304). In this way, the backup node informs the new node using the duplicate node ID that the node ID is duplicated.

次に、実施の形態2におけるプラグアンドプレイ伝送装置それぞれの動作を、図11のシーケンス図に基づいて説明する。実施の形態1のシーケンス図(図7を参照)と同じく、新規ノードはプラグアンドプレイ伝送装置1である。また、バックアップノードは、プラグアンドプレイ伝送装置2、プラグアンドプレイ伝送装置3、プラグアンドプレイ伝送装置4である。ノードIDは、プラグアンドプレイ伝送装置1、プラグアンドプレイ伝送装置2、プラグアンドプレイ伝送装置3、プラグアンドプレイ伝送装置4が、それぞれ「3」、「2」、「3」、「4」に設定されている。したがって、新規ノードであるプラグアンドプレイ伝送装置1のノードIDが、バックアップノードであるプラグアンドプレイ伝送装置3のノードIDと重複している。   Next, the operation of each plug and play transmission apparatus according to the second embodiment will be described with reference to the sequence diagram of FIG. Similar to the sequence diagram of the first embodiment (see FIG. 7), the new node is the plug-and-play transmission apparatus 1. The backup nodes are the plug and play transmission device 2, the plug and play transmission device 3, and the plug and play transmission device 4. The node IDs are “3”, “2”, “3”, and “4” for the plug and play transmission device 1, the plug and play transmission device 2, the plug and play transmission device 3, and the plug and play transmission device 4, respectively. Is set. Therefore, the node ID of the plug-and-play transmission apparatus 1 that is a new node overlaps with the node ID of the plug-and-play transmission apparatus 3 that is a backup node.

プラグアンドプレイ伝送装置2、プラグアンドプレイ伝送装置3およびプラグアンドプレイ伝送装置4は、ネットワーク運用上、VID3842タグ付き以外のパケットを中継せず、さらに、受信処理もせずにパケットを破棄する設定になっている。実施の形態1のシーケンス図(図7を参照)と違って、プラグアンドプレイ伝送装置1、プラグアンドプレイ伝送装置2、プラグアンドプレイ伝送装置3、プラグアンドプレイ伝送装置4は、工場出荷時設定で、ノードID通知をVID3842で送受信することが決定されている。   The plug-and-play transmission device 2, the plug-and-play transmission device 3, and the plug-and-play transmission device 4 are set so as not to relay packets other than those with a VID3842 tag in network operation and to discard the packets without performing reception processing. It has become. Unlike the sequence diagram of the first embodiment (see FIG. 7), the plug-and-play transmission device 1, the plug-and-play transmission device 2, the plug-and-play transmission device 3, and the plug-and-play transmission device 4 are set at the time of shipment from the factory. Thus, it is determined that the node ID notification is transmitted / received by VID3842.

プラグアンドプレイ伝送装置1は、装置電源(C101)がONされると、VID3842タグ付きのノードID通知を、マルチキャストアドレス宛に送信する(S105)。このノードID通知は、他プラグアンドプレイ伝送装置で受信処理される。プラグアンドプレイ伝送装置3は、ノードID重複を検出し、ノードID重複通知を送信する(S301)。ノードID重複通知を受けたプラグアンドプレイ伝送装置1は、PnPを動作開始させない(S104)。このようにして、ノードIDが重複した状態で、PnPが動作開始し、誤動作することを防止する。   When the device power supply (C101) is turned on, the plug-and-play transmission device 1 transmits a node ID notification with a VID3842 tag to the multicast address (S105). This node ID notification is received and processed by another plug-and-play transmission device. The plug-and-play transmission device 3 detects node ID duplication and transmits a node ID duplication notification (S301). Receiving the node ID duplication notification, the plug-and-play transmission apparatus 1 does not start the operation of PnP (S104). In this way, it is possible to prevent PnP from starting and malfunctioning in a state where node IDs are duplicated.

すなわち、本実施の形態には、実施の形態1におけるノードID重複検出部が、新規ノードとして動作する場合に、自身のノードIDをあらかじめ設定されたVLANで通知することを特徴とするネットワーク装置が開示されている。   That is, in this embodiment, when the node ID duplication detection unit in the first embodiment operates as a new node, the network apparatus is characterized by notifying its own node ID by a preset VLAN. It is disclosed.

実施の形態3.
実施の形態1では、ノードIDの重複が分かった後、新規ノードはPnP動作を開始せずに、そのまま伝送路に接続した状態を保っていた。運用中のネットワークでは、工場出荷時設定のプラグアンドプレイ伝送装置が、運用設定をされずに伝送路に接続されていることは好ましくない。工場出荷時設定のプラグアンドプレイ伝送装置は、中継すべきでない通信を中継したり、不要なパケットを送信する可能性がある。
Embodiment 3 FIG.
In the first embodiment, after the node ID overlap is found, the new node is kept connected to the transmission line as it is without starting the PnP operation. In the network in operation, it is not preferable that the plug-and-play transmission device set at the time of factory shipment is connected to the transmission line without performing the operation setting. The plug-and-play transmission device set at the time of shipment from the factory may relay communications that should not be relayed or transmit unnecessary packets.

この点を解決するため、実施の形態3に係わるノードID重複検出部は、ノードIDの重複が分かると、伝送路と接続したポートを閉塞して、工場出荷時設定のまま伝送路に接続した状態になることを防ぐ。本実施の形態を実現するための、プラグアンドプレイ伝送装置1〜4のブロック図は、実施の形態1と同じである(図2を参照)。本実施の形態に係わるノードID重複検出部のフローチャートを、図12〜14に示す。   In order to solve this point, when the node ID duplication detection unit according to the third embodiment knows that the node ID is duplicated, the node connected to the transmission line is blocked and connected to the transmission line with the factory settings. Prevent from entering a state. The block diagram of the plug-and-play transmission apparatuses 1 to 4 for realizing the present embodiment is the same as that of the first embodiment (see FIG. 2). The flowchart of the node ID duplication detection part concerning this Embodiment is shown in FIGS.

図12に示すフローチャートは、実施の形態1における、ノードID重複検出部のフローチャート(図4を参照のこと)と一部が異なる。以下では違いを中心に説明する。また、本実施の形態に係わるノードID通知送信処理(F103)のフローは、図13に示されている。本実施の形態に係わるノードID重複通知送信処理(F109)のフローは、図14に示されている。これらのフローは、基本的に、実施の形態1に係わるフロー(図5および図6を参照のこと)と同じである。   The flowchart shown in FIG. 12 is partially different from the flowchart of the node ID duplication detection unit (see FIG. 4) in the first embodiment. In the following, the difference will be mainly described. Further, the flow of the node ID notification transmission process (F103) according to the present embodiment is shown in FIG. The flow of the node ID duplication notification transmission process (F109) according to the present embodiment is shown in FIG. These flows are basically the same as the flows according to the first embodiment (see FIGS. 5 and 6).

図12に示すフローチャートは、ノードID重複検出部(C103)の動作を示している。ノードID重複検出部(C103)は、プラグアンドプレイ伝送装置の装置電源(C101)がONされると動作を開始する(F100)。まず、プラグアンドプレイ伝送装置自身のノードIDを取得する(F101)。その後、ノードID重複検出部(C103)は、自身が新規ノードであるか、否かを判断する(F102)。新規ノードであるかどうかの判断は、VLAN(Virtual Local Area Network)が設定されているかどうかで判断する。   The flowchart shown in FIG. 12 shows the operation of the node ID duplication detection unit (C103). The node ID duplication detection unit (C103) starts operating when the device power supply (C101) of the plug-and-play transmission device is turned on (F100). First, the node ID of the plug and play transmission device itself is acquired (F101). Thereafter, the node ID duplication detection unit (C103) determines whether or not it is a new node (F102). Whether the node is a new node is determined based on whether a VLAN (Virtual Local Area Network) is set.

ノードID重複検出部(C103)は、自身が新規ノードであると判断した場合、自ノードIDを、ノードID通知と呼ぶパケットでバックアップノードへ通知する。ノードID通知は、IPアドレスが設定されていない状態で送信するため、イーサネット(登録商標)など、レイヤ2のフレームとして送信する。ノードID通知の送信は、Wポート(C105)とEポート(C106)から行う。ノードID通知の送信処理を、ノードID通知送信処理(F103)と呼ぶ。   When the node ID duplication detection unit (C103) determines that it is a new node, it notifies the backup node of its own node ID in a packet called node ID notification. The node ID notification is transmitted as a layer 2 frame such as Ethernet (registered trademark) because it is transmitted in a state where no IP address is set. The node ID notification is transmitted from the W port (C105) and the E port (C106). The node ID notification transmission process is referred to as a node ID notification transmission process (F103).

新規ノードは、工場出荷時の設定であるため、バックアップノードと通信するために必要なVLAN(Virtual Local Area Network)の設定が入っていない。そのため、ノードID通知をバックアップノードへ通知するにあたって、VLANタグを付けて送信するべきなのか、VLANタグのVID(VLAN Identifier)をいくつに設定するべきかを決定することができない。ここで、VIDは、VLANを識別するための番号を格納している。なお、VLANタグは、IEEE802.1Qで規定されたものとする。   Since the new node has a factory default setting, it does not include a VLAN (Virtual Local Area Network) setting necessary for communicating with the backup node. For this reason, when notifying the backup node of the node ID notification, it is impossible to determine whether the VLAN tag should be transmitted and how many VIDs (VLAN Identifiers) of the VLAN tags should be set. Here, the VID stores a number for identifying the VLAN. Note that the VLAN tag is defined by IEEE 802.1Q.

この対応策として、新規ノードは、VLANタグの有無とVIDを、考えられる数パターンで送信する。すなわち、パケットを数パターン送信することで、いずれかのパケットがバックアップノードへ到達するであろうという考えに基づいている。パケットを数パターンに絞り込めない場合は、規格上取り得るすべてのVIDで送信してもよい。以下では、[VLANタグなし]、[VID3841タグ付き]、[VID3842タグ付き]の3パターンで送信する場合を説明する。ここで、[VID3841タグ付き]は、[VID=3841;VLANタグ付き]を表している。同様に、[VID3842タグ付き]は、[VID=3842;VLANタグ付き]を表している。   As a countermeasure, the new node transmits the presence / absence of the VLAN tag and the VID in several possible patterns. That is, it is based on the idea that any packet will reach the backup node by transmitting several patterns of packets. When packets cannot be narrowed down to several patterns, transmission may be performed using all VIDs that can be taken in accordance with the standard. In the following, a case will be described where transmission is performed in three patterns: [no VLAN tag], [with VID3841 tag], and [with VID3842 tag]. Here, “with VID3841 tag” represents [VID = 3841; with VLAN tag]. Similarly, [with VID3842 tag] represents [VID = 3842; with VLAN tag].

ノードID通知送信処理(F103)の後、一定時間内にノードID重複通知と呼ぶパケットを受信しなかった場合(F104)は、ノードIDが重複するプラグアンドプレイ伝送装置が他に存在しないと判断して、ノードID重複検出部(C103)は、PnP動作の開始をプラグアンドプレイ機能部(C104)に指示する(F105)。一定時間内にノードID重複通知を受信した場合は、ノードIDが重複するプラグアンドプレイ伝送装置が他に存在すると判断して、EポートとWポートを閉塞する(F111)。両ポートを閉塞することで、パケット中継することや、パケット送信することを防ぐ。   After the node ID notification transmission process (F103), if no packet called node ID overlap notification is received within a certain time (F104), it is determined that there is no other plug-and-play transmission apparatus with a duplicate node ID. Then, the node ID duplication detection unit (C103) instructs the plug and play function unit (C104) to start the PnP operation (F105). If a node ID duplication notification is received within a certain period of time, it is determined that there are other plug-and-play transmission apparatuses with duplicate node IDs, and the E port and W port are blocked (F111). Blocking both ports prevents packet relaying and packet transmission.

次に、実施の形態3に係わるプラグアンドプレイ伝送装置それぞれの動作を、図15のシーケンス図で説明する。実施の形態1のシーケンス図(図7を参照のこと)と同じく、新規ノードは、プラグアンドプレイ伝送装置1、バックアップノードは、プラグアンドプレイ伝送装置2、プラグアンドプレイ伝送装置3、プラグアンドプレイ伝送装置4である。ノードIDは、プラグアンドプレイ伝送装置1、プラグアンドプレイ伝送装置2、プラグアンドプレイ伝送装置3、プラグアンドプレイ伝送装置4がそれぞれ「3」、「2」、「3」、「4」に設定されている。新規ノードであるプラグアンドプレイ伝送装置1のノードIDが、バックアップノードであるプラグアンドプレイ伝送装置3のノードIDと重複している。プラグアンドプレイ伝送装置2、プラグアンドプレイ伝送装置3およびプラグアンドプレイ伝送装置4は、ネットワーク運用上、VID3842タグ付き以外のパケットを中継せず、さらに、受信処理もせずパケットを破棄する設定になっている。   Next, the operation of each plug and play transmission apparatus according to the third embodiment will be described with reference to the sequence diagram of FIG. Similar to the sequence diagram of the first embodiment (see FIG. 7), the new node is the plug and play transmission device 1, the backup node is the plug and play transmission device 2, the plug and play transmission device 3, and the plug and play. This is a transmission device 4. The node ID is set to “3”, “2”, “3”, and “4” for the plug and play transmission device 1, the plug and play transmission device 2, the plug and play transmission device 3, and the plug and play transmission device 4, respectively. Has been. The node ID of the plug-and-play transmission apparatus 1 that is a new node overlaps with the node ID of the plug-and-play transmission apparatus 3 that is a backup node. The plug-and-play transmission device 2, the plug-and-play transmission device 3, and the plug-and-play transmission device 4 are configured not to relay packets other than those with a VID3842 tag in network operation, and to discard the packets without performing reception processing. ing.

プラグアンドプレイ伝送装置1は、装置電源(C101)がONされると、実施の形態1と同じく、ノードID通知をVLANタグなし(S101)、VID3841タグ付き(S102)、VID3842タグ付き(S103)で送信する。VID3842タグ付きのノードID通知を送信したとき(S103)に、プラグアンドプレイ伝送装置3がノードID重複を検出し、ノードID重複通知を送信する(S301)。プラグアンドプレイ伝送装置1は、ノードID重複通知を受けると、EポートとWポートを閉塞する(S105)。   When the device power supply (C101) is turned on, the plug-and-play transmission device 1 notifies the node ID notification without a VLAN tag (S101), with a VID3841 tag (S102), and with a VID3842 tag (S103), as in the first embodiment. Send with. When a node ID notification with a VID3842 tag is transmitted (S103), the plug-and-play transmission device 3 detects a node ID duplication and transmits a node ID duplication notification (S301). Upon receiving the node ID duplication notification, the plug-and-play transmission device 1 closes the E port and the W port (S105).

すなわち、本実施の形態には、実施の形態1におけるプラグアンドプレイ機能部が、新規ノードとして動作するとき、ノードIDが重複している場合は、ポートを閉塞することを特徴とするネットワーク装置が開示されている。   That is, in this embodiment, when the plug-and-play function unit in Embodiment 1 operates as a new node, if the node ID is duplicated, the network device is characterized in that the port is blocked. It is disclosed.

実施の形態4.
前述した、実施の形態1、実施の形態2および実施の形態3では、ノードIDの重複が分かったとき、新規ノードのノードID設定が誤っているという考えで、新規ノードのPnP動作を開始させなかったり、ポート閉塞を行っている。しかしながら、ノードIDが新規ノードとバックアップノードで重複しているとき、バックアップノードが、そもそも誤って新規ノードのノードIDで動作している可能性も考えられる。
Embodiment 4 FIG.
In the first embodiment, the second embodiment, and the third embodiment described above, when the node ID overlap is found, the PnP operation of the new node is started with the idea that the node ID setting of the new node is incorrect. There is no port blocking. However, when the node ID is duplicated between the new node and the backup node, there is a possibility that the backup node is erroneously operating with the node ID of the new node.

このように新規ノードとバックアップノードのうち、どちらが誤ったノードIDで動作しているのか判断できない場合を考え、実施の形態4では、ノードID重複時に、新規ノードだけでなく、バックアップノードもポート閉塞する方式を示す。実施の形態4を実現するための、プラグアンドプレイ伝送装置のブロック図は、実施の形態1と同じものである(図2を参照のこと)。   Considering the case where it is not possible to determine which of the new node and the backup node is operating with the wrong node ID in this way, in the fourth embodiment, when the node ID is duplicated, not only the new node but also the backup node is blocked. The method to do is shown. The block diagram of the plug-and-play transmission device for realizing the fourth embodiment is the same as that of the first embodiment (see FIG. 2).

ノードID重複検出部のフローチャートを、図16〜18に示す。図16に示す、実施の形態4におけるフローチャートは、実施の形態3のノードID重複検出部のフローチャート(図12)と一部が異なる。以下では、違いを中心に説明する。バックアップノードとして動作しているときに、重複ノードの存在が分かった後の動作が、実施の形態3と異なる。   The flowchart of a node ID duplication detection part is shown to FIGS. The flowchart in the fourth embodiment shown in FIG. 16 is partially different from the flowchart (FIG. 12) of the node ID duplication detection unit in the third embodiment. Below, it demonstrates focusing on a difference. When operating as a backup node, the operation after the existence of a duplicate node is different from that of the third embodiment.

本実施の形態に係わるノードID通知送信処理(F103)のフローは、図17に示されている。本実施の形態に係わるノードID重複通知送信処理(F109)のフローは、図18に示されている。これらのフローは、基本的に、実施の形態1に係わるフロー(図5および図6を参照のこと)と同じである。   The flow of the node ID notification transmission process (F103) according to this embodiment is shown in FIG. A flow of node ID duplication notification transmission processing (F109) according to the present embodiment is shown in FIG. These flows are basically the same as the flows according to the first embodiment (see FIGS. 5 and 6).

図16に示すフローチャートは、ノードID重複検出部(C103)の動作を示している。ノードID通知を受信し(F107)、自ノードIDと重複することが分かった場合(F108)には、ノードID重複通知送信処理(F109)を実行した後に、自ノードのEポートとWポートを閉塞する(F112)。両ポートを閉塞することで、パケット中継することや、パケット送信することを防ぐ。   The flowchart shown in FIG. 16 shows the operation of the node ID duplication detection unit (C103). When node ID notification is received (F107) and found to be duplicated with its own node ID (F108), the node ID duplicate notification transmission process (F109) is executed, and then the E port and W port of its own node are set. It is closed (F112). Blocking both ports prevents packet relaying and packet transmission.

次に、実施の形態4に係わるプラグアンドプレイ伝送装置それぞれの動作を、図19のシーケンス図で説明する。先ず、各装置の設定を説明する。実施の形態3のシーケンス図(図15を参照のこと)と同じく、新規ノードは、プラグアンドプレイ伝送装置1、バックアップノードは、プラグアンドプレイ伝送装置2、プラグアンドプレイ伝送装置3、プラグアンドプレイ伝送装置4である。ノードIDは、プラグアンドプレイ伝送装置1、プラグアンドプレイ伝送装置2、プラグアンドプレイ伝送装置3、プラグアンドプレイ伝送装置4がそれぞれ「3」、「2」、「3」、「4」に設定されている。新規ノードであるプラグアンドプレイ伝送装置1のノードIDが、バックアップノードであるプラグアンドプレイ伝送装置3のノードIDと重複している。プラグアンドプレイ伝送装置2、プラグアンドプレイ伝送装置3およびプラグアンドプレイ伝送装置4は、ネットワーク運用上、VID3842タグ付き以外のパケットを中継せず、さらに、受信処理もせず破棄する設定になっている。   Next, the operation of each plug and play transmission apparatus according to the fourth embodiment will be described with reference to the sequence diagram of FIG. First, the setting of each device will be described. As in the sequence diagram of the third embodiment (see FIG. 15), the new node is the plug and play transmission device 1, the backup node is the plug and play transmission device 2, the plug and play transmission device 3, and the plug and play. This is a transmission device 4. The node ID is set to “3”, “2”, “3”, and “4” for the plug and play transmission device 1, the plug and play transmission device 2, the plug and play transmission device 3, and the plug and play transmission device 4, respectively. Has been. The node ID of the plug-and-play transmission apparatus 1 that is a new node overlaps with the node ID of the plug-and-play transmission apparatus 3 that is a backup node. The plug-and-play transmission device 2, the plug-and-play transmission device 3, and the plug-and-play transmission device 4 are set so as not to relay packets other than those with a VID3842 tag in network operation and to discard them without performing reception processing. .

プラグアンドプレイ伝送装置1は、装置電源(C101)がONされると、実施の形態3と同じく、ノードID通知をVLANタグなし(S101)、VID3841タグ付き(S102)、VID3842タグ付き(S103)で送信する。VID3842タグ付きのノードID通知を送信したとき(S103)に、プラグアンドプレイ伝送装置3がノードID重複を検出し、ノードID重複通知を送信する(S301)。その後、プラグアンドプレイ伝送装置3は、EポートとWポートを閉塞する(S202)。プラグアンドプレイ伝送装置1は、ノードID重複通知を受けると、プラグアンドプレイ伝送装置3と同じように、EポートとWポートを閉塞する(S105)。   When the device power supply (C101) is turned on, the plug-and-play transmission device 1 notifies the node ID notification with no VLAN tag (S101), with a VID3841 tag (S102), with a VID3842 tag (S103), as in the third embodiment. Send with. When a node ID notification with a VID3842 tag is transmitted (S103), the plug-and-play transmission device 3 detects a node ID duplication and transmits a node ID duplication notification (S301). Thereafter, the plug-and-play transmission device 3 closes the E port and the W port (S202). Upon receiving the node ID duplication notification, the plug and play transmission device 1 closes the E port and the W port in the same manner as the plug and play transmission device 3 (S105).

すなわち、本実施の形態には、実施の形態1におけるプラグアンドプレイ機能部が、新規ノードとして動作するとき、ノードIDが重複している場合は、ポートを閉塞し、バックアップノードとして動作するときも、ノードIDが重複している場合は、ポートを閉塞することを特徴とするネットワーク装置が開示されている。   That is, in this embodiment, when the plug and play function unit in the first embodiment operates as a new node, when the node ID is duplicated, the port is blocked and the plug and play function unit operates as a backup node. A network device is disclosed that closes a port when node IDs overlap.

実施の形態5.
これまで説明した実施の形態では、ノードID通知をマルチキャストアドレス宛に送信していた。ネットワーク運用上、監視カメラの映像を伝送するためのマルチキャストアドレス宛パケットだけを中継し、それ以外のマルチキャストアドレス宛パケットを破棄する設定のプラグアンドプレイ伝送装置が接続されている可能性がある。図20は、本発明に係わるプラグアンドプレイ伝送装置を用いて構成したリングネットワークを示している。実施の形態5に係わるプラグアンドプレイ伝送装置を、同図を参照して説明する。
Embodiment 5. FIG.
In the embodiments described so far, the node ID notification is transmitted to the multicast address. For network operation, there is a possibility that a plug-and-play transmission device that is configured to relay only packets addressed to the multicast address for transmitting the video of the monitoring camera and discard other packets addressed to the multicast address may be connected. FIG. 20 shows a ring network configured using the plug and play transmission apparatus according to the present invention. A plug and play transmission apparatus according to Embodiment 5 will be described with reference to FIG.

プラグアンドプレイ伝送装置1(C11)とプラグアンドプレイ伝送装置2(C12)の間には、特定のマルチキャストアドレス宛パケット以外を破棄する設定のプラグアンドプレイ伝送装置5(C15)が接続されている。プラグアンドプレイ伝送装置1とプラグアンドプレイ伝送装置4(C14)の間にも、特定のマルチキャストアドレス以外を破棄する設定のプラグアンドプレイ伝送装置6(C16)が接続されている。プラグアンドプレイ伝送装置5とプラグアンドプレイ伝送装置6は、本発明を実現するための機能を有していない、他社製のプラグアンドプレイ伝送装置である。   Between the plug and play transmission device 1 (C11) and the plug and play transmission device 2 (C12), a plug and play transmission device 5 (C15) set to discard packets other than those destined for a specific multicast address is connected. . Between the plug and play transmission device 1 and the plug and play transmission device 4 (C14), a plug and play transmission device 6 (C16) configured to discard other than a specific multicast address is also connected. The plug-and-play transmission device 5 and the plug-and-play transmission device 6 are plug-and-play transmission devices manufactured by other companies that do not have a function for realizing the present invention.

このような場合は、プラグアンドプレイ伝送装置1がマルチキャストアドレス宛のノードID通知を送信しても、プラグアンドプレイ伝送装置5やプラグアンドプレイ伝送装置6で破棄される。このため、バックアップノードにはノードID通知が届かないので、ノードIDの重複を検出することができない。この問題を解決するため、本実施の形態では、ノードID通知をマルチキャストアドレス宛ではなく、ブロードキャストアドレス宛に送信する方式を採用している。   In such a case, even if the plug-and-play transmission device 1 transmits a node ID notification addressed to the multicast address, it is discarded by the plug-and-play transmission device 5 and the plug-and-play transmission device 6. For this reason, since the node ID notification does not reach the backup node, node ID duplication cannot be detected. In order to solve this problem, the present embodiment employs a system in which the node ID notification is transmitted not to the multicast address but to the broadcast address.

実施の形態5を実現するための、プラグアンドプレイ伝送装置のブロック図は、実施の形態1と同じものである(図2を参照のこと)。ノードID重複検出部のフローチャートも、実施の形態1と同じ図4〜6に示すものである。次に、実施の形態5に係わるプラグアンドプレイ伝送装置それぞれの動作を、図21のシーケンス図を参照して説明する。プラグアンドプレイ伝送装置1〜6は、リング状に接続されているが、ここでは、プラグアンドプレイ伝送装置1−プラグアンドプレイ伝送装置5−プラグアンドプレイ伝送装置2−プラグアンドプレイ伝送装置3−プラグアンドプレイ伝送装置4の区間に限って説明する。   The block diagram of the plug-and-play transmission apparatus for realizing the fifth embodiment is the same as that of the first embodiment (see FIG. 2). The flowchart of the node ID duplication detection unit is also shown in FIGS. Next, the operation of each plug and play transmission apparatus according to the fifth embodiment will be described with reference to the sequence diagram of FIG. The plug and play transmission devices 1 to 6 are connected in a ring shape. Here, the plug and play transmission device 1 -the plug and play transmission device 5 -the plug and play transmission device 2 -the plug and play transmission device 3-. Only the section of the plug and play transmission device 4 will be described.

ノードIDは、プラグアンドプレイ伝送装置1、プラグアンドプレイ伝送装置2、プラグアンドプレイ伝送装置3、プラグアンドプレイ伝送装置4が、それぞれ「3」、「2」、「3」、「4」に設定されている。新規ノードであるプラグアンドプレイ伝送装置1のノードIDが、バックアップノードであるプラグアンドプレイ伝送装置3のノードIDと重複している。プラグアンドプレイ伝送装置2、プラグアンドプレイ伝送装置3およびプラグアンドプレイ伝送装置4は、ネットワーク運用上、VID3842タグ付き以外のパケットを中継せず、さらに、受信処理もせずパケットを破棄する設定になっている。プラグアンドプレイ伝送装置5およびプラグアンドプレイ伝送装置6は、特定のマルチキャストアドレス宛以外のパケットを破棄する設定になっている。   The node IDs are “3”, “2”, “3”, and “4” for the plug and play transmission device 1, the plug and play transmission device 2, the plug and play transmission device 3, and the plug and play transmission device 4, respectively. Is set. The node ID of the plug-and-play transmission apparatus 1 that is a new node overlaps with the node ID of the plug-and-play transmission apparatus 3 that is a backup node. The plug-and-play transmission device 2, the plug-and-play transmission device 3, and the plug-and-play transmission device 4 are configured not to relay packets other than those with a VID3842 tag in network operation, and to discard the packets without performing reception processing. ing. The plug-and-play transmission device 5 and the plug-and-play transmission device 6 are set to discard packets other than those destined for a specific multicast address.

プラグアンドプレイ伝送装置1(C11)は、装置電源(C101)がONされると、新規ノードとして、VLANタグなしのノードID通知を送信する(S106)。ノードID通知は、ブロードキャストアドレス宛に送信する。プラグアンドプレイ伝送装置1は、ノードID通知を、Eポート、Wポート両方から送信するため、プラグアンドプレイ伝送装置1からプラグアンドプレイ伝送装置5へ送信されるノードID通知と、プラグアンドプレイ伝送装置1からプラグアンドプレイ伝送装置6へ送信されるノードID通知の2つが存在する。ここでは、プラグアンドプレイ伝送装置5側へ送信されるノードID通知に限って説明する。   When the device power supply (C101) is turned on, the plug-and-play transmission device 1 (C11) transmits a node ID notification without a VLAN tag as a new node (S106). The node ID notification is transmitted to the broadcast address. Since the plug and play transmission device 1 transmits the node ID notification from both the E port and the W port, the node ID notification transmitted from the plug and play transmission device 1 to the plug and play transmission device 5 and the plug and play transmission. There are two node ID notifications sent from the device 1 to the plug and play transmission device 6. Here, only the node ID notification transmitted to the plug and play transmission apparatus 5 side will be described.

ブロードキャストアドレス宛のノードID通知は、プラグアンドプレイ伝送装置5で中継され、プラグアンドプレイ伝送装置2へ到達する。プラグアンドプレイ伝送装置2に到達したVLANタグなしノードID通知は、プラグアンドプレイ伝送装置2がVID3842タグ付き以外を破棄する設定で動作しているため、受信処理も中継処理もされずに破棄される。   The node ID notification addressed to the broadcast address is relayed by the plug and play transmission device 5 and reaches the plug and play transmission device 2. The node ID notification without the VLAN tag reaching the plug and play transmission device 2 is discarded without any reception processing or relay processing because the plug and play transmission device 2 operates with a setting for discarding anything other than with the VID3842 tag. The

その後、プラグアンドプレイ伝送装置1は、VID3841タグ付きノードID通知を送信する(S107)。これも同じく、プラグアンドプレイ伝送装置5で中継され、プラグアンドプレイ伝送装置2へ到達するが破棄される。次に、プラグアンドプレイ伝送装置1は、VID3842タグ付きノードID通知を送信する(S108)。今度は、プラグアンドプレイ伝送装置2で破棄されず、プラグアンドプレイ伝送装置3、プラグアンドプレイ伝送装置4まで中継される。さらに、プラグアンドプレイ伝送装置2、プラグアンドプレイ伝送装置3、プラグアンドプレイ伝送装置4で受信処理される。   Thereafter, the plug-and-play transmission device 1 transmits a node ID notification with a VID3841 tag (S107). This is also relayed by the plug and play transmission device 5 and reaches the plug and play transmission device 2 but is discarded. Next, the plug-and-play transmission device 1 transmits a node ID notification with a VID3842 tag (S108). This time, it is not discarded by the plug and play transmission device 2 but is relayed to the plug and play transmission device 3 and the plug and play transmission device 4. Further, reception processing is performed by the plug and play transmission device 2, the plug and play transmission device 3, and the plug and play transmission device 4.

プラグアンドプレイ伝送装置3は、ノードIDの重複を検出し、ノードID重複通知を送信する(S301)。ノードID重複通知は、ノードID通知の応答であるため、ブロードキャストアドレス宛でなく、プラグアンドプレイ伝送装置1宛のユニキャストで送信する。ノードID重複通知を受けたプラグアンドプレイ伝送装置1は、PnPを動作開始させない(S104)。このようにして、ノードIDが重複した状態で、PnPが動作開始し、誤動作することを防止する。   The plug-and-play transmission device 3 detects node ID duplication and transmits a node ID duplication notification (S301). Since the node ID overlap notification is a response to the node ID notification, it is transmitted not by the broadcast address but by unicast addressed to the plug-and-play transmission apparatus 1. Receiving the node ID duplication notification, the plug-and-play transmission apparatus 1 does not start the operation of PnP (S104). In this way, it is possible to prevent PnP from starting and malfunctioning in a state where node IDs are duplicated.

すなわち、本実施の形態には、実施の形態1におけるノードID重複検出部が、新規ノードとして動作する場合に、自身のノードIDを複数のVLANで、ブロードキャストアドレス宛のレイヤ2フレームを用いて通知することを特徴とするネットワーク装置が開示されている。   That is, in the present embodiment, when the node ID duplication detection unit in the first embodiment operates as a new node, its own node ID is notified by a plurality of VLANs using a layer 2 frame addressed to a broadcast address. A network device is disclosed that is characterized by:

なお、本発明は、その発明の範囲内において、実施の形態を自由に組み合わせたり、各実施の形態を適宜、変形、省略することが可能である。   It should be noted that the present invention can be freely combined with each other within the scope of the invention, and each embodiment can be appropriately modified or omitted.

C11 伝送装置1、C12 伝送装置2、C13 伝送装置3、C14 伝送装置4、C102 ノードID設定部、C103 ノードID重複検出部、C104 プラグアンドプレイ機能部、C105 WESTポート、C106 EASTポート、C107 伝送機能部、C108 端末接続ポート、C109 プロセッサ、C110 メモリ、C111 ディップスイッチ   C11 transmission device 1, C12 transmission device 2, C13 transmission device 3, C14 transmission device 4, C102 node ID setting unit, C103 node ID duplication detection unit, C104 plug and play function unit, C105 WEST port, C106 EAST port, C107 transmission Functional part, C108 terminal connection port, C109 processor, C110 memory, C111 DIP switch

Claims (10)

電力を供給する装置電源と、
ノードIDを設定するノードID設定部と、
ネットワークに接続されるポートと、
プラグアンドプレイ動作を実施するプラグアンドプレイ機能部と、
ノードIDが重複しているかどうかを検出するノードID重複検出部と、を備え、
前記ノードID重複検出部は、
前記装置電源がONに入るとノードIDを取得し、
自身が新規ノードであるかどうかを判断し、
自身が新規ノードであると判断した場合は、ノードID通知送信処理を行い、
ノードID通知送信処理から一定時間以内にノードID重複通知を受信したかどうかを判断し、
一定時間以内にノードID重複通知を受信していないと判断した場合は、プラグアンドプレイ動作の開始を前記プラグアンドプレイ機能部に指示することを特徴とするプラグアンドプレイ伝送装置。
A device power supply for supplying power;
A node ID setting unit for setting a node ID;
A port connected to the network;
A plug and play function unit for performing a plug and play operation;
A node ID duplication detection unit for detecting whether or not the node ID is duplicated,
The node ID duplication detection unit
When the device power is turned on, the node ID is acquired,
Determine if it is a new node,
If it is determined that it is a new node, node ID notification transmission processing is performed,
Determine whether node ID duplicate notification is received within a certain time from the node ID notification transmission process,
A plug-and-play transmission apparatus that instructs the plug-and-play function unit to start a plug-and-play operation when it is determined that a node ID duplication notification has not been received within a predetermined time.
前記ノードID重複検出部は、
自身が新規ノードであるかどうかを判断した結果、自身は新規ノードではないと判断した場合は、自身がバックアップノードであるかどうかを判断し、
自身がバックアップノードであると判断した場合は、ノードID通知を受信したかどうかを判断し、
ノードID通知を受信したと判断した場合は、このノードID通知から取得したノードIDが自ノードIDと重複しているかどうかを判断し、
取得したノードIDが自ノードIDと重複していると判断した場合は、ノードID重複通知送信処理を行うことを特徴とする請求項1に記載のプラグアンドプレイ伝送装置。
The node ID duplication detection unit
As a result of determining whether or not it is a new node, if it is determined that it is not a new node, determine whether or not it is a backup node,
If it is determined that it is a backup node, determine whether it has received a node ID notification,
If it is determined that the node ID notification has been received, it is determined whether the node ID acquired from this node ID notification overlaps with the own node ID,
The plug-and-play transmission apparatus according to claim 1, wherein when it is determined that the acquired node ID overlaps with its own node ID, node ID overlap notification transmission processing is performed.
前記ノードID通知送信処理は、
VLANタグを含むノードID通知とVLANタグを含まないノードID通知からなることを特徴とする請求項2に記載のプラグアンドプレイ伝送装置。
The node ID notification transmission process includes:
3. The plug and play transmission apparatus according to claim 2, comprising a node ID notification including a VLAN tag and a node ID notification not including a VLAN tag.
前記VLANタグを含むノードID通知は、
VIDが異なる複数のノードID通知を含むことを特徴とする請求項3に記載のプラグアンドプレイ伝送装置。
The node ID notification including the VLAN tag is:
The plug-and-play transmission apparatus according to claim 3, further comprising a plurality of node ID notifications having different VIDs.
前記ノードID重複通知送信処理は、
受信したノードID通知と同じ形式に従って、ノードID重複通知を送信することを特徴とする請求項2に記載のプラグアンドプレイ伝送装置。
The node ID duplication notification transmission process includes:
The plug-and-play transmission apparatus according to claim 2, wherein a node ID duplication notification is transmitted according to the same format as the received node ID notification.
前記ノードID通知送信処理は、
既定の形式に従って、ノードID通知を送信することを特徴とする請求項2に記載のプラグアンドプレイ伝送装置。
The node ID notification transmission process includes:
The plug-and-play transmission apparatus according to claim 2, wherein the node ID notification is transmitted according to a predetermined format.
前記ノードID重複検出部は、
一定時間以内にノードID重複通知を受信していると判断した場合、前記ポートの閉鎖を指示することを特徴とする請求項2に記載のプラグアンドプレイ伝送装置。
The node ID duplication detection unit
3. The plug and play transmission apparatus according to claim 2, wherein when it is determined that a node ID duplication notification is received within a predetermined time, the port is instructed to be closed.
前記ノードID重複検出部は、
ノードID重複通知送信処理を行った場合、前記ポートの閉鎖を指示することを特徴とする請求項2に記載のプラグアンドプレイ伝送装置。
The node ID duplication detection unit
The plug-and-play transmission apparatus according to claim 2, wherein when the node ID duplication notification transmission process is performed, the port is instructed to be closed.
前記ノードID重複検出部は、
マルチキャストアドレス宛にノードID通知を送信することを特徴とする請求項4に記載のプラグアンドプレイ伝送装置。
The node ID duplication detection unit
5. The plug and play transmission apparatus according to claim 4, wherein a node ID notification is transmitted to a multicast address.
前記ノードID重複検出部は、
ブロードキャストアドレス宛にノードID通知を送信することを特徴とする請求項4に記載のプラグアンドプレイ伝送装置。
The node ID duplication detection unit
5. The plug and play transmission apparatus according to claim 4, wherein a node ID notification is transmitted to a broadcast address.
JP2016119518A 2016-06-16 2016-06-16 Plug and play transmission device Active JP6675938B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016119518A JP6675938B2 (en) 2016-06-16 2016-06-16 Plug and play transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016119518A JP6675938B2 (en) 2016-06-16 2016-06-16 Plug and play transmission device

Publications (2)

Publication Number Publication Date
JP2017225016A true JP2017225016A (en) 2017-12-21
JP6675938B2 JP6675938B2 (en) 2020-04-08

Family

ID=60688545

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016119518A Active JP6675938B2 (en) 2016-06-16 2016-06-16 Plug and play transmission device

Country Status (1)

Country Link
JP (1) JP6675938B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003008585A (en) * 2001-04-20 2003-01-10 Toshiba Corp Communication controller and communication control method, and communication apparatus and communication method
JP2003209551A (en) * 2002-01-15 2003-07-25 Toshiba Kyaria Kk Network address management method
JP2005217976A (en) * 2004-01-30 2005-08-11 Canon Inc Electronic equipment and control method thereof
US20060056408A1 (en) * 2004-08-28 2006-03-16 Samsung Electronics Co., Ltd. Method and device for universal plug and play communications
JP2006166083A (en) * 2004-12-08 2006-06-22 Mitsubishi Electric Corp Network system
JP2008193600A (en) * 2007-02-07 2008-08-21 Hitachi Kokusai Electric Inc Information transmitting apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003008585A (en) * 2001-04-20 2003-01-10 Toshiba Corp Communication controller and communication control method, and communication apparatus and communication method
JP2003209551A (en) * 2002-01-15 2003-07-25 Toshiba Kyaria Kk Network address management method
JP2005217976A (en) * 2004-01-30 2005-08-11 Canon Inc Electronic equipment and control method thereof
US20060056408A1 (en) * 2004-08-28 2006-03-16 Samsung Electronics Co., Ltd. Method and device for universal plug and play communications
CN101006686A (en) * 2004-08-28 2007-07-25 三星电子株式会社 Method and device for universal plug and play communications
JP2008510413A (en) * 2004-08-28 2008-04-03 サムスン エレクトロニクス カンパニー リミテッド Universal plug and play communication method and apparatus
JP2006166083A (en) * 2004-12-08 2006-06-22 Mitsubishi Electric Corp Network system
JP2008193600A (en) * 2007-02-07 2008-08-21 Hitachi Kokusai Electric Inc Information transmitting apparatus

Also Published As

Publication number Publication date
JP6675938B2 (en) 2020-04-08

Similar Documents

Publication Publication Date Title
EP3474498B1 (en) Hash-based multi-homing
EP2282453B1 (en) Routing frames in a shortest path computer network for a multi-homed legacy bridge node
EP2226973B1 (en) Routing of frames in a TRILL network using VLAN identifiers
US9338052B2 (en) Method and apparatus for managing the interconnection between network domains
US8644134B2 (en) Dual-homing for ethernet line services
US8804713B2 (en) Method and system for forwarding data in layer-2 network
US8630167B2 (en) Distributed failure recovery in a routed ethernet network
JP4880761B2 (en) Data provision method
US10291434B2 (en) Multi-destination packet forwarding for a multi-homed device in a virtual network
US8467316B1 (en) Enhanced address learning in layer two computer networks
US8451715B1 (en) Avoiding data loss in a multi-homed layer two bridging network
CN112671642A (en) Message forwarding method and device
JP5678678B2 (en) Provider network and provider edge device
JP5522071B2 (en) Edge relay device, edge relay device redundancy system, wide area network system, and frame transfer method for edge relay device
JP6675938B2 (en) Plug and play transmission device
Cisco set fddi alarm through set logout
JP5541528B2 (en) Frame relay apparatus, frame relay method, ring network system, and super ring network system
JP4201270B2 (en) Bridge device, loop detection method and program
JP6356045B2 (en) Relay system and switch device
Eastlake 3rd et al. Transparent interconnection of lots of links (TRILL): Clarifications, corrections, and updates
Eastlake 3rd et al. RFC 7780: Transparent Interconnection of Lots of Links (TRILL): Clarifications, Corrections, and Updates
Cost et al. Spanning tree protocol
JP2010283679A (en) Layer-2 node redundancy system and method
JP2015136079A (en) Communication node device and network system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181116

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190823

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190924

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191007

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20191007

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200212

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200311

R151 Written notification of patent or utility model registration

Ref document number: 6675938

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250