Information
-
Patent Application
-
20040095025
-
Publication Number
20040095025
-
Date Filed
November 12, 200321 years ago
-
Date Published
May 20, 200420 years ago
-
Inventors
-
Original Assignees
-
CPC
-
US Classifications
-
International Classifications
Abstract
A switch is provided that receives user information through a plurality of framer circuits, which group the user information into frames. The frames are fed to a switch fabric including an array of switch elements, each having a switch matrix for routes each frame to a desired output in accordance with configuration data stored in a first table coupled to the switch matrix. If different outputs are desired, i.e., the switch matrix is to be reconfigured, a switch control circuit supplies additional switch configuration data to the frames through the inputs along with additional user information to be routed through the switch. While the additional switch configuration data is stored in a second table, data flow remains uninterrupted through the switch matrix. Once storage of the additional configuration data into the second table is complete, however, the switch control circuit inserts a table select signal into the frames, to thereby couple the second table to the switch so that the switch matrix is configured in accordance with the additional switch configuration data. Subsequent frames are then routed through the reconfigured switch matrix. The first and second tables can thus be alternately updated and coupled to the switch matrix to appropriately reconfigure the switch without affecting existing connections established through the switch. “Hitless switchover” is therefore achieved.
Description
BACKGROUND OF THE INVETNION
[0001] The present invention relates to a switch fabric architecture and related techniques for implementing rapid hitless switchover.
[0002] As the use of computer and telephone networks increases, so does the need for greater bandwidth. This need spurred the growth of fiber optic networks, and a protocol for transmitting data over such networks. As a result, the synchronous optical network or “SONET” fiber optic transmission protocol was developed.
[0003]
FIG. 1 illustrates a functional block diagram of a conventional SONET network with add/drop multiplexors (ADMs) as nodes. A system administrator sets up connection routes through ADMs 110-140 to transfer data between endpoints, such as port A 100 and port B 150. For example, the system administrator may program a route from origination ADM 110 through intermediate ADM 120 to the destination ADM 130, and to do so, the system administrator must program necessary route information at each ADM.
[0004] Networks, however, do not remain static, and often must be altered to accommodate varying traffic flow. In which case, ADMs are typically reconfigured through a process known as “provisioning”, whereby existing connections are dropped while new ones are added. In relatively large networks in particular, provisioning can require an excessive amount of time because provisioning cannot be done automatically. Moreover, ADMs are typically rendered inoperable during provisioning, thereby increasing down-time for the network.
SUMMARY OF THE INVENTION
[0005] Systems and methods consistent with the principles of the present invention provide reconfiguration of a switch without taking the switch down or losing data.
[0006] Consistent with the present invention, a switching element is provided comprising a plurality of input ports, each of which receives user information and switch configuration update data. A switch matrix is provided coupled to the plurality of input ports. The switching element also includes first and second tables coupled to the switch matrix, with the second table storing current switch configuration data. A switch matrix adjustment circuit is coupled to the first table for sensing the switch configuration update data and feeding this data to the first table. The switch matrix remains configured in accordance with the current switch configuration data while the switch configuration update data is supplied to the first table. After the switch configuration update data has been supplied to the first table, the first table is selectively coupled to the switch matrix, which is then configured in accordance with the switch configuration update data.
[0007] The switch configuration update data is typically provided within a frame, along with user information data. The switch configuration update data is thus supplied in-band, and does not require a dedicated input.
[0008] Moreover, a switch consistent with the present invention typically includes a plurality of stages or arrays of switch elements, with frames propagating through each stage substantially synchronously. Accordingly, frames do not conflict with one another as they are routed through the switch.
[0009] Both the foregoing general description and the following detailed description explain examples of the invention and do not, by themselves, restrict the scope of the appended claims. The accompanying drawings, which constitute a part of this specification, illustrate apparatus and methods consistent with the invention and, together with the description, help explain the principles of the invention.
BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The accompanying drawing, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and, together with the description, serve to explain the advantages of the invention. In the drawings,
[0011]
FIG. 1 shows a block diagram of a conventional SONET network;
[0012]
FIG. 2 illustrates an embodiment of a switch consistent with the principles of the present invention;
[0013]
FIG. 3 illustrates a data transport frame for use in conjunction with the switch shown in FIG. 2;
[0014]
FIG. 4 illustrates one of switching elements 216 shown in FIG. 2;
[0015]
FIG. 5 illustrates a switch element in accordance with a feature of the present invention; and
[0016]
FIG. 6 illustrates a switch frame processing flow chart consistent with a feature of the present invention.
DETAILED DESCRIPTION OF THE INVENTION
[0017] The following detailed description refers to the accompanying drawings. The same reference characters in different drawings identify the same or similar elements. Also, the following detailed description does not limit the invention. Instead, the scope of the invention is defined by the appended claims.
[0018] In accordance with the present invention, a switch is provided that receives user information through a plurality of framer circuits, which group the user information into frames. The frames are fed to a switch fabric including an array of switch elements, each having a switch matrix for routes each frame to a desired output in accordance with configuration data stored in a first table coupled to the switch matrix. If different outputs are desired, i.e., the switch matrix is to be reconfigured, a switch control circuit supplies additional switch configuration data to the frames through the inputs along with additional user information to be routed through the switch. While the additional switch configuration data is stored in a second table, data flow remains uninterrupted through the switch matrix. Once storage of the additional configuration data into the second table is complete, however, the switch control circuit inserts a table select signal into the frames, to thereby couple the second table to the switch so that the switch matrix is configured in accordance with the additional switch configuration data. Subsequent frames are then routed through the reconfigured switch matrix. The first and second tables can thus be alternately updated and coupled to the switch matrix to appropriately reconfigure the switch without affecting existing connections established through the switch. “Hitless switchover” is therefore achieved.
[0019]
FIG. 2 illustrates a functional block diagram of a switch 200 in accordance with an embodiment of the present invention. Switch 200 includes, for example, a plurality of input framer circuits 214 receiving user information from an external network. The user information input to switch 200 can be voice communications, or other data to be used by users external to switch 200. Such data often conforms to the SONET protocol.
[0020] Framer circuits 214 group the input user information into frames suitable for routing within switch 200, and supply these frames to ingress switch stage 290. A switch controller circuit inserts switch configuration related information into each frame. Such configuration data is thus considered in-band. The frames are next passed to middle stage 292, and then to egress stage 294. Each stage typically includes m+1 switching elements 216, which have n+1 inputs. As further shown in FIG. 2, the outputs from each switch can be coupled to any input of any switch element of a succeeding stage.
[0021] After propagating through switching elements 216 of egress stage 294, the frames are fed to respective output framer circuits 218, which output the user information to an external network in accordance with the same protocol at which the user information was input to switch 200. Optionally, an output framer communication path 200 can be coupled to switch controller 210 for monitoring frames supplied to output framer circuits 218.
[0022]
FIG. 3 illustrates an exemplary frame 300 output from one of framer circuits 216. Frame 300 includes field 312 containing a synchronization byte, and is used to indicate the start of a frame to a switch element. In addition, field 312 can be used to synchronize the processing of frames entering switch element 216 on multiple inputs. A configuration table byte, to be discussed in greater detail below, is provided in field 316, for defining the table to be used for the current switch frame. In response to signals output from switch controller circuit 210, framer circuits 214 set this byte, for example, to 0×00 to designate one table and 0×FF to designate the second table.
[0023] Field 318 includes processor communication channel (PCC) data, also supplied from switch controller 210, which comprises switch configuration data used to update the tables of the switch elements. Frame 300 further includes field 320 contains user data to be routed through switch 200.
[0024]
FIG. 4 illustrates one of switch elements 216 in greater detail. Frames are fed along input lines 408-0 to 408-n, coupled to respective input ports of the switch element. Each input port typically includes a respective one of first-in first out (FIFO) buffer circuits 410-0 to 410-n for absorbing differences in latency across the incoming links, thus synchronizing data moving through switch matrix 420. Each of FIFOs 410-0 to 410-n forwards the received frames directly to switch matrix 420.
[0025] As further shown in FIG. 4, each of FIFOs 410-0 to 410-n is respectively coupled to a switch matrix adjustment circuit including, for example, an input link sync state machine (ILSSM) circuits 412-1 to 412-n. ILSSM 412-0 to 412-n circuits include state machine circuits designed to extract switch configuration data, field 318, and table selection data, field 316, from the frames. These fields are fed to a selection circuit, such as global configuration select circuit 416, and PCC state machine circuit 418, both of which can constitute part of the switch matrix adjustment circuit. Field 318 is used by PCC state machine circuit 418 to supply switch matrix configuration data to one of tables Tbl. 0 422 and Tbl. 1 424, which include, for example, a register, static random access memory, dynamic random access memory, or other appropriate memory or storage element. Field 316, on the other hand, is used by global configuration select circuit to output appropriate signals to couple one of Tbl. 0 422 or Tbl 1 424 to appropriately configure switch matrix 420.
[0026] While new switch configuration data is supplied to Tbl. 0 422, for example, through PCC state machine 418, global configuration select circuit 416 designates Tbl. 1 424 to remain coupled to switch matrix 420 or active. Accordingly, frames passing through switch matrix 420 are routed uninterrupted, based on configuration data contained in Tbl. 1 424. Once the update of Tbl. 0 422 is completed, however, field 318 designates Tbl. 0 422 for coupling to switch matrix 420 so that frames are routed in accordance with the new switch configuration data contained in Tbl. 0 422. If switch matrix 420 is to be reconfigured again, further switch configuration data is stored in Tbl. 1 424, while frames continue to be routed in accordance with the data contained in Tbl. 0 422. Once this further update is completed, Tbl. 1 424 is coupled to switch matrix 420 again.
[0027] Thus, the tables can be alternately coupled to switch matrix 420. While one table is updated, it is rendered inactive and decoupled from switch matrix 420. The other table, however, remains active and data continues to be routed within switch matrix 420 in accordance with the contents of the active table. Once the update is completed, the previously inactive table is coupled to switch matrix 420, and the previously active table is disconnected, but available for receiving new switch configuration data. Throughout this process, data flow remains uninterrupted through switch matrix 420.
[0028] In accordance with a further aspect of the present invention, however, if only certain portions of a switch matrix are routing data, configuration data concerning the remaining portions of the switch matrix can be supplied to active table, instead of the inactive table. In this case, once the configuration update is complete, the active table remains coupled to the switch matrix.
[0029]
FIG. 5 illustrates switch matrix 420 in greater detail. Switch matrix 420 includes a plurality of multiplexers 512 each of which having a plurality of inputs 514-0 to 514-n coupled to respective ones of FIFOs 410-0 to 410-n. An address generator 414 address particular table locations within tables 422 and 424 for outputting configuration data associated with one of multiplexers 512. In response to a selection signal output from global configuration select circuit 416, a table selector circuit, such as multiplexer 510, supplies the configuration data contained in one of tables 422 and 424 to the corresponding one of multiplexer 512. In turn, multiplexer 512 couples one of inputs 514-0 to 514-n to output line OL0. In a similar fashion remaining multiplexers 512 couple one of inputs 514-0 to 514-n to a respective one of outputs OL 0 to OL n.
[0030] Returning to FIG. 4, output lines OL 0 to OL n next feed the switched frames to respective output ports, such as finite state machines 426-0 to 426-n, which are used to insure that the outgoing frames maintain the format shown in FIG. 3. In addition, finite state machines 426-0 to 426-n insert table selection data for the next stage of switch elements.
[0031] The above-described process for obtaining hitless switchover will now be further described with reference to FIG. 6, which illustrates steps carried out by circuits 412, 416 and 418 when switch matrix 420 is reconfigured. In a first step 610, a frame enters one of FIFO buffers 410-0 to 410-n. In step 620, a determination is made as to whether the input link is active based on whether the received frame conforms to the format shown in FIG. 3. If not, the process returns to step 610 until a frame is received. If an appropriate frame has been received, the process next proceeds to step 630, where, the synchronization byte is to be detected. If it is not found, step 630 is repeated. Once the synchronization byte is identified, however, FIFOs 408-0 to 408-n are monitored to ascertain when one has received a predetermined amount of data, i.e., whether a depth threshold has been reached (step 640). At which point, all the active links are presumed to have data. The frames are then launched to switch matrix 420 substantially at the same time. Step 640 thus assures that frames are synchronized during propagation through a given switch element. Moreover, since all switch elements in a given stage receive frames at substantially the same time, switch elements operate synchronously within each stage.
[0032] In step 650, the configuration table selection byte is extracted for the current switch frame to designate one of tables 422 and 424 for coupling to switch matrix 420. The data is then passed through switch matrix 420 in accordance with the contents of the designated table (step 660) and is switched to desired outputs. In step 670, PCC data (field 318) is extracted to update one of tables 422 and 424 not designated by table select data extracted in step 650. If the end of the switch frame is reached, new frames are loaded into respective buffers 410-1 to 410-n, and the process returns to step 610. If not, steps 660, 670 and 680 are repeated.
[0033] Stages 292 and 294 shown in FIG. 2 include switching elements having a similar construction as that shown FIG. 4, and frames propagating through these stages have a similar format as that shown in FIG. 3. Switching elements in stages 292 and 294 can thus be reconfigured as discussed above, so that frames are transmitted through switch 200 uninterrupted and synchronously within each stage, even when the switch matrix within each element is to be altered. Typically, however, in order to reconfigure switch elements within each stage, additional switch configuration data is supplied through framer circuits 214. Such data passes through the first stage, for example, and is sensed in the successive stage for which it is intended.
[0034] In conclusion, systems and methods consistent with the invention provide for altering a switch from a first configuration to a second configuration without losing data or time, thus achieving hitless switchover. It will be apparent to those skilled in the art that various modifications and variations can be made to the hitless switchover switch consistent with the present invention, and in construction of a network using such systems, without departing from the scope or spirit of the invention. For example, although the figures illustrate elements communicating with each other over communication paths in the form of buses and dedicated lines, it should be understood that the communications paths may take any form that is capable of transferring the required information.
[0035] Other embodiments will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
Claims
- 1. A switch comprising:
a plurality of input ports, each configured to receive through a common input data including user information and switch configuration data; a switch matrix coupled to said plurality of input ports; a plurality of output ports coupled to said switch matrix; and a switch matrix adjustment circuit coupled to said input ports and said switch matrix, said switch matrix adjustment circuit being configured to control said switch matrix to variably couple each of said plurality of input ports to a corresponding one of said output ports in response to said switch configuration data signals.
- 2. A switch in accordance with claim 1, wherein each of said input ports comprises a buffer circuit, said control circuit being coupled to said buffer circuit and sensing said switch configuration data.
- 3. A switch in accordance with claim 1, further comprising:
a table coupled to at least one of said plurality of input ports and said switch matrix, said table receiving said switch configuration data from said input port, and supplying said switch configuration data to said switch matrix.
- 4. A switch in accordance with claim 3, wherein said switching matrix comprises a multiplexer having a plurality of inputs and an output, each of said multiplexer inputs being coupled to a respective one of said plurality of inputs of said switch and said output being coupled to a respective one of said plurality of outputs of said switch, said multiplexer selectively coupling one of said plurality of switch inputs to said multiplexer output in accordance with said switch configuration data.
- 5. A switch in accordance with claim 1, further comprising:
a first table coupled to at least one of said plurality of input ports and being configured to store selected first switch configuration data from said switch configuration data; and a second table configured to store selected second switch configuration data from said switch configuration data, said plurality of input ports further receiving table selection data, said first and second tables being selectively coupled to said switch matrix in accordance with said table selection data.
- 6. A switch in accordance with claim 1, further comprising:
a switch control circuit; and a plurality of frame generating circuits, each of which being coupled to said switch control circuit and a respective one of said plurality of input ports, said switch control circuit supplying said switch configuration data to said plurality of frame generating circuits, said frame generating circuits supplying said user information and switch configuration data in frames to said plurality of input ports.
- 7. A switch in accordance with claim 1, wherein each of said input ports further receives switch selection data, said switch further comprising:
a state machine circuit coupled to one of said plurality of input ports and said switch matrix adjustment circuit; a first table coupled to said switch matrix and said switch matrix adjustment circuit, said first table being configured to store selected first switch configuration data; and a second table coupled to said switch matrix and said switch matrix adjustment circuit, said second table being configured to store selected second switch configuration data, said state machine circuit sensing switch selection data stored in said buffer and outputting a selection signal in response thereto, said switch matrix being selectively configured in accordance with one of said first and second switch configuration data in response to said selection signal.
- 8. A switch in accordance with claim 1, wherein each of said plurality of input ports further receives synchronization data and each includes a respective one of a plurality of buffer circuits, said switch further comprises:
a plurality of state machine circuits, each of which being coupled to a corresponding one of said plurality of buffer circuits, at least one of said state machine circuits supplying a synchronization signal to said switch matrix adjustment circuit, said switch matrix being configured to control adjustment of said switch matrix after said synchronization signal is received so that said user information is supplied to said adjusted switch matrix in a synchronized matter.
- 9. A switch in accordance with claim 8, whereby said plurality of state machine circuits monitor an amount of said data supplied to said plurality of buffers, said data being supplied to said switch matrix after said amount of data reaches a threshold level.
- 10. A switch comprising:
a plurality of input ports, each receiving user information and first switch configuration data; a switch matrix coupled to said plurality of input ports; a first table; a second table being configured to store second switch configuration data; a switch matrix adjustment circuit coupled to said first table, said switch matrix adjustment circuit being configured to sense said first switch configuration data and feed said first switch configuration data to said first table, said switch matrix being configured in accordance with said second switch configuration data while said first switch configuration data is supplied to said first table.
- 11. A switch in accordance with claim 10, wherein said input port further receives table selection data, said switch further comprising:
a selection circuit coupled to said input port; and a table selector circuit coupled to said first and second tables, said selection circuit and said switch matrix, said selection circuit sensing said table selection data and outputting a selection signal in response thereto, said table selector circuit being configured to receive said selection signal and selectively couple one of said first and second tables to said switch matrix in response thereto.
- 12. A switch in accordance with claim 10, wherein after said first switch configuration data has been supplied to said first table, said first table is selectively coupled to said switch matrix to thereby configure said switch matrix in accordance with said first switch configuration data.
- 13. A switch comprising:
a first stage of switch matrices; a second stage of switch matrices; a first plurality of input ports and a first plurality of output ports coupled to said first stage of switch matrices, said first plurality of input ports receiving data including user information and first and second switch configuration data through a common input, said first stage of switch matrices being variably configured in accordance with said first switch configuration data, and said first switch matrix coupling said first plurality of inputs to said first plurality of outputs in one-to-one correspondence to thereby pass said user information and second switch configuration from said first plurality of inputs to said first plurality of outputs; and a second plurality of input ports and a second plurality of output ports coupled to said second stage of switch matrices, said second plurality of input ports receiving said user information and said second switch configuration data through a common input, said second stage of switch matrices being variably configured in accordance with said second switch configuration data, and said second switch matrix coupling said second plurality of inputs to said second plurality of outputs in one-to-one correspondence to thereby pass said user information from said second plurality of inputs to said second plurality of outputs.
- 14. A switch in accordance with claim 13, wherein said data being grouped in a plurality of frames each of said frames being supplied to a respective one of said first plurality of inputs, each of said plurality of frames being supplied to said first plurality of outputs at substantially the same time.
- 15. A switch in accordance with claim 14, wherein said plurality of frames are passed from said first plurality of outputs to respective ones of said second plurality of inputs, each of said plurality of frames being supplied to said second plurality of outputs at substantially the same time.
- 16. A switch comprising:
a plurality of input ports, each configured to receive data including user information signals and switch configuration data signals; a switch matrix coupled to said plurality of input ports; a plurality of output ports coupled to said switch matrix; and a switch matrix adjustment circuit coupled to said input ports and said switch matrix, said switch matrix adjustment circuit being configured to variably couple each of said plurality of input ports to a corresponding one of said output ports in accordance with said switch configuration data signals, said user information signals propagating substantially simultaneously through said switch matrix to said output ports.
- 17. A switch in accordance with claim 16, whereby said user information signals are launched from said input ports through said switch matrix after an amount of said data exceeds a predetermined value.
- 18. A switch comprising:
a plurality of input ports, each receiving a respective one of a first plurality of frames, at least one of said first plurality of frames including user information and first switch configuration data; a switch matrix coupled to said plurality of input ports, a switch matrix adjustment circuit, said switch matrix adjustment circuit sensing said first switch configuration data; a first table, said switch configuration adjustment circuit supplying said first switch configuration data to said first table; and a second table storing second switch configuration data, said first plurality of frames being supplied from said plurality of input ports to said switch matrix and routed through said switch matrix in accordance with said second switch configuration data while said first table receives said first switch configuration data.
- 19. A switch in accordance with claim 18, wherein after said first plurality of frames have propagated through said switch matrix, said plurality of input ports receive a second plurality of frames, at least one of said second plurality of frames including table select data and additional user information, said switch further comprising:
a table selection circuit, said table selection circuit sensing said table select data and generating a selection signal in response thereto; a table selector circuit coupled to said selection circuit, said switch matrix and said first and second tables, said table selector circuit connecting said first table to said switch matrix in response to said selection signal, said additional user information being routed through said switch matrix in a substantially hitless manner in accordance with said first switch configuration data.
- 20. A method for switching data comprising the steps of:
combining user information and switch configuration data into a common data stream; extracting said switch configuration data from said data stream; configuring a switch matrix in accordance with said configuration data; and passing said user information through said configured switch.
- 21. A method for switching data comprising the steps of:
extracting first switch configuration data from a first frame, said first frame further including user information; storing said first switch configuration data in a first table; passing said user information through a switch matrix, said switch matrix being configured in accordance with second switch configuration data stored in a second table; receiving a second frame including additional user information and table selection data; configuring said matrix switch in accordance with said first switch configuration data; and passing said additional user information through said matrix switch configured in accordance with said first switch configuration data.
- 22. A switching method comprising the steps of:
supplying a first plurality of frames to a corresponding plurality of input ports, said plurality of input ports being coupled to a switch matrix; configuring said switch matrix in accordance with switch configuration data included in at least one of said first plurality of frames; supplying a second plurality of frames to said corresponding plurality of input ports; monitoring an amount of data of at least one of said plurality of frames fed to one of said plurality of input ports; and launching said frames from said plurality of input ports to said switch matrix after said amount of data exceeds a threshold level.
- 23. A switch comprising:
a plurality of input ports, each configured to receive a plurality of frames, each frame including user information signals and switch configuration data signals; a switch matrix coupled to said plurality of input ports; a plurality of output ports coupled to said switch matrix; and a switch matrix adjustment circuit coupled to said input ports and said switch matrix, said switch matrix adjustment circuit being configured to variably couple each of said plurality of input ports to a corresponding one of said output ports in accordance with said switch configuration data signals.
- 24. A switch comprising:
a plurality of input ports, each configured to receive first switch configuration data and user information data; a switch matrix coupled to said plurality of input ports; a plurality of output ports coupled to said switch matrix; and a switch matrix adjustment circuit coupled to said input ports and said switch matrix, said switch matrix adjustment circuit being configured to sense said first switch configuration data; and a table, said switch configuration adjustment circuit supplying a said first switch configuration data to a first portion of said table, said table having a second portion storing second switch configuration data, said user information being routed through said switch matrix in accordance with said second switch configuration data while said first portion of said table receives said first switch configuration data.
- 25. A switch in accordance with claim 24, wherein said first switch configuration data includes configuration data concerning a first portion of said switch matrix and said second switch configuration data includes configuration data concerning a second portion of said switch matrix.
- 26. A switch in accordance with claim 25, wherein after said first switch configuration data is stored in said first portion of said table, said first portion of said switch matrix routes further user information in accordance with said first switch configuration data.
Divisions (1)
|
Number |
Date |
Country |
Parent |
09421059 |
Oct 1999 |
US |
Child |
10704976 |
Nov 2003 |
US |