This application is based upon and claims the benefit of priority of Japanese Patent Application No. 2011-047000, filed Mar. 3, 2011. The entire contents of which are incorporated herein by reference.
The embodiment discussed herein is related to a relay station in a communication system.
IEEE 802.17 standard describes a ring network including RPR (Resilient Packet Ring). The RPR refers to an optical network technique to be used in a LAN (Local Area Network) including a WAN (Wide Area Network). The RPR has a duplex ring type network structure and a layer 2 (data link layer) protocol of OSI (Open System Interconnection) reference model.
As the network topology where stations are connected, the IEEE 802.17 standard describes a ring topology and a cascade topology.
Japanese Laid-open Patent Publication No. 2006-262169 discloses a technique to attain both high-speed failure switching between a plurality of interconnected rings and the minimization of a failure range in an inter-ring connection method and device for interconnecting a plurality of RPR (resilient packet ring) rings. To that end, an interconnection (interconnection station) S5 determines whether an RPR frame received from one ring #1 is a broadcast frame and resets ttl (time-to-live) of the frame so that prescribed points between identical inter-ring connection devices S4 facing in a relay destination ring #2 are cleave points CP0 and CP1 when relaying the RPR frame determined to be the broadcast frame to the other ring #2. In addition, topology information of one ring is transmitted to the other ring, the topology information of each ring is stored in a topology database, and the RPR frame is relayed (unicast) between the rings by referring to the topology database on the basis of the destination address of the RPR frame.
As describe above, Japanese Laid-open Patent Publication No. 2006-262169 discloses a technique mutually connecting plural RPRs.
According to an aspect, a relay station for relaying data between first and second ring networks, each of the first and the second ring networks including a plurality of stations includes a first transmission and receiving circuit transmitting and receiving data to and from the first ring network; a second transmission and receiving circuit transmitting and receiving the data to and from the second ring network; and a switch that, when a destination of the data received by the first transmission and receiving circuit is one of the stations included in the second ring network, inputs the data to the second transmission and receiving circuit, and, when a destination of the data received by the second transmission and receiving circuit is another of the stations included in the first ring network, inputs the data to the first transmission and receiving circuit.
The objects and advantages of the embodiments disclosed herein will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention as claimed.
First, a case will be described where a network is formed in a wide area using the ring topology.
In the examples illustrated in
Next, a case is described where a network is formed in a wide area based on two ring networks.
Namely, when data are transmitted between two ring networks, the relay station may convert between the RPR data and the LAN data. Therefore, it may take more time due to the conversions, and as a result, the time delay may be increased. Further, though the bandwidth control in the RPR may be known as an advantageous feature of the RPR, the bandwidth control in the RPR may not be used on an end-to-end basis. This may be because of the conversions between the RPR data and the LAN data.
In the following, an embodiment are described with reference to the accompanying drawings. Throughout the figures, the same referential numerals are repeatedly used to describe the same elements, and repeated descriptions thereof may be omitted.
The communication system may be a system based on the RPR (Resilient Packet Ring).
As illustrated in
The plural stations 200n may be connected through communication cables such as optical fibers and metal cables. Further, the plural stations 200n are divided into plural groups. The stations in each of the groups constitute a ring network.
The layout of the stations of
In the ring network RN1, the stations 2001 through 2005 are connected using cables in dual ring which includes two one-way rings having the directions opposite to each other. Similarly, in ring network RN2, the stations 2006 through 20010 are connected using cables in dual ring including two one-way rings having the directions opposite to each other.
The relay station 100 includes an interface including (in communication with) plural ring networks. By using the interface, the relay station 100 connects the ring networks RN1 and RN2. For example, when a station in one ring network transmits the RPR data addressed to a station in the other ring network, the relay station 100 connects the ring networks RN1 and RN2 in a manner such that the RPR data can be received by the station in the other ring network without passing along the same route again.
Namely, the relay station 100 connects the ring networks RN1 and RN2 as if the ring networks RN1 and RN2 were a single ring network. In other words, the relay station 100 connects the stations in the ring networks RN1 and RN2 in a unicursal form (in a one-stroke drawing form).
The ring network RN1 includes one ring in which data can be transmitted in a ringlet 1 direction (i.e., in the clockwise direction) in
When the ring network RN1 is connected with the ring network RN2 through the relay station 100, in the ring network 2, the ringlet 1 direction corresponds to the counterclockwise direction and the ringlet 2 direction corresponds to the clockwise direction as illustrated in
The relay station 100 transmits packet data from the station 2001 to the station 20010 (see dotted arrow (1) in
Further, the relay station 100 may transmit packet data from the station 2005 to the station 2006. In those cases, however, no conversions between the RPR data and the LAN data are performed. Namely, the relay station 100 directly transfers the packet data from the station to the other station while maintaining the RPR data (without conversion). As a result, the packet data is transmitted in the order of station 2001, station 20010, station 2009, station 2008, station 2007, station 2006, relay station 100, station 2005, station 2004, station 2003, station 2002, and station 2001.
Further, the relay station 100 may transfer the packet data from the station 2001 to the station 2006, and transfer the packet data from the station 2006 to the station 2001. In those cases as well, no conversion between the RPR data and the LAN data are performed. Namely, the relay station directly transfers the RPR data from a station in one ring network to a station in the other ring network while maintaining the RPR data (without any conversion from the RPR data).
By using the relay station in this embodiment, the configuration of the network may be simplified. Further, the transmissions between different ring networks may be performed without performing the conversions between the RPR data and the LAN data.
In
Further, the relay station 100 may transfer the packet data from the station 2006 to the station 2007. In those cases, no conversions between the RPR data and the LAN data are performed. Namely, the relay station 100 directly transfers the packet data from the station to the other station while maintaining the RPR data (without conversion). As a result, the packet data is transmitted in the order of station 2001, station 20010, station 2009, station 2008, station 2007, station 2006, station 2005, station 2004, station 2003, station 2002, and station 2001.
Further, the relay station 100 may transfer the packet data from the station 2001 to the station 2007, and transfer the packet data from the station 2006 to the station 20010. In those cases as well, no conversion between the RPR data and the LAN data are performed. Namely, the relay station directly transfers the RPR data from a station in one ring network to a station in the other ring network while maintaining the RPR data (without any conversion from the RPR data).
Further, the relay station 100 transfers the RPR data from the station 2007 to the station 2001 or the station 2006 in a manner such that the RPR data does not pass through the failure point. Whether the RPR data are to be transferred to the station 2001 or the station 2006 is determined by the relay station 100 based on routing information across the entire ring network. As illustrated in
As illustrated in
The ring network interface 102 includes a capsule processor 10221. The capsule processor 10221 is connected with the ring network RN1. The capsule processor 10221 inputs (receives) a LAN frame or an RPR frame. Upon receipt of the LAN frame, the capsule processor 10221 encapsulates the LAN frame into the RPR frame.
The capsule processor 10221 outputs (transmits) the RPR frame to the ring network RN1. For example, the capsule processor 10221 transmits the RPR frame in the ringlet 1 direction of the ring network RN1. Further, the capsule processor 10221 receives the RPR frame from the ring network RN1, and stores the received RPR frame in a buffer 10241. Further, the capsule processor 10221 decapsulates the RPR frame from the ring network RN1, and stores the decapsulated RPR frame in the buffer 10241. The decapsulated RPR frame is output from the relay station 100.
The ring network interface 102 includes a capsule processor 10222. The capsule processor 10222 is connected with the ring network RN1. The capsule processor 10222 inputs (receives) the LAN frame or the RPR frame. Upon receipt of the LAN frame, the capsule processor 10222 encapsulates the LAN frame into the RPR frame.
The capsule processor 10222 outputs (transmits) the RPR frame to the ring network RN1. For example, the capsule processor 10222 transmits the RPR frame in the ringlet 2 direction of the ring network RN1. Further, the capsule processor 10222 receives the RPR frame from the ring network RN1, and stores the received RPR frame in a buffer 10242. Further, the capsule processor 10222 decapsulates the RPR frame from the ring network RN1, and stores the decapsulated RPR frame in the buffer 10242. The decapsulated RPR frame is output from the relay station 100.
The ring network interface 102 includes the buffer 10241. The buffer 10241 is connected to the capsule processor 10221. The buffer 10241 stores the LAN frame or the RPR frame.
The ring network interface 102 includes the buffer 10242. The buffer 10242 is connected to the capsule processor 10222. The buffer 10242 stores the LAN frame or the RPR frame.
The relay station 100 includes a ring network interface 104 serving as an interface between the relay station 100 and the ring network RN2.
The ring network interface 104 includes a capsule processor 10421. The capsule processor 10421 is connected with the ring network RN2. The capsule processor 10421 inputs (receives) the LAN frame or the RPR frame. Upon receipt of the LAN frame, the capsule processor 10421 encapsulates the LAN frame into the RPR frame.
The capsule processor 10421 outputs (transmits) the RPR frame to the ring network RN2. For example, the capsule processor 10421 transmits the RPR frame in the ringlet 1 direction of the ring network RN2. Further, the capsule processor 10421 receives the RPR frame from the ring network RN2, and stores the received RPR frame in a buffer 10441. Further, the capsule processor 10221 decapsulates the RPR frame from the ring network RN2, stores the decapsulated RPR frame in the buffer 10441. The decapsulated RPR frame is output from the relay station 100.
The ring network interface 104 includes a capsule processor 10422. The capsule processor 10422 is connected with the ring network RN2. The capsule processor 10422 inputs (receives) the LAN frame or the RPR frame. Upon receipt of the LAN frame, the capsule processor 10422 encapsulates the LAN frame into the RPR frame.
The capsule processor 10422 outputs (transmits) the RPR frame to the ring network RN2. For example, the capsule processor 10422 transmits the RPR frame in the ringlet 2 direction of the ring network RN2. Further, the capsule processor 10422 receives the RPR frame from the ring network RN2, and stores the received RPR frame in a buffer 10442. Further, the capsule processor 10422 decapsulates the RPR frame from the ring network RN2, and stores the decapsulated RPR frame in the buffer 10442. The decapsulated RPR frame is output from the relay station 100.
The ring network interface 104 includes the buffer 10441. The buffer 10441 is connected to the capsule processor 10421. The buffer 10441 stores the LAN frame or the RPR frame.
The ring network interface 104 includes the buffer 10442. The buffer 10442 is connected to the capsule processor 10422. The buffer 10442 stores the LAN frame or the RPR frame.
The relay station 100 includes a MAC controller 106. The MAC controller 106 is connected to the ring network interfaces 102 and 104.
The MAC controller 106 includes a switch 1062. The switch 1062 is connected to the buffers 10241, 10242, 10441, and 10442. The switch 1062 switches the transmission destination of the LAN frame to any of the buffers 10241, 10242, 10441, and 10442 so that the LAN frame is transmitted to any of the buffers 10241, 10242, 10441, and 10442. Further, the switch 1062 determines the transmission destination of the RPR frame to be input from the capsule processor via the buffer, so that the RPR frame is transmitted to the determined transmission destination.
The MAC controller 106 includes a route controller 1066. In this communication system, the route controller 1066 controls the transmission path of the packet data to be transmitted. The route controller 1066 performs routing control based on route information and load information to be stored in a storage 1068.
The MAC controller 106 includes a stations communication interface 1064. The stations communication interface 1064 is connected to the switch 1062. The stations communication interface 1064 is provided as an interface of the communications between stations.
The MAC controller 106 includes the storage 1068. The storage 1068 is connected to the stations communication interface 1064 and the route controller 1066. The storage 1068 stores the routing control and the load information.
The relay station 100 includes a LAN interface 108. The LAN interface 108 is connected to the switch 1062. The LAN interface 108 serves as an interface between the relay station 100 and the LAN. The LAN interface 108 transmits the LAN frame from the LAN to the switch 1062.
As illustrated in
The ring network interface 202 includes a capsule processor 20221. The capsule processor 20221 is connected with the ring network RN1 or RN2. The capsule processor 20221 inputs (receives) the LAN frame or the RPR frame. Upon receipt of the LAN frame, the capsule processor 20221 encapsulates the LAN frame into the RPR frame.
The capsule processor 20221 outputs (transmits) the RPR frame to the ring network RN1 or RN2. For example, the capsule processor 20221 transmits the RPR frame in the ringlet 1 direction of the ring network RN1 or RN2. Further, the capsule processor 20221 receives the RPR frame from the ring network RN1 or RN2, and stores the received RPR frame in a buffer 20241. Further, the capsule processor 20221 decapsulates the RPR frame from the ring network RN1 or RN2, and stores the decapsulated RPR frame in the buffer 20241. The decapsulated RPR frame is output from the station 200n.
The ring network interface 202 includes a capsule processor 20222. The capsule processor 20222 is connected with the ring network RN1 or RN2. The capsule processor 20222 inputs (receives) the LAN frame or the RPR frame. Upon receipt of the LAN frame, the capsule processor 20222 encapsulates the LAN frame into the RPR frame.
The capsule processor 20222 outputs (transmits) the RPR frame to the ring network RN1 or RN2. For example, the capsule processor 20222 transmits the RPR frame in the ringlet 2 direction of the ring network RN1 or RN2. Further, the capsule processor 20222 receives the RPR frame from the ring network RN1 or RN2, and stores the received RPR frame in a buffer 20242. Further, the capsule processor 20222 decapsulates the RPR frame from the ring network RN1 or RN2, and stores the decapsulated RPR frame in the buffer 20242. The decapsulated RPR frame is output from the station 200n.
The ring network interface 202 includes the buffer 20241. The buffer 20241 is connected to the capsule processor 20221. The buffer 20241 stores the LAN frame or the RPR frame.
The ring network interface 202 includes the buffer 20242. The buffer 20242 is connected to the capsule processor 20222. The buffer 20242 stores the LAN frame or the RPR frame.
The station 200n includes a MAC controller 206. The MAC controller 206 is connected to the ring network interface 202.
The MAC controller 206 includes a switch 2062. The switch 2062 is connected to the buffers 20241 and 20242. The switch 2062 switches the transmission destination of the LAN frame to any of the buffers 20241 and 20242 so that the LAN frame is transmitted to any of the buffers 20241 and 20242. Further, the switch 1062 determines the transmission destination of the RPR frame to be input from the capsule processor via the buffer, so that the RPR frame is transmitted to the determined transmission destination.
The MAC controller 206 includes a route controller 2066. In this communication system, the route controller 2066 controls the transmission path of the packet data to be transmitted. The route controller 2066 performs routing control based on route information and load information to be stored in a storage 2068.
The MAC controller 206 includes a stations communication interface 2064. The stations communication interface 2064 is connected to the switch 2062. The stations communication interface 2064 is provided as an interface of the communications between the stations.
The MAC controller 206 includes the storage 2068. The storage 2068 is connected to the stations communication interface 2064 and the route controller 2066. The storage 2068 stores the routing control and the load information.
The station 200n includes a LAN interface 208. The LAN interface 208 is connected to the switch 2062. The LAN interface 208 serves as an interface between the station 200n and the LAN. The LAN interface 208 transmits the LAN frame from the LAN to the switch 2062.
Example Operation of this Communication System Data Transmission Method 1
In this example, a case is described where data having been input to the station 2002 are transmitted to the station 2008.
In the data transmission in the communication system, it is assumed that the network information relevant to the network including the relay station 100 and the station 200n is set in the relay station 100 and the station 200n, respectively. Further, when the stations 200n are equipped with the cameras, the information indicating the cameras may be set.
To perform the data transmission in this system, each of the stations 200n broadcasts packet data to all the other stations 200n in the ring network to which the stations 200n belongs, the packet data being for generating the route information indicating the arranging order in the ring network. The route information may be generated in a database form. For example, the station 200n may broadcast a Topology discovery and Protection Frame.
The Topology discovery and Protection Frame may be transmitted through the stations in the ring network on a unicursal route. Herein, the unicursal route includes the route (in the ringlet 1 direction) through which data are transmitted in the order of station 2001, relay station 100, station 20011, station 20010, station 2009, station 2008, station 2007, relay station 100, station 2005, station 2004, station 2003, and station 2002.
Further, the unicursal route further includes the route (in the ringlet 2 direction) through which data are transmitted in the order of station 2001, station 2002, station 2003, station 2004, station 2005, relay station 100, station 2007, station 2008, station 2009, station 20010, station 20011, and relay station 100. The process of broadcasting the Topology discovery and Protection Frame may be performed periodically or irregularly.
The relay station 100 broadcasts the identifier of the relay station 100 to all the stations 200n. The process of broadcasting the identifier of the relay station 100 may be performed periodically or irregularly. The identifier of the relay station 100 may be transmitted through the stations 200n along the unicursal route.
More specifically,
Therefore, the route information on the upper part of
When transmitting data to the station 2008, the station 2002 transmits data to the relay station 100. This is because the ring network RN1 to which the station 2002 belongs differs from the ring network RN2 to which the station 2008 belongs. When transmitting data to the relay station 100, the station 2008 transmits the data in the ringlet 1 direction because of the shorter transmission length. In this case, as an index indicating transmission length, the number of hops (hereinafter the hop number) to the relay station 100 may be used. For example, by referring to the route information of
Then, the data may be transmitted in the ringlet direction having the hop number less than that in the opposite ringlet direction. In the example of
The relay station having received the data from the station 2002 transmits the data to the station 2008. When transmitting data to the station 2008, the relay station 100 transmits the data in the ringlet 2 direction because of the shorter transmission length.
In this case, as the index indicating transmission length, the number of hops (hop number) to the station 2008 may be used. For example, by referring to the route information generated in the relay station 100, the hop number to the station 2008 may be obtained. Then, the data may be transmitted in the ringlet direction having the hop number less than that in the opposite ringlet direction.
In the example of
By using the data transmission method described above, it may become possible to transmit data using a route having a shorter transmission distance. Therefore, the transmission time may be reduced. In the example of
First, the station 200n determines whether the destination belongs to another area (step S1302). Namely, the route controller 2066 determines whether the destination of the data to be input from the ring network interface 202 or the LAN interface 208 is a station which belongs to a ring network other than the ring network to which the station 200n belongs.
When determining that the destination belongs to another area (YES in step S1302), the station 200n sets the relay station 100 as the destination (step S1304). Namely, when determining that the destination of the data to be input from the ring network interface 202 or the LAN interface 208 is the station which belongs to a ring network other than the ring network to which the station 200n belongs, the route controller 2066 sets the relay station 100 as the destination of the data.
On the other hand, when determining that destination does not belong to another area (NO in step S1302), the station 200n sets the destination station as the destination (step S1306). Namely, when determining that the destination of the data to be input from the ring network interface 202 or the LAN interface 208 is a station which belongs to the ring network to which the station 200n belongs, the route controller 2066 sets the destination station as the destination of the data.
After step S1304 or S1306, the station 200n determines whether the hop number in the ringlet 1 direction to the destination is less than the hop number in the ringlet 2 direction (step S1308). Namely, the route controller 2066 refers to the route information to be stored in the storage 2068 and determines whether the hop number to the relay station 100 set in step S1304 or the station to be set in step S1306 in the ringlet direction 1 is lesser.
When determining that the hop number in the ringlet 1 direction is lesser (YES in step S1308), the station 200n transmits the packet data in the ringlet 1 direction (step S1310). Namely, when determining that the hop number in the ringlet 1 direction is lesser, the route controller 2066 controls the switch 2062 so as to transmit the packet data in the ringlet 1 direction.
On the other hand, when determining that the hop number in the ringlet 1 direction is not lesser (NO in step S1308), the station 200n transmits the packet data in the ringlet 2 direction (step S1312). Namely, when determining that the hop number in the ringlet 1 direction is not lesser, the route controller 2066 controls the switch 2062 so as to transmit the packet data in the ringlet 2 direction.
The relay station 100 sets the destination station as the destination (step S1402). Namely, the route controller 1066 sets the destination station of the data to be input from the ring network interface 202 or the LAN interface 208 as the destination of the data.
Then, the relay station 100 determines whether the hop number in the ringlet 1 direction to the destination is less than the hop number in the ringlet 2 direction (step S1404). Namely, by referring the route information to be stored in the storage 1068, the route controller 1066 determines whether the hop number to the station to be set in step S1402 in the ringlet direction 1 is less than the hop number in the ringlet 2 direction.
When determining that the hop number to the destination in the ringlet 1 direction is lesser (YES in step S1404), the relay station 100 transmits the packet data in the ringlet 1 direction (step S1406). Namely, when determining that the hop number in the ringlet 1 direction is lesser, the route controller 1066 controls the switch 1062 so as to transmit the packet data in the ringlet 1 direction.
On the other hand, when determining that the hop number in the ringlet 1 direction is not lesser (NO in step S1404), the relay station 100 transmits the packet data in the ringlet 2 direction (step S1408). Namely, when determining that the hop number in the ringlet 1 direction is not lesser, the route controller 1066 controls the switch 1062 so as to transmit the packet data in the ringlet 2 direction.
In this example, a case is described where data are transmitted from the station 2002 to the station 2008. In the example of
Namely in this data transmission method, an appropriate route may be determined (selected) based on not only the transmission length but also a congestion state.
Similar to the data transmission method 1, in this data transmission in the communication system, it is assumed that the network information relevant to the network including the relay station 100 and the station 200n is set in the relay station 100 and the station 200n, respectively.
To perform the data transmission in this system, each of the stations 200n broadcasts packet data to all the other stations 200n in the ring network to which the broadcasting station 200n belongs, the packet data being for generating the route information indicating the arranging order in the ring network. For example, the station 200n may broadcast a Topology discovery and Protection Frame. The process of broadcasting the Topology discovery and Protection Frame may be performed periodically or irregularly.
The relay station 100 broadcasts the identifier of the relay station 100 to all the stations 200n. The process of broadcasting the identifier of the relay station 100 may be performed periodically or irregularly.
Further, the station 200n monitors a state of the receiving buffer of the station 200n. When determining that a value indicating the state of the receiving buffer is equal to or greater than a predetermined threshold value (i.e., when determining that the value indicating the state of the receiving buffer indicates congestion), the station 200n broadcasts the congestion information indicating the congestion to any other stations 200n and the relay station 100.
The stations 200n having received the congestion information adds the data indicating the congestion information to the load information of the relevant stations. For example, as the congestion information, a congestion bit may be added as the indicating the congestion information. The process of broadcasting the congestion information may be performed periodically or irregularly. Further, the station 200n may broadcast the congestion information when the congestion information of the station 200n changes.
More specifically,
The ring network RN1 to which the station 2002 belongs is different from the ring network RN2 to which the destination station 2008 belongs. Therefore, the station 2002 transmits the data to the relay station 100. When transmitting the data to the relay station 100, the station 2002 basically transmits in the ringlet direction which corresponds to a shorter transmission length to the relay station 100.
Therefore, in this example, the station 2002 basically transmits in the ringlet 1 direction. However, when congestion occurs in the route in the ringlet direction corresponding to a shorter transmission length, the other route where no congestion occurs is selected. In the case, the hop number may be used as the value corresponding to the transmission length.
For example, the station 2002 may refer to the route information of
In the example of
Therefore, the station 2002 transmits the data in the ringlet direction 1 corresponding to the route having the lesser hop number. As a result, the data from the station 2002 are transmitted to the relay station 100 via the station 2001.
The relay station 100 having received the data from the station 2001 transfers the data to the station 2008. When transferring (transmitting) the data to the station 2008, the relay station 100 basically transmits in the ringlet direction which corresponds to a shorter transmission length to the station 2008. Therefore, in this example, the relay station 100 basically transmits in the ringlet 2 direction.
However, when congestion occurs in the route in the ringlet direction corresponding to a shorter transmission length, the other route where no congestion occurs is selected. In the case, the hop number may be used as the value corresponding to the transmission length. For example, the relay station 100 may refer to the route information generated by the relay station 100, obtain the hop numbers in both ringlet directions to the station 2008, select the ringlet direction corresponding to a lesser hop number, and transmit the data in the selected ringlet direction.
In the example of
Therefore, the relay station 100 transmits the data in the ringlet direction 2 corresponding to the route where no congestion occurs. As a result, the data from the relay station 100 are transmitted to the relay station 2008 via the station 20011, the station 20010, and the station 2009.
In this data transmission method, similar to the data transmission method 1, data may be transmitted using a route having a shorter transmission length. Further, when congestion occurs in the route having a shorter transmission length, the other route where no congestion occurs may be selected.
In the RPR standard, the stations perform various operations autonomously. The various operations include protection and band limitation. Therefore, the station may not have to recognize a traffic status in any section where the station is not connected. However, by the data transmission method 2, the station may be able to recognize the congestion state of the sections where the station is not connected. As a result, delay in the data transmission and loss of the data may be reduced.
First, the station 200n determines whether the destination belongs to another area (step S1802). Namely, the route controller 2066 determines whether the destination of the data to be input from the ring network interface 202 or the LAN interface 208 is a station 200n which belongs to a ring network other than the ring network to which the station 200n belongs.
When determining that the destination belongs to another area (YES in step S1802), the station 200n sets the relay station 100 as the destination (step S1804). Namely, when determining that the destination of the data to be input from the ring network interface 202 or the LAN interface 208 is the station which belongs to a ring network other than the ring network to which the station 200n belongs, the route controller 2066 sets the relay station 100 as the destination of the data.
On the other hand, when determining that destination does not belong to another area (NO in step S1802), the station 200n sets the destination station 200n as the destination (step S1806). Namely, when determining that the destination of the data to be input from the ring network interface 202 or the LAN interface 208 is the destination station 200n which belongs to the ring network to which the station 200n belongs, the route controller 2066 sets the destination station 200n as the destination of the data.
After step S1804 or S1806, the station 200n determines whether the hop number in the ringlet 1 direction to the destination is less than the hop number in the ringlet 2 direction (step S1808). Namely, the route controller 2066 refers to the route information to be stored in the storage 2068 and determines whether the hop number to the relay station 100 set in step S1804 or the destination station 200n to be set in step S1806 in the ringlet direction 1 is lesser.
When determining that the hop number in the ringlet 1 direction is lesser (YES in step S1808), the station 200n determines whether congestion occurs in the route to the destination in the ringlet 1 direction (step S1810). Namely, the route controller 2066 refers to the load information to be stored in the storage 2068 and determines whether there is congestion occurring in the route to the destination.
When determining that there is no congestion in the route to the destination (NO in step S1810), the station 200n transmits the data (packet data) in the ringlet 1 direction (step S1812). Namely, when determining that there is no congestion in the route to the destination, the route controller 2066 controls the switch 2062 so that the data are transmitted in the ringlet 1 direction.
On the other hand, when determining that there is congestion in the route to the destination (YES in step S1810), the station 200n further determines whether there is congestion in the route in the ringlet 2 direction, the route being other than the route which is determined as the route where there is the congestion (step S1814). Namely, the route controller 2066 refers to the load information to be stored in the storage 2068 and determines whether there is congestion in the route in the ringlet 2 direction to the destination.
When determining that there is congestion in the route in the ringlet 2 direction to the destination (YES in step S1814), the station 200n transmits the data in the ringlet 1 direction (step S1812). The reason for this is as follows. This is the case where the congestion occurs in both routes. Therefore, in this case, it may be assumed that the lesser the hop number is, the sooner the data can be transmitted to the destination. Based on this determination, in this example, the route controller 2066 controls the switch 2062 so that the data are transmitted in the ringlet 1 direction.
On the other hand, when determining that there is no congestion in the route in the ringlet 2 direction to the destination (NO in step S1814), the station 200n transmits the data in the ringlet 2 direction (step S1816). Namely, when determining that there is no congestion in the route in the ringlet 2 direction to the destination, the route controller 2066 controls the switch 2062 so that the data are transmitted in the ringlet 2 direction.
When determining that the hop number in the ringlet 1 direction is not lesser (NO in step S1808), the station 200n determines whether congestion occurs in a route other than the route which is determined as the route where congestion occurs in step S1808 (step S1818). Namely, in this case, the station 200n determines whether congestion occurs in the route in the ringlet 1 direction. Namely, the route controller 2066 refers to the load information to be stored in the storage 2068 and determines whether there is congestion occurring in the route to the destination.
When determining that there is no congestion in the route to the destination (NO in step S1818), the station 200n transmits the packet data in the ringlet 2 direction (step S1816). Namely, when determining that there is no congestion in the route in the ringlet 2 direction, the route controller 2066 controls the switch 2062 so that the data are transmitted in the ringlet 2 direction.
On the other hand, when determining that there is congestion in the route to the destination (YES in step S1818), the station 200n further determines whether there is congestion in a route other than the route which is determined as the route where there is the congestion in step 1818 (step S1820). In this case, the station 200n determines whether there is congestion in the route in the ringlet 1 direction. Namely, the route controller 2066 refers to the load information to be stored in the storage 2068 and determines whether there is congestion occurring in the route in the ringlet direction 1 to the destination.
When determining that there is no congestion in the route in the ringlet 1 direction to the destination in step S1820 (NO in step S1820), the station 200n transmits the packet data in the ringlet 1 direction (step S1812). This is because it may be assumed that the route having no congestion is preferably used to transmit data. Namely, when determining that there is no congestion in the route in the ringlet 1 direction to the destination, the route controller 2066 controls the switch 2062 so that the packet data are transmitted in the ringlet 1 direction.
When determining that there is congestion in the route in the ringlet 1 direction to the destination in step S1820 (YES in step S1820), the station 200n transmits the packet data in the ringlet 2 direction (step S1816). The reason of this is as follows: This is the case where the congestion occurs in both routes. Therefore, in this case, it may be assumed that the lesser the hop number is, the sooner the data can be transmitted to the destination. Based on this determination, in this example, the route controller 2066 controls the switch 2062 so that the data are transmitted in the ringlet 2 direction.
The relay station 100 sets the destination station as the destination (step S1902). Namely, the route controller 1066 sets the destination station of the data to be input from the ring network interface 202 or the LAN interface 208 as the destination of the data.
Then, the relay station 100 determines whether the hop number in the ringlet 1 direction to the destination is less than the hop number in the ringlet 2 direction (step S1904). Namely, by referring to the route information to be stored in the storage 1068, the route controller 1066 determines whether the hop number to the station to be set in step S1902 in the ringlet direction 1 is less than the hop number in the ringlet 2 direction.
When determining that the hop number to the destination in the ringlet 1 direction is lesser (YES in step S1904), the relay station 100 further determines whether there is congestion in the route in the ringlet 1 direction to the destination (step S1906). Namely, the route controller 1066 refers to the load information to be stored in the storage 1068 and determines whether there is congestion in the route to the destination.
When determining that there is no congestion in the route to the destination (NO in step S1906), the relay station 100 transmits the packet data in the ringlet 1 direction (step S1908). Namely, when determining that there is no congestion in the route in the ringlet 1 direction, the route controller 2066 controls the switch 2062 so that the data are transmitted in the ringlet 1 direction.
On the other hand, when determining that there is congestion in the route to the destination (YES in step S1906), the relay station 100 further determines whether there is congestion in a route other than the route which is determined as the route where there is the congestion in step S1906 (step S1910). In this case, the station 200n determines whether there is congestion in the route in the ringlet 2 direction. Namely, the route controller 1066 refers to the load information to be stored in the storage 1068 and determines whether there is congestion occurring in the route in the ringlet direction 2 to the destination.
When determining that there is congestion in the route in the ringlet 2 direction to the destination (YES in step S1910), the relay station 100 transmits the packet data in the ringlet 1 direction (step S1908). The reason for this is as follows. This is the case where the congestion occurs in both routes. Therefore, in this case, it may be assumed that the less the hop number is, the sooner the data can be transmitted to the destination. Based on this determination, in this example, the route controller 1066 controls the switch 1062 so that the data are transmitted in the ringlet 1 direction.
When determining that there is no congestion in the route in the ringlet 2 direction to the destination in step S1910 (NO in step S1910), the relay station 100 transmits the packet data in the ringlet 2 direction (step S1912). Namely, when determining that there is no congestion in the route in the ringlet 2 direction to the destination, the route controller 1066 controls the switch 1062 so that the packet data are transmitted in the ringlet 2 direction.
When determining that the hop number in the ringlet 1 direction is not lesser (NO in step S1904), the relay station 100 determines whether congestion occurs in a route other than the route which is determined as the route where congestion occurs in step S1904 (step S1914). Namely, in this case, the relay station 100 determines whether congestion occurs in the route in the ringlet 2 direction. Namely, the route controller 1066 refers to the load information to be stored in the storage 1068 and determines whether there is congestion occurring in the route to the destination.
When determining that there is no congestion in the route to the destination (NO in step S1914), the relay station 100 transmits the packet data in the ringlet 2 direction (step S1912). Namely, when determining that there is no congestion in the route in the ringlet 2 direction, the route controller 1066 controls the switch 1062 so that the data are transmitted in the ringlet 2 direction.
On the other hand, when determining that there is congestion in the route to the destination (YES in step S1914), the relay station 100 further determines whether there is congestion in a route other than the route which is determined as the route where there is the congestion in step 1914 (step S1916). In this case, the relay station 100 determines whether there is congestion in the route in the ringlet 1 direction. Namely, the route controller 1066 refers to the load information to be stored in the storage 1068 and determines whether there is congestion occurring in the route in the ringlet direction 1 to the destination.
When determining that there is no congestion in the route in the ringlet 1 direction to the destination in step S1916 (NO in step S1916), the relay station 100 transmits the packet data in the ringlet 1 direction (step S1908). This is because it may be assumed that the route having no congestion is preferable to transmit data. Namely, when determining that there is no congestion in the route in the ringlet 1 direction to the destination, the route controller 1066 controls the switch 1062 so that the packet data are transmitted in the ringlet 1 direction.
When determining that there is congestion in the route in the ringlet 1 direction to the destination in step S1916 (YES in step S1916), the relay station 100 transmits the packet data in the ringlet 2 direction (step S1912). The reason for this is as follows. This is the case where the congestion occurs in both routes. Therefore, in this case, it may be assumed that the less the hop number is, the sooner the data can be transmitted to the destination. Based on this determination, in this example, the route controller 1066 controls the switch 1062 so that the data are transmitted in the ringlet 2 direction.
Next, a modified example is described. The system in this modified example is the same as the system described with reference to
The relay station 100 and the station 200n in this modified example are the same as those in the relay station 100 described with reference to
In this modified example, an operation when a failure occurs in the communication system will be described.
Under the condition, a case is described where data are transmitted from the station 2002 to the station 2008.
In the data transmission in the communication system, it is assumed that the network information relevant to the network including the relay station 100 and the stations 200n is set in the relay station 100 and the stations 200n, respectively.
To perform the data transmission in this system, each of the stations 200n broadcasts packet data to all the other stations 200n in the ring network to which the station 200n belongs, the packet data being for generating the route information indicating the arranging order in the ring network.
Further, the relay station 100 broadcasts the identifier of the relay station 100 to all the stations 200n.
Further, when determining that a value indicating the state of the receiving buffer is equal to or greater than a predetermined threshold value (i.e., when determining that the value indicating the state of the receiving buffer indicates congestion), the station 200n may broadcast the congestion information indicating the congestion to any other stations 200n and the relay station 100.
More specifically, as an example,
Further, the station 2002 may not recognize the stations 200n beyond the relay station 100 in the ringlet 2 direction. As a result, the route information and the load information in the ringlet 2 direction are as illustrated in the lower part of
Further, as illustrated in
The ring network RN1 to which the station 2002 belongs to is different from the ring network RN2 to which the destination station 2008 belongs. Therefore, the station 2002 transmits the data to the relay station 100. When transmitting the data to the relay station 100, the station 2002 refers to the route information of
In the example of
The relay station 100 having received the data from the station 2001 transfers the data to the station 2008. In this case, the relay station 100 selects the station to which the data is to be sent by referring to the route information.
In the example of
On the other hand, since no failure occurs in the ring network RN2, the data of all the stations 200n belonging to the ring network RN2 may be acquired. In the ring network RN2, the hop number from the relay station 100 to the station 2003 in the ringlet 1 direction is “4” and the hop number from the relay station 100 to the station 2003 in the ringlet 2 direction is “2”. Further, there is no congestion in the route having a shorter transmission length. Therefore, the data are transmitted using the route in the ringlet 2 direction and having a shorter transmission length. As a result, the data from the relay station 100 are transmitted to the station 2008 via the station 2007.
The operations of this communication system are similar to those described in the above examples. However, when the ringlet direction is selected in the ring network where a failure occurs, there may be the station to be the destination in only one ringlet direction. Therefore, not the route having a shorter transmission length but the route in the ringlet direction where the station to be the destination exists is selected.
In the examples and the modified example, it may become possible to effectively construct the transmission route in a practical setting environment by connecting the stations included in the ring networks in a unicursal form (in a one-stroke drawing form). Further, the transmission lengths may be reduced, thereby enabling reducing the cost and the transmission delay. Further, when congestion occurs, an appropriate route may effectively selected.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of superiority or inferiority of the invention. Although the embodiment of the present inventions has been described in detail, it is to be understood that various changes, substitutions, and alterations could be made hereto without departing from the sprit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2011-047000 | Mar 2011 | JP | national |