ATM cell switching system

Abstract: An ATM switching system comprises a switch unit including a plurality of input ports and a plurality of output ports having the same cell transmission rate, and a multiplexer for multiplexing cell trains outputted from at least two output ports into a single cell train and outputting the cell train to a high-speed output line (and/or a demultiplexer for demultiplexing a cell train from an output port into a plurality of cell trains and outputting the cell trains to a plurality of low-speed output lines). The switch unit includes a buffer memory for temporarily storing cells inputted from the input ports while forming a queue chain for each output line to which each cell is to be outputted, a demultiplexer for distributing the cells read from the buffer memory among the output ports in circulation, and a buffer memory control circuit for controlling the write and read operation of cells with the shared buffer memory. The buffer memory control circuit has a control table device for outputting an identifier of an output line to which the cells read from the shared buffer memory are to be outputted, and cells are read from the chain designated by the output line identifier outputted from the control table device.

Description: BACKGROUND OF THE INVENTION The present invention relates to a switching system, or more in particular to an ATM (Asynchronous Transfer Mode) switching system used with the speech path equipment of a wide-bandwidth ISDN exchange and, especially, an ATM switching system suitable for accommodating a plurality of types of input-output links having different transmission rates. A "TDM Switching System" proposed by JP-A-59-135994 is known, for example, as an ATM switching system applied to the wide-bandwidth ISDN exchange. This switching system comprises a multiplexer for multiplexing a fixed-length packet (hereinafter referred to as "the cell") inputted from each input line, a buffer memory for inputting a multiplexed cell, a demultiplexer for periodically separating the cells outputted from the buffer memory among output lines, and a buffer memory control circuit for controlling the buffer memory for each output line. The buffer memory control circuit, which includes FIFO (First In First Out) memories corresponding to the output lines, inputs a write address for the buffer memory into a FIFO memory corresponding to the cell output destination judged from the header information of a cell when the cell is written into the buffer memory. Also, the cell output from the buffer memory corresponding to each output line is produced at predetermined time intervals so that a read address is outputted to the buffer memory from the FIFO memory corresponding to each output line in timing with the cell output. A similar switching system including the features of the first part of claim 1 is disclosed in EP-A-0 299 473. According to the above-mentioned prior art, the reading of a cell from the buffer memory is controlled to a predetermined timing for each output line. When an attempt is made to accommodate a plurality of types of output links (output lines) different in transmission rate in a switching system having the above-mentioned configuration, therefore, the problem is posed of a very complicated hardware configuration of the buffer memory control circuit. A packet switching system capable of accommodating a plurality of types of input/output links having different transmission rates is proposed in JP-A-63-64439, for example, as a system for controlling the write and read operations of a packet with a buffer memory using a control memory. In the above-mentioned packet switching system, a plurality of input and output ports of a switch unit are matched one to one with input and output lines respectively, and packets are inputted and outputted to these input/output ports at a rate equal to the data transmission rate of the input/output lines connected thereto. In order to realize this switching operation, according to the prior art, the number of an input line providing an objective of the packet write process or an output line providing an objective of the packet read process within a predetermined regular time interval and the R/W designated data are stored in the control memory according to the processing sequence in such a manner as to generate the R/W process at a frequency corresponding to the data transmission rate of each line. The contents (the line numbers and the R/W designated data) of the control memory are sequentially read with the counter output value as an address and packets are written into or read from the buffer memory for the input/output lines designated by the line number thus read out. More specifically, the switching system described above is such that the buffer memory access is sequentially controlled in such a manner that packets are processed at the switching unit input port (or switch unit output port) connected to a high-speed input line (or output line) at a higher frequency than at the switch unit input port (or switch unit output port) connected to a low-speed input line (or output line). SUMMARY OF THE INVENTION An object of the present invention is to provide an ATM switching system capable of a cell switching operation in accordance with the cell transmission rate of an output line to be accommodated. This object is met by a system according claim 1. Preferred embodiments are disclosed in the depending claims. An ATM switching system according to the present invention comprises a switch unit including a plurality of switch unit input ports and switch unit output ports having a first transmission rate respectively, a plurality of input lines (input links), a plurality of output lines (output links), and at least one conversion means inserted between at least one of the output lines and at least one of the switch unit output ports and having a second transmission rate different from the first transmission rate for converting a cell train of the first transmission rate into a cell train of the second transmission rate, wherein: the switch unit includes multiplexing means for multiplexing and outputting a plurality of cell trains inputted from the switch unit input ports as a cell train, a shared buffer memory for temporarily storing the cell trains outputted sequentially from the multiplexer means, demultiplexing means for distributing in circulation the cells read from the shared buffer memory among the switch unit output ports, and a buffer memory control circuit for controlling the write and read operations of cells from the shared buffer memory; and the buffer memory control circuit includes control table means for outputting an identifier of the output line required to output a cell read from the shared buffer memory in accordance with the cell output timing to the switch unit output port, write means the cell train outputted from the multiplexing means into the buffer memory in such a manner as to form a cue chain of cells for each output line required to be outputted thereby, and read means for reading the cells from the cue chain in the shared buffer memory in accordance with the output line identifier read sequentially from the control table means. According to the switching system described above, at least one conversion means for converting an input cell train into a cell train of the first transmission rate may be connected between at least one of the input lines having a transmission rate different from the first transmission rate and at least one of the switch unit input ports. In an ATM switching system according to the present invention, assuming that the internal links connected to the output ports of the switch unit are set to the same transmission rate and that the output cells from the internal output links are bundled together by a multiplexer (a kind of conversion means), for example, the cell transmission rate at the output lines connected to the multiplexer can be increased. On the other hand, the output cell from an internal output link may be distributed among a plurality of output lines by a demultiplexer (a kind of conversion means) thereby to reduce the cell transmission rate at each output line. Assuming that a quadruple multiplexer is installed for an internal output link having a transmission rate of 150 Mbps, for example, it is possible to realize an output line having a transmission rate of 600 Mbps. Also, an output line having a transmission rate of 50 Mbps is realized by providing a demultiplexer of three divisions. In this case, the technical task is how to control the buffer by a buffer memory control circuit. According to the present invention, the above-mentioned multiplexer or demultiplexer is installed at the output port side of the ATM switching unit and the cell queue chain access is controlled in accordance with the output line (output link) connected to the multiplexer or demultiplexer respectively. The above-mentioned control table means has stored therein an output line identifier corresponding to the timing of cell output to the switch unit output ports. According to a counter value, for instance, a switch unit output port is selected and a table addressed sequentially in circulation, so that in timing with the cell output to each output port, the output line identifier for specifying a queue chain to which the cell to be outputted to the particular output port belongs is read from a control table thereby to read a cell from the queue chain. According to the present invention, the output ports of the switch unit are set to the same cell transmission rate and a new speed change means (multiplexer or demultiplexer) is added between the output port and the output link or is replaced with other appropriate means in accordance with the transmission rate required by the output link thereby to enable comparatively free selection of cell transmission rate on each output line. In this case, with regard to the control system of the ATM switching system, the contents of the control table are simply modified by external microcomputer control or the like means. Thus the transmission rate of the output lines can be easily changed. The foregoing and other objects, advantages, manner of operation, and novel features of the present invention will be understood from the following detailed description when read in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a diagram showing a configuration of a switching system having multiple-speed input-output ports according to an embodiment of the present invention. Fig. 2 is a diagram showing a configuration of a switching system comprising a bandwidth control table according to an embodiment of the present invention. Fig. 3 is a diagram for explaining the operation of a 150 Mbps/600 Mbps multiplexer shown in Fig. 2. Fig. 4 is a diagram for explaining the operation of switches between a shared buffer memory and an output port. Fig. 5 is a diagram showing the relationship between a counter value and an output port stored in a bandwidth control table. Fig. 6 is a diagram showing an example of configuration of a switch expanded according to the present invention. Fig. 7 is a diagram showing an example of configuration of a buffer memory control circuit for realizing the multicast function according to the present invention. Fig. 8 is a diagram showing the relationship between a counter value and various values stored in a bandwidth control table having the multicast function. Fig. 9 is a diagram for explaining the operation timing between a shared buffer memory and an output port in a switch having the multicast function. Fig. 10 is a diagram showing an example of configuration of a buffer memory control circuit for realizing the QOS (Quality of Service) class function. Fig. 11 is a diagram showing a buffer memory control circuit having the QOS function according to another embodiment. DESCRIPTION OF THE PREFERRED EMBODIMENTS An ATM switching system for the bandwidth ISDN (Integrated Services Digital Network) according to an embodiment of the present invention will be described below with reference to the accompanying drawings. Fig. 1 shows an example of configuration of an ATM switch comprising a pair of line input/output ports (PiO, PoO) connected with a line having the transmission rate of 300 Mbps, a pair of line input/output ports (Pi1, Po1) connected with a line of 150 Mbps and two pairs of line input/output ports (Pi2/Po2, Pi3/Po3) connected with a line of 75 Mbps. In Fig. 1, reference numeral 1 designates a switch unit including switch unit input ports Si0 to Si3 connected respectively with internal input links (L14, L15, L11, L16) having a transmission rate of 150 Mbps and switch unit output ports So0 to So3 connected respectively with internal output links (L50 to L53) of 150 Mbps. Numeral 20 designates a 300 Mbps/150 Mbps demultiplexer connected between the internal input ports Si0, Si1 and the line input port Pi0, and numeral 21 a 75 Mbps/150 Mbps multiplexer inserted between the internal input port Si3 and the line input ports Pi2, Pi3. Numeral 22 designates a 150 Mbps/300 Mbps multiplexer connected between the internal output ports So0, So1 and the line output port Po0, and numeral 23 a 150 Mbps/75 Mbps demultiplexer connected between the internal output port So3 and the line output ports Po2, Po3. In this switching system, a cell train inputted from the line input port Pi0 through the internal input link L10 at a transmission rate of 300 Mbps is distributed alternately between the internal input links L14 and L15 at the demultiplexer of 300 Mbps/150 Mbps, and the resulting two cell trains having a transmission rate of 150 Mbps are inputted to the switch unit 1. The cell train of 150 Mbps inputted from the line input port Pi1 is inputted to the switch unit 1 directly without being converted in speed. The two cell trains of 75 Mbps inputted through the internal input links L12, L13 from the line input ports Pi2, Pi3, on the other hand, are multiplexed alternately on the internal input link L16 at the multiplexer 21 of 75 Mbps/150 Mbps, and the resulting single cell train having a transmission rate of 150 Mbps is inputted to the switch unit 1. At the output side of the switch unit 1, each cell train outputted to the internal output links L50, L51 is multiplexed alternately at the multiplexer of 150 Mbps/300 Mbps, and is outputted as a cell train having a transmission rate of 300 Mbps through the internal output link L54 to the line output port Po0. Each cell outputted to the internal output link L52 is outputted from the line output port Pol at the same speed of 150 Mbps. Each cell outputted to the internal output link L53 is distributed alternately between the internal output links L55 and L56 at the demultiplexer 22 of 150 Mbps/75 Mbps, and is outputted to the line output ports Po2, Po3 respectively at a rate of 75 Mbps. The internal links of the line input/output ports Pi0 to Pi3 and Po0 to Po3 have installed therein line interfaces for rewriting the cell header, although not shown in Fig. 1 for the sake of simplicity. The functions of the demultiplexers 20, 23 and the multiplexers 21, 22 may be integrated with the line interface. Fig. 2 shows an example of configuration of the switch unit 1. The switch unit 1 includes a multiplexer 12 of 150 Mbps/600 Mbps connected with the switch unit input ports Si0 to Si3 (or the internal input links Lll, L14 to L16), a shared buffer memory 11 for temporarily storing the cells inputted sequentially through the port-designating information extraction circuit 14 and the line L2 from the multiplexer 12, a demultiplexer 13 of 600 Mbps/150 Mbps connected to the switch unit output ports So0 to So3 (or the internal output links L50 to L53), and a buffer memory control circuit 10. The buffer memory control circuit 10 includes a write address memory 101, a read address memory 102, an idle address buffer 103, a control table 104 and a counter 105. The cells inputted to the switch unit 1 at a transmission rate of 150 Mbps through the internal input links L14, L15, L11 and L16 are multiplexed sequentially at the multiplexer 12 of 150 Mbps/600 Mbps and are inputted to the shared buffer memory 11 at a rate of 600 Mbps. The cell of 600 Mbps outputted from the shared buffer memory 11 by the buffer memory control circuit 10, on the other hand, is demultiplexed sequentially among the switch unit output ports So0 to So3 at the 600 Mbps/150 Mbps demultiplexer 13 and is distributively outputted to the internal output links L50 to L53 of 150 Mbps. The buffer memory control circuit 10 for controlling the write and read operations of the shared buffer memory 11 receives the line output port-designating information from the extraction circuit 14 through the line L30 during the time of writing cells into the shared buffer memory 11, and makes access to the write address memory 101 with the same information as an address. The address which is thus read from the write address memory 101 is applied to the write address WA of the shared buffer memory 11 through the line L32. In the process, an idle address is outputted to the line L31 from an idle address buffer 103 storing idle addresses not in use at the shared buffer memory 11, and is written as "the next address" in the shared buffer memory 11 and the write address memory 101. This next address (idle address) is written in the memory position of the same address as the one wherefrom the write address has been read at the write address memory 101. Also, in the shared buffer memory 11, the next address mentioned above is written in a memory region specified by the same address as the input cell. This next address is indicative of the cell address of the shared buffer memory to be written the next time which is outputted to the same line output port as the input cell, whereby a queue chain for each output line is formed. During the cell read period, the line identifier is outputted from the control table 104 in accordance with the switch unit output port selected by the demultiplexer 13, and the line identifier is used to designate a queue chain to be accessed for reading in the buffer memory 11. More specifically, the line identifier outputted from the control table 104 is applied as a read address RA and a write address WA to the read address memory 102, and a cell address in a queue chain is outputted to the line L33. On the basis of this address, the next address is read out of the shared buffer memory 11 together with a cell in the queue chain. The next address is stored in an address position corresponding to the line identifier in the read address memory 102 so that the cell to be read the next time from the queue chain may be specified. Specifically, an address chain (linked list) due to the next address is configured for each line output port. By the way, each queue chain is expanded by a cell each time of writing a cell into the shared buffer memory 11. More specifically, the reading operation of cells from the shared buffer memory 11 is controlled in a manner that will be mentioned. The counter 105 counts up each time of reading a cell from the shared buffer memory 11. A count value changing in circulation is outputted from the counter 105 and is applied as an address to the control table 104. The control table 104 in turn outputs a line identifier (line output port-specifying information) stored at the storage position in accordance with the count value. This line identifier is applied to the read address memory 102 as a read/write address. During the cell read operation, the above-mentioned address causes a read address to be read out on the line L33 for reading a cell from a specified queue chain corresponding to the line output port in the shared buffer memory 11 from the read address memory 102. By accessing the shared buffer memory 11 using this read address, a cell addressed to a line output port specified by the line identifier is read. In the process, the read address outputted from the shared buffer memory 11 becomes idle upon completion of the cell read operation, and therefore is stored in the idle address buffer 102 through the line L33. Also, the next address read simultaneously with the cell from the shared buffer memory 11 is written into the read address memory 102 in order to read the next cell from the queue chain. Each time of the above-mentioned reading operation, the queue chain is compressed by a cell. The detailed operation of the counter 105 and the bandwidth control table 104 will be described later. Fig. 3 shows the operation of the multiplexer 12 of 150 Mbps/600 Mbps connected with the switch unit input ports Si0 to Si3. The cells on the switch unit input ports Si0 to Si3 (internal input links L14, L15, L11, L16) have a transmission rate of 150 Mbps and are applied to the multiplexer 12 at slightly different timings from each other. The multiplexer 12 multiplexes the input cells from the input port lines sequentially and outputs them to the line L2 at a transmission rate of 600 Mbps. A similar operation is performed by the 75 Mbps/150 Mbps multiplexer 21 connected to the line input ports Pi2, Pi3 and the 150 Mbps/300 Mbps multiplexer 22 connected to the line output port Po0. Also, the demultiplexer 13 of 600 Mbps/150 Mbps connected to the switch unit output ports So0 to So3 demultiplexes the input cells in a manner reverse in cell input/output timing of the 150 Mbps/600 Mbps multiplexer 12 shown in Fig. 3. The 300 Mbps/150 Mbps demultiplexer connected to the line input port Pi0 and the 150 Mbps/75 Mbps demultiplexer 23 connected to the line output ports Po2, Po3 also operate the same way as the 600 Mbps/150 Mbps multiplexer 13. As a result of these operations, the sequence of the cells is maintained in the internal links L10, L2 and L4, L54 respectively. Fig. 4 shows the correlation between the read cells c0 to c7 from the shared buffer memory 11 to the line output ports (Po0, Po1, Po2, Po3). The cells c0, c1, c3,....., c7 and so on, read out in that order on the line L4 are demultiplexed into four cell trains at the 600 Mbps/150 Mbps demultiplexer 13. As a result, the cells c0, c4 and so on are transferred in that order on the internal output link L50, c1, c5 and so on, in that order on the internal output link L51, c2, c6 and so on, in that order on the internal output link L52, and c3, c7 and so on, in that order on the internal output link L53. Of all these cells, those on the links L50 and L51 are multiplexed by the 150 Mbps/300 Mbps multiplexer 22 and are outputted to the internal output link L54 as c0, c1, c4, c5 and so on, in that order. Specifically, the sequence of cells is maintained in the internal output links L4 and L54. The cells outputted to the link 53, on the other hand, are demultiplexed further into two cell trains by the 150 Mbps/75 Mbps demultiplexer 23, so that the cells c3 and so on, are outputted on the internal output link L55 and the cells c7 and so on, on the internal output link L56, respectively, at a transmission rate of 75 Mbps. As described above, according to the present invention, the demultiplexer 13 is adapted to sequentially distribute the cells read from the shared buffer memory 11 among the internal output links L50 to L53. Therefore, the line output ports to which cells are sent are determined by the timing at which cells are outputted from the shared buffer memory 11. According to the present invention, in order to read the cells at an output timing corresponding to the designation line output ports from the shared buffer memory 11, line identifiers Po0 to Po3 are outputted as shown in Fig. 5 from the control table 104 in accordance with the count value of the counter 105 (table address). To facilitate the understanding, the count values (table addresses) in the column 104A are shown with cell codes (output timings) shown in Fig. 4. The line identifiers stored in the column 104B of the control table 104 are addressed in circulation by the count values of the counter 105, so that the output line identifiers Po0, Po0 corresponding to the count values c0, c1 and so on, are outputted at the output timing of c8, c9 and so on, following the cell c7. Assume that the contents of the control table 104 can be rewritten freely by the control of the processor of a call control unit or another microcomputer not shown, for example. When the multiplexer or demultiplexer for speed change installed in the input/output links is replaced, the speed of each input/output link connected to the switching system can be freely changed by rewriting the values of the output line identifiers in the control table 104 corresponding to the speed change means. Assume, for example, that the demultiplexer 20 connected to the internal input link 14 in Fig. 1 and the 150 Mbps/300 Mbps multiplexer 22 connected to the internal output link L50 are replaced by a 75 Mbps/150 Mbps multiplexer and a 150 Mbps/75 Mbps demultiplexer respectively. The value of the output line identifier addressed by the count values c0 and c4 in the control table 104 should be changed correspondingly to the 75 Mbps line output port respectively. As a result, each of the links L10 and L54 can be demultiplexed into two input/output links of 75 Mbps respectively. In the configuration of Fig. 1, when it is desired to reconnect the internal input links L15, L11 to the 300 Mbps/150 Mbps demultiplexer 20, and the 150 Mbps/300 Mbps multiplexer 22 to the internal output links L51, L52, the value of the identifier addressed by the count values c1, c2, c5, c6 of the control table 104 should be made to correspond to the 300 Mbps line output port. As a result, the 300 Mbps input/output link can be accommodated in the ports Pi1, Po1. Although the same number of line ports are installed on the input and output sides of the switching system for assuring the same linking speed of the positionally corresponding input/output ports in Fig. 1, it is not always necessary to insure the same number and arrangement of line ports on input and output sides according to the present invention. Also, in the case where it is desired to divide the band of the virtual path or virtual channel in the 150 Mbps link L53 completely into 75 Mbps links, the virtual path or channel should be distributed at storage positions addressed by the count values c3, c7 in the control table 104. By operating the values of the line identifier in the control table 104, the 150 Mbps link can be demultiplexed into bands other than mentioned above. It is, however, necessary to change the period of the counter 105. Fig. 6 shows an example of switch unit configuration including a plurality of unit switches with 4x4 input/output ports which is enlarged to have 8x8 input/output ports. In this case, there are the four unit switches 1-1 to 1-4 in the front stage and the four unit switches 1-5 to 1-8 in the rear stages the total of switches is 8), and the unit switches 1-5, 1-6, 1-7 and 1-8 in the rear stage are operated as the ones substantially having 4x2 input/output links with two of the four output links left unused. The four input ports of the first unit switch 1-1 in the front stage and the four input ports of the third unit switch 1-3 are commonly connected to a 150 Mbps (first to fourth) internal input links. The unit switch 1-1 is adapted to apply, of all the input cells from the internal input links, only the cells destined for the unit switches 1-5 and 1-6 to the shared buffer memory 11, and in accordance with the port identification information of each cell, distributes the cells among the unit switches in the rear stage. The unit switch 1-3, on the other hand, causes only the input cells destined for the unit switches 1-7 and 1-8 in the rear stage to the shared buffer memory, and distributes these cells among the unit switches in the rear stage. The unit switches 1-2 and 1-4 in the front stage are commonly connected to the four (fifth to eighth) input links. The unit switch 1-2 receives only the input cells destined for the unit switches 1-5 and 1-6 in the rear stage, and the switch 1-4 only those input cells destined for the unit switches 1-7 and 1-8 in the rear stage, respectively, thereby performing the switching operation in accordance with the port identification information of the cells. Each of the unit switches 1-1, 1-2, 1-3 and 1-4 in the front stage has four 150 Mbps output ports. Since every unit switch operates to distribute cells among two unit switches in the rear stage, however, the switches in the front stage is theoretically operated as having two 300 Mbps output ports as a whole. In this case, a control table for the unit switches 1-1, 1-2, 1-3 and 1-4 in the front stage is designed on the assumption that there exists a link of 300 Mbps between the switch groups in the front and rear stages, thereby making it possible to transmit cells with a throughput of 300 Mbps within the switch unit. A second embodiment of the present invention will be explained below with reference to an example of a switching system having the multicast function utilizing a control table as shown in Figs. 7 to 9. Fig. 7 is a diagram showing an example of configuration of a buffer memory control circuit 10 for realizing the multicast function. In this example, the write address memory 101 and the read address memory 102 are controlled for each virtual path (VP). In order to realize the multicast function, it is necessary to read cells to be multicast a plurality of times repetitively from the shared buffer memory 11 and output them to a plurality of output ports to be multicast. More specifically, the same read address is outputted repetitively from the read address memory 102 and continues to be applied to the shared buffer memory 11 until the outputs of the multicast cells are processed for all the output ports to be multicast. In Fig. 7, the control table 104' has the function of outputting an END signal for controlling the repetition of the same read address in addition to the virtual path VP for specifying the queue chain to be accessed. In reading a multicast cell, the END signal is held at "0" level until the same multicast cell is completely read out a required number of times, whereby the addresses in the idle address buffer 103 and the read address memory 102 are updated. Upon completion of the reading of the last read operation and the reading of a non-multicast cell, the END signal is raised to '1' level, whereby the read address memory 102 and the idle address buffer 103 update the address. Fig. 8 shows an example of the data stored in the control table 104' for multicasting as mentioned above, and Fig. 9 an operation timing of the cell output from the switch unit 11 in the control table. In the embodiment of Fig. 8, the line identifiers 104B are shown by the virtual path number. Of all these virtual path numbers, VP0, VP1, VP2 and VP3 are for non-multicast cells, and VP4 and VP5 for multicast cells. The multicast cells stored in a queue chain corresponding to VP4 are outputted from the buffer memory 11 when the count value (address) 104A is c0, c1, c3. When the count value is c0 or c1, the END signal 104C is '0', and therefore the next address in the read address memory 102 is not updated. As a result, at a timing where the count value becomes c0, c1 or c3, an address designating the same cell in the queue chain corresponding to VP4 is outputted repetitively from the read address memory 102, so that the same cell is outputted repetitively from the shared buffer memory 11. When the count value becomes c3, the END signal is turned to '1', and a new next address is stored in the read address memory 102. Therefore, a new cell is multicast at the time of reading class of VP4 in the next cycle. The operation of reading the multicast contained in the queue chain of VP5 for which the count value is read out at the timing of c9, c10 is also performed in the same manner as mentioned above. The cells read out at other timings are non-multicast cells. With regard to these cells, the END signal is always kept at '1' to update the address memory to enable a new cell to be read out in the next cycles each time a cell is read out. Fig. 9 is a diagram showing the cell output operation from a switch unit with the control table 104' shown in Fig. 8. In this case, when the cells read out on the Line L4 from the buffer memory 11 at a timing corresponding to the cells c0, c4, c8, c12 in count value are outputted on the internal output link L50, the cells read out at a timing corresponding to the cl, c5, c9, c13 in count value, on the internal output link L51, the cells read out at a timing corresponding to c2, c6, c10, c14 in count value, on the internal output link L52, and the cells read out at a timing corresponding to c3, c7, cll, c15 in count value, on the internal output link L53. As a result, the cells stored in the queue chain of VP4 are multicast to the lines L50, L51, L53, and the cells of VP5 to the links L51, L52. Also, the cells stored in the queue chain of VP0 are outputted to the link L50, the cells in the queue chain of VP1 to the link L51, the cells in the queue chain of VP2 to the link L52, and the cells in the queue chain of VP3 to the link L53. In this system, it is possible to send out the cells to each link in a completely divided form separating the bands for non-multicast cells and multicast cells without any interference. Now, explanation will be made about a switching system having the switching function corresponding to the QOS class of the cells according to a third embodiment of the present invention. Fig. 10 shows an example of configuration of a buffer memory control circuit 10 having the QOS class control function. In this example, in order to control two classes of QOS, there are provided two write address memories (101, 101') and two read address memories (102, 102'). Also, an extraction circuit 14 shown in Fig. 2 is adapted to extract the class designating information (CLS) and VP from the input cell header and apply them to the buffer memory control circuit 10 through the line L30. At the time of writing into the cells of the shared buffer memory 11, the write addresses WA1, WA1' are read out of the write address memories 101, 101' respectively. One of these write addresses WA1, WA1' is selected in accordance with the class (CLS) at a selector SEL1 and is applied through the line L32 to the shared buffer memory 11. In the process, one of the write address memories 101, 101' selected in accordance with the class CLS is set to a writable state (WEN to '1') by an output signal of a decoder DEC1, and a new address value is written on the line L30. At the time of operation of reading cells from the shared buffer memory 11, the read addresses RA1, RA1' are outputted from the two read address memories 102, 102' with the VP outputted from the control table 104" as an address. One of the addresses RA1 and RA1' is selected in accordance with the signal CLS' produced from the QOS control circuit 106 at the selector SEL2, and is applied through the line L33 to the shared buffer memory 11. At the same time, the address memory 102 or 102' selected in accordance with the signal CLS' is set to a writable state (WEN in '1' state) by the output signal from the decoder DEC2, thereby storing a new next address value inputted through the line L34. The QOS class control circuit 106 outputs the signal CLS' in accordance with the CLS" outputted from the control table 104''. A different class is selected, however, when there is no cells to be read in the class designated by the output of the control table. By the control mentioned above, the band for each class designated by the control table 104" is assured, and in the case where a given class cell designated has not yet arrived, the cell of another class can be outputted, thereby making it possible to utilize the band of a QOS class not in use. In order to determine the presence or absence of cells of designated class in the QOS class control circuit 106, a counter is installed for each VP or class, for instance, to count the number of cells contained presently in the shared buffer memory 11. This method, however, is liable to increase the hardware quantity. Another method of determining the presence or absence of cells consists in comparing the values of the write address memory 101 (101') and the read address memory 102 (102') with each other in accordance with each VP or class, for instance. The cell absence is determined if the two addresses coincide with each other, and the presence is judged if the two addresses fail to coincide with each other. This method saves the hardware quantity, but requires an appropriate timing in making comparison of addresses with a read address memory in a write address memory, and therefore the setting of the operation timing is stricter. A method for solving this problem lies, as shown in Fig. 11, in installing write address memories 107, 107' for determining the cell presence or absence in the buffer memory control circuit 10. The output addresses of the write address memories 107, 107' for determining the cell presence or absence are applied to comparators 108, 108' together with the output addresses of the read address memories 102, 102', and the results of comparison are applied to the QOS class control circuit 106 as a signal representing the cell presence or absence. According to this method, there is no need to secure the time for determining the presence or absence of cells in the write address memories 101, 101', and therefore the timing control is facilitated. Also, the hardware addition is comparatively saved because the additional necessary equipment include only the write address memories 107, 107' and the comparators 108, 108'. As apparent from the foregoing explanation, according to the present invention, there is provided an ATM switch unit comprising a plurality of output ports having the same transmission rate, in which a buffer memory control circuit includes a control table, and a cell queue chain to be read by the control table is designated in accordance with the timing of cell output to each switch unit output port in circulation. As a result, the interposition of a plurality of switch unit output ports having a plurality of lines and a single line port make it possible to increase the transmission rate of the output lines, while the transmission rate of the output line can be reduced by inserting a demultiplexer between a single switch unit output port and a plurality of line ports, with the result that a plurality of types of output lines having different transmission rates can be easily accommodated in a switching system. An ATM switching system having output links of 150 Mbps in transmission rate, for instance, is capable of housing output lines of 600 Mbps if equipped with a quadruple multiplexer. Further, according to the present invention, information for designating whether the same cell is to be read at the next reading operation, for example, may be set in a control table in addition to a line identifier for designating a queue chain for reading cells thereby to realize the multicast function controlled in band. Furthermore, according to the present invention, there is provided a buffer memory control circuit in which a write address memory and a read address memory are disposed in a relation corresponding to the QOS class of cells, so that a QOS class is designated by a control table, thereby realizing the communications with a band assured for each QOS class.

Claims: A switching system comprising a switch unit (1) and a plurality of input lines (L10, ..., L13) and output lines (L52, L54, ..., L56), wherein said switch unit (1) includes a plurality of switch unit input ports (Si0, ..., Si3) and switch unit output ports (So0, ..., So3) having a first transmission rate, multiplexer means (12) for multiplexing and outputting as a single cell train a plurality of cell trains inputted from the switch unit input ports (L10, ..., L13), a shared buffer memory (11) for temporarily storing the cell trains outputted sequentially from the multiplexer means (12), demultiplexer means (13) for periodically distributing the cells read from the shared buffer memory (11) among the switch unit output ports (L52, L54, ..., L56), and a buffer memory control circuit (10) for controlling the read and write operations of cells with the shared buffer memory (11), said buffer memory control circuit (10) comprising control means (104, 105) for outputting an identifier for an output line to output cells read from the shared buffer memory (11), write control means (101, 103, L31, L32) for writing cell trains outputted from the multiplexer means (12) into the buffer memory (11) in such a manner that each cell forms a queue chain for each output line to be outputted on, and read control means (102, L33, L34) for reading cells from a queue chain in the shared buffer memory (12) in accordance with an output line identifier read sequentially from the control means (104, 105), characterised in that at least one of the output lines (L52, L54, ..., L56) has a second transmission rate different from said first transmission rate, wherein at least one first conversion means (22, 23) is interposed between said one output line having said second transmission rate and at least one of said switch unit output ports (So0, ..., So3) having said first transmission rate for converting a cell train having said first transmission rate to a cell train having said second transmission rate, and wherein said control means (104, 105) of said buffer memory control circuit (10) comprises rewriteable control table means (104) for outputting said output line identifier in accordance with the timing of cell output to the switch unit output ports so that the output lines (L52, L54, ..., L56) are supplied with output cells in accordance with their transmission rates. A switching system according claim 1, wherein said write control means includes first address memory means (101) for storing cell write addresses in the shared buffer memory (11) in accordance with an output line identifier, and address buffer means (103) for storing idle addresses of the shared buffer memory (11), and said read control means includes second address memory means (102) for storing cell read addresses from the shared buffer memory (11) in accordance with an output line identifier, wherein in accordance with a write address corresponding to an output line identifier read from the first address memory means (101) and contained in the header of the cell inputted from the multiplexer means (12), said input cell and an idle address to make up the next address outputted from the idle address buffer (103) are written into the shared buffer memory (11) by said write control means, and an idle address to make up the next address is stored in a position corresponding to the output line identifier in the first address memory means (101), and wherein in accordance with a read address read out from the second address memory means (102) and corresponding to an output line identifier read from the second address memory means (102) and outputted from the control table means (104), a cell and the next address are read from the shared buffer memory (11), said read address is stored in the idle address buffer (103), and the next address read from the shared buffer memory is stored in a position corresponding to the output line identifier of the second address memory means (102). A switching system according to Claim 2, wherein said first address memory means (101) includes a write/read memory accessed using an output line identifier contained in the header of each input cell as an address; and said second address memory means (102) includes a write/read memory accessed using the output line identifier outputted from the control table means (104) as an address. A switching system according to Claim 1, further comprising at least one second conversion means (20, 21) interposed between at least one of the input lines (L10, ..., L13) having a third transmission rate different from the first transmission rate and at least one of the switch unit input ports (Si0, ..., Si3) for converting input cell trains into cell trains having the first transmission rate. A switching system according to Claim 4, wherein said second conversion means (20) includes at least one demultiplexer means for dividing an input cell train from an input line having a transmission rate higher than the first transmission rate into a plurality of cell trains having the first transmission rate, and inputting the resulting cell trains having the first transmission rate in parallel to the switch unit input ports (Si0, ..., Si3). A switching system according to Claim 4, wherein said second conversion means (21) includes at least one multiplexer means for converting input cell trains from a plurality of input lines (L10, ..., L13) having a transmission rate lower than the first transmission rate into one cell train having the first transmission rate and inputting the cell train to one of the switch unit input ports (Si0, ..., Si3). A switching system according to Claim 1, wherein said first conversion means (22) includes multiplexer means for multiplexing in time division a plurality of cell trains outputted from a plurality of switch unit output ports (So0, ..., So1) and having the first transmission rate into one cell train having a transmission rate higher than the first transmission rate, and outputting the resulting cell train to one of the output lines (L54, ..., L56). A switching system according to Claim 1, wherein said conversion means (23) includes at least one demultiplexer means for dividing a cell train outputted from one switch unit output port (So0, ..., So3) and having the first transmission rate into a plurality of cell trains having a transmission rate lower than the first transmission rate, and outputting the resulting cell trains in parallel to a plurality of output lines (L55, L56). A switching system according to Claim 2, wherein said control table means (104) has stored therein control information (END) for controlling the write operation of the next address into the second address memory means (102) in accordance with the timing of cell output to the switch unit; and said read control means determines whether to write the next address read from the shared buffer memory (11) into the second address memory means (102) in accordance with the condition of the control information outputted from the control table means (104), with the result that an output cell in the shared buffer memory is multicast into a plurality of output lines. A switching system according to Claim 2, comprising a plurality of first address memory means (101) and a plurality of second address memory means (102) in accordance with the quality of service (QOS) class of communications, wherein the control table means (104) has stored therein information for designating the QOS class of communications in accordance with the timing of cell output to the switch unit, wherein said write control means is adapted to write an input cell into the shared buffer memory (11) using the first address memory means (101) corresponding to the information designating the QOS class contained in the header of the cell inputted from the multiplexer means (12); and wherein said read control means includes class control means (106) for selecting second address memory means corresponding to a designated QOS class when the cell of the designated QOS by the class-designating information outputted from the control table is contained in the shared buffer memory, and second address memory means (102) corresponding to another QOS class when there is no cell of designated QOS class in the shared buffer memory, so that the reading operation of cells from the shared buffer memory is performed using the second address memory means selected by the QOS class control means.

Inventors: AIKI KIYOSHI, AOKI KAORU, GOHARA SHINOBU, ITO YUTAKA, KOZAKI TAKAHIKO, YANAGI JUNICHIROU, AIKI, KIYOSHI, AOKI, KAORU, GOHARA, SHINOBU, ITO, YUTAKA, KOZAKI, TAKAHIKO, YANAGI, JUNICHIROU
Applicants: HITACHI LTD, HITACHI, LTD.
Application year: 1992
Main classification: H04L12
IPC codes: H04J3, H04Q11, H04L12