The present invention relates to a network system with a redundant configuration.
In order to increase the availability of a network, it is general to implement network redundancy. The network redundancy is to secure an additional network apparatus and an additional network line and set them in standby mode as a backup system. In a case where a network apparatus or a network line in operation is down, it is switched to the standby backup system, and therefore the network can continue to operate without going down. A redundant network system is widely used.
When the network redundancy is implemented as described above, the availability of the network can be increased. However, the network redundancy needs to be appropriately implemented. That is, when the redundancy causes a loop to be formed in the network and then a broadcast frame is transmitted, the broadcast frame continuously circulates around this loop, thereby eventually using up the communication band and bringing the network system down. The phenomenon as described above is referred to as “broadcast storm”. In order to prevent this phenomenon and properly operate the redundant network, a spanning tree protocol has been conventionally used, for example (see, for example, Non Patent Literature 1).
A spanning tree is a function provided to switches that constitute the network in order to prevent the broadcast frame from continuously circulating around the loop. This function is realized by a spanning tree protocol. Even though there is a loop in the network constituted by the switches, when the spanning tree is enabled, a port (a blocking port) that does not receive communication in practice is automatically set and eventually a tree structure is formed with one of the switches at the top.
Non Patent Literature
Non Patent Literature 1: “Routing & Switching Handbook”, Gene, Shuwa System Co., Ltd, (Chapter 4 “Spanning Tree Protocol”)
Meanwhile, a subnetwork connected to a backbone network is considered. In a case where the connection of the subnetwork to the backbone network is particularly important, the subnetwork can have a redundant configuration by being connected to the backbone network at two points.
However, as a result of this connection at two points, a loop is formed by the backbone network and the subnetwork, thereby causing a broadcast storm. In order to prevent the broadcast storm, it is necessary not to form a loop communication path.
As described above, the spanning tree protocol can be used to solve this loop-structure problem, for example. In that case, both the backbone network and the subnetwork are required to comply with the spanning tree protocol. Therefore, in a case where a constructed backbone network does not comply with the spanning tree protocol, it is necessary to reconfigure a system in order to connect a subnetwork to the backbone network, such that not only the subnetwork but also the backbone network complies with the spanning tree protocol.
Further, there is a problem that when the spanning tree protocol is used in practice, a considerable amount of time is required for convergence of the spanning tree because of processes such as analyzing the connecting structure of the network.
The present invention has been achieved to solve the above problems, and, in a case where the network is constituted by connecting a subnetwork to a backbone network at two points, an object of the present invention is to provide a network system that is capable of preventing formation of a loop communication path with a simple mechanism without using any spanning tree protocol and also increasing the redundancy of a network.
The present invention is directed to a network system that achieves the object. The network system includes a backbone network that is constituted by combining a plurality of switch devices; and a subnetwork that is constituted by a plurality of switch devices connected linearly, where the switch devices positioned at both ends of the linear connection are connected to the backbone network. Among physical ports included in the switch devices that constitute the backbone network, a first physical port that is one of two physical ports to which the subnetwork is connected blocks a packet with a specific logical port number having arrived from a specific direction, and passes other packets, and a second physical port that is the other of the two physical ports passes a packet with the specific logical port number having arrived from the specific direction, and blocks other packets.
According to the present invention, in a network in which switch devices positioned at both ends of a subnetwork that is a linear network are connected to a backbone network, formation of a loop communication path can be prevented with a simple mechanism without using any spanning tree protocol, and also the redundancy of the network can be increased. In addition, the occurrence of a delivery failure of a packet can be prevented at the time of the occurrence of a fault, and fault resistance of the network can be improved.
Exemplary embodiments of a network system according to the present invention will be explained below in detail with reference to the accompanying drawings. The present invention is not limited to the embodiments.
Each of the switch devices 3 and 5 positioned at both ends of the linear network includes a physical port that serves as an endpoint of the linear network. The physical port of the switch device 3 on its endpoint side is connected to a physical port 11 of the switch device 1. The physical port of the switch device 5 on its endpoint side is connected to a physical port 21 of the switch device 2. A management device 6 is connected to the switch device 1. Apparatuses 7 to 9 are connected to the switch devices 3 to 5, respectively. The management device 6 can be connected to any of the switch devices that constitute the backbone network. In
The management device 6 is a device that monitors a state of each of the apparatuses in the network system (the apparatuses 7 to 9 in the example in
As shown in
In the switch device 1, the physical port 11 passes a packet with a logical port 4000 (a packet with the logical port number 4000) in a direction from the backbone network 100 toward the linear network (the subnetwork 200), and blocks a packet with the logical port 4000 arriving from the reverse direction. In the switch device 2, the physical port 21 passes a packet with the logical port 4000 in a direction from the backbone network 100 toward the linear network, and blocks a packet with the logical port 4000 arriving from the reverse direction (the same operation as the physical port 11 of the switch device 1). The physical port 21 also blocks all packets other than a packet with the logical port 4000. That is, in the backbone network 100, when a packet with the logical port 4000 is transmitted from the subnetwork 200, one of the two physical ports of the switch devices to which the subnetwork 200 is connected blocks (discards) this packet and passes all packets other than this packet. The other physical port passes only a packet with the logical port 4000 heading from the backbone network 100 toward the subnetwork 200, and blocks all packets other than this packet.
An operation of the network system shown in
A flow of a packet with the logical port 4000 is explained with reference to
Meanwhile, the broadcast packet with the logical port 4000 transmitted from the management device 6 arrives at the switch device 2, and then arrives at the switch device 5, the switch device 4, and the switch device 3 respectively in this order via the physical port 21 as shown in
A loop does not occur because a broadcast packet with the logical port 4000 transmitted from the apparatuses 7 to 9 in the subnetwork 200 is blocked by the physical port 11 of the switch device 1 or by the physical port 21 of the switch device 2. Further, a loop does not occur because broadcast packets other than a broadcast packet with the logical port 4000 are blocked by the physical port 21 of the switch device 2.
A broadcast packet with the logical port 4000 transmitted by the management device 6 arrives at the apparatus 7, the apparatus 8, and the apparatus 9 through two paths. Therefore, even when any one of the switch devices 3, 4, and 5 becomes faulty, it is still possible for the broadcast packet with the logical port 4000, transmitted by the management device 6, to arrive at all apparatuses except the apparatus connected to the faulty switch device.
For example, a case is assumed that the network system according to the present embodiment is constructed within a train, and an apparatus connected to the backbone network 100 broadcasts a packet for a sound guide with the logical port 4000 to be distributed to apparatuses connected to the subnetwork 200 in each vehicle. In this case, even when the subnetwork 200 becomes faulty at one point, the voice guide can be continued without interruption. Generally, a conventional network system is configured to block a packet at one point (by the same switch device) to prevent the occurrence of a loop, and upon detecting a fault, the conventional network system changes the setting of switch devices to switch to another path. Therefore, there is a possibility of a packet not arriving at a part of the apparatuses during a period from the occurrence of a fault to the completion of switching to another path. On the other hand, in the network system according to the present embodiment, a packet can arrive at all the apparatuses even when a fault has occurred. A case where a network system is constructed within a train is explained separately.
As described above, in the network system according to the present embodiment, among the switch devices that constitute the backbone network, two switch devices block a packet with a specific logical port received from the subnetwork, where to these two switch devices, the switch devices positioned at both ends of the subnetwork that is a linear network are connected. Further, one of the two switch devices blocks all packets other than a packet with the specific logical port. In other words, one of the two physical ports to which the subnetwork is connected blocks a packet with a specific logical port number transmitted from the subnetwork, and passes other packets, and the other physical port passes a packet with the specific logical port number transmitted from the backbone network, and blocks other packets. Therefore, formation of a loop communication path can be prevented with a simple mechanism without using any spanning tree protocol, and also the redundancy of the network can be increased. Further, the occurrence of a delivery failure of a packet can be prevented at the time of the occurrence of a fault, and a network system with improved fault resistance can be realized.
In the present embodiment, a determination of passing or blocking a packet is made based on whether the logical port number is 4000. However, this determination can be made by using another logical port number. Instead of the logical port number, a value of a specific position of a packet can be used to make the determination of passing or blocking a packet. It is also possible to use multicast instead of broadcast so as to make the determination of passing or blocking a packet based on a multicast address.
There has been explained a case where the switch devices at both ends of the linear network are respectively connected to different switch devices in the backbone network. However, it suffices that the switch devices at both ends of the linear network are connected to the same switch device in the backbone network.
Further, it suffices that a packet with a specific logical port number is blocked not by the switch devices in the backbone network, but by the switch devices at both ends of the subnetwork (the switch devises connected to the backbone network) so as not to flow toward the backbone network.
The backbone network 101 is obtained by adding a switch device 10 to the backbone network 100 included in the network system according to the first embodiment. The switch devices 1 and 2 are connected to the switch device 10. A loop is formed by the switch devices 1, 2, and 10 in the backbone network 101. The switch devices 1, 2, and 10 comply with an Ethernet ring protocol. Even when one switch device that constitutes the backbone network 101 becomes faulty, the remaining switch devices still maintain transmission in the backbone network except the faulty switch device.
When a packet with a specific logical port number (4000, for example) is transmitted from the subnetwork 200, one of the switch devices 1 and 2 blocks this packet. The other switch device passes only a packet with the specific logical port number heading from the backbone network 101 toward the subnetwork 200, and blocks all packets other than this packet. That is, the switch devices 1 and 2 in the present embodiment are obtained by making the switch devices 1 and 2 explained in the first embodiment comply with the Ethernet ring protocol. The switch device 10 does not block any packets.
In the network system according to the present embodiment, because the backbone network has a ring configuration, it is still possible for a broadcast packet with a specific logical port number (4000, for example) transmitted by an apparatus connected to the backbone network, such as the management device 6, to arrive at all apparatuses even when either one of the switch devices 2 and 10 that constitute the backbone network becomes faulty. Further, even when any one of the switch devices 3 to 5 that constitute the linear network becomes faulty, a broadcast packet transmitted from the backbone network can arrive at all apparatuses except the apparatus connected to the faulty switch device.
In the backbone network 100a, the switch devices 1 and 2 in the backbone network 100 included in the network system according to the first embodiment are replaced with switch devices 1a and 2a, respectively. The connecting relationship between the switch devices 1a and 2a is the same as the connecting relationship between the switch devices 1 and 2 in the first embodiment. The connecting relationship between the backbone network 100a and the subnetwork 200 is the same as the connecting relationship between the backbone network 100 and the subnetwork 200 in the first embodiment.
In the network system according to the present embodiment, the switch devices 1a and 2a to which the subnetwork 200 is connected have a function described later (a function of passing or blocking a specific packet with exception) in addition to the function that the switch devices 1 and 2 according to the first embodiment 1 have.
In the switch device 1a, a physical port 11a passes a packet with the logical port 4000 in a direction from the backbone network 100a toward the linear network (the subnetwork 200), and blocks a packet with the logical port 4000 arriving from the reverse direction (the same operation as the physical port 11 in the first embodiment). Further, the physical port 11a passes a packet with a logical port 4001 in a direction from the linear network toward the backbone network 100a, and blocks a packet with the logical port 4001 arriving from the reverse direction. Furthermore, the physical port 11a passes a packet with a logical port 4002 in a direction from the linear network toward the backbone network 100a, and blocks a packet with the logical port 4002 arriving from the reverse direction. In the switch device 2a, a physical port 21a passes a packet with the logical port 4000 in a direction from the backbone network 100a toward the linear network, and blocks a packet with the logical port 4000 arriving from the reverse direction (the same operation as the physical port 21 in the first embodiment). Further, the physical port 21a passes a packet with the logical port 4002 in a direction from the linear network toward the backbone network 100a, and blocks a packet with the logical port 4002 arriving from the reverse direction. The physical port 21a blocks all packets other than these packets.
That is, in the backbone network 100a, two physical ports of the switch devices to which the subnetwork 200 is connected perform the same operation as in the first embodiment. Further, one of the two physical ports blocks packets with the logical ports 4001 and 4002 when these packets are transmitted from the backbone network 100a, and passes a packet in other cases. The other physical port only passes a packet with the logical port 4002 heading from the subnetwork 200 toward the backbone network 100a, and blocks a packet in other cases.
An operation of the network system shown in
First, a flow of a packet with the logical port 4001 is explained with reference to
Next, a flow of a packet with the logical port 4002 is explained with reference to
As described above, in the network system according to the present embodiment, each apparatus in the subnetwork 200 uses two paths to transmit a broadcast packet with the logical port 4001 and a broadcast packet with the logical port 4002 to the apparatuses (such as the management device 6) in the backbone network 100a. Therefore, even when any one of the switch devices on the paths becomes faulty, these packets can arrive at the apparatuses. That is, the redundancy (fault resistance) of the network can be improved.
Similarly to the second embodiment, the backbone network can be a network with a ring configuration.
In the present embodiment, there has been explained a case where the logical port number of a broadcast packet, passing through the switch device 1a and transmitted to the apparatuses in the backbone network 100a, is different from the logical port number of a broadcast packet passing through the switch device 2a and transmitted to the apparatuses in the backbone network 100a. However, the logical port number can be common to packets passing through the respective switch devices. For example, the physical port 11a of the switch device 1a and the physical port 21a of the switch device 2a pass a packet with the logical port number 4001 when the packet arrives from the subnetwork 200, and block a packet with the logical port number 4001 when the packet arrives from the reverse direction. Further, the physical port 21a of the switch device 2a blocks all other packets with a different logical port number (except the logical port number 4000) regardless of the direction from which the packet arrives.
The network system according to the present embodiment is constituted by a backbone network 102 and subnetworks 200-1 and 200-2, each of which is connected to the backbone network 102 at two points. The backbone network 102 is configured to include switch devices 1-1, 1-2, 2-1, and 2-2 that are installed within a plurality of vehicles. Specifically, the switch devices 1-1 and 1-2 are installed in a first car, and the switch devices 2-1 and 2-2 are installed in a second car.
The subnetwork 200-1 is configured to include a plurality (four) of switch devices (denoted as “SW device” in
Respective switch devices included in the backbone network 102 perform the same processes as the switch devices that constitute the backbone network in the network system explained in the first embodiment to prevent the occurrence of a loop of a broadcast packet (a broadcast storm).
For example, in the switch device 1-1 in the first car, a physical port to which an apparatus in the subnetwork 200-1 is connected blocks a packet with a specific logical port number transmitted from the subnetwork 200-1, and passes all packets other than this packet. Also, in the switch device 1-2, a physical port to which an apparatus in the subnetwork 200-1 is connected passes a packet with the specific logical port number from the backbone network 102 toward the subnetwork 200-1, and blocks all packets other than this packet. In the second car, the switch device 2-1 performs the same processes as the switch device 1-1, and the switch device 2-2 performs the same processes as the switch device 1-2. Therefore, the same effects as those from the network system according to the first embodiment can be obtained.
The management device 6 connected to the switch device 1-1 is a train-information management device, for example. The train-information management device is a device that collects and manages train information, and can monitor each operating state of in-vehicle apparatuses and also individually control each operation of the apparatuses. The train-information management device regularly transmits a state-data request signal to the in-vehicle apparatuses (the apparatuses connected to the switch devices, and not shown in
There has been explained a case where the network system according to the first embodiment is constructed within a train. However, it is also possible to construct the network system according to the third embodiment within a train. Similarly to the second embodiment, the backbone network 102 can be a network with a ring configuration. There has been described an example of a case where the subnetwork is constructed in each vehicle. However, the subnetwork can be constructed across a plurality of vehicles. Further, a plurality of subnetworks can be constructed in a single vehicle.
As described above, the network system explained in the first to third embodiments is constructed within a train, and is applicable as a network system that collects various information (state data) from in-vehicle apparatuses.
The present invention is useful as a network system with a redundant configuration.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2012/050279 | 1/10/2012 | WO | 00 | 7/10/2014 |