Switching system with time-stamped packet distribution input stage and packet sequencing output stage

Abstract: In a fast packet switching system, packet distributers are associated respectively with input ports for receiving successive packets therefrom and attaching a timeslot number to each of the received packets, and uniformly distributing the packets to output terminals of each distributer. Packet switches are provided corresponding in number to the output terminals of each packet distributer. Each packet switch has input terminals corresponding in number to the packet distributers and output terminals corresponding in number to the output ports. The input terminals of each packet switch are coupled to respective output terminals of the distributers for switching a packet from one of its input terminals to one of its output terminals in accordance with a destination address contained in the packet. Packet sequencers are associated respectively with the output ports. Each packet sequencer has input terminals coupled to respective output terminals of the packet switches for examining the timeslot numbers attached to packets from its input terminals and delivering the packets to the associated output port in accordance with the examined timeslot numbers.

Description: The present invention relates generally to packet switching systems, and more specifically to a fast packet switching system for ISDN (Integrated Services Digital Network). Research effort has currently been focused on fast packet switching systems for transporting and switching all classes of information by segmenting signals into small packets and transporting them using simplified protocols. An architecture of such a fast packet switching system is described In a paper "A shared buffer memory switch for an ATM exchange", H. Kuwahara et al, (IEEE Conference ICC'89, USA). According to this technique, incoming packets are bit-sliced by a serial-to-parallel converters into packet segments for coupling to respective connection oriented sub-switching systems, and sequenced again by parallel-to-serial converters into the original packet at the output port. If the incoming packet has an L-bit length, it can be bit sliced to a maximum of L packet segments, allowing the sub-switching systems to operate at a speed 1/L of the speed of serial processing. The switching speed of the prior art packet switching systems is given by the relation N x V/K, where V is the line transmission speed, N the number of input ports, and K the number of packet segments into which each packet is bit-sliced. For a given switching speed, the line speed and the number of input ports can be increased by increasing the K value whose maximum value is equal to the bit length L. Typical values are N = 32, V = 4.8 Gbps, and L = K = 53 bytes for a switching speed of 362 Mbps. However, this value is still too high for implementing packet switching systems. Although self-routing switches are of benefit for certain applications, bit-slicing technique can be used for higher speed switching application, If bit-slicing technique is used for the center switching stage, the switching speed of the system can be decreased to N x V/P x L, where P is the number of switches of'the center stage. EP-A-0 328 854 discloses a distribution stage for distributing packets through a switching network. A path is identified by a network address which is composed of the distribution address and the destination address. The distribution address is coded with S/2 bits and one bit of the distribution address is assigned to each connection request. JP-A-55-140 347 discloses a switching network where sequence numbers are given to packets by a packet transmission sequence control mechanism. Packets are stored in a memory and their sequence numbers are checked by a monitor unit where they are rearranged according to the sequence numbers. If a given sequence number is missing, it is stored in a memory and a timer is started. If the missing packet fails to appear within the timeout period of the timer, it is treated as a lost packet. It is an object of the present invention to provide a packet switching system which is allowed to operate at a switching speed which is suitable for practical implementations. This object is solved with the features of claim 1. The present invention will be described in further detail with reference to the accompanying drawings, in which: Fig. 1 is a block diagram of a packet switching system of the present invention; Fig. 2 is a block diagram showing details of each packet distributer of Fig. 1; Fig. 3 is a block diagram showing details of each packet switch; Fig. 4 is a block diagram showing one embodiment of a packet sequencer, Figs. 4A to 4D showing data sets moving through packet reordering circuit of the sequencer; Fig. 5 is a block diagram showing a first modification of the packet sequencer; Fig. 6 is a block diagram of a second modification of the packet sequencer; Fig. 7 is a block diagram of a third modification of the packet sequencer; Fig. 8 is a block diagram of a fourth modification of the packet sequencer; Fig. 9 is a block diagram of the packet switching system according to a second embodiment of this invention; Fig. 10 shows details of a packet distributer of Fig. 9; Fig. 11 shows details of a packet switch of Fig. 9; Fig. 12 shows details of a modified form of the packet distributer of Fig. 9; and Fig. 13 shows details of a modified form of the packet switch of Fig. 9 associated with the modified packet distributer of Fig. 12. Referring now to Fig. 1, there is shown a packet switching system according to one embodiment of the present invention. For purposes of illustration, the switching system has four input ports 10 1 through 10 4 for receiving packets of a predetermined bit length from user stations at a line clock rate specified by the system and switching the received packets to one of four output ports 14 1 through 14 4 . Each packet contains a label indicating a destination user station. The system comprises a plurality of packet distributers 11 1 ∼ 11 4 corresponding respectively to the input ports 10 1 ∼ 10 4 , a plurality of 4 x 4 self-routing packet switches 12 1 ∼ 12 4 corresponding in number to the packet distributers, and a like plurality of packet sequencers 13 1 ∼ 13 4 corresponding respectively to the output ports 14 1 ∼ 14 4 . Each packet distributer 11 i has four output terminals coupled respectively to the ith input terminals of all packet switches 12. The output terminals of each packet switch 12 i are coupled respectively to the i th input terminals of all packet sequencers 13. On receiving a packet each packet distributer 11 i extracts the label from the packet and uses it to reference a routing table 15 to attach an outgoing address identifying one of the output ports 14. The distributer proceeds to attach a timeslot number to the packet, selects one of the packet switches 12 and applies the packet to the selected packet switch so that packets received successively from a given user are distributed uniformly to the packet switches. To assign a timeslot number, a series of reference timeslot numbers is cyclically generated by a system time base 16 and supplied to all packet distributers 11. In each self-routing packet switch 12, each packet is examined for its destination and routed to one of the packet sequencers 13 according to the outgoing identifier contained in the label. Because of the paral!el switching of successive packets by packet switches 12 1 ∼ 12 4 , each packet switch is given an interval for switching which is four times longer than would otherwise be allowed if the burden is placed on a single packet switch. Packets destined to a given output port may arrive at the packet sequencer associated with that port at different times. To secure packet sequence integrity, each packet sequencer extracts the time stamp from each packet and uses it to rearrange successive packets in the original sequence. Details of the system components will now be described. In Fig. 2, each packet distributer 11 i of Fig. 1 comprises a packet detector 20 coupled to the associated input port 10 i for extracting a label from each incoming packet and applies it to the routing table 15 to rewrite its label with an outgoing address obtained from the routing table and applies its output to a multiplexer 22. Simultaneously, it informs the arrival of a packet to a timeslot number (TSN) assignment circuit 21 to which the reference timeslot number is supplied from the time base 16. In a practical embodiment, each of the packet switches may hold a sequence of a maximum of, say, 100 outstanding packets. In order to allow identification of packets arriving at a given packet sequencer, timeslot numbers #1 through #100 are assigned respectively to one hundred packets of each successive sequence and the same numbers are cyclically used. The TSN assignment circuit 21 assigns a timeslot number to each packet in response to an output signal from packet detector 20 and applies the assigned number to multiplexer 22 so that the packet is multiplexed with the assigned timeslot number which is unique to the sequence of 100 packets to which it belongs. An input-port address generator 23 is also connected to multiplexer 22 to append an identifier identifying the input port 10 i . This identifier will be used by the packet sequencers constructed according to one embodiment of this invention. The output of multiplexer 22 is applied to a switch 24 which applies packets from multiplexer 22 to latches 26 in accordance with a switching signal supplied from a controller 25. The outputs of latches 26 1 ∼ 26 4 of packet distributer 11 i are respectively connected to the i th input terminals of packet switches 12 1 ∼ 12 4 . Controller 25 sequentially selects latches 26 so that successive packets are sequentially distributed to all latches 26. At periodic clock intervals, the packets stored in latches 26 are simultaneously forwarded to the corresponding packet switches 12. As shown in Fig. 3, each self-routing packet switch 12 i comprises a multiplexer 30 for multiplexing signals from the i th outputs of all packet distributers 11 and forwarding the multiplexed signal onto a common bus 31 to which are connected address filters 32 1 - 32 4 having filter addresses identifying respectively the output ports 14 1 ∼ 14 4 . First-in-first-out memories 33 1 ∼33 4 are connected respectively to the outputs of address filters 32 1 - 32 4 , the output of FIFO memories 33 1 ∼33 4 of each packet switch 12 i being connected to the i th inputs of packet sequencers 13 1 - 13 4 , respectively. Each address filter 32 examines the outgoing address contained in each of packets arriving from the different packet distributers 11 and detects a match or mismatch with the address of the filter 32. On detecting a match, each address filter 32 i allows a packet to be passed therethrough to corresponding FIFO memory 33 i . The outputs of FIFO memories 33 1 , 33 2 , 33 3 and 33 4 of packet switch 12 i are connected to the i th input terminals of packet sequencers 13 1 , 13 2 , 13 3 and 13 4 , respectively. Fig. 4 shows one embodiment of packet sequencer 13 i . Sequencer 13 i comprises a multiplexer 40 for multiplexing signals from the i th output terminals of packet switches 12 1 - 12 4 into a single data bit stream for coupling to a timeslot number detector 41 in which the timeslot number of each packet is removed from the packet and applied to a multiplexer 48, while packets destined to the same output port are supplied to a packet memory (dual-port RAM) in sequence. A write address generator 43 applies sequential write address data to memory 44 so that packets are stored into memory 44 in the order of arrival at the packet sequencer. The write address data is also applied to multiplexer 48 in which it is combined with a timeslot number to form a data set. Latches 49 1 - 49 n are connected in a series circuit to store and shift a data set from one latch to the next and from one latch to a corresponding one of compare-and-select circuits 50 1 ∼ 50 n which are also connected in series between the output of multiplexer 48 and latch 49 n . A difference detector 45 is supplied with the reference timeslot number from time base 16 to detect the difference between it and the timeslot number contained in the output of latch 49 1 . The output of difference detector 45 is applied to a comparator 46 in which it is compared with a threshold value which represents a maximum delay time allowable for each packet and corresponds to the maximum number of packets outstanding in the packet switches. Comparator 46 generates an output signal when the difference output from detector 45 is greater than the threshold value and enables a gate 47 for coupling the address component of a data set from latch 49 1 to RAM 44 as a read address pointer for reading a packet therefrom corresponding to the timeslot number of that data set. Compare-and-select circuit 50 1 compares the timeslot number of the output of multiplexer 48 with the timeslot number of a data set stored in latch 49 1 and transfers the data set from multiplexer 48 to the next compare-and-select circuit 50 2 if the timeslot number from multiplexer 48 is greater than the timeslot number from latch 49 1 and interchanges the compared data sets and transfers the data set from latch 49 1 to the next compare-and-select circuit if the timeslot number from multiplexer 48 is smaller than the other. Likewise, each of the succeeding compare-and-select circuits 50 i compares the timeslot number of the output of the preceding compare-and-select circuit with the timeslot number of a data set stored in corresponding latch 49 i and transfers the data set from the preceding compare-and-select circuit to the next compare-and-select circuit if the timeslot number from the preceding circuit is greater than the timeslot number from the corresponding latch and interchanges the compared data sets and transfers the data set from the corresponding latch to the next compare-and-select circuit if the timeslot number from the preceding circuit is smaller than the other. The operation of this packet sequencer will best be understood with reference to Figs. 4A ∼ 4D. For purposes of simplicity, it is assumed that only three sets of compare-and-select circuits and corresponding latches are provided. Assume that a given packet has a timeslot number "15" and is stored in RAM 44 in a location identified by write address data "6". This timeslot number is combined by multiplexer 48 with the timeslot number "15" supplied from write address generator 43 to produce a data set ("6"/"15"). Up to this point, data sets ("8"/"10"), ("12"/"20") and ("5"/"22") are assumed to have been stored respectively in latches 49 1 , 49 2 and 49 3 , as shown in Fig. 4A. The output of multiplexer 48 is applied to compare-and-select circuit 50 1 in which the timeslot number "15" is compared with the timeslot number "10" of the data set stored in latch 49 1 . Compare-and-select circuit 50 1 transfers the data set ("6"/"15") to the next circuit 50 2 for comparison with the timeslot number "20" stored in corresponding latch 49 2 . Compare-and-select circuit 50 2 thus interchanges data sets with latch 49 2 and transfer data set("12"/"20") to compare-and-select circuit 50 3 (Fig. 4B) for making a comparison with the timeslot number "22" stored in corresponding latch 49 3 . Thus, data sets in latch 49 3 and compare-and-select circuit 50 3 are interchanged and data set ("5"/"22") from latch 49 3 is transferred to the next compare-and-select circuit (Fig. 4C). In this way, data sets stored in latches 49 1 ∼ 49 3 are arranged in the order of timeslot numbers with the timeslot number stored in latch 49 1 being always the smallest of all timeslot numbers stored in latches 49. At the end of this process, the timeslot number stored in latch 49 1 is applied to the difference detector 45. If the difference between it and the reference timeslot number is greater than the threshold value, comparator 46 enables gate 47 to pass the address component of the data set stored in latch 49 1 to RAM 44 as a read address pointer for reading the given packet mentioned above. Simultaneously, data sets stored in all latches 49 are shifted to the left as shown in Fig. 4D. Since the reference timeslot number represents the real time, the output of difference detector 45 indicates the amount of time a packet has elapsed from the time at which a timeslot number is assigned to it by a packet distributer 11 i . Thus, each packet is read out of memory 44 following the detection of a maximum delay time within which an outstanding packet having a smaller timeslot number than any of the packets in the sequencer 13 i may possible exist in a packet switch 12. Thus, the packet read out of memory 44 is ensured that it is the earliest of all packets in a packet sequencer 13 i for a given instant of time. The packet sequencers are modified in several forms as shown in Figs. 5 to 8. In Fig. 5, sequencer 13 i includes a multiplexer 60 in which the output signals from the i th output terminals of all packet switches 12 are multiplexed into a series of packets. The output of multiplexer 60 is connected to address filters 61 1 ∼ 61 4 to which dual-port RAMs 62 1 - 62 4 are respectively connected. The address of each filter 61 i (where i = 1, 2, 3, 4) corresponds to the address of the input port 10 i . Each address filter 61 i examines each packet for the input-port address generated by the address generator 23 of a packet distributer 11 i (Fig. 2) and detects a match or mismatch with the own filter address. If a match is detected, the address filter passes the matched packet to the associated memory 62. Therefore, packets coming from the same input port 10 i are passed through address filter 61 i and stored into packet memory 62 i . Memory controllers 63 i are associated respectively with address filters 61 i and packet memories 62 i to provide read/write control on associated packets for sequential delivery to a multiplexer 64 in which the packets having the same destination but coming from different input ports 11 are sequentially arranged and delivered to output port 14 i . Each memory controller 63 i comprises a timeslot number detector 65 coupled to the associated address filter 61 i to extract a timeslot number from each packet for coupling to a timeslot-to-address conversion table 66. There is a map in the conversion table 66 uniquely specifying relationships between all timeslot numbers and corresponding storage locations of memory 62 i . It is seen therefore that conversion table 66 can produce a write address corresponding to each timeslot number, and hence all packets stored in RAM 62 i can be sequentially readable. The write address data from table 66 is applied to packet memory 62 i . A read control circuit 67 monitors the output of address filter 61 i to supply a read enable pulse to a read address generator 68 when the highest of timeslot numbers is reached to start sequential reading of packets from RAM 62 i . In this way, packets which might have arrived out of sequence are arranged into the right order. A simplified form of sequencer 13 i is shown in Fig. 6. Sequencer 13 i includes first-in-first-out memories 70 1 ∼ 70 4 for storing packets from the i th output terminals of packet switches 12 1 ∼ 12 4 , respectively. Timeslot number detectors 71 1 ∼ 71 4 are respectively coupled to the end storage cell of the memories 70 1 ∼ 70 4 for examining packets of earliest arrival to detect their timeslot numbers. The outputs of timeslot number detectors 71 1 ∼ 71 4 are applied to a read control and minimum detection circuit 72 for detecting the smallest of the timeslot numbers supplied from timeslot number detectors 71 and applies a shift-out pulse to one of the FIFO memories corresponding to the smallest time slot number. In this way, a packet arriving earliest of those stored in the output ends of FIFO memories 70 1 ∼ 70 4 is shifted out of a FIFO memory 70 k to output port 14 i . The same process is repeated to deliver a packet of second arrival from the output end of another FIFO memory. A full empty detector 73 is connected to all FIFO memories 70 to disable the read control and minimum detection circuit 72 when at least one of the packet memories 70 is all empty to prevent an out-of-sequence situation which might occur if there is a packet outstanding in a packet switch 12 which is earlier than any of those in the FIFO memories 70. In Fig. 7, a third modification of the packet sequencer 13 i is illustrated as comprising timeslot number (TSN) detectors 80 1 - 80 4 connected respectively to the i th output terminals of all packet switches 12. TSN detectors 80 extract timeslot numbers from received packets and stores the timeslot numbers into TSN memories (FIFO) 82 1 - 82 4 , respectively. With the timeslot numbers being removed, the packets from TSN detectors 80 1 - 80 4 are stored into FIFO memories 81 1 ∼ 81 4 , respectively, whose outputs are coupled together to output ports 14 i . A read control and sequential selection (RCSS) circuit 83 is connected to the output ends of TSN memories 82 to sequentially read the timeslot numbers of earliest arrivals and sequentially apply a select command signal to a shift pulse generator 8. The read timeslot numbers sequentially read out from memories 82 are supplied from RCSS circuit 83 to a comparator 85 for comparison with a timeslot number supplied from a local timeslot number generator 86. When the timeslot numbers are equal, comparator 85 supplies an enable pulse to shift pulse generator 84 to allow it to apply the select command signal from RCSS circuit 83 to a packet memory 81 k to shift out the packet from that memory to output port 14 i . The same shift pulse is applied to the corresponding timeslot memory 82 k . If the timeslot numbers mismatch, comparator 85 causes timeslot number generator 86 to increment its value by one. A full empty detector 87 is provided for disabling the RCSS circuit 83 if at least one of the memories 81 is all empty to prevent the possible out-of-sequence situation as mentioned above. A fourth embodiment of the packet sequencer 13; is shown in Fig. 8. Respective packets from the packet switches 12 are supplied to timeslot number detectors 90 1 ∼ 90 4 on the one hand and stored into FIFO packet memories 91 1 ∼ 91 4 on the other hand. To the output ends of FIFO memories 91 are respectively connected timeslot number detectors 92 whose outputs are, in turn, connected to a read control and sequential selection (RCSS) circuit 93 which sequentially read the outputs of timeslot detectors 92 for coupling tc a comparator 94 in which it is compared with the output of a local timeslot number generator 95. The RCSS circuit 93 supplies a select command signal which is sequential!y applied to a shift pulse generator 96 when enabled in response to the detection of a match by comparator 94 between the two timeslot numbers in a manner similar to the embodiment of Fig. 7, so that one of the packet memories 91 is shifted in response to a shift-out pulse supplied from generator 96. TSN generator 95 is incremented by one in response to the detection of a mismatch between the timeslot numbers by comparator 94. A full empty detector 98 is connected to all packet memories 91 to enable the TSN detectors 90 when at least one of the packet memories is empty, while disabling the RCSS circuit 93. The output of TSN generator 95 is further applied to a comparator 97 for comparison with the outputs of TSN detectors 90 when enabled by the full empty detector 98. TSN generator 95 is also incremented by one in response to an output signal from comparator 97 which is generated when the locally generated timeslot number is determined by the comparator as being smaller than any of the detected timeslot numbers. To the outputs of packet memories 91 are respectively connected end-of-sequence detectors 99 1 ∼ 99 4 . Each of these end-of-sequence detectors 99 monitors successive output packets from the associated packet memory to detect the absence of a packet to follow. If the absence of a subsequent packet is detected, each end-of-sequence detector 99 causes the TSN generator 95 to increment its value by one. If one of the packet memories 91 is empty, a situation arises that a subsequent packet to fill that vacant memory will have a timeslot number greater than the current value of the locally generated timeslot number. If this is the case, the locally generated timeslot number is smaller than any of the detected timeslot numbers, and comparator 97 produces an output signal for incrementing TSN generator 95. On the other hand, when there is no subsequent output packet from one of the packet memories 91, the corresponding end-of-sequence detector 99 supplies an increment command signal to the TSN generator 95. By incrementing the TSN generator in this way, the total amount of time taken to process packets in the sequencers can be decreased. Fig. 9 is a block diagram of a modified packet switching system in which each packet switch 12 produces a traffic load signal indicating the count of packets outstanding in the packet switch and transmits this signal to all packet distributers 11. The purpose of this modification is to evenly distribute packets over packet switches 12. As shown in Fig. 10, each packet distributer includes a priority controller 100 which receives packet count signals from packet switches 12 1 ∼ 12 4 . In Fig. 11, each packet switch 12 is shown including a packet counter 110 having inputs coupled respectively to the FIFO memories 33 1 ∼ 33 4 . Packet counter 110 produces a signal indicating the total count of packets stored in the FIFO memories 33. Returning to Fig. 10, the priority controller 100 uses the packet counts from all packet switches and controls the switch 24 for selecting the latches 26 so that those associated with the packet switches having a smaller number of outstanding packets are selected with higher priority than those associated with the packet switches in which a greater number of packets are outstanding More specifically, priority controller 100 determines whether the count of outstanding packets in one or more packet switches exceeds a predetermined value, and if so, it proceeds to select the packet switches other than the packet switch of which the packet count value is determined as exceeding the predetermined value. In Fig. 12, each packet distributer 11 i is preferably provided with a destination address detector 120 coupled to the packet detector 20. The output of this detector is applied to a priority controller 121 to which traffic load signals are supplied from all packet switches. As shown in Fig. 13, each packet switch 12 includes a destination address detector 130 coupled to the FIFO memories 33 to detect the destination addresses of the packets stored therein. The packet counter 110 produces traffic load signals each indicating the packet count for each destination, so that the signal indicates the traffic condition the destination packet sequencer 13 as well as the intermediate packet switches. In each packet distributer 11, priority controller 121 uses the output of destination address detector 120 to analyze the traffic signals from packet switches 12 and makes a search through the packet switches 12 1 to 12 4 to determine one or more packet switches of which the packet count value of the same destination address exceeds a predetermined value. If this is the case, priority controller 121 selects the packet switches other than such modules with priority. The foregoing description shows only preferred embodiments of the present invention. Various modifications are apparent to those skilled in the art without departing from the scope of the present invention which is only limited by the appended claims. Therefore, the embodiments shown and described are only illustrative, not restrictive.

Claims: A packet switching system comprising a routing table (15), a plurality of Input ports (10 1 -10 4 ) and a plurality of output ports (14 1 -14 4 ), a first stage including a plurality of packet distributors (11 1 -11 4 ) associated respectively with the Input ports for receiving successive packets therefrom for uniformly distributing the packets to a plurality of output terminals thereof and accessing said routing table (15) to rewrite a label contained In each packet with a destination address, a second stage including a plurality of packet switches (12 1 -12 4 ) corresponding in number to the output terminals of each of the packet distributors, each of the packet switches having a plurality of Input terminals corresponding in number to the packet distributors and a plurality of output terminals corresponding in number to said output ports (14 1 -14 4 ), the input terminals of each of the packet switches (12 1 -12 4 ) being coupled to respective output terminals of said packet distributors (11 1 -11 4 ) for switching a packet from an input terminal of the switch to an output terminal of the switch in accordance with the destination address of the packet and a third stage Including a plurality of switches (13 1 -13 4 ) whose input terminals are connected to respective output terminals of the packet switches (12 1 -12 4 ) and whose output terminals are connected respectively to said output ports (14 1 -14 4 ), characterized In that each of said packet distributors (11 1 -11 4 ) includes means (20, 21, 22) for attaching a timeslot number to each of the received packets and means (24,25,26 1 -26 4 ) for sequentially distributing the timeslot-number-attached packets so that they appear at each of output terminal of the packet distributor at a data rate 1/N of the rate at which such packets arrive at the packet distributor, where N Is the number of said output terminals of the packet distributor, and In that each of the switches of said third stage comprises a packet sequencer (13 1 -13 4 ) for delivering each packet from one of the packet switches to the associated output port In accordance with the timeslot number of the packet. A packet switching system as claimed in claim 1, wherein each of said packet switches comprises means for generating a traffic-related signal indicating the amount of packets outstanding in the packet switch, and wherein each of the packet distributers (11) comprises means for receiving said traffic-related signal from each of the packet switches and giving priority of packet distribution to the output terminals of the packet distributer (11) according to the amounts of packets outstanding in the respective packet switches so that packets from the associated input port are distributed with priority to those of the packet switches having a smaller amount of outstanding packets. A packet switching system as claimed in claim 1 or 2, wherein each of said packet switches comprises: means for detecting destination addresses from packets respectively destined to said output ports; and means for generating a traffic-related signal indicating the respective amounts of said packets having said detected destination addresses, and wherein each of the packet distributers comprises: means for detecting the destination addresses of incoming packets from the associated input port; and means for receiving said traffic-related signal from each of the packet switches and giving priority of packet distribution to the output terminals of the packet distributer according to the amounts of packets indicated by the traffic-related signal and according to the detected destination addresses of said incoming packets so that the incoming packets are distributed with priority to those of the packet switches having a smaller amount of packets containing the same destination address as said incoming packets. A packet switching system as claimed in claim 1, 2, or 3, wherein each of said packet sequencers (13) comprises: multiplexer means (40) for multiplexing packets from the input terminals thereof; timeslot detector means (41) for detecting the timeslot number of said multiplexed packets; address generator means (43) for generating address signals corresponding to said multiplexed packets, respectively; memory means (44) responsive to said address signals for storing said multiplexed packets in locations respectively identified by said address signals; combiner means (48) for combining the address signals and the detected timeslot numbers to produce data sets; packet arranging means for arranging said data sets according to the timeslot numbers contained therein; and gate means (47) for applying the address signals contained in the arranged data sets to said memory means (44) for reading packets stored therein. A packet switching system as claimed in claim 4, wherein said packet arranging means comprises: a plurality of latches (49) series-connected in a first circuit; and a like plurality of compare-and-select circuits (50) series-connected in a second circuit said compare-and-select circuits being connected to corresponding ones of said latches and to said combiner means (48) for receiving the data set from the combiner means, each of the compare-and-select circuits (50) comparing the timeslot number of each data set in said first circuit with the timeslot number of each data set in said second circuit and interchanging the data sets between said first and second circuits and applying the data set from the first circuit to a subsequent compare-and-select circuit when the timeslot number of the data set in said second circuit is smaller than the timeslot number of the data set in said first circuit, so that data sets stored in said latches (49) are arranged according to the timeslot numbers thereof. A packet switching system as claimed in claim 4 or 5, wherein said gate means (45-47) comprises: means (45) for detecting a difference between the timeslot number of each data set stored in one of said latches and a reference timeslot number; and means (46) for comparing said difference with a threshold value and applying the address signal contained in the data set stored in said one of said latches to said memory means (44) when said difference exceeds said threshold value. A packet switching system as claimed in claim 6, wherein said threshold value represents a maximum number of packets outstanding in each of said packet switches. A packet switching system as claimed in any one of claims 1 to 7, wherein each of said packet distributers (11) comprises means for attaching an input-port address identifying the associated input port, and wherein each of said packet sequencers (13) comprises: first multiplexer means (60) for multiplexing packets from the input terminals of the packet sequencer; a plurality of address filter means (61) corresponding respectively to said input ports, each of the address filter means being coupled to said first multiplexer means and having the input-port address of the corresponding input port for detecting packets from the output of the first multiplexer means (60) having the same input-port address as the address filter means; a plurality of memory means (62) coupled respectively to said address filter means; a plurality of memory control means (63) associated respectively with said address filter means and with said memory means, each of the memory control means comprising means for detecting timeslot numbers from the packets detected by the associated address filter means (61), means (66) for generating write address signals corresponding to said detected timeslot numbers for storing the packets detected by the associated address filter means into said associated memory means according to said write address signals, and means (68) for sequentially generating read address signals for reading packets from the associated memory means according to said read address signals; and second multiplexer means (64) for multiplexing packets read out of said plural memory means. A packet switching system as claimed in any one of claims 1 to 8, wherein each of said packet sequencers (13) comprises : a plurality of first-in-first-out memory means (70) having input ends connected respectively to the input terminals of the packet sequencer and having output ends coupled together to the associated output port (14 i ), a plurality of timeslot number detectors (71) connected respectively to the output ends of said first-in-first-out memory means (70); and control means (72) for detecting a minimum value of said detected timeslot numbers and shifting one of said first-in-first-out memory means (70) corresponding to the timeslot number of the detected minimum value. A packet switching system as claimed in claim 9, wherein each of said packet sequencers further comprises means (73) for detecting when at least one of said first-in-first-out memory means is empty and disabling said control means (72). A packet switching system as claimed in any one of claims 1 to 10, wherein each of said packet sequencers (13) comprises: a plurality of timeslot number detectors (80) coupled respectively to the input terminals of the packet sequencer for extracting timeslot numbers from packets arriving at said input terminals; a first plurality of first-in-first-out memory means (81) having input ends connected respectively to said timeslot number detectors for storing the packets from the timeslot number detectors and having output ends coupled together to the associated output port (14); a second plurality of first-in-first-out memory means (82) having input ends connected respectively to said timeslot number detectors for storing the timeslot numbers detected respectively by the timeslot number detectors (80); timeslot number generator means (86) for sequentially generating a local timeslot number; and control means (83,84,85) connected to the output ends of the second plurality of first-in-first-out memory means (82) for sequentially reading the timeslot numbers stored in said output ends, comparing said local timeslot number and each of the timeslot numbers read out of said memory means to detect a match or mismatch therebetween, and shifting one of said first plurality of first-in-first-out memory means and one of said second plurality of first-in-first-out memory means when there is a match between said times!ot numbers and incrementing said timeslot number generator means when there is a mismatch between said timeslot numbers. A packet switching system as claimed in claim 11, wherein wherein each of said packet sequencers further comprises means (87) for detecting when at least one of said first plurality of first-in-first-out memories is empty and disabling said control means. A packet switching system as claimed in any one of claims 1 to 12, wherein each of said packet sequencers (13) comprises: a plurality of first-in-first-out memory means (91) having input ends connected respectively to the input terminals of the packet sequencer and having output ends; a first plurality of timeslot number detectors (92) connected respectively to the output ends of said first-in-first-out memory means (91) for detecting timeslot numbers from packets stored in said output ends; timeslot number generator means (95) for sequentially generating a local timeslot number; control means (93,94,96) connected to the first plurality of timeslot number detectors (92) for sequentially reading the timeslot numbers detected by the first plurality of timeslot number detectors, comparing said local timeslot number and each of the timeslot numbers detected by the first plurality of timeslot number detectors to detect a match or mismatch therebetween, and shifting one of said first-in-first-out memory means when there is a match between said timeslot numbers and incrementing said timeslot number generator means when there is a mismatch between said timeslot numbers; a second plurality of timeslot number detectors (90) for detecting, when enabled, timeslot numbers from packets arriving at the input terminals of the packet sequencer; means for detecting when at least one of said first-in-first-out memories is empty, disabling said control means and enabling said second plurality of timeslot number detectors to allow detection of said timeslot numbers; means (97) for detecting when each of the timeslot numbers detected by the second plurality of timeslot number detectors (90) is greater than the local timeslot number and incrementing said timeslot number generator means (95); and a plurality of end-of-sequence detector means (99) connected respectively to the output ends of said first-in-first-out memory means (91) for detecting when there is no packet to follow and incrementing said timeslot number generator means (95). A packet switching system as daimed in any one of claims 1 to 13, wherein each of said packet switches is a self-routing switch.

Inventors: ARAMAKI TOSHIYA, ARAMAKI, TOSHIYA
Applicants: NIPPON ELECTRIC CO, NEC CORPORATION
Application year: 1992
Main classification: H04L12
IPC codes: H04L12