1. Field of the Invention
The present invention relates generally to a packet switching equipment and a switching control method. More particularly, the invention relates to a switching control system in a packet switching equipment for switching a packet between a particular input port and a particular output port by employing packet communication technology, such as ATM (Asynchronous Transfer Mode), IP (Internet Protocol) and so forth.
2. Description of the Related Art
Conventionally, a packet switching equipment of this kind is constructed with input buffer portions 1-1 to 1-n [input buffer portions 1-2 to 1-(n-1) are eliminated from illustration] which will be occasionally identified by reference numeral 1 as generally referred to, an arbiter portion 2 and a switch core portion 5 as shown in
The switch core portion 5 performs switching of the packet between input ports 100-1 to 100-n [input ports 100-2 to 100-(n-1) are eliminated from illustration] which will be occasionally identified by reference numeral 102 as generally referred to, and output ports 101-1 to 101-n [output ports 101-2 to 101-(n-1) are eliminated from illustration] which will be occasionally identified by reference numeral 101 as generally referred to.
Each of input buffer portions 1-1 to 1-n includes logic queue 11-1 to 11-n [logic queues 11-2 to 11-(n-1) are eliminated from illustration] which will be occasionally identified by reference numeral 11 as generally referred to, a packet input portion 12 and a packet output portion 13 and temporarily store the packets arriving to the input ports 100-1 to 100-n. The arbiter portion 2 performs arbitration of output demand from the input buffer portions 1-1 to 1-n for outputting an output permission depending upon result of arbitration and applies opening and closing command to points of intersections in the switch core portion 5.
As the switch core portion 5, as shown in
Next, discussion will be given for operation of the conventional packet switching equipment. The packets arriving to the input ports 100-1 to 100-n are stored in the logic queues 11-1 to 11-n in the respective input buffer portions. The input buffer portions 1-1 to 1-n check destination output ports 101-1 to 101-n from header information of the leading packets of the logic queues 11-1 to 11-n and notify an output demand for outputting to a destination output port, to the arbiter portion 2 by an output demand signal.
The arbiter portion 2 aggregates output demand signals from all input buffer portions 1-1 to 1-n. When output demands from a plurality of input buffer portions 1-1 to 1-n are present for the same output ports 101-1 to 101-n (upon occurrence of conflict), arbitration is performed for providing an output permission only for selected one of the input buffer portions 1-1 to 1-n.
The arbiter portion 2 performs arbitration for avoiding packet collision at all output ports 101-1 to 101-n. Thereafter, acceptance and rejection of demand is notified to the input buffer portions 1-1 to 1-n by using the output permission signal. The input buffer portion n which is accepted the demand transmits the leading packet to the switch core portion 5. The switch core portion 5 opens and closes the points of intersections 50 for switching the predetermined output ports 101-1 to 101n on the basis of the result of arbitration obtained from the arbiter portion 2.
As shown in
As set forth above, the conventional construction requires control of the switch core portion 5 corresponding to the content of decision in the arbiter portion 2 and thus requires synchronous operations of the input buffer portions 1-1 to 1-n, arbiter portion 2 and the switch core portion 5 without disturbance to make control structure of the switch core portion 5 complicate.
Therefore, the present invention has been worked out in view of the problem set forth above. It is an object of the present invention to provide a packet switching equipment and a switching control method, in which operation of the switch core portion is performed independent of content of decision of an arbiter portion and overall equipment can be constructed with simple control structure.
According to the first aspect of the present invention, a packet switching equipment for switching packets between input ports and output ports, comprises:
input buffer portions temporarily storing packets arriving to the input ports and outputting packets with adding labels indicative of destination port numbers;
a switch core portion for switching the packets on the basis of labels added to the input buffer portions; and
an arbiter portion adjusting input buffer portions to provide output permissions for outputting to the output ports,
a sorting network autonomously sorting and concentrating the packets on the basis of the labels added to the packets being applied to the switch core portion.
According to the second aspect of the present invention, switching control method for a packet switching equipment for switching packets between input ports and output ports, comprises the steps of:
outputting packets with adding labels indicative of destination port numbers by input buffer portions temporarily storing packets arriving to the input ports;
switching the packets on the basis of labels added to the input buffer portions by a switch core portion;
adjusting input buffer portions to provide output permissions for outputting to the output ports by an arbiter portion; and
employing a sorting network autonomously sorting and concentrating the packets on the basis of the labels added to the packets in the switch core portion.
In the construction set forth above, the switch core portion executes autonomous sorting and concentration only with reference to the labels added to the input packets, and is independent of the contend of decision of the arbiter portion. Therefore, it becomes unnecessary to employ complicate control structure establishing synchronization over the entire packet switching equipment, and thus, control of the packet switching equipment can be made simple.
In the preferred construction, the arbiter portion may execute an output destination adjusting process for providing output permission for outputting to the output ports for the input buffer portions storing the packets with avoiding overlapping and a vacant port adjusting process assigning idle output ports not occupied by any input buffer portions for idle input buffer portions not obtaining output permission. The input buffer portions assigned the output ports by the output destination adjusting process, may output packets to the assigned output ports and the input buffer ports assigned the output ports by the vacant port adjusting process may generate and output dummy packets addressed to the assigned output ports.
By outputting the dummy packet from the idle input buffer portions assigned the idle output ports, in the case where the sorting network for sorting and concentrating the packets in order of labels, the packets can be accurately switched to the objective output ports.
The packet switching equipment may further comprise a packet filtering portion provided corresponding to respective output ports and passing only valid packets and abandoning null dummy packets on the basis of information applied in own equipment and identifying valid packet and null dummy packet.
Thus, the null dummy packet will never be output externally from the packet switching equipment to restrict wasting of the network resource.
The present invention will be understood more fully from the detailed description given hereinafter and from the accompanying drawings of the preferred embodiment of the present invention, which, however, should not be taken to be limitative to the invention, but are for explanation and understanding only.
In the drawings:
The present invention will be discussed hereinafter in detail in terms of the preferred embodiment of a packet switching equipment according to the present invention with reference to the accompanying drawings. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention.
The logic queues 11-1 to 11-n are constructed to store all of arriving packets in FIFO (First In First Out) manner. It may also be possible to have a construction to provide FIFO per flow, in which packet belongs. In either case, the present invention is applicable and equivalent effect may be achieved. The construction of the logic queues 11-1 to 11-n should not serve as limitative factor for the present invention.
In the later case, the packet input portion 12 extracts flow identifier from the header portion of the packet arriving to the input ports 100-1 to 100-n [input ports 100-2 to 100-(n-1) are eliminated from illustration] which will be identified by the reference numeral 100 as generally referred to, and recognizes a service class, in which packet belongs, and a destination output port by making reference to a flow information database with taking the flow identifier as key. On the basis of the result of recognitions, the packets are stored in appropriate logic queues 11-1 to 11-n.
On the other hand, for the input buffer portions 1-1 to 1-n, numbers for identification are assigned. In the shown embodiment, for port number N, integer in a range of 0 to N−1 are assigned.
The switch core portion 3 for switching between the input ports 100-1 to 100-n and output ports 101-1 to 101-n [output ports 101-2 to 101-(n-1) are eliminated from illustration] which will be identified by reference numeral 101 as generally referred to, is constructed with a sorting network. As the sorting network, it may be a Batcher network proposed in “Sorting Networks and Their Applications” (K. E. Batcher, Proc. 1968, Spring Joint Computer Conf., pp. 307 to 314).
By repeating sorting the packet containing the destination port number as label value in each stage toward output direction, the label values are sorted in ascending order and output from the Batcher network. It should be noted that the output packet of the Batcher network is concentrated in order of the label, and not necessarily output to the objective output port.
By providing Banyan network performing self-routing of the packet in the later stage of the Batcher network, the packet can be output to the objective output port. This construction is called as Batcher-Banyan network and has been proposed in “A Broadband Packet Switch for Integrated Transport” (J. Y. Hui, IEEE J. Sel. Areas Comm., Vol. SAC-5, No. 8, pp 1264-1273, October 1987).
In the Batcher-Banyan network, a routing network becomes necessary in addition to the sorting network to cause increasing of hardware amount. The switch core portion 3 of the packet switching equipment according to the present invention is constructed with the sorting network and the equipment is constructed with smaller hardware amount.
As shown in
On the other hand, as shown in
In this case, both of output destination adjusting process and the vacant port adjusting process are simply required to be completed until the packets are output from the input buffer portions 1-1 to 1-n. Manner of combination of the output destination adjusting process and the vacant port adjusting process does not limit the present invention, and various modifications associating with this should be encompassed within a scope of the present invention.
The externally input packet is stored in the payload portion in the packet input portion 12, and the BSY portion is set to “1”. In the input buffer portions 1-1 to 1-n which obtain the output permission by the output destination adjusting process, the packet having “1” in the BSY portion is taken out from the logic queues 11-1 to 11-n for outputting by setting the destination output port number in the address portion as label, at the packet output portion 13.
When the output permission is obtained by the vacant port adjusting process, the packet output portion 13 sets “0” in the BSY portion and the assigned vacant port number in the address portion as label to generate a dummy packet for outputting without taking out the packet from the logic queues 11-1 to 11-n.
The filtering portions 4-1 to 4-n arranged per output ports 101-1 to 101-n make reference to the BSY portion of the packet format to pass the packet of BSY “1” and abandon the packet of BSY=“0”. This is for preventing the null dummy packet generated in the packet switching equipment from being output externally from the equipment.
As initial condition, the input buffer #0 has the packet addressed to the output port #2, and the input buffer #1 has the packets addressed to the output ports #0, #1, #2 and #3. The input buffer #2 has packets addressed to output ports #0 and #2. The input buffer #3 has the packet addressed to the output port #2. It should be noted that, in the shown embodiment, discussion will be given for packet switching operation on the basis of the arbitration process shown in
In
Here, method for assigning the output permission is not limited to the shown method but can be any applicable methods. For example, it is possible to assign vacant output ports sorted in ascending order, the input buffer number in ascending order may be assigned.
The input buffer portions assigned the vacant ports through the vacant port adjusting process output the dummy packets which are set “0” in the BSY portions and assigned vacant port number in the address portions.
Since packets for all output ports are present irrespective of valid packet and dummy packet, the packets can be output to the objective output ports by the sorting network. On the other hand, in the filtering portion 4-1 to 4-4 receiving the packet, the packet having BSY=″0″ is abandoned and the packet having BSY=″1″ is passed. At this time, the packet body from the payload portion of the packet format is taken out.
As set forth above, by employing the sorting network autonomously sorting and concentrating the packets on the basis of the labels applied to the input packets, such as Batcher network, in the switch core portion 3, by executing the output destination adjusting process giving output permission for outputting to the output ports 101-1 to 101-n for the input buffer portions 1-1 to 1-n with avoiding overlapping, and the vacant port adjusting process assigning the idle output ports not occupied by the input buffer portions 1-1 to 1-n for the idle input buffer portion not obtaining the output permission, by outputting the packets to the output ports 101-1 to 101-n assigned for the input buffer portions 1-1 to 1-n through the output destination adjusting process, and by generating and outputting the dummy packets addressed to the output ports 101-1 to 101-n by the input buffer portions, to which the output ports 101-1 to 101-n are assigned, through the vacant port adjusting process, the switch core portion 3 is permitted to operate independent of content of decision of the arbiter portion 2. Thus, the packet switching equipment with quite simple construction which does not require complicate control structure which establishes synchronization over the entire equipment, can be constructed.
Although the present invention has been illustrated and described with respect to exemplary embodiment thereof, it should be understood by those skilled in the art that the foregoing and various other changes, omission and additions may be made therein and thereto, without departing from the spirit and scope of the present invention. Therefore, the present invention should not be understood as limited to the specific embodiment set out above but to include all possible embodiments which can be embodied within a scope encompassed and equivalent thereof with respect to the feature set out in the appended claims.
In the present invention, since the sorting network for autonomously sorting and concentrating the packets on the basis of the label applied to the packet, is employed in the switch core portion 3, the switch core portion 3 only performs autonomously sorting and concentrating with reference to only label of the input packet to permit operation independent of the content of decision made by the arbiter portion 2. Therefore, simple control of the packet switching equipment which does not require complicate control structure which establishes synchronization over the entire equipment, can be constructed.
On the other hand, in the present invention, by executing the output destination adjusting process for providing output permission for outputting to the output ports 101-1 to 101-n for the input buffer portions 1-1 to 1-n with avoiding overlapping and the vacant port adjusting process for assigning idle output port not occupied by any input buffer portion 1-1 to 1-n for the idle input buffer portion not obtaining the output permission, by outputting packets to addressed output ports 101-1 to 101-n by the input buffer portions 1-1 to 1-n assigned the output ports 101-1 to 101-n by the output destination adjusting process, and by generating and outputting the dummy packet addressed to the output ports 101-1 to 101-n by the input buffer portions 1-1 to 1-n assigned the output ports 101-1 to 101-n by the vacant port adjusting process, the packet can be accurately switched to the objective output port in the sorting network sorting and concentrating the packets in order of the labels.
Furthermore, by providing the information indicative of valid packet or dummy packet for the packet, and arranging the packet filtering portions 4-1 to 4-n for passing only valid packets and abandoning the null dummy packets, corresponding to the output ports 101-1 to 101-n of the packet switching equipment, the null dummy packet will never be output externally from the packet switch equipment to restrict wasting of the network resource.
As set forth above, with the present invention, in the packet switching equipment performing switching of packets between the input ports and the output ports, the packets arriving to the input port are output with labels indicative of the destination port number added in the input buffer portion, the packets are switched in the switch core portion on the basis of the labels added in the input buffer portion, the input buffer portions to provide output permission for outputting to the output ports are adjusted by the arbiter portion, and the sorting network for autonomously sorting and concentrating the packet on the basis of the labels provided for the packets is applied to the switch core portion. Therefore, the operation of the switch core portion can be independent of content of decision of the arbiter portion to construct the overall equipment with simple control structure.
Number | Date | Country | Kind |
---|---|---|---|
269458/2000 | Sep 2000 | JP | national |
This application is a continuation of U.S. patent application Ser. No. 12/786,487, filed May 25, 2010, which is a continuation of U.S. patent application Ser. No. 11/619,921, filed Jan. 4, 2007 (now U.S. Pat. No. 7,751,427), which is a continuation of U.S. patent application Ser. No. 09/945,758 filed Sep. 5, 2001 (now U.S. Pat. No. 7,177,309), the disclosures of which are incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | 12786487 | May 2010 | US |
Child | 13029171 | US | |
Parent | 11619921 | Jan 2007 | US |
Child | 12786487 | US | |
Parent | 09945758 | Sep 2001 | US |
Child | 11619921 | US |