WO2006072996A1 - ノード設定装置、ネットワークシステム、ノード設定方法およびノード設定プログラム - Google Patents

ノード設定装置、ネットワークシステム、ノード設定方法およびノード設定プログラム Download PDF

Info

Publication number
WO2006072996A1
WO2006072996A1 PCT/JP2005/000143 JP2005000143W WO2006072996A1 WO 2006072996 A1 WO2006072996 A1 WO 2006072996A1 JP 2005000143 W JP2005000143 W JP 2005000143W WO 2006072996 A1 WO2006072996 A1 WO 2006072996A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
control data
priority
failure
master node
Prior art date
Application number
PCT/JP2005/000143
Other languages
English (en)
French (fr)
Inventor
Yuji Tochio
Akio Endo
Original Assignee
Fujitsu Limited
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 Fujitsu Limited filed Critical Fujitsu Limited
Priority to JP2006550573A priority Critical patent/JP4621212B2/ja
Priority to PCT/JP2005/000143 priority patent/WO2006072996A1/ja
Publication of WO2006072996A1 publication Critical patent/WO2006072996A1/ja
Priority to US11/822,525 priority patent/US7907516B2/en

Links

Classifications

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

Definitions

  • Node setting device network system, node setting method, and node setting program
  • the present invention relates to a node setting device, a network system, and a node for determining whether or not to set a node as a master node for preventing occurrence of a loop path by blocking relay of user data in a ring network
  • the present invention relates to a setting method and a node setting program, and more particularly to a node setting device, a network system, a node setting method, and a node setting program that can set a master node appropriately and efficiently in a ring network.
  • a node is a network device such as a computer, a node, or a router connected to the network.
  • Ethernet Automatic Protection Switching (EAPS) (Ethernet is a registered trademark) technology is disclosed (see Non-Patent Document 1) o
  • FIG. 15 is a diagram for explaining the conventional EAPS technique.
  • a ring network is configured with six nodes 10—10, and master node 10 (master
  • One node is represented by the symbol “M”. ) Is set.
  • the master node 10 logically blocks the port 11 on the node 10 side.
  • the node 10 and the node 10 connected to the link where the fault 12 has occurred logically block the ports 11 and 11 on the fault 12 side, respectively.
  • node 10 and node 10 recover from failure 12 with respect to master node 10.
  • the master node 10 that received the packet transmitted by node 10 or node 10 is the master node 10 that received the packet transmitted by node 10 or node 10.
  • Port 11 is logically blocked again to prevent the occurrence of a loop (state 4
  • the EAPS technology has a problem that communication is interrupted twice when a failure occurs and when the failure is recovered. That is, when a failure occurs and when the failure is recovered, the blocked ports are different, so each node 10-10
  • FIG. 16 is a diagram for explaining this conventional data relay method.
  • a ring network is composed of six nodes 13-13, and the master node
  • This master node 13 powers are set.
  • This master node 13 is a port on the node 13 side.
  • the node 13 and the node 13 transmit the control signal.
  • Only one of the nodes 13 is set as a master node. The other
  • Node 13 is set as a normal node and port 14 that node 13 was blocking is
  • FIG. 17 is a diagram for explaining a conventional data relay method when a node failure occurs.
  • node 16 has a fault 16 and nodes 13 and 13 force port 13 side ports 14 and 14
  • the other node 13 is set as a normal node and port 14 is open.
  • Patent Document 1 Japanese Patent Application No. 2004-076593
  • Non-Patent Document 1 S. Shah and M. Yip, "RFC 3619-Extreme Network's Ethernet Automatic Protection Switching (EAPS) Version 1 ⁇ , [online], [searched on November 29, 2004], Internet URL: http : ⁇ www.faqs.org/rfcs/rfc3619.html>
  • the present invention has been made in order to solve the above-described problems caused by the prior art. It is an object of the present invention to provide a node setting device, a network system, a node setting method, and a node setting program capable of appropriately and efficiently setting a master node in a network.
  • the present invention sets a node as a master node that prevents the occurrence of a loop path by blocking the relay of user data in a ring network.
  • a node setting device for determining whether or not to block user data relaying performed on one port side of a node connected to the ring-type network, and to set the node as a master node
  • Data transmission means for transmitting control data including information related to priority, and control data including information related to priority are received, or other nodes connected to the ring network
  • control data including information related to the priority order is received, the node is made a master node based on the information related to the priority order. Characterized by comprising determination means for determining force not subjected to constant, a.
  • the present invention further includes a failure detection means for detecting a failure that has occurred in the ring network according to the above invention, wherein the data transmission means is configured to detect a failure detected by the failure detection means. And transmitting control data including information related to the priority order.
  • the failure detection unit checks whether the control data transmitted by the node reaches the node or not when the node is a master node. It is characterized by detecting a failure that has occurred in the network.
  • the failure detection means includes a link in which the node is a master node, the node blocks relaying user data, and is connected to the port side, or the link
  • the determination unit determines to maintain the state in which the node is a master node.
  • the failure detection means may provide failure detection control data for notifying a master node that a failure has been detected when a failure is detected when the node is not a master node. Furthermore, it transmits.
  • the determination unit includes the information related to the priority order after receiving control data transmitted in response to reception of the failure detection control data from the master node. Whether to set a node as a master node based on information related to priority when control data is received or control data including information related to priority of other nodes is received It is characterized by determining.
  • every time the master node receives the control data transmitted by the master node when the master node receives the fault detection control data transmitted by the fault detecting means It further comprises route information learning means for starting relearning of information related to the transmission route.
  • the failure detection means further transmits path information learning control data for requesting re-learning of information related to a transmission path of user data when a failure is detected. It is characterized by.
  • the determination unit includes the information related to the priority order after receiving control data transmitted in response to reception of the route information learning control data from the master node. Whether or not to set a node as a master node based on the information related to the priority when receiving control data including information related to the priority of other nodes It is characterized by determining.
  • path information learning starts re-learning of information related to a transmission path of user data each time the path information learning control data transmitted by the failure detection unit is received.
  • the apparatus further includes means.
  • the present invention provides a network composed of nodes that determine whether or not to set a node as a master node that prevents occurrence of a loop path by blocking relay of user data in a ring network.
  • the node blocks relaying of user data performed on one port side of the node connected to the ring network, and information related to the priority order for setting the node as a master node.
  • Data transmission means for transmitting control data including information, and information related to the priority of other nodes connected to the ring network when control data including information related to the priority is received
  • determining means for determining whether or not it is a power to set the node as a master node based on the information related to the priority order.
  • the node further includes failure detection means for detecting a failure that has occurred in the ring network, and the data transmission means is configured to detect a failure by the failure detection means.
  • control data including information related to priority is transmitted.
  • the failure detection means is such that at least a data relay node having a function of relaying data is connected to the own node as a node constituting the ring network. In this case, a failure occurring in the data relay node or a link connecting the data relay node and the own node is detected, and the data transmission means detects when a failure is detected by the failure detection means. Control data including information related to the priority order is transmitted.
  • the present invention is a node setting method for determining whether or not to set a node as a master node that prevents occurrence of a loop path by blocking relay of user data in a ring network. Blocking the middle of user data performed on one port side of the node connected to the ring network, and transmitting control data including information on the priority order for setting the node as a master node.
  • the present invention is also a node setting program for determining whether or not to set a node as a master node for preventing occurrence of a loop path by blocking relay of user data in a ring network. Block the middle of user data performed on one port side of a node connected to the ring network, and A data transmission procedure for transmitting control data including information related to the priority order set in the master node, and control data including information related to the priority order are received, or connected to the ring network.
  • the relay of user data performed on one port side of a node connected to the ring network is blocked, and information regarding the priority order for setting the node as a master node is displayed.
  • the control data including the information related to the transmitted priority is received, or the control data including the information related to the priority of another node connected to the ring network is received.
  • control data including information related to priority is stopped, so unnecessary control data It is possible to suppress the transmission of.
  • the control data including the information related to the priority order is transmitted.
  • the master node can be set appropriately and efficiently.
  • a failure occurring in the ring network is detected by checking whether or not the control data transmitted by the node reaches the node. Therefore, it is possible to efficiently detect a failure and to effectively and efficiently set a master node when a failure occurs.
  • the node is a master node
  • the node Blocking the relay when a failure occurs in the link connected to the port side or the node connected to the link, it is determined to maintain the node as a master node.
  • the failure detection control data for notifying the master node that the failure has been detected when the failure is detected is further transmitted.
  • the master node it is possible to notify the master node of the occurrence of the failure and to cause the master node to execute an appropriate process for the occurrence of the failure.
  • control data including information on priority when receiving control data including information on priority, or Therefore, when control data including information related to priority is received from another node, it is determined whether or not it is possible to set the node as a master node based on the information related to priority. It is possible to prevent the determination as to whether or not it is possible to set the node as a master node from the control data transmitted before the failure detection control data is received.
  • each time the control data transmitted by the master node is received when the failure detection control data is received the relearning of information related to the data transmission path is started. As a result, it is possible to appropriately manage the number of relearning so that the transmission path is relearned each time a failure is detected.
  • route information learning control data for requesting relearning of information related to the transmission route of user data is further transmitted, so that it is transmitted to other nodes. It is possible to request re-learning of information related to the transmission path of user data, and it is possible to cause other nodes to execute appropriate processing for the occurrence of a failure.
  • control data transmitted in response to reception of route information learning control data from a master node when receiving control data including information related to priority, or Control data containing information related to the priority of other nodes If it is received, it is determined whether or not the node has the power to set the node as a master node based on the information related to the priority. There is an effect that it is possible to prevent the determination as to whether or not it is possible to set a node as a master node from data.
  • the relearning of the information related to the transmission route of the user data is started, so every time the occurrence of a failure is detected.
  • the effect is that the number of relearning can be appropriately managed so that the transmission path is relearned.
  • the data relay node having at least a function of relaying data
  • the data relay node or the data relay Since a failure that occurred in the link connecting the node and its own node is detected, and when a failure is detected, control data including information related to priority is sent, so that Even if the data relay node is included in the ring network without the function of determining whether or not to set the node, the master node can be set appropriately and efficiently.
  • FIG. 1 is a diagram for explaining the concept of node setting processing at the time of starting up a ring network.
  • FIG. 2 is a diagram for explaining the concept of node setting processing when a link failure occurs.
  • FIG. 3 is a diagram for explaining the concept of node setting processing when a node failure occurs.
  • FIG. 4 is a diagram for explaining the concept of node setting processing when a health packet is not detected.
  • FIG. 5 is a diagram illustrating a functional configuration of the data transmission device 30 according to the present embodiment.
  • FIG. 6 is a diagram for explaining a health packet transmission / reception permission process of the pseudo master node.
  • FIG. 7 is a diagram for explaining a master node forced setting process.
  • FIG. 8 is a diagram for explaining node setting processing when nodes other than the data transmission device 30 are included.
  • FIG. 9 is a diagram for explaining the state transition of a node.
  • FIG. 10 is a flowchart showing a processing procedure of pseudo master node transition processing.
  • FIG. 11-1 is a flowchart (1) showing a processing procedure of a transition process for transitioning to a pseudo master node force master node or a transit node.
  • Fig. 11-2 is a flowchart (2) showing the procedure of the transition process in which the pseudo master node force also transitions to the master node or transit node.
  • FIG. 12 is a flowchart showing a processing procedure of transition processing for transitioning a master node to a transit node.
  • FIG. 13 is a diagram for explaining a transmission / reception permission process for a health packet when a pseudo master node transmits a trap packet and a flush packet.
  • FIG. 14 is a diagram showing a hardware configuration of a computer serving as the data transmission device 30 shown in FIG. 5.
  • FIG. 15 is a diagram for explaining a conventional EAPS technique.
  • FIG. 16 is a diagram for explaining a conventional data relay method.
  • FIG. 17 is a diagram for explaining a conventional data relay method when a node failure occurs. Explanation of symbols
  • Fig. 1 is a diagram for explaining the concept of node setting processing when a ring network is started up.
  • a ring network is composed of six nodes 20-20.
  • Each node 20 20 has two ports connected to two adjacent nodes 20 20.
  • each node 20 is set up when the ring network is started up.
  • pseudo master node 1 1 20 power Transition to a state called pseudo master node (in the figure, pseudo master node
  • This pseudo master node performs packet relay of user data on one port 21-21.
  • the blocked ports 21-21 may be pre-set. However, it may be determined at random.
  • health packet HI—H6 is a failure of the node 20-20 ring network.
  • Each node 20-20 receives the node 20-20 when transmitting the health packet HI-H6.
  • HI Include in H6 and send. This priority is assigned to each node 20-20.
  • each node 20-20 receives a Hells packet transmitted by another node 20-20.
  • the priority information included in the health buckets H 1 — H 6 is acquired, and the acquired priority information is compared with the priority information of the own node 20-20.
  • the state of the local node is changed to a node (in the figure, the transit node is represented by the symbol “ ⁇ ”) (state 12).
  • the priorities are set so that there is no one of the same priority!
  • the health packet HI— ⁇ 6 is transmitted by each node 20-20, other than one node 20
  • Each node 20-20 has its own node
  • FIG. 2 is a diagram for explaining the concept of node setting processing when a link failure occurs.
  • node 20 is configured as the master node and user data is passed through port 21.
  • nodes 20 and 20 are connected to the port 21.
  • the node 20 as a master node receives at least one of the trap packets T3 and T4.
  • H4 is transmitted and the other node 20 is transmitted.
  • each of the nodes 20 and 20 is the same as the node setting process described in FIG.
  • the own nodes 20 and 20 are mastered.
  • 3 4 Performs the process of determining the power of a single node and the transit node.
  • node 20 becomes the master node, and node 20 force ⁇ transit node.
  • node 20 continues to function as a master node.
  • this node setting process can not only cope with the occurrence of a link failure but also a node failure.
  • Can also deal with the occurrence of Fig. 3 is a diagram for explaining the concept of node setting processing when a node failure occurs.
  • the node 20 is set as the master node, and the user data packet
  • node 20 It shows the case where port 21 is blocking the relay. In this example, node 20
  • the nodes 20 and 20 on both sides of the failed node 20 detect the occurrence of the failure.
  • Nodes 20 and 20 send health packets H3 after sending trap packets T3 and T5.
  • H5 is transmitted, and the other node 20, 20 is transmitted.
  • each of the nodes 20 and 20 is the same as the node setting process described in FIG.
  • the own nodes 20 and 20 become masters.
  • 3 5 Performs the process of determining the power of a single node and the transit node.
  • node 20 becomes the master node, and node 20 force ⁇ transit node.
  • the node 20 When the failure of the node 20 is recovered, the node 20 becomes a pseudo master node.
  • the node 20 which is a master node periodically transmits a packet of packets.
  • node 20 when node 20 receives the health packet, it compares the priority and transits
  • the master node transitions its own node to a pseudo master node when the health packet transmitted by its own node does not return even after a certain period of time has passed.
  • Figure 4 shows the health It is a figure explaining the concept of the node setting process at the time of packet non-detection.
  • the node 20 is set as the master node, and the user data packet
  • the node 20 determines that the health packet HI transmitted by the node 20 is
  • node If the node does not return even if it has passed, it changes its node to a pseudo master node (state
  • node 20 When the received health packet HI can be received, node 20 again becomes the master.
  • the nodes 20 and 20 force signals on both sides of the failed node 20
  • Nodes 20 and 20 are connected to the node 20 side where the failure occurred.
  • 3 5 4 blocks 21 and 21 and transmits health packets H3 and H5 (state 27).
  • the relay port for user data is blocked, the health packet including the priority order information for setting the node as the master node is transmitted, and the health information is transmitted.
  • the master node can be set appropriately and efficiently in the ring network.
  • FIG. 5 is a diagram illustrating a functional configuration of the data transmission device 30 according to the present embodiment.
  • the data transmission device 30 includes ports 3 la and 31 b, a packet transmission / reception unit 32, a storage unit 33, a master node processing execution unit 34, a transit node processing execution unit 35, a route information learning processing unit 36, an event detection unit 37, a pseudo A master node processing execution unit 38 and a control unit 39 are included.
  • the ports 31a and 31b are ports that relay user data or control data packets.
  • the packet transmission / reception unit 32 performs processing to transmit / receive various packets such as data packets, trap packets, or health packets via the ports 3 la and 3 lb.
  • the storage unit 33 is a storage device such as a memory.
  • the storage unit 33 stores its own node information 33a, other node information 33b, and route information 33c.
  • the own node information 33a stores information related to the own node such as own node priority information and MAC address.
  • the other node information 33b stores information such as priority information and MAC addresses of nodes other than the own node.
  • the route information 33c stores information related to a packet transfer destination. Specifically, the route information 33c stores the MAC address of the packet transfer destination in association with the information of the port to which the node to which the MAC address is assigned is connected.
  • the master node process execution unit 34 executes various processes to be performed by the master node when the own node is set as the master node. Specifically, the master node processing execution unit 34 blocks packet relay of user data at one port and prevents health packets from being periodically transmitted in order to prevent a loop phenomenon from occurring in the network. Perform processing to send.
  • the master node processing execution unit 34 checks the destination MAC address, and performs processing for transmitting the packet from an appropriate port with reference to the path information 33c.
  • the transit node process execution unit 35 executes various processes to be performed by the transit node when the own node is set as the transit node. Specifically, when receiving a packet, the transit node processing execution unit 35 checks the MAC destination address, and performs processing to transmit the packet from an appropriate port with reference to the route information 33c.
  • the route information learning processing unit 36 performs relearning of the route information 33c when a flash packet requesting relearning of the route information 33c is received from another node.
  • the event detection unit 37 performs processing to detect the start-up of its own node, a failure occurring in a link or a node, and the like. Specifically, the event detection unit 37 detects the start-up of its own node by detecting this when the power is turned on or when the restart is executed.
  • the event detection unit 37 is connected to the own node or to the link based on information such as the signal level state of the packet and the presence / absence of a response from another node. Detect the failure of other nodes.
  • the event detection unit 37 sends a trap packet to another node.
  • the event detection unit 37 performs a process of transmitting the flash packet to another node.
  • the event detection unit 37 examines whether or not the health packet transmitted by the own node returns to the own node within a predetermined time when the own node is the master node. Detects failures that occur in the network.
  • the pseudo master node processing execution unit 38 sets the own node as the pseudo master node and the pseudo master node should perform Perform various processes.
  • the pseudo master node processing execution unit 38 includes a port block processing unit 38a, a health packet transmission processing unit 38b, and a node setting unit 38c.
  • the port block processing unit 38a is a process for blocking the packet relay of user data at one of the two ports when the event detection unit 37 detects the startup of the own node or the occurrence of a failure. To do.
  • the port block processing unit 38a Block the Po ⁇ .
  • the health packet transmission processing unit 38b transmits a health packet including priority order information to another node when the event detection unit 37 detects the start-up of the own node or the occurrence of a failure. Perform processing.
  • the node setting unit 38c The priority information included in the packet is stored as its own node information 33a, and is compared with the priority information of its own node to determine whether or not its own priority is high.
  • the node setting unit 38c sets the own node as a transit node.
  • the node setting unit 38c waits for reception of the next health packet and determines again whether or not the priority of the own node is high.
  • the node setting unit 38c selects the self node. Set as master node.
  • Node 20, 20 receives it and immediately transitions to the transit node.
  • the packet transmitting / receiving unit 32 of the nodes 20 and 20 receives the trap packets T3 and T4.
  • the node 20 that is a node node receives and clears the route information stored in each node.
  • FIG. 6 is a diagram for explaining the health packet transmission / reception permission process of the pseudo master node. Note that FIG. 6 corresponds to the case of the link failure shown in FIG. As shown in FIG. 6, when nodes 20 and 20 detect a failure, the trap packet is the master node.
  • Node 20 which is a master node, is a force that periodically transmits a packet of pseudo.
  • Nodes 20 and 20 that are master nodes are flushes that are responses to trap packets.
  • the received health packet is discarded until the packet is received.
  • nodes 20 and 20 power health It can solve the problem of receiving a Hells packet sent by the master node before sending the packet and immediately transitioning to the transit node.
  • the path information learning processing unit 36 of each node performs relearning of the path information 33c every time a flush packet is received. This makes it possible to appropriately manage the number of relearning so that the transmission path is relearned each time a failure is detected.
  • control unit 39 is a control unit that controls the entire data transmission device 30 and controls data exchange between the functional units.
  • FIG. 7 is a diagram for explaining the master node forced setting process.
  • the ring network In the example shown in Figure 7, the ring network
  • node 20 has the highest priority so that node 20 functions as a master node when the ring network is set up.
  • Each of the other nodes 20 20, 20, 20 is the start of the ring network
  • Each node 20-20 is a user who uses one port 21-21.
  • each of the nodes 20-20 transmits a health packet H transmitted by the other nodes 20-20.
  • each node 20 has the highest priority because the node 20 that is the master node has the highest priority.
  • Node 20 that is one node Receives health packet H4 sent by its own node (status 3
  • the node setting process according to the present invention can be dealt with even when the master node is set in a fixed manner. Furthermore, in FIGS. 1 to 4, it is assumed that all nodes are nodes composed of the data transmission device 30 that performs the node setting process of the present invention. One node is the node setting process of the present invention.
  • the node setting process according to the present invention can be applied even to a data relay node that simply relays a packet without performing the above.
  • FIG. 8 is a diagram for explaining node setting processing when nodes other than the data transmission device 30 are included.
  • node 20 is configured as the master node and is on port 21.
  • the nodes 20 to 20 are nodes realized by the data transmission device 30 shown in FIG.
  • the data relay node 23 is a ring network composed of nodes 20-20.
  • the node 20 detects the occurrence of the failure 22 and makes its own node 20 a pseudo master node.
  • Node 20 periodically sends a health packet HI until failure 22 is recovered
  • the node setting process of the present invention can cope with it.
  • FIG. 9 is a diagram for explaining the state transition of the node
  • FIG. 10 is a flowchart showing the processing procedure of the pseudo master node transition process.
  • the pseudo-master single-node transition process described in Fig. 10 corresponds to the state transition of transition 4, transition 5 or transition 6 shown in Fig. 9. Is.
  • the disabled state 40 is a state in which the node is linked down. Specifically, when the power of the data transmission device 30 is turned off or the data transmission device 30 is restarted, or the node is a pseudo master node 41, a master node 42, or a transit node 43. Force that was in operation If the node detects two faults (transition 1, transition 2, transition 3), the node transitions to the disabled state.
  • the node setting unit 38c of the data transmission device 30 detects the operating state of the own node (step S101). Then, the node setting unit 38c checks whether or not the own node has been started from the disabled state 40 (step S102).
  • step S102 If the own node has been started from the disabled state 40 (step S102, Yes), the node setting unit 38c checks whether at least one port is linked up ( Step S 105). If no port is linked up (step S105, No), the process proceeds to step S101, and the subsequent processing is continued.
  • step S105 When at least one port is linked up (step S105, Yes), the node setting unit 38c enables the ports on both sides of the own node (step S106) and sets the own node. Is set as a pseudo master node (step S107), and this pseudo master node transition process is terminated.
  • the processing from step S102 to step S107 corresponds to the transition 4 in FIG.
  • step S102 when the own node is not started from the disabled state 40 (step S102, No), the node setting unit 38c is connected to one of the ports of the own node. It is checked whether or not the event detection unit 37 has detected a failure (step S103).
  • step S103 When a failure is detected (step S103, Yes), the process proceeds to step S107, and the node setting unit 38c sets its own node as a pseudo master node, and performs this pseudo master node transition process. finish.
  • the processing in step S103 and step S107 corresponds to transition 5 or transition 6 in FIG.
  • step S103 If no failure is detected (step S103, No), the node setting unit 38c It is checked whether the node is a master node and the transmitted health packet has not been received for a predetermined time (step S104).
  • step S104 If the health packet has not been received (step S104, Yes), the process proceeds to step S107, and the node setting unit 38c sets its own node as a pseudo master node, and this pseudo master. The node transition process is terminated. If the health packet is received (step S104, No), the process proceeds to step S101 and the subsequent processing is continued. The processing in step S103, step S104, and step S107 corresponds to transition 5 in FIG.
  • Fig. 11-1 and Fig. 11-2 are flowcharts (1) and (2) showing the procedure of the transition process for transitioning to the pseudo master node force master node or transit node. This transition process corresponds to transition 7 and transition 8 shown in FIG.
  • the node setting unit 38c of the data transmission device 30 has the ports on both sides of its own node linked up, and has received the health packet transmitted by its own node. Whether or not (step S201).
  • step S201 When the ports on both sides of the own node are linked up and the health packet transmitted by the own node is received (step S201, Yes), the node setting unit 38c sets the own node as the master node. (Step S204), the transition process is terminated. This process corresponds to the master node setting process described in Figure 1.
  • the node setting unit 38c Checks whether or not the ports on both sides of the own node are linked up, and the own node is set to be the master node forcibly (step S202).
  • step S202 when the ports on both sides of the own node are linked up and the own node is forcibly set to become the master node (step S202, Yes), the process proceeds to step S204. Then, the node setting unit 38c sets its own node as the master node, and ends this transition process. This process corresponds to the master node setting process described in FIG.
  • the node setting unit 38c If the ports on both sides of the own node are not linked up, or if the own node is not set to be forced to become the master node (No in step S202), the node setting unit 38c Then, one of the ports is linked down, receives a flush packet, and checks whether it has received a health packet with a priority lower than the priority assigned to its own node (step S203).
  • step S203 When one port side is linked down, receives a flush packet, and receives a low-priority health packet (step S203, Yes), the process proceeds to step S204 to set the node.
  • the unit 38c sets its own node as the master node, and ends this transition process.
  • This process corresponds to the master node setting process described in FIG. 2 or FIG.
  • the processing from step S201 to step S204 corresponds to transition 7 in FIG.
  • step S203 If one port side is linked down! / ⁇ , or if a flash packet is received and it is ⁇ , or if a low-priority health packet is not received (step S203, No ), As shown in FIG. 11-2, the node setting unit 38c checks whether the ports on both sides are linked up and whether a health packet has been received from the master node (step S204).
  • Step S208 the transition process is terminated. This process corresponds to the transit node setting process described in FIG.
  • step S204 If the ports on both sides are not linked up or have received no packet from the master node (step S204, No), the node setting unit 38c It is checked whether or not a health packet that is linked up and has a higher priority than the priority assigned to the own node has been received (step S205).
  • step S205 If the ports on both sides are linked up and a high-priority health packet is received (step S205, Yes), the process proceeds to step S208, and the node setting unit 38c Is set as a transit node, and this transition process is terminated. This process corresponds to the transit node setting process described in FIG. [0140] If the ports on both sides are linked up! / ⁇ , or if a high-priority health packet is not received (step S205, No), the node setting unit 38c Port force S Link down, flush packet is received, and it is checked whether or not a health packet with a priority higher than the priority assigned to the own node is received (step S2 06).
  • step S206 When one port is linked down, receives a flush packet, and receives a high priority health packet (step S206, Yes), the process proceeds to step S208.
  • the node setting unit 38c sets its own node as a transit node and ends this transition processing. This process corresponds to the transit node setting process described in FIG. 2 and FIG.
  • step S 206 If one of the ports is not linked down, has not received a flush packet, or has not received a high priority health packet (step S 206, No), The node setting unit 38c checks whether or not a reception timeout of the health packet transmitted by the own node as the master node has occurred, and whether or not the health packet of another node has been received (step S207).
  • step S207 If a health packet reception timeout occurs and another node's health packet is received (step S207, Yes), the process proceeds to step S208, and the node setting unit 38c The local node is set as a transit node, and the transition process is terminated. This process corresponds to the transit node setting process described in FIG.
  • step S207, No If a health packet reception time-out occurs and / or no health packet is received (step S207, No), the process moves to step S201, and thereafter Execute the process again.
  • the processing from step S204 to step S208 corresponds to transition 8 shown in FIG.
  • FIG. 12 is a flowchart showing a processing procedure of transition processing for transitioning a master node to a transit node. The process shown in FIG. 12 corresponds to the transition 9 shown in FIG.
  • the node setting unit 38c of the data transmission device 30 has a master node. It is checked whether or not the own node which is the node 42 has received a health packet having a higher priority than the priority assigned to the own node (step S301).
  • step S301 When a high-priority health packet is received (step S301, Yes), the node setting unit 38c transitions its own node to a transit node (step S303), and ends this transition process. To do.
  • step S301 If a high-priority health packet is received (step S301, No), the node setting unit 38c checks whether or not the node has received the trap packet (step S301). S 302).
  • step S302 When the trap packet is received (step S302, Yes), the process proceeds to step S303, where the node setting unit 38c transitions the own node to the transit node, and ends this transition process. If a trap packet has not been received (step S302, No), this transition process is terminated as it is.
  • the master node transmits a flush packet.
  • a flash packet may be further transmitted.
  • FIG. 13 is a diagram for explaining a transmission / reception permission process for a health packet when the pseudo master node transmits a trap packet and a flush packet.
  • node 20 as the master node has received the trap packet and the flush packet.
  • Nodes 20 and 20 which are pseudo master nodes, receive this ACK packet until
  • Nodes 20 and 20 receive the ACK packet.
  • the route information learning processing unit 36 of each node performs relearning of the route information 33c every time a flush packet is received. This makes it possible to appropriately manage the number of relearning so that the transmission path is relearned each time a failure is detected.
  • the port block processing unit 38a of the data transmission device 30 is a user who is performed on one port side of the node connected to the ring network.
  • Block data relay and send health packet including information on priority order to set health packet transmission processing unit 38b as a master node and node setting unit 38c when receiving a health packet, or
  • a health packet including information related to the priority of another node is received, it is determined whether to set the node as a master node based on the information related to the priority.
  • a master node can be set appropriately and efficiently.
  • the health packet transmission processing unit 38b transmits a health packet including information related to the priority order. Since it was decided to cancel the transmission, unnecessary transmission of health packets can be suppressed.
  • the event detection unit 37 detects a failure that has occurred in the ring network
  • the health packet transmission processing unit 38b includes information on the priority when a failure is detected. Since the health packet is sent, the master node can be set up appropriately and efficiently when a failure occurs.
  • the event detection unit 37 checks whether or not the health packet transmitted by the node reaches the node. Therefore, the failure can be detected efficiently, and the master node can be set appropriately and efficiently when the failure occurs.
  • the node is a master node, and a failure occurs in the link connected to the port side where the node is blocking the relay of user data, or in the node connected to the link
  • the node setting unit 38c determines to maintain the state where the node is a master node, the determination can be made appropriately and efficiently so as to maintain the state of the master node.
  • the event detection unit 37 transmits a trap packet notifying the master node that a failure has been detected when a failure is detected.
  • the master node can be notified of the occurrence of the failure, and the master node can be made to perform an appropriate process for the occurrence of the failure.
  • the node setting unit 38c receives the flush packet transmitted in response to the reception of the trap packet from the master node, and then receives the health packet including the information related to the priority order.
  • a health packet containing information related to priority is received from another node, it is determined whether or not the node has the power to set the node as a master node based on the information related to priority. As a result, it is possible to prevent the decision whether or not to set the node as the master node by the health packet transmitted before the master node receives the trap bucket.
  • the route information learning processing unit 36 every time the route information learning processing unit 36 receives a flush packet transmitted by the master node when the master node receives the trap packet, it re-learns the route information 33c. Since it was decided to start, it is possible to appropriately manage the number of re-learning so that the route information 33c is re-learned each time a failure is detected.
  • the event detection unit 37 since the event detection unit 37 transmits a flash bucket when a failure is detected, it is possible to request another node to relearn the route information 33c. It is possible to cause other nodes to execute appropriate processing for the occurrence of a failure.
  • the node setting unit 38c when the node setting unit 38c receives a health packet including information related to priority after receiving an ACK packet transmitted in response to reception of a flush packet, the master node power is also received. Or, when a health packet containing information related to the priority order of another node is received, it is determined whether or not the node is a master node based on the priority order information. Therefore, it is possible to prevent the decision whether or not to set the node as the master node by the health packet transmitted before the master node receives the flash bucket.
  • the route information learning processing unit 36 every time a flush packet is received, the route information learning processing unit 36 starts the relearning of the route information 33c. Therefore, each time a failure is detected, the route information The number of re-learning can be appropriately managed so that 33c re-learning is performed.
  • the data relay node 23 having at least a function of relaying data is connected to the own node as a node constituting the ring network
  • the event detection unit 37 detects a failure occurring in the data relay node 23 or the link connecting the data relay node 23 and the own node
  • the health packet transmission processing unit 38b detects a failure
  • the data relay node 23 having the function of determining whether or not the own node is set as the master node is included in the ring network. Even if it is, the master node can be set up appropriately and efficiently.
  • FIG. 14 is a diagram showing a hardware configuration of a computer serving as the data transmission device 30 shown in FIG.
  • This computer has an input button 100 that receives input from the user, an LED (Light Emitting Diode) 101 that outputs various information, a main memory 102, a flash memory 103, a CPU (Central Processing Unit) 104, and a read-only memory 105.
  • an input button 100 that receives input from the user
  • an LED (Light Emitting Diode) 101 that outputs various information
  • main memory 102 that stores data
  • main memory 102 main memory
  • flash memory 103 a flash memory
  • CPU Central Processing Unit
  • read-only memory 105 read-only memory
  • the read-only memory 105 stores a program that exhibits the same function as that of the data transmission device 30, that is, the node setting program 105a. Note that the node setting program 105a may be distributed and stored as appropriate.
  • the CPU 104 power node setting program 105a is read from the read-only memory 105 and executed, thereby functioning as the node setting process 104a.
  • the node setting process 104a includes the packet transmission / reception unit 32, the master node processing execution unit 34, the transit node processing execution unit 35, the route information learning processing unit 36, the event detection unit 37, and the pseudo master node processing shown in FIG. Corresponds to the functional units of the execution unit 38 and the control unit 39.
  • the flash memory 103 stores its own node information 103a, other node information 103b, and path information 103c.
  • the own node information 103a, other node information 103b, and route information 103c correspond to the own node information 33a, other node information 33b, and route information 33c shown in FIG.
  • the CPU 104 stores its own node information 103a, other node information 103b, and path information 103c in the flash memory 103, and reads out its own node information 103a, other node information 103b, and path information 103c from the flash memory 103.
  • the node setting program 105a does not necessarily have the initial power stored in the read-only memory 105.
  • “portable physical media” such as flexible disks (FD), CD-ROMs, MO disks, DVD disks, magneto-optical disks, and IC cards, or hard disk drives (HDD) provided inside and outside the computer
  • Each program is stored in the “fixed physical medium” of the computer, and “other computer (or server)” connected to the computer via the public line, the Internet, LAN, WAN, etc.
  • these powers may be read and executed by each program.
  • Each component of the illustrated data transmission device 30 is functionally conceptual and does not necessarily need to be physically configured as illustrated. That is, the distribution of the data transmission device 30 * The specific form of integration is not limited to the one shown in the figure. Can be distributed and integrated. [0178] Furthermore, all or any part of each processing function performed in the data transmission device 30 is realized by a CPU and a program that is analyzed and executed by the CPU, or by wired logic. It can be realized as hardware.
  • the node setting device, the network system, the node setting method, and the node setting program according to the present invention require a ring network that appropriately and efficiently sets a master node in the ring network. Useful for systems.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

 擬似マスターノードである各ノード(201~206)が、リング型ネットワークに接続されたノードの一方のポート(211~216)側でおこなわれるユーザデータの中継をブロックし、ノードをマスターノードに設定する優先順位に係る情報を含んだヘルスパケット(H1~H6)を送信し、そのヘルスパケット(H1~H6)を受信した場合、または、他のノード(201~206)の優先順位に係る情報を含んだヘルスパケット(H1~H6)を受信した場合に、その優先順位に係る情報に基づいてノード(201~206)をマスターノードに設定するか否かを判定する。

Description

明 細 書
ノード設定装置、ネットワークシステム、ノード設定方法およびノード設定 プログラム
技術分野
[0001] 本発明は、リング型ネットワークにおいてユーザデータの中継をブロックすることによ りループ経路の発生を防止するマスターノードにノードを設定する力否かを判定する ノード設定装置、ネットワークシステム、ノード設定方法およびノード設定プログラムに 関し、特に、リング型ネットワークにおいてマスターノードを適切かつ効率的に設定す ることができるノード設定装置、ネットワークシステム、ノード設定方法およびノード設 定プログラムに関する。 背景技術
[0002] 近年、イーサネット(登録商標)技術をリング型ネットワークに適用することによりデー タの伝送を効率的におこなうことができるようになってきている。このリング型ネットヮー クにおいては、パケットの送信経路がループ状になるため、リング型ネットワークに属 するノードのうち、あらかじめマスターノードとして定められたノードがリングの一方の ポートにおけるユーザデータの中継を論理的にブロックすることにより、パケットがネッ トワークを回り続けるループ現象の発生を防止する。ここで、ノードとは、ネットワーク に接続されるコンピュータやノヽブ、ルータなどのネットワーク機器である。
[0003] また、リング型ネットワークのある箇所に障害が発生した場合には、マスターノードが
、ブロックしていたポートを開放することによりパケットの通信再開をすばやくおこなう
Ethernet Automatic Protection Switching (EAPS) (Ethernetは登録商標)の技術 が開示されている (非特許文献 1を参照。 ) o
[0004] 図 15は、この従来の EAPSの技術を説明する図である。図 15の例では、 6つのノ ード 10— 10によりリング型ネットワークが構成され、マスターノード 10 (図中、マスタ
1 6 1
一ノードは記号「M」で表されている。)が 1つ設定されている。そして、このマスターノ ード 10はノード 10側のポート 11を論理的にブロックしている。
1 2 1
[0005] たとえば、このリング型ネットワークのリンクに障害 12が発生したものとする(状態 1) 。その場合、マスターノード 10はブロックしていたポート 11を開放し、各ノード 10—
1 1 1
10間で通信がおこなえるようにする(状態 2)。
6
[0006] そして、障害 12が復旧した場合には、障害 12が発生したリンクに接続されているノ ード 10およびノード 10は、それぞれ障害 12側のポート 11 , 11を論理的にブロック
4 5 4 5
することにより、ループ現象が発生するのを防止する(状態 3)。
[0007] その後、ノード 10およびノード 10は、マスターノード 10に対して障害 12が復旧し
4 5 1
たことを通知するパケットを送信し、ブロックしていたポート 11 , 11を開放する。また
4 5
、ノード 10またはノード 10により送信されたパケットを受信したマスターノード 10は
4 5 1
、再度ポート 11を論理的にブロックし、ループ現象が発生するのを防止する(状態 4
1
) o
[0008] ところが、この EAPSの技術では、障害が発生した際、および、その障害が復旧した 際に、 2回の通信断が発生する問題があった。すなわち、障害が発生した際と、その 障害が復旧した際とで、ブロックされたポートが異なるため、各ノード 10— 10は経路
1 6 情報を 2回学習する必要があった。
[0009] そのため、経路情報の学習回数を 1回に減らすデータ中継方法が開示されている( 特許文献 1を参照。;)。図 16は、この従来のデータ中継方法を説明する図である。図 16の例では、 6つのノード 13— 13によりリング型ネットワークが構成され、マスターノ
1 6
ード 13力^つ設定されている。そして、このマスターノード 13は、ノード 13側のポー
1 1 2 ト 14を論理的にブロックしている。
1
[0010] たとえば、このリング型ネットワークのリンクに障害 15が発生したものとする(状態 5) 。その場合、マスターノード 13はブロックしていたポート 14を開放し、各ノード 13—
1 1 1
13間で通信がおこなえるようにする。また、障害 15が発生したリンクに接続されてい
6
るノード 13およびノード 13は、それぞれ障害 15側のポート 14 , 14を論理的にブロ
4 5 4 5
ックする(状態 6)。
[0011] そして、障害 15が復旧した場合には、ノード 13およびノード 13は、制御信号をや
4 5
り取りしていずれか一方のノード 13のみをマスターノードとして設定する。もう一方の
4
ノード 13は、通常のノードに設定され、そのノード 13がブロックしていたポート 14は
5 5 5 開放される(状態 7)。この場合、データの中継がブロックされたリンクは障害 15の復 旧前後で変わらな 、ので、経路情報の学習回数が 1回で済むことになる。
[0012] また、このデータ中継方法は、ノードに発生した障害に対しても対応することができ る。図 17は、ノード障害発生時の従来のデータ中継方法を説明する図である。図 17 では、ノード 13に障害 16が発生し、ノード 13 , 13力 ード 13側のポート 14 , 14
4 3 5 4 3 5 をブロックして 、る場合を示して 、る(状態 8)。
[0013] この場合、障害 16が復旧されると、ノード 13とノード 13とは、ノード 13を介して制
3 5 4 御信号をやり取りする(状態 9)。そして、いずれか一方のノード 13のみをマスターノ
3
ードとして設定し、他方のノード 13は、通常のノードに設定され、ポート 14が開放さ
5 5 れる(状態 10)。
[0014] 特許文献 1:特願 2004— 076593号公報
非特許文献 1 : S. Shah and M. Yip, "RFC 3619 - Extreme Network's Ethernet Automatic Protection Switching (EAPS) Version 1〃, [online], [平成 16年 11月 29日検索],インターネットく URL:http:〃 www.faqs.org/rfcs/rfc3619.html >
発明の開示
発明が解決しょうとする課題
[0015] し力しながら、上述した従来技術では、リング型ネットワークに属するすべてのノード の立ち上げ時や、発生した障害の復旧時に、マスターノードを効率的に決定するリン グ型ネットワークを低コストで実現することが難しいという問題があった。
[0016] すなわち、図 15および図 16で説明した従来技術では、リング型ネットワークに属す るすべてのノードの立ち上げ時に、あら力じめマスターノードを設定しておく必要があ る力 その設定がなされないままノードの立ち上げが実行されると、ループ現象が発 生してしまう。
[0017] また、図 17で説明したデータ中継方法では、ノード 13に障害が発生した場合に、
4
復旧したノード 13が両隣のノード 13 , 13の交渉を仲介する必要があるため、処理
4 3 5
が複雑になるという問題があった。そのため、マスターノードをいかに適切かつ効率 的に設定することができるかが重要な問題となってきている。
[0018] 本発明は、上述した従来技術による問題点を解消するためになされたものであり、リ ング型ネットワークにおいてマスターノードを適切かつ効率的に設定することができる ノード設定装置、ネットワークシステム、ノード設定方法およびノード設定プログラムを 提供することを目的とする。
課題を解決するための手段
[0019] 上述した課題を解決し、目的を達成するために、本発明は、リング型ネットワークに おいてユーザデータの中継をブロックすることによりループ経路の発生を防止するマ スターノードにノードを設定するか否かを判定するノード設定装置であって、前記リン グ型ネットワークに接続されたノードの一方のポート側でおこなわれるユーザデータ の中継をブロックし、また、当該ノードをマスターノードに設定する優先順位に係る情 報を含んだ制御データを送信するデータ送信手段と、前記優先順位に係る情報を含 んだ制御データを受信した場合、または、前記リング型ネットワークに接続された他の ノードの優先順位に係る情報を含んだ制御データを受信した場合に、該優先順位に 係る情報に基づいて当該ノードをマスターノードに設定する力否かを判定する判定 手段と、を備えたことを特徴とする。
[0020] また、本発明は、上記発明において、前記判定手段によりノードをマスターノードに 設定しな!、と判定された場合に、前記優先順位に係る情報を含んだ制御データの送 信を中止することを特徴とする。
[0021] また、本発明は、上記発明において、リング型ネットワークに発生した障害を検出す る障害検出手段をさらに備え、前記データ送信手段は、前記障害検出手段により障 害が検出された場合に、優先順位に係る情報を含んだ制御データを送信することを 特徴とする。
[0022] また、本発明は、上記発明において、前記障害検出手段は、ノードがマスターノー ドである場合に、当該ノードが送信した制御データが当該ノードに到達するか否かを 調べることによりリング型ネットワークに発生した障害を検出することを特徴とする。
[0023] また、本発明は、上記発明において、前記障害検出手段は、ノードがマスターノー ドであり、当該ノードがユーザデータの中継をブロックして 、るポート側に接続された リンクまたは当該リンクに接続されたノードに障害が発生した場合に、前記判定手段 は、当該ノードがマスターノードである状態を維持するよう判定することを特徴とする。 [0024] また、本発明は、上記発明において、前記障害検出手段は、ノードがマスターノー ドでない場合に、障害を検出した場合に障害を検出したことをマスターノードに通知 する障害検出制御データをさらに送信することを特徴とする。
[0025] また、本発明は、上記発明において、前記判定手段は、マスターノードから障害検 出制御データの受信に応じて送信された制御データを受信した後、前記優先順位に 係る情報を含んだ制御データを受信した場合、または、他のノードの優先順位に係る 情報を含んだ制御データを受信した場合に、該優先順位に係る情報に基づ 、てノー ドをマスターノードに設定するか否かを判定することを特徴とする。
[0026] また、本発明は、上記発明において、前記障害検出手段により送信された障害検 出制御データをマスターノードが受信した際に当該マスターノードにより送信される 制御データを受信するごとに、データの送信経路に係る情報の再学習を開始する経 路情報学習手段をさらに備えたことを特徴とする。
[0027] また、本発明は、上記発明において、前記障害検出手段は、障害を検出した場合 にユーザデータの送信経路に係る情報の再学習を要求する経路情報学習制御デー タをさらに送信することを特徴とする。
[0028] また、本発明は、上記発明において、前記判定手段は、マスターノードから経路情 報学習制御データの受信に応じて送信された制御データを受信した後、前記優先 順位に係る情報を含んだ制御データを受信した場合、または、他のノードの優先順 位に係る情報を含んだ制御データを受信した場合に、該優先順位に係る情報に基 づいてノードをマスターノードに設定するか否かを判定することを特徴とする。
[0029] また、本発明は、上記発明において、前記障害検出手段により送信された経路情 報学習制御データを受信するごとに、ユーザデータの送信経路に係る情報の再学習 を開始する経路情報学習手段をさらに備えたことを特徴とする。
[0030] また、本発明は、リング型ネットワークにおいてユーザデータの中継をブロックするこ とによりループ経路の発生を防止するマスターノードにノードを設定する力否かを判 定するノードにより構成されるネットワークシステムであって、前記ノードは、前記リン グ型ネットワークに接続されたノードの一方のポート側でおこなわれるユーザデータ の中継をブロックし、また、当該ノードをマスターノードに設定する優先順位に係る情 報を含んだ制御データを送信するデータ送信手段と、前記優先順位に係る情報を含 んだ制御データを受信した場合、または、前記リング型ネットワークに接続された他の ノードの優先順位に係る情報を含んだ制御データを受信した場合に、該優先順位に 係る情報に基づいて当該ノードをマスターノードに設定する力否かを判定する判定 手段と、を備えたことを特徴とする。
[0031] また、本発明は、上記発明において、前記ノードはリング型ネットワークに発生した 障害を検出する障害検出手段をさらに備え、前記データ送信手段は、前記障害検出 手段により障害が検出された場合に、優先順位に係る情報を含んだ制御データを送 信することを特徴とする。
[0032] また、本発明は、上記発明において、前記障害検出手段は、少なくともデータを中 継する機能を有するデータ中継ノードが前記リング型ネットワークを構成するノードと して自ノードに接続されている場合に、当該データ中継ノードまたは当該データ中継 ノードと自ノードとを接続しているリンクに発生した障害を検出し、前記データ送信手 段は、前記障害検出手段により障害が検出された場合に、優先順位に係る情報を含 んだ制御データを送信することを特徴とする。
[0033] また、本発明は、リング型ネットワークにおいてユーザデータの中継をブロックするこ とによりループ経路の発生を防止するマスターノードにノードを設定する力否かを判 定するノード設定方法であって、前記リング型ネットワークに接続されたノードの一方 のポート側でおこなわれるユーザデータの中 ϋをブロックし、また、当該ノードをマス ターノードに設定する優先順位に係る情報を含んだ制御データを送信するデータ送 信工程と、前記優先順位に係る情報を含んだ制御データを受信した場合、または、 前記リング型ネットワークに接続された他のノードの優先順位に係る情報を含んだ制 御データを受信した場合に、該優先順位に係る情報に基づ ヽて当該ノードをマスタ 一ノードに設定するカゝ否かを判定する判定工程と、を含んだことを特徴とする。
[0034] また、本発明は、リング型ネットワークにおいてユーザデータの中継をブロックするこ とによりループ経路の発生を防止するマスターノードにノードを設定する力否かを判 定するノード設定プログラムであって、前記リング型ネットワークに接続されたノードの 一方のポート側でおこなわれるユーザデータの中 ϋをブロックし、また、当該ノードを マスターノードに設定する優先順位に係る情報を含んだ制御データを送信するデー タ送信手順と、前記優先順位に係る情報を含んだ制御データを受信した場合、また は、前記リング型ネットワークに接続された他のノードの優先順位に係る情報を含ん だ制御データを受信した場合に、該優先順位に係る情報に基づ!、て当該ノードをマ スターノードに設定する力否かを判定する判定手順と、をコンピュータに実行させるこ とを特徴とする。
発明の効果
[0035] 本発明によれば、リング型ネットワークに接続されたノードの一方のポート側でおこ なわれるユーザデータの中継をブロックし、また、当該ノードをマスターノードに設定 する優先順位に係る情報を含んだ制御データを送信し、送信した優先順位に係る情 報を含んだ制御データを受信した場合、または、リング型ネットワークに接続された他 のノードの優先順位に係る情報を含んだ制御データを受信した場合に、その優先順 位に係る情報に基づいて当該ノードをマスターノードに設定する力否かを判定するこ ととしたので、リング型ネットワークにおいてマスターノードを適切かつ効率的に設定 することができると!/、う効果を奏する。
[0036] また、本発明によれば、ノードをマスターノードに設定しないと判定された場合に、 優先順位に係る情報を含んだ制御データの送信を中止することとしたので、不必要 な制御データの送信を抑制することができるという効果を奏する。
[0037] また、本発明によれば、リング型ネットワークに発生した障害を検出し、障害を検出 した場合に、優先順位に係る情報を含んだ制御データを送信することとしたので、障 害が発生した場合に、マスターノードを適切かつ効率的に設定することができるという 効果を奏する。
[0038] また、本発明によれば、ノードがマスターノードである場合に、当該ノードが送信し た制御データが当該ノードに到達する力否かを調べることによりリング型ネットワーク に発生した障害を検出することとしたので、効率的に障害の検出をおこなうことができ 、障害発生時にマスターノードを適切かつ効率的に設定することができるという効果 を奏する。
[0039] また、本発明によれば、ノードがマスターノードであり、当該ノードがユーザデータの 中継をブロックして 、るポート側に接続されたリンクまたは当該リンクに接続されたノ ードに障害が発生した場合に、当該ノードがマスターノードである状態を維持するよう 判定することとしたので、マスターノードの状態を維持するよう適切かつ効率的に判 定をおこなうことができるという効果を奏する。
[0040] また、本発明によれば、ノードがマスターノードでな ヽ場合に、障害を検出した場合 に障害を検出したことをマスターノードに通知する障害検出制御データをさらに送信 することとしたので、マスターノードに障害の発生を通知することができ、マスターノー ドに障害の発生に対して適切な処理を実行させることができるという効果を奏する。
[0041] また、本発明によれば、マスターノードから障害検出制御データの受信に応じて送 信された制御データを受信した後、優先順位に係る情報を含んだ制御データを受信 した場合、または、優先順位に係る情報を含んだ制御データを他のノードから受信し た場合に、優先順位に係る情報に基づいてノードをマスターノードに設定する力否か を判定することとしたので、マスターノードが障害検出制御データを受信する以前に 送信した制御データによりノードをマスターノードに設定する力否かの判定がおこな われることを防ぐことができるという効果を奏する。
[0042] また、本発明によれば、障害検出制御データをマスターノードが受信した際に当該 マスターノードにより送信される制御データを受信するごとに、データの送信経路に 係る情報の再学習を開始することとしたので、障害の発生が検出されるたびに送信 経路の再学習をおこなうよう、再学習の回数を適切に管理することができるという効果 を奏する。
[0043] また、本発明によれば、障害を検出した場合にユーザデータの送信経路に係る情 報の再学習を要求する経路情報学習制御データをさらに送信することとしたので、他 のノードにユーザデータの送信経路に係る情報の再学習を要求することができ、他 のノードに障害の発生に対して適切な処理を実行させることができるという効果を奏 する。
[0044] また、本発明によれば、マスターノードから経路情報学習制御データの受信に応じ て送信された制御データを受信した後、優先順位に係る情報を含んだ制御データを 受信した場合、または、他のノードの優先順位に係る情報を含んだ制御データを受 信した場合に、その優先順位に係る情報に基づいてノードをマスターノードに設定す る力否かを判定することとしたので、マスターノードが経路情報学習制御データを受 信する以前に送信した制御データによりノードをマスターノードに設定する力否かの 判定がおこなわれることを防ぐことができるという効果を奏する。
[0045] また、本発明によれば、経路情報学習制御データを受信するごとに、ユーザデータ の送信経路に係る情報の再学習を開始することとしたので、障害の発生が検出され るたびに送信経路の再学習をおこなうよう、再学習の回数を適切に管理することがで きるという効果を奏する。
[0046] また、本発明によれば、少なくともデータを中継する機能を有するデータ中継ノード 力 Sリング型ネットワークを構成するノードとして自ノードに接続されている場合に、当該 データ中継ノードまたは当該データ中継ノードと自ノードとを接続しているリンクに発 生した障害を検出し、障害が検出された場合に、優先順位に係る情報を含んだ制御 データを送信することとしたので、自ノードをマスターノードに設定するか否かを判定 する機能をもたな 、データ中継ノードがリング型ネットワークに含まれて 、る場合でも 、マスターノードを適切かつ効率的に設定することができるという効果を奏する。 図面の簡単な説明
[0047] [図 1]図 1は、リング型ネットワークの立ち上げ時のノード設定処理の概念を説明する 図である。
[図 2]図 2は、リンク障害発生時のノード設定処理の概念を説明する図である。
[図 3]図 3は、ノード障害発生時のノード設定処理の概念を説明する図である。
[図 4]図 4は、ヘルスパケット未検出時のノード設定処理の概念を説明する図である。
[図 5]図 5は、本実施例に係るデータ伝送装置 30の機能構成を示す図である。
[図 6]図 6は、擬似マスターノードのヘルスパケットの送受信許可処理を説明する図で ある。
[図 7]図 7は、マスターノードの強制設定処理について説明する図である。
[図 8]図 8は、データ伝送装置 30以外のノードを含む場合のノード設定処理を説明す る図である。
[図 9]図 9は、ノードの状態遷移を説明する図である。 [図 10]図 10は、擬似マスターノード遷移処理の処理手順を示すフローチャートである
[図 11-1]図 11—1は、擬似マスターノード力 マスターノードあるいはトランジットノード に遷移する遷移処理の処理手順を示すフローチャート(1)である。
[図 11- 2]図 11— 2は、擬似マスターノード力もマスターノードあるいはトランジットノード に遷移する遷移処理の処理手順を示すフローチャート (2)である。
[図 12]図 12は、マスターノードをトランジットノードに遷移させる遷移処理の処理手順 を示すフローチャートである。
[図 13]図 13は、擬似マスターノードがトラップパケットおよびフラッシュパケットを送信 する場合のへルスパケットの送受信許可処理を説明する図である。
[図 14]図 5に示したデータ伝送装置 30となるコンピュータのハードウェア構成を示す 図である。
[図 15]図 15は、従来の EAPSの技術を説明する図である。
[図 16]図 16は、従来のデータ中継方法を説明する図である。
[図 17]図 17は、ノード障害発生時の従来のデータ中継方法を説明する図である。 符号の説明
10
1一 10 , 13
6 1一 13 , 20
6 1一 20 ノード
6
12, 15, 16, 22 障害
11 , 11 , 11 , 14 , 14 , 14 , 21
5 1一 21 ポー卜
1 4 5 1 3 6
23 データ中継ノード
30 データ伝送装置
31a, 31b ポー卜
32 パケット送受信部
Figure imgf000012_0001
33a 自ノード情報
33b 他ノード情報
33c 経路情報
34 マスターノード処理実行部 35 トランジットノード処理実行部
36 経路情報学習処理部
37 イベント検出部
38 擬似マスターノード処理実行部
38a ポートブロック処理部
38b ヘルスパケット送信処理部
38c ノード設定部
39 制御部
40 ディセーブル状態
41 擬似マスターノード
42 マスターノード
43 トランジットノード
発明を実施するための最良の形態
[0049] 以下に、本発明に係るノード設定装置、ネットワークシステム、ノード設定方法およ びノード設定プログラムの実施例を図面に基づいて詳細に説明する。なお、この実施 例によりこの発明が限定されるものではない。
実施例
[0050] まず、本発明に係るノード設定処理の概念について説明する。図 1は、リング型ネッ トワークの立ち上げ時のノード設定処理の概念を説明する図である。図 1の例では、 6つのノード 20— 20によりリング型ネットワークが構成される場合が示されている。
1 6
そして、各ノード 20 20は、隣り合う 2つのノード 20 20に接続される 2つのポー
1 6 1 6
トを有している。
[0051] このノード設定処理においては、リング型ネットワークの立ち上げ時に、各ノード 20
1 一 20力 擬似マスターノードと呼ばれる状態に遷移する(図中、擬似マスターノード
6
は記号「擬 M」で表されている。 ) 0
[0052] この擬似マスターノードは、ユーザデータのパケット中継を一方のポート 21— 21
1 6 においてブロックするとともに、もう一方のポートからヘルスパケット HI— H6を送信す る(状態 11)。なお、ブロックするポート 21— 21は、あら力じめ設定しておいてもよい し、ランダムに決定することとしてもよい。
[0053] ここで、ヘルスパケット HI— H6とは、ノード 20— 20力 リング型ネットワークに障
1 6
害がある力否かを確認するために送信する制御パケットである。リング型ネットワーク に障害がない場合には、ノード 20— 20は、ヘルスパケット HI— H6を送信したポー
1 6
トの反対側のポートにおいて、送信したヘルスパケット HI— H6を受信することになる [0054] 各ノード 20— 20は、ヘルスパケット HI— H6を送信する際に、ノード 20— 20を
1 6 1 6 マスターノードに設定する場合のノード 20— 20の優先順位の情報をへルスパケット
1 6
HI— H6に含めて送信する。この優先順位は、あら力じめ各ノード 20— 20に割り当
1 6 てておいてもよいし、ノード 20 20に割り当てられている MACアドレスを優先順位
1 6
を表すものとして利用することとしてもよい。
[0055] そして、各ノード 20— 20は、他のノード 20— 20により送信されたへルスパケット
1 6 1 6
H 1一 H6を受信すると、ヘルスバケツト H 1— H6に含まれる優先順位の情報を取得 し、取得した優先順位の情報と自ノード 20— 20の優先順位の情報とを比較する。
1 6
[0056] 他のノード 20, 20により送信されたへルスパケット HI, H4に含まれる優先順位の
1 4
方が高い場合には、ヘルスパケット HI, H4を受信したノード 20 ロックし
6, 20は、ブ
3
ていたポート 21 , 21を開放し、ユーザデータのパケット中継を可能とするトランジット
6 3
ノード(図中、トランジットノードは記号「τ」で表されている。)に自ノードの状態を遷移 させる(状態 12)。
[0057] ここで、優先順位は、同一の優先順位のものがな!、ように設定されるので、ヘルス パケット HI— Η6が各ノード 20— 20により伝送されるにつれ、 1つのノード 20以外
1 6 1 はすべてトランジットノードに遷移し、各ノード 20— 20によりブロックされていたポー
2 5
ト 21— 21が開放される(状態 13)。そして、ノード 20— 20カ讣ランジットノードに遷
2 6 2 6
移した場合には、ヘルスパケットの送信を停止する。
[0058] このようにして、擬似マスターノードとして最終的に残ったノード 20は、 自ノードが
1
送信したヘルスパケット HIを受信するようになる。そして、各ノード 20— 20は、自ノ
1 6 ードが送信したヘルスパケット HI— H6を受信した場合に、自ノードの状態をマスタ 一ノード(図中、マスターノードは記号「M」で表されている。 )に遷移する処理をおこ なう (状態 14)。
[0059] 図 2は、リンク障害発生時のノード設定処理の概念を説明する図である。図 2の例で は、ノード 20がマスターノードとして設定され、ポート 21を介したユーザデータのパ
1 1
ケット中継をブロックしている場合を示している。また、ノード 20とノード 20とを接続し
3 4 ているリンクに障害 22が発生したものとする(状態 15)。
[0060] この場合、障害 22が発生したリンクに接続されているノード 20 , 20は、障害 22の
3 4
発生を検出し、自ノード 20 , 20を擬似マスターノードとして設定するとともに、障害 2
3 4
2が発生したリンク側のポート 21 , 21をブロックする。
3 4
[0061] さらに、ノード 20, 20は、ポート 21
3 4 3, 21の反対側のポートから障害 22が発生した
4
ことをマスターノードであるノード 20に通知するトラップパケット T3, T4を送信する(
1
状態 16)。
[0062] マスターノードであるノード 20は、このトラップパケット T3, T4の少なくとも一方を受
1
信すると、自ノード 20の状態をトランジットノードに遷移させ、ブロックしていたポート
1
21を開放する。
1
[0063] 一方、各ノード 20
3, 20は、トラップパケット T3
4 , T4の送信後、へノレスパケット H3,
H4の送信をおこない、もう一方のノード 20 送信されたへルスパケット H3,
3, 20力
4
H4を受信するのを待ち受ける(状態 17)。
[0064] そして、もう一方のノード 20 , 20により送信されたへルスパケット H3, H4を受信し
3 4
た場合には、各ノード 20 , 20は、図 1で説明したノード設定処理と同様にして、ヘル
3 4
スパケット H3, H4に含まれる優先順位の情報に基づき、自ノード 20 , 20をマスタ
3 4 一ノードとするの力、トランジットノードとするのかを判定する処理をおこなう。
[0065] 図 2の例では、ノード 20がマスターノードとなり、ノード 20力^ランジットノードとなる
3 4
場合が示されている (状態 18)。これは、ノード 20の優先順位がノード 20の優先順
3 4 位よりも高く設定されて 、ることを示して 、る。
[0066] 障害 22が復旧した場合には、ノード 20がそのまま継続してマスターノードとして機
3
能する。したがって、障害 22の復旧後にあらためてマスターノードを設定する処理は 不要である。
[0067] また、このノード設定処理は、リンク障害の発生に対処できるだけでなぐノード障害 の発生にも対処することができる。図 3は、ノード障害発生時のノード設定処理の概 念を説明する図である。
[0068] 図 3の例では、ノード 20がマスターノードとして設定され、ユーザデータのパケット
1
中継をポート 21がブロックしている場合を示している。また、この例ではノード 20に
1 4 障害が発生したものとする (状態 19)。
[0069] この場合、障害が発生したノード 20の両脇のノード 20 , 20が障害の発生を検出
4 3 5
して、障害が発生したノード 20側のポート 21 , 21をブロックする。そして、ノード 20
4 3 5 3
, 20は、障害が発生したことをマスターノード 20に通知するトラップパケット T3, T5
5 1
を送信する (状態 20)。
[0070] その後、トラップパケット T3, T5の少なくとも一方を受信したマスターノード 20は、
1 自ノードをトランジットノードに遷移させ、ブロックしていたポート 21を開放する。一方
1
、ノード 20, 20は、トラップパケット T3, T5の送信後、ヘルスパケット H3
3 5 , H5の送 信をおこない、もう一方のノード 20, 20力 送信されたへルスパケット H3
3 5 , H5を受 信するのを待ち受ける(状態 21)。
[0071] そして、もう一方のノード 20 , 20により送信されたへルスパケット H3, H5を受信し
3 5
た場合には、各ノード 20 , 20は、図 1で説明したノード設定処理と同様にして、ヘル
3 5
スパケット H3, H5に含まれる優先順位の情報に基づき、自ノード 20 , 20をマスタ
3 5 一ノードとするの力、トランジットノードとするのかを判定する処理をおこなう。
[0072] 図 3の例では、ノード 20がマスターノードとなり、ノード 20力^ランジットノードとなる
3 5
場合が示されている (状態 22)。これは、ノード 20の優先順位がノード 20の優先順
3 5 位よりも高く設定されて 、ることを示して 、る。
[0073] ノード 20の障害が復旧した場合には、ノード 20はー且擬似マスターノードとなる。
4 4
そして、一方のポート 21をブロックし、へノレスパケット H4を送信する(状態 23)。
4
[0074] また、マスターノードであるノード 20は、定期的にへノレスパケットを送信しているた
3
め、ノード 20は、そのへルスパケットを受信すると、優先順位の比較によりトランジット
4
ノードに遷移する(状態 24)。
[0075] また、マスターノードは、自ノードが送信したヘルスパケットが一定時間が経過して も戻ってこない場合に、自ノードを擬似マスターノードに遷移させる。図 4は、ヘルス パケット未検出時のノード設定処理の概念を説明する図である。
[0076] 図 4の例では、ノード 20がマスターノードとして設定され、ユーザデータのパケット
1
中継をポート 21においてブロックするとともに、ヘルスパケット HIを送信した場合を
1
示している(状態 25)。
[0077] そして、たとえば、ノード 20にへルスパケットだけが伝送できな 、障害が発生したよ
4
うな場合には、ノード 20は、自ノード 20が送信したヘルスパケット HIがー定時間が
1 1
経過しても戻ってこないことにより、自ノードを擬似マスターノードに遷移させる(状態
26)。
[0078] ここで、ノード 20に発生した、状態 25に示した障害が復旧され、自ノード 20が送
4 1 信したヘルスパケット HIを受信できるようになった場合には、ノード 20は再びマスタ
1
一ノードに遷移する(状態 25)。
[0079] ノード 20に発生した障害が復旧できず、ヘルスパケットを含めたすべての信号が
4
伝送できない場合には、障害が発生したノード 20の両隣のノード 20 , 20力 信号
4 3 5 を検出しないことにより障害の発生を検出し、自ノード 20 , 20を擬似マスターノード
3 5
に遷移させることになる。そして、ノード 20 , 20は、障害が発生したノード 20側のポ
3 5 4 ート 21 , 21をブロックするとともに、ヘルスパケット H3, H5を送信する(状態 27)。
3 5
[0080] 続いて、ノード 20は、このへノレスパケット H3, H5を受信すると、 自ノード 20の状
1 1 態をトランジットノードに遷移させ、ブロックしていたポート 21を開放する(状態 28)。
1
これ以降は、図 3の状態 22、状態 23および状態 24に示したものと同様の処理がおこ なわれ、マスターノードが設定される。
[0081] このように、本発明に係るノード設定処理では、ユーザデータの中継ポートをブロッ クするとともに、ノードをマスターノードに設定する優先順位の情報を含んだヘルスパ ケットを送信し、そのへルスパケットを受信した場合、または、他のノードから優先順 位の情報を含んだヘルスパケットを受信した場合に、優先順位の情報に基づ ヽてノ ードをマスターノードに設定する力否かを判定することとしたので、リング型ネットヮー クにお 、てマスターノードを適切かつ効率的に設定することができる。
[0082] つぎに、本実施例に係るデータ伝送装置の機能構成について説明する。図 5は、 本実施例に係るデータ伝送装置 30の機能構成を示す図である。図 5に示すように、 このデータ伝送装置 30は、ポート 3 la, 31b、パケット送受信部 32、記憶部 33、マス ターノード処理実行部 34、トランジットノード処理実行部 35、経路情報学習処理部 3 6、イベント検出部 37、擬似マスターノード処理実行部 38および制御部 39を有する。
[0083] ポート 31a, 31bは、ユーザデータまたは制御データのパケットを中継するポートで ある。パケット送受信部 32は、ポート 3 la, 3 lbを介してデータパケットやトラップパケ ットまたはへルスパケットなどの各種パケットを送受信する処理をおこなう。
[0084] 記憶部 33は、メモリなどの記憶デバイスである。この記憶部 33は、自ノード情報 33 a、他ノード情報 33bおよび経路情報 33cを記憶している。 自ノード情報 33aは、自ノ ードの優先順位の情報や MACアドレスなどの自ノードに係る情報を記憶したもので ある。他ノード情報 33bは、自ノード以外のノードの優先順位の情報や MACアドレス などの情報を記憶したものである。
[0085] 経路情報 33cは、パケットの転送先に係る情報を記憶したものである。具体的には 、経路情報 33cは、パケットの転送先の MACアドレスと、当該 MACアドレスが割り当 てられたノードが接続されて 、るポートの情報とを対応付けて記憶して 、る。
[0086] マスターノード処理実行部 34は、自ノードがマスターノードとして設定された場合に 、マスターノードがおこなうべき各種処理を実行する。具体的には、マスターノード処 理実行部 34は、ネットワークにループ現象が発生するのを防止するため、一方のポ ートにおけるユーザデータのパケット中継をブロックし、また、ヘルスパケットを定期的 に送信する処理などをおこなう。
[0087] また、マスターノード処理実行部 34は、パケットを受信した場合に、その宛先 MAC アドレスを調べ、経路情報 33cを参照して適切なポートからパケットを送信する処理を おこなう。
[0088] トランジットノード処理実行部 35は、自ノードがトランジットノードとして設定された場 合に、トランジットノードがおこなうべき各種処理を実行する。具体的には、トランジット ノード処理実行部 35は、パケットを受信した場合に、その MAC宛先アドレスを調べ、 経路情報 33cを参照して適切なポートからパケットを送信する処理をおこなう。
[0089] 経路情報学習処理部 36は、他のノードから経路情報 33cの再学習を要求するフラ ッシュパケットを受信した場合に、経路情報 33cの再学習を実行する。 [0090] イベント検出部 37は、自ノードの立ち上げや、リンクまたはノードに発生した障害な どを検出する処理をおこなう。具体的には、イベント検出部 37は、電源投入がなされ た場合、あるいは、再起動が実行された場合にそれを検知して、自ノードの立ち上げ を検出する。
[0091] また、イベント検出部 37は、パケットの信号レベルの状態や、他のノードからの応答 の有無などの情報に基づいて、自ノードに接続されているリンク、または、そのリンク に接続されている他のノードの障害の検出をおこなう。
[0092] 障害を検出した場合には、イベント検出部 37は、トラップパケットを他のノードに送 信する。特に、ノードがマスターノードである場合には、イベント検出部 37は、フラッシ ュパケットを他のノードに送信する処理をおこなう。
[0093] さらに、イベント検出部 37は、 自ノードがマスターノードである場合に、自ノードが送 信したヘルスパケットが所定の時間内に自ノードに戻ってくる力否かを調べることによ り、ネットワークに発生した障害を検出する。
[0094] 擬似マスターノード処理実行部 38は、イベント検出部 37により自ノードの立ち上げ や障害の発生が検出された場合に、自ノードを擬似マスターノードとして設定し、擬 似マスターノードがおこなうべき各種処理を実行する。この擬似マスターノード処理実 行部 38は、ポートブロック処理部 38a、ヘルスパケット送信処理部 38bおよびノード 設定部 38cを有する。
[0095] ポートブロック処理部 38aは、イベント検出部 37により自ノードの立ち上げや障害の 発生が検出された場合に、 2つのポートのうち一方のポートでユーザデータのバケツ ト中継をブロックする処理をおこなう。
[0096] ここで、自ノードに接続されて 、るリンク、または、そのリンクに接続されて 、る他のノ ードに発生した障害を検出した場合は、ポートブロック処理部 38aは、障害側のポー 卜をブロックする。
[0097] ヘルスパケット送信処理部 38bは、イベント検出部 37により自ノードの立ち上げや 障害の発生が検出された場合に、優先順位の情報を含んだヘルスパケットを他のノ ードに送信する処理をおこなう。
[0098] ノード設定部 38cは、パケット送受信部 32がへルスパケットを受信した場合に、ヘル スパケットに含まれる優先順位の情報を自ノード情報 33aとして記憶して 、る自ノード の優先順位の情報と比較して、自ノードの優先順位が高 、か否かを判定する処理を おこなう。
[0099] そして、自ノードの優先順位が低い場合には、ノード設定部 38cは、 自ノードをトラ ンジットノードとして設定する。 自ノードの優先順位が高い場合には、ノード設定部 38 cは、つぎのへルスパケットの受信を待ち受け、自ノードの優先順位が高いか否かを 再度判定する。
[0100] 自ノードの優先順位よりも高 、優先順位の情報を含んだヘルスパケットを受信する ことなく、自ノードが送信したヘルスパケットを受信した場合には、ノード設定部 38cは 、 自ノードをマスターノードとして設定する。
[0101] ところで、図 2で説明したように、障害 22が発生した場合には、障害 22が発生したリ ンクに接続されているノード 20 , 20が擬似マスターノードに遷移する力 マスターノ
3 4
ードであるノード 20力トラップパケット T3, T4を受信する以前にへルスパケットを送
1
信していると、ノード 20 , 20はそれを受信して即座にトランジットノードに遷移してし
3 4
まうという問題が発生する。
[0102] そのため、ノード 20 , 20のパケット送受信部 32は、トラップパケット T3, T4をマス
3 4
ターノードであるノード 20が受信して、各ノードに記憶された経路情報をクリアするフ
1
ラッシュパケットをノード 20が送信するのを待ち受け、そのフラッシュパケットを受信し
1
た後にはじめてヘルスパケットの送受信をおこなう。
[0103] 図 6は、擬似マスターノードのヘルスパケットの送受信許可処理を説明する図であ る。なお、図 6は、図 2に示したリンク障害発生時の場合に対応している。図 6に示す ように、ノード 20 , 20は、障害を検出すると、トラップパケットをマスターノードである
3 4
ノード 20に送信する。
1
[0104] マスターノードであるノード 20は、定期的にへノレスパケットを送信している力 擬似
1
マスターノードであるノード 20, 20は、トラップパケットに対する応答であるフラッシュ
3 4
パケットを受信するまでは、受信したヘルスパケットを破棄する。
[0105] トラップパケットを受信した後にノード 20 , 20が実行する処理は、図 2で説明した
3 4
状態 17および状態 18の処理と同様である。これにより、ノード 20, 20力 ヘルスパ ケットを送信する前にマスターノードにより送信されたへルスパケットを受信して、即座 にトランジットノードに遷移してしまうという問題を解決することができる。
[0106] また、各ノードの経路情報学習処理部 36は、フラッシュパケットを受信するごとに経 路情報 33cの再学習をおこなうこととする。これにより、障害の発生が検出されるたび に送信経路の再学習をおこなうよう、再学習の回数を適切に管理することができる。
[0107] 図 5の説明に戻ると、制御部 39は、データ伝送装置 30を全体制御する制御部であ り、各機能部間のデータの授受などを司る。
[0108] なお、本発明に係るノード設定処理は、あるノードをマスターノードとして強制的に 設定したい場合にも対処することができる。図 7は、マスターノードの強制設定処理に ついて説明する図である。図 7の例では、 6つのノード 20— 20によりリング型ネットヮ
1 6
ークが構成される場合が示されて!/ヽる。
[0109] このマスターノードの設定処理においては、リング型ネットワークの立ち上げ時に、 ノード 20がマスターノードとして機能するよう、ノード 20の優先順位が最も高く設定
4 4
されている。その他の各ノード 20 20 , 20 , 20は、リング型ネットワークの立ち上
1 3 5 6
げ時に、擬似マスターノードと呼ばれる状態に遷移する。
[0110] そして、各ノード 20— 20は、一方のポート 21— 21を用いておこなわれるユーザ
1 6 1 6
データのパケット中継をブロックするとともに、もう一方のポートからヘルスパケット HI 一 H6を送信する(状態 29)。
[0111] そして、各ノード 20— 20が他のノード 20— 20により送信されたへルスパケット H
1 6 1 6
1一 H6を受信すると、ヘルスパケット HI— H6に含まれる優先順位の情報を取得し、 取得した優先順位と自ノード 20— 20に記憶していた自ノード 20— 20の優先順位
1 6 1 6
とを比較する。
[0112] この場合、マスターノードであるノード 20の優先順位が最も高いため、各ノード 20
4 1 一 20 , 20 , 20はトランジットノードに遷移し (状態 30,状態 31)、最終的にはマスタ
3 5 6
一ノードであるノード 20力 自ノードが送信したヘルスパケット H4を受信する(状態 3
4
2)。
[0113] このように、あら力じめマスターノードが固定的に設定される場合にも、本発明に係 るノード設定処理は対応することができる。 [0114] さらに、図 1から図 4では、すべてのノードが本発明のノード設定処理をおこなうデ ータ伝送装置 30からなるノードであることとした力 1つのノードが本発明のノード設 定処理をおこなうものでなぐ単にパケットを中継するデータ中継ノードであっても、本 発明に係るノード設定処理は対応することができる。
[0115] 図 8は、データ伝送装置 30以外のノードを含む場合のノード設定処理を説明する 図である。図 8の例では、ノード 20がマスターノードとして設定され、ポート 21におけ
3 3 るユーザデータのパケット中継をブロックしている場合を示している。また、データ中 継ノード 23とノード 20とを接続しているリンクに障害 22が発生したものとする(状態 3
1
3)。
[0116] ここで、ノード 20— 20は、図 5に示したデータ伝送装置 30により実現されるノード
1 5
であり、データ中継ノード 23は、ノード 20— 20により構成されるリング型ネットワーク
1 5
と、もう 1つのリング型ネットワークとの両方に属し、パケットを中継する機能を有するノ ードである。
[0117] この場合、ノード 20は、障害 22の発生を検出し、自ノード 20を擬似マスターノード
1 1
に遷移させる。すなわち、ノード 20は、障害 22が発生した方のポート 21をブロック
1 1 するとともに、トラップパケット T1を送信する (状態 34)。
[0118] そして、マスターノードであるノード 20は、トラップパケット T1を受信すると、トランジ
3
ットノードに遷移し、ブロックしていたポート 21を開放する。一方、擬似マスターノード
3
であるノード 20は、ヘルスパケット HIを定期的に送信し、障害 22が復旧されるまで
1
擬似マスターノードとして機能する (状態 35)。
[0119] そして、障害 22が復旧された場合には、ノード 20は、自ノードが送信したヘルスパ
1
ケット HIを受信するので、マスターノードに遷移する(状態 36)。このように、データ 伝送装置 30以外のノードを含む場合においても、本発明のノード設定処理はそれに 対応することができる。
[0120] つぎに、本実施例に係るノード設定処理の処理手順について図 9から図 12を用い て説明する。図 9は、ノードの状態遷移を説明する図であり、図 10は、擬似マスターノ ード遷移処理の処理手順を示すフローチャートである。図 10で説明する擬似マスタ 一ノード遷移処理は、図 9に示した遷移 4、遷移 5または遷移 6の状態遷移に対応す るものである。
[0121] 図 9において、ディセーブル状態 40とは、ノードがリンクダウンした状態のことである 。具体的には、データ伝送装置 30の電源が切られたり、データ伝送装置 30の再起 動が実行されたりした場合、あるいは、ノードが擬似マスターノード 41やマスターノー ド 42、あるいは、トランジットノード 43として稼動していた力 そのノードが 2つの障害 を検出した場合 (遷移 1、遷移 2、遷移 3)などに、ノードはディセーブル状態に遷移す る。
[0122] 図 10に示すように、まず、データ伝送装置 30のノード設定部 38cは、自ノードの稼 動状態を検出する (ステップ S101)。そして、ノード設定部 38cは、 自ノードがデイセ 一ブル状態 40から立ち上げられたものであるか否かを調べる(ステップ S102)。
[0123] 自ノードがディセーブル状態 40から立ち上げられたものである場合には (ステップ S 102, Yes)、ノード設定部 38cは、少なくとも 1つのポートがリンクアップしているか否 かを調べる(ステップ S 105)。そして、 1つのポートもリンクアップしていない場合には (ステップ S105, No)、ステップ S 101に移行して、それ以後の処理を継続する。
[0124] 少なくとも 1つのポートがリンクアップしている場合には (ステップ S105, Yes)、ノー ド設定部 38cは、自ノードの両側のポートをイネ一ブルにし (ステップ S 106)、自ノー ドを擬似マスターノードに設定して (ステップ S 107)、この擬似マスターノード遷移処 理を終了する。このステップ S102からステップ S107の処理は、図 9の遷移 4に対応 するものである。
[0125] ステップ S102において、自ノードがディセーブル状態 40から立ち上げられたもの でない場合には (ステップ S 102, No)、ノード設定部 38cは、自ノードのどちらか一 方のポート側に、イベント検出部 37により障害が検出された力否かを調べる (ステップ S103)。
[0126] 障害が検出された場合には (ステップ S103, Yes)、ステップ S107に移行して、ノ ード設定部 38cは、自ノードを擬似マスターノードに設定し、この擬似マスターノード 遷移処理を終了する。ステップ S103およびステップ S107の処理は、図 9の遷移 5ま たは遷移 6に対応するものである。
[0127] 障害が検出されな力つた場合には (ステップ S103, No)、ノード設定部 38cは、 自 ノードがマスターノードであって、送信したヘルスパケットが所定の時間未受信である か否かを調べる(ステップ S 104)。
[0128] そして、ヘルスパケットが未受信である場合には (ステップ S 104, Yes)、ステップ S 107に移行して、ノード設定部 38cは、自ノードを擬似マスターノードに設定し、この 擬似マスターノード遷移処理を終了する。ヘルスパケットを受信して ヽる場合には (ス テツプ S104, No)、ステップ S 101に移行して、それ以後の処理を継続する。ステツ プ S103、ステップ S104およびステップ S107の処理は、図 9の遷移 5に対応するも のである。
[0129] つぎに、擬似マスターノードからマスターノードあるいはトランジットノードに遷移する 遷移処理の処理手順について説明する。図 11—1および図 11— 2は、擬似マスターノ ード力 マスターノードあるいはトランジットノードに遷移する遷移処理の処理手順を 示すフローチャート(1)および(2)である。この遷移処理は、図 9に示した遷移 7およ び遷移 8に対応するものである。
[0130] 図 11—1に示すように、まず、データ伝送装置 30のノード設定部 38cは、自ノードの 両側のポートがリンクアップしており、かつ、自ノードが送信したヘルスパケットを受信 したか否かを調べる(ステップ S201)。
[0131] 自ノードの両側のポートがリンクアップしており、 自ノードが送信したヘルスパケット を受信した場合には (ステップ S201, Yes)、ノード設定部 38cは、自ノードをマスタ 一ノードに設定し (ステップ S 204)、この遷移処理を終了する。この処理は、図 1で説 明したマスターノードの設定処理に対応する。
[0132] 自ノードの両側のポートがリンクアップして!/ヽな 、か、または、自ノードが送信したへ ルスパケットを受信していない場合には (ステップ S201, No)、ノード設定部 38cは、 自ノードの両側のポートがリンクアップしており、かつ、自ノードが強制的にマスターノ ードとなるよう設定されて 、る力否かを調べる(ステップ S 202)。
[0133] そして、自ノードの両側のポートがリンクアップしており、かつ、自ノードが強制的に マスターノードとなるよう設定されている場合には (ステップ S202, Yes)、ステップ S2 04に移行して、ノード設定部 38cは、自ノードをマスターノードに設定し、この遷移処 理を終了する。この処理は、図 7で説明したマスターノードの設定処理に対応する。 [0134] 自ノードの両側のポートがリンクアップしていないか、あるいは、自ノードが強制的に マスターノードとなるよう設定されていない場合には (ステップ S202, No)、ノード設 定部 38cは、一方のポート側がリンクダウンし、かつ、フラッシュパケットを受信し、力 つ、 自ノードに割り当てられた優先順位よりも低優先順位のヘルスパケットを受信した か否かを調べる(ステップ S203)。
[0135] 一方のポート側がリンクダウンし、かつ、フラッシュパケットを受信し、かつ、低優先 順位のへルスパケットを受信した場合には(ステップ S203, Yes)、ステップ S204に 移行して、ノード設定部 38cは、自ノードをマスターノードに設定し、この遷移処理を 終了する。この処理は、図 2または図 3で説明したマスターノードの設定処理に対応 する。また、ステップ S201からステップ S204の処理は、図 9の遷移 7に対応するもの である。
[0136] 一方のポート側がリンクダウンして!/ヽな 、か、フラッシュパケットを受信して ヽな 、か 、または、低優先順位のヘルスパケットを受信していない場合には (ステップ S203, No)、図 11— 2に示されるように、ノード設定部 38cは、両側のポートがリンクアップし ており、かつ、マスターノードからヘルスパケットを受信したか否かを調べる(ステップ S204)。
[0137] そして、両側のポートがリンクアップしており、かつ、マスターノードからへノレスバケツ トを受信した場合には (ステップ S204, Yes)、ノード設定部 38cは、自ノードをトラン ジットノードに設定し (ステップ S208)、この遷移処理を終了する。この処理は、図 7で 説明したトランジットノードの設定処理に対応する。
[0138] 両側のポートがリンクアップしていないか、あるいは、マスターノードからへノレスパケ ットを受信していない場合には (ステップ S204, No)、ノード設定部 38cは、両側のポ ートがリンクアップしており、かつ、 自ノードに割り当てられた優先順位よりも高優先順 位のへルスパケットを受信したか否かを調べる(ステップ S 205)。
[0139] 両側のポートがリンクアップしており、かつ、高優先順位のへルスパケットを受信した 場合には (ステップ S205, Yes)、ステップ S208に移行して、ノード設定部 38cは、 自ノードをトランジットノードに設定し、この遷移処理を終了する。この処理は、図 1で 説明したトランジットノードの設定処理に対応する。 [0140] 両側のポートがリンクアップして!/ヽな 、か、または、高優先順位のへルスパケットを 受信していない場合には (ステップ S205, No)、ノード設定部 38cは、一方のポート 力 Sリンクダウンし、かつ、フラッシュパケットを受信し、かつ、 自ノードに割り当てられた 優先順位よりも高優先順位のへルスパケットを受信したか否かを調べる (ステップ S2 06)。
[0141] そして、一方のポートがリンクダウンし、かつ、フラッシュパケットを受信し、かつ、高 優先順位のヘルスパケットを受信した場合には(ステップ S206, Yes)、ステップ S20 8に移行して、ノード設定部 38cは、自ノードをトランジットノードに設定し、この遷移処 理を終了する。この処理は、図 2および図 3で説明したトランジットノードの設定処理 に対応する。
[0142] 一方のポートがリンクダウンしていないか、フラッシュパケットを受信していないか、ま たは、高優先順位のへルスパケットを受信していない場合には (ステップ S 206, No) 、ノード設定部 38cは、自ノードがマスターノードとして送信したヘルスパケットの受信 タイムアウトが発生し、かつ、別のノードのヘルスパケットを受信した力否かを調べる( ステップ S207)。
[0143] そして、ヘルスパケットの受信タイムアウトが発生し、かつ、別のノードのヘルスパケ ットを受信した場合には (ステップ S207, Yes)、ステップ S 208に移行して、ノード設 定部 38cは、自ノードをトランジットノードに設定し、この遷移処理を終了する。この処 理は、図 4で説明したトランジットノードの設定処理に対応する。
[0144] ヘルスパケットの受信タイムアウトが発生して!/ヽな 、か、または、別のノードのヘルス パケットを受信しない場合には (ステップ S207, No)、ステップ S201に移行して、そ れ以降の処理を再度実行する。上記ステップ S204からステップ S208の処理は、図 9に示した遷移 8に対応するものである。
[0145] つぎに、マスターノードをトランジットノードに遷移させる遷移処理の処理手順につ いて説明する。図 12は、マスターノードをトランジットノードに遷移させる遷移処理の 処理手順を示すフローチャートである。なお、図 12に示す処理は、図 9に示した遷移 9に対応する。
[0146] 図 12に示すように、まず、データ伝送装置 30のノード設定部 38cは、マスターノー ド 42である自ノードが、自ノードに割り当てられた優先順位よりも高優先順位のヘル スパケットを受信した力否かを調べる(ステップ S301)。
[0147] そして、高優先順位のへルスパケットを受信した場合には (ステップ S301, Yes)、 ノード設定部 38cは、自ノードをトランジットノードに遷移させ (ステップ S303)、この遷 移処理を終了する。
[0148] 高優先順位のへルスパケットを受信して ヽな 、場合には (ステップ S301, No)、ノ ード設定部 38cは、自ノードがトラップパケットを受信した力否かを調べる (ステップ S 302)。
[0149] そして、トラップパケットを受信した場合には(ステップ S302, Yes)、ステップ S303 に移行して、ノード設定部 38cは、自ノードをトランジットノードに遷移させ、この遷移 処理を終了する。トラップパケットを受信していない場合には (ステップ S302, No)、 そのままこの遷移処理を終了する。
[0150] なお、図 6では、マスターノードであるノード 20がフラッシュパケットを送信する場合
1
を示した力 擬似マスターノードであるノード 20 , 20力 Sトラップパケットを送信するの
3 4
に加えて、さらにフラッシュパケットを送信することとしてもよい。
[0151] 図 13は、擬似マスターノードがトラップパケットおよびフラッシュパケットを送信する 場合のへルスパケットの送受信許可処理を説明する図である。図 13の場合には、マ スターノードであるノード 20は、トラップパケットおよびフラッシュパケットを受信したこ
1
とをノード 20, 20に通知する ACK (Acknowledgement)パケットを送信する。
3 4
[0152] 擬似マスターノードであるノード 20, 20は、この ACKパケットを受信するまでは、
3 4
受信したヘルスパケットを破棄する。そして、ノード 20 , 20は、 ACKパケットを受信
3 4
してはじめてヘルスパケットの送受信を許可する。
[0153] この場合、各ノードの経路情報学習処理部 36は、フラッシュパケットを受信するごと に経路情報 33cを再学習をおこなうこととする。これにより、障害の発生が検出される たびに送信経路の再学習をおこなうよう、再学習の回数を適切に管理することができ る。
[0154] 上述してきたように、本実施例では、データ伝送装置 30のポートブロック処理部 38 aが、リング型ネットワークに接続されたノードの一方のポート側でおこなわれるユーザ データの中継をブロックし、ヘルスパケット送信処理部 38b力 ノードをマスターノード に設定する優先順位に係る情報を含んだヘルスパケットを送信し、ノード設定部 38c 力 そのへルスパケットを受信した場合、または、他のノードの優先順位に係る情報を 含んだヘルスパケットを受信した場合に、その優先順位に係る情報に基づ 、てノード をマスターノードに設定するか否かを判定することとしたので、リング型ネットワークに お 、てマスターノードを適切かつ効率的に設定することができる。
[0155] また、本実施例では、ノード設定部 38cによりノードをマスターノードに設定しないと 判定された場合に、ヘルスパケット送信処理部 38bが、優先順位に係る情報を含ん だへルスパケットの送信を中止することとしたので、不必要なヘルスパケットの送信を 抑帘 Uすることができる。
[0156] また、本実施例では、イベント検出部 37が、リング型ネットワークに発生した障害を 検出し、ヘルスパケット送信処理部 38bが、障害が検出された場合に、優先順位に 係る情報を含んだヘルスパケットを送信することとしたので、障害が発生した場合に、 マスターノードを適切かつ効率的に設定することができる。
[0157] また、本実施例では、ノードがマスターノードである場合に、イベント検出部 37が、 当該ノードが送信したヘルスパケットが当該ノードに到達するか否かを調べることによ りリング型ネットワークに発生した障害を検出することとしたので、効率的に障害の検 出をおこなうことができ、障害発生時にマスターノードを適切かつ効率的に設定する ことができる。
[0158] また、本実施例では、ノードがマスターノードであり、当該ノードがユーザデータの 中継をブロックしているポート側に接続されたリンク、または、当該リンクに接続された ノードに障害が発生した場合に、ノード設定部 38cが、当該ノードがマスターノードで ある状態を維持するよう判定することとしたので、マスターノードの状態を維持するよう 適切かつ効率的に判定をおこなうことができる。
[0159] また、本実施例では、イベント検出部 37が、自ノードがトランジットノードである場合 に、障害を検出した場合に障害を検出したことをマスターノードに通知するトラップパ ケットを送信することとしたので、マスターノードに障害の発生を通知することができ、 マスターノードに障害の発生に対して適切な処理を実行させることができる。 [0160] また、本実施例では、ノード設定部 38cが、マスターノードからトラップパケットの受 信に応じて送信されたフラッシュパケットを受信した後、優先順位に係る情報を含ん だへルスパケットを受信した場合、または、優先順位に係る情報を含んだヘルスパケ ットを他のノードから受信した場合に、優先順位に係る情報に基づ 、てノードをマスタ 一ノードに設定する力否かを判定することとしたので、マスターノードがトラップバケツ トを受信する以前に送信したヘルスパケットによりノードをマスターノードに設定する か否かの判定がおこなわれることを防ぐことができる。
[0161] また、本実施例では、経路情報学習処理部 36が、トラップパケットをマスターノード が受信した際に当該マスターノードにより送信されるフラッシュパケットを受信するごと に、経路情報 33cの再学習を開始することとしたので、障害の発生が検出されるたび に経路情報 33cの再学習をおこなうよう、再学習の回数を適切に管理することができ る。
[0162] また、本実施例では、イベント検出部 37が、障害を検出した場合にフラッシュバケツ トを送信することとしたので、他のノードに経路情報 33cの再学習を要求することがで き、他のノードに障害の発生に対して適切な処理を実行させることができる。
[0163] また、本実施例では、ノード設定部 38cが、マスターノード力もフラッシュパケットの 受信に応じて送信された ACKパケットを受信した後、優先順位に係る情報を含んだ ヘルスパケットを受信した場合、または、他のノードの優先順位に係る情報を含んだ ヘルスパケットを受信した場合に、優先順位に係る情報に基づ 、てノードをマスター ノードに設定する力否かを判定することとしたので、マスターノードがフラッシュバケツ トを受信する以前に送信したヘルスパケットによりノードをマスターノードに設定する か否かの判定がおこなわれることを防ぐことができる。
[0164] また、本実施例では、フラッシュパケットを受信するごとに、経路情報学習処理部 36 力 経路情報 33cの再学習を開始することとしたので、障害の発生が検出されるたび に経路情報 33cの再学習をおこなうよう、再学習の回数を適切に管理することができ る。
[0165] また、本実施例では、少なくともデータを中継する機能を有するデータ中継ノード 2 3がリング型ネットワークを構成するノードとして自ノードに接続されている場合に、ィ ベント検出部 37が、データ中継ノード 23またはデータ中継ノード 23と自ノードとを接 続しているリンクに発生した障害を検出し、ヘルスパケット送信処理部 38bが、障害が 検出された場合に、優先順位に係る情報を含んだヘルスパケットを送信することとし たので、自ノードをマスターノードに設定する力否かを判定する機能をもたな ヽデー タ中継ノード 23がリング型ネットワークに含まれている場合でも、マスターノードを適 切かつ効率的に設定することができる。
[0166] なお、上記実施例で説明した各種の処理は、あら力じめ用意されたプログラムをコ ンピュータで実行することによって実現することができる。そこで、以下では、図 14を 用いて、上記各種処理を実現するプログラムを実行するコンピュータの一例について 説明する。図 14は、図 5に示したデータ伝送装置 30となるコンピュータのハードゥエ ァ構成を示す図である。
[0167] このコンピュータは、ユーザからの入力を受け付ける入力ボタン 100、各種情報を 出力する LED (Light Emitting Diode) 101、メインメモリ 102、フラッシュメモリ 103、 CPU (Central Processing Unit) 104および読出し専用メモリ 105をバス 106で接続 して構成される。
[0168] そして、読出し専用メモリ 105には、データ伝送装置 30の機能と同様の機能を発揮 するプログラム、つまり、ノード設定プログラム 105aが記憶されている。なお、ノード設 定プログラム 105aは、適宜分散して記憶することとしてもよい。
[0169] そして、 CPU104力 ノード設定プログラム 105aを読出し専用メモリ 105から読み 出して実行することにより、ノード設定プロセス 104aとして機能するようになる。
[0170] このノード設定プロセス 104aは、図 5に示したパケット送受信部 32、マスターノード 処理実行部 34、トランジットノード処理実行部 35、経路情報学習処理部 36、イベント 検出部 37、擬似マスターノード処理実行部 38および制御部 39の各機能部に対応 する。
[0171] また、フラッシュメモリ 103には、自ノード情報 103a、他ノード情報 103bおよび経路 情報 103cが記憶される。なお、自ノード情報 103a、他ノード情報 103bおよび経路 情報 103cは、図 5に示した自ノード情報 33a、他ノード情報 33bおよび経路情報 33c に対応する。 [0172] そして、 CPU104は、自ノード情報 103a、他ノード情報 103bおよび経路情報 103 cをフラッシュメモリ 103に記憶するとともに、自ノード情報 103a、他ノード情報 103b および経路情報 103cをフラッシュメモリ 103から読み出してメインメモリ 102に格納し 、メインメモリ 102に格納された自ノード情報 102a、他ノード情報 102bおよび経路情 報 102cに基づいて各種データ処理を実行する。
[0173] ところで、ノード設定プログラム 105aは、必ずしも最初力も読出し専用メモリ 105に 記憶させておく必要はない。たとえば、フレキシブルディスク(FD)、 CD— ROM、 M Oディスク、 DVDディスク、光磁気ディスク、 ICカードなどの「可搬用の物理媒体」、ま たは、コンピュータの内外に備えられるハードディスクドライブ (HDD)などの「固定用 の物理媒体」、さらには、公衆回線、インターネット、 LAN, WANなどを介してコンビ ユータに接続される「他のコンピュータ(またはサーバ)」などに各プログラムを記憶し ておき、コンピュータがこれら力も各プログラムを読み出して実行するようにしてもよい
[0174] さて、これまで本発明の実施例について説明したが、本発明は上述した実施例以 外にも、特許請求の範囲に記載した技術的思想の範囲内において種々の異なる実 施例にて実施されてもよいものである。
[0175] また、本実施例において説明した各処理のうち、自動的におこなわれるものとして 説明した処理の全部または一部を手動的におこなうこともでき、あるいは、手動的に おこなわれるものとして説明した処理の全部または一部を公知の方法で自動的にお こなうことちでさる。
[0176] この他、上記文書中や図面中で示した処理手順、制御手順、具体的名称、各種の データやパラメータを含む情報については、特記する場合を除いて任意に変更する ことができる。
[0177] また、図示したデータ伝送装置 30の各構成要素は機能概念的なものであり、必ず しも物理的に図示のように構成されていることを要しない。すなわち、データ伝送装 置 30の分散 *統合の具体的形態は図示のものに限られず、その全部または一部を、 各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散- 統合して構成することができる。 [0178] さらに、データ伝送装置 30にて行なわれる各処理機能は、その全部または任意の 一部が、 CPUおよび当該 CPUにて解析実行されるプログラムにて実現され、あるい は、ワイヤードロジックによるハードウェアとして実現され得る。
産業上の利用可能性
[0179] 以上のように、本発明に係るノード設定装置、ネットワークシステム、ノード設定方法 およびノード設定プログラムは、リング型ネットワークにおいてマスターノードを適切か つ効率的に設定することが必要なリング型ネットワークシステムに有用である。

Claims

請求の範囲
[1] リング型ネットワークにおいてユーザデータの中継をブロックすることによりループ経 路の発生を防止するマスターノードにノードを設定する力否かを判定するノード設定 装置であって、
前記リング型ネットワークに接続されたノードの一方のポート側でおこなわれるユー ザデータの中継をブロックし、また、当該ノードをマスターノードに設定する優先順位 に係る情報を含んだ制御データを送信するデータ送信手段と、
前記優先順位に係る情報を含んだ制御データを受信した場合、または、前記リング 型ネットワークに接続された他のノードの優先順位に係る情報を含んだ制御データを 受信した場合に、該優先順位に係る情報に基づいて当該ノードをマスターノードに 設定するか否かを判定する判定手段と、
を備えたことを特徴とするノード設定装置。
[2] 前記判定手段によりノードをマスターノードに設定しないと判定された場合に、前記 優先順位に係る情報を含んだ制御データの送信を中止することを特徴とする請求項 1に記載のノード設定装置。
[3] リング型ネットワークに発生した障害を検出する障害検出手段をさらに備え、前記 データ送信手段は、前記障害検出手段により障害が検出された場合に、優先順位に 係る情報を含んだ制御データを送信することを特徴とする請求項 1または 2に記載の ノード設定装置。
[4] 前記障害検出手段は、ノードがマスターノードである場合に、当該ノードが送信した 制御データが当該ノードに到達する力否かを調べることによりリング型ネットワークに 発生した障害を検出することを特徴とする請求項 3に記載のノード設定装置。
[5] 前記障害検出手段は、ノードがマスターノードであり、当該ノードがユーザデータの 中継をブロックして 、るポート側に接続されたリンクまたは当該リンクに接続されたノ ードに障害が発生した場合に、前記判定手段は、当該ノードがマスターノードである 状態を維持するよう判定することを特徴とする請求項 3に記載のノード設定装置。
[6] 前記障害検出手段は、ノードがマスターノードでない場合に、障害を検出した場合 に障害を検出したことをマスターノードに通知する障害検出制御データをさらに送信 することを特徴とする請求項 3に記載のノード設定装置。
[7] 前記判定手段は、マスターノードから障害検出制御データの受信に応じて送信さ れた制御データを受信した後、前記優先順位に係る情報を含んだ制御データを受 信した場合、または、他のノードの優先順位に係る情報を含んだ制御データを受信し た場合に、該優先順位に係る情報に基づいてノードをマスターノードに設定する力否 かを判定することを特徴とする請求項 6に記載のノード設定装置。
[8] 前記障害検出手段により送信された障害検出制御データをマスターノードが受信 した際に当該マスターノードにより送信される制御データを受信するごとに、データの 送信経路に係る情報の再学習を開始する経路情報学習手段をさらに備えたことを特 徴とする請求項 7に記載のノード設定装置。
[9] 前記障害検出手段は、障害を検出した場合にユーザデータの送信経路に係る情 報の再学習を要求する経路情報学習制御データをさらに送信することを特徴とする 請求項 3に記載のノード設定装置。
[10] 前記判定手段は、マスターノードから経路情報学習制御データの受信に応じて送 信された制御データを受信した後、前記優先順位に係る情報を含んだ制御データを 受信した場合、または、他のノードの優先順位に係る情報を含んだ制御データを受 信した場合に、該優先順位に係る情報に基づいてノードをマスターノードに設定する か否かを判定することを特徴とする請求項 9に記載のノード設定装置。
[11] 前記障害検出手段により送信された経路情報学習制御データを受信するごとに、 ユーザデータの送信経路に係る情報の再学習を開始する経路情報学習手段をさら に備えたことを特徴とする請求項 9に記載のノード設定装置。
[12] リング型ネットワークにおいてユーザデータの中継をブロックすることによりループ経 路の発生を防止するマスターノードにノードを設定する力否かを判定するノードにより 構成されるネットワークシステムであって、
前記ノードは、
前記リング型ネットワークに接続されたノードの一方のポート側でおこなわれるユー ザデータの中継をブロックし、また、当該ノードをマスターノードに設定する優先順位 に係る情報を含んだ制御データを送信するデータ送信手段と、 前記優先順位に係る情報を含んだ制御データを受信した場合、または、前記リング 型ネットワークに接続された他のノードの優先順位に係る情報を含んだ制御データを 受信した場合に、該優先順位に係る情報に基づいて当該ノードをマスターノードに 設定するか否かを判定する判定手段と、
を備えたことを特徴とするネットワークシステム。
[13] 前記ノードはリング型ネットワークに発生した障害を検出する障害検出手段をさらに 備え、前記データ送信手段は、前記障害検出手段により障害が検出された場合に、 優先順位に係る情報を含んだ制御データを送信することを特徴とする請求項 12に記 載のネットワークシステム。
[14] 前記障害検出手段は、少なくともデータを中継する機能を有するデータ中継ノード が前記リング型ネットワークを構成するノードとして自ノードに接続されている場合に、 当該データ中継ノードまたは当該データ中継ノードと自ノードとを接続しているリンク に発生した障害を検出し、前記データ送信手段は、前記障害検出手段により障害が 検出された場合に、優先順位に係る情報を含んだ制御データを送信することを特徴 とする請求項 13に記載のネットワークシステム。
[15] リング型ネットワークにおいてユーザデータの中継をブロックすることによりループ経 路の発生を防止するマスターノードにノードを設定する力否かを判定するノード設定 方法であって、
前記リング型ネットワークに接続されたノードの一方のポート側でおこなわれるユー ザデータの中継をブロックし、また、当該ノードをマスターノードに設定する優先順位 に係る情報を含んだ制御データを送信するデータ送信工程と、
前記優先順位に係る情報を含んだ制御データを受信した場合、または、前記リング 型ネットワークに接続された他のノードの優先順位に係る情報を含んだ制御データを 受信した場合に、該優先順位に係る情報に基づいて当該ノードをマスターノードに 設定するカゝ否かを判定する判定工程と、
を含んだことを特徴とするノード設定方法。
[16] リング型ネットワークにおいてユーザデータの中継をブロックすることによりループ経 路の発生を防止するマスターノードにノードを設定する力否かを判定するノード設定 プログラムであって、
前記リング型ネットワークに接続されたノードの一方のポート側でおこなわれるユー ザデータの中継をブロックし、また、当該ノードをマスターノードに設定する優先順位 に係る情報を含んだ制御データを送信するデータ送信手順と、
前記優先順位に係る情報を含んだ制御データを受信した場合、または、前記リング 型ネットワークに接続された他のノードの優先順位に係る情報を含んだ制御データを 受信した場合に、該優先順位に係る情報に基づいて当該ノードをマスターノードに 設定するカゝ否かを判定する判定手順と、
をコンピュータに実行させることを特徴とするノード設定プログラム。
PCT/JP2005/000143 2005-01-07 2005-01-07 ノード設定装置、ネットワークシステム、ノード設定方法およびノード設定プログラム WO2006072996A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2006550573A JP4621212B2 (ja) 2005-01-07 2005-01-07 データ伝送装置
PCT/JP2005/000143 WO2006072996A1 (ja) 2005-01-07 2005-01-07 ノード設定装置、ネットワークシステム、ノード設定方法およびノード設定プログラム
US11/822,525 US7907516B2 (en) 2005-01-07 2007-07-06 Node setting apparatus, network system, node setting method, and computer product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2005/000143 WO2006072996A1 (ja) 2005-01-07 2005-01-07 ノード設定装置、ネットワークシステム、ノード設定方法およびノード設定プログラム

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US11/822,525 Continuation US7907516B2 (en) 2005-01-07 2007-07-06 Node setting apparatus, network system, node setting method, and computer product

Publications (1)

Publication Number Publication Date
WO2006072996A1 true WO2006072996A1 (ja) 2006-07-13

Family

ID=36647484

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2005/000143 WO2006072996A1 (ja) 2005-01-07 2005-01-07 ノード設定装置、ネットワークシステム、ノード設定方法およびノード設定プログラム

Country Status (3)

Country Link
US (1) US7907516B2 (ja)
JP (1) JP4621212B2 (ja)
WO (1) WO2006072996A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2144400A1 (en) * 2007-04-27 2010-01-13 Supcon Group CO., LTD. Distributed ethernet system and method for detecting fault based thereon
CN103297257A (zh) * 2012-02-27 2013-09-11 北京东土科技股份有限公司 一种冗余网络的实现方法

Families Citing this family (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9083551B2 (en) * 2006-03-17 2015-07-14 Tellabs Operations, Inc. Method and apparatus for media distribution using VPLS in a ring topology
CN101232427A (zh) * 2007-01-23 2008-07-30 华为技术有限公司 一种以太网环保护方法及装置
CN101232428B (zh) 2007-01-23 2012-05-23 华为技术有限公司 一种以太网环保护方法及装置
KR20090050920A (ko) 2007-11-16 2009-05-20 한국전자통신연구원 이더넷 링 네트워크의 비환원 모드에서의 장애 복구 방법
US8106604B2 (en) * 2008-03-12 2012-01-31 Freescale Semiconductor, Inc. LED driver with dynamic power management
US7825610B2 (en) * 2008-03-12 2010-11-02 Freescale Semiconductor, Inc. LED driver with dynamic power management
US8115414B2 (en) * 2008-03-12 2012-02-14 Freescale Semiconductor, Inc. LED driver with segmented dynamic headroom control
US8035314B2 (en) * 2008-06-23 2011-10-11 Freescale Semiconductor, Inc. Method and device for LED channel managment in LED driver
US8279144B2 (en) * 2008-07-31 2012-10-02 Freescale Semiconductor, Inc. LED driver with frame-based dynamic power management
US8373643B2 (en) * 2008-10-03 2013-02-12 Freescale Semiconductor, Inc. Frequency synthesis and synchronization for LED drivers
US8675649B2 (en) 2008-11-18 2014-03-18 Yamaha Corporation Audio network system and method of detecting topology in audio signal transmitting system
JP5298796B2 (ja) * 2008-11-18 2013-09-25 ヤマハ株式会社 オーディオネットワークシステム及び方法
US8004207B2 (en) * 2008-12-03 2011-08-23 Freescale Semiconductor, Inc. LED driver with precharge and track/hold
US8035315B2 (en) * 2008-12-22 2011-10-11 Freescale Semiconductor, Inc. LED driver with feedback calibration
US8049439B2 (en) * 2009-01-30 2011-11-01 Freescale Semiconductor, Inc. LED driver with dynamic headroom control
JP5354392B2 (ja) * 2009-02-02 2013-11-27 日本電気株式会社 通信ネットワーク管理システム、方法、プログラム、及び管理計算機
US8493003B2 (en) * 2009-02-09 2013-07-23 Freescale Semiconductor, Inc. Serial cascade of minimium tail voltages of subsets of LED strings for dynamic power control in LED displays
US8179051B2 (en) * 2009-02-09 2012-05-15 Freescale Semiconductor, Inc. Serial configuration for dynamic power control in LED displays
US8040079B2 (en) * 2009-04-15 2011-10-18 Freescale Semiconductor, Inc. Peak detection with digital conversion
US8305007B2 (en) * 2009-07-17 2012-11-06 Freescale Semiconductor, Inc. Analog-to-digital converter with non-uniform accuracy
US8228098B2 (en) * 2009-08-07 2012-07-24 Freescale Semiconductor, Inc. Pulse width modulation frequency conversion
US7843242B1 (en) 2009-08-07 2010-11-30 Freescale Semiconductor, Inc. Phase-shifted pulse width modulation signal generation
US8237700B2 (en) * 2009-11-25 2012-08-07 Freescale Semiconductor, Inc. Synchronized phase-shifted pulse width modulation signal generation
US9490792B2 (en) * 2010-02-10 2016-11-08 Freescale Semiconductor, Inc. Pulse width modulation with effective high duty resolution
US8169245B2 (en) * 2010-02-10 2012-05-01 Freescale Semiconductor, Inc. Duty transition control in pulse width modulation signaling
CN102014001B (zh) * 2010-12-08 2012-10-17 迈普通信技术股份有限公司 一种实现快速以太环网的方法及交换设备
US8599915B2 (en) 2011-02-11 2013-12-03 Freescale Semiconductor, Inc. Phase-shifted pulse width modulation signal generation device and method therefor
TWI455525B (zh) * 2011-08-09 2014-10-01 Nat Univ Tsing Hua 環狀網路之復原方法
US9411786B2 (en) * 2013-07-08 2016-08-09 Adobe Systems Incorporated Method and apparatus for determining the relevancy of hyperlinks
JP6554405B2 (ja) * 2015-11-26 2019-07-31 株式会社日立製作所 リングネットワークシステム、及び、ネットワークノード
CN109462518B (zh) * 2018-10-24 2020-10-02 新华三技术有限公司 一种环路检测的方法及装置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08181708A (ja) * 1994-12-21 1996-07-12 Nec Corp リングネットワークシステムのオーダーワイヤ通信制御方法
JP2003218894A (ja) * 2002-01-22 2003-07-31 Mitsubishi Electric Corp ネットワークシステムおよびネットワーク構成方法

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2650961B2 (ja) * 1988-04-28 1997-09-10 株式会社日立製作所 分散制御ネットワークの制御方法
JP2797765B2 (ja) * 1991-08-20 1998-09-17 日本電気株式会社 オーダワイヤ信号伝送装置
JPH05167599A (ja) * 1991-12-17 1993-07-02 Nec Corp 同期網リングlanシステムにおけるオーダワイヤ制御方式
JPH0630009A (ja) 1992-07-06 1994-02-04 Toshiba Corp リング型lanにおけるマスタのバックアップ方式
US7181547B1 (en) * 2001-06-28 2007-02-20 Fortinet, Inc. Identifying nodes in a ring network
US6766482B1 (en) * 2001-10-31 2004-07-20 Extreme Networks Ethernet automatic protection switching
US6717922B2 (en) * 2002-03-04 2004-04-06 Foundry Networks, Inc. Network configuration protocol and method for rapid traffic recovery and loop avoidance in ring topologies
JP3957180B2 (ja) 2002-08-09 2007-08-15 本田技研工業株式会社 デシメーションフィルタを用いた内燃機関の空燃比制御装置
JP2005269059A (ja) * 2004-03-17 2005-09-29 Fujitsu Ltd データ中継装置、データ中継方法およびデータ中継プログラム
JP4687176B2 (ja) * 2005-03-22 2011-05-25 富士通株式会社 パケット中継装置
JP4627205B2 (ja) * 2005-03-28 2011-02-09 富士通株式会社 リングネットワークシステムおよび障害復旧方法
JP4739141B2 (ja) * 2006-02-24 2011-08-03 アラクサラネットワークス株式会社 リングネットワーク及びマスタノード
US7876688B2 (en) * 2007-03-30 2011-01-25 Nokia Corporation Traffic protection in a communication network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08181708A (ja) * 1994-12-21 1996-07-12 Nec Corp リングネットワークシステムのオーダーワイヤ通信制御方法
JP2003218894A (ja) * 2002-01-22 2003-07-31 Mitsubishi Electric Corp ネットワークシステムおよびネットワーク構成方法

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2144400A1 (en) * 2007-04-27 2010-01-13 Supcon Group CO., LTD. Distributed ethernet system and method for detecting fault based thereon
EP2144400A4 (en) * 2007-04-27 2010-05-19 Supcon Group Co Ltd DISTRIBUTED ETHERNET SYSTEM AND ITS USE FOR MALFUNCTION DETECTION
US8339969B2 (en) 2007-04-27 2012-12-25 Supcon Group Co., Ltd. Distributed ethernet system and method for detecting fault based thereon
CN103297257A (zh) * 2012-02-27 2013-09-11 北京东土科技股份有限公司 一种冗余网络的实现方法

Also Published As

Publication number Publication date
JPWO2006072996A1 (ja) 2008-06-12
JP4621212B2 (ja) 2011-01-26
US20070253330A1 (en) 2007-11-01
US7907516B2 (en) 2011-03-15

Similar Documents

Publication Publication Date Title
WO2006072996A1 (ja) ノード設定装置、ネットワークシステム、ノード設定方法およびノード設定プログラム
JP5508289B2 (ja) 多重リンク障害からのネットワーク回復システム及び方法
US7911938B2 (en) System and method for preventing loops in the presence of control plane failures
JP4074631B2 (ja) 伝送路システム、および同システムにおけるフレーム伝送装置、ならびに伝送路切り替え方法
EP1754071B1 (en) System and method for detecting link failures
US7778205B2 (en) System and method for implementing virtual ports within ring networks
JP4370999B2 (ja) ネットワークシステム、ノード及びノード制御プログラム、ネットワーク制御方法
JP5369228B2 (ja) ユニキャストトラフィックを復元する方法及び装置
JP5086780B2 (ja) 通信装置および通信システム、並びに通信障害検出方法
CN100571180C (zh) 保障以太环网在传输节点故障时可靠运行的方法及装置
JP2005269059A (ja) データ中継装置、データ中継方法およびデータ中継プログラム
JP4628945B2 (ja) レイヤ2ネットワーク
JP2005130049A (ja) ノード
JP2005260321A (ja) ラベルパスネットワークの迂回制御方式
US20110292833A1 (en) Port table flushing in ethernet networks
JP2002330152A (ja) 障害時/増設時におけるスパニングツリー制御装置及び方法
JP2003258822A (ja) パケットリングネットワーク及びそれに用いるパケットリングネットワーク間の接続方法
CN100466583C (zh) 基于rrpp的快速环网防攻击的方法、装置和系统
Canini et al. Renaissance: A self-stabilizing distributed SDN control plane using in-band communications
CN101425952A (zh) 保障以太环网可靠运行的方法及装置
CN102136936B (zh) 避免控制平面故障影响转发平面运行的方法、节点及系统
US7539154B1 (en) Method and apparatus to detect and break loop configuration
JP4447385B2 (ja) Rprノード装置およびrprネットワークのフォワーディングパス制御方法
KR20140009488A (ko) 이더넷 노드의 검출 프레임 타임아웃 지속시간을 설정하는 방법 및 시스템
JP2006245780A (ja) リングネットワークシステムおよびリングノード装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2006550573

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 11822525

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

WWP Wipo information: published in national office

Ref document number: 11822525

Country of ref document: US

122 Ep: pct application non-entry in european phase

Ref document number: 05709231

Country of ref document: EP

Kind code of ref document: A1