Inter-ring connection method and device
In an inter-ring connection method and device interconnecting a plurality of RPR rings, an inter-ring connecting device (interconnecting station) determines whether or not an RPR frame received from one ring is a broadcast frame; and resets, when the RPR frame determined to be the broadcast frame is relayed to another ring, a ttl of the frame so that a predetermined point between the inter-ring connection device itself and another identical inter-ring connection device opposed within a ring to be relayed is a cleave point. Also, topology information of the one ring is transmitted to another ring; topology information of each ring is held in a topology database; and an RPR frame is relayed (unicasted) between the rings by referring to the topology database based on a destination address of the RPR frame.
Latest Patents:
1. Field of the Invention
The present invention relates to an inter-ring connection method and device, and in particular to an inter-ring connection method and device upon establishing a network by a plurality of rings in an RPR (Resilient Packet Ring).
2. Description of the Related Art
A packet ring directly transferring therethrough an Ethernet (registered trademark) frame and the like is noticed in a Metro Area Network, and the RPR is standardized in the IEEE802.17 committee.
Hereinafter, the RPR technology will be schematically described.
RPR Ring
A ring using the RPR (hereinafter, occasionally referred to as RPR ring) is for transferring data by a dual ring arrangement in which two unidirectional rings (hereinafter, referred to as ringlets) are combined in the opposite directions to each other as shown in
In the physical layer of the RPR, Ethernet (registered trademark) and SONET/SDH are adopted, so that 255 RPR stations (network devices composing the RPR; hereinafter occasionally referred to simply as stations) at the maximum are allowed to be provided for a single ring. Also, an IEEE802 48-bit MAC address (in conformity with the IEEE std 802-2002) is used for an identifier of the station.
Frame Format
Broadcast
There are two main types for a transmission method of a broadcast frame in the RPR as follows, where a station having received the frame strips (discards) the frame when a ttl (time-to-live)=1 or sa (source address)=MAC address of the station itself:
Unidirectional Transmission (
Frames are transmitted through only one ringlet. Upon transmitting the frames, “station number-1” is set to the ttl.
Bidirectional Transmission (
Frames are transmitted through both ringlets. A cleave point is set on the ringlets and a hop number up to the cleave point is set for the ttl in each ringlet. There is not a rule concerning where the cleave point should be set. However, in most cases, the cleave point is set at the farthest point from a transmission station, i.e. at a position of (station number-1)/2 or station number/2. Also, at the time of a fault, a fault point assumes the cleave point.
It is to be noted that copy or add processing is performed at each station in both cases.
Topology Discovery
The RPR station detects a change of a network or a fault by always grasping a ring topology. Each station on the ring broadcasts a TP (topology and protection) frame that is a type of a control frame in a periodical manner where recommended value is 100 ms or when the status of the station or ring changes.
Also, by using an ATD (Attribute Discovery) frame shown in
A topology database as shown in
Fairness
This is a method of adjusting a best-effort bandwidth by using a fairness algorithm between adjacent stations in order to secure fairness of best-effort traffic between the stations.
Namely, when a congestion occurs as shown in
A shaping parameter for the best-effort traffic is calculated by the fairness algorithm, and transmitted, by a fairness frame of a format shown in
Protection
By a ring protection means called steering and wrapping, an extremely high speed fault protection (avoidance) within 50 ms is guaranteed within a single ring.
Namely, when a fault section (between stations S3-S4) is found in a steering protection method shown in
On the other hand, when a fault section is found in a wrapping protection method shown in
Inter-Ring Connection
As shown in
However, if the rings are interconnected at a plurality of points in this way, loops are caused between the interconnecting stations S4 and S5 ((3) in
Therefore, a method of avoiding a loop by running a Spanning Tree Protocol (IEEE 802.1d) across the rings #1 and #2, as shown in e.g.
Meanwhile, as a well-known example of a method connecting a plurality of rings, there are a method of communicating between stations connecting a plurality of rings and determining working/protection (act/standby) (see e.g. patent document 1), and a method of establishing a virtual ring across a plurality of rings ((1) in
[Patent document 1] Japanese Patent Application Laid-open No. 2003-258822
[Patent document 2] International Publication No. WO 2004/095779
When a plurality of rings are interconnected with interconnecting stations as mentioned above, installing a redundancy protocol was required and a high-speed fault protection equivalent to the ring protection was difficult in the prior art using the Spanning Tree Protocol and the patent document 1 determining the working/protection.
Also, when a single ring is established by using a virtual ring in the same way as the patent document 2, a fault occurrence influenced the network composed of a plurality of rings ((2) in
It is accordingly an object of the present invention to provide an inter-ring connection method and device interconnecting a plurality of RPR rings, wherein a high-speed fault switchover between a plurality of rings interconnected and a minimized fault affection can be made compatibly.
(1) In order to achieve the above-mentioned object, an inter-ring connection method or device according to the present invention respectively comprises: a first step or means determining whether or not an RPR frame received from one ring is a broadcast frame; and a second step or means resetting, when the RPR frame determined to be the broadcast frame is relayed to another ring, a ttl of the frame so that a predetermined point between the inter-ring connection device itself and another identical inter-ring connection device opposed within a ring to be relayed is a cleave point.
(2) Also, the above-mentioned second step or means respectively may include a third step or means detecting, from a topology database held by an RPR station composing the inter-ring connection device, an RPR station composing the other inter-ring connection device and calculating a predetermined point for each ringlet within the ring to be relayed (relayed destination).
(3) Also, when a broadcast frame is inserted into the ring from the inter-ring connection device, a fourth step or means respectively may be further provided which sets a ttl to the one ring regardless of the inter-ring connection device opposed, and which sets, only to the other ring, a ttl between the inter-ring connection device itself and the inter-ring connection device opposed.
(4) Also, when a broadcast frame is inserted into the ring from the inter-ring connection device, a fifth step or means respectively may be further provided which sets a ttl to all rings regardless of the inter-ring connection device opposed, and at which an inter-ring connection device which is not a source of the broadcast frame relays no broadcast frame to a ring to which a source inter-ring connection device belongs.
(5) Furthermore, an inter-ring connection method or device according to the present invention respectively may comprise: a first step or means transmitting topology information of one ring to another ring; a second step or means holding topology information of each ring in a topology database; and a third step or means relaying (unicasting) an RPR frame between the rings by referring to the topology database based on a destination address of the RPR frame.
(6) Also, a fourth step or means respectively may be further provided which counts relay traffic from the one ring to the other ring by a fairness algorithm as additional traffic to a ring to be relayed.
(7) Also, a fifth step or means respectively may be further provided which performs an RPR protection upon a fault occurrence only within the concerned ring, and which performs no RPR protection in another ring where no fault has occurred.
(8) Also, the inter-ring connection method or device respectively may further comprise a sixth step or means notifying information of a ring where a fault has occurred to another ring.
(9) Furthermore, a seventh step or means respectively may be further provided at which or by which each station having received information of a ring where a fault has occurred initializes a topology database of the ring where the fault has occurred.
The characteristics of the inter-ring connection method and device according to the above-mentioned present invention correspond to the functions described hereinafter, which will be described by referring to the attached figures.
Broadcast
Firstly, in the same way as the prior art, a ttl is set so that stations S1-S3 and S6-S8 connected to only a single ring broadcast frames within the ring to which each station belongs and the frames are transmitted ((1) in
When e.g. an interconnecting station S5 (or S4) which is an inter-ring connection device connecting a plurality of rings receives a broadcast frame from the ring #1 and relays the received frame to another ring #2, a cleave point in the ring #2 to be relayed is reset to a predetermined point (e.g. midpoint) between the interconnecting station S5 (or S4) itself and the adjacent interconnecting station S4 (or S5) ((2) in
Thus, the interconnecting station S5 (or S4) can avoid a loop (see
As shown in
1) The interconnecting station S5 sets a ttl for the broadcast frame BF to the first ring #1 in the same way as the prior art, regardless of the opposed interconnecting station S4 ((1) in
2) The interconnecting station S5 sets a ttl 1 (CP, CP#2) to the broadcast frame BF for the broadcast frame to all of the rings (rings #1 and #2) in the same way as the prior art, regardless of the opposed interconnecting station S4, and transmits the frame. When receiving the broadcast frame BF in the ring #1, the interconnecting station S4 does not perform an inter-ring relay ((1) of
Topology Discovery
Basically, each station broadcasts a TP frame (see
Each station having received a frame (TP/ATD frame or Organization specific OAM frame having station information on the other ring) having stored the topology information stores an interface having received the frame together with the station information in a topology database. When the same interface receives pieces of information of the same station, e.g. information whose hop number is smaller can be preferentially stored.
It is to be noted that the interconnecting station connecting a plurality of rings uses the same station identifier for all of the rings interconnected upon transmitting the TP frame. Thus, it is possible to recognize which station is the interconnecting station if the topology databases of a plurality of rings are compared.
Unicast
A unicast data frame is transferred based on the topology database. By switching a frame whose destination is a station on the other ring based on the topology database in the interconnecting station, the transmission of the RPR frame across the plurality of rings is enabled.
Fairness
Fairness processing is performed within a single ring in the same way as the prior art. However, traffic relayed from the other ring can be treated as additional traffic for the ring to be relayed in the interconnecting station.
Protection
At the time of fault occurrence, an RPR protection is executed only in the ring where the fault has occurred, and the protection is not executed in the other ring. However, the interconnecting station can notify the ring where the fault has occurred to the other ring (Organization specific OAM frame etc.). Also, each station having received fault information can initialize the topology database of the ring where the fault has occurred.
The present invention has advantages as follows compared with the prior art in which a redundancy protocol is installed on the inter-ring connection device interconnecting a plurality of rings.
The redundancy (loop prevention) protocol becomes unnecessary.
A high-speed fault protection equivalent to the ring protection is made possible.
A fault influence can be restrained within each ring, so that a fault range can be suppressed to the minimum.
BRIEF DESCRIPTION OF THE DRAWINGSThe above and other objects and advantages of the invention will be apparent upon consideration of the following detailed description, taken in conjunction with the accompanying drawings, in which the reference numerals refer to like parts throughout and in which:
Hereinafter, an embodiment of an inter-ring connection method and device according to the present invention will be described by referring to the attached figures.
Firstly, a network example composed of two rings as shown in
Firstly, step 1 shown in
It is to be noted that the MAC controller 12 has functions of a control interface, a fairness algorithm, a protection, a topology management, an OAM, and a transmission/reception of control frames. The ringlet selector 13 has functions of a ringlet selection, a flooding selection, and a frame format selection. Furthermore the data path portion has functions of encapsulation/decapsulation, shaping, queuing, frame strip, and transmission/reception of frames.
Also, the interconnecting station shown in
Embodiments of the present invention including such stations and interconnecting stations will now be described per function as described above.
Embodiment of Topology Database Construction:
Firstly, in the example of the network establishment shown in
The interconnecting stations S4 and S5 commonly connected to two rings #1 and #2 have both topology databases of the rings #1 and #2 as shown in
However, for the advertisement from e.g. the ring #1 to the ring #2, only the unshaded or unhatched parts have to be broadcasted as a minimum condition. Namely, important is a shortest path (minimum hop number) to the stations S1-S3 connected only to the ring #1.
Finally, the station S8 constructs the topology database related to the ring #1 shown in
Also, if the topology information of the ring #1 is compared with that of the ring #2 (if a logical product is obtained with a station ID, it is recognized that the interconnecting stations S4 and S5 interconnect two rings #1 and #2.
Embodiment of Broadcast
The transmission of the broadcast frame from the station S2 will now be considered in the same way as the case shown in
The station S1 considers only the broadcasting within the ring #1, and sets a ttl (sets a cleave point CP between the interconnecting stations S4 and S5, which is the farthest point from the station S1). When receiving the broadcast frame on the ring #1, the interconnecting stations S4 and S5 transfer the broadcast frame to the ring #2.
However, the ttl is set so that each station in the ring #2 may not doubly receive the frame. In e.g. the interconnecting station S4, a cleave point CP0 is set at the midpoint between the interconnecting station itself and the adjacent interconnecting station S5, i.e. between the stations S6 and S7 in the ringlet 0, and a cleave point CP1 is set between the stations S4 and S5 in the ringlet 1, and both are reset in the switch portion 20. However, since ttl=1 (or 0) in this case in the transmission to the ringlet 1, it is not actually performed.
Also, when the broadcast frame is transmitted from the interconnecting station S5, there are following two methods.
1) A ttl is set to a single ring (e.g. ring #1) in the same way as the prior art (so that the cleave point may be between the stations S1 and S3), and in the other ring (ring #2), the ttl is set to the midpoint between the interconnecting station itself and the adjacent interconnecting station S4 (cleave point is between the interconnecting stations S4 and S5, and S6 and S7). In this case, the interconnecting station S4 having received the broadcast frame in the ring #1 relays the broadcast frame to the ring #2 (cleave point is between the interconnecting stations S4 and S5, and stations S6 and S7).
2) The interconnecting station S5 transmits the broadcast frame, in the same way as the prior art, to the rings #1 and #2 (e.g. cleave point in the ring #1 is between S1 and S3, and cleave point in the ring #2 is between S7 and S8). Then, the interconnecting station S4 in the ring #1 receives the broadcast frame transmitted from the interconnecting station S5. However, an inter-ring relay of the frame is not performed to the ring #2 to which the source station S5 of the broadcast frame belongs (relayed only within the ring #1). The same applies to the case where the frame is received in the ring #2.
Embodiment of Unicast:
As shown in
At this time, the station S8 retrieves a mac address S2 which is a destination address of a frame from topology databases shown in
The interconnecting station S4 having received a frame from the station S8 (ring #2-ringlet 1) retrieves the topology database of the ring #1 since it is found that the mac address S2 which is the destination address of the frame received in the ring #2 does not exist in the ring #2 from the topology databases shown in
It is to be noted that while two entries of the interfaces=#1-0 and #1-1 are hit in this case, the relaying to the #1-0 is selected based on the difference of the hop numbers.
It is recognized in the interconnecting station S5 based on the information of
Embodiment of Fairness:
A traffic TF relayed between the rings #1 and #2 is treated equivalent to additional traffic DT for the ring #2 to be relayed.
Protection:
The case where a fault has occurred between the station S1 and the interconnecting station S5 in the ring #1, as shown in
Together with the fault occurrence between the station S1 and the interconnecting station S5, a protection is performed within the ring #1. The fault occurrence in the ring #1 is notified to each station in the ring #2. Each station in the ring #2 having recognized the fault occurrence in the ring #1 initializes the topology database of the ring #1. This is because of a possibility of change of the shortest path due to the fault. As a result, even at the station S8, as shown in
However, the protection is not performed within the ring #2, so that the communication is performed unchanged. While the protection is performed in the ring #1, the communication of each station in the ring #1 is interrupted. However, the communication of each station in the ring #2 is not interrupted.
After the protection occurs, at the time when the topology of the ring #1 converges, the interconnecting stations S4 and S5 notify the topology information of the ring #1 to each station in the ring #2. At this time, the traffic between rings from the station S8 to the station S2 is transmitted from the station S8 in the same way as the normal time. When the traffic is relayed to the ring #1 by the interconnecting station S4, it is relayed in the direction opposite to the normal time by performing e.g. the steering protection.
Claims
1. An inter-ring connection method using an inter-ring connection device interconnecting a plurality of RPR rings comprising:
- a first step of determining whether or not an RPR frame received from one ring is a broadcast frame; and
- a second step of resetting, when the RPR frame determined to be the broadcast frame is relayed to another ring, a ttl of the frame so that a predetermined point between the inter-ring connection device itself and another identical inter-ring connection device opposed within a ring to be relayed is a cleave point.
2. The inter-ring connection method as claimed in claim 1, wherein the second step includes a third step of detecting, from a topology database held by an RPR station composing the inter-ring connection device, an RPR station composing the other inter-ring connection device and of calculating a predetermined point for each ringlet within the ring to be relayed.
3. The inter-ring connection method as claimed in claim 2, further comprising a fourth step of setting, when a broadcast frame is inserted into the ring from the inter-ring connection device, a ttl to the one ring regardless of the inter-ring connection device opposed, and of setting, only to the other ring, a ttl between the inter-ring connection device itself and the inter-ring connection device opposed.
4. The inter-ring connection method as claimed in claim 2, further comprising a fifth step of setting, when a broadcast frame is inserted into the ring from the inter-ring connection device, a ttl to all rings regardless of the inter-ring connection device opposed, and at which an inter-ring connection device which is not a source of the broadcast frame relays no broadcast frame to a ring to which a source inter-ring connection device belongs.
5. An inter-ring connection method using an inter-ring connection device interconnecting a plurality of RPR rings comprising:
- a first step of transmitting topology information of one ring to another ring;
- a second step of holding topology information of each ring in a topology database; and
- a third step of relaying an RPR frame between the rings by referring to the topology database based on a destination address of the RPR frame.
6. The inter-ring connection method as claimed in claim 5, further comprising a fourth step of counting relay traffic from the one ring to the other ring by a fairness algorithm as additional traffic to a ring to be relayed.
7. The inter-ring connection method as claimed in claim 5, further comprising a fifth step of performing an RPR protection upon a fault occurrence only within the concerned ring, and of performing no RPR protection in another ring where no fault has occurred.
8. The inter-ring connection method as claimed in claim 7, further comprising a sixth step of notifying information of a ring where a fault has occurred to another ring.
9. The inter-ring connection method as claimed in claim 8, further comprising a seventh step at which each station having received information of a ring where a fault has occurred initializes a topology database of the ring where the fault has occurred.
10. An inter-ring connection device interconnecting a plurality of RPR rings comprising:
- a first means determining whether or not an RPR frame received from one ring is a broadcast frame; and
- a second means resetting, when the RPR frame determined to be the broadcast frame is relayed to another ring, a ttl of the frame so that a predetermined point between the inter-ring connection device itself and another identical inter-ring connection device opposed within a ring to be relayed is a cleave point.
11. The inter-ring connection device as claimed in claim 10, wherein the second means includes a third means detecting, from a topology database held by an RPR station composing the inter-ring connection device, an RPR station composing the other inter-ring connection device and calculating a predetermined point for each ringlet within the ring to be relayed.
12. The inter-ring connection device as claimed in claim 11, further comprising a fourth means setting, when a broadcast frame is inserted into the ring from the inter-ring connection device, a ttl to the one ring regardless of the inter-ring connection device opposed, and setting, only to the other ring, a ttl between the inter-ring connection device itself and the inter-ring connection device opposed.
13. The inter-ring connection device as claimed in claim 11, further comprising a fifth means setting, when a broadcast frame is inserted into the ring from the inter-ring connection device, a ttl to all rings regardless of the inter-ring connection device opposed, and relaying no broadcast frame to a ring to which a source inter-ring connection device belongs when an inter-ring connection device is not a source of the broadcast frame.
14. An inter-ring connection device interconnecting a plurality of RPR rings comprising:
- a first means transmitting topology information of one ring to another ring;
- a second means holding topology information of each ring in a topology database; and
- a third means relaying an RPR frame between the rings by referring to the topology database based on a destination address of the RPR frame.
15. The inter-ring connection device as claimed in claim 14, further comprising a fourth means counting relay traffic from the one ring to the other ring by a fairness algorithm as additional traffic to a ring to be relayed.
16. The inter-ring connection device as claimed in claim 14, further comprising a fifth means performing an RPR protection upon a fault occurrence only within the concerned ring, and performing no RPR protection in another ring where no fault has occurred.
17. The inter-ring connection device as claimed in claim 16, further comprising a sixth means notifying information of a ring where a fault has occurred to another ring.
18. The inter-ring connection device as claimed in claim 17, further comprising a seventh means by which each station having received information of a ring where a fault has occurred initializes a topology database of the ring where the fault has occurred.
Type: Application
Filed: Aug 26, 2005
Publication Date: Sep 21, 2006
Patent Grant number: 7512140
Applicant:
Inventors: Ryoichi Mutoh (Kawasaki), Kazuto Nishimura (Kawasaki)
Application Number: 11/212,284
International Classification: H04L 12/28 (20060101);