This application relates to and claims priority from Japanese Patent Applications No. 2007-273770, filed on Oct. 22, 2007, the entire disclosure of which is incorporated by reference.
1. Technical Field
The present invention relates to a technology for data transfer in a ring network.
2. Background of the Related Art
Ring networks enjoy widespread use due to their high reliability and smaller requirements for transmission path and interfaces. In a ring network configured with ring topology, failure in of even one data transfer device or transmission path will result in interrupted flow of data, so in the event of a failure on the network it is important to detect the failure and quickly switch the pathway.
One method for detecting failure of a data transfer device or transmission path making up a ring network involves having one of the data transfer devices periodically transmit control frames to the ring network and monitor transmission thereof. For example, according to the method taught in JP-A-2004-201009A, one of the devices on a ring network is designated as a monitoring device, with the other constituent devices being designated as relay devices. The monitoring device periodically transmits control frames from a port on one side, and monitors whether control frames relayed by the relay devices can be received by a port on the opposite side of the monitoring device. During the period that control frames are received by the port on the opposite side the ring network will be considered as operating normally; however, if a failure occurs on the network, control frames will no longer be received by the port on the opposite side, and it will therefore be possible to detect that failure has occurred. Meanwhile, demands for higher capacity, faster speeds, and higher reliability in networks have led to a need for switches able to manage large numbers of rings. It has proven difficult to maintain high-speed switching processes and to ensure scalability accommodating a larger numbers of rings in the network, while maintaining reliability.
The present invention is addressed to the above problem and has as an object to provide a technology for deployment in a ring network able to flexibly adapt to the need for higher switching process speeds and increased numbers of rings accommodated in a network.
An aspect of the present invention provides a data transfer device. This data transfer device comprises:
a number n(where n is an integer equal to 2 or greater) of transfer resources that function as nodes of a number m (where m is an integer equal to 2 or greater) of ring networks;
a number p (where p is an integer equal to 2 or greater) of ring management resources that manage at least some of the n transfer resources so as to function as master nodes of the ring networks;
connection lines that interconnect the p ring management resources and the n transfer resources; and
a controller portion that controls the ring management resources and the connection lines, and switches the ring management resources which manage at least some of the n transfer resources.
With the data transfer device, ring management resources that manage each of a plurality of transfer resources can be switched, whereby it will be possible to flexibly adapt to the need for faster process speeds or increased numbers of rings accommodated in the network, simply by increasing the number of transfer resources or ring management resources for example.
Furthermore, the load on the multiple ring management resources can be balanced easily through appropriate setting of the controller portion. Specifically, if load should temporarily become concentrated in a particular ring, management of other rings under management by the ring management resource which is managing the ring in question can be relegated to another ring management resource, for example.
The data transfer device is provided a plurality of frame processing portions having the transfer resources and the ring management resources. In this case, the controller portion may specify, in accordance with user input, any of the plurality of frame processing portions functioning as respective nodes for the m ring networks; and specify, in accordance with user input, a frame processing portion that will be switched to from the specified frame processing portion in the event that a failure occurs in the specified frame processing portion.
By so doing, operating conditions of data transfer devices when a failure has occurred on the network can be easily predicted (e.g. when making network settings) or analyzed (when a failure has occurred), thus reducing the burden of management.
In the data transfer device,
the frame processing portion may further include a destination determining portion for determining the transfer destination of the transfer resources; and
the destination determining portion may determine a destination such that a health-check frame received by the data transfer device is returned to the ring management resources within the data transfer device.
The data transfer device may be configured such that
at least some of the p ring management resources and the n transfer resources are interconnected by a crossbar switch; and
control of the connection lines includes switching of the crossbar switch; or as shown in a modification example (
The data transfer device may be configured such that the controller portion controls the ring management resources and the connection lines, and via the ring network under management by the ring management resources, returns to the ring management resource a health-check frame sent from the ring management resources.
The present invention further provides a data transfer method. One aspect of the data transfer method comprises the steps of providing a number n(where n is an integer equal to 2 or greater) of transfer resources functioning as nodes of a number m (where m is an integer equal to 2 or greater) of ring networks, a number p (where p is an integer equal to 2 or greater) of ring management resources for managing at least some of the n transfer resources so as to function as master nodes of the ring networks, and connection lines interconnecting the p ring management resources and the n transfer resources; and
controlling the ring management resources and the connection lines, and switching the ring management resources which manage at least some of the n transfer resources.
The present invention is not limited to the embodiments set forth above, and may also be reduced to practice as a data transfer control method. Various other embodiments would be possible as well, such as a computer program for building such a method or device; or a recording medium having such a computer program recorded thereon.
A. Network Transfer System in an Embodiment of the Present Invention:
The first frame processing portion FP1 has a first destination determining portion HD1; a first ring status management portion RS1; a first transfer processing portion DT1; and a number m of input/output ports P1-1 through Pn-m. In the embodiment, the other frame processing portions FP2 through FPn each have a configuration identical to the first frame processing portion FP1.
Internal circuits CD1 through CDn connect the crossbar switch CSW with first through n-th transfer portions DT1 through DTn of the first through n-th frame processing portions FP1 through FPn. Frame data received, for example, by the input/output port P2-1 from the switch S4 will be transferred to the crossbar switch CSW via the internal circuit CD2. It is possible for this frame data to be transferred to any of the frame processing portions FP1 to FPn via the crossbar switch CSW controlled by the device managing portion 300, and any of the internal circuits CF1 to CFn.
The internal circuits CF1 through CFn interconnect the crossbar switch CSW with the destination determining portions HD1 through HFn, the ring status management portions RS1 through RSn, and the transfer processing portions DT1 through DTn of the first through n-th frame processing portions FP1 through FPn. The internal circuits CF1 through CFn are used for data transfer among the first through n-th frame processing portions FP1 through FPn via the crossbar switch CSW. The internal circuits CF1 through CFn also convey control instructions from the device managing portion 300 to the first through n-th frame processing portions FP1 through FPn via the crossbar switch CSW; and convey data indicating status of the first through n-th frame processing portions FP1 through FPn to the device managing portion 300.
This internal configuration of the switch S1 makes possible flexible use of the first through n-th frame processing portions FP1 through FPn as transfer resources. Specifically, transfer resources can manage the ring R1 as a master switch in the following three modes, for example. The individual first through n-th frame processing portions FP1 through FPn correspond to the “transfer resources” taught in the claims. The device managing portion 300 corresponds to the “controller portion” taught in the claims.
As will be understood from the first through third modes described above, management of the ring R1 which is connected via the first frame processing portion FP1 and the second frame processing portion FP2 is possible by any of the frame processing portions provided to the switch S1. The same is true of a ring connected to mutually different input/output ports of a given frame processing portion. However, connection to mutually different frames is preferable in terms of distributing the load among the frame processing portions.
The n-th destination determining portion HDn executes the following process in response to reception of frame data from the n-th transfer processing portion DTn. In the present embodiment, the header analyzing portion 115 extracts the destination MAC address and the sender's MAC address from the header information contained in the frame data received from the first transfer processing portion DTn and transmits it, together with the port number of the input port and a VLAN tag (VLAN ID, etc.), to the search key generating portion 114. The search key generating portion 114 will then transmit generated search keys (discussed later) to the VLAN determining portion 111, the logic circuit status determining portion 107, and the MAC address table access process portion 104.
On the basis of the VLAN determination table 112 (
On the basis of the VLAN group table 110 (
On the basis of the logic circuit status table 108 (
On the basis of the MAC address table 102 (
On the basis of the ring control frame monitoring table 103 (
The ring status table 203 manages the management mode, ring status, and process stage for each individual ring number. Management mode stores a flag indicating whether the n-th ring status management portion RSn is functioning as the master (lead) of each ring, or functioning as a transit (subordinate). Ring status stores a flag indicating failure monitoring status during normal operation, or recovery monitoring status when a failure has occurred. Process stage stores a flag indicating completion of rewriting of the logical circuit table STG1, completion of deletion of the MAC address table STG2, or completion of FDB flash transmission STG3. FDB flash refers to frame data for the purpose of clearing the MAC address (FDB) of a ring on which a failure has occurred, prior to rebuilding it.
The n-th transfer processing portion DTn further includes a frame receiving portion 310 for receiving frame data that was received from the input/output ports P1-1 through Pn-m via a circuit frame receiving portion 311; a frame storage memory 307 for temporary storage of the received frame data; a storage memory management portion 308 for managing the frame storage memory 307; a transmission process-wait frame management portion 309 for managing stored frame data until the transmission process; and a frame transmitting portion 306 for outputting frame data to the CSW frame transmitting portion 302, the destination determination control portion 303, the ring status monitoring portion frame transmitting portion 304, and the input/output ports P1-1 through Pn-m. Output to the input/output ports P1-1 through Pn-m takes place via a circuit frame transmitting portion 312.
The VLAN tag includes priority, a CF1, and a VLAN ID. A value by which the switch S1 of the present invention can be identified as the ring protocol has been set in the Ether type field. A value indicating high priority is stored in the priority field. This is because it is necessary for control frame CF transmission and reception by the other switches S2 through S7 to take place reliably even in the event of network convergence.
The ring protocol data stores protocol version which indicates the version of the ring protocol; control frame type; and other information. A value indicating a class of control frame is stored in the control frame type field. In this embodiment, frame classes corresponding to values are shown. The frame classes are: the health-check frame HC, an FDB flash frame FF, and a link down frame LD. In the “other information” it is possible to set other values needed for use in ring control.
In the reception port number field the number of the port that received the frame is stored as the setting during reception. In the transmission port number field is stored to the number of the transmission port determined subsequent to the destination determination process. Were the destination is the crossbar switch CSW, the transmission port number may be shown as bitmap information in consideration of the fact that there are multiple destination frame processing portions FP1 through FPn (
In the circuit reception/CSW reception identifier flag field is stored a flag for distinguishing between an instance of reception from a circuit and an instance of reception from the crossbar switch CSW. This flag is used for process branching (searching different tables) by the destination determining portions HD1-HDn. The device-internal priority stores the processing priority in the transfer process portions DT1 through DTn during transmission to the crossbar switch CSW, and the processing priority in the transfer process portions during transmission to the switch S2 or other circuit. The device-internal priority will be determined on the basis of frame header information (destination MAC address, priority, Ether Type, or other information) during frame reception from the switch S2 or other circuit.
The destination determination flag is a flag which shows whether a destination for frame data has been determined. When the destination determination flag has been set, the destination determination control portion 303 (
This communication frame is a frame for the purpose making any of the ring status management portions RS1 through RSn execute “a process of FDB flash transmission,” “a process of logical circuit mode change (individual circuit+VLAN group management.” or “a process of MAC address table entry deletion (individual circuit+VLAN group deletion). This frame stores data which represents a “ring number,” “ring port number,” or “VLAN group” for executing such processes.
In Step S100, the ring R1 is operating normally as shown in
Data transmission on the ring R1 is carried out in the following manner, taking the example of data transmission from the terminal T3 to the terminals T1 and T2. When a data frame DF31 (
Meanwhile, in normal operation, failure monitoring of the ring R1 will be carried out during the Layer 2 ring protocol operation. Failure monitoring of the ring is carried out by periodic transmission of a health-check frame HC, which is one type of control frame, from the primary port P1-1 to the secondary port P2-1 by the switch S1 designated as the master switch while monitoring reception by the secondary port P2-1. As will be understood from
In this way, normal operation of the ring R1 (Step S100) will continue as long as the health-check frames HC periodically arrive at the secondary port P2-1; whereas if a problem is detected through failure of the health-check frames HC to arrive within the prescribed time, the process will advance to Step S300 (Step S200).
In Step S300, the switch S1 executes a rerouting process. The rerouting process refers to a process for building a new path that avoids the failure site. Wrapping, which involves repeated wrapping in proximity to the failure site, and steering, which involves switching to a ring that does not pass through the failure site, are types of ring protocol rerouting. In the embodiment, rerouting is accomplished through steering.
In Step S320, the switch S1 executes an FDB flash process. The FDB flash process refers to a process of clearing the MAC address table 102 of all devices connected to the ring R1, as well as transmitting an FDB flash frame FF to all switches S2 through S4 of the ring R1. By so doing, the MAC addresses are cleared in all switches S2 through S4 of the ring R1, producing a flooding condition. A flooding condition refers to a condition in which nodes transmit data received by input ports to all output ports.
In Step 330, the switch S1 executes a learning process. In the flooding condition, the data frames DF32, DF31 will reach the switch S1 via the switches S3, S4, and arrive at the terminals T1, T2. During this time, the switches S1, S3, S4 will learn the route which passes through the switch S1, the switch S3, and the switch S4. This constitutes the learning process. When this learning process is complete, the flooding condition will terminate returning communication status to normal capability, and the process will return to Step S400 (
In Step S400, the switch S1 executes an abnormal condition operation process. The abnormal condition operation process refers to a process whereby, in the presence of continuing communication status which avoids the problem site, transmission of health-check frames HC from the primary port P1-1 to the secondary port P2-1 of the switch S1 will continue in anticipation of recovery by the circuit L23. Since an additional problem occurring with an element of the ring R1 would result in an area of disabled communication, the abnormal condition operation process will represent nothing more than a temporary communication status until the circuit L23 recovers. The abnormal condition operation process produces a loop in the ring R1 upon recovery by the circuit L23, and thus a broadcast stream may occur in some circumstances.
In this way, the ring R1 abnormal condition operation process (Step S400) will continue for as long as a condition in which health-check frames HC fail to arrive at the secondary port P2-1 persists; on the other hand, once recovery of the circuit L23 has been detected through arrival of a health-check frame HC at the secondary port P2-1, the process will advance to Step S600 (Step S500).
In Step S620, the switch S1 executes an FDB flash process. This clears the MAC addresses in all switches S1 through S4 of the ring R1 in the same manner as in Step S320, thus producing a flooding condition.
In Step S630, the switch S1 executes a learning process. In the flooding condition, the data frames DF32, DF31 will reach the switch S1 via the switches S3, S42, and arrive at the terminals T1, T2. During this time, the switches S1, S2, S3 will learn the route which passes through the switch S1, the switch S2, and the switch S3. When this learning process is complete, the flooding condition will terminate returning communication status to normal capability, and the process will return to Step S100 (
This sort of ring protocol operation process is executable in any of the n first through n-th ring status management portions RS1 through RSn which are interconnected via the crossbar switch CSW in the above manner and controlled concertedly by the device managing portion 300. Such a configuration allows for flexible distribution of the burden of managing multiple rings under management by the switch S1, thus making it possible to flexibly accommodate an increase or decrease in the number of accommodated rings or faster process speeds, simply by increasing or decreasing the number of frame processing portions FP1 through FPn, for example, so that scalability can be assured.
In the preceding embodiment, the health-check frames HC are transmitted in a single direction, but an arrangement involving bidirectional transmission in the opposite direction as well is also acceptable.
B. Modifications:
While the present invention has been shown hereinabove based on certain preferred embodiments, the invention is in no wise limited to the particular embodiments herein and various modifications such as the following can be made herein without departing from the scope of the invention.
B-1. In the preceding embodiments, the n first through n-th frame processing portions FP1 through FPn are interconnected via the crossbar switch CSW, but a configuration in which the n first through n-th frame processing portions FP1 through FPn are connectable with the n first through n-th frame transmitting/receiving portions FT1-FTn in any combination as depicted in
B-2. In the preceding embodiments, the configuration enables any frame processing portion among the n first through n-th frame processing portions FP1 through FPn to manage any ring, but it is not necessary that any ring be manageable by any of the n first through n-th frame processing portions FP1 through FPn. In the present invention, it is acceptable to have a configuration whereby connections among at least some of a plurality of ring networks and at least some of a plurality of transfer resources are modifiable; as well as a configuration whereby a transfer resource selected from least some of a plurality of the transfer resources is controlled so as to enable management of at least some of a plurality of ring networks.
Number | Date | Country | Kind |
---|---|---|---|
2007-273770 | Oct 2007 | JP | national |