JP2006166083A - Network system - Google Patents
Network system Download PDFInfo
- Publication number
- JP2006166083A JP2006166083A JP2004355308A JP2004355308A JP2006166083A JP 2006166083 A JP2006166083 A JP 2006166083A JP 2004355308 A JP2004355308 A JP 2004355308A JP 2004355308 A JP2004355308 A JP 2004355308A JP 2006166083 A JP2006166083 A JP 2006166083A
- Authority
- JP
- Japan
- Prior art keywords
- node
- setting information
- backup
- setting
- acquisition request
- 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
Links
- 230000005540 biological transmission Effects 0.000 claims abstract description 79
- 238000004891 communication Methods 0.000 claims description 10
- 238000012544 monitoring process Methods 0.000 claims 3
- 230000010365 information processing Effects 0.000 claims 1
- 238000000034 method Methods 0.000 abstract description 18
- 239000000284 extract Substances 0.000 abstract description 3
- 238000012545 processing Methods 0.000 description 40
- 238000010586 diagram Methods 0.000 description 2
- 230000001105 regulatory effect Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000007257 malfunction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000011112 process operation Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
Description
本発明は、ローカルエリアネットワーク(LAN)などのネットワークシステムに係り、特には、当該ネットワークシステムを構成する伝送装置の交換時に、新たに接続される伝送装置に対して交換前の伝送装置が保有していた設定情報の全てを自動的に付与できるようにするための技術に関する。 The present invention relates to a network system such as a local area network (LAN), and in particular, when a transmission apparatus constituting the network system is replaced, the transmission apparatus before replacement possesses the newly connected transmission apparatus. The present invention relates to a technique for automatically giving all of the set information.
一般に、ネットワークシステムにおいては、伝送制御を行う伝送装置(以下、ノードという)を伝送路を介して互いに接続してネットワークを構成してデータ通信を行っているが、このようなデータ通信を可能とするためには、各ノードに対してデータ通信に必要な各種の情報を予め設定しておく必要がある。 In general, in a network system, transmission apparatuses (hereinafter referred to as nodes) that perform transmission control are connected to each other via a transmission line to form a network and perform data communication. However, such data communication is possible. In order to do this, it is necessary to previously set various information necessary for data communication for each node.
その場合の設定情報としては、例えば、各ノードを特定するためのノードID、各ノードが備える各通信ポートを識別するためのIPアドレス、伝送路の選択範囲を規制するためのOSPFやRIPといったルーティングプロトコルの設定、仮想LAN(VLAN)のように特定のグループ間での通信を許可するグループ属性の設定などがある。 As setting information in that case, for example, a node ID for identifying each node, an IP address for identifying each communication port provided in each node, a routing such as OSPF or RIP for regulating the selection range of the transmission path There are protocol settings, group attribute settings for allowing communication between specific groups such as virtual LAN (VLAN), and the like.
ところで、上記のネットワークシステムを構成するノードの一つが故障したときにはノードの交換が必要となる。その際、交換後のノードが他のノードと通信可能となるためには、交換後のノードに対して交換前のノードと同じノードID、IPアドレス等の設定情報を付与する必要がある。 By the way, when one of the nodes constituting the network system fails, the node needs to be replaced. At that time, in order for the node after the exchange to be able to communicate with other nodes, it is necessary to give the same information as the node ID, IP address, etc., to the node after the exchange.
この場合、交換により新規参入するノードに対して、人手で設定情報の付与作業を行う場合には、その作業のために余分な時間がかかるばかりでなく、設定入力する情報の数が多いので設定ミスが発生し易く、その結果、交換後のノードが誤動作する恐れがある。 In this case, when setting information is manually assigned to a node that newly enters through replacement, not only does it take extra time for the work, but also the number of information to be input is set. Mistakes are likely to occur, and as a result, the replaced node may malfunction.
そのための対策の一つとして、従来技術では、ネットワークシステムにおいて、空きアドレス検索やアドレスファイルの自動更新を行うアドレスサーバと、端末からのRARPパケットを受けて上記のアドレスサーバへアドレス付与要求を行うRARPサーバとを設けたものが提案されている(例えば、特許文献1参照)。 As a countermeasure for this, in the prior art, in a network system, an address server that performs free address search and address file automatic update, and an RARP that receives an RARP packet from a terminal and makes an address assignment request to the address server. A server provided with a server has been proposed (see, for example, Patent Document 1).
そして、この従来技術では、端末がネットワーク内で移動されたり新設されたりしたときには、端末からのRARPパケットを受けたRARPサーバが、アドレスサーバに対してアドレス付与要求を行い、これに応じてアドレスサーバが空きアドレス検索を行って未使用のIPアドレスを選び出し、このIPアドレスを端末に送信することにより、端末にIPアドレスを自動的に設定できるようにして、IPアドレスの設定の手間が省けるようにしている。 In this prior art, when the terminal is moved in the network or newly established, the RARP server that has received the RARP packet from the terminal makes an address assignment request to the address server, and in response thereto, the address server Performs a free address search, selects an unused IP address, and transmits this IP address to the terminal so that the IP address can be automatically set to the terminal, thereby saving the trouble of setting the IP address. ing.
このように、上記の特許文献1に記載されている従来技術のものは、プラグアンドプレイ(以下、PnPと表記する)方式により各端末にIPアドレスを自動的に設定することが可能であるものの、IPアドレス以外の設定、例えば、ノードID、ルーティングプロトコルの設定、グループ属性といった各種の設定を自動的に行うことができない。このため、IPアドレス以外の設定は人手で行わねばならず、依然として人手がかかることになる。
As described above, the prior art described in
また、アドレスサーバは、未使用の空きアドレスを検索する方式であるため、アドレスファイルを拡張したとしても、ノードを交換したときには交換後のノードに対して新規なIPアドレスが付与されてしまい、交換前のノードが保有していたのと同じIPアドレスを設定することができないといった問題もある。 In addition, since the address server is a method of searching for unused free addresses, even if the address file is expanded, when a node is replaced, a new IP address is assigned to the replaced node, and the replacement is performed. There is also a problem that the same IP address that the previous node has cannot be set.
本発明は、上記のような課題を解決するためになされたものであり、ノードの交換時において、新規参入されるノードに対して交換前のノードが保有していた設定情報の全てをPnP方式により自動的に付与できるようにして、情報設定の作業ミスの発生を無くすとともに、設定情報の付与作業の労力を削減することが可能なネットワークシステムを提供することを目的とする。 The present invention has been made in order to solve the above-described problems. When a node is replaced, all of the setting information held by the node before replacement with respect to a newly entered node is converted into the PnP method. It is an object of the present invention to provide a network system that can be automatically assigned in order to eliminate an error in setting information and to reduce labor for setting information.
本発明は、上記の目的を達成するために、複数の伝送装置が伝送路を介して互いに接続されて構成されたネットワークシステムにおいて、次の構成を採用している。 In order to achieve the above object, the present invention employs the following configuration in a network system in which a plurality of transmission apparatuses are connected to each other via a transmission line.
すなわち、本発明において、各伝送装置は、通信に必要な設定情報が格納される設定情報格納手段と、自己の設定情報を予め所有している場合には一定周期で他の伝送装置に対してバックアップ用の設定情報の取得要求を出力するバックアップ用取得要求手段と、自己の設定情報が全く存在しない場合には他の伝送装置に対して自己の設定情報の取得要求を出力するプラグアンドプレイ用取得要求手段と、このプラグアンドプレイ用取得要求手段により他の伝送装置に対して出力した設定情報の取得要求に応じて他の伝送装置から送信されてきた設定情報を取得して上記設定情報格納手段に登録する設定情報取得手段と、他の伝送装置からのバックアップ用の設定情報の取得要求に対して該当する設定情報を自己が保有している場合には、当該設定情報を取得要求元の伝送装置に送信する設定情報送信手段と、上記バックアップ用設定情報取得要求手段により一定周期で出力されるバックアップ用の設定情報の取得要求に応じて他の伝送装置から順次送信される設定情報を全て収集して上記設定情報格納手段に登録するバックアップ手段とを備えている。 That is, in the present invention, each transmission device has setting information storage means for storing setting information necessary for communication, and other transmission devices with a fixed period when own setting information is previously owned. Backup acquisition request means for outputting a setting information acquisition request for backup, and plug-and-play for outputting its own setting information acquisition request to another transmission apparatus when no own setting information exists Acquiring the setting information transmitted from the other transmission device in response to the acquisition request for the setting information output to the other transmission device by the acquisition request unit and the acquisition request unit for plug and play, and storing the setting information If you have the setting information acquisition means to be registered in the means and the corresponding setting information in response to a backup setting information acquisition request from another transmission device, Setting information transmitting means for transmitting the setting information to the transmission request source transmission apparatus, and sequentially from other transmission apparatuses in response to the backup setting information acquisition request output at a fixed period by the backup setting information acquisition request means. And backup means for collecting all of the transmitted setting information and registering it in the setting information storage means.
本発明によれば、ノードの交換時において、新規参入されるノードに対して予めノードIDのみを設定して設定情報の取得要求をバックアップ用のノードに送信すると、これに応じてバックアップ用のノードは、送信元のノードIDに対応した設定情報を抜き出して設定情報を送信するので、新たに接続されるノードは交換前のノードが保有していた各種の設定情報の全てをPnP方式により自動的に取得することができる。このため、従来に比べて情報設定の作業ミスの発生を無くすことができるとともに、設定情報の付与作業の労力を大幅に削減することが可能になる。 According to the present invention, when a node is exchanged, when only a node ID is set in advance for a newly entered node and a setting information acquisition request is transmitted to the backup node, the backup node is Extracts the setting information corresponding to the node ID of the transmission source and transmits the setting information, so that the newly connected node automatically uses the PnP method for all the various setting information held by the node before replacement. Can be obtained. For this reason, it is possible to eliminate the occurrence of an error in setting information as compared with the conventional case, and it is possible to greatly reduce the labor of setting information.
以下、本発明をIEEE802.17のRPR(Resilient Packet Ring)仕様のLANシステムに適用した場合の実施の形態について説明する。 An embodiment in which the present invention is applied to a LAN system of IEEE 802.17 RPR (Resilient Packet Ring) specification will be described below.
実施の形態1.
図1は本発明のRPR仕様のLANシステムの構成図である。
この実施の形態1のLANシステムは、4つのノード1A、1B、1C,1Dを備え、各ノード1A〜1Dは光ファイバ等の伝送路3を介して互いにループ状に接続されてネットワークが構成されている。
FIG. 1 is a configuration diagram of an RPR LAN system according to the present invention.
The LAN system according to the first embodiment includes four
各ノード1A〜1Dは、基本的に同じ構成を有しており、通信に必要な各種の設定情報を格納する半導体メモリ等の記憶媒体2A〜2Dを備えるとともに、図示しないデップスイッチ等によって自己を固有識別できるノードIDをハードウェア的に設定できるようになっている。
Each of the
そして、交換により新規参入されるようなノードを除けば、伝送路3に接続されている各ノード1A〜1Dの記憶媒体2A〜2Dには、自己のノードに関する設定情報が予め登録されている。この場合の自己のノードに関する設定情報としては、自己のノードを識別するためのノードID、通信ポートを識別するためのIPアドレス、伝送路の選択範囲を規制するためのルーティングプロトコル、仮想LANのように特定のグループ間での通信を許可するグループ属性の設定などがある。
Then, except for nodes that are newly entered by exchange, setting information related to the own node is registered in advance in the
さらに、一つのノード(ここでは1A)の記憶媒体2Aには、他のノード1B〜1Dの設定情報をバックアップするために、自己の設定情報に加えて他のノード1B〜1Dの設定情報も記憶されている。以下、このように各ノード1A〜1Dの設定情報を全て保持しているノードをバックアップノードと称する。また、バックアップノードと区別するため自己の設定情報のみを保持しているノードを通常ノードと称する。
Further, in order to back up the setting information of the other nodes 1B to 1D, the setting information of the other nodes 1B to 1D is also stored in the
また、IEEE802.17のRPR(Resilient Packet Ring)仕様のLANシステムにおいては、各ノード1A〜1Dは、次の手順が決められている。
In the LAN system of IEEE 802.17 RPR (Resilient Packet Ring) specification, the following procedure is determined for each of the
(1) バックアップノードは特定のノードが最初から確定されているのではなく、一定の条件が整えば、各ノード1A〜1Dの内のいずれのノードもバックアップノードとなり得る。そこで、電源投入後の一定時間T1内に一つのノードが立ち上がった場合には、その最初に立ち上がったノードがバックアップノードとなるべく動作を開始する。
(1) A specific node is not determined from the beginning as a backup node. Any node among the
(2) また、一定時間T1内に複数のノードが同時に立ち上がった場合には、複数のノードの間の競合を防いで一つのノードがバックアップノードとして選定されるように、各ノードに対して優先順位が予め付与されている。 (2) In addition, when a plurality of nodes are started up at the same time within a predetermined time T1, priority is given to each node so that one node is selected as a backup node while preventing contention between the plurality of nodes. A rank is assigned in advance.
(3) あるノードが自己の設定情報を入手するための設定取得要求を他のノードに出力する場合、当該要求はネットワークにブロードキャストで送信され、また、あるノードが上記の設定取得要求に応じた設定取得応答を出力する場合、当該応答は送信元ノードが認識できるようにするためにユニキャストで送信される。 (3) When a node obtains a setting acquisition request for acquiring its own setting information to another node, the request is transmitted to the network by broadcast, and a certain node responds to the setting acquisition request. When outputting the setting acquisition response, the response is transmitted by unicast so that the transmission source node can recognize it.
(4) また、上記の設定取得要求や設定取得応答には送信元ノードが特定できるようにするために、受信側に対して自己のノードIDを付加して送信する。また、後述のハッシュ値を送信する場合にも送信元ノードが特定できるように自己のノードIDを付加して送信する。 (4) Further, in order to enable the transmission source node to be specified in the above setting acquisition request and setting acquisition response, the node ID is transmitted to the receiving side. Also, when transmitting a hash value, which will be described later, the node ID is added and transmitted so that the transmission source node can be identified.
(5) 設定情報は、送信側と受信側とでリンクが確立したときにファイル・トランスファ・プロトコル(File Transfer Protocol、以下FTPと表記する)を利用して行う。 (5) The setting information is performed using a file transfer protocol (hereinafter referred to as FTP) when a link is established between the transmission side and the reception side.
次に、上記構成を備えたLANシステムにおける各ノード1A〜1Dの動作について図2ないし図4に示すフローチャートを参照して説明する。なお、以降のフローチャートにおいて、符号Sは各処理ステップを意味する。
Next, the operation of each of the
図2はLANシステムの電源投入後から定常状態に移行するまでの一定時間T1内に複数のノードが立ち上がった場合の各ノードの処理動作を示すフローチャートである。 FIG. 2 is a flowchart showing the processing operation of each node when a plurality of nodes are started up within a predetermined time T1 from when the LAN system is turned on until the LAN system shifts to a steady state.
また、図3はLANシステムの電源投入から一定時間T1が経過して各ノード1A〜1Dが定常状態に移行した後において、各ノード1A〜1Dの内からある一つのノードがバックアップノードとして確定されるまでの各ノード1A〜1Dの処理動作を示すフローチャートである。
FIG. 3 shows that after a certain time T1 has elapsed since the power-on of the LAN system and each
さらに、図4は、一つのノード(ここでは1Aとする)がバックアップノードとして確定された後、ある一つの通常ノード(ここでは1Dとする)が故障等により交換する必要が生じた場合に、新規参入されるノードの処理動作と、そのときのバックアップノードの処理動作とを説明するためのフローチャートである。 Furthermore, FIG. 4 shows that when one node (here 1A) is determined as a backup node and one normal node (here 1D) needs to be replaced due to a failure or the like, It is a flowchart for demonstrating the processing operation of the node newly entered, and the processing operation of the backup node at that time.
図2において、LANシステムの電源投入後から定常状態に移行するまでの一定時間T1内には各ノードの内、いずれのノードがバックアップノードとなるかは未だ確定していない。このため、まず、LANシステムに電源が投入されて、少なくとも2つのノードが立ち上がるまで一定時間T0待機した後(S101)、それぞれに立ち上がったノードは、他のノードから設定取得要求を受信したか否かを判定する(S102)。 In FIG. 2, it is not yet determined which of the nodes will be the backup node within a certain time T1 from when the LAN system is turned on until the LAN system shifts to the steady state. For this reason, first, after the LAN system is powered on and waits for a predetermined time T0 until at least two nodes start up (S101), each of the nodes that have started up has received a setting acquisition request from another node. Is determined (S102).
一定時間T0待機しても他のノードから設定取得要求を受信しなかった場合は、自己がバックアップノードとなるべく、他のノードに対して設定取得要求をブロードキャストで送信する(S104)。そして、この設定取得要求を送信後は、他のノードからの応答の有無を判定し(S105)、他のノードからの応答があった場合は、一番初めに応答のあったノードからFTPで設定情報を取得する(S106)。この場合、送信元のノードから送信される設定情報には送信元のノードIDが含まれているので、受信した設定情報をノードIDと関連付けて記憶媒体に保存する。 If the setting acquisition request is not received from another node even after waiting for a predetermined time T0, the setting acquisition request is broadcasted to other nodes so that the node can become a backup node (S104). Then, after transmitting this setting acquisition request, it is determined whether or not there is a response from another node (S105). Setting information is acquired (S106). In this case, since the setting information transmitted from the transmission source node includes the transmission source node ID, the received setting information is stored in the storage medium in association with the node ID.
一方、S102において、他のノードから設定取得要求を受信した場合には、自己が通常ノードとなるべく、設定取得要求があった送信元のノードに向けてユニキャストで設定取得応答を送信する(S103)。 On the other hand, if a setting acquisition request is received from another node in S102, a setting acquisition response is transmitted by unicast to the transmission source node that has made the setting acquisition request so that the node can become a normal node (S103). ).
図3は電源投入から一定時間T1が経過して各ノードが定常状態に移行した後の状態の処理動作であり、図3(a)は、通常ノードとなるノードの処理動作、ならびに電源投入から一定時間T1内に複数のノードが並行してバックアップノードとなるべく動作した際に、両ノードの競合を防ぐために一つのノードのみをバックアップノードとして確定させるための処理動作を示している。また、図3(b)は各ノードの内からある一つのノード(ここでは1A)がバックアップノードとして確定されるまでの処理動作、ならびにバックアップノードとして確定された後に電源断等によって動作しなくなった場合に今迄通常ノードとして動作していたノードがバックアップノードとなるための処理動作を示している。 FIG. 3 is a processing operation in a state after a certain time T1 has elapsed from the power-on and each node has shifted to a steady state. FIG. 3A shows a processing operation of a node that becomes a normal node and the power-on. A processing operation for determining only one node as a backup node in order to prevent conflict between both nodes when a plurality of nodes operate as backup nodes in parallel within a certain time T1 is shown. FIG. 3B shows a processing operation until one of the nodes (here, 1A) is determined as a backup node, and the operation is stopped due to a power failure after the node is determined as a backup node. In this case, a processing operation for a node that has been operating as a normal node until now to become a backup node is shown.
図3(b)に示すように、電源投入から一定時間T1が経過して定常状態に移行した各ノードは、上記時間T1内に自ら設定取得要求を送信したかを判定する(S121)。一定時間T1内に既に設定取得要求を送信している場合には、そのノードはバックアップノードとなるべく、さらに、設定取得要求を送信してから一定時間T2が経過したか否か判定する(S122)。これは他のノードからの設定取得要求に対する応答を待つためである。 As shown in FIG. 3B, each node that has shifted to a steady state after a lapse of a certain time T1 since power-on determines whether or not it has transmitted a setting acquisition request within the time T1 (S121). If the setting acquisition request has already been transmitted within the predetermined time T1, the node further becomes a backup node, and it is further determined whether or not the predetermined time T2 has elapsed since the setting acquisition request was transmitted (S122). . This is to wait for a response to a setting acquisition request from another node.
S122で一定時間T2が経過している場合には、続いて無条件で設定取得要求を他のノードに向けてブロードキャストで送信する(S123)。そして、他のノードから設定取得要求に対する応答があった場合には(S124)、その応答のあった送信元のノードからFTPで設定情報を取得してこれを記憶媒体に登録する(S125)。その後はステップ121に戻る。これにより、バックアップノードとなるべきノードは、設定取得要求を他のノードに向けて一定周期で繰り返し出力することにより、他のノードの設定情報を順次収集する。そして、他のノードの設定情報を全て収集すると、当該ノードは最終的にバックアップノードとして確定される。 If the predetermined time T2 has elapsed in S122, then a setting acquisition request is broadcast unconditionally to other nodes (S123). Then, when there is a response to the setting acquisition request from another node (S124), the setting information is acquired by FTP from the source node that has made the response, and is registered in the storage medium (S125). Thereafter, the process returns to step 121. As a result, the node to be the backup node sequentially collects the setting information of the other nodes by repeatedly outputting the setting acquisition request to the other nodes at a constant period. When all the setting information of other nodes is collected, the node is finally determined as a backup node.
また、上記のようにして一つのノードがバックアップノードとして確定されれば、このバックアップノードは、引き続いてS121〜S125の動作を繰り返すことで、各ノード1A〜1Dの設定情報を順次取得できるため、その記憶媒体に登録される各ノード1A〜1Dの設定情報が定期的に更新されることになる。
If one node is determined as a backup node as described above, the backup node can sequentially acquire the setting information of each
ところで、S121で一定時間T1内に設定取得要求を送信していないノードは、通常ノードとなるべく動作を開始し、まず、一定時間T3内に他のノードからの設定取得要求を受信したか否かを判定する(S126)。このとき、一定時間T3内に他のノードからの設定取得要求を受信した場合には、図3(a)の動作に移行する。 By the way, the node that has not transmitted the setting acquisition request within the predetermined time T1 in S121 starts to operate as a normal node, and first, whether or not the setting acquisition request from another node is received within the predetermined time T3. Is determined (S126). At this time, when a setting acquisition request is received from another node within a predetermined time T3, the process proceeds to the operation of FIG.
S126で一定時間T3内に他のノードからの設定取得要求を受信していない場合は、バックアップノードとなるべきノードが電源断等で設定取得要求を一定周期で出力することが不可能になったと見なせるので、自己がバックアップノードとなるべく設定取得要求を他のノードに向けてブロードキャストで送信する(S123)。そして、他のノードからこの設定取得要求に対する応答があった場合には(S124)、その応答のあった送信元のノードからFTPで設定情報を取得してこれを記憶媒体に登録する(S125)。その後はS121に戻る。 If the setting acquisition request from another node is not received within the predetermined time T3 in S126, it is impossible for the node to be the backup node to output the setting acquisition request at a predetermined cycle due to power interruption or the like. Since it can be considered, the setting acquisition request is transmitted by broadcast to other nodes as much as possible as a backup node (S123). When there is a response to this setting acquisition request from another node (S124), setting information is acquired by FTP from the source node that has made the response and is registered in the storage medium (S125). . Thereafter, the process returns to S121.
このように、バックアップノードとなるべきノードが電源断等に起因して一定時間内に設定取得要求を出力できなくなった場合には、替わりのノードがバックアップノードとなるべく設定取得要求を他のノードに向けて一定周期で繰り返し出力することにより、他のノードの設定情報を順次収集することができる。 In this way, when a node that should be a backup node cannot output a setting acquisition request within a certain time due to a power failure or the like, a replacement node can send a setting acquisition request to another node as much as possible. By repeating the output at a constant cycle, setting information of other nodes can be collected sequentially.
また、ある一つのノードがバックアップノードとして確定した後において、S121〜S126の動作を繰り返すことで、バックアップノードが故障して他のノードに設定取得要求を出力できなくなったときに、残りのノードの内からバックアップノードを自動的に新たに生成することができる。 Further, after a certain node is determined as a backup node, the operations of S121 to S126 are repeated, so that when the backup node fails and a setting acquisition request cannot be output to another node, the remaining nodes A backup node can be automatically created from within.
一方、図3(a)に示すように、各ノードは、電源投入から一定時間T1が経過して定常状態に移行した後、一定時間T1内に他のノードからの設定取得要求を受信すると(S111)、自己が一定時間T1内に設定取得要求を送信したか否かを判定する(S112)。 On the other hand, as shown in FIG. 3A, each node receives a setting acquisition request from another node within a certain time T1 after a certain time T1 has elapsed since power-on and has shifted to a steady state ( S111), it is determined whether or not it has transmitted a setting acquisition request within a predetermined time T1 (S112).
ここで、自己のノードが一定時間T1内に設定取得要求を送信していない場合、当該ノードは通常ノードとなるべく、次に、一定時間T4内にバックアップノードとなるべきノードとの間でリンクが確立しているか否かを判定する(S113)。このとき、バックアップノードとなるべきノードとの間でリンクが確立済みならば、設定取得応答を送信することなくそのまま放置する。これにより、当該ノードは通常ノードとして確定される。 If the node does not transmit a setting acquisition request within a certain time T1, the node should become a normal node, and then a link is established with a node that should become a backup node within the certain time T4. It is determined whether it has been established (S113). At this time, if a link has been established with the node to be the backup node, the setting acquisition response is not sent and left as it is. Thereby, the node is determined as a normal node.
S113で一定時間T4内にバックアップノードとなるべきノードとの間で未だリンクが確立していない場合には、設定取得応答を送信してリンクを確立する(S114)。この結果、当該ノードは通常ノードとして確定される。その後はS111に戻る。 If a link has not yet been established with the node to be the backup node within the predetermined time T4 in S113, a setting acquisition response is transmitted to establish the link (S114). As a result, the node is determined as a normal node. Thereafter, the process returns to S111.
このように、S113およびS114の処理を行うことにより、バックアップノードとなるべきノードに対して特定のノードのみが設定取得応答を返すことが繰り返される結果、バックアップノードとなるべきノードが、全てのノードから設定情報を収集できなくなるといった不都合が生じるのを防ぐことができる。 As described above, by performing the processes of S113 and S114, it is repeated that only a specific node returns a setting acquisition response to the node that is to become the backup node. Therefore, it is possible to prevent the occurrence of inconvenience that the setting information cannot be collected.
一方、S111で他のノードからの設定取得要求を受信しているのにもかかわらず、S112において自己が設定取得要求を送信している場合には、電源投入から一定時間T1内に複数のノードがバックアップノードとなるべく同時に立ち上がっている可能性がある。そして、この場合には、複数のノード間の競合を防いで一つのノードだけがバックアップノードとして選定されるようにする必要がある。 On the other hand, when the setting acquisition request is transmitted in S112, even though the setting acquisition request is received from another node in S111, a plurality of nodes are transmitted within a certain time T1 from power-on. May have started up at the same time as a backup node. In this case, it is necessary to prevent competition between a plurality of nodes and select only one node as a backup node.
そのため、設定取得要求のあった送信元ノードのノードIDと自身のノードIDの優先順位を比較し(S115)、自己のノードIDの方が設定取得要求のあった送信元ノードのノードIDよりも順位が高いか否かを判定する(S116)。この判定の結果、自己のノードIDの方が設定取得要求のあった送信元ノードのノードIDよりも順位が高かった場合には、自己がバックアップノードとなるべく、設定取得要求をネットワークの各ノードに向けてブロードキャストで送信する(S117)。 Therefore, the priority order of the node ID of the transmission source node that has made the setting acquisition request is compared with the priority order of its own node ID (S115), and its own node ID is more than the node ID of the transmission source node that has made the setting acquisition request. It is determined whether or not the rank is high (S116). As a result of this determination, if the node ID of the node is higher than the node ID of the transmission source node that requested the setting acquisition, the setting acquisition request is sent to each node of the network so that the node can be a backup node. Transmitting by broadcast (S117).
これに対して、S116で自己のノードIDの方が設定取得要求のあった送信元ノードのノードIDよりも順位が低かった場合には、自己が通常ノードとなるべく、一定時間T4内にバックアップノードとなるべきノードとの間でリンクが確立しているか否かを判定する(S113)。このとき、バックアップノードとなるべきノードとの間でリンクが確立済みならば、設定取得応答を送信することなくそのまま放置することで当該ノードは通常ノードとして確定される。 On the other hand, if the order of the node ID of the own node is lower than the node ID of the transmission source node that requested the setting acquisition in S116, the backup node within a certain time T4 so that it can become a normal node. It is determined whether or not a link has been established with a node that should become (S113). At this time, if a link has been established with the node to be the backup node, the node is determined as a normal node by leaving it as it is without transmitting a setting acquisition response.
このように、この実施の形態1では、ネットワークに接続されたノード1A〜1Dの中から全ての設定情報を保存するバックアップノードを自動的に生成して確定することができる。また、バックアップノードは、一定周期で設定取得要求を通常ノードに送信することで自己が保存している設定情報を定期的に更新することができる。さらに、バックアップノードが潰れても、残りのノードの内からバックアップノードを自動的に新たに生成することができる。
As described above, in the first embodiment, a backup node that stores all setting information can be automatically generated and determined from the
図4は一つのノードがバックアップノードとして確定された後、ある一つの通常ノードが故障等により交換する必要が生じた場合の処理動作であり、図4(a)は交換により新規参入されるノードの処理動作を、図4(b)はバックアップノードの処理動作をそれぞれ示している。なお、ここでは説明の便宜上、符号1Aのノードがバックアップノード、符号1Dのノードが新規参入されるノードとする。
FIG. 4 shows a processing operation when one normal node needs to be replaced due to a failure or the like after one node is determined as a backup node. FIG. 4 (a) shows a node newly entered by replacement. FIG. 4B shows the processing operation of the backup node. Here, for convenience of explanation, it is assumed that the
図4(a)に示すように、交換により新規参入されるノード1Dは、そのノードIDが交換前のノードと同じノードIDに設定された後、伝送路3に接続されて電源が投入される。
As shown in FIG. 4 (a), the node 1D newly entered by replacement is set to the same node ID as the node before replacement, and then connected to the
次に、この新規参入のノード1Dは、記憶媒体2Dに自己の設定情報が登録されているか否かを判定する(S131)。この場合、新規参入のノード1Dは、工場出荷状態では記憶媒体2Dに何ら設定情報が登録されていないので、設定情報の登録はないと判定する。
Next, the newly entered node 1D determines whether or not its own setting information is registered in the
続いて、このノード1Dは、IPアドレスの問い合わせ要求を各ノードに向けてブロードキャストで送信する(S132)。このIPアドレスの問い合わせ要求は、独自のフレーム形式のパケットを用いてもよいし、RARP(Reverse Address Resolution Protocol)要求のパケット形式のものであってもよい。 Subsequently, the node 1D broadcasts an IP address inquiry request to each node (S132). This IP address inquiry request may use a packet in a unique frame format, or may be in a packet format of a RARP (Reverse Address Resolution Protocol) request.
図4(b)に示すように、新規参入されるノード1DからのIPアドレス問い合わせ要求は、バックアップノード1Aに受信される(S141)。そして、バックアップノード1Aは、自己の記憶媒体2Aを検索してIPアドレス問い合わせ要求の送信元ノード1DのノードIDの設定登録があるか判定する(S142)。この場合、ノードIDとMACアドレスとは相関関係があり、IPアドレス問い合わせ要求元のノード1DのMACアドレスからこれに対応するノードIDを計算することで、そのノードIDに対応する設定情報が記憶媒体2Aに保有されているか否かを判定することができる。
As shown in FIG. 4B, the IP address inquiry request from the newly entered node 1D is received by the
S142において、バックアップノード1Aは、記憶媒体2AにIPアドレス問い合わせ要求の送信元ノード1DのノードIDが登録されていると判定した場合には、そのノードIDに基づいてこれに対応するIPアドレスを抜き出し(S143)、この抜き出したIPアドレスを含む問い合わせ応答を送信元のノード1Dに対してユニキャストで送信する(S144)。この場合の問い合わせ応答は、独自のフレーム形式のパケットを用いてもよいし、RARP要求のパケット形式のものであってもよい。
In S142, when the
図4(a)に戻って、新規参入されるノード1Dは、バックアップノード1AからIPアドレス問い合わせ応答があるか否かを判定する(S133)。このとき、バックアップノード1AからIPアドレス問い合わせ応答を受信した場合には、その受信した問い合わせ応答に含まれるIPアドレスを取り出して自己の記憶媒体2Dに登録する(S134)。次いで、このノード1Dは、FTPを利用してバックアップノード1Aから自己のノード1Dに対応する設定情報を取得し(S135)、これを記憶媒体2Dに登録する(S136)。
Returning to FIG. 4A, the newly entered node 1D determines whether there is an IP address inquiry response from the
このように、ノード交換時には、交換後のノード1Dは予めノードIDのみ設定して設定情報の取得要求をバックアップノード1Aに送信すればよく、これに応じてバックアップノード1Aは、送信元のノード1DのノードIDに対応した設定情報を抜き出して交換後のノード1Dに対して設定情報を送信するので、交換後のノード1Dは交換前のノードに付与された全ての設定情報を自動的に取得することができる。これによりPnP方式を実現することが可能になる。
In this way, at the time of node replacement, the node 1D after replacement only needs to set only the node ID in advance and transmit a setting information acquisition request to the
なお、上記の説明では、便宜上、バックアップノードは符号1Aのものとし、また交換される通常ノードは1Dのものとしたが、これに限定されるものでないことは勿論である。 In the above description, for the sake of convenience, the backup node is assumed to be 1A and the exchanged normal node is assumed to be 1D, but it is needless to say that the backup node is not limited to this.
実施の形態2.
この実施の形態2のLANシステムの全体構成は、図1に示した実施の形態1の場合と同様であるから詳しい説明は省略する。
The overall configuration of the LAN system of the second embodiment is the same as that of the first embodiment shown in FIG.
上記の実施の形態1では、バックアップノードより一定周期で設定取得要求を通常ノードに送信し、これに応答した通常ノードから設定情報を取得する場合について説明したが、この実施の形態2では、RPRのトポロジ・ディスカバリ機能により各ノードは他の全てのノードのノードIDを知ることができるので、この機能を利用してバックアップノードが通常ノードの設定情報を収集する際の処理時間を短縮するようにしている。 In the above-described first embodiment, the case has been described in which the setting acquisition request is transmitted from the backup node to the normal node at a constant cycle, and the setting information is acquired from the normal node in response thereto. In this second embodiment, the RPR The topology discovery function allows each node to know the node IDs of all other nodes, and this function is used to reduce the processing time when the backup node collects the normal node setting information. ing.
以下、この実施の形態2の特徴として、バックアップノードが他の通常ノードの設定情報を収集する場合の処理動作について、図5に示すフローチャートを参照して説明する。 Hereinafter, as a feature of the second embodiment, a processing operation when the backup node collects setting information of another normal node will be described with reference to a flowchart shown in FIG.
バックアップノード(ここでは便宜上1Aとする)は、トポロジ・ディスカバリ機能により各ノード1A〜1DのノードIDを監視している(S201)。
The backup node (here, 1A for convenience) monitors the node IDs of the
そして、伝送路3に接続された各ノード1A〜1DのノードIDと自己の記憶媒体2Aに予め登録されている各ノード1A〜1Dの設定情報に関連付けられたノードIDとを比較し(S202)、ノードIDが不足しているか否かを判定する(S203)。
Then, the node IDs of the
ノードIDが不足している場合には、その不足しているノードIDを有する通常ノードから設定情報を取得する必要があるため、設定取得要求をブロドキャストで送信する(S204)。そして、この設定取得要求に対して応答のあった通常ノードのノードIDと不足しているノードIDとが一致するか否かを判定する(S205)。両ノードIDが一致した場合は、設定取得応答の送信元の通常ノードからFTPで設定情報を取得する(S207)。一方、両ノードIDが一致しない場合は次の応答があるまで待機する(S208)。 If the node ID is insufficient, it is necessary to acquire setting information from the normal node having the insufficient node ID, so a setting acquisition request is transmitted by broadcast (S204). Then, it is determined whether or not the node ID of the normal node that has responded to the setting acquisition request matches the missing node ID (S205). If both node IDs match, the setting information is acquired by FTP from the normal node that is the transmission source of the setting acquisition response (S207). On the other hand, if both node IDs do not match, the process waits for the next response (S208).
このように、この実施の形態2では、バックアップノード1AはRPRの機能であるトポロジ・ディスカバリを利用して全ノードのノードIDを監視し、ノードIDが不足している場合には、不足しているノードIDに対応した通常ノードから設定情報を取得することができる。
As described above, in the second embodiment, the
したがって、実施の形態1のようにバックアップノードが設定取得要求を一定周期で通常ノードに送信し、これに応答した通常ノードから設定情報を逐次取得する場合に比較すると、バックアップノードが通常ノードから設定情報を取得する際に要する処理時間を短縮化することができる。 Therefore, as compared with the case where the backup node transmits a setting acquisition request to the normal node at a fixed period and sequentially acquires the setting information from the normal node in response to the setting acquisition request as in the first embodiment, the backup node is set from the normal node. The processing time required for acquiring information can be shortened.
実施の形態3.
この実施の形態3のLANシステムの全体構成は、図1に示した実施の形態1の場合と同様であるから詳しい説明は省略する。
The overall configuration of the LAN system of the third embodiment is the same as that of the first embodiment shown in FIG.
上記の実施の形態1,2では、バックアップノードが通常ノードに対して設定情報の取得要求を送信し、これに対して通常ノードから設定取得応答があれば直ちにその通常ノードから設定情報を取得するようにしているが、この実施の形態4では、自己のノードの設定情報をハッシュ値に変換し、このハッシュ値をバックアップノードに送信するようにし、バックアップノードは送信元の通常ノードのハッシュ値に変化があったときのみ、その通常ノードの設定情報を取得するようにして、通常ノードの設定情報の収集を一層効率化したものである。 In the first and second embodiments, the backup node transmits a setting information acquisition request to the normal node, and if there is a setting acquisition response from the normal node, the setting information is immediately acquired from the normal node. However, in the fourth embodiment, the setting information of its own node is converted into a hash value, and this hash value is transmitted to the backup node, and the backup node converts the hash value of the normal node of the transmission source. Only when there is a change, the setting information of the normal node is acquired, and the collection of the setting information of the normal node is made more efficient.
以下、この実施の形態3の特徴として、バックアップノードが他の通常ノードの設定情報を収集する場合の処理動作について、図6に示すフローチャートを参照して説明する。なお、図6(a)は通常ノードの処理動作を、図6(b)はバックアップノードの処理動作をそれぞれ示している。 Hereinafter, as a feature of the third embodiment, a processing operation when the backup node collects setting information of another normal node will be described with reference to a flowchart shown in FIG. 6A shows the processing operation of the normal node, and FIG. 6B shows the processing operation of the backup node.
まず、バックアップノード(ここでは1Aとする)は、通常ノード1B〜1Dに対して設定情報の取得要求をブロードキャストで送信する(S311)。通常ノード(例えば1B)がバックアップノード1Aからの設定情報の取得要求を受信すると(S301)、この通常ノード1Bは、まず自己の設定情報をハッシュ値に変換する(S302)。そして、図7(a)に示すように、このハッシュ値を自己のノードIDに付加して設定取得応答としてバックアップノード1Aに送信する(S303)。
First, the backup node (here, 1A) broadcasts a setting information acquisition request to the normal nodes 1B to 1D (S311). When the normal node (for example, 1B) receives the setting information acquisition request from the
バックアップノード1Aは、通常ノード1Bからの設定取得応答を受信すると(S312)、この設定取得応答に含まれる通常ノード1BのノードIDが自己の記憶媒体2Aに登録されている否かを判定する(S313)。
When receiving the setting acquisition response from the normal node 1B (S312), the
このとき、バックアップノード1Aは、送信元の通常ノード1BのノードIDが自己の記憶媒体2Aに設定登録されていないときには、この通常ノード1Bから未だ設定情報を取得していないと判断し、この通常ノード1BからFTPで新たに設定情報を取得する(S315)。そして、図7(b)に示すように、送信元の通常ノード1Bの設定情報に基づいてこれに対応するハッシュ値を算出し、このハッシュ値をノードIDを含む設定情報に関連付けて記憶媒体2Aに保存する。
At this time, when the node ID of the transmission source normal node 1B is not set and registered in the
S313で送信元ノード1BのノードIDが既に自己の記憶媒体2Aに設定登録されているときには、バックアップノード1Aは、設定取得応答のあった通常ノード1Bのハッシュ値と自己が予め保持しているこの通常ノード1Bに関するハッシュ値とが一致するか否かを判定する(S314)。
When the node ID of the transmission source node 1B is already set and registered in its
その際、両ハッシュ値が一致しないときには、送信元の通常ノード1Bの設定情報が変更されたと判断し、この通常ノード1Bから新たに設定情報を取得する(S315)。また、S314で両ハッシュ値が一致する場合には、送信元の通常ノード1Bの設定情報は何ら変更されていないので、当該ノード1Bの設定情報の取得、更新は行わない。
なお、ここでは便宜上、符号1Aのノードをバックアップノード、符号1Bのノードを通常ノードとして説明したが、これに限定されるものでないことは勿論である。
At this time, if the two hash values do not match, it is determined that the setting information of the normal node 1B as the transmission source has been changed, and setting information is newly acquired from this normal node 1B (S315). If both hash values match in S314, the setting information of the normal node 1B that is the transmission source has not been changed, and therefore the setting information of the node 1B is not acquired or updated.
Here, for convenience, the node denoted by
このように、この実施の形態3では、通常ノードがバックアップノードに対して行う設定取得応答にハッシュ値を含めることで、バックアップノードはこの送信元の通常ノードからのハッシュ値と自己の保有するハッシュ値と比較し、両ハッシュ値に変化があったときのみ設定情報を取得する。したがって、実施の形態1,2のように、バックアップノードが通常ノードに対して設定情報の取得要求を送信し、これに対して通常ノードから設定取得応答があれば直ちにその通常ノードから設定情報を取得する場合と比較すると、通常ノードからの設定情報の収集頻度を少なくできる。このため、伝送路3の帯域を無駄に消費するのを抑えることができる。
As described above, in the third embodiment, the hash value from the normal node of the transmission source and the hash held by the backup node are included by including the hash value in the setting acquisition response performed by the normal node with respect to the backup node. The setting information is acquired only when there is a change in both hash values. Therefore, as in the first and second embodiments, the backup node transmits a setting information acquisition request to the normal node, and if there is a setting acquisition response from the normal node, the setting information is immediately received from the normal node. Compared to the acquisition case, the collection frequency of the setting information from the normal node can be reduced. For this reason, it is possible to suppress wasteful consumption of the bandwidth of the
実施の形態4.
上記の実施の形態1〜3では、バックアップノードはLANシステムの電源投入の当初から特定されているのではなく、各ノード1A〜1Dの内で一定の条件が整ったノードがバックアップノードとして確定されるようになっている。
In the above first to third embodiments, the backup node is not specified from the beginning of the power-on of the LAN system, but a node that satisfies certain conditions among the
これに対して、この実施の形態4のLANシステムでは、図1に破線で示すように、各ノード1A〜1Dにバックアップ用モードを設定するデイップスイッチ5A〜5Dが設けられている。そして、各デイップスイッチ5A〜5Dをオンしてバックアップ用モードを設定すると、各ノード1A〜1Dは、これに応じて電源投入直後からバックアップノードとして確定されてバックアップのための所定動作を行うように構成されている。
On the other hand, in the LAN system according to the fourth embodiment, as indicated by broken lines in FIG. 1,
以下、この実施の形態4における各ノード1A〜1Dの処理動作について、図8のフローチャートを参照して説明する。ここに、図8(a)は通常ノードの処理動作、ならびに一つの通常ノードを交換した際の交換後の通常ノードが設定情報を取得するための処理動作を示している。また、図8(b)はデイップスイッチ5がオンされてバックアップ用モードが設定された場合のバックアップノードの処理動作を示している。
なお、ここでは説明の便宜上、一つのノード(例えば1A)のデイップスイッチ5Aのみがオンされてバックアップ用モードが設定されているものとする。
Hereinafter, the processing operation of each of the
Here, for convenience of explanation, it is assumed that only the
図8(a)に示すように、通常ノード(例えば1B)は、まず、自己の記憶媒体2Bに設定情報が既に登録されているか否かを判定する(S401)。設定情報が既に登録されている場合には、設定情報の変更があるか否かを判定する(S402)。このとき、設定情報の変更がある場合には、自己の設定情報をハッシュ値に変換し(S404)、このハッシュ値を自己のノードIDに付加してハッシュ値通知としてネットワークに向けてブロードキャストで送信する(S405)。 As shown in FIG. 8A, the normal node (for example, 1B) first determines whether the setting information is already registered in its own storage medium 2B (S401). If the setting information has already been registered, it is determined whether there is a change in the setting information (S402). At this time, if there is a change in the setting information, it converts its own setting information into a hash value (S404), adds this hash value to its own node ID, and broadcasts it to the network as a hash value notification. (S405).
S402で自己の設定情報の変更がなくても、S403でハッシュ値が未送信であれば、同様に自己の設定情報をハッシュ値に変換し(S404)、このハッシュ値を自己のノードIDに付加してハッシュ値通知としてネットワークに向けてブロードキャストで送信する(S405)。これに対して、S402で自己の設定情報の変更がなく、かつS403でハッシュ値を既に送信している場合には、ハッシュ値通知は送信しない。 Even if there is no change in the self setting information in S402, if the hash value is not transmitted in S403, the self setting information is similarly converted into a hash value (S404), and this hash value is added to the self node ID. Then, it is broadcasted as a hash value notification to the network (S405). On the other hand, if there is no change in the setting information of its own in S402 and the hash value has already been transmitted in S403, the hash value notification is not transmitted.
また、S401で通常ノード1Bにおいて、記憶媒体2Bに自己の設定情報が全く登録されていない場合には、このノード1Bは、交換により新規参入されるノードであるので、バックアップノード1Aから自己の設定情報を取得して記憶媒体2Bに登録する。この場合のS406〜S410までの処理動作は、実施の形態1の説明として図4(a)で示したS132〜S136の処理動作と同じであるから、ここでは詳しい説明は省略する。 In S401, when the normal node 1B does not register its own setting information in the storage medium 2B, this node 1B is a node that is newly entered by replacement. Information is acquired and registered in the storage medium 2B. Since the processing operations from S406 to S410 in this case are the same as the processing operations from S132 to S136 shown in FIG. 4A as the description of the first embodiment, detailed description thereof is omitted here.
図8(b)に示すように、バックアップノード1Aは、通常ノード1BからノードIDにハッシュ値を付加して送信されたハッシュ値通知を受信すると(S411)、このハッシュ値通知に含まれる通常ノード1BのノードIDが自己の記憶媒体2Aに登録されている否かを判定する(S412)。
As illustrated in FIG. 8B, when the
このとき、送信元の通常ノード1BのノードIDが自己の記憶媒体2Aに設定登録されていないときには、バックアップノード1Aは、この通常ノード1Bの設定情報を未だ取得していないと判断して、この通常ノード1BからFTPで新たに設定情報を取得する(S414)。そして、送信元の通常ノード1Bの設定情報に基づいてこれに対応するハッシュ値を算出し、このハッシュ値をノードIDを含む設定情報に関連付けて記憶媒体2Aに保存する。
At this time, when the node ID of the normal node 1B of the transmission source is not set and registered in the
一方、S412で送信元ノード1BのノードIDが既に自己の記憶媒体2Aに設定登録されているときには、バックアップノード1Aは、設定取得応答のあった通常ノード1Bのハッシュ値と自己が予め保持しているこの通常ノード1Bに関するハッシュ値とが一致するか否かを判定する(S413)。
On the other hand, when the node ID of the transmission source node 1B is already set and registered in its
その際、両ハッシュ値が一致しないときには、送信元の通常ノード1Bの設定情報が変更されたと判断し、この通常ノード1Bから新たに設定情報を取得する(S414)。また、S413で両ハッシュ値が一致する場合には、送信元の通常ノード1Bの設定情報が何ら変更されていないので、当該ノード1Bの設定情報の取得、更新は行わない。
なお、ここでは説明の便宜上、バックアップノードを1A、通常ノードを1Bとして説明したがこれに限るものではなことは勿論である。
At this time, if the two hash values do not match, it is determined that the setting information of the normal node 1B of the transmission source has been changed, and new setting information is acquired from this normal node 1B (S414). If both hash values match in S413, the setting information of the normal node 1B as the transmission source is not changed at all, and the setting information of the node 1B is not acquired or updated.
For convenience of explanation, the backup node is 1A and the normal node is 1B. However, the present invention is not limited to this.
このように、この実施の形態4では、バックアップ用モード設定用のデイップスイッチ5A〜5Dを設けることで、バックアップノードが強制的に設定されるため、通常ノードは、バックアップノードに対してハッシュ値の未送信時と設定情報の変更があった場合にのみノードIDにハッシュ値を付加して送信すればよく、また、バックアップノードは、通常ノードから送られるハッシュ値通知を受信するだけでよい。したがって、実施の形態1のように、バックアップノードが他のノードに対して設定情報の取得要求を一定周期で出力する必要がないので、伝送路の帯域を無駄に消費するのを抑えることができる。
As described above, in the fourth embodiment, the backup node is forcibly set by providing the
ところで、図8(b)に示したように、バックアップノードは、通常ノードから送られるハッシュ値通知を受信するだけであり、特に設定取得要求を通常ノードに対して出力しない。このため、通常ノードからハッシュ値通知が確実に送られて来ないときには、バックアップノードは通常ノードの全て設定情報を確実に入手できない恐れがある。 By the way, as shown in FIG. 8B, the backup node only receives the hash value notification sent from the normal node, and does not particularly output a setting acquisition request to the normal node. For this reason, when the hash value notification is not reliably sent from the normal node, there is a possibility that the backup node cannot reliably obtain all the setting information of the normal node.
この対策として、例えば、図9に示すように、実施の形態2,3の処理動作を組み合わせるとよい。ここに、図9(a)は図6(a)に示した実施の形態3の通常ノードの処理動作と同じであり、また、図9(b)は図5に示した実施の形態2のバックアップノードの処理動作と同じである。 As a countermeasure, for example, as shown in FIG. 9, the processing operations of the second and third embodiments may be combined. 9A is the same as the processing operation of the normal node of the third embodiment shown in FIG. 6A, and FIG. 9B is the same as that of the second embodiment shown in FIG. This is the same as the processing operation of the backup node.
このように、実施の形態2,3の処理動作を組み合わせた場合には、RPRの機能であるトポロジ・ディスカバリによりネットワークに接続された全ノード1A〜1DのノードIDを知ることができるため、不足しているノードの設定情報を確実に取得することができ、バックアップノードが通常ノードの設定情報を収集する際の取りこぼしを防ぐことができる。
As described above, when the processing operations of the second and third embodiments are combined, the node IDs of all the
実施の形態5.
上記の実施の形態4では、各ノード1A〜1Dにバックアップ用モードを設定するデイップスイッチ5A〜5Dを設けている。したがって、各ノード1A〜1Dのディップスイッチ5A〜5Dの内の複数がオンされるとネットワーク内に複数のバックアップノードが同時に存在することになる。
Embodiment 5. FIG.
In the fourth embodiment, the
このように、ネットワーク内に複数のバックアップノードが同時に存在している場合には、各バックアップノードは、自他の各ノードの設定情報をバックアップする上で同じ内容の設定情報を共通に保持しておく必要がある。そこで、この実施の形態5では、複数のバックアップノードが存在する場合に各ノードが同じ内容の設定情報を共通に保持できるようにしたものである。 Thus, when multiple backup nodes exist in the network at the same time, each backup node holds the same setting information in common when backing up the setting information of its own other nodes. It is necessary to keep. Therefore, in the fifth embodiment, when there are a plurality of backup nodes, each node can hold the same setting information in common.
図10は、複数のバックアップノードの相互間で同じ内容の設定情報を共通に保持しておくための各バックアップノードの処理動作を示すフローチャートである。なお、ここでは説明の便宜上、1A,1Bの2のバックアップノードが存在するとし、図10(a)は一方のバックアップノード1Aの処理動作を、図10(b)は他方のバックアップノード1Bの処理動作をそれぞれ示している。
FIG. 10 is a flowchart showing the processing operation of each backup node for commonly holding setting information having the same contents among a plurality of backup nodes. Here, for convenience of explanation, it is assumed that there are two
一方のバックアップノード1Aは、ネットワークに接続された全ノード1A〜1Dの設定情報を自己の記憶媒体2Aに保存する処理が完了すると(S501)、保存完了通知をブロードキャストで送信する(S502)。
When the
この保存完了通知を他方のバックアップノード1Bが受信すると(S511)、自己のノード1Bの記憶媒体2Bに全ノード1A〜1Dの設定情報を保存する処理が完了しているか否か判定する(S512)。その際、設定情報の保存が完了している場合には、一方のバックアップノード1Aに保存完了通知応答を送信する(S513)。
When the other backup node 1B receives this save completion notification (S511), it is determined whether or not the process of saving the setting information of all the
この保存完了通知応答を一方のバックアップノード1Aが受信すると(S503)、引き続いて、自己が保持している全てのノードの設定情報に付随するハッシュ値をノードIDに付加して他方のバックアップノード1Bにハッシュ値通知として送信する(S504)。
When the backup completion notification response is received by one
他方のバックアップノード1Bは、このハッシュ値通知を受信すると(S514)、それぞれのハッシュ値を区別できるように桁を一定に揃えるなどしてノードIDの順に記憶媒体2Bに格納する。引き続いて、自己の保持している全てのノード1A〜1Dの設定情報のハッシュ値と、受信したハッシュ値通知に含まれるハッシュ値とを比較し(S515)、両ハッシュ値が一致するか否かを判定する(S516)。
When the other backup node 1B receives this hash value notification (S514), the other backup node 1B stores the values in the storage medium 2B in the order of the node IDs, for example, by aligning the digits so that each hash value can be distinguished. Subsequently, the hash values of the setting information of all the
両ハッシュ値が一致する場合には、両バックアップノード1A,1Bが各ノード1A〜1Dの設定情報を共通に保持していることになるので、このまま処理を終了する。これに対して、両ハッシュ値が一致しない場合には、両者間で異なるハッシュ値に対応するノードIDを一方のバックアップノード1Aに向けて送信する(S517)。次いで、異なるハッシュ値に対応する設定情報を削除する(S518)。
If the two hash values match, both
また、他方のバックアップノード1Bから異なるハッシュ値に対応するノードIDを一方のバックアップノード1Aが受信すると(S505)、このバックアップノード1Aは、受信したノードIDの設定情報を削除する(S506)。
When one
このように、この実施の形態5では、両バックアップノード1A,1B間でハッシュ値が一致しないときには、この不一致のハッシュ値に対応した設定情報を共に削除するので各バックアップノード1A,1Bにおいて不確定な設定情報がそのまま保持されるを防ぐことができる。そして、両バックアップノード1A,1Bで共に削除した設定情報については、その後、例えば図9のフローチャートに示した処理により、各ノードから設定情報を取得することができるので、各バックアップノード1A,1Bが保持する設定情報の整合性を保つことができる。
As described above, in the fifth embodiment, when the hash values do not match between the
また、上記の実施の形態1〜4では定常状態になると、ネットワークにはバックアップノードが1つしか存在しないためにバックアップノードの交換が不可能であったが、この実施の形態5では、ネットワーク内に複数のバックアップノードが同時に存在するため、バックアップノードの交換が可能になる。 In the above-described first to fourth embodiments, when there is a steady state, there is only one backup node in the network, so it is impossible to replace the backup node. Since a plurality of backup nodes exist at the same time, the backup nodes can be exchanged.
なお、ここでは説明の便宜上、ネットワーク内に存在する複数のバックアップノードを1A,1Bとしたが、これに限定されるものでないことは勿論である。 Here, for convenience of explanation, a plurality of backup nodes existing in the network are 1A and 1B, but it is needless to say that the present invention is not limited to this.
実施の形態6.
上記の実施の形態4,5では、各ノード1A〜1Dに設けたデイップスイッチ5A〜5Dをオンにしてバックアップ用モードを設定することで、各ノード1A〜1Dが電源投入直後からバックアップノードとして動作するように構成しているが、この実施の形態7では、このようなバックアップ用モードを設定したノードが存在することをネットワークの各ノードに通知することでPnPの動作環境を容易に確認できるようにしている。
In the fourth and fifth embodiments, each
すなわち、図11に示すように、例えば各ノード1A〜1Dに9ビット分のディップスイッチを設けておき、その内の8ビット分でノードIDを設定し、残りの1ビット分でバックアップ用モードの設定を行えるようにする。
That is, as shown in FIG. 11, for example, a dip switch for 9 bits is provided in each of the
そして、RPR専用のMACアドレス(48ビット)を構成するMACアドレス固有番号(24ビット)の内、15ビットは固有値に設定し、残り8ビットはノードIDを設定し、残り1ビットはバックアップノードが存在するか否かの情報を設定する。このRPR専用のMACアドレスをRPRトポロジ・ディスカバリのパケットに挿入して全ノードに送信する。これにより、MACアドレスの9ビット目が“0”か“1”によってバックアップノードが存在するか否かを把握することができる。 Of the MAC address unique numbers (24 bits) that make up the RPR dedicated MAC address (48 bits), 15 bits are set to unique values, the remaining 8 bits are set to the node ID, and the remaining 1 bit is set to the backup node. Set information about whether or not it exists. The RPR dedicated MAC address is inserted into the RPR topology discovery packet and transmitted to all nodes. Thereby, it is possible to grasp whether or not a backup node exists based on whether the ninth bit of the MAC address is “0” or “1”.
図12に示すように、ネットワークに接続された各々のノード1A〜1Dは、トポロジ・ディスカバリ機能によりパケットを監視しており(S601)、全ノード1A〜1Dから送信される上記のパケットを受信すると、このパケットにバックアップノードの情報を含まれているか否かを判定する(S602)。その際、ネットワークに接続されたノード1A〜1Dのいずれにもバックアップノードが存在しないと判定された場合は、各ノード1A〜1Dは例えばアラームラクプを点灯するなどしてPnPが実行できないことをユーザに通知して注意を促す(S603)。
As shown in FIG. 12, each of the
このように、この実施の形態6では、バックアップノードの存在の有無をネットワークを通じて各ノード1A〜1Dに通知することができるので、PnPの実行の可否をユーザが確実に把握することができ、システムの信頼性を向上させすることができる。
As described above, in the sixth embodiment, since the presence or absence of the backup node can be notified to each of the
なお、上記の実施の形態1〜6では、説明の便宜上、ネットワークに4つのノード1A〜1Dを設けた場合について説明したが、本発明はこのようなノード数に限定されるものでないことは勿論である。
In the first to sixth embodiments described above, the case where four
また、上記の実施の形態1〜6では、本発明をIEEE802.17のRPR仕様を用いたLANシステムに適用した場合について説明したが、このようなRPR仕様のLANシステムに限定されるものではなく、他の仕様のLANシステムについても適用することが可能である。 In the first to sixth embodiments, the case where the present invention is applied to a LAN system using the IEEE 802.17 RPR specification has been described. However, the present invention is not limited to such an RPR LAN system. The present invention can also be applied to LAN systems with other specifications.
1A〜1D ノード(伝送装置)、
2A〜2D 記憶媒体(設定情報格納手段)、3 伝送路、
5A〜5D デイップスイッチ(バックアップ用モード設定手段)。
1A-1D node (transmission device),
2A to 2D storage medium (setting information storage means), 3 transmission path,
5A to 5D Dip switch (backup mode setting means).
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004355308A JP4531545B2 (en) | 2004-12-08 | 2004-12-08 | Network system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004355308A JP4531545B2 (en) | 2004-12-08 | 2004-12-08 | Network system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006166083A true JP2006166083A (en) | 2006-06-22 |
JP4531545B2 JP4531545B2 (en) | 2010-08-25 |
Family
ID=36667575
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004355308A Active JP4531545B2 (en) | 2004-12-08 | 2004-12-08 | Network system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4531545B2 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7493043B2 (en) | 2005-11-11 | 2009-02-17 | Hitachi Communication Technologies, Ltd. | ONU management method and optical line termination |
JP2010512089A (en) * | 2006-12-06 | 2010-04-15 | コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ | Method and apparatus for replacing a device in a network |
JP2014143500A (en) * | 2013-01-22 | 2014-08-07 | Fujitsu Ltd | Setting method, communication system, and communication device |
WO2016203566A1 (en) * | 2015-06-17 | 2016-12-22 | 三菱電機株式会社 | Communication device, message transmission/reception method and setting processing method, and message transmission/reception program and setting processing program |
JP2017028610A (en) * | 2015-07-27 | 2017-02-02 | アライドテレシスホールディングス株式会社 | Wireless lan system, wireless lan access point, wireless lan access point setting method, program, and recording medium |
WO2017068771A1 (en) * | 2015-10-22 | 2017-04-27 | 日本電気株式会社 | Switch abnormality detection device, switch abnormality detection method, and program storage medium |
JP2017183969A (en) * | 2016-03-30 | 2017-10-05 | Necプラットフォームズ株式会社 | Network device, configuration exchange method, maintenance exchange method, configuration exchange program and maintenance exchange program |
JP2017225016A (en) * | 2016-06-16 | 2017-12-21 | 三菱電機株式会社 | Plug-and-play transmission device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08237285A (en) * | 1995-02-24 | 1996-09-13 | Mitsubishi Electric Corp | Automatic setting method for inter-net protocol address |
JP2000253016A (en) * | 1999-03-02 | 2000-09-14 | Toshiba Corp | Data transmission system |
JP2001063581A (en) * | 1999-08-31 | 2001-03-13 | Nippon Signal Co Ltd:The | Information providing system on train |
-
2004
- 2004-12-08 JP JP2004355308A patent/JP4531545B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08237285A (en) * | 1995-02-24 | 1996-09-13 | Mitsubishi Electric Corp | Automatic setting method for inter-net protocol address |
JP2000253016A (en) * | 1999-03-02 | 2000-09-14 | Toshiba Corp | Data transmission system |
JP2001063581A (en) * | 1999-08-31 | 2001-03-13 | Nippon Signal Co Ltd:The | Information providing system on train |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7493043B2 (en) | 2005-11-11 | 2009-02-17 | Hitachi Communication Technologies, Ltd. | ONU management method and optical line termination |
US7606491B2 (en) | 2005-11-11 | 2009-10-20 | Hitachi Communication Technologies, Ltd. | ONU management method and optical line termination |
US7664398B2 (en) | 2005-11-11 | 2010-02-16 | Hitachi Communication Technologies, Ltd. | ONU management method and optical line termination |
JP2010512089A (en) * | 2006-12-06 | 2010-04-15 | コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ | Method and apparatus for replacing a device in a network |
JP2014143500A (en) * | 2013-01-22 | 2014-08-07 | Fujitsu Ltd | Setting method, communication system, and communication device |
WO2016203566A1 (en) * | 2015-06-17 | 2016-12-22 | 三菱電機株式会社 | Communication device, message transmission/reception method and setting processing method, and message transmission/reception program and setting processing program |
JPWO2016203566A1 (en) * | 2015-06-17 | 2017-07-27 | 三菱電機株式会社 | COMMUNICATION DEVICE, MESSAGE TRANSMITTING / RECEIVING METHOD, SETTING PROCESSING METHOD, MESSAGE TRANSMITTING / RECEIVING PROGRAM, AND SETTING PROCESSING PROGRAM |
JP2017028610A (en) * | 2015-07-27 | 2017-02-02 | アライドテレシスホールディングス株式会社 | Wireless lan system, wireless lan access point, wireless lan access point setting method, program, and recording medium |
WO2017068771A1 (en) * | 2015-10-22 | 2017-04-27 | 日本電気株式会社 | Switch abnormality detection device, switch abnormality detection method, and program storage medium |
JP2017183969A (en) * | 2016-03-30 | 2017-10-05 | Necプラットフォームズ株式会社 | Network device, configuration exchange method, maintenance exchange method, configuration exchange program and maintenance exchange program |
JP2017225016A (en) * | 2016-06-16 | 2017-12-21 | 三菱電機株式会社 | Plug-and-play transmission device |
Also Published As
Publication number | Publication date |
---|---|
JP4531545B2 (en) | 2010-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104243239B (en) | The condition detection method and device of controller in a kind of SDN clusters | |
JP4944991B2 (en) | Monitoring system | |
US11881910B2 (en) | File transmission/reception device and control method of file transmission/reception device | |
JP4531545B2 (en) | Network system | |
US20140204728A1 (en) | Node equipment and method for communication | |
US6618166B1 (en) | Tandem image forming system | |
US9027036B2 (en) | Status management device, status management method, and recording medium | |
JP2009206656A (en) | Management apparatus, and control method and program | |
JP5775473B2 (en) | Edge device redundancy system, switching control device, and edge device redundancy method | |
CN101663865B (en) | Intelligent database exchange for ospf | |
JPH11215174A (en) | Network connection device | |
JP2012073894A (en) | Communication device management system, user device and service device | |
WO2015015562A1 (en) | Wireless data collection system, and wireless data collection method | |
JP2009060485A (en) | Information communication apparatus, information communication system, and information communication method | |
JP2010016597A (en) | Node, and network system | |
WO2017041667A1 (en) | Security inspection terminal device, security inspection network system and security inspection data transmission method | |
JP2014102681A (en) | Management devices, communication system, and synchronization method | |
US10545702B2 (en) | Information processing apparatus, communication control method and communication system | |
JP5537634B2 (en) | Service equipment in communication equipment management equipment | |
CN102035744A (en) | Method for performing communication among virtual router redundancy protocol (VRRP) routers and routers | |
JP2005184436A (en) | Communication system and device thereof | |
JP2006050307A (en) | Router and setting method therefor | |
JP2007179278A (en) | Information storage system | |
JP2015043612A (en) | User device and service utilization method using user device | |
JP2013042551A (en) | User device in communication device management apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070927 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20100223 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100309 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100420 |
|
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: 20100608 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100609 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4531545 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130618 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |