WO2006027824A1 - Communication network system and trouble detecting apparatus - Google Patents

Communication network system and trouble detecting apparatus Download PDF

Info

Publication number
WO2006027824A1
WO2006027824A1 PCT/JP2004/012948 JP2004012948W WO2006027824A1 WO 2006027824 A1 WO2006027824 A1 WO 2006027824A1 JP 2004012948 W JP2004012948 W JP 2004012948W WO 2006027824 A1 WO2006027824 A1 WO 2006027824A1
Authority
WO
WIPO (PCT)
Prior art keywords
vlan
communication
node
port
information
Prior art date
Application number
PCT/JP2004/012948
Other languages
French (fr)
Japanese (ja)
Inventor
Makoto Isoda
Hironori Terauchi
Tetsuya Yokotani
Original Assignee
Mitsubishi Denki Kabushiki Kaisha
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Denki Kabushiki Kaisha filed Critical Mitsubishi Denki Kabushiki Kaisha
Priority to PCT/JP2004/012948 priority Critical patent/WO2006027824A1/en
Publication of WO2006027824A1 publication Critical patent/WO2006027824A1/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/437Ring fault isolation or reconfiguration

Definitions

  • the present invention relates to a communication network system and a failure detection apparatus that detect and avoid failures in a communication network.
  • the layer 2 switch is connected in a ring type or mesh type for redundancy. Then, by using STP (Spanning Tree Protocol), a logical tree (spanning tree) is constructed so that a communication loop does not occur in the path connecting multiple links, and layer 2 on the communication network is formed.
  • STP Session Transfer Protocol
  • MAC Media used for communication between switches, etc.
  • BPDU Bridge Protocol Data Unit
  • the network transfer system described in Patent Document 1 connects a plurality of nodes that communicate with each other through a plurality of virtual networks without a path forming a loop, and a plurality of nodes are connected via a virtual network.
  • Node is forwarding packets.
  • a broadcast packet for diagnosis is sent to one node active VLAN.
  • a failure between L2 switches is detected by the failure to receive a broadcast packet for diagnosis at another node, and the working VLAN is switched.
  • Non-Patent Document 1 Rich Seifert, “Extensive Explanation of LAN Switching”, Nikkei Business Publications, Inc. August 6, 2001 P. 192-211
  • Patent Document 1 Japanese Patent Laid-Open No. 2003-158539
  • Non-Patent Document 1 the detouring of the layer 2 switch failure by STP described in Non-Patent Document 1 has a problem that it takes a long time for the reconfiguration process of the spanning tree to converge.
  • Patent Document 1 has a problem in that failure detection cannot be performed in detail for each set of a master node and a slave node.
  • the present invention has been made in view of the above, and in a layer 2 network having a ring network topology, failure detection, failure notification to the layer 2 switch, and failure bypass path setting can be performed at high speed.
  • the purpose is to obtain a communication network system and failure detection device that can be used.
  • the present invention includes a master node connected to an upper network and a slave node connected to a lower network as layer 2 switches connected in a ring shape, A virtual LAN connecting the master node and the slave node is set in two different communication path directions along the ring for every combination of the slave nodes with respect to the master node, and the master node or An open-ring communication network system in which a set of ports at a link end in the ring of the slave node is blocked, wherein the master node and the slave node are configured to transmit information between adjacent links adjacent to their own nodes.
  • a failure detection unit configured to transmit communication failure information related to the communication failure to a communication port different from the communication port that received the information when the communication failure is detected when the communication failure is detected. And when the communication port receives the communication failure information from another node, the communication port is configured to transfer the communication failure information to a communication port different from the communication port that has received the communication failure information.
  • the occurrence of a failure is monitored by transmitting and receiving communication failure information between all nodes in the ring, so that a communication failure can be detected for each node. It becomes possible.
  • the communication network system that is effective in the present invention, it becomes possible to detect a communication failure for every node in the ring, and since the communication failure information is transferred between the nodes, all the nodes can be quickly operated. It is possible to detect a failure between nodes.
  • FIG. 1 is a diagram showing a configuration of a network system according to Embodiment 1 of the present invention.
  • FIG. 2 is a diagram showing a VLAN configuration of the network system according to the first embodiment.
  • FIG. 3 is a block diagram showing a configuration of a master node according to the first embodiment.
  • FIG. 4 is a block diagram showing a configuration of a slave node according to the first embodiment.
  • FIG. 5 is a flowchart showing the procedure for transmitting and receiving information in the network system
  • Fig. 6 is a flowchart showing the procedure for sending and receiving information in the network system
  • FIG. 7 is a diagram showing a structure of a MAC frame.
  • FIG. 8 is a diagram showing a configuration of a MAC frame to which one VLAN tag is assigned.
  • FIG. 9 is a diagram showing a configuration of a MAC frame to which two VLAN tags are assigned.
  • FIG. 10 is a flowchart showing a failure detection procedure according to the first embodiment.
  • FIG. 11 is a diagram showing a configuration of a network system having a plurality of master nodes. is there.
  • FIG. 12 is a diagram showing a VLAN configuration of a network system having a plurality of master nodes.
  • FIG. 13 is a flowchart showing a failure detection procedure according to the second embodiment.
  • FIG. 14 is a flowchart showing a failure detection procedure according to the third embodiment.
  • FIG. 15 is a block diagram showing a configuration of a master node according to the fourth embodiment.
  • FIG. 16 is a flowchart (1) showing a failure detection procedure according to the fourth embodiment.
  • FIG. 17 is a flowchart (2) showing a procedure of fault detection according to the fourth embodiment.
  • FIG. 18 is a diagram showing a configuration of topology information set in the master node.
  • FIG. 19 is a flowchart showing a procedure for switching VLANs after failure detection according to the fifth embodiment.
  • FIG. 20 is a diagram showing a configuration of VLAN table information set in the master node.
  • FIG. 21 is a diagram (1) showing a configuration of VLAN table information set in the slave node.
  • FIG. 22 is a diagram (2) showing a configuration of VLAN table information set in the slave node.
  • FIG. 23 is a diagram (3) showing a configuration of VLAN table information set in the slave node.
  • FIG. 24 is a diagram showing a configuration of topology information whose settings have been changed to a master node.
  • FIG. 25 is a diagram (1) showing a configuration of VLAN table information whose setting has been changed to a slave node.
  • FIG. 26 is a diagram (2) showing a configuration of VLAN table information whose setting is changed to a slave node.
  • FIG. 27 shows the configuration of VLAN table information whose settings have been changed to slave nodes. It is figure (3).
  • FIG. 28 is a diagram showing a configuration of VLAN table information whose setting has been changed to a master node.
  • FIG. 29 is a diagram showing a configuration of the network system shown in FIG. 2 after VLAN switching.
  • FIG. 30 is a flowchart showing a procedure for switching VLANs after failure detection according to the sixth embodiment.
  • FIG. 31 is a flowchart showing a procedure for switching VLANs after failure detection according to the seventh embodiment.
  • FIG. 32 is a flowchart showing a procedure for switching VLANs after failure detection according to the eighth embodiment.
  • FIG. 33 is a flowchart showing a procedure for switching VLANs after failure detection according to the ninth embodiment.
  • FIG. 34 is a diagram showing a configuration of the network system shown in FIG. 12 after VLAN switching.
  • FIG. 35 is a flowchart showing a VLAN switching procedure after failure detection according to the tenth embodiment. Explanation of symbols
  • FIG. 1 is a diagram showing a configuration of a network system according to Embodiment 1 of the present invention.
  • the network system includes a ring network 90 and a plurality of communication networks connected to the ring network 90.
  • the ring network 90 includes a master node 20A and slave nodes 30A-30C.
  • the master node 20A and slave nodes 30A-30C are layer 2 switches.
  • Master node 20A and slave nodes 30A-30C relay information in the network system.
  • the master node 20A and the slave nodes 30A-30C determine the packet transmission destination based on the data link layer (second layer) data of the OSl (Open System Interconnection) reference model, and transfer the packet.
  • OSl Open System Interconnection
  • Ethernet registered trademark
  • MAC Media
  • the node in the network system determines the data transmission destination based on the MAC address!
  • the master node 20A and the slave nodes 30A-30C are connected in a ring shape.
  • Slave node 30A is connected to master node 20A and slave node 30B
  • slave node 30C is connected to master node 20A and slave node 30B.
  • the ports at both ends of one link are logically blocked.
  • the ports at both ends of the link connecting the master node 20A and the slave node 30C are logically blocked.
  • the ports at both ends of the blocked link 55 may be physically disconnected.
  • Master node 20A is connected to upper network 201A.
  • Slave node 30A is connected to lower network 301A, slave node 30B is connected to lower network 301B, and slave node 30C is connected to lower network 301C.
  • the ring network 90 relays communication between the upper network 201A and the lower networks 301A-301C. Also, the occurrence of a fault in the network system is detected by transmitting and receiving information between the master node 2 OA and slave nodes 30A-30C.
  • FIG. 2 is a diagram showing a VLAN configuration of the network system according to the first embodiment.
  • Master node 20A and slave node 30A—30C consist of multiple VLANs (Virtual
  • VLAN1 which is a counterclockwise communication path (hereinafter referred to as a forward path) as viewed from master node 20A on ring network 90, and a clockwise communication path VLAN 11 is set as a pair of VLANs (hereinafter referred to as reverse path).
  • VLAN2 that is a forward path
  • VLAN12 that is a reverse path
  • VLAN3 which is a forward route, and a reverse route
  • VLAN 13 is set as a set of VLANs.
  • one of VLAN 1 and VLAN 11 set between master node 20A and slave node 30A is used as the working VLAN.
  • Use as A VLAN that is different from the working VLAN is used as needed.
  • VLAN 1 is the working VLAN and VLAN 11 is the backup VLAN.
  • VLAN2 and VLAN12, VLAN3 and VLAN13 is the working VLAN, and the other is the backup VLAN.
  • a working VLAN and a spare VLAN are set in advance.
  • slave nodes 30A-30C have the same configuration, and therefore, description will be given here taking the slave node 30A as an example.
  • FIG. 3 is a block diagram showing a configuration of the master node according to the first embodiment.
  • Master node 20A has forward port 21, reverse port 22, switch unit 23, tag processing unit (change instruction unit) 24, VLAN processing unit 25, upper network communication unit 27, connection determination unit (failure detection unit). 28 and control unit 29.
  • the forward-side port 21 is a port for transmitting / receiving information to / from the slave nodes 30A-30C by the VLAN1-3 connected to the forward side in the network system.
  • the reverse side port 22 is a port for transmitting / receiving information to / from the slave nodes 30A-30C by the VLA N 11-13 connected to the reverse side in the network system.
  • the VLAN processing unit 25 sets a port for each node, a VLAN corresponding to the port, and the like, and determines a VLAN to be used in the network system based on the set information.
  • the switch unit 23 Based on the instruction information from the VLAN processing unit 25, the switch unit 23 switches the ports (forward direction port 21 and reverse direction port 22) that perform communication. When the switch unit 23 communicates with the slave nodes 30A-30C, the switch unit 23 switches between the forward port 21 and the reverse port 22 for each slave node 30A-30C.
  • the Tag processing unit 24 uses a MAC frame when communicating between nodes in the network system. Add (add) or delete the VLAN tag described below to the group.
  • the upper network communication unit 27 communicates with the upper network 201A.
  • the connection determination unit 28 determines whether or not a link lower layer disconnection state (link disconnection) has occurred in the network system.
  • the connection determination unit 28 creates predetermined information for detecting a failure with respect to adjacent nodes in the ring network 90 and transmits / receives them to / from the forward direction port 21 and the backward direction port 22. For example, when it becomes impossible to receive information (such as a lower layer monitoring frame described later) from the connected slave node, the connection determining unit 28 determines that a failure has occurred (link disconnection).
  • the control unit 29 controls the forward port 21, the reverse port 22, the switch unit 23, the tag processing unit 24, the VLAN processing unit 25, the upper network communication unit 27, and the connection determination unit 28.
  • FIG. 4 is a block diagram showing a configuration of the slave node according to the first embodiment.
  • the slave node 30A includes a forward port 21, a reverse port 22, a switch unit 23, a tag processing unit 24, a VLAN processing unit 25, a connection determination unit 28, a lower network communication unit 32, and a control unit 29.
  • Lower network communication unit 32 communicates with lower network 301A.
  • the VLAN processing unit 25 of the slave node 30A sets a port included in the slave node 30A, a VLAN (VLAN table 86A described later) corresponding to the port, and the like, and uses it in the network system based on the set information. Determine the VLAN.
  • slave node 3 OA-30C performs the same operation, a case where slave node 30A transmits and receives information will be described as an example here.
  • FIG. 5 and FIG. 6 are flowcharts showing a procedure for transmitting and receiving information in the network system. Predetermined settings are made in advance in the nodes in the network system. That is, a node type (master node or slave node) is set for each node. In the first embodiment, one master node 20A and three slave nodes 30A-30C are set for the nodes in the network system!
  • a node type master node or slave node
  • Each node is set with the state (blockage, release of blockage) of the port included in each node.
  • Each node also has a failure detection method (link failure detection, VLAN failure detection, Detection error) is set. In the first embodiment, it is set to detect a failure by detecting a broken link.
  • the master node 20A in the network system communicates with the slave nodes 30A to 30C based on a preset port state or the like.
  • Each node in the ring network 90 (master node 20A, slave node 30A-30C) communicates with, for example, the current VLAN1-3, and notifies the occurrence of a failure using the spare VLAN 11-13 when a failure occurs. To do.
  • the lower network communication unit 32 of the slave node 30A receives the MAC frame 80 from the lower network 301A (step S100).
  • the MAC frame 80 will be described.
  • FIG. 7 is a diagram showing the structure of the MAC frame.
  • MAC frame 80 is the destination MAC address, source MAC address, Length / Type information, Data FCS (Frame
  • the destination MAC address indicates the address of the node that is the transmission destination of the MAC frame 80.
  • the source MAC address indicates the address of its own node that is the source of the MAC frame 80.
  • the LengthZType information indicates the MAC frame 80 packet length and the upper protocol identification field.
  • FCS indicates information for data error detection.
  • the ring network 90 communication is performed using a VLAN tag. That is, when the master node 20A and the slave nodes 30A-30C in the ring network 90 receive the MAC frame 80 from the upper network 201A and the lower networks 301A-301C, a VLAN tag is assigned to this MAC frame. The MAC frame 80 with the VLAN tag added was transferred within the ring network 90, and was assigned when the MAC frame 80 was transmitted outside the ring network 90 (upper network 201A, lower network 301A 301C). Delete VLAN-Tag.
  • the Tag processing unit 24 adds the VID (Virtual
  • VLAN tag 70 is added as information indicating (LAN Identification) and MAC frame 81 (Step SI 10).
  • FIG. 8 is a diagram showing a configuration of a MAC frame to which one VLAN tag is assigned.
  • the MAC frame 81 is configured by adding a VLAN tag 70, which is information about VLAN, to the MAC frame 80.
  • the VLAN-Tag 70 here includes “Priority” for priority control of communication and “VID” for identifying VLAN.
  • the VLAN set as the working VLAN is identified by the VID of MAC frame 81.
  • the LengthZType information of the MAC frame 81 includes LengthZType information indicating that a VLAN tag is attached to this frame! /!
  • the MAC frame 81 to which the VLAN—Tag 70 is assigned is transmitted from the forward port 21 of the slave node 30A to the master node 20A (step S120).
  • the tag processing unit 24 of the master node 20A When the forward port 21 of the master node 20A receives the MAC frame 81 from the slave node 30A, the tag processing unit 24 of the master node 20A generates a MAC frame 80 in which the VLAN—Tag 70 is deleted from the MAC frame 81. (Step S130). The MAC frame 80 generated by the tag processing unit 24 is transmitted from the upper network communication unit 27 to the upper network 201A (step S140).
  • the Tag processing unit 24 of the master node 20A When the upper network communication unit 27 of the master node 20A receives the MAC frame 80 from the upper network 201A, the Tag processing unit 24 of the master node 20A generates a MAC frame 81 from the MAC frame 80 (steps S200 and S210). ).
  • a MAC frame 80 transmitted to the slave node 30A via VLAN1 is given a VID including information on the working VLA N1.
  • the MAC frame 81 generated by the tag processing unit 24 is transmitted from the forward port 21 to each slave node 30A via VLAN1-3 (step S220).
  • each tag processing unit 2 4 of slave node 30A—30C deletes the VLAN of MAC frame 81—MAC frame 80 from which MAC tag 80 is deleted.
  • the MAC frame 80 generated by the tag processing unit 24 is transmitted from the lower network communication unit 27 of the slave node 30A to the lower network 301A (step S240).
  • the tag processing unit 24 of the slave node 30A uses the MAC frame 81 as information indicating the VID of the working VLAN 1.
  • FIG. 9 is a diagram showing a configuration of a MAC frame to which two VLAN tags are assigned.
  • the C frame 82 is configured by adding a VLAN tag 72 to a MAC frame 81 to which one VLAN tag 71 is attached.
  • the MAC frame 82 contains the original V as the VLAN tag attached to the MAC frame 81.
  • VLAN—Tag 71 is assigned. And the original VLAN—Tag 71 has the original “Priority” and “
  • VID is included.
  • the VLAN tag 72 attached by the tag processing unit 24 includes "Priority" and "VID".
  • the Length / Type information of the MAC frame 82 shows Length / Type information indicating that a VLAN tag is attached to this frame!
  • the MAC frame 82 to which the VLAN tag 72 is added is transmitted from the forward port 21 of the slave node 30A to the master node 20A via VLA N1.
  • the same processing as when master node 20A receives MAC frame 81 from slave node 30A is performed. That is, when the forward port 21 of the master node 20A receives the MAC frame 82 from the slave node 30A, the Tag processing unit 24 of the master node 20A generates a MAC frame 81 in which the VLAN tag 72 is deleted from the MAC frame 82. The MAC frame 81 generated by the tag processing unit 24 is transmitted from the upper network communication unit 27 to the upper network 201A.
  • the Tag processing unit 24 of the master node 20A When the upper network communication unit 27 of the master node 20A receives the MAC frame 81 from the upper network 201A, the Tag processing unit 24 of the master node 20A generates a MAC frame 82 from the MAC frame 81.
  • a MAC frame 80 transmitted to the slave node 30A via VLAN1 is given a VID including information on the working VLA N1.
  • the MAC frame 82 generated by the Tag processing unit 24 is transmitted from the forward port 21 to the slave node 30A via VLAN1.
  • Slave node 30A forward port 21 receives MAC frame 82 from master node 20A.
  • each tag processing unit 24 of the slave node 30A generates a MAC frame 81 from which the VLAN tag 72 of the MAC frame 82 is deleted.
  • the MAC frame 81 generated by the tag processing unit 24 is transmitted from the lower network communication unit 32 of the slave node 30A to the lower network 301A.
  • the master node 20A in the network system detects a fault in the network system based on a preset fault detection method.
  • the Tagawa page of failure detection between the nodes is performed by the same Tagawa page, here, the failure detection between the slave node 30A and the slave node 30B will be described as an example.
  • FIG. 10 is a flowchart showing a failure detection procedure according to the first embodiment.
  • a lower layer monitoring frame for monitoring a lower layer between nodes (master node 20A, slave node 30A-30C) in the ring network 90 is provided.
  • Send and receive In the first embodiment, the slave node 30A periodically transmits and receives lower layer monitoring frames to and from the master node 20A and slave node 30B adjacent to the slave node 30A, and the slave node 30C is a slave adjacent to the slave node 30C.
  • the node 30B periodically transmits and receives lower layer monitoring frames (step S300).
  • step S305 reception of the lower layer monitoring frame between the slave node 30A and the slave node 30B is interrupted.
  • the slave node 30A cannot receive the lower layer monitoring frame transmitted from the slave node 30B. Therefore, the slave node 30A is linked via the port on the VLAN 11 side (reverse port 22) on the slave node 30B side. Is detected to be in a disconnected state (link disconnected) (occurrence of failure) (step S310).
  • the connection determination unit 28 determines whether or not the link is broken. That is, the connection determination unit 28 of the slave node 30A determines that the link is broken (proximity link disconnection) when the lower layer monitoring frame from the slave node 30B cannot be received by the reverse direction side port 22.
  • the slave node 30B transmits the lower layer monitoring frame transmitted from the slave node 30A. Since the frame cannot be received, it is detected that the link is broken via the VLAN 2 side port (forward side port 21) which is the slave node 30A side port (step S315). That is, when the connection determination unit 28 of the slave node 30B cannot receive the lower layer monitoring frame from the slave node 30A by the forward port 21, it determines that the adjacent link is disconnected.
  • connection determination unit 28 of the slave node 30A determines that the proximity link is broken
  • the switch unit 23 is switched based on the instruction information from the VLAN processing unit 25, and the port that detected the failure (reverse)
  • a MAC frame (hereinafter referred to as link disconnection notification) indicating a close link disconnection is transmitted from the VLAN1 side port (forward port 21), which is the opposite port to the direction side port 22) (step).
  • link disconnection notification A MAC frame (hereinafter referred to as link disconnection notification) indicating a close link disconnection is transmitted from the VLAN1 side port (forward port 21), which is the opposite port to the direction side port 22) (step).
  • connection determination unit 28 of the slave node 30B determines that the proximity link is broken, the switch unit 23 is switched based on the instruction information from the VLAN processing unit 25, and a failure occurs.
  • a link disconnection notification indicating a close link disconnection is transmitted from the port on the VLAN 12 side (reverse port 22) that is the opposite port to the port that detected the port (forward port 21) (step S330). .
  • the slave node and the master node other than the ring end node that has received the link disconnection notification transmit the link disconnection notification from the port opposite to the port that has received the link disconnection notification.
  • the slave node or master node that has received the link disconnection notification from the forward port 21 transmits the link disconnection notification from the reverse port 22.
  • the slave node or master node that has received the link disconnection notification from the reverse port 22 transmits the link disconnection notification from the forward port 21.
  • the slave node and the master node which are ring end nodes that have received the link disconnection notification, terminate the link disconnection notification, and therefore do not transfer the link disconnection notification.
  • the slave node 30C receives the link disconnection notification from the slave node 30B through the VLAN3 side port (j injection direction side port 21).
  • the connection determination unit 28 of the slave node 30C determines (detects) that the link different from the node connected to its own node is the link disconnection (remote link disconnection) (step). S340). Since the slave node 30C here is a ring-end node, the link failure notification from the slave node 30B is sent. Terminate and do not send link disconnection notification to VLAN13.
  • the master node 20A receives the link disconnection notification from the slave node 30A via the VLAN1 side port (forward direction side port 21).
  • the connection determination unit 28 of the master node 20A determines that the remote link is disconnected (step S350). Since the master node 20A is a ring end node, the link disconnection notification from the slave node 30A is terminated and the link disconnection notification is not transmitted to the VLAN 11.
  • the power described in the case where the master node in the ring network 90 is one of the master nodes 20A may be configured such that the ring network 90 includes a plurality of master nodes. Yo ...
  • FIG. 11 is a diagram showing a configuration of a network system having a plurality of master nodes
  • FIG. 12 is a diagram showing a VLAN configuration of a network system having a plurality of master nodes.
  • the components shown in FIGS. 11 and 12 the components that achieve the same functions as those of the network system and VLAN shown in FIGS. 1 and 2 are given the same numbers, and redundant description is omitted.
  • the ring network 90 of the network system here includes the master nodes 20A and 20B and the slave nodes 30A and 30B.
  • the master node 20B has the same function as the master node 20A.
  • Master nodes 20A and 20B and slave nodes 30A and 30B are connected in a ring shape.
  • Slave node 30A is connected to master node 20A and slave node 30B
  • master node 2OB is connected to master node 20A and slave node 30B.
  • the ports on both ends of the link connecting the master node 20A and the master node 20B (the master node 20B side port in the master node 20A, the master node 20A in the master node 20B)
  • the side port is logically blocked (master node 20A and master node 20B are connected by blocked link 55). That is, it becomes the ring end node of the master node 20A and the master node 20B force blocking link 55.
  • the master node 20A is connected to the upper network 201A, and the master node 20B is connected to the upper network 201B.
  • master node 20A and slave node 30A Is configured with VLAN1, which is a forward path when viewed from the master node 20A on the network system.
  • VLAN2 which is a forward path is set between the master node 20A and the slave node 30B!
  • a VLAN 61 is set which is a reverse path (counterclockwise) in view of the master node 20B force on the network system. Further, a VLAN 62 which is a reverse path is set between the master node 20B and the slave node 30B.
  • VLAN 51 that is a forward path and a VLAN 75 that is a reverse path as set by the master node 20A on the network system are set as a pair of VLANs.
  • VLANs 51 and 75 between the master node 20A and the master node 20B are VLANs (management VLANs) used for managing communication in the network system.
  • failure detection is performed by a procedure similar to the procedure shown in the flowchart of FIG. That is, for example, when a failure occurs between the slave node 30A and the slave node 30B, the slave node 30A cannot receive the lower layer monitoring frame to which the slave node 30B force is transmitted, so the slave node 30B is a port on the slave node 30B side. Detects that the link is broken through the VLAN 61 port.
  • the slave node 30B cannot receive the lower layer monitoring frame transmitted by the slave node 30A. Therefore, the link must be disconnected via the port of VLAN 2 that is the port on the slave node 30A side. Is detected.
  • connection determination unit 28 of the slave node 30A determines that the proximity link is disconnected
  • the slave node 30A disconnects the proximity link from the port on the VLAN 1 side that is the port opposite to the port where the failure is detected.
  • a link disconnection notification indicating that there is a message is transmitted.
  • connection determination unit 28 of the slave node 30B determines that the adjacent link is disconnected
  • the slave node 30B disconnects the adjacent link from the port on the VLAN 62 side that is the opposite port to the port where the failure is detected.
  • a link disconnection notification indicating that is is transmitted.
  • the master node 20B is a slave node by a port on the VLAN3 side (port 21 on the jet direction side). Receive a 30B link break notification.
  • the connection determination unit 28 of the master node 20B receives the link disconnection notification, it determines that the remote link is disconnected. Since the master node 20B here is a ring end node, the link disconnection notification from the slave node 30B is terminated and the link disconnection notification is not sent to the VLAN 75 !.
  • the master node 20A receives the link disconnection notification from the slave node 30A via the VLAN 1 side port (forward direction side port 21).
  • the connection determination unit 28 of the master node 20A determines that the remote link is disconnected when the link disconnection notification is received. Since the master node 20A is a ring end node, the link disconnection notification from the slave node 30A is terminated and the link disconnection notification is not transmitted to the VLAN 61 !.
  • one or four force ring networks 90 described in the case where the ring network 90 force is configured by two or three slave nodes and one or two master nodes are used. It may consist of more than two slave nodes and more than two master nodes.
  • the master node 20A transmits / receives information to / from the upper network 201A
  • the slave nodes 30A-30C transmit / receive information to / from the lower networks 301A-301C.
  • Master node 20A The slave nodes 30A-30C may be capable of transmitting / receiving information to / from the upper network 201 and the lower networks 301A-301C. That is, both the master node 20A and the slave nodes 30A-30C include the upper network communication unit 27 and the lower network communication unit 32, and either the upper network communication unit 27 or the lower network communication unit 32 as necessary. It may be a configuration that selects whether to use.
  • the lower layer link It is possible to detect the close link of layer 2 due to the disconnection for each node.
  • the node in the ring network 90 that has detected the proximity link disconnection transmits a link disconnection notification from the port opposite to the port that has detected the proximity link, and the node that has received the link disconnection notification transmits the ring disconnection notification. Since the ring break notification is forwarded to a node different from the transmitting node, all nodes in the ring network 90 can quickly detect a failure between the nodes. It becomes ability.
  • the transmission quality of the lower layer at each port of the node in the ring network 90 is periodically monitored, and link breakage is detected based on the transmission quality of data received from the port.
  • a failure detection procedure according to the second embodiment will be described. It should be noted that the failure detection procedure between the nodes is performed in the same manner, and here, the failure detection between the slave node 30A and the slave node 30B will be described as an example.
  • FIG. 13 is a flowchart showing a failure detection procedure according to the second embodiment.
  • the connection judgment unit 28 periodically monitors the lower layer transmission quality at each port of the nodes in the ring network 90 (master node 20A, slave nodes 30A-30C) (step S400).
  • connection determination unit 28 of the slave node 30A is based on data reception by the port on the VLAN 11 side.
  • Layer 2 link disconnection proxy link disconnection
  • the close link disconnection here includes the case where the quality of the lower layer link is unstable and the quality deteriorates to such an extent that the link will not be disconnected (decrease in transmission quality).
  • connection determination unit 28 of the slave node 30B is based on data reception by the port on the VLAN2 side! /, Layer 2 neighboring link disconnection is detected (step S415).
  • the node in the ring network 90 is notified of link disconnection due to quality deterioration (hereinafter referred to as quality deterioration notification).
  • the slave node 30A transmits a quality degradation notification from the port on the VLAN 1 side (forward port 21) that is the opposite port to the port (reverse port 22) that detected the link break (step S420).
  • the slave node 30B sends a quality degradation notification from the port on the VLAN 12 side (reverse port 22) that is the opposite port to the port (forward port 21) that detected the link break. (Step S430)
  • the slave node 30C receives the quality degradation notification of the slave node 30B through the VLAN3 side port (j jet direction side port 21), and the connection determination unit 28 of the slave node 30C determines that the remote link is disconnected. (Step S440).
  • the master node 20A receives the quality degradation notification from the slave node 30A through the port on the VLAN 1 side (forward direction port 21), and the connection determination unit 28 of the master node 20A indicates that the remote link is disconnected. Judgment is made (step S450).
  • slave node 3 Since master node 20A and slave node 30C are ring-end nodes, slave node 3
  • the force described for the case where the master node in the ring network 90 is one of the master nodes 20A is also illustrated in the case where the ring network 90 is configured by a plurality of master nodes. Since the failure detection is performed by the same procedure as shown in the flowchart of FIG.
  • the link of the lower layer is Even if the quality deteriorates to such an extent that it is unstable and does not cause a link break, it is possible to detect a layer 2 close link break.
  • the node in the ring network 90 that detected the close link disconnection transmits a quality deterioration notification from the port on the opposite side to the port that detected the close link, and the node that received the quality deterioration notification transmits the quality deterioration notification. Since the quality deterioration notification is transferred to a node different from the above node, all the nodes in the ring network 90 can quickly detect the deterioration of the transmission quality between the nodes.
  • a third embodiment of the present invention will be described with reference to FIG. 2, FIG. 12, and FIG.
  • a fault is detected by monitoring VLANs between all VLA N termination points of the master node 20A and slave nodes 30A-30C.
  • the VLAN is monitored by the blocked port in addition to the port that is not blocked.
  • a failure detection procedure according to Embodiment 3 will be described. The failure detection procedure between each node is performed in the same way when a failure occurs between any of the nodes, so here we explain the case where a failure occurs between slave node 30A and slave node 30B as an example. To do.
  • FIG. 14 is a flowchart showing a failure detection procedure according to the third embodiment.
  • the VLANs of the master node 20A and slave nodes 30A—30C (all working VLANs and all spare VLANs) shown in Figure 2 are regularly monitored between the end points.
  • a request to monitor a VLAN between VLAN termination points of the ring network 90 (VLAN monitoring request (MAC frame)) and response information (MAC frame) to the VLAN monitoring request (hereinafter referred to as VLAN response information).
  • VLAN monitoring request VLAN monitoring request (MAC frame)
  • MAC frame response information to the VLAN monitoring request
  • VLAN response information Is periodically sent and received (step S500).
  • VLAN monitoring requests and VLAN response information are transmitted / received between the master node 20A and the slave node 30A through VLANs 1 and 11.
  • VLAN monitoring requests and VLAN response information are transmitted and received by VLANs 2 and 12.
  • VLAN monitoring requests and VLAN response information are transmitted and received by VLANs 3 and 13.
  • step S505 reception of VLAN monitoring requests and VLAN response information in VLANs 2, 3, and 11 is interrupted.
  • Master node 20A cannot receive VLAN monitoring requests or VLAN response information on VLANs 2 and 3 on the forward path, and therefore receives data from the ports on VLANs 2 and 3 (forward port 2 1).
  • VLAN failure is detected by disruption of The VLAN failure here is a failure in the communication path of the VLAN set in the ring network 90, and if the link is broken, quality degradation or the like is included.
  • Master node 20A cannot receive VLAN monitoring requests or VL AN response information on VLAN 11 in the reverse path, so VLAN failure occurs due to data reception interruption at the VLAN 11 side port (reverse side port 22). Is detected (step S510).
  • the connection determination unit 28 of the master node 20A determines whether or not there is a VLAN failure. That is, the connection determination unit 28 of the master node 20A receives the VL from the slave nodes 30B and 30C. If the AN monitoring request and VLAN response information cannot be received on VLANs 2 and 3, it is determined that the VLAN is faulty if the VLAN monitoring request and VLAN response information from slave node 30A cannot be received on VLAN 11.
  • VLAN failure occurs due to data reception interruption on the VLAN11 side port (reverse side port 22). Is detected (step S515).
  • the connection determination unit 28 of the slave node 30A determines whether or not there is a VLAN failure. That is, the connection determination unit 28 of the slave node 30A determines that a VLAN failure has occurred when the VLAN 11 cannot receive the VLAN monitoring request or the VLAN response information from the slave node 30C.
  • the slave node 30B cannot receive the VLAN monitoring request or the VLAN response information on the VLAN 2 on the forward path, so the data reception by the port on the VLAN 2 side (forward side port 21) is interrupted.
  • the connection determination unit 28 determines whether there is a VLAN failure. In other words, the connection determination unit 28 of the slave node 30B determines that a VLAN failure has occurred when the VLAN monitoring request or VLAN response information from the master node 20A cannot be received by VLAN2.
  • the connection determination unit 28 determines whether or not it is a VLAN failure. That is, the connection determination unit 28 of the slave node 30C determines that a VLAN failure has occurred when the VLAN monitoring request or VLAN response information from the master node 20A cannot be received by VLAN3.
  • the third embodiment is a case where the ring network 90 is configured by a plurality of master nodes as described in the case where the master node in the ring network 90 is one of the master nodes 20A.
  • failure detection is performed by the same procedure as shown in the flowchart of FIG. That is, the master node 20A and the master node 20B Fault detection is performed by sending and receiving VLAN monitoring requests and VLAN response information between the end points of the management VLAN and backup VLAN between the host nodes. Specifically, the VLAN monitoring request and the VLAN response information are transmitted / received between the master node 20A and the slave nodes 30A and 30B through VLAN1 and 61.
  • VLAN monitoring request and the VLAN response information are transmitted / received between the master node 20B, the slave node, and the slave nodes 30A and 30B through VLANs 2 and 62. Further, the VLAN monitoring request and the VLAN response information are transmitted / received between the master node 20A and the master node 20B by the VLANs 51 and 71.
  • VLAN monitoring requests and VLAN response information are periodically transmitted and received between the termination points of the VLAN between the master node 20A and the slave nodes 30A-30C. Since the occurrence of a failure is monitored, it is possible to monitor the failure between each VLAN of the combination of the master node and the slave node. In addition, since each node in the ring network 90 detects a VLAN failure, all the nodes in the ring network 90 can quickly detect the occurrence of a failure between the nodes without notifying the occurrence of the failure between the nodes. It becomes possible.
  • the master node 20A transmits a ring monitoring request for detecting a failure to the ring end node and receives VLAN response information from the ring end node.
  • the master node 20A detects the occurrence of a failure based on the identification information of the ring end node that transmits the VLAN response information.
  • FIG. 15 is a block diagram showing the configuration of the master node according to the fourth embodiment.
  • the same function as the master node according to the first embodiment shown in FIG. 3 is achieved.
  • the same number is attached
  • the master node 20A includes a storage unit 26 in addition to a forward port 21, a reverse port 22, a switch unit 23, a tag processing unit 24, an upper network communication unit 27, a connection determination unit 28, and a control unit 29. I have.
  • the storage unit 26 stores the VID related to the VLAN added to the response information from the ring end node.
  • the connection determination unit 28 is based on the VLAN-related VID stored in the storage unit 26. It is determined whether or not a failure has occurred between nodes. Based on the topology information 87A, the connection determination unit 28 determines whether or not a failure has occurred between the shifted nodes.
  • FIG. 16 and FIG. 17 are flowcharts showing the procedure of fault detection according to the fourth embodiment.
  • topology information 87A is stored in advance as information on the topology in the network system.
  • FIG. 18 is a diagram showing a configuration of topology information set in the master node.
  • Topology Information 87A consists of port P1 (forward port 21) on the forward path side of master node 20A and slave node 30A-30C in ring network 90, port P2 on the reverse side (reverse port 22). ) Also provides information regarding the state of blockage.
  • port P1 of the master node 20A is released from blocking, and port P2 is blocked.
  • the ports PI and P2 of the slave nodes 30A and 30B are shown to be blocked.
  • VLAN monitoring is periodically performed between the master node 20A and the ring end node shown in FIG.
  • the ring monitoring request (MAC frame) and the ring response information (MAC frame) are periodically transmitted and received on the forward path and the reverse path between the master node 20A and the slave node 30C.
  • ring monitoring request and ring response information are transmitted and received on the forward path between master node 20A and slave node 30C.
  • a ring monitoring request and ring response information are transmitted and received on the reverse path between the master node 20A and the slave node 3OC.
  • a ring monitoring request is transmitted to the slave node 30C through the master node 20A force forward path and reverse path (step S600).
  • the ring monitoring request or response information is transferred from the port opposite to the received port.
  • the ring monitoring request is transmitted (transferred) from the reverse port 22 as a port opposite to the forward port 21.
  • the slave nodes 30A and 30B are not ring-end nodes, so the ring monitoring requests from the master node 20A are forwarded. Transfer to slave node 30C on the direction path side (step S610).
  • step S620 When the tag processing unit 24 of the slave node 30C that is the ring end node receives the ring monitoring request from the forward path (VLAN3 side) (step S620), the VLAN on the forward path side that has received the ring monitoring request Create ring response information with VID related to VLAN3 added to the ring monitoring request.
  • the ring response information created by the tag processing unit 24 of the slave node 30C is transmitted to the master node 20A from which the ring monitoring request has been transmitted (step S630). For example, when the master node 20A receives a ring monitoring request from the forward path to the slave node 30C, the slave node 30C also transmits ring response information to the master node 20A in the forward path force. Since the slave nodes 30A and 30B are not ring ends, the ring response information of the slave node 30C is transferred to the master node 20A.
  • the master node 20A stores the VID related to VLA N3 attached to the ring response information from the slave node 30C in the storage unit 26 (step S640). In this state, for example, when a failure occurs between the slave node 30A and the slave node 30B, the slave node 3OA and the slave node 30B become ring end nodes (step S700). A ring monitoring request is transmitted from the master node 20A along the forward path (step S710).
  • the tag processing unit 24 of the slave node 30A which is the ring end node, also receives the ring monitoring request (forward direction path side (VLAN1 side) force) (step S720), the forward path that has received the ring monitoring request.
  • the ring response information is created by adding the VID related to VLAN 1 set in the side VLAN to the ring monitoring request.
  • the ring response information created by the tag processing unit 24 of the slave node 30C is transmitted to the forward path (VLAN1) from which the ring monitoring request has been transmitted (step S730).
  • the master node 20A stores the VID related to VLANl attached to the ring response information from the slave node 30C in the storage unit 26 (step S740).
  • the connection determination unit 28 of the master node 20A determines whether or not a failure has occurred between the nodes based on the VID stored in the storage unit 26.
  • the master node 20A before the failure occurs between the slave node 30A and the slave node 30B receives the VID related to VLAN3 and stores it in the storage unit 26 as well.
  • the master node 20A after the failure between the slave node 30A and the slave node 30B receives the VID related to VLAN1 from the slave node 30A and stores it in the storage unit 26. Therefore, the connection determination unit 28 of the master node 20A determines that the ring end node has been changed because the VID of the response information for the ring monitoring request stored in the storage unit 26 has changed.
  • connection determination unit 28 determines that the ring end node has been changed due to the occurrence of a failure between the nodes (step S750). In addition, the connection determination unit 28 specifies whether a failure has occurred between the V and misaligned nodes based on the topology information 87A stored in the storage unit 26.
  • Master node 20A has slave node 30A and slave node 30B based on the fact that VID related to VLAN1 is added to the VLAN response information for the ring monitoring request transmitted on the forward path (VLAN1) and topology information 87A. Detects that a failure occurred during
  • the fourth embodiment is a case where the ring network 90 is configured by a plurality of master nodes as described in the case where the master node in the ring network 90 is one of the master nodes 20A. May be. In this case, set one of the multiple master nodes to operate as a master node and the other master nodes to operate as slave nodes.
  • the VID related to the management VLAN is added to the ring monitoring request and ring response information between the master nodes and transmitted.
  • the occurrence of a failure between nodes is monitored by transmitting and receiving the ring monitoring request and response information only between the master node 20A and the ring end node.
  • the master node 20A can quickly detect a failure between nodes.
  • Embodiment 5 A fifth embodiment of the present invention will be described with reference to FIGS.
  • the VLAN processing unit 25 changes the VLAN setting or the like based on the determination result of the failure occurrence capability determined by the connection determination unit 28. Instruction information is sent to the switch unit 23 so that communication is performed using the VLAN determined by the VLAN processing unit 25 of each node.
  • a procedure for switching VLANs after failure detection according to the fifth embodiment will be described.
  • an example will be described in which the VLAN setting is changed after a failure is detected between slave node 30A and slave node 30B in the network system shown in FIG.
  • FIG. 19 is a flowchart showing a procedure for switching VLANs after failure detection according to the fifth embodiment.
  • the VLAN table 85A indicating the VLAN for each of the slave nodes 30A-30C in advance to the master node 20A and the use (setting) state (active or spare power) of this VLAN, etc. Is set in advance.
  • VLAN tables 86A to 86C are set in the slave nodes 30A to 30C.
  • the VLAN tables 86A to 86C indicate the VLANs for the ports of the slave nodes 30A to 30C, the use state of the VLANs, the state related to blockage of the ports, and the like.
  • the type of switching method distributed switching, centralized switching
  • distributed switching in which each node switches the VLAN setting is set in advance.
  • FIG. 20 is a diagram showing a configuration of VLAN table information set in the master node.
  • the VLAN table information 85A includes information related to the slave nodes 30A-30C.
  • Each slave node 30A-30C has port P1 and port P2.
  • the port P1 indicates the forward port 21 and the port P2 indicates the reverse port 22. That is, the port P1 is set to be connected to the master node 20A by the forward path, and the port P2 is set to be connected to the master node 20A by the reverse path.
  • each slave node 30A-30C have VLAN1-3, 11-13 set in the ring network 90 and information on whether this VLAN is active or spare. Information is associated.
  • VLAN table information 85A is shown when VLAN1-3 is set as the working VLAN and VLAN11-13 is set as the backup VLAN in the network system.
  • the ports at both ends of the link between the master node 20A and the slave node 30C are blocked and set to open loop.
  • FIG. 21 to FIG. 23 are diagrams showing the configuration of the VLAN table information set in the slave node.
  • the VLAN table information 86A set in the slave node 30A includes information related to the port Pl and the port P2.
  • port P1 indicates that it is associated with the working VLAN 1
  • port P2 indicates that it is associated with the spare VLAN 11.
  • the port Pl associated with VLAN1 and the port P2 associated with VLAN11 are blocked, indicating that they are in a blocked release state.
  • the VLAN table information 86B set in the slave node 30B includes information regarding the port Pl and the port P2.
  • the port P1 here indicates that it is associated with the working VLAN 2, and the port P2 indicates that it is associated with the spare VLAN 12. Also, indicate that port Pl associated with VLAN2 and port P2 associated with VLAN12 are blocked, indicating that they are in a blocked release state! /
  • the VLAN table information 86C set in the slave node 30C includes information on the port Pl and the port P2.
  • port P1 indicates that it is associated with the working VLAN 3
  • port P2 indicates that it is associated with the spare VLAN 13.
  • it indicates that the port P1 associated with VLAN 3 is in an unblocked state where the port P1 is not blocked, and indicates that the port P2 associated with VLAN 13 is blocked.
  • the master node 20A force VLA N1, 2, 3 forward side port 21 receives the link disconnection notification and the quality degradation notification and connects.
  • the judgment unit 28 detects the occurrence of a failure (step S800). Based on the topology information 87A and the like, the connection determination unit 28 of the master node 20A identifies whether a failure has occurred between the misaligned nodes.
  • the slave node 30A that is the transmission source of the link disconnection notification and the master node 20A As a result, it is specified that the port between the slave node 30B on the forward side is blocked (step S810). That is, the connection determination unit 28 of the master node 20A determines that a failure has occurred between the slave node 30A and the slave node 30B. Thereby, the connection determination unit 28 of the master node 20A determines to release the blocking of the blocking link 55 between the master node 20A and the slave node 30C.
  • the VLAN processing unit 25 changes (updates) the previously set topology information 87A to new topology information 87X (step S820).
  • FIG. 24 is a diagram showing a configuration of topology information whose settings have been changed to the master node.
  • the closed state is changed from the topology information 87A.
  • the blocking state of the port P2, which is the reverse side port 22 has been changed from blocking to releasing blocking in order to release the blocking of the link with the slave node 30C.
  • the closed state of the port P2, which is the reverse-side port 22 is changed from blocked to unblocked in order to release the closed link with the master node 20A.
  • the slave node 30A is connected to the slave node 30B.
  • the blocking state of port P2, which is the reverse side port 22, has been changed from blocking to blocking.
  • the blocked state of the port P1 which is the forward-side port 21 connected to the slave node 30A, is changed from blocked release to blocked.
  • the VLAN processing unit 25 of the master node 20A identifies the faulted VLAN based on the changed topology information 87X and the VLAN table information 85A that is preset in the VLAN processing unit 25! (Step S830).
  • Step S830 since a failure has occurred between slave node 30A and slave node 30B, and VLAN2 and VLAN3 are working VLANs, it is determined that the failed working VLANs are VLAN2 and VLAN3.
  • VLAN processing unit 25 of the master node 20A receives the link disconnection notification of the close link disconnection via the port P1 from the VLAN 1 (the connection determination unit 28 detects a failure)
  • the VLAN processing unit 25 performs a VLAN switching process (step S840).
  • VLAN2 is the working VLAN, and the adjacent link or remote link is disconnected by the ports P2 and 3 on the opposite side VLANs 12 and 13 on the opposite side of VLAN2 and 3. Since the link disconnection notification is not received, VLAN processing unit 25 switches the settings of VLAN 2 and 3 to the reserved VLAN.
  • the VLAN processing unit 25 of the master node 20A switches the VLAN settings so that VLANs 2 and 3 are reserved VLANs and VLANs 12 and 13 are active VLANs. Also, release the blocking status of port P2 of master node 20A.
  • the VLAN processing unit 25 of the master node 20A changes the VLAN table information 85A according to the VLAN switching processing for each slave node, and sets new VLAN table information 85X.
  • the VLAN processing unit 25 of the slave node 30A performs VLAN switching processing according to the VLAN that has received the link disconnection notification of the proximity link disconnection (step S850).
  • VLAN 11 is a spare VLAN
  • the VLAN processing unit 25 of the slave node 30A does not perform the VLAN switching process and closes the blocked state of the port P2.
  • the VLAN processing unit 25 of the slave node 30A changes the VLAN table information 86A according to the VLAN switching processing or the port blocking state change, and sets new VLAN table information 86X.
  • VLAN processing unit 25 of the slave node 30B When the VLAN processing unit 25 of the slave node 30B receives the link disconnection notification indicating the close link disconnection via the port P1 from the VLAN 2, it performs the VLAN switching process (step S860).
  • VLAN 2 is the working VLAN
  • the VLAN P 25 has not set the VLAN 2 because the port P2 on the opposite side of the VLAN 2 has not received a link disconnection notification indicating a close link disconnection or remote link disconnection.
  • Switch to spare VLAN That is, the VLAN processing unit 25 of the slave node 30B switches the VLAN setting so that VLAN 2 is a spare VLAN and VLAN 12 is a working VLAN. Also, block port P1 of slave node 30B.
  • the VLAN processing unit 25 of the slave node 30B changes the VLAN table information 86B according to the VLAN switching processing or the change of the port blocking state, and sets new VLAN table information 86Y.
  • VLAN processing unit 25 of the slave node 30C receives a link disconnection notification indicating that the remote link is disconnected from the port P1, the VLAN processing unit 25 performs a VLAN switching process (step S870).
  • VLAN 3 is the working VLAN, and the backup VLAN 13 side opposite VLAN 3 side. Since the link disconnection notification indicating the proximity link disconnection or the remote link disconnection is not received by the port P2, the VLAN processing unit 25 switches the VLAN3 setting to the spare VLAN. That is, the VLAN processing unit 25 of the slave node 30C switches the VLAN setting so that VLAN 3 is a spare VLAN and VLAN 13 is a working VLAN. Also, release the blocking status of port P2 of slave node 30C.
  • the VLAN processing unit 25 of the slave node 30C changes the VLAN table information 86C and sets new VLAN table information 86Z according to the VLAN switching processing or the change of the port blocking state.
  • FIG. 25 to FIG. 27 are diagrams showing the configuration of VLAN table information whose settings have been changed to slave nodes.
  • the VLAN table information 86X whose settings have been changed on the slave node 30A has failed between the slave nodes 30A and 30B, the port P2 of VLAN 11 in the VLAN table information 86X The occlusion state has been changed from occlusion release to occlusion.
  • the VLAN table information shown in FIG. 26 is the VLAN table information 86Y whose setting has been changed in the slave node 30B. Since a failure has occurred between slave node 30A and slave node 30B, VLAN processing unit 25 of slave node 30B uses VLAN 2 on forward side port 21 (port P1) connected to slave node 30A as a spare VLAN. Change to. The VLAN processing unit 25 of the slave node 30B is connected to the slave node 30A! At the same time, change VLAN 12 on the reverse port 22 (port P2) side to the working VLAN! /. Since a failure has occurred between slave node 30A and slave node 30B, VLAN processing unit 25 of slave node 30B changes the blocking state of port P1 of VLAN 2 connected to slave node 30A to blocking release force blocking. ing.
  • the VLAN table information shown in FIG. 27 is the VLAN table information 86Z whose setting has been changed in the slave node 30B. Since a failure has occurred between slave node 30A and slave node 30B, VLAN processing unit 25 of slave node 30C uses VLAN 3 on forward side port 21 (port P1) connected to slave node 30A as a spare VLAN. Change to. Also, the VLAN processing unit 25 of the slave node 30C is connected to the slave node 30A! Change VLAN 13 on the reverse side port 22 (port P2) side to the working VLAN! / . In order to connect the master node 20A and the slave node 30C, the VLAN processing unit 25 of the slave node 30C changes the blocking state of the port P2 of the VLAN 13 connected to the master node 20A to blocking force blocking release.
  • FIG. 28 is a diagram showing a configuration of VLAN table information whose setting has been changed to the master node.
  • the VLAN table information 85X after the setting change shows the state where the VLAN has been changed in the same manner as each slave node 30A-30C.
  • VLAN 2 on forward side port 21 (port P1) connected to slave node 30A is set as a spare VLAN in slave node 30B. Has been changed.
  • VLAN 12 on the reverse side port 22 (port P2) side connected to slave node 30A is changed to the working VLAN.
  • VLAN 3 on the forward port 21 (port P1) side connected to slave node 30A is set as a spare VLAN in slave node 30C. Has been changed. Also, VLAN 13 on the reverse side port 22 (port P2) side connected to slave node 30A is changed to the working VLAN.
  • FIG. 29 is a diagram showing a configuration after VLAN switching of the network system shown in FIG. Even after the VLAN is changed by each node in the ring network 90, the information is transmitted by the same procedure as the transmission / reception of information in the network system according to the first embodiment shown in FIGS. 51 and 5-2. Send and receive. That is, the lower network communication unit 32 of the slave nodes 30B and 30C receives the MAC frame 80 from the lower networks 301B and 301C.
  • the tag processing unit 24 of the slave nodes 30B and 30C creates a MAC frame 81 by adding a VLAN-Tag 70 as information indicating the working VLANs 12 and 13 to the MAC frame 80.
  • the MAC frame 81 is transmitted from the reverse side port 22 of the slave node 30A to the master node 20A.
  • the tag processing unit 24 of the master node 20A receives the VL from the MAC frame 81.
  • AN Generates MAC frame 80 with Tag 70 removed.
  • the MAC frame 80 is transmitted from the upper network communication unit 27 to the upper network 201A.
  • the Tag processing unit 24 of the master node 20A When the upper network communication unit 27 of the master node 20A receives the MAC frame 80 from the upper network 201A, the Tag processing unit 24 of the master node 20A generates a MAC frame 81 from the MAC frame 80.
  • a MAC frame 81 transmitted to the slave nodes 30B and 30C via the VLANs 12 and 13 is assigned a VID including information on the working VLANs 12 and 13.
  • the MAC frame 81 is transmitted from the reverse port 22 to the slave nodes 30B and 30C via the VLANs 12 and 13.
  • each tag processing unit 24 of the slave nodes 30B and 30C receives the MAC frame 80 from which the VLAN — Tag 70 of the MAC frame 81 has been deleted. Is generated.
  • the MAC frame 80 generated by the tag processing unit 24 is transmitted from the lower network communication unit 27 of the slave nodes 30B and 30C to the lower networks 301B and 30C.
  • master node 20A and slave node 30A transmit and receive information by the same procedure as the transmission and reception of information in the network system according to Embodiment 1, the description thereof is omitted.
  • each node detects a failure and performs a VLAN switching process. Therefore, when the VLAN in the ring network 90 is switched, the master node 20A becomes the slave node 30A-30C. There is no need to control VLAN switching. Therefore, it is possible to quickly perform the VLAN switching process in the ring network 90, and it is possible to quickly set an alternative route when a failure occurs.
  • each node switches the VLAN settings after monitoring the VLAN between all the VLAN termination points of the master node 20A and slave nodes 30A-30C and detecting a failure.
  • a procedure for switching VLANs after failure detection according to the sixth embodiment will be described.
  • the slave nodes 30A and 30B of the network system shown in FIG. An example will be described in which the VLAN setting is changed after a failure is detected.
  • FIG. 30 is a flowchart showing a procedure for switching VLANs after failure detection according to the sixth embodiment. For example, as described in the third embodiment, VLAN failures in VLANs 2, 3, and 11 are detected by monitoring the master node 20A VLAN (step S900).
  • the VLAN processing unit 25 of the master node 20A generates a VLAN failure based on the preset VLAN table information 85A and whether or not response information is transmitted from each node in the ring network 90.
  • the working VLAN is identified (step S910). Here, it is specified that a VLAN failure has occurred in the working VLANs 2 and 3.
  • the VLAN processing unit 25 of the master node 20A is Then, the working VLANs 2 and 3 are set as spare VLANs, and the spare VLANs 12 and 13 are switched to the working VLAN (step S920).
  • the determination of VLAN switching processing by the VLAN processing unit 25 here does not require a port blocking state or topology information.
  • the VLAN processing unit 25 of the slave node 30A performs a VLAN switching process according to the VLAN of the port that has received the VLAN failure (step S930).
  • VLAN 11 is a spare VLAN
  • VLAN processing unit 25 does not perform VLAN switching processing! /.
  • the VLAN processing unit 25 of the slave node 30B detects a VLAN failure with the working VLAN 2, it will detect the VLAN failure with the protection VLAN 12, so the working VLAN 2 is set as the protection VLAN and the protection VLAN 12 is switched to the working VLAN. (Step S940).
  • Step S950 When the VLAN processing unit 25 of the slave node 30C detects a VLAN failure by the working VLAN 3, it detects that the spare VLAN 13 has failed, so it switches the working VLAN 3 to the working VLAN as the working VLAN 3. (Step S950).
  • the VLAN processing unit 25 of the slave nodes 30A-30C changes the VLAN table information 86A-86C according to the VLAN switching process, and sets new VLAN table information 86X-86Z.
  • the VLAN table information 86X-86Z here does not require the port blocking status.
  • each node detects a failure and performs VLAN switching processing. Therefore, when switching the VLAN in the ring network 90, the master node 20A does not need to control the VLAN switching to the slave nodes 30A-30C. Therefore, it is possible to quickly perform the VLAN switching process in the ring network 90, and it is possible to quickly set an alternative route when a failure occurs.
  • a seventh embodiment of the present invention will be described with reference to FIGS.
  • the master node 20A detects a close link disconnection, a remote link disconnection, a ring failure, etc.
  • the master node 20A switches the VLAN settings to the slave nodes 30A-30C.
  • a procedure for switching VLANs after failure detection according to the seventh embodiment will be described.
  • an example will be described in which the VLAN setting is changed after a failure is detected between slave node 30A and slave node 30B in the network system shown in FIG.
  • FIG. 31 is a flowchart showing a procedure for switching VLANs after failure detection according to the seventh embodiment.
  • the master node 20A is set to centralized switching in which the master node 20A switches the VLAN settings to the slave nodes 30A-30C.
  • the master node 20A force VLAN1 forward port 21 and reverse port 22 receive link disconnection notification, quality degradation notification, and ring failure notification.
  • the connection determination unit 28 detects the occurrence of a failure (step S1000).
  • connection determination unit 28 of the master node 20A blocks the port between the slave node 30A that is the transmission source for the link disconnection notification and the like and the slave node 30B that is one forward side as viewed from the master node 20A. (Step S1010).
  • the VLAN processing unit 25 of the master node 20A changes the previously set topology information 87A to new topology information 87X (step S1020).
  • the VLAN processing unit 25 of the master node 20A has a failure based on the topology information 87X after the change and the VLAN table information 85A preset in the VLAN processing unit 25!
  • the identified VLAN (VLAN2, 3) is identified (step S1030).
  • the VLAN processing unit 25 of the master node 20A indicates that the VLAN 2 is the working VLAN, and the standby VLAN 12 or the link loss notification of the remote link disconnection or the like by the port P2 on the side opposite to the VLANs 2 and 3 VLAN processing unit 25 switches the settings of VLANs 2 and 3 to the spare VLAN. Further, the VLAN processing unit 25 of the master node 20A releases the blocking state of the port P2 that has received the remote link disconnection notification (step S1040).
  • the VLAN processing unit 25 of the master node 20A makes a VLAN switch request (switch request request) so that the slave node 30A arranged (connected) next to the master node 20A in the ring network 90 performs the VLAN switch processing.
  • Instruction information (MAC frame)) is transmitted.
  • This VLAN switching request includes instruction information for switching VLAN 1 to the working VLAN and instruction information for blocking port P2 of VLAN 11.
  • VLAN switch requests and VLAN switch responses described later can be sent and received even on blocked ports.
  • Slave node 30A receives the VLAN switching request.
  • the slave node 30A performs VLAN switching processing based on the VLAN switching request from the master node 20A (step S1050).
  • the VLAN processing unit 25 of the slave node 30A does not perform the VLAN switching process because VLAN1 is the working VLAN.
  • the VLAN processing unit 25 of the slave node 30A blocks the port P2 because the port P2 of the VLAN 11 is in the unlocked state. Thereafter, the VLAN processing unit 25 of the slave node 30A transmits a VLAN switching response (MAC frame) indicating that the VLAN switching processing is completed to the master node 20A.
  • Slave node 30A is a ring end node and does not forward the received VLAN switch request.
  • the VLAN processing unit 25 of the master node 20A transmits a VLAN switching request to the slave node 30C arranged next to the master node 20A in the ring network 90 through a reverse path.
  • This VLAN switching request includes instruction information for switching VLAN 13 to the working VLAN, and instruction information for releasing port P2 of VLAN 13 from blocking.
  • the slave node 30C receives the VLAN switching request.
  • the VLAN processing unit 25 of the slave node 30C performs VLAN switching processing based on the VLAN switching request from the master node 20A (step S1060).
  • VLAN 13 is a spare VLAN Because the neighboring link disconnection or remote link disconnection is not received at port P2 of VLAN13, VLA N13 is switched to the working VLAN.
  • the VLAN processing unit 25 of the slave node 30C releases the blocking of the port P2 because the port P2 of the VLAN 13 is in the blocking state. Thereafter, the VLAN processing unit 25 of the slave node 30C transmits a VLAN switching response indicating that the VLAN switching processing is completed to the master node 20A.
  • the VLAN processing unit 25 of the master node 20A transmits a VLAN switching request to the slave node 30B via the slave node 30C and the slave node 30A. In this case, if a link disconnection or the like occurs, a VLAN switching request is transmitted from VLAN 2 to slave node 30B via slave node 30C.
  • This VLAN switching request includes instruction information for switching VLAN 12 to the working VLAN and instruction information for blocking port PI of slave node 30B of VLAN2.
  • the slave node 30C receives the VLAN switching request transmitted from the master node 20A to the slave node 30B (step S1070).
  • the VLAN switching request is transferred from the port P1 on the opposite side of the port P2 that received this VLAN switching request.
  • the slave node 30B receives the VLAN switching request via the slave node 30C.
  • the VLAN processing unit 25 of the slave node 30B switches the VLAN 12 to the working VLAN because the VLAN 12 is a backup VLAN and no close link or remote link disconnection is received at the port P2 of the VLAN 12.
  • the VLAN processing unit 25 of the slave node 30B blocks the port P1 because the port P1 of the VLAN2 is in the release state. Thereafter, the VLAN processing unit 25 of the slave node 30B transmits a VLAN switching response indicating that the VLAN switching processing is completed to the master node 20A through the reverse path.
  • Master node 20A repeats transmission of a VLAN switching request to each slave node 30A-30C for a predetermined time or a predetermined number of times until a VLAN switching response is transmitted from each slave node 30A-30C. .
  • VLAN processing unit 25 of the master node 20A changes the VLAN table information 85A and the topology information 87A according to the VLAN switching processing and the change of the port blocking status, and creates new VLAN table information 85X and topology information 87X.
  • VLAN processing unit 25 of slave node 30A—30C changes VLAN table information 86A—86C and sets new VLAN table information 86X—86Z according to VLAN switching processing and port blocking status change To do.
  • the master node 20A can transmit a VLAN switching request to each of the slave nodes 30A-30C. Since each node performs VLAN switching processing based on the VLAN switching request from the master node 20A, it becomes possible to control VLAN switching for each VLAN of the combination of the master node and the slave node. . Therefore, it is possible to quickly set a detour route when a failure occurs between the VLANs of the combination of the master node and the slave node.
  • Embodiment 8 A procedure for switching VLANs after failure detection according to Embodiment 8 will be described.
  • an example will be described in which the VLAN setting is changed after a failure is detected between slave node 30A and slave node 30B in the network system shown in FIG.
  • FIG. 32 is a flowchart showing the procedure for switching VLANs after failure detection according to the eighth embodiment.
  • the eighth embodiment since a VLAN failure is detected by the same procedure as in the third and sixth embodiments, the description thereof is omitted.
  • Steps S1100 and S1110 here correspond to steps S900 and S910 of the sixth embodiment shown in FIG.
  • VLANs 2 and 3 are working VLANs, and adjacent link disconnection or remote link disconnection is caused by port P2 on the backup VLANs 12 and 13 on the opposite side of VLANs 2 and 3. Since the notification is not received, the VLAN processing unit 25 switches the settings of VLAN 2 and 3 to the spare VLAN. In addition, the VLAN processing unit 25 of the master node 20A releases the blocking state of the port P2 that has received the remote link disconnection notification (step S1120).
  • the VLAN processing unit 25 of the master node 20A transmits a VLAN switching request to the slave node 30B through the reverse path. For this VLAN switch request, VLAN 12 is changed to the working VLAN. Instruction information for switching is included.
  • the slave node 30B receives the VLAN switching request.
  • the slave node 30B performs VLAN switching processing based on the VLAN switching request from the master node 20A (step S 1130).
  • VLAN 12 is a spare VLAN and a close link is not received at port P2 of VLAN 12, a remote link disconnection is not received, so VLAN 12 is switched to the working VLAN.
  • the VLAN processing unit 25 of the slave node 30B transmits a VLAN switching response indicating that the VLAN switching processing has been completed to the master node 20A.
  • the VLAN processing unit 25 of the master node 20A performs VLA to the slave node 30C through the reverse path.
  • This VLAN switching request includes instruction information for switching VLAN 13 to the working VLAN.
  • the slave node 30C receives the VLAN switching request.
  • the slave node 30C performs VLAN switching processing based on the VLAN switching request from the master node 20A (step S 1140).
  • VLAN 13 is a spare VLAN and a close link is not received at port P2 of VLAN 13, a remote link disconnection is not received, so VLAN 13 is switched to the working VLAN.
  • the VLAN processing unit 25 of the slave node 30C transmits a VLAN switching response indicating that the VLAN switching processing has been completed to the master node 20A.
  • the VLAN processing unit 25 of the master node 20A does not transmit a VLAN switching request to the slave node 30A because VLAN 11 is a spare VLAN.
  • VLAN switching is performed in the network system, the network system is changed to the configuration shown in FIG.
  • the master node 20A repeats transmission of a VLAN switching request to the slave nodes 30A-30C for a predetermined time or a predetermined number of times until a VLAN switching response is transmitted from the slave nodes 30A-30C.
  • the VLAN processing unit 25 of the slave nodes 30A-30C changes the VLAN table information 86A-86C according to the VLAN switching process and sets new VLAN table information 86X-86Z.
  • the VLAN table information 86X-86Z requires the port blocking status. I don't need it.
  • the master node 20A can transmit a VLAN switching request to each of the slave nodes 30A-30C. Since each node performs VLAN switching processing based on the VLAN switching request from the master node 20A, it becomes possible to control VLAN switching for each VLAN of the combination of the master node and the slave node. . Therefore, it is possible to quickly set a detour route when a failure occurs between the VLANs of the combination of the master node and the slave node.
  • a ninth embodiment of the present invention will be described with reference to FIG. 12, FIG. 33 and FIG.
  • the master nodes 20A and 20B and the slave nodes 30A and 30B detect the occurrence of a failure by receiving the link disconnection notification and the quality degradation notification, and then a plurality of master nodes are connected to one or more slaves. Have the node switch the VLAN settings.
  • a VLAN switching procedure after failure detection according to the ninth embodiment will be described.
  • an example will be described in which the VLAN setting is changed after a failure is detected between slave node 30A and slave node 30B of the network system shown in FIG.
  • FIG. 33 is a flowchart showing a procedure for switching VLANs after failure detection according to the ninth embodiment.
  • the master node 2 OA receives the link disconnection notification and the quality degradation notification at the forward ports 21 of VLAN1, 2, 51 and receives the connection determination unit 28. Detects a failure.
  • the master node 20B receives a link disconnection notification or a quality degradation notification at the reverse port 22 of the VLANs 61 and 62, and the connection determination unit 28 detects the occurrence of a failure (step S1200).
  • the connection determination unit 28 of the master nodes 20A and 20B specifies the port between the slave node 30A and the slave node 30B that are blocked (step S1210).
  • the VLAN processing unit 25 of the master nodes 20A and 20B changes the previously set topology information 87A to new topology information 87X (step S1220).
  • Master node 20A The VLAN processing unit 25 of 20B specifies that the faulty working VLANs are VLAN 61 and VLAN 62 (step S 1230).
  • the VLAN processing unit 25 of the master nodes 20A and 20B notifies the link disconnection of the proximity link disconnection or the remote link disconnection by the port P2 of the management spare VLAN 75 corresponding to the management working VLAN 51 (on the opposite side). Since the active VLAN 51 is switched to the protection VLAN, the protection VLAN 75 is switched to the active VLAN 75 (step S1240).
  • the VLAN processing unit 25 of the master node 20A releases the blocking state of the port P2 of the master node 20A. Further, the VLAN processing unit 25 of the master node 20B releases the blocking state of the port P2 of the master node 20B.
  • the VLAN processing unit 25 of the master nodes 20A and 20B is a VLAN used by each slave node so that the communication traffic volume for each link in the ring network 90 is equalized (the total communication traffic is averaged).
  • the master nodes 20A and 20B cooperate with each other through the management VLAN 75 to determine a notification source master node (step S 1250).
  • the master node 20A is a notification source master node that transmits a switching request to the slave node 30A
  • the master node 20B is a notification source master node that transmits a switching request to the slave node 30B.
  • the VLAN processing unit 25 of the master node 20A transmits a VLAN switching request to the slave node 30A.
  • This VLAN switching request includes instruction information for switching VLAN 1 to the working VLAN, and instruction information for blocking port P2 of slave node 30A of VLAN 61.
  • the slave node 30A receives the VLAN switching request.
  • the slave node 30A performs VLAN switching processing based on the VLAN switching request from the master node 20A (step S1260).
  • the VLAN processing unit 25 of the slave node 30A does not perform the VLAN switching process because VLAN1 is the working VLAN.
  • the VLAN processing unit 25 of the slave node 30A closes the port P2 because the port P2 of the slave node 30A of the VLAN 61 is in the release state.
  • VLAN processing of slave node 30A The unit 25 transmits a VLAN switching response indicating that the VLAN switching processing is completed to the master node 20A.
  • the VLAN processing unit 25 of the master node 20B transmits a VLAN switching request to the slave node 30B.
  • This VLAN switching request includes instruction information for switching VLAN 62 to the working VLAN and instruction information for blocking port P1 of slave node 30B of VLAN2.
  • the slave node 30B receives the VLAN switching request.
  • the slave node 30B performs the VLAN switching process based on the VLAN switching request from the master node 20B (step S1270).
  • the VLAN processing unit 25 of the slave node 30B switches the VLAN 62, which is a backup VLAN, to the working VLAN.
  • the VLAN processing unit 25 of the slave node 30B closes the port P1 of the slave node 30B of VLAN2. Thereafter, the VLAN processing unit 25 of the slave node 30B transmits a VLAN switching response indicating that the VLAN switching processing is completed to the master node 20A.
  • the master nodes 20A and 20B repeat the transmission of the VLAN switching request to the slave nodes 30A and 30B for a predetermined time or a predetermined number of times until the VLAN switching response is transmitted from the slave nodes 30A and 30B. .
  • FIG. 34 is a diagram showing a configuration after VLAN switching of the network system shown in FIG.
  • the link between master node 20A and master node 20B is released from blocking, and the link between slave node 30A and slave node 30B is blocked link 56.
  • VLAN switching processing is performed by a plurality of master nodes to a plurality of slave nodes so that the communication traffic amount for each link in the ring network 90 is equalized. Therefore, it is possible to set a detour route by effectively using resources in the ring network 90.
  • a tenth embodiment of the present invention will be described with reference to FIGS.
  • This implementation In Form 10, after monitoring the VLAN between all the VL AN termination points of master nodes 20A, 20B and slave nodes 30A, 30B and detecting a failure, multiple master nodes become VL to multiple slave nodes. Change the AN setting.
  • a procedure for switching VLANs after failure detection according to the tenth embodiment will be described.
  • an example is described in which the VLAN setting is changed after a failure is detected between slave node 30A and slave node 30B in the network system shown in FIG.
  • FIG. 35 is a flowchart showing a procedure for switching VLANs after failure detection according to the tenth embodiment.
  • a VLAN failure is detected by the same procedure as in the third, sixth, and eighth embodiments, and the description thereof is omitted.
  • Steps S1300 and S1310 in this case correspond to steps S1100 and S1110 of the eighth embodiment shown in FIG.
  • the VLAN processing unit 25 of the master nodes 20A and 20B detects a VLAN failure in the management spare VLAN 75 corresponding to the management working VLAN 51 (on the opposite side). In addition to switching to the spare VLAN, the spare VLAN 75 is switched to the working VLAN 75 (step S 1320).
  • the VLAN processing unit 25 of the master nodes 20A and 20B includes the VLAN used by each slave node, topology information 87X, port blocking state, so that the communication traffic volume for each link in the ring network 90 is equalized. Determine the notification master node for each slave node.
  • the master nodes 20A and 20B cooperate with each other through the management VLAN 75 to determine a notification source master node (step S 1330).
  • the master node 20A is a notification source master node that transmits a switching request to the slave node 30A
  • the master node 20B is a notification source master node that transmits a switching request to the slave node 30B.
  • VLAN 1 is the working VLAN
  • master node 20A does not send a VLAN switch request to any slave node.
  • the VLAN processing unit 25 of the master node 20B transmits a VLAN switching request to the slave node 30B.
  • This VLAN switching request includes instruction information for switching the VLAN 62 to the working VLAN.
  • the slave node 30B receives the VLAN switching request. Slave node 30B Based on the VLAN switching request from the node 20B, the VLAN switching processing is performed (step S 1340).
  • the VLAN processing unit 25 of the slave node 30B switches the VLAN 62, which is a backup VLAN, to the working VLAN, and switches the VLAN 2, which is the working VLAN, to the protection VLAN. Thereafter, the VLAN processing unit 25 of the slave node 30B transmits a VLAN switching response indicating that the VLAN switching processing is completed to the master node 20A.
  • Master node 20B repeats the transmission of a VLAN switching request to slave node 30B for a predetermined time or a predetermined number of times until a VLAN switching response is transmitted from slave node 30B.
  • the VLA N switching process is performed by a plurality of master nodes to a plurality of slave nodes so that the communication traffic volume for each link in the ring network 90 is equalized. Therefore, it is possible to set a detour route by effectively using resources in the ring network 90.
  • the communication network system and the failure detection apparatus according to the present invention are suitable for detecting network failures and avoiding network failures.

Abstract

A communication network system capable of quickly detecting any trouble that occurs in a Layer 2 network having a ring-shaped network topology. In a communication network system of an open ring shape, virtual LANs (1-3,11-13) connecting a master node (20A) and slave nodes (30A-30C) are established in two different communication path directions along the ring for each set of the master node (20A) and a respective one of the slave nodes (30A-30C), and the ports at the link ends of the master node (20A) and slave node (30C) are blocked. The master node (20A) and slave nodes (30A-30C) each have two communication ports for transmitting and receiving information via adjacent links and a trouble detection part for detecting any communication troubles, and causes one of the communication ports that is different from the other one receiving a communication trouble to transmit/forward communication trouble information.

Description

明 細 書  Specification
通信ネットワークシステムおよび障害検出装置  Communication network system and failure detection apparatus
技術分野  Technical field
[0001] 本発明は、通信ネットワークにおける障害を検出して回避する通信ネットワークシス テムおよび障害検出装置に関するものである。  The present invention relates to a communication network system and a failure detection apparatus that detect and avoid failures in a communication network.
背景技術  Background art
[0002] 近年、通信技術の進展に伴い複数の通信ネットワーク間で情報の送受信を行うこと が可能となっている。例えばレイヤ 2ネットワークにおいてリンクの障害やレイヤ 2スィ ツチの障害に対応するため、レイヤ 2スィッチをリング型やメッシュ型に接続して冗長 化しておく。そして、 STP (Spanning Tree Protocol)によって、複数のリンクを連結し た経路にぉ 、て通信のループが発生しな 、よう論理的なツリー (スパユングツリー)を 構成し、通信ネットワーク上のレイヤ 2スィッチ間等で通信を行う際に使用する MAC ( Media  In recent years, with the progress of communication technology, it has become possible to send and receive information between a plurality of communication networks. For example, in order to cope with a link failure or a layer 2 switch failure in a layer 2 network, the layer 2 switch is connected in a ring type or mesh type for redundancy. Then, by using STP (Spanning Tree Protocol), a logical tree (spanning tree) is constructed so that a communication loop does not occur in the path connecting multiple links, and layer 2 on the communication network is formed. MAC (Media used for communication between switches, etc.)
Access Control)フレームの無限巡回(ノレープ)を防 ヽで 、る。  (Access Control) Frames can be protected from infinite patrol (no rape).
[0003] 上位ネットワークや下位ネットワークと接続された複数のレイヤ 2スィッチ力 なる通 信ネットワークにおいて、レイヤ 2スィッチに障害が発生した場合には、レイヤ 2スイツ チ間で STPに従って BPDU (Bridge Protocol Data Unit)を送受信し、障害を迂回 (回避)する新たな通信経路を設定し、スバニングツリーを再構成して 、る(例えば非 特許文献 1)。 [0003] In a communication network with multiple Layer 2 switches connected to a higher level network and lower level networks, when a failure occurs in a Layer 2 switch, BPDU (Bridge Protocol Data Unit) is performed according to STP between the Layer 2 switches. ), A new communication path that circumvents (avoids) the failure is set, and the scanning tree is reconfigured (for example, Non-Patent Document 1).
[0004] また、特許文献 1に記載のネットワーク転送システムは、相互に通信を行なう複数の ノード間を経路がループを構成しな 、複数の仮想ネットワークで接続し、仮想ネットヮ ークを介して複数のノードがパケット転送を行なっている。ネットワーク転送システムに おいては、 1つのノード力 現用系の VLANに対して診断用の同報パケットを送信し ている。他のノードで診断用の同報パケットが受信できないことによって L2スィッチ間 の障害を検出し、現用系の VLANを切替ている。  [0004] In addition, the network transfer system described in Patent Document 1 connects a plurality of nodes that communicate with each other through a plurality of virtual networks without a path forming a loop, and a plurality of nodes are connected via a virtual network. Node is forwarding packets. In the network forwarding system, a broadcast packet for diagnosis is sent to one node active VLAN. A failure between L2 switches is detected by the failure to receive a broadcast packet for diagnosis at another node, and the working VLAN is switched.
[0005] 非特許文献 1 : Rich Seifert著 「LANスィッチング徹底解説」日経 BP社出版 2001 年 8月 6日 P. 192—211 特許文献 1:特開 2003— 158539号公報 [0005] Non-Patent Document 1: Rich Seifert, “Extensive Explanation of LAN Switching”, Nikkei Business Publications, Inc. August 6, 2001 P. 192-211 Patent Document 1: Japanese Patent Laid-Open No. 2003-158539
発明の開示  Disclosure of the invention
発明が解決しょうとする課題  Problems to be solved by the invention
[0006] し力しながら、非特許文献 1に記載の STPによるレイヤ 2スィッチの障害の迂回は、 スパユングツリーの再構成処理が収束するまでに長時間を要するという問題があったHowever, the detouring of the layer 2 switch failure by STP described in Non-Patent Document 1 has a problem that it takes a long time for the reconfiguration process of the spanning tree to converge.
。また、 STPはネットワーク内の動作が準静的でスパユングツリーの再構成処理が頻 繁に行われないことが想定されている。このため、下位レイヤのリンクが不安定で頻 繁に切断される場合や論理的 ·物理的なネットワークトポロジーが頻繁に変更される 場合に、スパユングツリーの再構成処理が収束しないという問題があった。また、下 位レイヤの通信品質が不安定で通信品質が頻繁に劣化する場合は障害とは認識さ れないため、通信品質に基づいた迂回経路の設定には STPを適用することができな いという問題があった。 . In addition, STP is assumed to operate quasi-statically in the network, and the reconfiguration process of the spanning tree is not performed frequently. For this reason, there is a problem that the reconfiguration process of the spanning tree does not converge when the link of the lower layer is unstable and frequently disconnected, or when the logical / physical network topology is frequently changed. It was. In addition, if the communication quality of the lower layer is unstable and the communication quality deteriorates frequently, it is not recognized as a failure, so STP cannot be applied to setting a detour route based on the communication quality. There was a problem.
[0007] また、特許文献 1に記載のネットワーク転送システムは、マスタノードとスレーブノー ドの組毎に詳細に障害検出を行なうことができないという問題があった。  [0007] In addition, the network transfer system described in Patent Document 1 has a problem in that failure detection cannot be performed in detail for each set of a master node and a slave node.
[0008] 本発明は、上記に鑑みてなされたものであって、ネットワークトポロジーがリング状で あるレイヤ 2ネットワークにおいて、障害検出、レイヤ 2スィッチへの障害通知、障害迂 回経路の設定を高速に行うことが可能な通信ネットワークシステムおよび障害検出装 置を得ることを目的とする。  [0008] The present invention has been made in view of the above, and in a layer 2 network having a ring network topology, failure detection, failure notification to the layer 2 switch, and failure bypass path setting can be performed at high speed. The purpose is to obtain a communication network system and failure detection device that can be used.
課題を解決するための手段  Means for solving the problem
[0009] 上述した課題を解決し、 目的を達成するために、本発明は、リング状に接続された レイヤ 2スィッチとして上位ネットワークと接続するマスタノードおよび下位ネットワーク と接続するスレーブノードを有し、前記マスタノードと前記スレーブノードを接続する 仮想 LANを、前記マスタノードに対する前記スレーブノードの全ての組合わせ毎に 前記リング内に沿って異なる 2つの通信経路方向で設定するとともに、前記マスタノ ードまたは前記スレーブノードの前記リング内のリンク端の 1組のポートを閉塞したォ ープンリング状の通信ネットワークシステムであって、前記マスタノードおよび前記ス レーブノードは、自らのノードと隣り合う隣接リンク間で情報の送受信を行う 2つの通 信ポートと、前記通信ポートを介して受信する情報に基づいて通信障害の検出を行 なう障害検出部と、を備え、前記障害検出部は、通信障害を検出すると通信障害を 検出した際に情報を受信した通信ポートとは異なる通信ポートに通信障害に関する 通信障害情報の送信を行なわせるとともに、前記通信ポートが他のノードから前記通 信障害情報を受信すると前記通信障害情報を受信した通信ポートとは異なる通信ポ ートに前記通信障害情報の転送を行なわせることを特徴とする。 [0009] In order to solve the above-described problems and achieve the object, the present invention includes a master node connected to an upper network and a slave node connected to a lower network as layer 2 switches connected in a ring shape, A virtual LAN connecting the master node and the slave node is set in two different communication path directions along the ring for every combination of the slave nodes with respect to the master node, and the master node or An open-ring communication network system in which a set of ports at a link end in the ring of the slave node is blocked, wherein the master node and the slave node are configured to transmit information between adjacent links adjacent to their own nodes. Two communication ports for sending and receiving and receiving via the communication port Detection of communication failure based on information A failure detection unit configured to transmit communication failure information related to the communication failure to a communication port different from the communication port that received the information when the communication failure is detected when the communication failure is detected. And when the communication port receives the communication failure information from another node, the communication port is configured to transfer the communication failure information to a communication port different from the communication port that has received the communication failure information. .
[0010] 本発明に力かる通信ネットワークシステムによれば、リング内の全ノード間で通信障 害情報を送受信することによって障害の発生を監視するので、通信障害をノード間 毎に検出することが可能となる。  [0010] According to the communication network system according to the present invention, the occurrence of a failure is monitored by transmitting and receiving communication failure information between all nodes in the ring, so that a communication failure can be detected for each node. It becomes possible.
発明の効果  The invention's effect
[0011] 本発明に力かる通信ネットワークシステムによれば、通信障害をリング内の全ノード 間毎に検出することが可能となり、通信障害情報をノード間で転送するので全てのノ ードが迅速にノード間の障害を検出することが可能になるという効果を奏する。  [0011] According to the communication network system that is effective in the present invention, it becomes possible to detect a communication failure for every node in the ring, and since the communication failure information is transferred between the nodes, all the nodes can be quickly operated. It is possible to detect a failure between nodes.
図面の簡単な説明  Brief Description of Drawings
[0012] [図 1]図 1は、本発明の実施の形態 1に係るネットワークシステムの構成を示す図であ る。  FIG. 1 is a diagram showing a configuration of a network system according to Embodiment 1 of the present invention.
[図 2]図 2は、実施の形態 1に係るネットワークシステムの VLANの構成を示す図であ る。  FIG. 2 is a diagram showing a VLAN configuration of the network system according to the first embodiment.
[図 3]図 3は、実施の形態 1に係るマスタノードの構成を示すブロック図である。  FIG. 3 is a block diagram showing a configuration of a master node according to the first embodiment.
[図 4]図 4は、実施の形態 1に係るスレーブノードの構成を示すブロック図である。  FIG. 4 is a block diagram showing a configuration of a slave node according to the first embodiment.
[図 5]図 5は、ネットワークシステム内での情報の送受信の手順を示すフローチヤ一ト( [FIG. 5] FIG. 5 is a flowchart showing the procedure for transmitting and receiving information in the network system (
1)である。 1).
[図 6]図 6は、ネットワークシステム内での情報の送受信の手順を示すフローチヤ一ト( [Fig. 6] Fig. 6 is a flowchart showing the procedure for sending and receiving information in the network system (
2)である。 2).
[図 7]図 7は、 MACフレームの構成を示す図である。  FIG. 7 is a diagram showing a structure of a MAC frame.
[図 8]図 8は、 VLAN— Tagが 1つ付与された MACフレームの構成を示す図である。  [FIG. 8] FIG. 8 is a diagram showing a configuration of a MAC frame to which one VLAN tag is assigned.
[図 9]図 9は、 VLAN— Tagが 2つ付与された MACフレームの構成を示す図である。  FIG. 9 is a diagram showing a configuration of a MAC frame to which two VLAN tags are assigned.
[図 10]図 10は、実施の形態 1に係る障害検出の手順を示すフローチャートである。  FIG. 10 is a flowchart showing a failure detection procedure according to the first embodiment.
[図 11]図 11は、複数のマスタノードを有するネットワークシステムの構成を示す図で ある。 FIG. 11 is a diagram showing a configuration of a network system having a plurality of master nodes. is there.
[図 12]図 12は、複数のマスタノードを有するネットワークシステムの VLANの構成を 示す図である。  FIG. 12 is a diagram showing a VLAN configuration of a network system having a plurality of master nodes.
[図 13]図 13は、実施の形態 2に係る障害検出の手順を示すフローチャートである。  FIG. 13 is a flowchart showing a failure detection procedure according to the second embodiment.
[図 14]図 14は、実施の形態 3に係る障害検出の手順を示すフローチャートである。 FIG. 14 is a flowchart showing a failure detection procedure according to the third embodiment.
[図 15]図 15は、実施の形態 4に係るマスタノードの構成を示すブロック図である。 FIG. 15 is a block diagram showing a configuration of a master node according to the fourth embodiment.
[図 16]図 16は、実施の形態 4に係る障害検出の手順を示すフローチャート(1)である FIG. 16 is a flowchart (1) showing a failure detection procedure according to the fourth embodiment.
[図 17]図 17は、実施の形態 4に係る障害検出の手順を示すフローチャート(2)である FIG. 17 is a flowchart (2) showing a procedure of fault detection according to the fourth embodiment.
[図 18]図 18は、マスタノードに設定されるトポロジー情報の構成を示す図である。 FIG. 18 is a diagram showing a configuration of topology information set in the master node.
[図 19]図 19は実施の形態 5に係る障害検出後の VLANの切替えの手順を示すフロ 一チャートである。 FIG. 19 is a flowchart showing a procedure for switching VLANs after failure detection according to the fifth embodiment.
[図 20]図 20は、マスタノードに設定される VLANテーブル情報の構成を示す図であ る。  FIG. 20 is a diagram showing a configuration of VLAN table information set in the master node.
[図 21]図 21は、スレーブノードに設定される VLANテーブル情報の構成を示す図(1 )である。  FIG. 21 is a diagram (1) showing a configuration of VLAN table information set in the slave node.
[図 22]図 22は、スレーブノードに設定される VLANテーブル情報の構成を示す図(2 )である。  FIG. 22 is a diagram (2) showing a configuration of VLAN table information set in the slave node.
[図 23]図 23は、スレーブノードに設定される VLANテーブル情報の構成を示す図(3 )である。  FIG. 23 is a diagram (3) showing a configuration of VLAN table information set in the slave node.
[図 24]図 24は、マスタノードに設定変更されたトポロジー情報の構成を示す図である  FIG. 24 is a diagram showing a configuration of topology information whose settings have been changed to a master node.
[図 25]図 25は、スレーブノードに設定変更された VLANテーブル情報の構成を示す 図(1)である。 FIG. 25 is a diagram (1) showing a configuration of VLAN table information whose setting has been changed to a slave node.
[図 26]図 26は、スレーブノードに設定変更された VLANテーブル情報の構成を示す 図(2)である。  FIG. 26 is a diagram (2) showing a configuration of VLAN table information whose setting is changed to a slave node.
[図 27]図 27は、スレーブノードに設定変更された VLANテーブル情報の構成を示す 図(3)である。 [FIG. 27] FIG. 27 shows the configuration of VLAN table information whose settings have been changed to slave nodes. It is figure (3).
[図 28]図 28は、マスタノードに設定変更された VLANテーブル情報の構成を示す図 である。  FIG. 28 is a diagram showing a configuration of VLAN table information whose setting has been changed to a master node.
[図 29]図 29は、図 2に示したネットワークシステムの VLAN切替え後の構成を示す図 である。  FIG. 29 is a diagram showing a configuration of the network system shown in FIG. 2 after VLAN switching.
[図 30]図 30は、実施の形態 6に係る障害検出後の VLANの切替えの手順を示すフ ローチャートである。  FIG. 30 is a flowchart showing a procedure for switching VLANs after failure detection according to the sixth embodiment.
[図 31]図 31は、実施の形態 7に係る障害検出後の VLANの切替えの手順を示すフ ローチャートである。 FIG. 31 is a flowchart showing a procedure for switching VLANs after failure detection according to the seventh embodiment.
[図 32]図 32は、実施の形態 8に係る障害検出後の VLANの切替えの手順を示すフ ローチャートである。 FIG. 32 is a flowchart showing a procedure for switching VLANs after failure detection according to the eighth embodiment.
[図 33]図 33は、実施の形態 9に係る障害検出後の VLANの切替えの手順を示すフ ローチャートである。 FIG. 33 is a flowchart showing a procedure for switching VLANs after failure detection according to the ninth embodiment.
[図 34]図 34は、図 12に示したネットワークシステムの VLAN切替え後の構成を示す 図である。 FIG. 34 is a diagram showing a configuration of the network system shown in FIG. 12 after VLAN switching.
[図 35]図 35は、実施の形態 10に係る障害検出後の VLANの切替えの手順を示す フローチャートである。 符号の説明  FIG. 35 is a flowchart showing a VLAN switching procedure after failure detection according to the tenth embodiment. Explanation of symbols
1—3, 11一 13, 51, 61, 62, 75 仮想 LAN  1−3, 11 1 13, 51, 61, 62, 75 Virtual LAN
20A, 20B マスタノード  20A, 20B master node
21 順方向側ポート  21 Forward port
22 逆方向側ポート  22 Reverse port
23 スィッチ部  23 Switch part
24 Tag処理部  24 Tag processing section
25 VLAN処理部  25 VLAN processing section
26 記憶部  26 Memory
27 下位ネットワーク通信部  27 Lower network communication section
27 上位ネットワーク通信部 28 接続判断部 27 Upper network communication section 28 Connection judgment part
29 制御部  29 Control unit
30A— 30C スレーブノード  30A—30C slave node
32 下位ネットワーク通信部  32 Lower network communication section
55 閉塞リンク  55 Blocked link
80—82 MACフレーム  80—82 MAC frames
85A, 85X, 86A— 86C, 86X— 86Z VLANテーブル情報  85A, 85X, 86A—86C, 86X—86Z VLAN table information
87A, 87X トポロジー情報  87A, 87X topology information
90 リングネットワーク  90 ring network
201A, 201B 上位ネットワーク  201A, 201B Host network
301A— 301C 下位ネットワーク  301A— 301C Subnetwork
発明を実施するための最良の形態  BEST MODE FOR CARRYING OUT THE INVENTION
[0014] 以下に、本発明に力かる通信ネットワークシステムおよび障害検出装置の実施の形 態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定 されるものではない。 [0014] Hereinafter, embodiments of a communication network system and a failure detection apparatus according to the present invention will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.
[0015] 実施の形態 1. [0015] Embodiment 1.
図 1は、本発明の実施の形態 1に係るネットワークシステムの構成を示す図である。 ネットワークシステムは、リングネットワーク 90と該リングネットワーク 90に接続された 複数の通信ネットワークからなる。リングネットワーク 90は、マスタノード 20A、スレー ブノード 30A— 30Cからなる。マスタノード 20A、スレーブノード 30A— 30Cは、レイ ャ 2スィッチである。  FIG. 1 is a diagram showing a configuration of a network system according to Embodiment 1 of the present invention. The network system includes a ring network 90 and a plurality of communication networks connected to the ring network 90. The ring network 90 includes a master node 20A and slave nodes 30A-30C. The master node 20A and slave nodes 30A-30C are layer 2 switches.
[0016] マスタノード 20A、スレーブノード 30A— 30Cは、ネットワークシステム内において 情報の中継を行なう。マスタノード 20A、スレーブノード 30A— 30Cは、 OSl (Open System Interconnection)参照モデルのデータリンク層(第 2層)のデータでパケットの 送信先を判断し、パケットの転送を行なう。  Master node 20A and slave nodes 30A-30C relay information in the network system. The master node 20A and the slave nodes 30A-30C determine the packet transmission destination based on the data link layer (second layer) data of the OSl (Open System Interconnection) reference model, and transfer the packet.
[0017] データリンク層のプロトコルとしてはイーサネット(登録商標)等の MAC (Media [0017] As a data link layer protocol, Ethernet (registered trademark) or other MAC (Media
Access Control)を用いる。そして、ネットワークシステム内のノードは、 MACアドレス に基づ!/、てデータの送信先を決定する。 [0018] リングネットワーク 90においてマスタノード 20A、スレーブノード 30A— 30Cはリング 状に接続されて 、る。スレーブノード 30Aがマスタノード 20Aとスレーブノード 30Bに 接続され、スレーブノード 30Cがマスタノード 20Aとスレーブノード 30Bに接続されて いる。 Access Control) is used. Then, the node in the network system determines the data transmission destination based on the MAC address! In the ring network 90, the master node 20A and the slave nodes 30A-30C are connected in a ring shape. Slave node 30A is connected to master node 20A and slave node 30B, and slave node 30C is connected to master node 20A and slave node 30B.
[0019] この複数のノードがリング状に接続されたリングネットワーク 90をオープンループに するため、 1つのリンクの両端のポートが論理的に閉塞されている。ここでは、マスタノ ード 20Aとスレーブノード 30Cを接続するリンクの両端のポート(マスタノード 20Aに おけるスレーブノード 30C側のポート、スレーブノード 30Cにおけるマスタノード 20A 側のポート)が論理的に閉塞されおり、マスタノード 20Aとスレーブノード 30Cが閉塞 リンク 55で接続されている場合を示している。すなわち、マスタノード 20Aとスレーブ ノード 30Cが、閉塞リンク 55の両端のノード (以下、リング端ノードという)となる。閉塞 リンク 55における両端のポートは物理的に切断することとしてもよい。  [0019] In order to put the ring network 90 in which the plurality of nodes are connected in a ring shape into an open loop, the ports at both ends of one link are logically blocked. Here, the ports at both ends of the link connecting the master node 20A and the slave node 30C (the slave node 30C side port in the master node 20A and the master node 20A side port in the slave node 30C) are logically blocked. This shows a case where the master node 20A and the slave node 30C are connected by the blocked link 55. That is, the master node 20A and the slave node 30C are nodes at both ends of the blocked link 55 (hereinafter referred to as ring end nodes). The ports at both ends of the blocked link 55 may be physically disconnected.
[0020] マスタノード 20Aは、上位ネットワーク 201Aと接続されている。スレーブノード 30A は下位ネットワーク 301Aと接続され、スレーブノード 30Bは下位ネットワーク 301Bと 接続され、スレーブノード 30Cは下位ネットワーク 301Cと接続されている。  [0020] Master node 20A is connected to upper network 201A. Slave node 30A is connected to lower network 301A, slave node 30B is connected to lower network 301B, and slave node 30C is connected to lower network 301C.
[0021] そして、ネットワークシステム内においては、上位ネットワーク 201Aと下位ネットヮー ク 301A— 301Cの間の通信をリングネットワーク 90が中継する。また、マスタノード 2 OA、スレーブノード 30A— 30Cの間で情報を送受信することによってネットワークシ ステム内での障害の発生を検知する。  In the network system, the ring network 90 relays communication between the upper network 201A and the lower networks 301A-301C. Also, the occurrence of a fault in the network system is detected by transmitting and receiving information between the master node 2 OA and slave nodes 30A-30C.
[0022] 図 2は、実施の形態 1に係るネットワークシステムの VLANの構成を示す図である。  FIG. 2 is a diagram showing a VLAN configuration of the network system according to the first embodiment.
マスタノード 20Aとスレーブノード 30A— 30Cは、複数の VLAN (Virtual  Master node 20A and slave node 30A—30C consist of multiple VLANs (Virtual
Local Area Network)によって接続されている。マスタノード 20Aとスレーブノード 30 Aの間には、リングネットワーク 90上のマスタノード 20Aから見て左回り方向の通信経 路(以下、順方向経路という)である VLAN1と、右回り方向の通信経路(以下、逆方 向経路と 、う)である VLAN11がー組の VLANとして設定されて!、る。  Connected by Local Area Network. Between master node 20A and slave node 30A, VLAN1, which is a counterclockwise communication path (hereinafter referred to as a forward path) as viewed from master node 20A on ring network 90, and a clockwise communication path VLAN 11 is set as a pair of VLANs (hereinafter referred to as reverse path).
[0023] また、マスタノード 20Aとスレーブノード 30Bの間には、順方向経路である VLAN2 と、逆方向経路である VLAN12がー組の VLANとして設定されている。また、マスタ ノード 20Aとスレーブノード 30Cの間には、順方向経路である VLAN3と、逆方向経 路である VLAN13がー組の VLANとして設定されている。 [0023] Further, between the master node 20A and the slave node 30B, VLAN2 that is a forward path and VLAN12 that is a reverse path are set as a pair of VLANs. In addition, between the master node 20A and the slave node 30C, VLAN3, which is a forward route, and a reverse route are used. VLAN 13 is set as a set of VLANs.
[0024] 本実施の形態 1においては、マスタノード 20Aとスレーブノード 30Aの通信におい て、マスタノード 20Aとスレーブノード 30Aの間に設定されている VLAN1と VLAN1 1のいずれか一方の VLANを現用 VLANとして使用する。そして、現用 VLANとは 異なる VLANを必要に応じて使用する予備 VLANとする。例えば VLAN 1を現用 V LANとし、 VLAN 11を予備 VLANとする。 VLAN1、 VLANl lと同様に、 VLAN2 と VLAN12、 VLAN3と VLAN13も一方が現用 VLANとなり、他方が予備 VLANと なる。マスタノード 20Aとスレーブノード 30A— 3Cに対しては、予め現用 VLANと予 備 VLANを設定しておく。  In the first embodiment, in the communication between master node 20A and slave node 30A, one of VLAN 1 and VLAN 11 set between master node 20A and slave node 30A is used as the working VLAN. Use as A VLAN that is different from the working VLAN is used as needed. For example, VLAN 1 is the working VLAN and VLAN 11 is the backup VLAN. As with VLAN1 and VLAN11, one of VLAN2 and VLAN12, VLAN3 and VLAN13 is the working VLAN, and the other is the backup VLAN. For the master node 20A and slave nodes 30A-3C, a working VLAN and a spare VLAN are set in advance.
[0025] つぎに、マスタノード 20A、スレーブノード 30A— 30Cの構成について説明する。  Next, the configuration of the master node 20A and slave nodes 30A-30C will be described.
なお、スレーブノード 30A— 30Cは同様の構成を有するので、ここではスレーブノー ド 30Aを例にとって説明する。  Note that the slave nodes 30A-30C have the same configuration, and therefore, description will be given here taking the slave node 30A as an example.
[0026] 図 3は、実施の形態 1に係るマスタノードの構成を示すブロック図である。マスタノー ド 20Aは、順方向側ポート 21、逆方向側ポート 22、スィッチ部 23、 Tag処理部(変更 指示部) 24、 VLAN処理部 25、上位ネットワーク通信部 27、接続判断部(障害検出 部) 28、制御部 29からなる。  FIG. 3 is a block diagram showing a configuration of the master node according to the first embodiment. Master node 20A has forward port 21, reverse port 22, switch unit 23, tag processing unit (change instruction unit) 24, VLAN processing unit 25, upper network communication unit 27, connection determination unit (failure detection unit). 28 and control unit 29.
[0027] 順方向側ポート 21は、ネットワークシステム内において順方向側に接続された VL AN1— 3等によってスレーブノード 30A— 30Cと情報の送受信を行うポートである。 逆方向側ポート 22は、ネットワークシステム内において逆方向側に接続された VLA N 11— 13等によってスレーブノード 30A— 30Cと情報の送受信を行うポートである。  The forward-side port 21 is a port for transmitting / receiving information to / from the slave nodes 30A-30C by the VLAN1-3 connected to the forward side in the network system. The reverse side port 22 is a port for transmitting / receiving information to / from the slave nodes 30A-30C by the VLA N 11-13 connected to the reverse side in the network system.
[0028] VLAN処理部 25は、ノード毎のポート、このポートに対応する VLAN等を設定し、 設定された情報に基づいてネットワークシステム内において使用する VLANを決定 する。  [0028] The VLAN processing unit 25 sets a port for each node, a VLAN corresponding to the port, and the like, and determines a VLAN to be used in the network system based on the set information.
[0029] スィッチ部 23は、 VLAN処理部 25からの指示情報に基づいて、通信を行うポート( 順方向側ポート 21、逆方向側ポート 22)の切替えを行なう。スィッチ部 23は、スレー ブノード 30A— 30Cと通信を行う際に、順方向側ポート 21と逆方向側ポート 22のい ずれによって通信を行うかをスレーブノード 30A— 30C毎に切り替える。  Based on the instruction information from the VLAN processing unit 25, the switch unit 23 switches the ports (forward direction port 21 and reverse direction port 22) that perform communication. When the switch unit 23 communicates with the slave nodes 30A-30C, the switch unit 23 switches between the forward port 21 and the reverse port 22 for each slave node 30A-30C.
[0030] Tag処理部 24は、ネットワークシステム内のノード間で通信を行う際に、 MACフレ ームに後述の VLAN— Tagを付与 (付加)または削除する。上位ネットワーク通信部 2 7は、上位ネットワーク 201Aと通信を行う。 [0030] The Tag processing unit 24 uses a MAC frame when communicating between nodes in the network system. Add (add) or delete the VLAN tag described below to the group. The upper network communication unit 27 communicates with the upper network 201A.
[0031] 接続判断部 28は、ネットワークシステムにおいてリンクの下位レイヤの切断状態(リ ンク断)が発生したカゝ否かを判断する。接続判断部 28は、リングネットワーク 90内で 隣り合うノードに対して、障害を検出するための所定の情報を作成し、順方向側ポー ト 21、逆方向側ポート 22に送受信させる。接続判断部 28は、例えば接続先のスレー ブノードからの情報 (後述の下位レイヤ監視フレーム等)を受信できなくなると、障害 発生 (リンク断)であると判断する。  [0031] The connection determination unit 28 determines whether or not a link lower layer disconnection state (link disconnection) has occurred in the network system. The connection determination unit 28 creates predetermined information for detecting a failure with respect to adjacent nodes in the ring network 90 and transmits / receives them to / from the forward direction port 21 and the backward direction port 22. For example, when it becomes impossible to receive information (such as a lower layer monitoring frame described later) from the connected slave node, the connection determining unit 28 determines that a failure has occurred (link disconnection).
[0032] 制御部 29は、順方向側ポート 21、逆方向側ポート 22、スィッチ部 23、 Tag処理部 24、 VLAN処理部 25、上位ネットワーク通信部 27、接続判断部 28を制御する。  The control unit 29 controls the forward port 21, the reverse port 22, the switch unit 23, the tag processing unit 24, the VLAN processing unit 25, the upper network communication unit 27, and the connection determination unit 28.
[0033] 図 4は、実施の形態 1に係るスレーブノードの構成を示すブロック図である。スレー ブノード 30Aは、順方向側ポート 21、逆方向側ポート 22、スィッチ部 23、 Tag処理部 24、 VLAN処理部 25、接続判断部 28、下位ネットワーク通信部 32、制御部 29から なる。  FIG. 4 is a block diagram showing a configuration of the slave node according to the first embodiment. The slave node 30A includes a forward port 21, a reverse port 22, a switch unit 23, a tag processing unit 24, a VLAN processing unit 25, a connection determination unit 28, a lower network communication unit 32, and a control unit 29.
[0034] 下位ネットワーク通信部 32は、下位ネットワーク 301Aと通信を行う。スレーブノード 30Aの VLAN処理部 25は、スレーブノード 30Aが備えるポート、このポートに対応 する VLAN (後述する VLANテーブル 86A)等を設定し、設定された情報に基づ 、 てネットワークシステム内において使用する VLANを決定する。  [0034] Lower network communication unit 32 communicates with lower network 301A. The VLAN processing unit 25 of the slave node 30A sets a port included in the slave node 30A, a VLAN (VLAN table 86A described later) corresponding to the port, and the like, and uses it in the network system based on the set information. Determine the VLAN.
[0035] つぎに、ネットワークシステムの動作手順にっ 、て説明する。なお、スレーブノード 3 OA— 30Cは同様の動作を行なうので、ここではスレーブノード 30Aが情報を送受信 する場合を例にとって説明する。  Next, the operation procedure of the network system will be described. Since slave node 3 OA-30C performs the same operation, a case where slave node 30A transmits and receives information will be described as an example here.
[0036] 図 5、図 6は、ネットワークシステム内での情報の送受信の手順を示すフローチヤ一 トである。ネットワークシステム内のノードにおいては、予め所定の設定がなされてい る。すなわち、各ノードにはノード種別(マスタノードまたはスレーブノード)が設定され ている。本実施の形態 1においては、ネットワークシステム内のノードに対し 1つのマ スタノード 20A、 3つのスレーブノード 30A— 30Cが設定されて!、る。  FIG. 5 and FIG. 6 are flowcharts showing a procedure for transmitting and receiving information in the network system. Predetermined settings are made in advance in the nodes in the network system. That is, a node type (master node or slave node) is set for each node. In the first embodiment, one master node 20A and three slave nodes 30A-30C are set for the nodes in the network system!
[0037] また、各ノードには、各ノードが備えるポートの状態(閉塞、閉塞解除)が設定されて いる。また、各ノードには、障害検出の方法 (リンク断の検出、 VLAN障害の検出、リ ング障害の検出)が設定されている。本実施の形態 1においては、リンク断の検出に よって障害を検出するよう設定されている。 [0037] Each node is set with the state (blockage, release of blockage) of the port included in each node. Each node also has a failure detection method (link failure detection, VLAN failure detection, Detection error) is set. In the first embodiment, it is set to detect a failure by detecting a broken link.
[0038] ネットワークシステム内のマスタノード 20Aは、予め設定されたポートの状態等に基 づいてスレーブノード 30A— 30Cと通信を行う。リングネットワーク 90内の各ノード(マ スタノード 20A、スレーブノード 30A— 30C)は、例えば現用の VLAN1— 3によって 通信を行 ヽ、障害発生時に予備の VLAN 11— 13をさらに利用して障害発生の通知 を行なう。  [0038] The master node 20A in the network system communicates with the slave nodes 30A to 30C based on a preset port state or the like. Each node in the ring network 90 (master node 20A, slave node 30A-30C) communicates with, for example, the current VLAN1-3, and notifies the occurrence of a failure using the spare VLAN 11-13 when a failure occurs. To do.
[0039] スレーブノード 30Aの下位ネットワーク通信部 32は下位ネットワーク 301Aから MA Cフレーム 80を受信する(ステップ S100)。ここで、 MACフレーム 80について説明 する。  [0039] The lower network communication unit 32 of the slave node 30A receives the MAC frame 80 from the lower network 301A (step S100). Here, the MAC frame 80 will be described.
[0040] 図 7は MACフレームの構成を示す図である。 MACフレーム 80は、宛先 MACアド レス、送信元 MACアドレス、 Length/Type情報、 Data FCS (Frame  FIG. 7 is a diagram showing the structure of the MAC frame. MAC frame 80 is the destination MAC address, source MAC address, Length / Type information, Data FCS (Frame
Check Sequence)を含んで構成される。宛先 MACアドレスは、 MACフレーム 80の 送信先となるノードのアドレスを示している。送信元 MACアドレスは、 MACフレーム 80の送信元である自らのノードのアドレスを示している。 LengthZType情報は、 M ACフレーム 80のパケット長や上位プロトコルの識別フィールドを示している。 FCSは 、データの誤り検出用の情報を示している。  Check Sequence). The destination MAC address indicates the address of the node that is the transmission destination of the MAC frame 80. The source MAC address indicates the address of its own node that is the source of the MAC frame 80. The LengthZType information indicates the MAC frame 80 packet length and the upper protocol identification field. FCS indicates information for data error detection.
[0041] リングネットワーク 90内では VLAN— Tagを用いて通信を行なう。すなわち、リング ネットワーク 90内のマスタノード 20Aやスレーブノード 30A— 30Cが上位ネットワーク 201Aや下位ネットワーク 301A— 301Cから MACフレーム 80を受信すると、この M ACフレームに VLAN— Tagを付与する。そして、 VLAN— Tagを付与した MACフレ ーム 80をリングネットワーク 90内で転送し、リングネットワーク 90の外(上位ネットヮー ク 201A、下位ネットワーク 301A— 301C)に MACフレーム 80を送信する時に付与 された VLAN-Tagを削除する。  [0041] In the ring network 90, communication is performed using a VLAN tag. That is, when the master node 20A and the slave nodes 30A-30C in the ring network 90 receive the MAC frame 80 from the upper network 201A and the lower networks 301A-301C, a VLAN tag is assigned to this MAC frame. The MAC frame 80 with the VLAN tag added was transferred within the ring network 90, and was assigned when the MAC frame 80 was transmitted outside the ring network 90 (upper network 201A, lower network 301A 301C). Delete VLAN-Tag.
[0042] 例えばスレーブノード 30Aの下位ネットワーク通信部 32が下位ネットワーク 301Aか ら MACフレーム 80を受信すると、 Tag処理部 24が MACフレーム 80に現用 VLAN 1の VID (Virtual  [0042] For example, when the lower network communication unit 32 of the slave node 30A receives the MAC frame 80 from the lower network 301A, the Tag processing unit 24 adds the VID (Virtual
LAN Identification)を示す情報として VLAN— Tag70を付与して MACフレーム 81 を作成する (ステップ SI 10)。 VLAN tag 70 is added as information indicating (LAN Identification) and MAC frame 81 (Step SI 10).
[0043] 図 8は、 VLAN— Tagが 1つ付与された MACフレームの構成を示す図である。 MA Cフレーム 81は、 MACフレーム 80に VLANに関する情報である VLAN— Tag70が 付与されて構成されて ヽる。ここでの VLAN— Tag70には通信の優先制御を行なう ための「Priority」と VLANを識別するための「VID」が含まれる。 MACフレーム 81 の VIDによって現用 VLANに設定されている VLANが識別される。  FIG. 8 is a diagram showing a configuration of a MAC frame to which one VLAN tag is assigned. The MAC frame 81 is configured by adding a VLAN tag 70, which is information about VLAN, to the MAC frame 80. The VLAN-Tag 70 here includes “Priority” for priority control of communication and “VID” for identifying VLAN. The VLAN set as the working VLAN is identified by the VID of MAC frame 81.
[0044] MACフレーム 81の LengthZType情報には、このフレームに VLAN— Tagが付 与されて!/、ることを表す LengthZType情報が示されて!/、る。 VLAN— Tag70が付 与された MACフレーム 81は、スレーブノード 30Aの順方向側ポート 21からマスタノ ード 20A宛てに送信される(ステップ S 120)。  [0044] The LengthZType information of the MAC frame 81 includes LengthZType information indicating that a VLAN tag is attached to this frame! /! The MAC frame 81 to which the VLAN—Tag 70 is assigned is transmitted from the forward port 21 of the slave node 30A to the master node 20A (step S120).
[0045] マスタノード 20Aの順方向側ポート 21が、スレーブノード 30Aから MACフレーム 8 1を受信すると、マスタノード 20Aの Tag処理部 24は MACフレーム 81から VLAN— Tag70を削除した MACフレーム 80を生成する(ステップ S130)。 Tag処理部 24が 生成した MACフレーム 80は、上位ネットワーク通信部 27から上位ネットワーク 201A に送信される(ステップ S 140)。  [0045] When the forward port 21 of the master node 20A receives the MAC frame 81 from the slave node 30A, the tag processing unit 24 of the master node 20A generates a MAC frame 80 in which the VLAN—Tag 70 is deleted from the MAC frame 81. (Step S130). The MAC frame 80 generated by the tag processing unit 24 is transmitted from the upper network communication unit 27 to the upper network 201A (step S140).
[0046] また、マスタノード 20Aの上位ネットワーク通信部 27が上位ネットワーク 201Aから MACフレーム 80を受信すると、マスタノード 20Aの Tag処理部 24は MACフレーム 80から MACフレーム 81を生成する(ステップ S200、 S210)。  [0046] When the upper network communication unit 27 of the master node 20A receives the MAC frame 80 from the upper network 201A, the Tag processing unit 24 of the master node 20A generates a MAC frame 81 from the MAC frame 80 (steps S200 and S210). ).
[0047] VLAN1を介してスレーブノード 30Aに送信する MACフレーム 80には、現用 VLA N1に関する情報を含む VIDが付与される。 Tag処理部 24が生成した MACフレーム 81は、順方向側ポート 21から VLAN1— 3を介して各スレーブノード 30Aに送信され る(ステップ S220)。スレーブノード 30A— 30Cの順方向側ポート 21がマスタノード 2 OAから MACフレーム 81を受信すると、スレーブノード 30A— 30Cの各 Tag処理部 2 4は MACフレーム 81の VLAN— Tag70を削除した MACフレーム 80を生成する(ス テツプ S230)。 Tag処理部 24が生成した MACフレーム 80は、スレーブノード 30Aの 下位ネットワーク通信部 27から下位ネットワーク 301Aに送信される(ステップ S240)  [0047] A MAC frame 80 transmitted to the slave node 30A via VLAN1 is given a VID including information on the working VLA N1. The MAC frame 81 generated by the tag processing unit 24 is transmitted from the forward port 21 to each slave node 30A via VLAN1-3 (step S220). When slave port 30A—forward port 21 of 30C receives MAC frame 81 from master node 2 OA, each tag processing unit 2 4 of slave node 30A—30C deletes the VLAN of MAC frame 81—MAC frame 80 from which MAC tag 80 is deleted. (Step S230). The MAC frame 80 generated by the tag processing unit 24 is transmitted from the lower network communication unit 27 of the slave node 30A to the lower network 301A (step S240).
[0048] また、スレーブノード 30Aの下位ネットワーク通信部 32が下位ネットワーク 301Aか ら 1つの VLAN— Tag71が付カ卩された MACフレーム 81を受信すると、スレーブノー ド 30Aの Tag処理部 24が MACフレーム 81に現用 VLAN1の VIDを示す情報として[0048] Also, whether the lower network communication unit 32 of the slave node 30A is the lower network 301A. When receiving MAC frame 81 with one VLAN — Tag 71 attached, the tag processing unit 24 of the slave node 30A uses the MAC frame 81 as information indicating the VID of the working VLAN 1.
VLAN— Tag72を付与した MACフレーム 82を作成する。 VLAN—Creates MAC frame 82 with Tag 72 attached.
[0049] 図 9は、 VLAN— Tagが 2つ付与された MACフレームの構成を示す図である。 MAFIG. 9 is a diagram showing a configuration of a MAC frame to which two VLAN tags are assigned. MA
Cフレーム 82は、 1つの VLAN— Tag71が付カ卩された MACフレーム 81に VLAN— T ag72が付与されて構成されて 、る。 The C frame 82 is configured by adding a VLAN tag 72 to a MAC frame 81 to which one VLAN tag 71 is attached.
[0050] MACフレーム 81に付与されて!、た VLAN— Tagが VLAN— Tag71である場合、[0050] Attached to MAC frame 81 !, if VLAN-Tag is VLAN-Tag71,
MACフレーム 82には MACフレーム 81に付与されていた VLAN— Tagとして元の VThe MAC frame 82 contains the original V as the VLAN tag attached to the MAC frame 81.
LAN— Tag71を付与しておく。そして、元の VLAN— Tag71には元の「Priority」と「LAN—Tag 71 is assigned. And the original VLAN—Tag 71 has the original “Priority” and “
VID」が含まれている。 VID "is included.
[0051] Tag処理部 24によって付カ卩される VLAN— Tag72には「Priority」と「VID」が含ま れる。 MACフレーム 82の Length/Type情報には、このフレームに VLAN— Tagが 付与されて ヽることを表す Length/Type情報が示されて!/、る。 VLAN— Tag72が 付与された MACフレーム 82は、スレーブノード 30Aの順方向側ポート 21から VLA N1を介してマスタノード 20A宛てに送信される。  [0051] The VLAN tag 72 attached by the tag processing unit 24 includes "Priority" and "VID". The Length / Type information of the MAC frame 82 shows Length / Type information indicating that a VLAN tag is attached to this frame! The MAC frame 82 to which the VLAN tag 72 is added is transmitted from the forward port 21 of the slave node 30A to the master node 20A via VLA N1.
[0052] 以下、マスタノード 20Aがスレーブノード 30Aから MACフレーム 81を受信した時と 同様の処理を行なう。すなわち、マスタノード 20Aの順方向側ポート 21が、スレーブ ノード 30Aから MACフレーム 82を受信すると、マスタノード 20Aの Tag処理部 24は MACフレーム 82から VLAN— Tag72を削除した MACフレーム 81を生成する。 Tag 処理部 24が生成した MACフレーム 81は、上位ネットワーク通信部 27から上位ネット ワーク 201Aに送信される。  Thereafter, the same processing as when master node 20A receives MAC frame 81 from slave node 30A is performed. That is, when the forward port 21 of the master node 20A receives the MAC frame 82 from the slave node 30A, the Tag processing unit 24 of the master node 20A generates a MAC frame 81 in which the VLAN tag 72 is deleted from the MAC frame 82. The MAC frame 81 generated by the tag processing unit 24 is transmitted from the upper network communication unit 27 to the upper network 201A.
[0053] また、マスタノード 20Aの上位ネットワーク通信部 27が上位ネットワーク 201Aから MACフレーム 81を受信すると、マスタノード 20Aの Tag処理部 24は MACフレーム 81から MACフレーム 82を生成する。  [0053] When the upper network communication unit 27 of the master node 20A receives the MAC frame 81 from the upper network 201A, the Tag processing unit 24 of the master node 20A generates a MAC frame 82 from the MAC frame 81.
[0054] VLAN1を介してスレーブノード 30Aに送信する MACフレーム 80には、現用 VLA N1に関する情報を含む VIDが付与される。 Tag処理部 24が生成した MACフレーム 82は、順方向側ポート 21から VLAN1を介してスレーブノード 30Aに送信される。ス レーブノード 30Aの順方向側ポート 21がマスタノード 20Aから MACフレーム 82を受 信すると、スレーブノード 30Aの各 Tag処理部 24は MACフレーム 82の VLAN— Ta g72を削除した MACフレーム 81を生成する。 Tag処理部 24が生成した MACフレー ム 81は、スレーブノード 30Aの下位ネットワーク通信部 32から下位ネットワーク 301A に送信される。 [0054] A MAC frame 80 transmitted to the slave node 30A via VLAN1 is given a VID including information on the working VLA N1. The MAC frame 82 generated by the Tag processing unit 24 is transmitted from the forward port 21 to the slave node 30A via VLAN1. Slave node 30A forward port 21 receives MAC frame 82 from master node 20A. Then, each tag processing unit 24 of the slave node 30A generates a MAC frame 81 from which the VLAN tag 72 of the MAC frame 82 is deleted. The MAC frame 81 generated by the tag processing unit 24 is transmitted from the lower network communication unit 32 of the slave node 30A to the lower network 301A.
[0055] つぎに、リングネットワーク 90内における障害検出の手順について説明する。ネット ワークシステム内のマスタノード 20Aは、予め設定された障害検出の方法に基づいて 、ネットワークシステム内の障害を検出する。なお、各ノード間における障害検出の手 川頁は同様の手川頁によって行なうので、ここではスレーブノード 30Aとスレーブノード 30 Bの間における障害検出を例にとって説明する。  Next, a procedure for detecting a failure in the ring network 90 will be described. The master node 20A in the network system detects a fault in the network system based on a preset fault detection method. In addition, since the Tagawa page of failure detection between the nodes is performed by the same Tagawa page, here, the failure detection between the slave node 30A and the slave node 30B will be described as an example.
[0056] 図 10は実施の形態 1に係る障害検出の手順を示すフローチャートである。リングネ ットワーク 90内の障害の発生を検知(監視)するため、リングネットワーク 90内におけ るノード(マスタノード 20A、スレーブノード 30A— 30C)間で下位レイヤの監視を行う ための下位レイヤ監視フレームを送受信する。本実施の形態 1においては、スレーブ ノード 30Aは、スレーブノード 30Aに隣接するマスタノード 20Aおよびスレーブノード 30Bと下位レイヤ監視フレームの送受信を定期的に行い、スレーブノード 30Cはスレ ーブノード 30Cに隣接するスレーブノード 30Bと下位レイヤ監視フレームの送受信を 定期的に行う(ステップ S 300)。  FIG. 10 is a flowchart showing a failure detection procedure according to the first embodiment. In order to detect (monitor) the occurrence of a fault in the ring network 90, a lower layer monitoring frame for monitoring a lower layer between nodes (master node 20A, slave node 30A-30C) in the ring network 90 is provided. Send and receive. In the first embodiment, the slave node 30A periodically transmits and receives lower layer monitoring frames to and from the master node 20A and slave node 30B adjacent to the slave node 30A, and the slave node 30C is a slave adjacent to the slave node 30C. The node 30B periodically transmits and receives lower layer monitoring frames (step S300).
[0057] 例えばスレーブノード 30Aとスレーブノード 30Bの間で下位レイヤのリンク断(障害) が発生すると、スレーブノード 30Aとスレーブノード 30Bの間における下位レイヤ監視 フレームの受信が途絶する(ステップ S305)。  For example, when a lower layer link disconnection (failure) occurs between the slave node 30A and the slave node 30B, reception of the lower layer monitoring frame between the slave node 30A and the slave node 30B is interrupted (step S305).
[0058] スレーブノード 30Aは、スレーブノード 30Bから送信される下位レイヤ監視フレーム の受信ができなくなるため、スレーブノード 30B側のポートである VLAN11側のポー ト (逆方向側ポート 22)を介してリンクが断状態 (リンク断)であること(障害の発生)を 検出する (ステップ S310)。ここでは、接続判断部 28によってリンク断である力否かを 判断する。すなわち、スレーブノード 30Aの接続判断部 28はスレーブノード 30Bから の下位レイヤ監視フレームを逆方向側ポート 22によって受信できなくなると、リンク断 (近接リンク断)であると判断する。  [0058] The slave node 30A cannot receive the lower layer monitoring frame transmitted from the slave node 30B. Therefore, the slave node 30A is linked via the port on the VLAN 11 side (reverse port 22) on the slave node 30B side. Is detected to be in a disconnected state (link disconnected) (occurrence of failure) (step S310). Here, the connection determination unit 28 determines whether or not the link is broken. That is, the connection determination unit 28 of the slave node 30A determines that the link is broken (proximity link disconnection) when the lower layer monitoring frame from the slave node 30B cannot be received by the reverse direction side port 22.
[0059] また、スレーブノード 30Bは、スレーブノード 30Aから送信される下位レイヤ監視フ レームの受信ができなくなるため、スレーブノード 30A側のポートである VL AN 2側の ポート (順方向側ポート 21)を介してリンク断であることを検出する (ステップ S315)。 すなわち、スレーブノード 30Bの接続判断部 28はスレーブノード 30Aからの下位レイ ャ監視フレームを順方向側ポート 21によって受信できなくなると、近接リンク断である と判断する。 [0059] Further, the slave node 30B transmits the lower layer monitoring frame transmitted from the slave node 30A. Since the frame cannot be received, it is detected that the link is broken via the VLAN 2 side port (forward side port 21) which is the slave node 30A side port (step S315). That is, when the connection determination unit 28 of the slave node 30B cannot receive the lower layer monitoring frame from the slave node 30A by the forward port 21, it determines that the adjacent link is disconnected.
[0060] スレーブノード 30Aの接続判断部 28が近接リンク断であると判断すると、 VLAN処 理部 25からの指示情報に基づいてスィッチ部 23の切替えを行ない、障害発生を検 出したポート (逆方向側ポート 22)と反対側のポートである VLAN1側のポート (順方 向側ポート 21)から、近接リンク断であることを示す MACフレーム(以下、リンク断通 知という)を送信する(ステップ S320)。  [0060] When the connection determination unit 28 of the slave node 30A determines that the proximity link is broken, the switch unit 23 is switched based on the instruction information from the VLAN processing unit 25, and the port that detected the failure (reverse) A MAC frame (hereinafter referred to as link disconnection notification) indicating a close link disconnection is transmitted from the VLAN1 side port (forward port 21), which is the opposite port to the direction side port 22) (step). S320).
[0061] また、スレーブノード 30Bの接続判断部 28が近接リンク断であると判断すると、 VL AN処理部 25からの指示情報に基づ 、てスィッチ部 23の切替えを行な 、、障害発 生を検出したポート (順方向側ポート 21)と反対側のポートである VLAN12側のポー ト (逆方向側ポート 22)から、近接リンク断であることを示すリンク断通知を送信する( ステップ S330)。  [0061] When the connection determination unit 28 of the slave node 30B determines that the proximity link is broken, the switch unit 23 is switched based on the instruction information from the VLAN processing unit 25, and a failure occurs. A link disconnection notification indicating a close link disconnection is transmitted from the port on the VLAN 12 side (reverse port 22) that is the opposite port to the port that detected the port (forward port 21) (step S330). .
[0062] リングネットワーク 90内においてリンク断通知を受信したリング端ノード以外のスレ ーブノード、マスタノードは、リンク断通知を受信したポートとは反対側のポートからリ ンク断通知を送信する。すなわち、順方向側ポート 21からリンク断通知を受信したス レーブノードやマスタノードは、逆方向側ポート 22からリンク断通知を送信する。一方 、逆方向側ポート 22からリンク断通知を受信したスレーブノードやマスタノードは、順 方向側ポート 21からリンク断通知を送信する。リングネットワーク 90内においてリンク 断通知を受信したリング端ノードであるスレーブノード、マスタノードは、リンク断通知 を終端させるため、リンク断通知の転送は行なわない。  [0062] In the ring network 90, the slave node and the master node other than the ring end node that has received the link disconnection notification transmit the link disconnection notification from the port opposite to the port that has received the link disconnection notification. In other words, the slave node or master node that has received the link disconnection notification from the forward port 21 transmits the link disconnection notification from the reverse port 22. On the other hand, the slave node or master node that has received the link disconnection notification from the reverse port 22 transmits the link disconnection notification from the forward port 21. In the ring network 90, the slave node and the master node, which are ring end nodes that have received the link disconnection notification, terminate the link disconnection notification, and therefore do not transfer the link disconnection notification.
[0063] ここでは、スレーブノード 30Cは、 VLAN3側のポート(j噴方向側ポート 21)によって スレーブノード 30Bからのリンク断通知を受信する。スレーブノード 30Cの接続判断 部 28は、リンク断通知を受信すると、自らのノードと接続されたノードの間とは異なるリ ンクがリンク断 (遠隔リンク断)であると判断 (検出)する (ステップ S340)。ここでのスレ ーブノード 30Cはリング端ノードであるので、スレーブノード 30Bからのリンク断通知を 終端させ、リンク断通知を VLAN13に送信しない。 Here, the slave node 30C receives the link disconnection notification from the slave node 30B through the VLAN3 side port (j injection direction side port 21). When the connection determination unit 28 of the slave node 30C receives the link disconnection notification, it determines (detects) that the link different from the node connected to its own node is the link disconnection (remote link disconnection) (step). S340). Since the slave node 30C here is a ring-end node, the link failure notification from the slave node 30B is sent. Terminate and do not send link disconnection notification to VLAN13.
[0064] また、マスタノード 20Aは、 VLAN1側のポート(順方向側ポート 21)によってスレー ブノード 30Aからのリンク断通知を受信する。マスタノード 20Aの接続判断部 28は、 リンク断通知を受信すると、遠隔リンク断であると判断する (ステップ S350)。マスタノ ード 20Aはリング端ノードであるので、スレーブノード 30Aからのリンク断通知を終端 させ、リンク断通知を VLAN11に送信しない。 [0064] Further, the master node 20A receives the link disconnection notification from the slave node 30A via the VLAN1 side port (forward direction side port 21). When receiving the link disconnection notification, the connection determination unit 28 of the master node 20A determines that the remote link is disconnected (step S350). Since the master node 20A is a ring end node, the link disconnection notification from the slave node 30A is terminated and the link disconnection notification is not transmitted to the VLAN 11.
[0065] なお、本実施の形態 1においては、リングネットワーク 90内のマスタノードがマスタノ ード 20Aの 1つである場合について説明した力 リングネットワーク 90が複数のマスタ ノードによって構成されることとしてもよ 、。 [0065] In the first embodiment, the power described in the case where the master node in the ring network 90 is one of the master nodes 20A may be configured such that the ring network 90 includes a plurality of master nodes. Yo ...
[0066] 図 11は、複数のマスタノードを有するネットワークシステムの構成を示す図であり、 図 12は、複数のマスタノードを有するネットワークシステムの VLANの構成を示す図 である。図 11および図 12の各構成要素のうち図 1および図 2に示すネットワークシス テム、 VLANと同一機能を達成する構成要素については同一番号を付しており、重 複する説明は省略する。 FIG. 11 is a diagram showing a configuration of a network system having a plurality of master nodes, and FIG. 12 is a diagram showing a VLAN configuration of a network system having a plurality of master nodes. Among the components shown in FIGS. 11 and 12, the components that achieve the same functions as those of the network system and VLAN shown in FIGS. 1 and 2 are given the same numbers, and redundant description is omitted.
[0067] ここでのネットワークシステムのリングネットワーク 90は、マスタノード 20A, 20B、ス レーブノード 30A, 30B力 なる。マスタノード 20Bは、マスタノード 20Aと同様の機 能を備えている。 [0067] The ring network 90 of the network system here includes the master nodes 20A and 20B and the slave nodes 30A and 30B. The master node 20B has the same function as the master node 20A.
[0068] マスタノード 20A, 20B、スレーブノード 30A, 30Bはリング状に接続されている。ス レーブノード 30Aがマスタノード 20Aとスレーブノード 30Bに接続され、マスタノード 2 OBがマスタノード 20Aとスレーブノード 30Bに接続されている。  Master nodes 20A and 20B and slave nodes 30A and 30B are connected in a ring shape. Slave node 30A is connected to master node 20A and slave node 30B, and master node 2OB is connected to master node 20A and slave node 30B.
[0069] ここでは、リングネットワーク 90をオープンループにするため、マスタノード 20Aとマ スタノード 20Bを接続するリンクの両端のポート(マスタノード 20Aにおけるマスタノー ド 20B側のポート、マスタノード 20Bにおけるマスタノード 20A側のポート)が論理的 に閉塞されている(マスタノード 20Aとマスタノード 20Bが閉塞リンク 55で接続されて いる)場合を示している。すなわち、マスタノード 20Aとマスタノード 20B力 閉塞リン ク 55のリング端ノードとなる。  [0069] Here, in order to make the ring network 90 an open loop, the ports on both ends of the link connecting the master node 20A and the master node 20B (the master node 20B side port in the master node 20A, the master node 20A in the master node 20B) The side port) is logically blocked (master node 20A and master node 20B are connected by blocked link 55). That is, it becomes the ring end node of the master node 20A and the master node 20B force blocking link 55.
[0070] マスタノード 20Aは、上位ネットワーク 201Aと接続されており、マスタノード 20Bは、 上位ネットワーク 201Bと接続されている。マスタノード 20Aとスレーブノード 30Aの間 には、ネットワークシステム上のマスタノード 20Aから見て順方向経路である VLAN1 が設定されている。また、マスタノード 20Aとスレーブノード 30Bの間には、順方向経 路である VLAN2が設定されて!、る。 The master node 20A is connected to the upper network 201A, and the master node 20B is connected to the upper network 201B. Between master node 20A and slave node 30A Is configured with VLAN1, which is a forward path when viewed from the master node 20A on the network system. In addition, VLAN2 which is a forward path is set between the master node 20A and the slave node 30B!
[0071] マスタノード 20Bとスレーブノード 30Aの間は、ネットワークシステム上のマスタノー ド 20B力も見て逆方向経路 (左回り)である VLAN61が設定されている。また、マスタ ノード 20Bとスレーブノード 30Bの間には、逆方向経路である VLAN62が設定され ている。 [0071] Between the master node 20B and the slave node 30A, a VLAN 61 is set which is a reverse path (counterclockwise) in view of the master node 20B force on the network system. Further, a VLAN 62 which is a reverse path is set between the master node 20B and the slave node 30B.
[0072] マスタノード 20Aとマスタノード 20Bの間には、ネットワークシステム上のマスタノード 20A力ら見て順方向経路である VLAN51と、逆方向経路である VLAN75がー組の VLANとして設定されている。マスタノード 20Aとマスタノード 20Bの間の VLAN51 、 VLAN75はネットワークシステム内の通信の管理に使用される VLAN (管理用 VL AN)である。  [0072] Between the master node 20A and the master node 20B, a VLAN 51 that is a forward path and a VLAN 75 that is a reverse path as set by the master node 20A on the network system are set as a pair of VLANs. . VLANs 51 and 75 between the master node 20A and the master node 20B are VLANs (management VLANs) used for managing communication in the network system.
[0073] 複数のマスタノードを有するネットワークシステムにおいても図 10のフローチャート に示した手順と同様の手順によって障害検出を行なう。すなわち、例えばスレーブノ ード 30Aとスレーブノード 30Bの間に障害が発生すると、スレーブノード 30Aは、スレ ーブノード 30B力も送信される下位レイヤ監視フレームの受信ができなくなるため、ス レーブノード 30B側のポートである VLAN61のポートを介してリンク断であることを検 出する。  [0073] Even in a network system having a plurality of master nodes, failure detection is performed by a procedure similar to the procedure shown in the flowchart of FIG. That is, for example, when a failure occurs between the slave node 30A and the slave node 30B, the slave node 30A cannot receive the lower layer monitoring frame to which the slave node 30B force is transmitted, so the slave node 30B is a port on the slave node 30B side. Detects that the link is broken through the VLAN 61 port.
[0074] また、スレーブノード 30Bは、スレーブノード 30A力 送信される下位レイヤ監視フ レームの受信ができなくなるため、スレーブノード 30A側のポートである VLAN2のポ ートを介してリンク断であることを検出する。  [0074] In addition, the slave node 30B cannot receive the lower layer monitoring frame transmitted by the slave node 30A. Therefore, the link must be disconnected via the port of VLAN 2 that is the port on the slave node 30A side. Is detected.
[0075] スレーブノード 30Aの接続判断部 28が近接リンク断であると判断すると、スレーブノ ード 30Aは、障害発生を検出したポートと反対側のポートである VLAN1側のポート から、近接リンク断であることを示すリンク断通知を送信する。  [0075] When the connection determination unit 28 of the slave node 30A determines that the proximity link is disconnected, the slave node 30A disconnects the proximity link from the port on the VLAN 1 side that is the port opposite to the port where the failure is detected. A link disconnection notification indicating that there is a message is transmitted.
[0076] また、スレーブノード 30Bの接続判断部 28が近接リンク断であると判断すると、スレ ーブノード 30Bは、障害発生を検出したポートと反対側のポートである VLAN62側 のポートから、近接リンク断であることを示すリンク断通知を送信する。  [0076] When the connection determination unit 28 of the slave node 30B determines that the adjacent link is disconnected, the slave node 30B disconnects the adjacent link from the port on the VLAN 62 side that is the opposite port to the port where the failure is detected. A link disconnection notification indicating that is is transmitted.
[0077] マスタノード 20Bは、 VLAN3側のポート(j噴方向側ポート 21)によってスレーブノー ド 30B力ものリンク断通知を受信する。マスタノード 20Bの接続判断部 28は、リンク断 通知を受信すると遠隔リンク断であると判断する。ここでのマスタノード 20Bはリング端 ノードであるので、スレーブノード 30Bからのリンク断通知を終端させ、リンク断通知を VLAN75に送信しな!、。 [0077] The master node 20B is a slave node by a port on the VLAN3 side (port 21 on the jet direction side). Receive a 30B link break notification. When the connection determination unit 28 of the master node 20B receives the link disconnection notification, it determines that the remote link is disconnected. Since the master node 20B here is a ring end node, the link disconnection notification from the slave node 30B is terminated and the link disconnection notification is not sent to the VLAN 75 !.
[0078] また、マスタノード 20Aは、 VLAN1側のポート(順方向側ポート 21)によってスレー ブノード 30Aからのリンク断通知を受信する。マスタノード 20Aの接続判断部 28は、 リンク断通知を受信すると遠隔リンク断であると判断する。マスタノード 20Aはリング端 ノードであるので、スレーブノード 30Aからのリンク断通知を終端させ、リンク断通知を VLAN61に送信しな!、。  In addition, the master node 20A receives the link disconnection notification from the slave node 30A via the VLAN 1 side port (forward direction side port 21). The connection determination unit 28 of the master node 20A determines that the remote link is disconnected when the link disconnection notification is received. Since the master node 20A is a ring end node, the link disconnection notification from the slave node 30A is terminated and the link disconnection notification is not transmitted to the VLAN 61 !.
[0079] なお、本実施の形態 1においては、リングネットワーク 90力 2つ又は 3つのスレー ブノード、 1つ又は 2つのマスタノードによって構成される場合について説明した力 リ ングネットワーク 90を 1つ又は 4つ以上のスレーブノードと 3つ以上のマスタノードによ つて構成してもよ ヽ。  [0079] In the first embodiment, one or four force ring networks 90 described in the case where the ring network 90 force is configured by two or three slave nodes and one or two master nodes are used. It may consist of more than two slave nodes and more than two master nodes.
[0080] なお、本実施の形態 1においては、マスタノード 20Aが上位ネットワーク 201Aと情 報を送受信し、スレーブノード 30A— 30Cが下位ネットワーク 301A— 301Cと情報を 送受信する構成とした力 マスタノード 20Aとスレーブノード 30A— 30Cが上位ネット ワーク 201および下位ネットワーク 301A— 301Cと情報を送受信可能な構成としても よい。すなわち、マスタノード 20Aとスレーブノード 30A— 30Cのいずれもが、上位ネ ットワーク通信部 27と下位ネットワーク通信部 32を備え、必要に応じて上位ネットヮー ク通信部 27または下位ネットワーク通信部 32のいずれを使用するかを選択する構成 としてちよい。  In the first embodiment, the master node 20A transmits / receives information to / from the upper network 201A, and the slave nodes 30A-30C transmit / receive information to / from the lower networks 301A-301C. Master node 20A The slave nodes 30A-30C may be capable of transmitting / receiving information to / from the upper network 201 and the lower networks 301A-301C. That is, both the master node 20A and the slave nodes 30A-30C include the upper network communication unit 27 and the lower network communication unit 32, and either the upper network communication unit 27 or the lower network communication unit 32 as necessary. It may be a configuration that selects whether to use.
[0081] このように、実施の形態 1によれば、リングネットワーク 90内の全ノード間で下位レイ ャ監視フレームを定期的に送受信することによって障害の発生を監視するので、下 位レイヤのリンク断によるレイヤ 2の近接リンク断をノード間毎に検出することが可能と なる。また、近接リンク断を検出したリングネットワーク 90内のノードは、近接リンクを検 出したポートと反対側のポートからリンク断通知を送信し、リンク断通知を受信したノ ードがリング断通知を送信したノードとは異なるノードにリング断通知を転送するので 、リングネットワーク 90内の全てのノードが迅速にノード間の障害を検出することが可 能となる。 As described above, according to the first embodiment, since the occurrence of a failure is monitored by periodically transmitting and receiving lower layer monitoring frames between all the nodes in the ring network 90, the lower layer link It is possible to detect the close link of layer 2 due to the disconnection for each node. In addition, the node in the ring network 90 that has detected the proximity link disconnection transmits a link disconnection notification from the port opposite to the port that has detected the proximity link, and the node that has received the link disconnection notification transmits the ring disconnection notification. Since the ring break notification is forwarded to a node different from the transmitting node, all nodes in the ring network 90 can quickly detect a failure between the nodes. It becomes ability.
[0082] 実施の形態 2.  [0082] Embodiment 2.
図 2および図 13に従ってこの発明の実施の形態 2について説明する。本実施の形 態 2においては、リングネットワーク 90内のノードの各ポートにおける下位レイヤの伝 送品質を定期的に監視し、ポートから受信するデータの伝送品質に基づいてリンク 断を検出する。  A second embodiment of the present invention will be described with reference to FIGS. In the second embodiment, the transmission quality of the lower layer at each port of the node in the ring network 90 is periodically monitored, and link breakage is detected based on the transmission quality of data received from the port.
[0083] 実施の形態 2に係る障害検出の手順について説明する。なお、各ノード間における 障害検出の手順は同様の手順によって行なうので、ここではスレーブノード 30Aとス レーブノード 30Bの間における障害検出を例にとって説明する。  A failure detection procedure according to the second embodiment will be described. It should be noted that the failure detection procedure between the nodes is performed in the same manner, and here, the failure detection between the slave node 30A and the slave node 30B will be described as an example.
[0084] 図 13は実施の形態 2に係る障害検出の手順を示すフローチャートである。リングネ ットワーク 90内のノード(マスタノード 20A、スレーブノード 30A— 30C)の各ポートに おける下位レイヤの伝送品質を接続判断部 28によって定期的に監視する (ステップ S400)。  FIG. 13 is a flowchart showing a failure detection procedure according to the second embodiment. The connection judgment unit 28 periodically monitors the lower layer transmission quality at each port of the nodes in the ring network 90 (master node 20A, slave nodes 30A-30C) (step S400).
[0085] 例えば、スレーブノード 30Aとスレーブノード 30Bの間の伝送品質が所定の閾値を 下回ると (伝送品質の低下)、スレーブノード 30Aの接続判断部 28は VLAN11側の ポートによるデータ受信に基づいてレイヤ 2のリンク断 (近接リンク断)を検出する (ス テツプ S405、 S410)。ここでの近接リンク断は、下位レイヤのリンクが不安定でリンク 断にはならない程度に品質が劣化した場合 (伝送品質の低下)を含んでいる。  [0085] For example, when the transmission quality between the slave node 30A and the slave node 30B falls below a predetermined threshold (decrease in transmission quality), the connection determination unit 28 of the slave node 30A is based on data reception by the port on the VLAN 11 side. Layer 2 link disconnection (proximity link disconnection) is detected (steps S405 and S410). The close link disconnection here includes the case where the quality of the lower layer link is unstable and the quality deteriorates to such an extent that the link will not be disconnected (decrease in transmission quality).
[0086] また、スレーブノード 30Aとスレーブノード 30Bの間の伝送品質が所定の閾値を下 回ると、スレーブノード 30Bの接続判断部 28は VLAN2側のポートによるデータ受信 に基づ!/、て、レイヤ 2の近接リンク断を検出する (ステップ S415)。  [0086] When the transmission quality between the slave node 30A and the slave node 30B falls below a predetermined threshold, the connection determination unit 28 of the slave node 30B is based on data reception by the port on the VLAN2 side! /, Layer 2 neighboring link disconnection is detected (step S415).
[0087] 以下、実施の形態 1のリンク断通知と同様にリングネットワーク 90内のノードに品質 劣化によるリンク断の通知(以下、品質劣化通知という)を行う。すなわち、スレーブノ ード 30Aは、リンク断を検出したポート (逆方向側ポート 22)と反対側のポートである V LAN1側のポート (順方向側ポート 21)から品質劣化通知を送信する (ステップ S420 [0087] Hereinafter, similarly to the link disconnection notification in the first embodiment, the node in the ring network 90 is notified of link disconnection due to quality deterioration (hereinafter referred to as quality deterioration notification). In other words, the slave node 30A transmits a quality degradation notification from the port on the VLAN 1 side (forward port 21) that is the opposite port to the port (reverse port 22) that detected the link break (step S420).
) o ) o
[0088] また、スレーブノード 30Bは、リンク断を検出したポート (順方向側ポート 21)と反対 側のポートである VLAN12側のポート(逆方向側ポート 22)から品質劣化通知を送 信する (ステップ S430)。 [0088] In addition, the slave node 30B sends a quality degradation notification from the port on the VLAN 12 side (reverse port 22) that is the opposite port to the port (forward port 21) that detected the link break. (Step S430)
[0089] スレーブノード 30Cは、 VLAN3側のポート(j噴方向側ポート 21)によってスレーブ ノード 30B力もの品質劣化通知を受信し、スレーブノード 30Cの接続判断部 28は、 遠隔リンク断であると判断する (ステップ S440)。 [0089] The slave node 30C receives the quality degradation notification of the slave node 30B through the VLAN3 side port (j jet direction side port 21), and the connection determination unit 28 of the slave node 30C determines that the remote link is disconnected. (Step S440).
[0090] また、マスタノード 20Aは、 VLAN1側のポート(順方向側ポート 21)によってスレー ブノード 30Aからの品質劣化通知を受信し、マスタノード 20Aの接続判断部 28は、 遠隔リンク断であると判断する (ステップ S450)。 [0090] Further, the master node 20A receives the quality degradation notification from the slave node 30A through the port on the VLAN 1 side (forward direction port 21), and the connection determination unit 28 of the master node 20A indicates that the remote link is disconnected. Judgment is made (step S450).
[0091] マスタノード 20A、スレーブノード 30Cはリング端ノードであるので、スレーブノード 3[0091] Since master node 20A and slave node 30C are ring-end nodes, slave node 3
OAからの品質劣化通知を終端させ、リンク断通知を VLAN13、 VLAN11に送信し ない。 Terminate the quality degradation notification from the OA and do not send the link disconnection notification to VLAN13 and VLAN11.
[0092] なお、本実施の形態 2においては、リングネットワーク 90内のマスタノードがマスタノ ード 20Aの 1つである場合について説明した力 リングネットワーク 90が複数のマスタ ノードによって構成される場合も図 13のフローチャートに示す手順と同様の手順によ つて障害検出を行なうためその説明は省略する。  [0092] In the second embodiment, the force described for the case where the master node in the ring network 90 is one of the master nodes 20A is also illustrated in the case where the ring network 90 is configured by a plurality of master nodes. Since the failure detection is performed by the same procedure as shown in the flowchart of FIG.
[0093] このように、実施の形態 2によれば、リングネットワーク 90内の各ノードにおける下位 レイヤの伝送品質を定期的に監視することによって障害の発生を監視するので、下 位レイヤのリンクが不安定でリンク断にはならない程度に品質が劣化した場合であつ てもレイヤ 2の近接リンク断を検出することが可能となる。また、近接リンク断を検出し たリングネットワーク 90内のノードは、近接リンクを検出したポートと反対側のポートか ら品質劣化通知を送信し、品質劣化通知を受信したノードが品質劣化通知を送信し たノードとは異なるノードに品質劣化通知を転送するので、リングネットワーク 90内の 全てのノードが迅速にノード間の伝送品質の劣化を検出することが可能となる。  As described above, according to the second embodiment, since the occurrence of a failure is monitored by periodically monitoring the transmission quality of the lower layer in each node in the ring network 90, the link of the lower layer is Even if the quality deteriorates to such an extent that it is unstable and does not cause a link break, it is possible to detect a layer 2 close link break. In addition, the node in the ring network 90 that detected the close link disconnection transmits a quality deterioration notification from the port on the opposite side to the port that detected the close link, and the node that received the quality deterioration notification transmits the quality deterioration notification. Since the quality deterioration notification is transferred to a node different from the above node, all the nodes in the ring network 90 can quickly detect the deterioration of the transmission quality between the nodes.
[0094] 実施の形態 3.  [0094] Embodiment 3.
図 2、図 12および図 14に従ってこの発明の実施の形態 3について説明する。本実 施の形態 3においては、マスタノード 20Aとスレーブノード 30A— 30Cの全ての VLA N終端点間で VLANの監視を行って障害を検出する。すなわち、本実施の形態 3〖こ おいては、閉塞されていないポートにカ卩えて、閉塞ポートによっても VLANの監視を 行う。 [0095] 実施の形態 3に係る障害検出の手順について説明する。なお、各ノード間における 障害検出の手順はいずれのノード間で障害が発生した場合も同様の手順によって 行なうので、ここではスレーブノード 30Aとスレーブノード 30Bの間に障害が発生した 場合を例にとって説明する。 A third embodiment of the present invention will be described with reference to FIG. 2, FIG. 12, and FIG. In this third embodiment, a fault is detected by monitoring VLANs between all VLA N termination points of the master node 20A and slave nodes 30A-30C. In other words, in this third embodiment, the VLAN is monitored by the blocked port in addition to the port that is not blocked. A failure detection procedure according to Embodiment 3 will be described. The failure detection procedure between each node is performed in the same way when a failure occurs between any of the nodes, so here we explain the case where a failure occurs between slave node 30A and slave node 30B as an example. To do.
[0096] 図 14は実施の形態 3に係る障害検出の手順を示すフローチャートである。図 2に示 すマスタノード 20Aとスレーブノード 30A— 30Cの VLAN (全ての現用 VLANと全て の予備 VLAN)終端点間で VLANの監視を定期的に行う。ここでは、リングネットヮ ーク 90の VLAN終端点の間で VLANを監視するための要求 (VLAN監視要求(M ACフレーム))と VLAN監視要求に対する応答情報(MACフレーム)(以下、 VLA N応答情報という)の送受信を定期的に行う (ステップ S500)。  FIG. 14 is a flowchart showing a failure detection procedure according to the third embodiment. The VLANs of the master node 20A and slave nodes 30A—30C (all working VLANs and all spare VLANs) shown in Figure 2 are regularly monitored between the end points. Here, a request to monitor a VLAN between VLAN termination points of the ring network 90 (VLAN monitoring request (MAC frame)) and response information (MAC frame) to the VLAN monitoring request (hereinafter referred to as VLAN response information). ) Is periodically sent and received (step S500).
[0097] 具体的には、マスタノード 20Aとスレーブノード 30Aの間は VLAN1, 11によって V LAN監視要求と VLAN応答情報の送受信を行なう。また、マスタノード 20Aとスレー ブノード 30Bの間は VLAN2, 12によって VLAN監視要求と VLAN応答情報の送 受信を行なう。また、マスタノード 20Aとスレーブノード 30Cの間は VLAN3, 13によ つて VLAN監視要求と VLAN応答情報の送受信を行なう。  Specifically, VLAN monitoring requests and VLAN response information are transmitted / received between the master node 20A and the slave node 30A through VLANs 1 and 11. In addition, between the master node 20A and the slave node 30B, VLAN monitoring requests and VLAN response information are transmitted and received by VLANs 2 and 12. Further, between the master node 20A and the slave node 30C, VLAN monitoring requests and VLAN response information are transmitted and received by VLANs 3 and 13.
[0098] 例えばスレーブノード 30Aとスレーブノード 30Bの間に障害が発生すると、 VLAN 2, 3, 11における VLAN監視要求や VLAN応答情報の受信が途絶する (ステップ S 505)。  For example, when a failure occurs between slave node 30A and slave node 30B, reception of VLAN monitoring requests and VLAN response information in VLANs 2, 3, and 11 is interrupted (step S505).
[0099] マスタノード 20Aは、順方向経路においては VLAN2, 3上で VLAN監視要求や V LAN応答情報の受信ができなくなるため、 VLAN2, 3側のポート (順方向側ポート 2 1)によるデータ受信の途絶によって VLAN障害を検出する。ここでの VLAN障害は 、リングネットワーク 90内に設定された VLANの通信経路内における障害であり、リン ク断ゃ品質劣化等が含まれる。  [0099] Master node 20A cannot receive VLAN monitoring requests or VLAN response information on VLANs 2 and 3 on the forward path, and therefore receives data from the ports on VLANs 2 and 3 (forward port 2 1). VLAN failure is detected by disruption of The VLAN failure here is a failure in the communication path of the VLAN set in the ring network 90, and if the link is broken, quality degradation or the like is included.
[0100] マスタノード 20Aは、逆方向経路においては VLAN11上で VLAN監視要求や VL AN応答情報の受信ができなくなるため、 VLAN11側のポート(逆方向側ポート 22) によるデータ受信の途絶によって VLAN障害を検出する (ステップ S510)。ここでは 、マスタノード 20Aの接続判断部 28によって VLAN障害であるか否かを判断する。 すなわち、マスタノード 20Aの接続判断部 28はスレーブノード 30B, 30Cからの VL AN監視要求や VLAN応答情報を VLAN2, 3で受信できなくなった場合ゃスレー ブノード 30Aからの VLAN監視要求や VLAN応答情報を VLAN11で受信できなく なった場合に VLAN障害であると判断する。 [0100] Master node 20A cannot receive VLAN monitoring requests or VL AN response information on VLAN 11 in the reverse path, so VLAN failure occurs due to data reception interruption at the VLAN 11 side port (reverse side port 22). Is detected (step S510). Here, the connection determination unit 28 of the master node 20A determines whether or not there is a VLAN failure. That is, the connection determination unit 28 of the master node 20A receives the VL from the slave nodes 30B and 30C. If the AN monitoring request and VLAN response information cannot be received on VLANs 2 and 3, it is determined that the VLAN is faulty if the VLAN monitoring request and VLAN response information from slave node 30A cannot be received on VLAN 11.
[0101] また、スレーブノード 30Aは、逆方向経路において VLAN11で VLAN監視要求や VLAN応答情報の受信ができなくなるため、 VLAN11側のポート (逆方向側ポート 2 2)によるデータ受信の途絶によって VLAN障害を検出する (ステップ S515)。ここで は、スレーブノード 30Aの接続判断部 28によって VLAN障害であるか否かを判断す る。すなわち、スレーブノード 30Aの接続判断部 28はスレーブノード 30Cからの VL AN監視要求や VLAN応答情報を VLAN 11で受信できなくなつた場合に VLAN障 害であると判断する。 [0101] In addition, since the slave node 30A cannot receive VLAN monitoring requests or VLAN response information in VLAN11 on the reverse path, VLAN failure occurs due to data reception interruption on the VLAN11 side port (reverse side port 22). Is detected (step S515). Here, the connection determination unit 28 of the slave node 30A determines whether or not there is a VLAN failure. That is, the connection determination unit 28 of the slave node 30A determines that a VLAN failure has occurred when the VLAN 11 cannot receive the VLAN monitoring request or the VLAN response information from the slave node 30C.
[0102] また、スレーブノード 30Bは、順方向経路にぉ 、て VLAN2上で VLAN監視要求 や VLAN応答情報の受信ができなくなるため、 VLAN2側のポート (順方向側ポート 21)によるデータ受信の途絶によって VLAN障害を検出する (ステップ S520)。スレ ーブノード 30Bは、接続判断部 28によって VLAN障害であるか否かを判断する。す なわち、スレーブノード 30Bの接続判断部 28はマスタノード 20Aからの VLAN監視 要求や VLAN応答情報を VLAN2で受信できなくなった場合に VLAN障害であると 判断する。  [0102] In addition, the slave node 30B cannot receive the VLAN monitoring request or the VLAN response information on the VLAN 2 on the forward path, so the data reception by the port on the VLAN 2 side (forward side port 21) is interrupted. To detect a VLAN failure (step S520). In the slave node 30B, the connection determination unit 28 determines whether there is a VLAN failure. In other words, the connection determination unit 28 of the slave node 30B determines that a VLAN failure has occurred when the VLAN monitoring request or VLAN response information from the master node 20A cannot be received by VLAN2.
[0103] また、スレーブノード 30Cは、順方向経路にぉ 、て VLAN3上で VLAN監視要求 や VLAN応答情報の受信ができなくなるため、 VLAN3側のポート (順方向側ポート 21)によるデータ受信の途絶によって VLAN障害を検出する (ステップ S525)。スレ ーブノード 30Cは、接続判断部 28によって VLAN障害である力否かを判断する。す なわち、スレーブノード 30Cの接続判断部 28はマスタノード 20Aからの VLAN監視 要求や VLAN応答情報を VLAN3で受信できなくなった場合に VLAN障害であると 判断する。  [0103] In addition, since the slave node 30C cannot receive the VLAN monitoring request or the VLAN response information on the VLAN 3 in the forward path, the data reception by the VLAN 3 side port (forward side port 21) is interrupted. To detect a VLAN failure (step S525). In the slave node 30C, the connection determination unit 28 determines whether or not it is a VLAN failure. That is, the connection determination unit 28 of the slave node 30C determines that a VLAN failure has occurred when the VLAN monitoring request or VLAN response information from the master node 20A cannot be received by VLAN3.
[0104] なお、本実施の形態 3においては、リングネットワーク 90内のマスタノードがマスタノ ード 20Aの 1つである場合について説明した力 リングネットワーク 90が複数のマスタ ノードによって構成される場合であっても図 14のフローチャートに示す手順と同様の 手順によって障害検出を行なう。すなわち、マスタノード 20Aとマスタノード 20Bのマ スタノード間の管理用 VLAN、予備 VLANの終端点間で VLAN監視要求と VLAN 応答情報の送受信を行って障害検出を行なう。具体的には、マスタノード 20Aとスレ ーブノード 30A, 30Bの間で VLAN1, 61によって VLAN監視要求と VLAN応答情 報の送受信を行なう。また、マスタノード 20Bとスレーブノードとスレーブノード 30A, 30Bの間で VLAN2, 62によって VLAN監視要求と VLAN応答情報の送受信を行 なう。また、マスタノード 20Aとマスタノード 20Bの間で VLAN51, 71によって VLAN 監視要求と VLAN応答情報の送受信を行なう。 [0104] Note that the third embodiment is a case where the ring network 90 is configured by a plurality of master nodes as described in the case where the master node in the ring network 90 is one of the master nodes 20A. However, failure detection is performed by the same procedure as shown in the flowchart of FIG. That is, the master node 20A and the master node 20B Fault detection is performed by sending and receiving VLAN monitoring requests and VLAN response information between the end points of the management VLAN and backup VLAN between the host nodes. Specifically, the VLAN monitoring request and the VLAN response information are transmitted / received between the master node 20A and the slave nodes 30A and 30B through VLAN1 and 61. In addition, the VLAN monitoring request and the VLAN response information are transmitted / received between the master node 20B, the slave node, and the slave nodes 30A and 30B through VLANs 2 and 62. Further, the VLAN monitoring request and the VLAN response information are transmitted / received between the master node 20A and the master node 20B by the VLANs 51 and 71.
[0105] このように、実施の形態 3によれば、マスタノード 20Aとスレーブノード 30A— 30Cと の間の VLANの終端点間等で VLAN監視要求や VLAN応答情報を定期的に送受 信して障害の発生を監視するので、マスタノードとスレーブノードの組み合わせの VL AN間毎に障害を監視することが可能となる。また、リングネットワーク 90内の各ノード が VLAN障害を検出するので、ノード間で障害発生の通知を行なうことなくリングネッ トワーク 90内の全てのノードが迅速にノード間の障害の発生を検出することが可能と なる。 Thus, according to the third embodiment, VLAN monitoring requests and VLAN response information are periodically transmitted and received between the termination points of the VLAN between the master node 20A and the slave nodes 30A-30C. Since the occurrence of a failure is monitored, it is possible to monitor the failure between each VLAN of the combination of the master node and the slave node. In addition, since each node in the ring network 90 detects a VLAN failure, all the nodes in the ring network 90 can quickly detect the occurrence of a failure between the nodes without notifying the occurrence of the failure between the nodes. It becomes possible.
[0106] 実施の形態 4.  [0106] Embodiment 4.
図 2、図 12、図 15—図 18に従ってこの発明の実施の形態 4について説明する。本 実施の形態 4においては、マスタノード 20Aがリング端ノードに障害を検出するため のリング監視要求を送信してリング端ノードから VLAN応答情報を受信する。マスタノ ード 20Aは、 VLAN応答情報を送信してくるリング端ノードの識別情報に基づ ヽて障 害発生を検出する。  A fourth embodiment of the present invention will be described with reference to FIG. 2, FIG. 12, FIG. 15 to FIG. In the fourth embodiment, the master node 20A transmits a ring monitoring request for detecting a failure to the ring end node and receives VLAN response information from the ring end node. The master node 20A detects the occurrence of a failure based on the identification information of the ring end node that transmits the VLAN response information.
[0107] 図 15は、実施の形態 4に係るマスタノードの構成を示すブロック図であり、図 15に 示す各構成要素のうち図 3に示す実施の形態 1に係るマスタノードと同一機能を達成 する構成要素については同一番号を付しており、重複する説明は省略する。  FIG. 15 is a block diagram showing the configuration of the master node according to the fourth embodiment. Of the components shown in FIG. 15, the same function as the master node according to the first embodiment shown in FIG. 3 is achieved. The same number is attached | subjected about the component to perform, and the overlapping description is abbreviate | omitted.
[0108] マスタノード 20Aは、順方向側ポート 21、逆方向側ポート 22、スィッチ部 23、 Tag 処理部 24、上位ネットワーク通信部 27、接続判断部 28、制御部 29に加えて記憶部 26を備えている。  The master node 20A includes a storage unit 26 in addition to a forward port 21, a reverse port 22, a switch unit 23, a tag processing unit 24, an upper network communication unit 27, a connection determination unit 28, and a control unit 29. I have.
[0109] 記憶部 26は、リング端ノードからの応答情報に付加された VLANに関する VIDを 記憶する。接続判断部 28は、記憶部 26が記憶する VLANに関する VIDに基づいて ノード間において障害が発生したカゝ否かを判断する。接続判断部 28は、トポロジー 情報 87Aに基づ 、て 、ずれのノード間で障害が発生したかを判断する。 [0109] The storage unit 26 stores the VID related to the VLAN added to the response information from the ring end node. The connection determination unit 28 is based on the VLAN-related VID stored in the storage unit 26. It is determined whether or not a failure has occurred between nodes. Based on the topology information 87A, the connection determination unit 28 determines whether or not a failure has occurred between the shifted nodes.
[0110] つぎに、実施の形態 4に係る障害検出の手順について説明する。なお、各ノード間 における障害検出の手順はいずれのノード間で障害が発生した場合も同様の手順 によって行なうので、ここではスレーブノード 30Aとスレーブノード 30Bの間において 障害が発生した場合を例にとって説明する。  Next, the failure detection procedure according to Embodiment 4 will be described. Note that the failure detection procedure between each node is performed in the same way when a failure occurs between any of the nodes, so here we explain the case where a failure occurs between slave node 30A and slave node 30B as an example. To do.
[0111] 図 16、図 17は実施の形態 4に係る障害検出の手順を示すフローチャートである。  FIG. 16 and FIG. 17 are flowcharts showing the procedure of fault detection according to the fourth embodiment.
マスタノード 20Aの記憶部 26へは、予めネットワークシステム内のトポロジーに関する 情報としてトポロジー情報 87Aを記憶させておく。  In the storage unit 26 of the master node 20A, topology information 87A is stored in advance as information on the topology in the network system.
[0112] 図 18は、マスタノードに設定されるトポロジー情報の構成を示す図である。トポロジ 一情報 87Aは、リングネットワーク 90内のマスタノード 20A、スレーブノード 30A— 30 Cが有する順方向経路側のポート P1 (順方向側ポート 21)、逆方向側のポート P2 (逆 方向側ポート 22)の閉塞の状態に関する情報力もなる。ここでは、マスタノード 20A のポート P1は閉塞解除であり、ポート P2が閉塞であることを示している。また、スレー ブノード 30A, 30Bのポート PI, P2が閉塞解除であることを示している。さらに、スレ ーブノード 30Cのポート P 1は閉塞解除であり、ポート P2が閉塞であることを示して!/ヽ る。  FIG. 18 is a diagram showing a configuration of topology information set in the master node. Topology Information 87A consists of port P1 (forward port 21) on the forward path side of master node 20A and slave node 30A-30C in ring network 90, port P2 on the reverse side (reverse port 22). ) Also provides information regarding the state of blockage. Here, port P1 of the master node 20A is released from blocking, and port P2 is blocked. In addition, the ports PI and P2 of the slave nodes 30A and 30B are shown to be blocked. In addition, it indicates that port P1 of slave node 30C has been unblocked and port P2 is blocked!
[0113] 図 2に示すマスタノード 20Aとリング端ノードとの間で VLANの監視を定期的に行う 。ここでは、マスタノード 20Aとスレーブノード 30Cの間の順方向経路と逆方向経路 でリング監視要求(MACフレーム)とリング応答情報(MACフレーム)の送受信を定 期的に行う。  [0113] VLAN monitoring is periodically performed between the master node 20A and the ring end node shown in FIG. Here, the ring monitoring request (MAC frame) and the ring response information (MAC frame) are periodically transmitted and received on the forward path and the reverse path between the master node 20A and the slave node 30C.
[0114] 具体的には、マスタノード 20Aとスレーブノード 30Cの間の順方向経路でリング監 視要求とリング応答情報の送受信を行なう。また、マスタノード 20Aとスレーブノード 3 OCの間の逆方向経路でリング監視要求とリング応答情報の送受信を行なう。ここで は、まずマスタノード 20A力 順方向経路および逆方向経路によってスレーブノード 30Cにリング監視要求を送信する (ステップ S 600)。  Specifically, ring monitoring request and ring response information are transmitted and received on the forward path between master node 20A and slave node 30C. In addition, a ring monitoring request and ring response information are transmitted and received on the reverse path between the master node 20A and the slave node 3OC. Here, first, a ring monitoring request is transmitted to the slave node 30C through the master node 20A force forward path and reverse path (step S600).
[0115] リング端ノード以外のスレーブノードがリング監視要求や応答情報を受信した場合 は、受信したポートと反対側のポートからリング監視要求や応答情報を転送する。例 えば、リング端ノード以外のスレーブノードが順方向側ポート 21からリング監視要求を 受信すると、順方向側ポート 21の反対側のポートとして逆方向側ポート 22からリング 監視要求を送信 (転送)する。 [0115] When the slave node other than the ring end node receives the ring monitoring request or response information, the ring monitoring request or response information is transferred from the port opposite to the received port. Example For example, when a slave node other than the ring end node receives a ring monitoring request from the forward port 21, the ring monitoring request is transmitted (transferred) from the reverse port 22 as a port opposite to the forward port 21.
[0116] 例えば、マスタノード 20Aが順方向側経路からスレーブノード 30Cにリング監視要 求を送信する場合、スレーブノード 30A, 30Bはリング端ノードではないため、マスタ ノード 20Aからのリング監視要求を順方向経路側のスレーブノード 30Cに転送する( ステップ S610)。 [0116] For example, when the master node 20A transmits a ring monitoring request from the forward path to the slave node 30C, the slave nodes 30A and 30B are not ring-end nodes, so the ring monitoring requests from the master node 20A are forwarded. Transfer to slave node 30C on the direction path side (step S610).
[0117] リング端ノードであるスレーブノード 30Cの Tag処理部 24は、順方向経路 (VLAN3 側)からのリング監視要求を受信すると (ステップ S620)、リング監視要求を受信した 順方向経路側の VLANに設定されて!、る VLAN3に関する VIDをリング監視要求に 付加したリング応答情報を作成する。  [0117] When the tag processing unit 24 of the slave node 30C that is the ring end node receives the ring monitoring request from the forward path (VLAN3 side) (step S620), the VLAN on the forward path side that has received the ring monitoring request Create ring response information with VID related to VLAN3 added to the ring monitoring request.
[0118] スレーブノード 30Cの Tag処理部 24によって作成されたリング応答情報は、リング 監視要求が送信されてきたマスタノード 20Aに送信される (ステップ S630)。例えば、 マスタノード 20Aが順方向側経路からスレーブノード 30Cにリング監視要求を送信さ れた場合、スレーブノード 30Cは順方向経路力もマスタノード 20Aにリング応答情報 を送信する。スレーブノード 30A, 30Bはリング端ではないため、スレーブノード 30C 力ものリング応答情報をマスタノード 20Aに転送する。  [0118] The ring response information created by the tag processing unit 24 of the slave node 30C is transmitted to the master node 20A from which the ring monitoring request has been transmitted (step S630). For example, when the master node 20A receives a ring monitoring request from the forward path to the slave node 30C, the slave node 30C also transmits ring response information to the master node 20A in the forward path force. Since the slave nodes 30A and 30B are not ring ends, the ring response information of the slave node 30C is transferred to the master node 20A.
[0119] マスタノード 20Aは、スレーブノード 30Cからのリング応答情報に付カ卩された VLA N3に関する VIDを記憶部 26で記憶しておく(ステップ S640)。この状態で、例えば スレーブノード 30Aとスレーブノード 30Bの間に障害が発生すると、スレーブノード 3 OAとスレーブノード 30Bがリング端ノードとなる(ステップ S700)。マスタノード 20Aか ら順方向側経路でリング監視要求を送信する (ステップ S710)。  The master node 20A stores the VID related to VLA N3 attached to the ring response information from the slave node 30C in the storage unit 26 (step S640). In this state, for example, when a failure occurs between the slave node 30A and the slave node 30B, the slave node 3OA and the slave node 30B become ring end nodes (step S700). A ring monitoring request is transmitted from the master node 20A along the forward path (step S710).
[0120] リング端ノードであるスレーブノード 30Aの Tag処理部 24は、リング監視要求を順方 向側経路側 (VLAN1側)力も受信すると (ステップ S720)、リング監視要求を受信し た順方向経路側の VLANに設定されて ヽる VLAN 1に関する VIDをリング監視要求 に付加したリング応答情報を作成する。  [0120] When the tag processing unit 24 of the slave node 30A, which is the ring end node, also receives the ring monitoring request (forward direction path side (VLAN1 side) force) (step S720), the forward path that has received the ring monitoring request. The ring response information is created by adding the VID related to VLAN 1 set in the side VLAN to the ring monitoring request.
[0121] スレーブノード 30Cの Tag処理部 24によって作成されたリング応答情報は、リング 監視要求が送信されてきた順方向経路 (VLAN1)に送信される (ステップ S730)。 マスタノード 20Aは、スレーブノード 30Cからのリング応答情報に付カ卩された VLANl に関する VIDを記憶部 26で記憶する (ステップ S 740)。 [0121] The ring response information created by the tag processing unit 24 of the slave node 30C is transmitted to the forward path (VLAN1) from which the ring monitoring request has been transmitted (step S730). The master node 20A stores the VID related to VLANl attached to the ring response information from the slave node 30C in the storage unit 26 (step S740).
[0122] マスタノード 20Aの接続判断部 28は、記憶部 26が記憶する VIDに基づいてノード 間で障害が発生したか否かを判断する。スレーブノード 30Aとスレーブノード 30Bの 間で障害が発生する前のマスタノード 20Aは、スレーブノード 30C力も VLAN3に関 する VIDを受信して記憶部 26で記憶している。これに対し、スレーブノード 30Aとス レーブノード 30Bの間の障害が発生した後のマスタノード 20Aは、スレーブノード 30 Aから VLAN1に関する VIDを受信して記憶部 26で記憶する。したがって、マスタノ ード 20Aの接続判断部 28は、記憶部 26に記憶しているリング監視要求に対する応 答情報の VIDが変化しているので、リング端ノードが変更されたと判断する。すなわ ち、接続判断部 28は、ノード間の障害発生によってリング端ノードが変更されたと判 断する (ステップ S750)。また、接続判断部 28は記憶部 26に記憶しているトポロジー 情報 87Aに基づ 、て、 V、ずれのノード間で障害が発生したかを特定する。  [0122] The connection determination unit 28 of the master node 20A determines whether or not a failure has occurred between the nodes based on the VID stored in the storage unit 26. The master node 20A before the failure occurs between the slave node 30A and the slave node 30B receives the VID related to VLAN3 and stores it in the storage unit 26 as well. On the other hand, the master node 20A after the failure between the slave node 30A and the slave node 30B receives the VID related to VLAN1 from the slave node 30A and stores it in the storage unit 26. Therefore, the connection determination unit 28 of the master node 20A determines that the ring end node has been changed because the VID of the response information for the ring monitoring request stored in the storage unit 26 has changed. In other words, the connection determination unit 28 determines that the ring end node has been changed due to the occurrence of a failure between the nodes (step S750). In addition, the connection determination unit 28 specifies whether a failure has occurred between the V and misaligned nodes based on the topology information 87A stored in the storage unit 26.
[0123] マスタノード 20Aは、順方向経路 (VLAN1)で送信したリング監視要求に対する V LAN応答情報に VLAN1に関する VIDが付加されて 、ることとトポロジー情報 87A に基づいてスレーブノード 30Aとスレーブノード 30Bの間で障害が発生したことを検 出する。  [0123] Master node 20A has slave node 30A and slave node 30B based on the fact that VID related to VLAN1 is added to the VLAN response information for the ring monitoring request transmitted on the forward path (VLAN1) and topology information 87A. Detects that a failure occurred during
[0124] なお、本実施の形態 4においては、リングネットワーク 90内のマスタノードがマスタノ ード 20Aの 1つである場合について説明した力 リングネットワーク 90が複数のマスタ ノードによって構成される場合であってもよい。この場合、複数のマスタノードの 1つを マスタノードとして動作させ、他のマスタノードはスレーブノードとして動作するよう設 定しておく。そして、マスタノード間におけるリング監視要求やリング応答情報には、 管理用 VLANに関する VIDを付加して送信する。  [0124] The fourth embodiment is a case where the ring network 90 is configured by a plurality of master nodes as described in the case where the master node in the ring network 90 is one of the master nodes 20A. May be. In this case, set one of the multiple master nodes to operate as a master node and the other master nodes to operate as slave nodes. The VID related to the management VLAN is added to the ring monitoring request and ring response information between the master nodes and transmitted.
[0125] このように、実施の形態 4によれば、マスタノード 20Aとリング端ノードの間だけでリ ング監視要求および応答情報を送受信してノード間の障害の発生を監視するので、 障害監視の通信負荷を低減することが可能になるとともに、マスタノード 20Aが迅速 にノード間の障害を検出することが可能となる。  As described above, according to the fourth embodiment, the occurrence of a failure between nodes is monitored by transmitting and receiving the ring monitoring request and response information only between the master node 20A and the ring end node. As a result, the master node 20A can quickly detect a failure between nodes.
[0126] 実施の形態 5. 図 2、図 19一図 29に従ってこの発明の実施の形態 5について説明する。本実施の 形態 5においては、マスタノード 20A、スレーブノード 30A— 30Cがリンク断通知、品 質劣化通知の受信によって障害の発生を検出した後、各ノードが VLANの設定を切 替える。本実施の形態 5においては、 VLAN処理部 25が接続判断部 28によって判 断された障害発生力否かの判断結果に基づ 、て VLANの設定等を変更する。各ノ ードの VLAN処理部 25が決定した VLANによって通信を行うようスィッチ部 23に指 示情報を送る。 [0126] Embodiment 5. A fifth embodiment of the present invention will be described with reference to FIGS. In the fifth embodiment, after the master node 20A and slave nodes 30A-30C detect the occurrence of a failure by receiving the link disconnection notification and the quality degradation notification, each node switches the VLAN setting. In the fifth embodiment, the VLAN processing unit 25 changes the VLAN setting or the like based on the determination result of the failure occurrence capability determined by the connection determination unit 28. Instruction information is sent to the switch unit 23 so that communication is performed using the VLAN determined by the VLAN processing unit 25 of each node.
[0127] 実施の形態 5に係る障害検出後の VLANの切替えの手順について説明する。ここ では、図 2に示すネットワークシステムのスレーブノード 30Aとスレーブノード 30Bの 間で障害が検出された後に VLANの設定変更を行なう場合を例にとって説明する。  A procedure for switching VLANs after failure detection according to the fifth embodiment will be described. Here, an example will be described in which the VLAN setting is changed after a failure is detected between slave node 30A and slave node 30B in the network system shown in FIG.
[0128] 図 19は実施の形態 5に係る障害検出後の VLANの切替えの手順を示すフローチ ヤートである。本実施の形態 5においては、マスタノード 20Aに予め各スレーブノード 30A— 30Cのポートに対する VLANと、この VLANの使用(設定)状態(現用である か予備用である力 )等を示す VLANテーブル 85Aを設定しておく。  FIG. 19 is a flowchart showing a procedure for switching VLANs after failure detection according to the fifth embodiment. In the fifth embodiment, the VLAN table 85A indicating the VLAN for each of the slave nodes 30A-30C in advance to the master node 20A and the use (setting) state (active or spare power) of this VLAN, etc. Is set in advance.
[0129] また、スレーブノード 30A— 30Cには、スレーブノード 30A— 30Cのポートに対する VLAN,この VLANの使用状態、ポートの閉塞に関する状態等を示す VLANテー ブル 86A— 86Cを設定しておく。  [0129] In addition, VLAN tables 86A to 86C are set in the slave nodes 30A to 30C. The VLAN tables 86A to 86C indicate the VLANs for the ports of the slave nodes 30A to 30C, the use state of the VLANs, the state related to blockage of the ports, and the like.
[0130] また、マスタノード 20A、スレーブノード 30A— 30Cには、 VLANを切替える際の切 替え方法の種別 (分散切替、集中切替)を設定しておく。本実施の形態 5においては 、各ノードが VLANの設定を切替える分散切替を設定しておく。  [0130] Also, in the master node 20A and slave nodes 30A-30C, the type of switching method (distributed switching, centralized switching) when switching VLANs is set in advance. In the fifth embodiment, distributed switching in which each node switches the VLAN setting is set in advance.
[0131] 図 20は、マスタノードに設定される VLANテーブル情報の構成を示す図である。 V LANテーブル情報 85Aは、スレーブノード 30A— 30Cに関する情報からなる。各ス レーブノード 30A— 30Cは、ポート P1とポート P2を備えている。ここでのポート P1は 、順方向側ポート 21を示し、ポート P2は逆方向側ポート 22を示す。すなわち、ポート P1は順方向経路によってマスタノード 20Aと接続され、ポート P2は逆方向経路によ つてマスタノード 20Aと接続されるよう設定されて ヽる。  FIG. 20 is a diagram showing a configuration of VLAN table information set in the master node. The VLAN table information 85A includes information related to the slave nodes 30A-30C. Each slave node 30A-30C has port P1 and port P2. Here, the port P1 indicates the forward port 21 and the port P2 indicates the reverse port 22. That is, the port P1 is set to be connected to the master node 20A by the forward path, and the port P2 is set to be connected to the master node 20A by the reverse path.
[0132] また、各スレーブノード 30A— 30Cのポート Pl、 P2にはリングネットワーク 90内で 設定される VLAN1— 3, 11— 13と、この VLANが現用であるか予備であるかの情 報が対応付けられている。ここでは、ネットワークシステムにおいて、 VLAN1— 3を現 用 VLANとし、 VLAN11— 13を予備 VLANとして設定した場合の VLANテーブル 情報 85Aを示している。ネットワークシステムにおいてマスタノード 20Aとスレーブノ ード 30Cの間のリンクの両端のポートを閉塞してオープンループに設定している。 [0132] In addition, the ports Pl and P2 of each slave node 30A-30C have VLAN1-3, 11-13 set in the ring network 90 and information on whether this VLAN is active or spare. Information is associated. Here, VLAN table information 85A is shown when VLAN1-3 is set as the working VLAN and VLAN11-13 is set as the backup VLAN in the network system. In the network system, the ports at both ends of the link between the master node 20A and the slave node 30C are blocked and set to open loop.
[0133] 図 21—図 23は、スレーブノードに設定される VLANテーブル情報の構成を示す 図である。図 21に示すように、スレーブノード 30Aに設定される VLANテーブル情報 86Aは、ポート Pl、ポート P2に関する情報からなる。ここでのポート P1は、現用の V LAN 1に対応付けられていることを示し、ポート P2は、予備用の VLAN11に対応付 けられていることを示している。また、 VLAN1に対応付けられたポート Pl、 VLAN1 1に対応付けられたポート P2が閉塞されて 、な ヽ閉塞解除状態であることを示して!/ヽ る。 FIG. 21 to FIG. 23 are diagrams showing the configuration of the VLAN table information set in the slave node. As shown in FIG. 21, the VLAN table information 86A set in the slave node 30A includes information related to the port Pl and the port P2. Here, port P1 indicates that it is associated with the working VLAN 1, and port P2 indicates that it is associated with the spare VLAN 11. In addition, the port Pl associated with VLAN1 and the port P2 associated with VLAN11 are blocked, indicating that they are in a blocked release state.
[0134] 図 22に示すように、スレーブノード 30Bに設定される VLANテーブル情報 86Bは、 ポート Pl、ポート P2に関する情報からなる。ここでのポート P1は、現用の VLAN2に 対応付けられていることを示し、ポート P2は、予備用の VLAN 12に対応付けられて いることを示している。また、 VLAN2に対応付けられたポート Pl、 VLAN12に対応 付けられたポート P2が閉塞されて 、な 、閉塞解除状態であることを示して!/、る。  As shown in FIG. 22, the VLAN table information 86B set in the slave node 30B includes information regarding the port Pl and the port P2. The port P1 here indicates that it is associated with the working VLAN 2, and the port P2 indicates that it is associated with the spare VLAN 12. Also, indicate that port Pl associated with VLAN2 and port P2 associated with VLAN12 are blocked, indicating that they are in a blocked release state! /
[0135] 図 23に示すように、スレーブノード 30Cに設定される VLANテーブル情報 86Cは、 ポート Pl、ポート P2に関する情報からなる。ここでのポート P1は、現用の VLAN3に 対応付けられていることを示し、ポート P2は、予備用の VLAN 13に対応付けられて いることを示している。また、 VLAN3に対応付けられたポート P1が閉塞されていな い閉塞解除状態であることを示し、 VLAN 13に対応付けられたポート P2が閉塞され て 、ることを示している。  [0135] As shown in FIG. 23, the VLAN table information 86C set in the slave node 30C includes information on the port Pl and the port P2. Here, port P1 indicates that it is associated with the working VLAN 3, and port P2 indicates that it is associated with the spare VLAN 13. In addition, it indicates that the port P1 associated with VLAN 3 is in an unblocked state where the port P1 is not blocked, and indicates that the port P2 associated with VLAN 13 is blocked.
[0136] 例えば、実施の形態 1や実施の形態 2で説明したように、マスタノード 20A力 VLA N1, 2, 3側の順方向側ポート 21でリンク断通知や品質劣化通知を受信して接続判 断部 28が障害発生を検出する (ステップ S800)。マスタノード 20Aの接続判断部 28 は、トポロジー情報 87A等に基づ 、て 、ずれのノード間で障害が発生したかを特定 する。  For example, as described in the first embodiment and the second embodiment, the master node 20A force VLA N1, 2, 3 forward side port 21 receives the link disconnection notification and the quality degradation notification and connects. The judgment unit 28 detects the occurrence of a failure (step S800). Based on the topology information 87A and the like, the connection determination unit 28 of the master node 20A identifies whether a failure has occurred between the misaligned nodes.
[0137] ここでは、リンク断通知等の送信元であるスレーブノード 30Aと、マスタノード 20Aか ら見て 1つ順方向側のスレーブノード 30Bの間のポートが閉塞になったことを特定す る(ステップ S810)。すなわち、マスタノード 20Aの接続判断部 28は、スレーブノード 30Aとスレーブノード 30Bの間で障害が発生したと判断する。これにより、マスタノー ド 20Aの接続判断部 28は、マスタノード 20Aとスレーブノード 30Cの間の閉塞リンク 55の閉塞を解除すると判断する。 VLAN処理部 25は、予め設定されていたトポロジ 一情報 87Aを新たなトポロジー情報 87Xに変更(更新)する (ステップ S820)。 [0137] Here, the slave node 30A that is the transmission source of the link disconnection notification and the master node 20A As a result, it is specified that the port between the slave node 30B on the forward side is blocked (step S810). That is, the connection determination unit 28 of the master node 20A determines that a failure has occurred between the slave node 30A and the slave node 30B. Thereby, the connection determination unit 28 of the master node 20A determines to release the blocking of the blocking link 55 between the master node 20A and the slave node 30C. The VLAN processing unit 25 changes (updates) the previously set topology information 87A to new topology information 87X (step S820).
[0138] 図 24は、マスタノードに設定変更されたトポロジー情報の構成を示す図である。図 18に示すようにトポロジー情報 87Xは、トポロジー情報 87Aから閉塞の状態が変更さ れている。マスタノード 20Aにおいては、スレーブノード 30Cとのリンクの閉塞を解除 するため、逆方向側ポート 22であるポート P2の閉塞状態が閉塞から閉塞解除に変 更されている。また、スレーブノード 30Cにおいては、マスタノード 20Aとのリンクの閉 塞を解除するため、逆方向側ポート 22であるポート P2の閉塞状態が閉塞から閉塞解 除に変更されている。 FIG. 24 is a diagram showing a configuration of topology information whose settings have been changed to the master node. As shown in FIG. 18, in the topology information 87X, the closed state is changed from the topology information 87A. In the master node 20A, the blocking state of the port P2, which is the reverse side port 22, has been changed from blocking to releasing blocking in order to release the blocking of the link with the slave node 30C. In the slave node 30C, the closed state of the port P2, which is the reverse-side port 22, is changed from blocked to unblocked in order to release the closed link with the master node 20A.
[0139] また、接続判断部 28によって、スレーブノード 30Aとスレーブノード 30Bの間でリン ク断が発生していると判断されているため、スレーブノード 30Aにおいては、スレーブ ノード 30Bと接続されている逆方向側ポート 22であるポート P2の閉塞状態が閉塞解 除から閉塞に変更されている。また、スレーブノード 30Bにおいては、スレーブノード 30Aと接続されている順方向側ポート 21であるポート P1の閉塞状態が閉塞解除から 閉塞に変更されている。  [0139] Further, since it is determined by the connection determination unit 28 that a disconnection has occurred between the slave node 30A and the slave node 30B, the slave node 30A is connected to the slave node 30B. The blocking state of port P2, which is the reverse side port 22, has been changed from blocking to blocking. In the slave node 30B, the blocked state of the port P1, which is the forward-side port 21 connected to the slave node 30A, is changed from blocked release to blocked.
[0140] マスタノード 20Aの VLAN処理部 25は、変更後のトポロジー情報 87Xと、 VLAN 処理部 25に予め設定されて!、る VLANテーブル情報 85Aに基づ 、て、障害が発生 した VLANを特定する(ステップ S 830)。ここでは、スレーブノード 30Aとスレーブノ ード 30Bの間で障害が発生しており、 VLAN2と VLAN3が現用 VLANであるため、 障害の発生した現用 VLANは VLAN2と VLAN3であると判断される。  [0140] The VLAN processing unit 25 of the master node 20A identifies the faulted VLAN based on the changed topology information 87X and the VLAN table information 85A that is preset in the VLAN processing unit 25! (Step S830). Here, since a failure has occurred between slave node 30A and slave node 30B, and VLAN2 and VLAN3 are working VLANs, it is determined that the failed working VLANs are VLAN2 and VLAN3.
[0141] マスタノード 20Aの VLAN処理部 25は、 VLAN1からポート P1によって近接リンク 断のリンク断通知を受信 (接続判断部 28が障害検出)すると VLANの切替え処理を 行なう(ステップ S840)。ここでは、 VLAN2が現用 VLANであり、 VLAN2, 3の反 対側の予備 VLAN12, 13側のポート P2, 3によって近接リンク断または遠隔リンク断 のリンク断通知を受信していないので、 VLAN処理部 25は VLAN2, 3の設定を予 備 VLANに切り替える。すなわち、マスタノード 20Aの VLAN処理部 25は、 VLAN 2, 3を予備 VLANとし、 VLAN12, 13を現用 VLANとするよう VLANの設定を切替 える。また、マスタノード 20Aのポート P2の閉塞状態を閉塞解除にする。 [0141] When the VLAN processing unit 25 of the master node 20A receives the link disconnection notification of the close link disconnection via the port P1 from the VLAN 1 (the connection determination unit 28 detects a failure), the VLAN processing unit 25 performs a VLAN switching process (step S840). Here, VLAN2 is the working VLAN, and the adjacent link or remote link is disconnected by the ports P2 and 3 on the opposite side VLANs 12 and 13 on the opposite side of VLAN2 and 3. Since the link disconnection notification is not received, VLAN processing unit 25 switches the settings of VLAN 2 and 3 to the reserved VLAN. That is, the VLAN processing unit 25 of the master node 20A switches the VLAN settings so that VLANs 2 and 3 are reserved VLANs and VLANs 12 and 13 are active VLANs. Also, release the blocking status of port P2 of master node 20A.
[0142] マスタノード 20Aの VLAN処理部 25は、スレーブノード毎の VLANの切替え処理 に応じて VLANテーブル情報 85Aを変更して新たな VLANテーブル情報 85Xを設 定する。 [0142] The VLAN processing unit 25 of the master node 20A changes the VLAN table information 85A according to the VLAN switching processing for each slave node, and sets new VLAN table information 85X.
[0143] スレーブノード 30Aの VLAN処理部 25は、近接リンク断のリンク断通知を受信した VLANに応じて VLANの切替え処理を行なう(ステップ S850)。ここでは、 VLAN1 1が予備 VLANであるため、スレーブノード 30Aの VLAN処理部 25は VLANの切 替え処理を行なわずポート P2の閉塞状態を閉塞にする。  [0143] The VLAN processing unit 25 of the slave node 30A performs VLAN switching processing according to the VLAN that has received the link disconnection notification of the proximity link disconnection (step S850). Here, since VLAN 11 is a spare VLAN, the VLAN processing unit 25 of the slave node 30A does not perform the VLAN switching process and closes the blocked state of the port P2.
[0144] スレーブノード 30Aの VLAN処理部 25は、 VLANの切替え処理やポートの閉塞 状態の変更に応じて VLANテーブル情報 86Aを変更して新たな VLANテーブル情 報 86Xを設定する。  [0144] The VLAN processing unit 25 of the slave node 30A changes the VLAN table information 86A according to the VLAN switching processing or the port blocking state change, and sets new VLAN table information 86X.
[0145] スレーブノード 30Bの VLAN処理部 25は、 VLAN2からポート P1によって近接リン ク断のリンク断通知を受信すると VLANの切替え処理を行なう(ステップ S860)。ここ では、 VLAN2が現用 VLANであり、 VLAN2の反対側の予備 VLAN12側のポート P2によって近接リンク断または遠隔リンク断のリンク断通知を受信していないので、 V LAN処理部 25は VLAN2の設定を予備 VLANに切り替える。すなわち、スレーブノ ード 30Bの VLAN処理部 25は、 VLAN2を予備 VLANとし、 VLAN12を現用 VLA Nとするよう VLANの設定を切替える。また、スレーブノード 30Bのポート P1の閉塞 状態を閉塞にする。  [0145] When the VLAN processing unit 25 of the slave node 30B receives the link disconnection notification indicating the close link disconnection via the port P1 from the VLAN 2, it performs the VLAN switching process (step S860). In this example, VLAN 2 is the working VLAN, and the VLAN P 25 has not set the VLAN 2 because the port P2 on the opposite side of the VLAN 2 has not received a link disconnection notification indicating a close link disconnection or remote link disconnection. Switch to spare VLAN. That is, the VLAN processing unit 25 of the slave node 30B switches the VLAN setting so that VLAN 2 is a spare VLAN and VLAN 12 is a working VLAN. Also, block port P1 of slave node 30B.
[0146] スレーブノード 30Bの VLAN処理部 25は、 VLANの切替え処理やポートの閉塞状 態の変更に応じて VLANテーブル情報 86Bを変更して新たな VLANテーブル情報 86Yを設定する。  [0146] The VLAN processing unit 25 of the slave node 30B changes the VLAN table information 86B according to the VLAN switching processing or the change of the port blocking state, and sets new VLAN table information 86Y.
[0147] スレーブノード 30Cの VLAN処理部 25は、 VLAN3からポート P1によって遠隔リン ク断のリンク断通知を受信すると、 VLANの切替え処理を行なう(ステップ S870)。こ こでは、 VLAN3が現用 VLANであり、 VLAN 3の反対側の予備 VLAN 13側のポ ート P2によって近接リンク断または遠隔リンク断のリンク断通知を受信していないので 、 VLAN処理部 25は VLAN3の設定を予備 VLANに切り替える。すなわち、スレー ブノード 30Cの VLAN処理部 25は、 VLAN3を予備 VLANとし、 VLAN13を現用 VLANとするよう VLANの設定を切替える。また、スレーブノード 30Cのポート P2の 閉塞状態を閉塞解除にする。 [0147] When the VLAN processing unit 25 of the slave node 30C receives a link disconnection notification indicating that the remote link is disconnected from the port P1, the VLAN processing unit 25 performs a VLAN switching process (step S870). Here, VLAN 3 is the working VLAN, and the backup VLAN 13 side opposite VLAN 3 side. Since the link disconnection notification indicating the proximity link disconnection or the remote link disconnection is not received by the port P2, the VLAN processing unit 25 switches the VLAN3 setting to the spare VLAN. That is, the VLAN processing unit 25 of the slave node 30C switches the VLAN setting so that VLAN 3 is a spare VLAN and VLAN 13 is a working VLAN. Also, release the blocking status of port P2 of slave node 30C.
[0148] スレーブノード 30Cの VLAN処理部 25は、 VLANの切替え処理やポートの閉塞 状態の変更に応じて VLANテーブル情報 86Cを変更して新たな VLANテーブル情 報 86Zを設定する。 [0148] The VLAN processing unit 25 of the slave node 30C changes the VLAN table information 86C and sets new VLAN table information 86Z according to the VLAN switching processing or the change of the port blocking state.
[0149] 図 25—図 27は、スレーブノードに設定変更された VLANテーブル情報の構成を 示す図である。図 25に示すように、スレーブノード 30Aで設定変更された VLANテ 一ブル情報 86Xは、スレーブノード 30Aとスレーブノード 30Bの間で障害が発生して いるため、 VLANテーブル情報 86Xにおける VLAN11のポート P2の閉塞状態が閉 塞解除から閉塞に変更されている。  FIG. 25 to FIG. 27 are diagrams showing the configuration of VLAN table information whose settings have been changed to slave nodes. As shown in Figure 25, because the VLAN table information 86X whose settings have been changed on the slave node 30A has failed between the slave nodes 30A and 30B, the port P2 of VLAN 11 in the VLAN table information 86X The occlusion state has been changed from occlusion release to occlusion.
[0150] 図 26に示す VLANテーブル情報は、スレーブノード 30Bで設定変更された VLA Nテーブル情報 86Yである。スレーブノード 30Aとスレーブノード 30Bの間で障害が 発生しているため、スレーブノード 30Bの VLAN処理部 25は、スレーブノード 30Aと 接続される順方向側ポート 21 (ポート P1)側の VLAN2を予備 VLANに変更して ヽ る。また、スレーブノード 30Bの VLAN処理部 25は、スレーブノード 30Aと接続され て!ヽな 、逆方向側ポート 22 (ポート P2)側の VLAN 12を現用 VLANに変更して!/、る 。スレーブノード 30Aとスレーブノード 30Bの間で障害が発生しているため、スレーブ ノード 30Bの VLAN処理部 25は、スレーブノード 30Aと接続される VLAN2のポート P1の閉塞状態を閉塞解除力 閉塞に変更している。  The VLAN table information shown in FIG. 26 is the VLAN table information 86Y whose setting has been changed in the slave node 30B. Since a failure has occurred between slave node 30A and slave node 30B, VLAN processing unit 25 of slave node 30B uses VLAN 2 on forward side port 21 (port P1) connected to slave node 30A as a spare VLAN. Change to. The VLAN processing unit 25 of the slave node 30B is connected to the slave node 30A! At the same time, change VLAN 12 on the reverse port 22 (port P2) side to the working VLAN! /. Since a failure has occurred between slave node 30A and slave node 30B, VLAN processing unit 25 of slave node 30B changes the blocking state of port P1 of VLAN 2 connected to slave node 30A to blocking release force blocking. ing.
[0151] 図 27に示す VLANテーブル情報は、スレーブノード 30Bで設定変更された VLA Nテーブル情報 86Zである。スレーブノード 30Aとスレーブノード 30Bの間で障害が 発生しているため、スレーブノード 30Cの VLAN処理部 25は、スレーブノード 30Aと 接続される順方向側ポート 21 (ポート P1)側の VLAN3を予備 VLANに変更して ヽ る。また、スレーブノード 30Cの VLAN処理部 25は、スレーブノード 30Aと接続され て!ヽな 、逆方向側ポート 22 (ポート P2)側の VLAN 13を現用 VLANに変更して!/、る 。マスタノード 20Aとスレーブノード 30Cの間を接続するため、スレーブノード 30Cの VLAN処理部 25は、マスタノード 20Aと接続される VLAN13のポート P2の閉塞状 態を閉塞力 閉塞解除に変更している。 [0151] The VLAN table information shown in FIG. 27 is the VLAN table information 86Z whose setting has been changed in the slave node 30B. Since a failure has occurred between slave node 30A and slave node 30B, VLAN processing unit 25 of slave node 30C uses VLAN 3 on forward side port 21 (port P1) connected to slave node 30A as a spare VLAN. Change to. Also, the VLAN processing unit 25 of the slave node 30C is connected to the slave node 30A! Change VLAN 13 on the reverse side port 22 (port P2) side to the working VLAN! / . In order to connect the master node 20A and the slave node 30C, the VLAN processing unit 25 of the slave node 30C changes the blocking state of the port P2 of the VLAN 13 connected to the master node 20A to blocking force blocking release.
[0152] 図 28は、マスタノードに設定変更された VLANテーブル情報の構成を示す図であ る。設定変更後の VLANテーブル情報 85Xは、各スレーブノード 30A— 30Cと同様 に VLANの変更が行われた状態が示されて!/、る。  FIG. 28 is a diagram showing a configuration of VLAN table information whose setting has been changed to the master node. The VLAN table information 85X after the setting change shows the state where the VLAN has been changed in the same manner as each slave node 30A-30C.
[0153] すなわち、スレーブノード 30Aとスレーブノード 30Bの間で障害が発生しているため 、スレーブノード 30Bにおいてはスレーブノード 30Aと接続される順方向側ポート 21 ( ポート P1)側の VLAN2を予備 VLANに変更している。また、スレーブノード 30Aと 接続されて ヽな ヽ逆方向側ポート 22 (ポート P2)側の VLAN 12を現用 VLANに変 更している。  That is, since a failure has occurred between slave node 30A and slave node 30B, VLAN 2 on forward side port 21 (port P1) connected to slave node 30A is set as a spare VLAN in slave node 30B. Has been changed. In addition, VLAN 12 on the reverse side port 22 (port P2) side connected to slave node 30A is changed to the working VLAN.
[0154] さらに、スレーブノード 30Aとスレーブノード 30Bの間で障害が発生しているため、 スレーブノード 30Cにおいてはスレーブノード 30Aと接続される順方向側ポート 21 ( ポート P1)側の VLAN3を予備 VLANに変更している。また、スレーブノード 30Aと 接続されて ヽな ヽ逆方向側ポート 22 (ポート P2)側の VLAN 13を現用 VLANに変 更している。  [0154] Further, because a failure has occurred between slave node 30A and slave node 30B, VLAN 3 on the forward port 21 (port P1) side connected to slave node 30A is set as a spare VLAN in slave node 30C. Has been changed. Also, VLAN 13 on the reverse side port 22 (port P2) side connected to slave node 30A is changed to the working VLAN.
[0155] 図 29は、図 2に示したネットワークシステムの VLAN切替え後の構成を示す図であ る。リングネットワーク 90内の各ノードによって VLANの変更が行なわれた後も、図 5 1、図 5—2で示した実施の形態 1に係るネットワークシステム内での情報の送受信と 同様の手順によって情報を送受信する。すなわち、スレーブノード 30B, 30Cの下位 ネットワーク通信部 32は下位ネットワーク 301B, 301Cから MACフレーム 80を受信 する。  FIG. 29 is a diagram showing a configuration after VLAN switching of the network system shown in FIG. Even after the VLAN is changed by each node in the ring network 90, the information is transmitted by the same procedure as the transmission / reception of information in the network system according to the first embodiment shown in FIGS. 51 and 5-2. Send and receive. That is, the lower network communication unit 32 of the slave nodes 30B and 30C receives the MAC frame 80 from the lower networks 301B and 301C.
[0156] スレーブノード 30B, 30Cの Tag処理部 24が MACフレーム 80に現用 VLAN12, 13を示す情報として VLAN-Tag70を付与して MACフレーム 81を作成する。 MA Cフレーム 81は、スレーブノード 30Aの逆方向側ポート 22からマスタノード 20A宛て に送信される。  The tag processing unit 24 of the slave nodes 30B and 30C creates a MAC frame 81 by adding a VLAN-Tag 70 as information indicating the working VLANs 12 and 13 to the MAC frame 80. The MAC frame 81 is transmitted from the reverse side port 22 of the slave node 30A to the master node 20A.
[0157] マスタノード 20Aの逆方向側ポート 22が、スレーブノード 30B, 30Cから MACフレ ーム 81を受信すると、マスタノード 20Aの Tag処理部 24は MACフレーム 81から VL AN— Tag70を削除した MACフレーム 80を生成する。 MACフレーム 80は、上位ネ ットワーク通信部 27から上位ネットワーク 201Aに送信される。 [0157] When the reverse port 22 of the master node 20A receives the MAC frame 81 from the slave nodes 30B and 30C, the tag processing unit 24 of the master node 20A receives the VL from the MAC frame 81. AN — Generates MAC frame 80 with Tag 70 removed. The MAC frame 80 is transmitted from the upper network communication unit 27 to the upper network 201A.
[0158] また、マスタノード 20Aの上位ネットワーク通信部 27が上位ネットワーク 201Aから MACフレーム 80を受信すると、マスタノード 20Aの Tag処理部 24は MACフレーム 80から MACフレーム 81を生成する。  [0158] When the upper network communication unit 27 of the master node 20A receives the MAC frame 80 from the upper network 201A, the Tag processing unit 24 of the master node 20A generates a MAC frame 81 from the MAC frame 80.
[0159] VLAN12, 13を介してスレーブノード 30B, 30Cに送信する MACフレーム 81に は、現用 VLAN12, 13に関する情報を含む VIDが付与される。 MACフレーム 81は 、逆方向側ポート 22から VLAN12, 13を介してスレーブノード 30B, 30Cに送信さ れる。スレーブノード 30B, 30Cの逆方向側ポート 22がマスタノード 20Aから MACフ レーム 81を受信すると、スレーブノード 30B, 30Cの各 Tag処理部 24は MACフレー ム 81の VLAN— Tag70を削除した MACフレーム 80を生成する。 Tag処理部 24が 生成した MACフレーム 80は、スレーブノード 30B, 30Cの下位ネットワーク通信部 2 7から下位ネットワーク 301B, 30Cに送信される。  [0159] A MAC frame 81 transmitted to the slave nodes 30B and 30C via the VLANs 12 and 13 is assigned a VID including information on the working VLANs 12 and 13. The MAC frame 81 is transmitted from the reverse port 22 to the slave nodes 30B and 30C via the VLANs 12 and 13. When the reverse side port 22 of the slave nodes 30B and 30C receives the MAC frame 81 from the master node 20A, each tag processing unit 24 of the slave nodes 30B and 30C receives the MAC frame 80 from which the VLAN — Tag 70 of the MAC frame 81 has been deleted. Is generated. The MAC frame 80 generated by the tag processing unit 24 is transmitted from the lower network communication unit 27 of the slave nodes 30B and 30C to the lower networks 301B and 30C.
[0160] また、マスタノード 20Aとスレーブノード 30Aは実施の形態 1に係るネットワークシス テム内での情報の送受信と同様の手順によって情報を送受信するため、その説明は 省略する。  [0160] Further, since master node 20A and slave node 30A transmit and receive information by the same procedure as the transmission and reception of information in the network system according to Embodiment 1, the description thereof is omitted.
[0161] このように、実施の形態 5によれば、各ノードが障害を検出して VLANの切替え処 理を行なうので、リングネットワーク 90内の VLANの切替えに際してマスタノード 20A がスレーブノード 30A— 30Cに VLAN切替えの制御を行う必要がない。したがって、 リングネットワーク 90内において VLANの切替え処理を迅速に行なうことができ、障 害の発生して 、な 、迂回経路を迅速に設定することが可能となる。  As described above, according to the fifth embodiment, each node detects a failure and performs a VLAN switching process. Therefore, when the VLAN in the ring network 90 is switched, the master node 20A becomes the slave node 30A-30C. There is no need to control VLAN switching. Therefore, it is possible to quickly perform the VLAN switching process in the ring network 90, and it is possible to quickly set an alternative route when a failure occurs.
[0162] 実施の形態 6.  [0162] Embodiment 6.
図 2および図 30に従ってこの発明の実施の形態 6について説明する。本実施の形 態 6においては、マスタノード 20Aとスレーブノード 30A— 30Cの全ての VLAN終端 点間で VLANの監視を行って障害を検出した後、各ノードが VLANの設定を切替え る。  A sixth embodiment of the present invention will be described with reference to FIGS. In this Embodiment 6, each node switches the VLAN settings after monitoring the VLAN between all the VLAN termination points of the master node 20A and slave nodes 30A-30C and detecting a failure.
[0163] 実施の形態 6に係る障害検出後の VLANの切替えの手順について説明する。ここ では、図 2に示すネットワークシステムのスレーブノード 30Aとスレーブノード 30Bの 間で障害が検出された後に VLANの設定変更を行なう場合を例にとって説明する。 A procedure for switching VLANs after failure detection according to the sixth embodiment will be described. Here, the slave nodes 30A and 30B of the network system shown in FIG. An example will be described in which the VLAN setting is changed after a failure is detected.
[0164] 図 30は実施の形態 6に係る障害検出後の VLANの切替えの手順を示すフローチ ヤートである。例えば、実施の形態 3で説明したように、マスタノード 20A力 VLAN の監視によって VLAN2, 3, 11の VLAN障害を検出する(ステップ S900)。  FIG. 30 is a flowchart showing a procedure for switching VLANs after failure detection according to the sixth embodiment. For example, as described in the third embodiment, VLAN failures in VLANs 2, 3, and 11 are detected by monitoring the master node 20A VLAN (step S900).
[0165] マスタノード 20Aの VLAN処理部 25は、予め設定しておいた VLANテーブル情報 85Aとリングネットワーク 90内の各ノードから応答情報が送信された力否かに基づい て、 VLAN障害の発生している現用 VLANを特定する(ステップ S910)。ここでは、 現用 VLAN2, 3にお 、て VLAN障害が発生して 、ることが特定される。  [0165] The VLAN processing unit 25 of the master node 20A generates a VLAN failure based on the preset VLAN table information 85A and whether or not response information is transmitted from each node in the ring network 90. The working VLAN is identified (step S910). Here, it is specified that a VLAN failure has occurred in the working VLANs 2 and 3.
[0166] 現用 VLAN2, 3に対応する(反対側の経路上)予備 VLANが VLAN 12, 13であ り、 VLAN 12, 13において障害が発生していないため、マスタノード 20Aの VLAN 処理部 25は、現用 VLAN2, 3を予備 VLANとし、予備 VLAN12, 13を現用 VLA Nに切替える(ステップ S920)。ここでの VLAN処理部 25による VLANの切替え処 理の判断には、ポートの閉塞状態やトポロジー情報等を必要としない。  [0166] Since the spare VLANs corresponding to the working VLANs 2 and 3 (on the opposite path) are VLANs 12 and 13 and no failure has occurred in VLANs 12 and 13, the VLAN processing unit 25 of the master node 20A is Then, the working VLANs 2 and 3 are set as spare VLANs, and the spare VLANs 12 and 13 are switched to the working VLAN (step S920). The determination of VLAN switching processing by the VLAN processing unit 25 here does not require a port blocking state or topology information.
[0167] スレーブノード 30Aの VLAN処理部 25は、 VLAN障害を受信したポートの VLAN に応じて VLANの切替え処理を行なう(ステップ S930)。ここでは、 VLAN11が予備 VLANであるため、 VLAN処理部 25は VLANの切替え処理を行なわな!/、。  [0167] The VLAN processing unit 25 of the slave node 30A performs a VLAN switching process according to the VLAN of the port that has received the VLAN failure (step S930). Here, since VLAN 11 is a spare VLAN, VLAN processing unit 25 does not perform VLAN switching processing! /.
[0168] スレーブノード 30Bの VLAN処理部 25は、現用 VLAN2によって VLAN障害を検 出すると、予備 VLAN12で VLAN障害を検出して ヽな 、ので現用 VLAN2を予備 VLANとし予備 VLAN 12を現用 VLANに切替える(ステップ S 940)。  [0168] When the VLAN processing unit 25 of the slave node 30B detects a VLAN failure with the working VLAN 2, it will detect the VLAN failure with the protection VLAN 12, so the working VLAN 2 is set as the protection VLAN and the protection VLAN 12 is switched to the working VLAN. (Step S940).
[0169] スレーブノード 30Cの VLAN処理部 25は、現用 VLAN3によって VLAN障害を検 出すると、予備 VLAN13で VLAN障害を検出して ヽな 、ので現用 VLAN3を予備 VLANとし予備 VLAN 13を現用 VLANに切替える(ステップ S950)。  [0169] When the VLAN processing unit 25 of the slave node 30C detects a VLAN failure by the working VLAN 3, it detects that the spare VLAN 13 has failed, so it switches the working VLAN 3 to the working VLAN as the working VLAN 3. (Step S950).
[0170] スレーブノード 30A— 30Cの VLAN処理部 25は、 VLANの切替え処理に応じて V LANテーブル情報 86A— 86Cを変更して新たな VLANテーブル情報 86X— 86Z を設定する。ここでの VLANテーブル情報 86X— 86Zには、ポートの閉塞状態を必 要としない。ネットワークシステム内において VLANの切替えが行なわれると、ネット ワークシステムは図 29に示した構成に変更される。  [0170] The VLAN processing unit 25 of the slave nodes 30A-30C changes the VLAN table information 86A-86C according to the VLAN switching process, and sets new VLAN table information 86X-86Z. The VLAN table information 86X-86Z here does not require the port blocking status. When VLAN switching is performed in the network system, the network system is changed to the configuration shown in FIG.
[0171] このように、実施の形態 6によれば、各ノードが障害を検出して VLANの切替え処 理を行なうので、リングネットワーク 90内の VLANの切替えに際してマスタノード 20A がスレーブノード 30A— 30Cに VLAN切替えの制御を行う必要がない。したがって、 リングネットワーク 90内において VLANの切替え処理を迅速に行なうことができ、障 害の発生して 、な 、迂回経路を迅速に設定することが可能となる。 [0171] Thus, according to Embodiment 6, each node detects a failure and performs VLAN switching processing. Therefore, when switching the VLAN in the ring network 90, the master node 20A does not need to control the VLAN switching to the slave nodes 30A-30C. Therefore, it is possible to quickly perform the VLAN switching process in the ring network 90, and it is possible to quickly set an alternative route when a failure occurs.
[0172] また、マスタノード 20Aとスレーブノード 30A— 30Cとの間の VLANの終端点間で 障害の発生を監視して 1、るので、ポートの閉塞状態やトポロジー情報の制御を行なう ことなく迂回経路を迅速に設定することが可能となる。  [0172] In addition, since the occurrence of a failure is monitored 1 between the end points of the VLAN between the master node 20A and the slave nodes 30A-30C, detouring is performed without controlling the port blocking status or topology information. The route can be set quickly.
[0173] 実施の形態 7.  [0173] Embodiment 7.
図 2および図 31に従ってこの発明の実施の形態 7について説明する。本実施の形 態 7においては、マスタノード 20Aが近接リンク断、遠隔リンク断、リング障害の発生 等を検出した後、マスタノード 20Aがスレーブノード 30A— 30Cに VLANの設定を 切替えさせる。  A seventh embodiment of the present invention will be described with reference to FIGS. In the present embodiment 7, after the master node 20A detects a close link disconnection, a remote link disconnection, a ring failure, etc., the master node 20A switches the VLAN settings to the slave nodes 30A-30C.
[0174] 実施の形態 7に係る障害検出後の VLANの切替えの手順について説明する。ここ では、図 2に示すネットワークシステムのスレーブノード 30Aとスレーブノード 30Bの 間で障害が検出された後に VLANの設定変更を行なう場合を例にとって説明する。  A procedure for switching VLANs after failure detection according to the seventh embodiment will be described. Here, an example will be described in which the VLAN setting is changed after a failure is detected between slave node 30A and slave node 30B in the network system shown in FIG.
[0175] 図 31は実施の形態 7に係る障害検出後の VLANの切替えの手順を示すフローチ ヤートである。マスタノード 20Aには、マスタノード 20Aがスレーブノード 30A— 30C に VLANの設定を切替える集中切替に設定しておく。例えば、実施の形態 1, 2, 4 で説明したように、マスタノード 20A力 VLAN1の順方向側ポート 21や逆方向側ポ ート 22でリンク断通知、品質劣化通知、リング障害の通知を受信して接続判断部 28 が障害発生を検出する (ステップ S 1000)。  FIG. 31 is a flowchart showing a procedure for switching VLANs after failure detection according to the seventh embodiment. The master node 20A is set to centralized switching in which the master node 20A switches the VLAN settings to the slave nodes 30A-30C. For example, as described in the first, second, and fourth embodiments, the master node 20A force VLAN1 forward port 21 and reverse port 22 receive link disconnection notification, quality degradation notification, and ring failure notification. Then, the connection determination unit 28 detects the occurrence of a failure (step S1000).
[0176] マスタノード 20Aの接続判断部 28は、リンク断通知等の送信元であるスレーブノー ド 30Aと、マスタノード 20Aから見て 1つ順方向側のスレーブノード 30Bの間のポート が閉塞になったことを特定する(ステップ S1010)。マスタノード 20Aの VLAN処理部 25は、予め設定されて!、たトポロジー情報 87Aを新たなトポロジー情報 87Xに変更 する(ステップ S 1020)。  [0176] The connection determination unit 28 of the master node 20A blocks the port between the slave node 30A that is the transmission source for the link disconnection notification and the like and the slave node 30B that is one forward side as viewed from the master node 20A. (Step S1010). The VLAN processing unit 25 of the master node 20A changes the previously set topology information 87A to new topology information 87X (step S1020).
[0177] マスタノード 20Aの VLAN処理部 25は、変更後のトポロジー情報 87Xと、 VLAN 処理部 25に予め設定されて!、る VLANテーブル情報 85Aに基づ 、て、障害が発生 した VLAN (VLAN2, 3)を特定する(ステップ S 1030)。 [0177] The VLAN processing unit 25 of the master node 20A has a failure based on the topology information 87X after the change and the VLAN table information 85A preset in the VLAN processing unit 25! The identified VLAN (VLAN2, 3) is identified (step S1030).
[0178] マスタノード 20Aの VLAN処理部 25は、 VLAN2が現用 VLANであり、 VLAN2, 3の反対側の予備 VLAN 12, 13側のポート P2によって近接リンク断または遠隔リン ク断のリンク断通知等を受信していないので、 VLAN処理部 25は VLAN2, 3の設 定を予備 VLANに切り替える。また、マスタノード 20Aの VLAN処理部 25は、遠隔リ ンク断通知を受信したポート P2の閉塞状態を閉塞解除にする (ステップ S 1040)。  [0178] The VLAN processing unit 25 of the master node 20A indicates that the VLAN 2 is the working VLAN, and the standby VLAN 12 or the link loss notification of the remote link disconnection or the like by the port P2 on the side opposite to the VLANs 2 and 3 VLAN processing unit 25 switches the settings of VLANs 2 and 3 to the spare VLAN. Further, the VLAN processing unit 25 of the master node 20A releases the blocking state of the port P2 that has received the remote link disconnection notification (step S1040).
[0179] マスタノード 20Aの VLAN処理部 25は、リングネットワーク 90内でマスタノード 20A の隣に配置 (接続)されているスレーブノード 30Aに VLANの切替え処理を行なうよ う VLAN切替え要求 (切替要求の指示情報(MACフレーム) )を送信する。この VLA N切替え要求には、 VLAN 1を現用 VLANに切替えるための指示情報、 VLAN 11 のポート P2を閉塞にするための指示情報が含まれている。 VLAN切替え要求や後 述の VLAN切替え応答は閉塞ポートでも送受信可能とする。  [0179] The VLAN processing unit 25 of the master node 20A makes a VLAN switch request (switch request request) so that the slave node 30A arranged (connected) next to the master node 20A in the ring network 90 performs the VLAN switch processing. Instruction information (MAC frame)) is transmitted. This VLAN switching request includes instruction information for switching VLAN 1 to the working VLAN and instruction information for blocking port P2 of VLAN 11. VLAN switch requests and VLAN switch responses described later can be sent and received even on blocked ports.
[0180] スレーブノード 30Aは、 VLAN切替え要求を受信する。スレーブノード 30Aは、マ スタノード 20Aからの VLAN切替え要求に基づ!/、て VLANの切替え処理を行なう( ステップ S1050)。ここでは、スレーブノード 30Aの VLAN処理部 25は、 VLAN1が 現用 VLANであるため VLANの切替え処理を行なわない。また、スレーブノード 30 Aの VLAN処理部 25は、 VLAN11のポート P2が閉塞解除の状態であるため、ポー ト P2を閉塞にする。この後、スレーブノード 30Aの VLAN処理部 25は、マスタノード 20Aに VLANの切替え処理が完了したことを示す VLAN切替え応答(MACフレー ム)を送信する。スレーブノード 30Aは、リング端ノードとなるため受信した VLAN切 替え要求を転送しない。  [0180] Slave node 30A receives the VLAN switching request. The slave node 30A performs VLAN switching processing based on the VLAN switching request from the master node 20A (step S1050). Here, the VLAN processing unit 25 of the slave node 30A does not perform the VLAN switching process because VLAN1 is the working VLAN. In addition, the VLAN processing unit 25 of the slave node 30A blocks the port P2 because the port P2 of the VLAN 11 is in the unlocked state. Thereafter, the VLAN processing unit 25 of the slave node 30A transmits a VLAN switching response (MAC frame) indicating that the VLAN switching processing is completed to the master node 20A. Slave node 30A is a ring end node and does not forward the received VLAN switch request.
[0181] マスタノード 20Aの VLAN処理部 25は、リングネットワーク 90内でマスタノード 20A の隣に配置されているスレーブノード 30Cに逆方向経路で VLAN切替え要求を送 信する。この VLAN切替え要求には、 VLAN13を現用 VLANに切替えるための指 示情報、 VLAN13のポート P2を閉塞解除にするための指示情報が含まれている。  [0181] The VLAN processing unit 25 of the master node 20A transmits a VLAN switching request to the slave node 30C arranged next to the master node 20A in the ring network 90 through a reverse path. This VLAN switching request includes instruction information for switching VLAN 13 to the working VLAN, and instruction information for releasing port P2 of VLAN 13 from blocking.
[0182] スレーブノード 30Cは、 VLAN切替え要求を受信する。スレーブノード 30Cの VLA N処理部 25は、マスタノード 20Aからの VLAN切替え要求に基づいて VLANの切 替え処理を行なう(ステップ S1060)。ここでは、 VLAN13が予備 VLANであるととも に VLAN13のポート P2で近接リンク断や遠隔リンク断を受信していないため、 VLA N13を現用 VLANに切替える。また、スレーブノード 30Cの VLAN処理部 25は、 V LAN13のポート P2が閉塞の状態であるため、ポート P2の閉塞を解除する。この後、 スレーブノード 30Cの VLAN処理部 25は、マスタノード 20Aに VLANの切替え処理 が完了したことを示す VLAN切替え応答を送信する。 [0182] The slave node 30C receives the VLAN switching request. The VLAN processing unit 25 of the slave node 30C performs VLAN switching processing based on the VLAN switching request from the master node 20A (step S1060). Here, VLAN 13 is a spare VLAN Because the neighboring link disconnection or remote link disconnection is not received at port P2 of VLAN13, VLA N13 is switched to the working VLAN. Further, the VLAN processing unit 25 of the slave node 30C releases the blocking of the port P2 because the port P2 of the VLAN 13 is in the blocking state. Thereafter, the VLAN processing unit 25 of the slave node 30C transmits a VLAN switching response indicating that the VLAN switching processing is completed to the master node 20A.
[0183] マスタノード 20Aの VLAN処理部 25は、スレーブノード 30Cやスレーブノード 30A を介してスレーブノード 30Bに VLAN切替え要求を送信する。ここでは、リンク断等 が発生して 、な 、スレーブノード 30Cを介して VLAN2からスレーブノード 30Bに VL AN切替え要求を送信する。この VLAN切替え要求には、 VLAN 12を現用 VLAN に切替えるための指示情報、 VLAN2のスレーブノード 30Bのポート PIを閉塞にす るための指示情報が含まれている。  [0183] The VLAN processing unit 25 of the master node 20A transmits a VLAN switching request to the slave node 30B via the slave node 30C and the slave node 30A. In this case, if a link disconnection or the like occurs, a VLAN switching request is transmitted from VLAN 2 to slave node 30B via slave node 30C. This VLAN switching request includes instruction information for switching VLAN 12 to the working VLAN and instruction information for blocking port PI of slave node 30B of VLAN2.
[0184] スレーブノード 30Cは、マスタノード 20Aからスレーブノード 30B宛てに送信された VLAN切替え要求を受信する(ステップ S 1070)。ここでは、自らのノードへの VLA N切替え要求でな 、ため、この VLAN切替え要求を受信したポート P2と反対側のポ ート P1から VLAN切替え要求を転送する。  [0184] The slave node 30C receives the VLAN switching request transmitted from the master node 20A to the slave node 30B (step S1070). Here, since it is not a VLAN switching request to its own node, the VLAN switching request is transferred from the port P1 on the opposite side of the port P2 that received this VLAN switching request.
[0185] スレーブノード 30Bは、スレーブノード 30Cを介して VLAN切替え要求を受信する 。スレーブノード 30Bの VLAN処理部 25は、 VLAN 12が予備 VLANであるとともに VLAN12のポート P2で近接リンク断や遠隔リンク断を受信していないため、 VLAN 12を現用 VLANに切替える。また、スレーブノード 30Bの VLAN処理部 25は、 VL AN2のポート P1が閉塞解除の状態であるため、ポート P1を閉塞する。この後、スレ ーブノード 30Bの VLAN処理部 25は、マスタノード 20Aに VLANの切替え処理が 完了したことを示す VLAN切替え応答を逆方向経路で送信する。  [0185] The slave node 30B receives the VLAN switching request via the slave node 30C. The VLAN processing unit 25 of the slave node 30B switches the VLAN 12 to the working VLAN because the VLAN 12 is a backup VLAN and no close link or remote link disconnection is received at the port P2 of the VLAN 12. In addition, the VLAN processing unit 25 of the slave node 30B blocks the port P1 because the port P1 of the VLAN2 is in the release state. Thereafter, the VLAN processing unit 25 of the slave node 30B transmits a VLAN switching response indicating that the VLAN switching processing is completed to the master node 20A through the reverse path.
[0186] マスタノード 20Aは、各スレーブノード 30A— 30Cから VLAN切替え応答が送信さ れてくるまで、所定の時間または所定回数だけ各スレーブノード 30A— 30Cに対して 、 VLAN切替え要求の送信を繰り返す。  [0186] Master node 20A repeats transmission of a VLAN switching request to each slave node 30A-30C for a predetermined time or a predetermined number of times until a VLAN switching response is transmitted from each slave node 30A-30C. .
[0187] マスタノード 20Aの VLAN処理部 25は、 VLANの切替え処理、ポートの閉塞状態 の変更に応じて、 VLANテーブル情報 85A、トポロジー情報 87Aを変更して新たな VLANテーブル情報 85X、トポロジー情報 87Xを設定する。 [0188] スレーブノード 30A— 30Cの VLAN処理部 25は、 VLANの切替え処理、ポートの 閉塞状態の変更に応じて VLANテーブル情報 86A— 86Cを変更して新たな VLA Nテーブル情報 86X— 86Zを設定する。 [0187] The VLAN processing unit 25 of the master node 20A changes the VLAN table information 85A and the topology information 87A according to the VLAN switching processing and the change of the port blocking status, and creates new VLAN table information 85X and topology information 87X. Set. [0188] VLAN processing unit 25 of slave node 30A—30C changes VLAN table information 86A—86C and sets new VLAN table information 86X—86Z according to VLAN switching processing and port blocking status change To do.
[0189] このように、実施の形態 7によれば、マスタノード 20Aが各スレーブノード 30A— 30 Cに VLAN切替え要求を送信することが可能となる。各ノードがマスタノード 20Aから の VLAN切替え要求に基づ!/、て VLANの切替え処理を行なうので、マスタノードと スレーブノードの組み合わせの VLAN間毎に VLANの切り替えを制御することが可 能となる。したがって、マスタノードとスレーブノードの組み合わせの VLAN間毎に障 害の発生して 、な 、迂回経路を迅速に設定することが可能となる。  As described above, according to the seventh embodiment, the master node 20A can transmit a VLAN switching request to each of the slave nodes 30A-30C. Since each node performs VLAN switching processing based on the VLAN switching request from the master node 20A, it becomes possible to control VLAN switching for each VLAN of the combination of the master node and the slave node. . Therefore, it is possible to quickly set a detour route when a failure occurs between the VLANs of the combination of the master node and the slave node.
[0190] 実施の形態 8.  [0190] Embodiment 8.
図 2および図 32に従ってこの発明の実施の形態 8について説明する。本実施の形 態 8においては、マスタノード 20Aとスレーブノード 30A— 30Cの全ての VLAN終端 点間で VLANの監視を行って障害を検出した後、マスタノード 20Aがスレーブノード 30 A— 30Cに VLANの設定を切替えさせる。  An eighth embodiment of the present invention will be described with reference to FIGS. In this Embodiment 8, after monitoring the VLAN between all the VLAN termination points of the master node 20A and the slave nodes 30A-30C and detecting a failure, the master node 20A becomes a VLAN in the slave nodes 30A-30C. Change the setting.
[0191] 実施の形態 8に係る障害検出後の VLANの切替えの手順について説明する。ここ では、図 2に示すネットワークシステムのスレーブノード 30Aとスレーブノード 30Bの 間で障害が検出された後に VLANの設定変更を行なう場合を例にとって説明する。  A procedure for switching VLANs after failure detection according to Embodiment 8 will be described. Here, an example will be described in which the VLAN setting is changed after a failure is detected between slave node 30A and slave node 30B in the network system shown in FIG.
[0192] 図 32は実施の形態 8に係る障害検出後の VLANの切替えの手順を示すフローチ ヤートである。本実施の形態 8においては、実施の形態 3, 6と同様の手順によって V LAN障害を検出するため、その説明を省略する。なお、ここでのステップ S 1100, S 1110力 図 30に示した実施の形態 6のステップ S900, S910に対応する。  FIG. 32 is a flowchart showing the procedure for switching VLANs after failure detection according to the eighth embodiment. In the eighth embodiment, since a VLAN failure is detected by the same procedure as in the third and sixth embodiments, the description thereof is omitted. Steps S1100 and S1110 here correspond to steps S900 and S910 of the sixth embodiment shown in FIG.
[0193] マスタノード 20Aの VLAN処理部 25は、 VLAN2, 3が現用 VLANであり、 VLAN 2, 3の反対側の予備 VLAN12, 13側のポート P2によって近接リンク断または遠隔リ ンク断のリンク断通知等を受信していないので、 VLAN処理部 25は VLAN2, 3の設 定を予備 VLANに切り替える。また、マスタノード 20Aの VLAN処理部 25は、遠隔リ ンク断通知を受信したポート P2の閉塞状態を閉塞解除にする (ステップ S 1120)。  [0193] In the VLAN processing unit 25 of the master node 20A, VLANs 2 and 3 are working VLANs, and adjacent link disconnection or remote link disconnection is caused by port P2 on the backup VLANs 12 and 13 on the opposite side of VLANs 2 and 3. Since the notification is not received, the VLAN processing unit 25 switches the settings of VLAN 2 and 3 to the spare VLAN. In addition, the VLAN processing unit 25 of the master node 20A releases the blocking state of the port P2 that has received the remote link disconnection notification (step S1120).
[0194] マスタノード 20Aの VLAN処理部 25は、逆方向経路でスレーブノード 30Bに VLA N切替え要求を送信する。この VLAN切替え要求には、 VLAN 12を現用 VLANに 切替えるための指示情報が含まれている。 [0194] The VLAN processing unit 25 of the master node 20A transmits a VLAN switching request to the slave node 30B through the reverse path. For this VLAN switch request, VLAN 12 is changed to the working VLAN. Instruction information for switching is included.
[0195] スレーブノード 30Bは、 VLAN切替え要求を受信する。スレーブノード 30Bは、マス タノード 20Aからの VLAN切替え要求に基づ!/、て VLANの切替え処理を行なう(ス テツプ S 1130)。  [0195] The slave node 30B receives the VLAN switching request. The slave node 30B performs VLAN switching processing based on the VLAN switching request from the master node 20A (step S 1130).
[0196] ここでは、 VLAN12が予備 VLANであるとともに VLAN12のポート P2で近接リン ク断ゃ遠隔リンク断を受信していないため、 VLAN12を現用 VLANに切替える。ス レーブノード 30Bの VLAN処理部 25は、マスタノード 20Aに VLANの切替え処理が 完了したことを示す VLAN切替え応答を送信する。  [0196] Here, since VLAN 12 is a spare VLAN and a close link is not received at port P2 of VLAN 12, a remote link disconnection is not received, so VLAN 12 is switched to the working VLAN. The VLAN processing unit 25 of the slave node 30B transmits a VLAN switching response indicating that the VLAN switching processing has been completed to the master node 20A.
[0197] マスタノード 20Aの VLAN処理部 25は、逆方向経路でスレーブノード 30Cに VLA[0197] The VLAN processing unit 25 of the master node 20A performs VLA to the slave node 30C through the reverse path.
N切替え要求を送信する。この VLAN切替え要求には、 VLAN 13を現用 VLANに 切替えるための指示情報が含まれている。 Send N switching request. This VLAN switching request includes instruction information for switching VLAN 13 to the working VLAN.
[0198] スレーブノード 30Cは、 VLAN切替え要求を受信する。スレーブノード 30Cは、マ スタノード 20Aからの VLAN切替え要求に基づ!/、て VLANの切替え処理を行なう( ステップ S 1140)。 [0198] The slave node 30C receives the VLAN switching request. The slave node 30C performs VLAN switching processing based on the VLAN switching request from the master node 20A (step S 1140).
[0199] ここでは、 VLAN13が予備 VLANであるとともに VLAN13のポート P2で近接リン ク断ゃ遠隔リンク断を受信していないため、 VLAN13を現用 VLANに切替える。ス レーブノード 30Cの VLAN処理部 25は、マスタノード 20Aに VLANの切替え処理が 完了したことを示す VLAN切替え応答を送信する。  [0199] Here, since VLAN 13 is a spare VLAN and a close link is not received at port P2 of VLAN 13, a remote link disconnection is not received, so VLAN 13 is switched to the working VLAN. The VLAN processing unit 25 of the slave node 30C transmits a VLAN switching response indicating that the VLAN switching processing has been completed to the master node 20A.
[0200] マスタノード 20Aの VLAN処理部 25は、 VLAN 11が予備 VLANであるため、スレ ーブノード 30Aに VLAN切替え要求を送信しない。ネットワークシステム内において VLANの切替えが行なわれると、ネットワークシステムは図 29に示した構成に変更さ れる。  [0200] The VLAN processing unit 25 of the master node 20A does not transmit a VLAN switching request to the slave node 30A because VLAN 11 is a spare VLAN. When VLAN switching is performed in the network system, the network system is changed to the configuration shown in FIG.
[0201] マスタノード 20Aは、スレーブノード 30A— 30Cから VLAN切替え応答が送信され てくるまで、所定の時間または所定回数だけスレーブノード 30A— 30Cに対して、 V LAN切替え要求の送信を繰り返す。  [0201] The master node 20A repeats transmission of a VLAN switching request to the slave nodes 30A-30C for a predetermined time or a predetermined number of times until a VLAN switching response is transmitted from the slave nodes 30A-30C.
[0202] スレーブノード 30A— 30Cの VLAN処理部 25は、 VLANの切替え処理に応じて V LANテーブル情報 86A— 86Cを変更して新たな VLANテーブル情報 86X— 86Z を設定する。ここでの VLANテーブル情報 86X— 86Zには、ポートの閉塞状態を必 要としない。 [0202] The VLAN processing unit 25 of the slave nodes 30A-30C changes the VLAN table information 86A-86C according to the VLAN switching process and sets new VLAN table information 86X-86Z. Here, the VLAN table information 86X-86Z requires the port blocking status. I don't need it.
[0203] このように、実施の形態 8によれば、マスタノード 20Aが各スレーブノード 30A— 30 Cに VLAN切替え要求を送信することが可能となる。各ノードがマスタノード 20Aから の VLAN切替え要求に基づ!/、て VLANの切替え処理を行なうので、マスタノードと スレーブノードの組み合わせの VLAN間毎に VLANの切り替えを制御することが可 能となる。したがって、マスタノードとスレーブノードの組み合わせの VLAN間毎に障 害の発生して 、な 、迂回経路を迅速に設定することが可能となる。  As described above, according to the eighth embodiment, the master node 20A can transmit a VLAN switching request to each of the slave nodes 30A-30C. Since each node performs VLAN switching processing based on the VLAN switching request from the master node 20A, it becomes possible to control VLAN switching for each VLAN of the combination of the master node and the slave node. . Therefore, it is possible to quickly set a detour route when a failure occurs between the VLANs of the combination of the master node and the slave node.
[0204] また、マスタノード 20Aとスレーブノード 30A— 30Cとの間の VLANの終端点間で 障害の発生を監視して 1、るので、ポートの閉塞状態やトポロジー情報の制御を行なう ことなく迂回経路を迅速に設定することが可能となる。  [0204] In addition, since the occurrence of a failure is monitored between the end points of the VLAN between the master node 20A and the slave nodes 30A-30C, it is bypassed without controlling the port blocking status or topology information. The route can be set quickly.
[0205] 実施の形態 9.  [0205] Embodiment 9.
図 12、図 33および図 34に従ってこの発明の実施の形態 9について説明する。本 実施の形態 9においては、マスタノード 20A, 20B、スレーブノード 30A, 30Bがリン ク断通知、品質劣化通知の受信によって障害の発生を検出した後、複数のマスタノ ードが 1一複数のスレーブノードに VLANの設定を切替えさせる。  A ninth embodiment of the present invention will be described with reference to FIG. 12, FIG. 33 and FIG. In the ninth embodiment, the master nodes 20A and 20B and the slave nodes 30A and 30B detect the occurrence of a failure by receiving the link disconnection notification and the quality degradation notification, and then a plurality of master nodes are connected to one or more slaves. Have the node switch the VLAN settings.
[0206] 実施の形態 9に係る障害検出後の VLANの切替えの手順について説明する。ここ では、図 12に示すネットワークシステムのスレーブノード 30Aとスレーブノード 30Bの 間で障害が検出された後に VLANの設定変更を行なう場合を例にとって説明する。  A VLAN switching procedure after failure detection according to the ninth embodiment will be described. Here, an example will be described in which the VLAN setting is changed after a failure is detected between slave node 30A and slave node 30B of the network system shown in FIG.
[0207] 図 33は実施の形態 9に係る障害検出後の VLANの切替えの手順を示すフローチ ヤートである。例えば、実施の形態 1や実施の形態 2で説明したように、マスタノード 2 OAが、 VLAN1, 2, 51の順方向側ポート 21でリンク断通知や品質劣化通知を受信 して接続判断部 28が障害発生を検出する。また、マスタノード 20Bは、 VLAN61, 6 2の逆方向側ポート 22でリンク断通知や品質劣化通知を受信して接続判断部 28が 障害発生を検出する (ステップ S 1200)。マスタノード 20A, 20Bの接続判断部 28は 、閉塞になったスレーブノード 30Aとスレーブノード 30Bの間のポートを特定する(ス テツプ S 1210)。  FIG. 33 is a flowchart showing a procedure for switching VLANs after failure detection according to the ninth embodiment. For example, as described in the first embodiment and the second embodiment, the master node 2 OA receives the link disconnection notification and the quality degradation notification at the forward ports 21 of VLAN1, 2, 51 and receives the connection determination unit 28. Detects a failure. In addition, the master node 20B receives a link disconnection notification or a quality degradation notification at the reverse port 22 of the VLANs 61 and 62, and the connection determination unit 28 detects the occurrence of a failure (step S1200). The connection determination unit 28 of the master nodes 20A and 20B specifies the port between the slave node 30A and the slave node 30B that are blocked (step S1210).
[0208] マスタノード 20A, 20Bの VLAN処理部 25は、予め設定されていたトポロジー情報 87Aを新たなトポロジー情報 87Xに変更する(ステップ S1220)。マスタノード 20A, 20Bの VLAN処理部 25は、障害の発生した現用 VLANは VLAN61と VLAN62で あることを特定する(ステップ S 1230)。 [0208] The VLAN processing unit 25 of the master nodes 20A and 20B changes the previously set topology information 87A to new topology information 87X (step S1220). Master node 20A, The VLAN processing unit 25 of 20B specifies that the faulty working VLANs are VLAN 61 and VLAN 62 (step S 1230).
[0209] マスタノード 20A, 20Bの VLAN処理部 25は、管理用の現用 VLAN51に対応す る(反対側の)管理用の予備 VLAN75のポート P2によって近接リンク断または遠隔リ ンク断のリンク断通知を受信していないので、現用 VLAN51を予備 VLANに切替え るととも〖こ、予備 VLAN75を現用 VLAN75に切替える(ステップ S1240)。  [0209] The VLAN processing unit 25 of the master nodes 20A and 20B notifies the link disconnection of the proximity link disconnection or the remote link disconnection by the port P2 of the management spare VLAN 75 corresponding to the management working VLAN 51 (on the opposite side). Since the active VLAN 51 is switched to the protection VLAN, the protection VLAN 75 is switched to the active VLAN 75 (step S1240).
[0210] マスタノード 20Aの VLAN処理部 25は、マスタノード 20Aのポート P2の閉塞状態 を閉塞解除にする。また、マスタノード 20Bの VLAN処理部 25は、マスタノード 20B のポート P2の閉塞状態を閉塞解除にする。  [0210] The VLAN processing unit 25 of the master node 20A releases the blocking state of the port P2 of the master node 20A. Further, the VLAN processing unit 25 of the master node 20B releases the blocking state of the port P2 of the master node 20B.
[0211] マスタノード 20A, 20Bの VLAN処理部 25は、リングネットワーク 90内のリンク毎の 通信トラヒック量が均一化 (通信トラヒックの合計が平均化)されるよう、各スレーブノー ドが利用する VLAN、トポロジー情報 87X、ポートの閉塞状態、各スレーブノードへ 切替え要求等をスレーブノードに送信するマスタノード(以下、通知元マスタノードと いう)を決定する。マスタノード 20A, 20Bは、管理用の VLAN75によって連携し、通 知元マスタノードを決定する(ステップ S 1250)。  [0211] The VLAN processing unit 25 of the master nodes 20A and 20B is a VLAN used by each slave node so that the communication traffic volume for each link in the ring network 90 is equalized (the total communication traffic is averaged). Determine the master node that sends topology information 87X, port blocking status, switch request to each slave node, etc. to the slave node (hereinafter referred to as notification source master node). The master nodes 20A and 20B cooperate with each other through the management VLAN 75 to determine a notification source master node (step S 1250).
[0212] 例えば、マスタノード 20Aをスレーブノード 30Aに切替え要求を送信する通知元マ スタノードとし、マスタノード 20Bをスレーブノード 30Bに切替え要求を送信する通知 元マスタノードとする。  [0212] For example, the master node 20A is a notification source master node that transmits a switching request to the slave node 30A, and the master node 20B is a notification source master node that transmits a switching request to the slave node 30B.
[0213] マスタノード 20Aの VLAN処理部 25は、スレーブノード 30Aに VLAN切替え要求 を送信する。この VLAN切替え要求には、 VLAN 1を現用 VLANに切替えるための 指示情報、 VLAN61のスレーブノード 30Aのポート P2を閉塞にするための指示情 報が含まれている。  [0213] The VLAN processing unit 25 of the master node 20A transmits a VLAN switching request to the slave node 30A. This VLAN switching request includes instruction information for switching VLAN 1 to the working VLAN, and instruction information for blocking port P2 of slave node 30A of VLAN 61.
[0214] スレーブノード 30Aは、 VLAN切替え要求を受信する。スレーブノード 30Aは、マ スタノード 20Aからの VLAN切替え要求に基づ!/、て VLANの切替え処理を行なう( ステップ S1260)。ここでは、スレーブノード 30Aの VLAN処理部 25は、 VLAN1が 現用 VLANであるため VLANの切替え処理を行なわない。また、スレーブノード 30 Aの VLAN処理部 25は、 VLAN61のスレーブノード 30Aのポート P2が閉塞解除の 状態であるため、ポート P2を閉塞にする。この後、スレーブノード 30Aの VLAN処理 部 25は、マスタノード 20Aに VLANの切替え処理が完了したことを示す VLAN切替 え応答を送信する。 [0214] The slave node 30A receives the VLAN switching request. The slave node 30A performs VLAN switching processing based on the VLAN switching request from the master node 20A (step S1260). Here, the VLAN processing unit 25 of the slave node 30A does not perform the VLAN switching process because VLAN1 is the working VLAN. Further, the VLAN processing unit 25 of the slave node 30A closes the port P2 because the port P2 of the slave node 30A of the VLAN 61 is in the release state. After this, VLAN processing of slave node 30A The unit 25 transmits a VLAN switching response indicating that the VLAN switching processing is completed to the master node 20A.
[0215] マスタノード 20Bの VLAN処理部 25は、スレーブノード 30Bに VLAN切替え要求 を送信する。この VLAN切替え要求には、 VLAN62を現用 VLANに切替えるため の指示情報、 VLAN2のスレーブノード 30Bのポート P1を閉塞にするための指示情 報が含まれている。  [0215] The VLAN processing unit 25 of the master node 20B transmits a VLAN switching request to the slave node 30B. This VLAN switching request includes instruction information for switching VLAN 62 to the working VLAN and instruction information for blocking port P1 of slave node 30B of VLAN2.
[0216] スレーブノード 30Bは、 VLAN切替え要求を受信する。スレーブノード 30Bは、マス タノード 20Bからの VLAN切替え要求に基づ!/、て VLANの切替え処理を行なう(ス テツプ S1270)。ここでは、スレーブノード 30Bの VLAN処理部 25は、予備 VLANで ある VLAN62を現用 VLANに切替える。また、スレーブノード 30Bの VLAN処理部 25は、 VLAN2のスレーブノード 30Bのポート P1を閉塞にする。この後、スレーブノ ード 30Bの VLAN処理部 25は、マスタノード 20Aに VLANの切替え処理が完了し たことを示す VLAN切替え応答を送信する。  [0216] The slave node 30B receives the VLAN switching request. The slave node 30B performs the VLAN switching process based on the VLAN switching request from the master node 20B (step S1270). Here, the VLAN processing unit 25 of the slave node 30B switches the VLAN 62, which is a backup VLAN, to the working VLAN. Further, the VLAN processing unit 25 of the slave node 30B closes the port P1 of the slave node 30B of VLAN2. Thereafter, the VLAN processing unit 25 of the slave node 30B transmits a VLAN switching response indicating that the VLAN switching processing is completed to the master node 20A.
[0217] マスタノード 20A, 20Bは、スレーブノード 30A, 30Bから VLAN切替え応答が送 信されてくるまで、所定の時間または所定回数だけスレーブノード 30A, 30Bに対し て、 VLAN切替え要求の送信を繰り返す。  [0217] The master nodes 20A and 20B repeat the transmission of the VLAN switching request to the slave nodes 30A and 30B for a predetermined time or a predetermined number of times until the VLAN switching response is transmitted from the slave nodes 30A and 30B. .
[0218] 図 34は、図 12に示したネットワークシステムの VLAN切替え後の構成を示す図で ある。マスタノード 20Aとマスタノード 20Bの間のリンクが閉塞解除になり、スレーブノ ード 30Aとスレーブノード 30Bの間のリンクが閉塞リンク 56になっている。リングネット ワーク 90内の各ノードによって VLANの変更が行なわれた後も、実施の形態 1に係 るネットワークシステム内での情報の送受信と同様の手順によって情報を送受信する  FIG. 34 is a diagram showing a configuration after VLAN switching of the network system shown in FIG. The link between master node 20A and master node 20B is released from blocking, and the link between slave node 30A and slave node 30B is blocked link 56. Even after the VLAN is changed by each node in the ring network 90, information is transmitted and received in the same procedure as the information transmission and reception in the network system according to the first embodiment.
[0219] このように、実施の形態 9によれば、リングネットワーク 90内のリンク毎の通信トラヒッ ク量が均一化されるよう、複数のマスタノードによって複数のスレーブノードに VLAN の切り替え処理を行わせるため、リングネットワーク 90内の資源を有効に利用して迂 回経路を設定することが可能となる。 [0219] Thus, according to the ninth embodiment, VLAN switching processing is performed by a plurality of master nodes to a plurality of slave nodes so that the communication traffic amount for each link in the ring network 90 is equalized. Therefore, it is possible to set a detour route by effectively using resources in the ring network 90.
[0220] 実施の形態 10.  [0220] Embodiment 10.
図 12および図 35に従ってこの発明の実施の形態 10について説明する。本実施の 形態 10においては、マスタノード 20A, 20Bとスレーブノード 30A, 30Bの全ての VL AN終端点間で VLANの監視を行って障害を検出した後、複数のマスタノードが 1一 複数のスレーブノードに VL ANの設定を切替えさせる。 A tenth embodiment of the present invention will be described with reference to FIGS. This implementation In Form 10, after monitoring the VLAN between all the VL AN termination points of master nodes 20A, 20B and slave nodes 30A, 30B and detecting a failure, multiple master nodes become VL to multiple slave nodes. Change the AN setting.
[0221] 実施の形態 10に係る障害検出後の VLANの切替えの手順について説明する。こ こでは、図 12に示すネットワークシステムのスレーブノード 30Aとスレーブノード 30B の間で障害が検出された後に VLANの設定変更を行なう場合を例にとって説明する A procedure for switching VLANs after failure detection according to the tenth embodiment will be described. Here, an example is described in which the VLAN setting is changed after a failure is detected between slave node 30A and slave node 30B in the network system shown in FIG.
[0222] 図 35は実施の形態 10に係る障害検出後の VLANの切替えの手順を示すフロー チャートである。本実施の形態 10においては、実施の形態 3, 6, 8と同様の手順によ つて VLAN障害を検出するため、その説明を省略する。なお、ここでのステップ S13 00, S1310力 図 32に示した実施の形態 8のステップ S1100, S1110に対応する。 FIG. 35 is a flowchart showing a procedure for switching VLANs after failure detection according to the tenth embodiment. In the tenth embodiment, a VLAN failure is detected by the same procedure as in the third, sixth, and eighth embodiments, and the description thereof is omitted. Steps S1300 and S1310 in this case correspond to steps S1100 and S1110 of the eighth embodiment shown in FIG.
[0223] マスタノード 20A, 20Bの VLAN処理部 25は、管理用の現用 VLAN51に対応す る(反対側の)管理用の予備 VLAN75で VLAN障害を検出して 、な 、ので、現用 V LAN51を予備 VLANに切替えるとともに、予備 VLAN 75を現用 VLAN 75に切替 える(ステップ S 1320)。  [0223] The VLAN processing unit 25 of the master nodes 20A and 20B detects a VLAN failure in the management spare VLAN 75 corresponding to the management working VLAN 51 (on the opposite side). In addition to switching to the spare VLAN, the spare VLAN 75 is switched to the working VLAN 75 (step S 1320).
[0224] マスタノード 20A, 20Bの VLAN処理部 25は、リングネットワーク 90内のリンク毎の 通信トラヒック量が均一化されるよう、各スレーブノードが利用する VLAN、トポロジー 情報 87X、ポートの閉塞状態、各スレーブノードに対する通知元マスタノードを決定 する。マスタノード 20A, 20Bは、管理用の VLAN75によって連携し、通知元マスタ ノードを決定する (ステップ S 1330)。  [0224] The VLAN processing unit 25 of the master nodes 20A and 20B includes the VLAN used by each slave node, topology information 87X, port blocking state, so that the communication traffic volume for each link in the ring network 90 is equalized. Determine the notification master node for each slave node. The master nodes 20A and 20B cooperate with each other through the management VLAN 75 to determine a notification source master node (step S 1330).
[0225] 例えば、マスタノード 20Aをスレーブノード 30Aに切替え要求を送信する通知元マ スタノードとし、マスタノード 20Bをスレーブノード 30Bに切替え要求を送信する通知 元マスタノードとする。  [0225] For example, the master node 20A is a notification source master node that transmits a switching request to the slave node 30A, and the master node 20B is a notification source master node that transmits a switching request to the slave node 30B.
[0226] VLAN 1が現用 VLANであるため、マスタノード 20Aはいずれのスレーブノードに も VLAN切替え要求を送信しない。マスタノード 20Bの VLAN処理部 25は、スレー ブノード 30Bに VLAN切替え要求を送信する。この VLAN切替え要求には、 VLAN 62を現用 VLANに切替えるための指示情報が含まれている。  [0226] Since VLAN 1 is the working VLAN, master node 20A does not send a VLAN switch request to any slave node. The VLAN processing unit 25 of the master node 20B transmits a VLAN switching request to the slave node 30B. This VLAN switching request includes instruction information for switching the VLAN 62 to the working VLAN.
[0227] スレーブノード 30Bは、 VLAN切替え要求を受信する。スレーブノード 30Bは、マス タノード 20Bからの VLAN切替え要求に基づ!/、て VLANの切替え処理を行なう(ス テツプ S 1340)。 [0227] The slave node 30B receives the VLAN switching request. Slave node 30B Based on the VLAN switching request from the node 20B, the VLAN switching processing is performed (step S 1340).
[0228] すなわち、スレーブノード 30Bの VLAN処理部 25は、予備 VLANである VLAN6 2を現用 VLANに切替え、現用 VLANである VLAN2を予備 VLANに切替える。こ の後、スレーブノード 30Bの VLAN処理部 25は、マスタノード 20Aに VLANの切替 え処理が完了したことを示す VLAN切替え応答を送信する。  That is, the VLAN processing unit 25 of the slave node 30B switches the VLAN 62, which is a backup VLAN, to the working VLAN, and switches the VLAN 2, which is the working VLAN, to the protection VLAN. Thereafter, the VLAN processing unit 25 of the slave node 30B transmits a VLAN switching response indicating that the VLAN switching processing is completed to the master node 20A.
[0229] マスタノード 20Bは、スレーブノード 30Bから VLAN切替え応答が送信されてくるま で、所定の時間または所定回数だけスレーブノード 30Bに対して、 VLAN切替え要 求の送信を繰り返す。  [0229] Master node 20B repeats the transmission of a VLAN switching request to slave node 30B for a predetermined time or a predetermined number of times until a VLAN switching response is transmitted from slave node 30B.
[0230] このように、実施の形態 10によれば、リングネットワーク 90内のリンク毎の通信トラヒ ック量が均一化されるよう、複数のマスタノードによって複数のスレーブノードに VLA Nの切り替え処理を行わせるため、リングネットワーク 90内の資源を有効に利用して 迂回経路を設定することが可能となる。  [0230] Thus, according to the tenth embodiment, the VLA N switching process is performed by a plurality of master nodes to a plurality of slave nodes so that the communication traffic volume for each link in the ring network 90 is equalized. Therefore, it is possible to set a detour route by effectively using resources in the ring network 90.
[0231] また、マスタノード 20A, 20Bとスレーブノード 30A, 30Bとの間の VLANの終端点 間で障害の発生を監視して 、るので、ポートの閉塞状態やトポロジー情報の制御を 行なうことなく迂回経路を迅速に設定することが可能となる。  [0231] In addition, since the occurrence of a failure is monitored between the end points of the VLAN between the master nodes 20A and 20B and the slave nodes 30A and 30B, it is possible to control the port blocking state and topology information. It is possible to quickly set a detour route.
産業上の利用可能性  Industrial applicability
[0232] 以上のように、本発明に力かる通信ネットワークシステムおよび障害検出装置は、ネ ットワーク障害の検出、ネットワーク障害の回避に適している。 [0232] As described above, the communication network system and the failure detection apparatus according to the present invention are suitable for detecting network failures and avoiding network failures.

Claims

請求の範囲 The scope of the claims
[1] リング状に接続されたレイヤ 2スィッチとして上位ネットワークと接続するマスタノード および下位ネットワークと接続するスレーブノードを有し、前記マスタノードと前記スレ ーブノードを接続する仮想 LANを、前記マスタノードに対する前記スレーブノードの 全ての組合わせ毎に前記リング内に沿って異なる 2つの通信経路方向で設定すると ともに、前記マスタノードまたは前記スレーブノードの前記リング内のリンク端の 1組の ポートを閉塞したオープンリング状の通信ネットワークシステムであって、  [1] A master node connected to an upper network as a layer 2 switch connected in a ring shape and a slave node connected to a lower network, and a virtual LAN connecting the master node and the slave node is connected to the master node Set in two different communication path directions along the ring for every combination of the slave nodes and open one port at the link end in the ring of the master node or the slave node. A ring-shaped communication network system,
前記マスタノードおよび前記スレーブノードは、  The master node and the slave node are
自らのノードと隣り合う隣接リンク間で情報の送受信を行う 2つの通信ポートと、 前記通信ポートを介して受信する情報に基づいて通信障害の検出を行なう障害検 出部と、を備え、  Two communication ports that transmit and receive information between adjacent links adjacent to its own node, and a failure detection unit that detects a communication failure based on information received via the communication port,
前記障害検出部は、通信障害を検出すると通信障害を検出した際に情報を受信し た通信ポートとは異なる通信ポートに通信障害に関する通信障害情報の送信を行な わせるとともに、前記通信ポートが他のノードから前記通信障害情報を受信すると前 記通信障害情報を受信した通信ポートとは異なる通信ポートに前記通信障害情報の 転送を行なわせることを特徴とする通信ネットワークシステム。  When detecting a communication failure, the failure detection unit transmits communication failure information related to the communication failure to a communication port different from the communication port that received the information when the communication failure was detected. When the communication failure information is received from another node, the communication failure information is transferred to a communication port different from the communication port that has received the communication failure information.
[2] 前記通信ポートは、前記自らのノードと隣り合うリンク間で下位レイヤを監視するた めの情報を送受信し、 [2] The communication port transmits and receives information for monitoring a lower layer between the link adjacent to the own node,
前記障害検出部は、前記通信ポートによって前記下位レイヤを監視するための情 報の受信が途絶すると、前記隣接リンク間における下位レイヤのリンク断を通信障害 として検出することを特徴とする請求項 1に記載の通信ネットワークシステム。  2. The failure detection unit detects a link break of a lower layer between the adjacent links as a communication failure when reception of information for monitoring the lower layer is interrupted by the communication port. The communication network system described in 1.
[3] 前記障害検出部は、前記通信ポートによって受信する情報の伝送品質が劣化する と、前記隣接リンク間における伝送品質の劣化を通信障害として検出することを特徴 とする請求項 1に記載の通信ネットワークシステム。 3. The failure detection unit according to claim 1, wherein when the transmission quality of information received by the communication port deteriorates, the failure detection unit detects a deterioration in transmission quality between the adjacent links as a communication failure. Communication network system.
[4] 前記マスタノードおよび前記スレーブノードは、 [4] The master node and the slave node are:
自らの前記障害検出部が通信障害を検出すると、通信障害の発生したリンク間で の情報の送受信を回避するよう前記仮想 LANの設定を変更する第 1の仮想 LAN設 定部と、 自らの前記障害検出部が通信障害を検出した際に、前記通信ポートの閉塞または 非閉塞を変更する第 1のポート変更部と、 A first virtual LAN setting unit that changes the setting of the virtual LAN so as to avoid transmission / reception of information between links in which the communication failure has occurred when the failure detection unit of the device itself detects a communication failure; A first port changing unit that changes blocking or non-blocking of the communication port when the failure detecting unit of itself detects a communication failure;
をさらに備えることを特徴とする請求項 1に記載の通信ネットワークシステム。  The communication network system according to claim 1, further comprising:
[5] 前記マスタノードは、 [5] The master node is
自らの前記障害検出部が通信障害を検出すると、通信障害の発生したリンク間で の情報の送受信を回避するよう前記仮想 LANの設定を変更する第 2の仮想 LAN設 定部と、  A second virtual LAN setting unit that changes the setting of the virtual LAN so as to avoid transmission / reception of information between links in which the communication failure has occurred when the failure detection unit of the device itself detects a communication failure;
自らの前記障害検出部が通信障害を検出した際に、前記通信ポートの閉塞または 非閉塞を変更する第 2のポート変更部と、  A second port changing unit that changes blocking or non-blocking of the communication port when the failure detecting unit of itself detects a communication failure;
自らの障害検出部が通信障害を検出すると、通信障害の発生したリンク間での情 報の送受信を回避するよう前記仮想 LANの設定変更を指示するための VLAN変更 情報と前記通信ポートの閉塞または非閉塞の設定変更を指示するためのポート変更 情報とを前記スレーブノードに送信する変更指示部と、をさらに備え、  When its own fault detection unit detects a communication fault, the VLAN change information for instructing the virtual LAN setting change so as to avoid the transmission / reception of information between the links where the communication fault has occurred and the communication port is blocked or A change instructing unit that transmits port change information for instructing non-blocking setting change to the slave node, and
前記スレーブノードは、前記変更指示部からの VLAN指示情報に基づ 、て前記仮 想 LANの設定を変更する第 3の仮想 LAN設定部と、前記変更指示部力 のポート 変更情報に基づいて前記通信ポートの閉塞または非閉塞の設定を変更する第 3の ポート変更部と、をさらに備えることを特徴とする請求項 1に記載の通信ネットワークシ ステム。  The slave node is configured to change the virtual LAN setting based on the VLAN instruction information from the change instruction unit, and based on the port change information of the change instruction unit power. The communication network system according to claim 1, further comprising a third port changing unit that changes the setting of blocking or non-blocking of the communication port.
[6] 前記マスタノードおよびスレーブノードが複数力もなる場合、  [6] When the master node and the slave node have multiple forces,
前記マスタノードは、  The master node is
自らの前記障害検出部が通信障害を検出すると、通信障害の発生したリンク間で の情報の送受信を回避するよう前記仮想 LANの設定を変更する第 4の仮想 LAN設 定部と、  A fourth virtual LAN setting unit that changes the setting of the virtual LAN so as to avoid transmission / reception of information between links in which the communication failure has occurred when the failure detection unit of the device itself detects a communication failure;
自らの前記障害検出部が通信障害を検出した際に、前記通信ポートの閉塞または 非閉塞を変更する第 4のポート変更部と、  A fourth port changing unit that changes blocking or non-blocking of the communication port when the failure detecting unit of itself detects a communication failure;
前記マスタノードの障害検出部が通信障害を検出すると、  When the failure detection unit of the master node detects a communication failure,
前記複数のマスタノード同士で送受信される情報に基づいて、  Based on information transmitted and received between the plurality of master nodes,
通信障害の発生したリンク間での情報の送受信を回避するよう前記仮想 LANの設 定変更を指示するための VLAN変更情報と前記通信ポートの閉塞または非閉塞の 設定変更を指示するためのポート変更情報の送信先となるスレーブノードを前記マス タノード毎に決定する送信先決定部と、 Configure the virtual LAN to avoid sending and receiving information between links where communication failure has occurred. A transmission destination determination unit that determines, for each master node, a slave node that is a transmission destination of the VLAN change information for instructing a fixed change and the port change information for instructing a change in the setting of blocking or non-blocking of the communication port; ,
前記送信先決定部が決定した結果に基づいて前記通信ポートに前記 VLAN変更 情報および前記ポート変更情報を前記スレーブノードに送信する第 3の変更指示部 と、をさらに備え、  A third change instructing unit that transmits the VLAN change information and the port change information to the communication port to the slave node based on a result determined by the transmission destination determining unit;
前記スレーブノードは、前記変更指示部からの VLAN指示情報に基づ 、て前記仮 想 LANの設定を変更する第 7の仮想 LAN設定部と、前記変更指示部力 のポート 変更情報に基づいて前記通信ポートの閉塞または非閉塞の設定を変更する第 5の ポート変更部と、をさらに備えることを特徴とする請求項 1に記載の通信ネットワークシ ステム。  The slave node is configured to change a setting of the virtual LAN based on VLAN instruction information from the change instruction unit, and based on the port change information of the change instruction unit power. The communication network system according to claim 1, further comprising a fifth port changing unit that changes the setting of blocking or non-blocking of the communication port.
[7] リング状に接続されたレイヤ 2スィッチとして上位ネットワークと接続するマスタノード および下位ネットワークと接続するスレーブノードを有し、前記マスタノードと前記スレ ーブノードを接続する仮想 LANを、前記マスタノードに対する前記スレーブノードの 全ての組合わせ毎に前記リング内に沿って異なる 2つの通信経路方向で設定すると ともに、前記マスタノードと前記スレーブノードとの接続による 1組のリンクのリンク端の ポートを閉塞したオープンリング状の通信ネットワークシステムであって、  [7] A master node connected to an upper network as a layer 2 switch connected in a ring shape and a slave node connected to a lower network, and a virtual LAN connecting the master node and the slave node is connected to the master node For each combination of the slave nodes, setting is made in two different communication path directions along the ring, and the link end port of one set of links by the connection between the master node and the slave node is blocked. An open ring communication network system,
前記マスタノードおよび前記スレーブノードは、  The master node and the slave node are
自らのノードと隣り合う隣接リンク間で情報の送受信を行う 2つの通信ポートと、 前記通信ポートを介して前記仮想 LANの終端点で受信する情報に基づいて通信 障害の検出を行なう障害検出部と、を備え、  Two communication ports that transmit and receive information between adjacent links adjacent to its own node, and a failure detection unit that detects a communication failure based on information received at the termination point of the virtual LAN via the communication port; With
前記障害検出部は、通信障害を検出した際には前記マスタノードと前記スレーブノ ード間で設定される仮想 LAN毎に前記異なる 2つの通信経路方向の通信ポートに 通信障害に関する通信障害情報の送信を行なわせることを特徴とする通信ネットヮ ークシステム。  When detecting a communication failure, the failure detection unit transmits communication failure information related to the communication failure to the communication ports in the two different communication path directions for each virtual LAN set between the master node and the slave node. A communication network system characterized by having
[8] 前記マスタノードおよび前記スレーブノードは、  [8] The master node and the slave node are:
自らの前記障害検出部が通信障害を検出すると、通信障害の発生したリンク間で の情報の送受信を回避するよう前記仮想 LANの設定を変更する第 1の仮想 LAN設 定部をさらに備えることを特徴とする請求項 7に記載の通信ネットワークシステム。 When the failure detection unit of itself detects a communication failure, a first virtual LAN setting that changes the setting of the virtual LAN so as to avoid transmission / reception of information between the links in which the communication failure has occurred. The communication network system according to claim 7, further comprising a fixing unit.
[9] 前記マスタノードは、 [9] The master node is
自らの前記障害検出部が通信障害を検出すると、通信障害の発生したリンク間で の情報の送受信を回避するよう前記仮想 LANの設定を変更する第 2の仮想 LAN設 定部と、  A second virtual LAN setting unit that changes the setting of the virtual LAN so as to avoid transmission / reception of information between links in which the communication failure has occurred when the failure detection unit of the device itself detects a communication failure;
自らの障害検出部が通信障害を検出すると、通信障害の発生したリンク間での情 報の送受信を回避するよう前記仮想 LANの設定変更を指示するための VLAN変更 情報を前記スレーブノードに送信する変更指示部と、をさらに備え、  When its own fault detection unit detects a communication fault, it sends to the slave node VLAN change information for instructing the virtual LAN setting change so as to avoid transmission / reception of information between the links where the communication fault has occurred. A change instruction unit,
前記スレーブノードは、前記変更指示部からの VLAN指示情報に基づ 、て前記仮 想 LANの設定を変更する第 3の仮想 LAN設定部をさらに備えることを特徴とする請 求項 7に記載の通信ネットワークシステム。  8. The request according to claim 7, wherein the slave node further includes a third virtual LAN setting unit that changes the setting of the virtual LAN based on VLAN instruction information from the change instruction unit. Communication network system.
[10] 前記マスタノードおよびスレーブノードが複数力 なる場合、 [10] When the master node and slave node have multiple forces,
前記マスタノードは、  The master node is
自らの前記障害検出部が通信障害を検出すると、通信障害の発生したリンク間で の情報の送受信を回避するよう前記仮想 LANの設定を変更する第 4の仮想 LAN設 定部と、  A fourth virtual LAN setting unit that changes the setting of the virtual LAN so as to avoid transmission / reception of information between links in which the communication failure has occurred when the failure detection unit of the device itself detects a communication failure;
前記マスタノードの障害検出部が通信障害を検出すると、  When the failure detection unit of the master node detects a communication failure,
前記複数のマスタノード同士で送受信される情報に基づいて、  Based on information transmitted and received between the plurality of master nodes,
通信障害の発生したリンク間での情報の送受信を回避するよう前記仮想 LANの設 定変更を指示するための VLAN変更情報の送信先となるスレーブノードを前記マス タノード毎に決定する送信先決定部と、  A transmission destination determination unit that determines, for each master node, a slave node that is a transmission destination of VLAN change information for instructing a change in the setting of the virtual LAN so as to avoid transmission and reception of information between links in which a communication failure has occurred. When,
前記送信先決定部が決定した結果に基づいて前記通信ポートに前記 VLAN変更 情報を前記スレーブノードに送信する第 2の変更指示部と、をさらに備え、  A second change instructing unit that transmits the VLAN change information to the slave port based on a result determined by the transmission destination determining unit;
前記スレーブノードは、前記変更指示部からの VLAN指示情報に基づ 、て前記仮 想 LANの設定を変更する第 5の仮想 LAN設定部をさらに備えることを特徴とする請 求項 7に記載の通信ネットワークシステム。  8. The request according to claim 7, wherein the slave node further includes a fifth virtual LAN setting unit that changes the setting of the virtual LAN based on VLAN instruction information from the change instruction unit. Communication network system.
[11] リング状に接続されたレイヤ 2スィッチとして上位ネットワークと接続するマスタノード および下位ネットワークと接続するスレーブノードを有し、前記マスタノードと前記スレ ーブノードを接続する仮想 LANを、前記マスタノードに対する前記スレーブノードの 全ての組合わせ毎に前記リング内に沿って異なる 2つの通信経路方向で設定すると ともに、前記マスタノードまたは前記スレーブノードの前記リング内のリンク端の 1組の ポートを閉塞したオープンリング状の通信ネットワークシステムであって、 [11] As a layer 2 switch connected in a ring shape, a master node connected to the upper network and a slave node connected to the lower network are provided, and the master node and the slave are connected. The virtual LAN connecting the slave node is set in two different communication path directions along the ring for every combination of the slave nodes with respect to the master node, and within the ring of the master node or the slave node. An open ring communication network system in which a pair of ports at the link end of
前記マスタノードおよび前記スレーブノードは、  The master node and the slave node are
自らのノードと隣り合う隣接リンク間で情報の送受信を行う 2つの通信ポートを備える とともに、  In addition to having two communication ports for sending and receiving information between adjacent links adjacent to its own node,
前記マスタノードは、前記通信ポートを介して前記閉塞されたリング端のノードから 送信される情報に基づいて通信障害の検出を行なう障害検出部を備え、  The master node includes a failure detection unit that detects a communication failure based on information transmitted from the blocked ring-end node via the communication port;
前記障害検出部は、通信障害を検出するための障害検出情報を前記閉塞されたリ ング端のスレーブノードに送信するとともに、前記閉塞されたリング端のノードを識別 するための情報を含む前記閉塞されたリング端のノードから送信される応答情報に 基づいて通信障害の検出を行なうことを特徴とする通信ネットワークシステム。  The failure detection unit transmits failure detection information for detecting a communication failure to the blocked ring end slave node, and includes the information for identifying the blocked ring end node. A communication network system for detecting a communication failure based on response information transmitted from a node at a ring end.
前記マスタノードは、  The master node is
自らの前記障害検出部が通信障害を検出すると、通信障害の発生したリンク間で の情報の送受信を回避するよう前記仮想 LANの設定を変更する第 1の仮想 LAN設 定部と、  A first virtual LAN setting unit that changes the setting of the virtual LAN so as to avoid transmission / reception of information between links in which the communication failure has occurred when the failure detection unit of the device itself detects a communication failure;
自らの前記障害検出部が通信障害を検出した際に、前記通信ポートの閉塞または 非閉塞を変更する第 1のポート変更部と、  A first port changing unit that changes blocking or non-blocking of the communication port when the failure detecting unit of itself detects a communication failure;
自らの障害検出部が通信障害を検出すると、通信障害の発生したリンク間での情 報の送受信を回避するよう前記仮想 LANの設定変更を指示するための VLAN変更 情報と前記通信ポートの閉塞または非閉塞の設定変更を指示するためのポート変更 情報とを前記スレーブノードに送信する変更指示部と、をさらに備え、  When its own fault detection unit detects a communication fault, the VLAN change information for instructing the virtual LAN setting change so as to avoid the transmission / reception of information between the links where the communication fault has occurred and the communication port is blocked or A change instructing unit that transmits port change information for instructing non-blocking setting change to the slave node, and
前記スレーブノードの前記障害検出部は、前記通信ポートが前記 VLAN変更情報 および前記ポート変更情報を受信すると、前記 VLAN変更情報および前記ポート変 更情報を受信した通信ポートとは異なる通信ポートに前記 VLAN変更情報および前 記ポート変更情報の転送を行なわせ、  When the communication port receives the VLAN change information and the port change information, the failure detection unit of the slave node assigns the VLAN to a communication port different from the communication port that has received the VLAN change information and the port change information. Transfer the change information and the port change information.
前記スレーブノードは、前記変更指示部からの VLAN指示情報に基づ 、て前記仮 想 LANの設定を変更する第 2の仮想 LAN設定部と、前記変更指示部力 のポート 変更情報に基づいて前記通信ポートの閉塞または非閉塞の設定を変更する第 2の ポート変更部と、をさらに備えることを特徴とする請求項 11に記載の通信ネットワーク システム。 The slave node is based on the VLAN instruction information from the change instruction unit. A second virtual LAN setting unit for changing the setting of the virtual LAN, and a second port changing unit for changing the setting of blocking or non-blocking of the communication port based on the port change information of the change instruction unit. The communication network system according to claim 11, further comprising:
通信ネットワーク上で下位ネットワークと接続するレイヤ 2スィッチのスレーブノードと ともにリング状に接続され、かつ前記スレーブノードに対する全ての組合わせ毎に前 記リング内に沿って異なる 2つの通信経路方向で前記スレーブノードと接続する仮想 LANが設定されるとともに前記リング内のリンク端の 1組のポートが閉塞されたリング 状ネットワーク内に配置され、かつ上位ネットワークと接続するレイヤ 2スィッチの障害 検出装置において、  The slave is connected in a ring shape together with the slave node of the layer 2 switch connected to the lower network on the communication network, and the slaves in two communication path directions differing along the ring for every combination with respect to the slave node. In a fault detection device for a layer 2 switch in which a virtual LAN connected to a node is set and a pair of ports at the link end in the ring is placed in a blocked ring network and connected to an upper network,
隣り合う隣接リンク間で情報の送受信を行う 2つの通信ポートと、  Two communication ports that send and receive information between adjacent links,
前記通信ポートを介して受信する情報に基づいて通信障害の検出を行なう障害検 出部と、を備え、  A failure detection unit that detects a communication failure based on information received via the communication port;
前記スレーブノードは、通信障害を検出すると通信障害を検出した際に情報を受 信した通信ポートとは異なる通信ポートに通信障害に関する通信障害情報の送信を 行なわせるとともに、前記通信ポートが他のノードから前記通信障害情報を受信する と前記通信障害情報を受信した通信ポートとは異なる通信ポートに前記通信障害情 報の転送を行い、  When the slave node detects a communication failure, the slave node transmits communication failure information related to the communication failure to a communication port that is different from the communication port that received the information when the communication failure is detected. When the communication failure information is received from the communication port, the communication failure information is transferred to a communication port different from the communication port that has received the communication failure information.
前記障害検出部は、前記スレーブノードから転送される前記通信障害情報に基づ いて通信障害の検出を行なうことを特徴とする障害検出装置。  The failure detection device, wherein the failure detection unit detects a communication failure based on the communication failure information transferred from the slave node.
PCT/JP2004/012948 2004-09-06 2004-09-06 Communication network system and trouble detecting apparatus WO2006027824A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2004/012948 WO2006027824A1 (en) 2004-09-06 2004-09-06 Communication network system and trouble detecting apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2004/012948 WO2006027824A1 (en) 2004-09-06 2004-09-06 Communication network system and trouble detecting apparatus

Publications (1)

Publication Number Publication Date
WO2006027824A1 true WO2006027824A1 (en) 2006-03-16

Family

ID=36036121

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2004/012948 WO2006027824A1 (en) 2004-09-06 2004-09-06 Communication network system and trouble detecting apparatus

Country Status (1)

Country Link
WO (1) WO2006027824A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010095268A1 (en) * 2009-02-23 2010-08-26 三菱電機株式会社 Ring network control method, master node, slave node, and ring network
JP2010206384A (en) * 2009-03-02 2010-09-16 Nec Corp Node device, operation monitoring device, transfer path selection method, and program
JP2010226318A (en) * 2009-03-23 2010-10-07 Mitsubishi Electric Corp Ring network
JP2011061401A (en) * 2009-09-09 2011-03-24 Hitachi Ltd Virtual network management server and network system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61116450A (en) * 1984-11-10 1986-06-03 Agency Of Ind Science & Technol Optical data way transmitter
JPS6213137A (en) * 1985-07-10 1987-01-21 Nec Corp Maintenance line switching system
JP2002335258A (en) * 2001-05-08 2002-11-22 Mitsubishi Electric Corp Network repeater and ring network system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61116450A (en) * 1984-11-10 1986-06-03 Agency Of Ind Science & Technol Optical data way transmitter
JPS6213137A (en) * 1985-07-10 1987-01-21 Nec Corp Maintenance line switching system
JP2002335258A (en) * 2001-05-08 2002-11-22 Mitsubishi Electric Corp Network repeater and ring network system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010095268A1 (en) * 2009-02-23 2010-08-26 三菱電機株式会社 Ring network control method, master node, slave node, and ring network
JP2010206384A (en) * 2009-03-02 2010-09-16 Nec Corp Node device, operation monitoring device, transfer path selection method, and program
JP2010226318A (en) * 2009-03-23 2010-10-07 Mitsubishi Electric Corp Ring network
JP2011061401A (en) * 2009-09-09 2011-03-24 Hitachi Ltd Virtual network management server and network system

Similar Documents

Publication Publication Date Title
EP1982447B1 (en) System and method for detecting and recovering from virtual switch link failures
JP4020753B2 (en) Ring switching method
EP1575221B1 (en) Ethernet automatic protection switching
US7233991B2 (en) Self-healing tree network
US7751329B2 (en) Providing an abstraction layer in a cluster switch that includes plural switches
EP2104994B1 (en) Hash-based multi-homing
US8411690B2 (en) Preventing data traffic connectivity between endpoints of a network segment
EP1974485B1 (en) Vpls failure protection in ring networks
CN100449521C (en) Restoration mechanism for network topologies
JP5873597B2 (en) System and method for virtual fabric link failure recovery
US20150003232A1 (en) Scaling OAM for Point-to-Point Trunking
US20050243713A1 (en) Node-redundancy control method and node-redundancy control apparatus
WO2007115493A1 (en) A method, device and system for achieving the switch in the dual-homed network based on the vpls
US8917592B2 (en) Communication apparatus, system, and method
WO2007077998A1 (en) Communication system, communication method, node, and node program
US8792337B2 (en) Method and apparatus for providing an uplink over an access ring
JP2002330152A (en) Spanning tree controller and method at the time of trouble/increase
JP2003258822A (en) Packet ring network and inter-packet ring network connection method used in the same
WO2007080831A1 (en) Packet ring network system, packet transfer system, redundancy node, and packet transfer program
WO2006027824A1 (en) Communication network system and trouble detecting apparatus
JP2002026956A (en) Automatic path selection system and its method
CN116668282B (en) High availability method and system for two-layer gateway based on STP spanning tree protocol
JP2009004854A (en) Communication system
JP5004051B2 (en) Mesh network using flooding relay packet system and nodes used in the network
JP2002335259A (en) Loop preventing method and node device

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP