RESEQUENCING SYSTEM FOR A SWITCHING NODE

Abstract: Resequencing system for a switching node (SN) of a cell switching system wherein cells or packets, of fixed or variable length, transmitted from an input to an output of a switching network (SNW), are subjected in the network to variable initial time delays for instance because they follow different paths therein. To restore at the output the sequence with which the cells were supplied to the input, the cells at the output are subjected to additional variable complementary time delays which are so chosen that for each cell the sum of the two time delays is substantially equal to a predetermined total value.

Description: RESEQUENCING SYSTEM FOR A SWITCHING NODE The present invention relates to a resequencing system for a switching node of a cell switching system wherein cells transmitted from an input to an output of a switching network are subjected to variable first time delays* said resequencing system being able to restore at said output the sequence with which the cells were supplie to said input . Such a resequencing system as part of a multi-stage packet switching network is already known from the PCT application published under No W087/00373. For each switc of the switching node shown therein input circuits are coupled to the node inputs and the node outputs are couple to output circuits. Each output circuit includes an arbiter circuit to which are connected a pair of input circuits and which allows a cell to be transmitted from an input circuit to this output circuit only after having received a transmission request signal from the input circuit and having transmitted a grant signal back to this input circuit. This arbiter circuit performs the correct sequencing of cells by the transmission of grant signals i the correct sequence. Such a resequencing system has a relatively complex structure. An object of the present invention is to provide a resequencing system of the above type* but which has a relatively simple structure. According to the invention this object is achieved due to the fact that said resequencing system is able to subject said cells at said output to additional variable second time delays which are so chosen that for each cell the sum of the two time delays is substantially equal to a predetermined total value. By subjecting each of the cells to a predetermined total time delay the possible loss of sequence is restored i a simple manner and with a probability which is function of the choice of the duration of this time delay. It should be noted that the European patent application published under No 0215526 (M. De Prycker 1) already discloses the idea of subjecting cells to a predetermined total delay in their travel from an input to an output of the switching system. However* this is done to smooth the delay jitter to which these cells have been subjected but never to restore at each switching node output the initial sequence at the node input. Another characteristic feature of the present resequencing system is that it includes: - a time stamp generator producing successive time stamp values; - means coupled to said input to associate to each of the cells supplied thereon a first time stamp value then provided by said generator; - and a resequencing unit coupled to said output to supply a cell received thereon to an output terminal only when said time stamp generator provides a second time stamp value equal to the sum of said first time stamp value and said predetermined total value. An advantage of this solution is that due to the use of the time stamp generator no means have to be provided to measure the first and second time delays. Still another characteristic feature of the present sequencing system is that it includes: - means associated to said switching network to measure said first time delay for each of said cells at said output and to associate it to these cells as a first delay stamp value * - and a resequencing unit coupled to said output to subject a cell received thereon to said second time delay equal to the difference of said predetermined total value and said measured first delay stamp value. An advantage of this solution is that there is no need to use a time stamp generator to distribute the current time value to the inputs and outputs of the switching node. The above mentioned and other objects and features of the invention will become more apparent and the invention itself will be best understood by referring to the following description of embodiments taken in conjunction with the accompanying drawings wherein : Fig. 1 is a schematic view of a switching node of a cell communication switching system with an associated resequencing system according to the invention and of a first type* Figs. 2* 3 and 4 schematically represent a respective first * second and third embodiment of a resequencing unit RSUl forming part of the resequencing system of Fig. 1; Fig. 5 is a schematic view of a switching node of a cell communication switching system with an associated resequencing system according to the invention and of a second type; Figs. 6* 7 and 8 schematically represent a respective first * second and third embodiment of a resequencing unit RSUl included in the resequencing system of Fig. 5; Fig. 9 represents a variable length cell; Fig. 10 shows a detailed embodiment of a resequencing system based on the principles of Fig. 3 and using the cell of Fig. 9. o be noted that the various connections shown in these drawings as single leads may in fact each comprise a plurality of such leads. Referring to Fig. 1 the switching node SN shown therein forms part of a cell communication switching system wherein the cells transmitted on links outside these nodes either have a fixed length or a variable length. Inside the nodes these cells are transferred either in the same way as outside the nodes or they are transferred after having been split up in smaller units of equal length * hereinafter called subcells. The subcells belonging to a same cell are either transmitted along the same path or possibly on different paths. In the first case it is necessary to provide sufficient information in the header of the first subcell to be processed and to li k all the subcells with one another. In the second case the header of each subcell must contain sufficient information to be processed separately. The switching node SN shown includes a switching network SNW having inputs INl/INM to which a plurality of input links IL1/ILM are coupled via respective input circuits IC1/ICM. It also has a plurality of outputs 0UT1/0UTN which are each coupled to a respective one of output .links 0L1/0LN via the cascade connection of a respective resequencing unit RSU1/RSUN and a respective output circuit 0C1/0CN. The switching network SNW is supposed to be of a type which includes a plurality of stages (not shown) and wherein a plurality of paths is available between each input INl/INM and each output 0UT1/0UTN, The switching node also includes a resequencing system mainly constituted by the resequencing units RSU1/RSUN» the time stamp generator TSG and the input circuits IC1/ICM. The time stamp generator TSG operates cyclically and during each cycle of duration D it generates a series of consecutive different time stamp values* e.g. P such values. When a series of cells is supplied to the switching network SNW on an input link* e.g. IL1* in a predetermined initial sequence it may happen that this sequence is lost during the transfer of the cells through the network. This may for instance be due to the cells following paths of different lengths between each input INl/INM and each output 0UT1/0UTM so that they are subjected to different ti me delays . The purpose of the resequencing system shown is to restore the inital sequence, for instance of a series of cells A* B» C supplied to the switching node SN on the i nput 1 i nk IL1. Each such cell A* B, C is processed in the input circuit IC1 which inserts the time stamp value then provided to it by the time stamp generator TSG in the time stamp field TSTP of the header of this cell in a way similar to that described in PCT application published under No W084/00268. The time stamp values inserted in the cells A * B» C are for instance equal to TSA* TSB, TSC* ... etc. After these cells A* B» C have been transferred through the switching network SNW they for instance appear at the same output OUTl thereof in a different order than at the input* e.g. in the order C* B* A because they have been subjected to different first delays in the network. To restore this order the resequencing unit RSUl coupled to the output OUTl reads the time stamp value contained in each of the cells C» B > A received, buffers these cells and only transfers them to the associated output circuit OCl when the current time stamp value supplied to it by the generator TSG reaches the value TSC+D* TSB+D, TSA+D respectively. Because the cells A, B» C have thus been subjected to a same predetermined total delay D > i.e. a variable delay through the switching network SNW plus a compensating delay in the resequencing unit RSUl, their initial order A, B, C is restored. It is clear that by a suitable choice of the total time delay D the probability that the restoring operation fails may be made nεglegibly small. This probability would be zero if the total time delay D is selected to be longer than the absolute maximum transfer time delay possibly incurred through the switching network. Reference is now made to Figs. 2 to which show various embodiments of RSUl of Fig. 1 in relative detail together with the time stamp generator TSG. These resequencing units are all able to ensure that cells are subjected to the above total time delay D before being supplied to the output circuits 0C1/0CN. For simplicity reasons it is assumed that the cells processed have a fixed length . Reference is first made to Fig. 2 which shows a first embodiment of RSUl. The input II thereof is connected to the input of a register REG1 whose data output is coupled to the input of a demultiplexer circuit DEMUX. The register REG1 has a part TSTP which is intended to store the initial time stamp value of each cell and is connected to the selection input SI1 of the demultiplexer DEMUX. The latter has a number of outputs 1 to P which are connected to respective ones of a plurality of FIFO's Fl to FP. The outputs of these FIFO's are coupled to respective inputs of a multiplexer circuit MUX whose selection input SI2 is controlled by the current value of the time stamp generator TSG. The multiplexer MUX has an output terminal 01 which constitutes the output of RSUl. When a cell containing a time stamp value in its time stamp field TSTP is received in the register REG1 this time stamp value is applied to the selection input SI1 of the demultiplexer circuit DEMUX. Accordingly this demult plexer circuit DEMUX selects one of its outputs 1 to P» connects its input therewith an transfers the cell from register REG1 into the FIFO associated with this output. In this way the various cells applied to input II are selectively stored in the FIFO's Fl to FP in function of their time stamp values 1 to P respectively. The selection input SI2 of the multiplexer circuit MUX is now so controlled by the time stamp generator TSG that the outputs of the FIFO's Fl to FP are connected to the output 01 of the multiplexer circuit MUX during the time intervals having the time stamp values 1+D, 2+D* ... etc. It is clear that by proceeding in this way each of the cells is subjected to a total time delay D sufficient to restore the sequence at the output 01 with a predetermined probability. Reference is now made to Fig. 3 which shows a second embodiment of RSUl of Fig. 1 in relative detail. The input II of RSUl is connected to the input of a register REG2 whose data output is connected to the data input D of a RAM buffer memory BM having a data output 01 which constitutes the output of RSUl. The register REG2 has a part TSTP which is intended to store the initial time stamp value of each cell and is connected to a write pointer WP associated to an address memory AM. The latter memory has P locations allocated to respective ones of the time stamp values 1 to P and has an associated rotating or cyclic read pointer RP which is controlled by the time stamp generator TSG and has a cycle equal to D (or P time stamp intervals). A buffer management circuit BMC is able to provide at its output F the address of a free buffer of the memory BM and is updated each time such a buffer is no longer used in a manner which is not shown here. The output F of BMC is connected to the input of an address memory AM as well as to the write input W of a read/write pointer RWP. The latter also has a read input R to which the output of the memory AM is connected. When a cell containing an initial time stamp value X (X = 1* 2* ... P) in its time stamp field TSTP is received in the register REG2 * this time stamp value X is applied to the write pointer WP. Simultaneously the circuit BMC applies the address* e.g. A, of a free buffer in the buffer memory BM* to the address memory AM as well as to the write input W of the read/write pointer WP. As a consequence* on the one hand the address A of the free buffer is stored in the address memory AM at the location X allocated to the time stamp value X stored in part TSTP of register REG2 under the control of the write pointer WP. On the other hand the cell stored in the register REG2 is written in the buffer memory BM at the location having the address A provided by the circuit BMC. This happens under the control of the read/write pointer RWP. Because the time stamp value X is written in the allocated location X of the address memory AM and since the rotating pointer RP points to all these locations during a cycle or total time delay D under the control of the generator TSG* it will point to this location X after this total time delay D has elapsed* independently from the delay to which the cell was subjected in the switching network. Indeed * when TSG generates the time stamp value Y at the moment the address A is stored in the location X of the memory AM this means that the cell being processed has been subjected to a first time delay in the switching network SNW equal to Y-X and that accordingly it has to be subjected to an additional second time delay D-Y+X in the RSUl. This delay is precisely reached when the pointer PR again points to the location X since to reach this position it has first to step to the end position D via D-Y steps and from that position to the position X through X steps. From the above it follows that the read pointer RP supplies the address A of the above cell to the read input R of the read/write pointer RWP associated to the memory BM a time interval equal to D after it entered the switching network SNW. As a consequence » it appears at the output 01 of the resequencing unit RSUl after this same time interval D has elapsed * as required. It should be noted that a number of cells having the same time stamp value TSTP may be received on the input II of the register REG2 and for this reason the address memory AM has to be provided with a number of locations sufficient to store the addresses of these cells. Also because cells having the same time stamp value have in principle to be simultaneously transferred on the output 01 - which is impossible - in pratice they have to be buffered. This buffering function may be provided separately or be integrated in the above buffer memory BM or in the FIFO's* and will be considered further in relation to Fig. 10. Reference is now made to Fig. . which represents a third embodiment of RSUl of Fig. 1 in relative detail. The input II of RSUl is connected to the data input of a buffer memory BM which is either constituted by a RAM or a FIFO and to which a read pointer RP controlled by the generator TSG is associated. The data output of BM is connected to a register REG3 whose output is connected to the output 01 and to the input II of the resequencing unit via gating circuits GC1 and GC2 respecti ely. The register REG3 has a part TSTP which is intended to store the time stamp value of each cell and is connected to a first input of an adder circuit ADD. The latter has a second input to which the above total time delay D is supplied. The value D is either stored in a register REG or alternatively* it can be simply a fixed code in hardware. The output of the adder ADD is connected to a first input of a comparator C0MP to a second input of which the time stamp value provided by the generator TSG is applied. The comparator C0MP has outputs Y and N controlling the gating circuits GC1 and GC2 respectively. The output of GC2 is fed back to the input II. The cells supplied to the input II of RSUl are all stored in free locations of the buffer memory BM* and during each time stamp interval provided by the generator TSG all the cells of the memory BM are cyclically read out under the control of the read pointer RP. Each cell thus read-out is stored in the register REG3 and the time stamp value stored in the field TSTP of this cell is applied to the adder circuit ADD. Therein the total time delay value D is added to the time stamp value of the cell so as to obtain a resultant time stamp value* and by the comparator COMP it is checked if this resultant time stamp value is equal to the current time stamp value or not. In the affirmative the output Y of the comparator is activated* indicating that the cell has been delayed by a total time delay D. ,In this case the cell is supplied to the output 01 of RSUl via the enabled gating circuit GC1* whereas in the other case* i.e. when the output N of this comparator COMP is activated* the cell is fed back to the input II of BM via the gating circuit GC2. Hence in the above described way all the cells are subjected to a total time delay D, as required. Reference is now made to Fig. 5 which shows a switching node SN identical to that represented in Fig. 1* but associated to a resequencing system which includes the resequencing units RSU1/RSUN and a delay measuring circuit DMC associated to the switching network SNW. This delay measuring circuit DMC is not shown in detail as it is based on the teachings of the article "Technique for packet voice synchronization" by W.A. Montgomery* IEEE Journal on Selected Areas in Communication* Vol. SAC-1* No 6* December 1983 * pp. 1022-1028 and especially of the chapter entitled "Added Variable Delay" on pp. 1025 and 1026. More particularly the time delay to which each cell is subjected during its travel from stage to stage of the switching network is calculated and the accumulated time delay is inserted in a delay stamp field DSTP of the cell. This means that each cell appearing at an output 0UT1/0UTN of the switching network contains in its field DSTP the value of the first time delay to which the cell was subjected during its travel through this switching network SN. When such a cell is supplied to the resequencing unit RSU1/RSUN connected to an output of SNW, this unit calculates the difference time delay between the above mentioned maximum time delay D and the delay stamp value DSTP and subjects this cell to the difference time delay before supplying it to the output 01/ON of the unit. In this way, just like in the system of Fig. 1 * the cells are delayed by a same total time delay D before being supplied to the output circuits 0C1/0CN. For this reason any loss of sequence is restored with a predetermined negligibly small probability which is function of the selected duration of the total time delay. Three embodiments of the RSUl used in the resequencing system of Fig. 5 are shown in Figs. 6,7 and 8. For simplicity reasons it is again assumed that the cells have a fixed length. The first embodiment shown in Fig. 6 is similar to that of Fig. 2 and mainly differs therefrom in the control of the demultiplexer DEMUX and the multiplexer MUX. Use i made of a rotating or cyclic pointer ROP which controls th selection input SI2 of the multiplexer MUX and of a subtractor SUB whose output is connected to the selection input SI1 of the demultiplexer DEMUX. The subtractor SUB has a negative input to which the output of part DTSP of register REG1 is connected and a positive input connected to the output of the pointer ROP. The latter is operated cyclically and during each cycle of duration D it provides a series of delay stamp values 1 to P which are the same a those able to be measured by the delay measuring circuit DMC of Fig. 5. Upon the receipt in register REG1 of a cell containing one of the delay stamp values 1 to P in its field DSTP this value is subtracted from the current delay stamp value then provided by the rotating pointer ROP. The resultant delay value is therefore the delay stamp value which was provided by the rotating pointer ROP at the moment the cell was applied to the input of the switching network SNW. By storing the cell in one of the FIFO's Fl to FP allocated to this resultant time delay stamp value one knows that it has to be maintained therein until an additional delay equal the maximum time delay D has elapsed. For this reason the cells stored in the FIFO's Fl to FP are read-out when the rotating pointer ROP reaches the delay stamp values 1+D, 2+D, ...» P+D respectively. Reference is made to Fig. 7 which represents a embodiment of the resequencing unit RSUl, used in the resequenc g system of Fig. 5 This second embodiment is similar to that of Fig. 3 and mainly differs therefrom by the fact that, just as in the embodiment of Fig. 6, use is made of a cyclic or rotating read pointer ROP and of a substractor SUB. The rotating read pointer ROP controls the read pointer RP and is connected to the plus input of the substractor SUB whose minus input is connected to the part DSTP of register REG2. Upon the receipt in this register REG2 of a cell containing one of the delay stamp values 1 to P in its field DSTP the value is subtracted from the current delay stamp value then provided by the rotating pointer RP. The resultant delay stamp value therefore is the delay stamp value which was provided by the rotating pointer ROP at the moment the cell was applied to the input of the switching network SNW. The resultant delay stamp value, say X, is applied to the write pointer WP. In a similar way as described in relation to Fig. 3 the address A of a free buffer provided by the buffer management circuit BMC is stored in the address memory AM at the location X allocated to the resultant delay stamp value X under the control of the pointer WP. On the other hand, the cell stored in the register REG2 is written in the buffer memory BM at the location having the address A provided by the circuit BMC. This happens under the control of the read/write pointer RWP. Because the delay stamp value X is written in the allocated location X of the address memory AM and since the rotating pointer RP points to all these locations during a cycle or total time delay D it will point to this location X after the time delay D has elapsed. The cell stored in this location will thus be transferred to the output 01 after the time delay D has elapsed* as required In connection with Fig. 7 the same remarks are valid as those formulated with respect to Fig. 3, i.e. a number of cells may have a same resultant delay stamp value (ROP-DSTP) and for this reason a buffering function must be provided. This function will be described in relation to Fig. 10. Reference is now made to Fig. 8 which shows a third embodiment of the resequencing unit RSUl used in the resequencing system of Fig. 5. This third embodiment is similar to that of Fig. and mainly differs therefrom by the fact that an input of the comparator COMP is now connected to the output of a register R EG . storing the total time delay value D and that no use is made of an adder circuit ADD but of an add-one circuit ADD1 in the feedback circuit linking the output of the gating circuit GC2 to the input II of the RSUl. Alternatively, the total time delay D can be simply a fixed code in hardware. As already described above in relation to Fig. 4 th - 1 . buffer memory BM i s completely read out during each cell interval and each such cell is stored in the register REG3. The delay stamp value then stored in the field DSTP of the register REG3 is applied to the comparator COMP wherein it is compared with the total time delay D memorized in the register R-EG , When the result of this comparison indicates that the time delay stored in the cell has reached the total time delay D the gating circuit GC1 is enabled and the cell is transferred to the output 01 of RSUl; On the contrary, when the total time delay D has not been reached the cell is transferred through the gating circuit GC2 to the adder circuit ADD1 wherein a 1 is added to the delay stamp value in the field DSTP of the cell. This cell is then again stored in the buffer memory BM. It is clear that also in this case a cell is only supplied to the output 01 of RSUl after it has been subjected to a total time delay D in the switching network and in the resequencing unti RSUl, as required. Reference is now made to Fig. 10 which shows in relative detail a preferred embodiment of a resequencing unit RSUl mainly operating according to the principles of Fig. 3 but particularly adapted to process variable length cells. Such cells are built up as a continuous string of elementary subcells and these are switched in the switching network SNW as a concatenated string over a same path and by maintaining flow continuity i.e. without subcell interleaving. An example of such a cell is shown in Fig. 9. It comprises s subcells each having a subcell control header SCH and a data field DB1 to DBs. The first subcell moreover includes a cell control header CCH comprising a time stamp " field TSTP and other header information HI. The subcell control header SCH may have one of the values 11, 00 and 01 defining the first, intermediate and last subcells of a cell respectively. The resequencing unit RSUl shown in Fig. 10, together with the time stamp generation TSG, mainly includes : - a buffer memory BM - an address memory AM; - a link memory LM; - registers REG2 and REG5; - a buffer management circuit BMC; - a clock circuit CLC; - read pointers RP, RP1 to RP2; - write pointers WP, WP1, WP2 and WP3; - a start-of-queue read pointer SOQ; - an end-of-queue write pointer EOQ; - detector circuits DET1 and DET2; - AND-gating circuits Gl to G2. - OR- gating circuits HI to H9. All these circuits are intercoupled in the way shown and which will become clear from the description of their operation. Again it should be noted that although represented by single leads the various connections may include a plurality of such leads. Also the gating circuits and the control of the write and read operations of the memories by the pointer have been represented in a schematic way which is however clear to any person skilled in the art. The operation of the resequencing unit RSUl is controlled by the time stamp generator TSG which provides at its output P time stamp values TSl to TSP, per cycle of duration D. For each subcell interval the clock circuit CLG generates a series of non-overlapping gating pulses Tl to T5. The successive gating pulses Tl, T2; T3» T . and T5 define a BM write period WP, an end-of-delay period EP and a BM read-out period RP respectively. The RAM buffer memory BM comprises a plurality of buffers each able to store a single subcell of a cell. The address memory AM has output registers 0R1/0R2 and P locations allocated to distinct ones of the P time stamp values TSl to TSP. Each such location stores a start-of-1ist pointer and an end-of-list pointer for each set or list of buffer cells having a same time stamp value. These pointers store the buffer memory address SOL of the first subcell of the list as well as the buffer memory address EOL of the last subcell of this list respectively. For each pair of start-of-1 i st and end-of-list buffer memory addresses of AM the link memory LM stores the intermediate buffer memory addresses linking this pair of addresses. It is also used to link in a same queue the different lists associated to successive time stamp values. This happens under the control of both the start-of-queue pointer SOQ and the end-of-queue pointer EOQ and ensures that the subcells are read-out from the buffer memory BM in the correct order. The free buffer management circuit BMC is one of those disclosed in our copending PCT patent application of even date and entitled "Communication switching element". It manages the free/busy state of the buffers of the buffer memory BM* i.e. it provides the address of the next free buffer of this memory* makes a buffer busy when it is used and makes it free when it is no longer used. The above three periods are considered hereafter during the relevant gating pulses. The write period WP The purpose of the operations performed during this period is to write each subcell of a received variable length cell in the buffer memory BM* to link in the address memory AM buffer memory addresses of the first and last subcells of a list of subcells belonging to cells having a same time stamp value, and to link in the link memory LM the intermediate buffer memory addresses of each list of subcells having the same TSTP value. Two main cases should be considered : - the first is the'write-in operation of the first subcell of the first variable length cell, having a predetermined time stamp value, supplied to the resequencing unit RSUl - the second is the write-in operation of the other subcells, i .e. the second, third, etc subcells of the first cell and all the subcells of the other cells having this predetermined time stamp value. First the write-in operation of the first subcell of a first variable length cell with a given time stamp value is consi dered . Time interval Tl When this first subcell - e.g. the first subcell of Fig. 9 - is supplied to the input II of RSUl it is stored in the register REG2 thereof via the enabled gating circuit Gl. The detector DET1 associated to the part SCH of the register REG5 checks if the subcell control header SCH of the subcell being processed indicates that this subcell is a first one (SCH equal to 11) or not (SCH equal to 00 or 01) and accordingly activates its output A for a first subcell or its output B if the subcell is not a first one. Since it was assumed that the subcell being processed is a first one the output A of DET1 is activated. As a consequence the gating circuit G2 associated to the part TSTP of the register REG2 storing the time stamp value, e.g. TSl, contained in the subcell is enabled. Thus this time stamp value TSl is entered in the read and write pointers RP2 and WP via the gating circuits G2 and HI as well as in the register REG5 via the gating circuit G2. During the time interval Tl also the gating circuit G4 connected to memory AM via the OR-gating circuit H2 is enabled so that the memory AM is then read out at the address TSl stored in the read pointer RP2. As a consequence the pointer values SOLI and E0L1 having the address TSl are transferred into the output registers 0R1 and 0R2 of AM respectively. The output of register 0R1 is coupled to the detector circuit DET2 via the enabled gating circuit G6 so that this detector DET2 is operated The latter thereby activates its output Cl or C2 via the respective gating circuit G7 or G8 depending on the code stored in the register 0R1 being zero or not and since the input A is activated. As an example a zero SOL code is indicative of the fact that no first subcell having this time stamp value TSl has already been received and that this is the first subcell to be processed for the value TSl, whereas another SOL code indicates that the received subcell is not the first subcell of a first cell for the time stamp value TSl. Because the subcell was supposed to be the first one of a first variable length cell with time stamp value TSl the output Cl is activated. The buffer management circuit BMC provides the address, e.g. Al, of a next free buffer in the memory BM and applies this address to the write pointer WP1, associated to the buffer memory BM* via the enabled gating circuit G2 . To be noted that the write pointer WP1 and the read pointer RP1 together constitute the read/write pointer RWP of Fig. 3. Because none of the signals B and C2 is activated for the first subcell of the first cell the gating circuits G17 and G20 are both inhibited. Time interval T2 The above address Al of the free buffer is applied to the left and right hand parts of the address memory AM via the enabled gating circuits G23, G10, H3 and G3, HA. Because the gating circuit G5 associated to the write pointer WP is enabled the address Al of the free buffer of BM is written in the locations SOLI and E0L1 of AM having the address TSl. Thus the start and end pointers of a new linked list for the ' time stamp value TSl are initialised. Moreover, the subcell stored in register REG2 is applied to the buffer memory BM via the enabled gating circuit G13 and it is stored therein in the buffer with address Al memorised in the write pointer WP1. This happens when this address is applied to the buffer memory BM via the gating circuits G27 and H7. During the time interval T2 the circuit BMC also selects a next free buffer in the memory BM in preparation of the next write period WP. In case the subcell being processed is not the first one (so that output B of detector DET1 is then activated) or does not belong to a first cell for the time stamp value TSl (so that output C2 of detector DET2 is then activated) similar operations are performed as described above for the first subcell of a first cell, but these are followed by additional operations. To be noted, however, that during these similar operations, and for instance for the second subcell of Fig. 9, the time stamp value TSl memorised in the register REG5 is now applied to the read and write pointers RP2 and WP via the gating circuit G3 and HI and that the address, e.g. A2, of a free buffer is not stored in the left hand part of AM because the signal Cl is de-activated for this cell. The additional operations are the following : Ti me i nterval Tl The address E0L1=A1 now stored in the output register 0R2 of the memory AM is registered in the write pointer WP2 via the enabled gating circuit G17. Time interval T2 The address A2 provided by BMC is stored in the memory LM via the gating circuits G20 and H5 due to the fact that the signal C2 controlling the gating circuit H6 is activated. This storage happens at the address A2 stored in the write pointer WP2 and via gates G18 and H8. Thus the address A2 of the buffer of the memory BM just used for storing the second subcell is linked to the previous end-of-list address E0L1=A1 stored in WP2. From the above it follows that the address A2 of the buffer used for storing the second subcell has been added to the list allocated to the time stamp value TSl because it has been written in the corresponding E0L1 of the memory AM and has been linked with the previous E0L1=A1 in the memory LM. Because the above considered variable length cell with time stamp value TSl comprises s subcells all these subcells are stored in different buffers of the buffer memory BM. The pointers SOLI and E0L1 stored in the memory AM and allocated to this time stamp value TSl thereby evolve as indicated in the following table which also shows the first list of linked addresses which is meanwhile written in the memory LM. Al A(s-l) Al A(s) A(s-l) A(s) If the above considered variable length cell with time stamp TSl is for instance followed by two variable length cells having a same time stamp value TS2 and comprising p and q subcells respectively, the pointers S0L2 and E0L2 stored in the memory AM and allocated to TS2 evolve as represented in the table below . The latter also shows the second list of linked addresses meanwhile written in the memory LM. AM LM Pointer Buffer addresses addresses Bl B2 B2 B3 Bl B(p-l) Bl B(p) B(p-l) B(p) Bl B(p+1) B(p) B(p+1) Bl B(p+q) B(p+q-l) B(p+q) After reception of these two variable length cells having the same time stamp value TS2, all buffer addresses Bl to B(p+q) of corresponding subcells are concatenated as a single linked list in memory LM, and the respective start and end of list pointers S0L2 and E0L2 are stored in row TS2 of memory AM. The end-of-delay period EP The purpose of the operations performed during the time intervals T3 and T of such a period is to link the complete list - which has been built up in the way described above and which is allocated to a distinct one o the time stamp values - into a single read-out queue when the compensating second time delay expires. This happens from the moment all the subcells included in such a list have been delayed over the above mentioned total time dela D and are therefore ready for being transferred to the output 01 As described in relation with Fig. 3 this happens for each location of the memory AM when the address thereof is stored in the cyclic read pointer RP controlled by the time stamp generator TSG. This means that when the pointer RP contains the address or time stamp value TSl of the location storing the pointers S0L1=A1 and E0Ll=A(s) the s subcells of this first linked list are ready to be read out in ' the order Al* A2» ... A(s) stored in the memory LM* whilst when the pointer RP contains the address or time stamp value TS2 of the location storing S0L2=B1 and EOL2=B(p+q) the p+q subcells of the second linked list are ready to be read out in the order Bl, B2, ... B(p+q) stored in the memory LM. To be able to perform this reading-out operation of the subcells of these first and second lists in succession with previous lists and with following lists, they are put in a continuous output queue. To facilitate the description of the preparation of this queuing operation it is assumed that already requested lists, if any, preceding the above two lists have been queued and that the current start address of this queue is S0Q=X whilst the current end address thereof is E0Q=Y. During the time intervals T3 and T4 of the time stamp interval TSl provided by the time stamp generator TSG the following operations are performed. Time interval T3 Because the read pointer RP contains the address TSl and the gating circuit G12 is enabled the start-of-1 i st address S0L1=A1 as well as the end-of-list address E0Ll=A(s) are read from the memory AM and stored into the respective output registers 0R1 and 0R2 thereof. The start-of-1 ist address S0L1=A1 is then applied to the memory LM via the enabled gating circuits G14 and H5 and because the gating circuit G16 is enabled it is written in this memory at the end-of-queue address Y stored in the end-of-queue pointer EOQ. Thus the start address of the above first linked list, with S0L1=A1 and E0Ll=A(s), is linked to the end address E0Q=Y of the output queue which has been built up until then. Hence* the above first linked list is linked to the previous linked list of the output queue. Time interval 1 . The end-of-list address E0Ll=A(s) stored in the output register 0R2 of AM is transferred via the enabled gating circuit G15 into the end-of-queue write pointer EOQ where it is substituted for the value Y. Thus the end address E0Ll=A(s) of the above first list becomes the new end address EOQ of the output queue. The address Al stored in the start-of-queue read SOQ is applied to the read pointer RP1 via the enabled gating circuit G25. It is also applied via the gating circuit G26 to the buffer management circuit BMC for being released thereby. The gating circuit G21 being enabled the address A2 stored at the address Al is read-out from the memory LM and stored in the output register 0R3 thereof. Supposing that the reset signal RS is activated so that the gating circuit G9 is enabled* and because also the gating circuits Gil and H9 are enabled a zero value is written in the locations storing SOLI and E0L1 having the address TSl provided to the write pointer WP3 by the time stamp generator TSG. In a similar way* when S0L2 and E02 of the above second list are read during the time stamp interval TS2 : - the start address S0L2=B1 of the second list is linked in the memory LM with the end- of-queue address E0Q=A(s)J. - the end-of-list address E0L2=B(p+q) of the second list becomes the new end-of-queue address. Thus the second list is linked to the first and is included in the output queue. In a similar way other lists are linked in the queue whose final end address, e.g. Z, is stored in the pointer EOQ. The read-out period PR The purpose of the operations performed during such a period or time interval T5 is to successively read out from the memory BM the subcells forming part of the above formed output queue. For simplicity reasons it is assumed that the subcells forming part of the linked lists preceding the above first and second ones, if any, have already been read out. This means that the start-of-queue address Al of the first list is stored in SOQ whilst the end of queue address stored in EOQ is Z, as already mentioned. Because the gating circuit G19 is enabled the read pointer RPl reads out the subcell from the buffer memory BM at the start-of-queue address Al and applies it to the output 01 of RSUl. The circuit BMC effectively releases the buffer wherein subcell read out was stored. The gating circuit G22 being enabled the address A2 stored in the output register 0R3 is transferred into the start-of-queue pointer SOQ. In this way the subcells stored in the buffer memory BM are read out in the correct order. A resequencing system based on the principles of Fig. 7 may easily be derived from the resequencing system of Fig. 10 which operates according to the principles of Fig. 3. The resequencing system of Fig. 10 may also be easily adapted for processing cells comprising a fixed number of subcells e.g. a number n. Indeed, in this case : - instead of using a subcell control header SCH to define the subcells, the n subcells should be defined by respective ones of n count numbers; - the buffer management circuit BMC should provide the addresses of free cell buffers instead of free subcell buffers and release them when they are cleared; - the memories AM and LM should manage cells instead of subcelIs ; - the memory BM should still operate for write and read on a subcell basis, but a counter should be provided for each memory access to count 1 to n subcells per cell at address specific subcell locations in the concerned cell buffer area. The resequencing system of Fig. 10 can also be used for processing separate fixed length cells and not subdivided in subcells. In this case : - the system should handle cells instead of subcells; - a distinction should only be made between the first cell and the following cells for a given TSTP value (cases Cl and C2 above) - the register REG5 should be eliminated. In the resequencing system of Fig. 10 each subcell period is subdivided in a write interval, an end of delay interval and a read interval because it is assumed that each resequencing unit, such as RSUl, has one input and one output both operating at a same bitrate. In case the resequencing RSUl unit has u inputs ' and v equivalent outputs coupled to a same output circuit OCl and operating at a same bitrate one has to subdivide each subcell period in u write intervals followed by a single end of delay interval and by v read intervals. On the contrary, when the bitrate at the v outputs is w times larger than that at the u inputs each subcell period must include u read intervals, one end of delay interval and v x w read intervals in succession. To be noted that in the above use is made of the word cell although this is specifically Asynchronous Transfer Mode terminology. However, one could also have used the word packet. While the principles of the invention have been described above in connection with specific apparatus, it is to be clearly understood that this description is made only by way of example and not as a limitation on the scope of the invention.

Claims: CLAIMS 1. Resequencing system for a switching node (SN) of a cell switching system wherein cells transmitted from an input(INl/INM) to an output (0UT1/0UTN) of a switching network (SNW) are subjected to variable first time delays, said resequencing system being able to restore at said output the sequence with which the cells were supplied to said input, characterised in that it is able to subject said cells at said output to additional variable second time delays which are so chosen that for each cell the sum of the two time delays is substantially equal to a predetermined total value. 2. Resequencing system according to claim 1, characterised in that it includes (Fig. 1): - a time stamp generator (TSG) producing successive time stamp values (TSTP); - means (IC1/ICM) coupled to said input to associate to each of the cells supplied thereon a first time stamp value then provided by said generator (TSG); - and a resequencing unit (RSU1/RSUN) coupled to said output to supply a cell received thereon to an output terminal (01/ON) only when said time stamp generator (TSG) provides a second time stamp value equal to the sum of said first time stamp value and said predetermined total value. 3. Resequencing system according to claim 1, characterised in that it includes (Fig. 5): - means (DMC) associated to said switching network (SNW) to measure said first time delay for each of said cells at said output and to associate it to these cells as a first delay stamp value (DSTP); - and a resequencing unit (RSU1/RSUN) coupled to said output to subject a cell received thereon to said second time delay equal to the difference of said predetermined total value and said measured first delay stamp value, ή . Resequencing system according to claim 2, characterized in that said first time stamp value forms part of a time stamp field (TSTP) of said cell. 5. Resequencing system according to claim 2, characterized in that said resequencing unit (RSUl) includeΞ (Fig. ) : - an input register (REG1) for storing a cell received on said output (0UT1/0UTN); - a plurality of first-in-first-out storage registers (Fl/FP) allocated to distinct ones of said first time stamp values (1/P), said first time stamp values being generated by said time stamp generator (TSG) in a cyclic way; - means (DEMUX) which couple said input register (REG1) to said storage registers (Fl/FP) and are controlled by said first time stamp value associated to said cell to transfer said cell from said input register (REG1) to the storage register allocated to this time stamp value (TSTP) - and means (MUX) which couple said storage registers (Fl/FP) to the output terminal (01) of said resequencing unit (RSUl) and are controlled by said time stamp generator (TSG) to transfer said cell from said storage register to said output terminal (01) when said time stamp generator (TSG) producess a time stamp value equal to the sum of the time stamp value to which said storage register is allocated and said predetermined total value (D) which is equal to the duration of a cycle of said generator. 6. Resequencing system according to claim 2, characterized in that said resequencing unit (RSUl) includes (Fig. 3) : - an input register (REG2) for storing a cell received on said output; - a buffer memory (BM) having an input (D) coupled to an output of said input register (REG2) and an output (01) constituting the output of said sequencing unit; - a buffer management circuit (BMC) for managing the free/busy state of the buffers of said buffer memory (BM) and for allocating the address of a free buffer to said cell ; - a read/write pointer (RWP) associated to said buffer memory (BM); - an address memory (AM) having sets of locations allocated to distinct ones of said time stamp values, said time stamp values (1/P) being generated by said generator (TSG) in a cyclic way and the duration of a cycle being equal to that of said total delay value; - a cyclic read pointer (RP) associated to said address memory to cyclically read out the contents of the sets of locations thereof; - a write pointer (WP) associated to said input register and said address memory (AM) and able to store the time stamp value associated to said cell such that subsequent to the receipt in said input register (REG2) of a cell having an associated time stamp value (TSTP) and the allocation to said cell and by said buffer management circuit (BMC) of a free buffer memory address (A) said free buffer memory address (A) is written by said write pointer (WP) in one of the locations of the set of locations of said address buffer (AM) allocated to said time stamp value (TSTP) and said cell is written by said read/write pointer (RWP) in said buffer memory (BM) at said buffer memory address and that when said cyclic read pointer (RP) reads said address (A) from said address memory (AM) it supplies it to said read/write pointer (RWP) which then reads said cell from said buffer memory (BM). 7. Resequencing system according to claim 2 , characterized in that said resequencing unit (RSUl) includes (Fig. 4) : - a buffer memory (BM) for storing cells received at said output; - a register (REG3) coupled to an output of said buffer memory (BM) ; - means to transfer all cells stored in said buffer memory (BM) into said input register (REG3) during a cell time interval; - an adder circuit (ADD) associated to said input register REG3) to add the first delay stamp value associated to a cell stored in said input register (REG3) to said predetermined total value (D); - a comparator (COMP) to compare the result of the adding operation with the time stamp value then provided by said generator (TSG); - and gating means (GCl, GC2) to supply the cell stored in said input register (REG3) to the output terminal (01) of said resequencing unit or back to said buffer memory depending on the result of the comparison. 8. Resequencing system according to claim 3, characterized in that said resequencing unit (RSUl) includes (Fig. 6) : - an input register (REG1) for storing a cell received on said output (0UT1/0UTN); - a time delay generator means (ROP) generating successive delay stamp values in a cyclic way, the duration of a cycle being equal to that of said total delay value; - a subtractor circuit (SUB) to subtract the first delay stamp value associated to said cell from the time delay provided by said time delay generator means (ROP) thereby providing a resultant delay stamp value; - a plurality of first-in-first-out storage registers (Fl/FP) allocated to distinct ones of said resultant delay stamp values (1/P); - means (DEMUX) which couple said input register (REGl) to said storage registers (Fl/FP) and are controlled by said resultant delay stamp value to transfer said cell from said input register (REGl) to the storage register allocated to the resultant delay stamp value provided by said subtractor; - and means (MUX) coupling said storage registers (Fl/FP) to the output terminal (01) of said resequencing unit (RSUl) to transfer said cell from said storage register to said output terminal (01) when said time delay generator means (ROP) produces a delay stamp value equal to the sum of the resultant delay stamp values to which said storage register is allocated and said predetermined total value (D). 9. Resequencing system according to claim 3, characterized in that resequencing unit (RSUl) includes (Fig. 7) : - a buffer memory (BM) having an input (D) coupled to an output of said input register (REG2) and an output (01) constituting the output of said resequencing unit; - a buffer management circuit (BMC) for managing the free/busy state of the buffers of said buffer memory (BM) and for allocating the address of a free buffer to 5a i d eel1 ; - a read/write pointer (RWP) associated to said address memory (AM) ; - a delay stamp value generator means (ROP) generating successive delay stamp values in a cyclic way, the duration of a cycle being equal to that of said total delay value; - a subtractor circuit (SUB) to subtract the first delay stamp delay associated to said cell from the delay stamp value provided by said delay stamp generator means (ROP), thereby providing a resultant delay stamp value; - an address memory (AM) having sets of locations allocated to distinct ones of said resultant delay stamp values provided by said subtractor circuit (SUB); - a write pointer (WP) associated to said address memory (AM) and able to store therein the resultant delay stamp value provided by said subtractor circuit (SUB); - and a cyclic read pointer (RP) controlled by said generator (ROP) and associated to said address memory (AM) to cyclically read out the contents of the sets of locations thereof; such that subsequent to the receipt in said input register (REG2) of a cell having an associated first delay stamp value (DSTP) and the allocation to said cell and by said buffer management circuit (BMC) of a free buffer memory address (A) said free buffer memory address (A) is written by said write pointer (WP) in one of the locations of the set of locations of said address buffer (AM) allocated to said resultant delay stamp value (ROP-DSTP) and said cell is written by said read/write pointer (RWP) in said buffer memory (BM) at said buffer memory address and that when said read pointer (RP) reads said address (A) from said address memory (AM) it supplies it to said read/write pointer (RWP) which then reads said cell from said buffer memory. 10. Resequencing system according to claim 3, characterized in hat said output means (RSUl) include (Fig. 8) : - a buffer memory (BM) for storing cells received at said output; - a register (REG3) coupled to an output of said buffer memory (BM); - means to transfer all cells stored in said buffer memory (BM) into said input register (REG3) during a cell time i nterval ; - a comparator (COMP) to compare the first delay stamp value associated to a cell stored in said input register (REG3) with said predetermined total value (D); - and gating means (GCl, GC2) to supply the cell stored in said input register (REG3) to the output terminal (01) of said output means or back to said buffer memory depending on the result of the comparison, the time value of a feed back cell being incremented by 1 in an add-one circuit (ADD1). 11. Resequencing system according to claim 3* characterized n that said first time delay is contained in a time delay field (DSTP) of said cell. 12. Resequencing system according to claim 6 or 9, characterized in that in order to perform the resequencing of cells which are each constituted by a series of subcells and are applied to an input of said resequencing unit (RSUl), the latter is adapted during a write-in operation (WP) to build up lists of buffer memory addresses at which said subcells are written in said buffer memory (BM), the addresses of each list belonging to subcells of cells having a same stamp value (TSTP, ROP-DSTP) provided by said write pointer (WP), to arrange during an end-of-delay operation (ED) said lists in an output queue in the order provided by said read pointer (RP), and to read out during a read-out operation (RP) the subcells from said buffer memory (BM) in the order in which their addresses are stored in said queue and apply them to an output of the resequencing unit. 13. Resequencing system according to claim 12, characterized in that said resequencing unit (RSUl) further includes a link memory (LM) used to chain the buffer memory addresses of successive subcells of all cells having the same stamp value (TSTP* ROP-DSTP) and builds up a said list by storing in said address memory (AM), and at the address provided by said write pointer (WP), the start-of-1 i st (SOLI) and end-of-list (E0L1) buffer memory addresses of the first and last subcells of said list and by storing in said link memory (LM) the intermediate subcell addresses linking said start and end of list addresses (SOLI, E0L1). 14. Resequencing system according to claim 13, characterized in that subsequent to the receipt of a subcell in said input register (REG2) said resequencing unit (RSUl) detects if said subcell is the first one of a first cell of a list or set of cells, having a same time stamp value or resultant delay stamp value, or not and acordingly initialises an absent list in said address memory (AM) at the address provided by said write pointer (WP) or updates an existing list in said adress memory (AM) and in said link memoiry (LM). 15. Resequencing system according to claim 14, characterized in that said initialisat on operation is performed by making said start-of-1 ist and end-of-list addresses (SOLI, E0L1) both equal to the buffer memory address (Al) allocated to said first received subcell by said buffer management circuit (BMC). 16. Resequencing system according to claim 14, characterized in that said updating operation of said address memory (AM) is performed by making said end-of-list address (E0L1) equal to the buffer memory address (A2) of said received subcell* whilst the updating of said link memory (LM) is performed by storing the buffer memory address of said received subcell (A2) in said link memory (LM) at the end-of-list address (E0L1=A1). 17. Resequencing system according to claim 13, characterized in that said resequencing unit (RSUl) further includes a start-of-queue read pointer (SOQ) and an end-of-queue write pointer (EOQ) which are both associated to said link memory (LM), and subsequent to the reading of start-of-list (SOLI) and end-of-list (E0L1) addresses of a list from said address memory (AM) and by said read pointer (RP) includes said list in a queue by storing said start-of-list address (SOLI) into said link memory (LM) at the address provided by said end-of-queue write pointer (EOQ) and by subsequently storing said end-of-list address (E0L1) in said end-of-queue pointer (EOQ). 18. Resequencing system according to claim 17, characterized in that during a buffer memory read-out operation said start-of queue pointer (SOQ) provides a buffer memory address (BM) to said buffer memory (BM) and reads out said link memory (LM) at this address, the thus obtained address being fed back to said start-to-queue pointer (SOQ). 19. Resequencing system according to claims 12 and 14, characterized in that said resequencing unit (RSUl) includes reset means (G9) to reset said address memory (AM) during a buffer memory read-out operation to indicate the absence of a list. 20. Resequencing system according to claim 14 and to claim 4 or 11, characterized in that said cell contains said stamp value (TSTP, DSTP) and said subcells each contain a code (SCH) indicative of the fact that the subcell is the first one of a cell or not and that it includes means to detect if a subcell stored in said input register (REG2) is the first one of a first cell or not, these means including - a first detection circuit (DET1) which is coupled to said input register (REG2) and is able to read said code (SCH) and to provide an output signal (A, B) indicative of the subcell being a first one or not; - a second read pointer (RP2) coupled to said address memory (AM) to read out this memory at the address derived from said' stamp value (TSTP, DSTP) of said subcell - and a second detection circuit (DET2) coupled to said address memory (AM) to check by using said indicative signal CA, B) if the start-to-list address read by said second read pointer indicates that said first subcell belongs to a first cell (Cl) or not (C2). 21. Resequencing system according to claim 12, characterised in that said resequencing unit has u inputs and v equivalent outputs coupled to a same output circuit, the bitrate of said cells on each of said v outputs being w times larger than at each of said υ outputs and that the resequencing unit in a subcell interval successively performs u write-in operations, a single end-of-delay operation and v x w read-out operations.

Inventors: HENRION MICHEL ANDRE ROBERT, HENRION, MICHEL, ANDRE, ROBERT
Applicants: ALCATEL NV, BELL TELEPHONE MFG, ALCATEL N.V., BELL TELEPHONE MANUFACTURING COMPANY NAAMLOZE VENN
Application year: 1989
Main classification: H04L12
IPC codes: H04L12