1. Field of the Invention
The present invention generally relates to an ATM (asynchronous transfer mode) switching device capable of switching one of lines to another of the lines, and in particular to a header conversion technique for the line switching.
2. Description of the Related Art
In general, an ATM switching device having line protection capability is provided with a header converter and a header conversion table, which are used to switch a working line to a reserved line. More specifically, a plurality of line interfaces are connected to a multiplexer, which multiplexes incoming rixed-length packets (cells) received from the respective line interfaces to produce a sequence of cells each having the incoming line number thereof attached therewith. When receiving the sequence of cells from the multiplexer, the header converter reads the incoming line number and VPI/VCI (Virtual Path Identifier/Virtual Channel Identifier) for each cell and uses them as a key to search the header conversion table for output information necessary for a switch fabric to forward the cell to an appropriate output port thereof. The header converter converts the header of the cell using the found output information. Such output information includes an outgoing line number outgoing routing information VPI/VCI, and control information for controlling the quality of service for each cell flow. The header conversion technique as described above has been disclosed in Japanese Patent Application Unexamined Publication Nos. 7-74747 and 10-79747.
In the case of redundant system architecture, however, two memory areas used for respective ones of working system and reserved system are needed to store the same information in the header conversion table, resulting in the increased amount of hardware and the increased amount of memory for header conversion table.
As shown in
Therefore, if the set of information for the #0 incoming line is not identical to that for the #1 incoming line, then the line switching cannot be successfully performed. It is necessary to always store the same set of information for the #0 and #1 incoming lines in the header conversion table.
It is the same with the case of N:1 redundant system having N working incoming lines and a single reserved incoming line. In this case, it is further necessary to copy the latest information after a failure has occurred on the working incoming line to a memory area for the reserved incoming line. Since the table duplication is needed after the occurrence of a failure, it is not possible to perform the line switching immediately after the failure occurs and therefore the increased speed of line switching cannot be achieved.
An object of the present invention is to provide a header conversion method and device eliminating the need of information for a reserved system, allowing reduced amount of hardware and memory.
Another object of the present invention is to provide a header conversion method and device allowing high-speed line switching when a failure occurs.
According to the present invention, a device for converting a header of a packet to forward the packet to an appropriate one of output ports of a switch fabric, includes: redundant incoming line systems: a header conversion table storing a set of header conversion information for one of the redundant incoming line systems; and a header converter for converting a header of a packet received from each of the redundant incoming line systems by referring the set of header conversion information.
According to an aspect of the present invention, a device for converting a header of a packet to forward the packet to an appropriate one of output ports of a switch fabric, includes: at least one line interface; a reserved line interface corresponding to each of said at least one line interface; a selector for normally selecting a corresponding line interface to receive a packet stream and, when a failure occurs on a system corresponding to the corresponding line interface, selecting the reserved line interface to receive the packet stream: a header conversion table storing header conversion information for each of said at least one line interface; and a header converter for converting the header of a packet received from the reserved line interface selected by the selector by referring to the header conversion information for the corresponding line interface.
The at least one line interface and the reserved line interface have line numbers uniquely assigned thereto. A line number of each of said at least one line interface and the reserved line interface may be transferred to the header converter. The header converter may include: a line number converter for converting a line number of the reserved line interface to a line number of the corresponding line interface; and a controller for accessing the header conversion information for the corresponding line interface by using the line number of the corresponding line interface. When the reserved line interface is selected by the selector due to occurrence of the failure, the line number converter may convert the line number of the reserved line interface to the line number of the corresponding line interface.
According to another aspect of the present invention, a device for converting a header of a packet to forward the packet to an appropriate one of output ports of a switch fabric, includes: a plurality of line interfaces connected to respective ones of incoming lines; a reserved line interface; a first selector for connecting a selected one of the incoming lines to the reserved line interface when a failure occurs on a system corresponding to a corresponding line interface: a second selector for normally selecting each of the plurality of line interfaces and when the failure occurs on the system corresponding to the corresponding line interface, selecting the reserved line interface in place of the corresponding line interface; a header conversion table storing header conversion information for each of the plurality of line interfaces; and a header converter for converting the header of a packet received from the reserved line interface selected by the second selector by referring to the header conversion information for the corresponding line interface.
Referring to
The line interface section 1 includes N (N is an integer greater than 1) line interfaces 11.1 to 11.N, each of which is connected to a corresponding incoming line to receive data from another ATM switching device or a subscriber communication device.
Further, the respective line interfaces 11.1 to 11.N have line numbers (here, #0 to #N−1) uniquely assigned thereto. A cell output of each of the line interfaces 11.1 to 11.N is connected to a multiplexer 2 and a sequence of cells multiplexed by the multiplexer 2 is output to a header conversion section 3. The header conversion section 3 includes a header converter 31, a line number converter 32, and a header conversion table 33.
The header converter 31 outputs the line number and the routing information VPI/VCI for each cell to the line number converter 32 and the header conversion table 33, respectively. The header converter 31 receives necessary information corresponding to the line number and the routing information from the header conversion table 33 and converts the header of each cell using the necessary information. The cell with converted header information is transferred to the switch fabric (not shown), in which the cell is forwarded to an appropriate output port of the switch fabric depending on the converted header information.
As shown in
When receiving the sequence of cells from the multiplexer 2, the header converter 31 reads the line number and routing information VPI/VCI for each cell and outputs the line number to the line number converter 32 and the routing information VPI/VCI to the header conversion table 33. A converted line number by the line number converter 32 is output to the header conversion table 33.
In the case of a redundant system, the line number converter 32 allows the line number to be converted to selected line number depending on a control signal. Since the system as shown in
Referring to
In general, the header conversion table 33 includes a decoder or CAM (Contents Addressable Memory) and a random access memory (RAM) storing output information. After the line number and the routing information VPI/VCI are converted to a memory address by the decoder or CAM, the output information stored in the RAM is accessed according to the memory address and is returned to the header converter 31.
Referring to
A line interface section 4 accommodates a working line 401 and a reserved line 402, which are connected to a line interface 41.1 and a line interface 41.2, respectively. Here, line numbers #0 and #1 are assigned to the line interface 41.1 and the line interface 41.2, respectively. Plural line interface sections having the same circuit as the line interface section 4 may be connected to the multiplexer 2.
When normally operating, the same data is transferred on both the working line 401 and the reserved line 402. However, the multiplexer 2 multiplexes cells received from only working line interfaces to produce a sequence of cells according to a multiplex control signal. In such a normal condition, the operation of the header conversion section 3 is the same as that in the first embodiment as shown in
As shown in
Referring to
The header converter 31 reads the line number #1 and the routing information from each of the cells and outputs them to the line number converter 32 and the header conversion table 33. Since the line number converter 32 has been set to such a state that the working line number #1 is converted to the reserved line number #0, the output information corresponding to input information for the line number #0 is accessed and returned to the header converter 31. In other words, the header converter 31 can obtain the same output information as in the normal case from the header conversion table 33 after and before the failure on the working line 401 occurs. Accordingly, the cells on the reserved system can be transferred to the switch fabric as the case of the cells on the working system without the need of the installation of information for the reserved system in the header conversion table 33.
Referring to
A line interface section 5 includes a working line interface section 5a composed of N working line interfaces 51.1 to 51.N corresponding to respective ones of N working lines 401, 402, 403, —and a reserved line interface 51. (N+1). Here, line numbers #0 to #N are assigned to the working line interfaces 51.1 to 51.N and the reserved line interface 51. (N+1), respectively.
In addition, a selector switch 6 is connected between the N working lines and the reserved line interface 51. (N+1). The selector switch 6 has N input ports connected to respective ones of the N working lines and one output port connected to the reserved line interface 51. (N+1). When one of the working line interfaces 51.1 to 51.N is faulty, the selector switch 6 is switched by a selection signal so that the reserved line interface 51. (N+1) is used in place of the fault line interface. The working and reserved line interfaces 51.1 to 51. (N+1) are connected to the multiplexer 2.
When normally operating, the multiplexer 2 multiplexes cells received from only working line interfaces 51.1 to 51.N to produce a sequence of cells according to a multiplex control signal. In such a normal condition, the operation of the header conversion section 3 is the same as that in the first embodiment as shown in
As shown in
Referring to
The header converter 31 reads the line number #N and the routing information from each of the cells and outputs them to the line number converter 32 and the header conversion table 33. Since the line number converter 32 has been set to such a state that the line number #N is converted to the line number #0, the output information corresponding to input information for the line number #0 is accessed and returned to the header converter 31. In other words, the header converter 31 can obtain the same output information as in the normal case from the header conversion table 33 after and before the failure on the working line interface 51.1 occurs. Accordingly, the cells coming in on the working line 401 can be transferred to the switch fabric through the reserved line interface 51. (N+1) as the case of the cells on the working line interface 51.1 without the need of the installation of information for the reserved line interface 51. (N+1) in the header conversion table 33.
In the above embodiments, the line number converter 32 is provided in the header conversion section 3. Alternatively, it is possible to provide the line number converter 32 in the reserved line interface 41.2 or 51. (N+1) or the multiplexer 2. Further, it is possible to provide the line number converter 32 on the cell transfer line between the multiplexer 2 and the header conversion section 3.
As described above, there is no need of a conversion table used for a reserved line interface, resulting in the reduced size of a decoder or CAM for converting the routing information to a memory address and further the reduced amount of memory required for the header conversion table. This may promote miniaturization and achieve cost-reduction effectively.
Since the same table as the working header conversion table is accessed even if switching to the reserved line interface, the identical information can be obtained to convert the header information in both working and reserved systems. Accordingly, it can be avoided that the line switching cannot be successfully performed. Further, in the case of N:1 redundant system, there is no need of the installation of data duplicating means. Since data duplication is not needed, high-speed line switching can be achieved.
Number | Date | Country | Kind |
---|---|---|---|
2000-110352 | Apr 2000 | JP | national |
Number | Date | Country | |
---|---|---|---|
Parent | 11207198 | Aug 2005 | US |
Child | 13414338 | US | |
Parent | 09829972 | Apr 2001 | US |
Child | 11207198 | US |