METHOD OF SWITCHING TIME SLOTS IN A TDM-SIGNAL AND ARRANGEMENT FOR PERFORMING THE METHOD

Abstract: The invention relates to a time switching stage for exchanging data words. In switching systems for communication systems the need is sometimes felt for switching what are commonly referred to as multi-slot connections. To enable this, the memory capacity of the time switching stage must be doubled. The invention pro­ vides a method and an arrangement with which multi-slot connections are realized without extanding the memory capacity. This accomplished by using an appropriate interleaving of a shift register and a memory.

Description: The invention relates to a method of switching data words in time slots, the data words being applied in time-division multiplex to a time switching stage, and a data word I s in a time slot s(s = 0, 1, 2, ..., n-1) of an incoming frame comprising n data words in n time slot is always switched by the time switching stage to a time slot in an outgoing frame in which the data words I s have any predetermined sequence D(s) (D(s) = 0, 1, 2, ...­ , n-1) and the time switching stage comprises a memory for storing in the data words. With the aid of time stages such as are presently used in switching systems for, for example, telephone exchanges, a number (N) of channels of identical capacities ( C) are switched. To that end the time stage comprises inter alia a memory having a capacity of N words. For synchronously operated networks, a memory capacity of N words is sufficient. If, however, the possibility must be created to switch N channels in plesiochronous networks whilst maintaining time slot integrity or if what are commonly referred to as multi-slot connections must be switched, then a memory having a larger (double) capacity must be available. From European Patent Application EP 0012135 it is known to switch data words in the time slots of a PCM-frame bit-sequentially, the correct time sequence of the bits being obtained by delaying or not delaying the bits through a cycle period in the switching memory. The invention has for its object to provide a method with which in a simple way and in accordance with a novel concept time slots can be exchanged in a bit-parallel time switching stage for N channels, the stage requiring a memory capacity of not more than N words and the method being suitable for establishing multi-slot connections, without extending the memory capacity. According to the invention, the me­ thod of exchanging time slots in a tdm-signal of the type defined in the opening paragraph is therefore character­ ized in that the method has the following steps: (i) the data word I s in time slot s is entered in the memory at an address A(s) which is equal to the number of time slots (I j ) where j is less than s and for which it holds that D(j) exceeds D(s); (ii) the data word already stored in the memory location having the address determined in step (i) and also the data words present in memory locations having an address higher than the address determined in step (i) are each entered in the next higher address; (iii) the data words present in memory locations having an address lower than the address determined sub (i) are maintained without change at the original address. The invention also relates to a time switching stage for performing the method of switching data words, the data words being applied in time-division multiplex to the time switching stage and the data words in an incoming frame comprising n datawords I s (s = 0, 1, 2, ..., n-1) always being switched by the time switching stage to an outgoing frame in which the data words I s have any predetermined sequence D(s) (D(s) = 0, 1, 2, ...­ ,n-1) and the time switching stage comprising a memory for storing the data words. According to the invention, the time switching stage for performing the method of switching data words, is characterized in that the memory is a random-access shift memory, that the time switching stage comprises an address generator for generating the address at which the data word applied to the shift memory is stored and that the time switching stage comprises means for shifting through one address location the content of the memory locations having an address equal to or higher than the generated address. It is advantageous for the random access shift memory to comprise n , cascade-arranged memory cells C i (I = 0, 1, 2,..., n-1), that each cell comprises an address input, a data input and a clock input, that when address A(s) is applied to the address inputs of the cells under the control of clock pulses applied to the clock inputs the cell C i where i = A(s) stores the applied codeword and the cells of the order i , where i > A(s) store the data words contained in the preceding cell of the order (i-1). The time switching stage is preferrably arranged such that each cell of the random-access shift memory comprises a register, a multiplexer and a comparator arrangement, that the comparator arrangement has a first input coupled to the address input, a second input coupled to an order indicator and an output connected to a control input of the multiplexer, that the multiplexer has a first input connected to an output of the register of the pre­ ceding cell, a second input coupled to an output of the register of its own cell and a third input connected to the data input, that an output of the multiplexer is connected to the input of the register and that a control input of the register is connected to the clock input. The invention will now be described in greater detail by way of example with reference to the accompanying drawings, corresponding components in the Figures having being given the same reference symbols. Therein: Fig. 1 shows a block diagram of a time switching stage according to the invention; Figs. 2a and 2b show the positions of the data words in the time slots of the input frame and the output frame, respectively; Fig. 3 shows an embodiment of a shift memory for use in a time switching stage of Fig. 1; Fig. 4a shows a time slot exchange Table for use in the time switching stage of Fig. 1; Fig. 4b illustrates the content of the shift memory as a function of the (clock) time when the method and arrangement according to the invention are used; Fig. 5 is a detailed circuit diagram of an embo­ diment of one cell of a shift memory as shown in Fig. 3. Fig. 1 shows a block diagram of a time switching stage according to the invention. An incoming time-division multiplex line TOM in is connected to an input of a shift memory SRM via a series/parallel converter SIPO. Digital information accomodated in a periodical frame structure is present on multiplex line TDM in Each frame comprises a number of time slots (for example 32), in each of which a data word formed by a number of bits (for example 8) can be accommodated, whilst time slots in corresponding posi­ tions in consecutive frames together form a data channel. The data words in a time slot - groups of n bits arranged in series - are converted by the series/parallel converter SIPO into groups of n parallel bits, which are applied via a data bus DB in to shift memory SRM and are entered into a memory location A(s) whose address is generated by an address generator AG and is applied via address bus A to the shift memory SRM. An output of the shift memory SRM is connected to a parallel/series converter PISO via a data bus DB out . At the output of this converter - on an outgoing time-division multiplex line TDM out - a digital information stream is then also available, which stream is of the same composition as the stream on the incoming multiplex line TDM in but the sequence of the data words in an outgoing frame differs from the sequence in an incoming frame. Fig. 2 shows by way of example an incoming and an outgoing frame structure. In Fig. 2a one frame is shown on the incoming time-division multiplex line TDM in . The frame has 8 time slots t₀, t₁, ..., t₇ in which the res­ pective data words D, E, C, H, F, A, G, B are accommodated. A frame on the outgoing multiplex line TDM out has also 8 time slots t₀, t₁, ..., t₇ in which the same data words are located as in the frame shown in Fig. 2a, but in a different sequence: the time slots t₀, t₁, t₂,....t₇ accommodate the respective data words A, B, C, D, E, F, G, H. A shift memory SRM for use in the time switching system of Fig. 1 is shown in Fig. 3. The shift memory comprises n identical cells C i (i = 0, 1, ..., n-1) which are serially interconnected. Each cell is capable of stor­ ing the n bits applied to first inputs CI₁ of the cells C i via databus DB in . Addresses for cell C i are applied to the second input CI₂ of the cell C i via addresses bus A. An output of, for example, cell C i , DO i is connected to the input of DI i+1 of the subsequent cell C i+1 . The shift memory SRM operates as follows. If an address A(s) is applied via the address bus A, and data via the databus DB in and a clock puls via the clock line CL then three situations must be distinguished for each cell C i , namely: (i) A(s) >A i then the state of cell C i is not influenced; (ii) A(s) = A i then cell C i takes over the data from databus DB in ; (iii) A(s) <A i then cell C i takes over the data from cell C i-1 . Put differently, the data in the cells to the right of the address itself each shift one cell (to the right) and data present on the databus is accommodated in the then free, addressed cell. All the cells to the left of the addressed cell are not influenced. The address A(s) is calculated as follows. The time slots in the frames are numbered from 0 to N-1. For each time slot in the input frame (Fig. 2a) it is specified in a time slot exchanging Table into which time slot of the output frame (Fig. 2b) the relevant data word must be entered. At time slot s a destination time slot D(s) is defined on the basis of which the output generator generates the addresses A(s) for the shift memory SRM. The address applied to the shift memory SRM for time slot s is designated A(s) where: A(s) = { N j : 0 ≦ j < s : D(j)>D(s)} Expressed in words: the address applied to the shift memory SRM for time slot s is identical to the number of time slots having a time slot number j less than s , for which it holds that D(j) exceeds D(s). This rule is illustrated in Fig. 4 on the bases of the example shown in Fig. 2. Fig. 4a illustrates the time slot exchanging Ta­ ble. Column 1 of this Table - "s" - shows the numbers of the time slots of the input frame as shown in Fig. 2a. Column 2 of the Table - "D(s)" - shows the time slot numbers of the time slots in the output frame as is shown in Fig. 2b. Column 3 of the Table - "A(s)" - shows the addresses as they have been generated by the address generator in accordance with the above rule. This produces the following results: it is ascertained at line 1 (s = 0; D(s) = 3) of the Table that the address applied is equal to 0(A(s) = 0), as the number of time slots having a time slot number j less than s (in this instance s = 0 so there is no time slot for which D(j) > 3), is equal to zero. For line 2 (s = 1, D(s) = 4) it is also found that A(s) = 0 since here the number of time slots having a time slot number j less than s (here s = 1, so there is one time slot, namely s = 0) where D(j) > 4 is equal to zero (since D(0) < D(1). Thus, at line 3 (s = 2, D(s) = 2) it is found that A(s) = 2 since the number of time slots having a time slot number j less than s (here s = 2) where D(j)>2, is equal to 2, since both D(1) and D(0) exceed 2. The further lines of the Table are derived cor­ respondingly. For this same example Fig. 4b shows in what manner the shift memory effects the time slot exchange if the input data shown in Fig. 2a and the addresses of column 3 - "A(s)"- of the Table of Fig. 4a are applied to this memory. At instant t = 0 the data in the 0 th time slot of the input frame ("D") is applied to the shift register together with address A(0) = 0. This causes this data word to be stored in cell C₀. At instant t = 1 the data in the first time slot of the input frame ("E") is applied together with address A(1) = 0 to the shift memory. This causes this data word to be stored in cell C₀ and the data word already present there to be shifted one cell forward. At instant t = 2 the data in the second time slot ("C") is applied to the shift memory together with the address A(2) = 2. This causes this data word to be stored in cell C₂. At instant t = 3 the data in the third time slot ("H") is applied to the shift memory together with address A(3) = 0. This causes this data word to be stored in cell C₀ and the remaining data words to be shifted through one cell. At instant t = 4, the data in the fourth slot of the input frame ("F") is applied to the shift register together with address A(4) = 1. This causes this data word to be stored in cell C₁ whilst the data word already present there and the data words to the "right" thereof are shifted one cell. The data words in the re­ maining time slots of the frame and also the data words in time slots of subsequent frames are applied in this manner to the shift memory. When the shift memory is completely full, that is to say at the end of a frame (in this example at the end of the seventh time slot) then there appears at the output of the last cell (in the present example cell C₇) the data word of the 0 th time slot of the output frame ("A"). (see line t = 8, Fig. 4b). One time slot period later the data word of the first time slot of the output frame ("B) appears, etc. Fig. 5 shows a practical embodiment of a shift memory, showing one cell - C i . The other cells are identic­ al to this cell and are therefore not shown.Cell C i incorporates a multiplexer MUX which has a first input of MI₁ connected to an output DO i-1 of cell C i-1 , a second input MI₂ to the output DO i of cell C i and a third input MI₃ to the data bus DB in . A comparator arrangement COMP is connected to a control input of the multiplexer MUX. A first input CP₁ of the comparator arrangement COMP is connected to the address bus A and a second input CP₂ is connected to a number indicator SN. The comparator arrangement has for its function to compare the addresses the address bus with the address A i which is supplied by number indicator SN (the latter is preset to the number of the cell). If the address at the address bus A is equal to the address of the cell A i then the third input MI₃ of the multiplexer MUX is switched through to the input of a register REG connected to the multiplexer. If the address at the address bus A exceeds A i then the second input MI₂ of the multiplexers MUX is switched through to the input of the register REG. If in contradistinction therewith the address at the address bus A is less than A i , then the first input MI₁ of the multiplexer MUX is switched through to the input of the register REG. The register further has a clock signal input CLi which is connected to the clock line C1. It is however not necessary for the cell to have an individual comparator arrangement connected to it. It is conceivable that a central comparison arrangement is used for all the cells together. The structure of the shift memory SRM is an appropriate structure for assembling one large SRM, assembl­ ed from a plurality of smaller memories, so that a time switching stage of basically unlimited dimensions can be build up as one module. The arrangement for exchanging time slots in a tdm-signal has the advantages that the required memory capacity can be kept to a minimum, the further required means being of a simple nature and small bulk. It will be obvious that for the principle of the invention it is not important whether, as described in the foregoing, the data words are entered into pre­ determined addresses and become available in an well-­ ordered sequence at the output (DB out , Fig. 3) or that the principle is realised the other way round. In the latter case the data words will be applied one by one to the input (DI₀, Fig. 3) of the first cell C₀ of the shift memory SRM and the data word present in the cell indicated by the address A(s) and the address A will be read via the databus DB in . After the data word in, for example, cell C i has been read via the databus DB in , the data words of all the cells C j where j< i is shifted forward one cell and a new data word is entered into the first cell C₀. The method and arrangement may alternatively be utilized for realising a variable, adjustable delay of data words, as, if a fixed address is applied to the address bus A (Fig. 3) all the incoming data words will be entered in the cell associated with that address and, after the data words have passed through the remaining cells of the shift memory SRM, will become available at the output DB out . Using a shift memory having N cells it will consequently be possible to produce a N-step adjust­ able delay. The delay time is not more than N x τ, where τ is the duration of one clock period. If address A(s) = 1 is applied, the datawords will all appear at the output after a delay of (N-1) τ seconds.

Claims: 1. A method of switching data words in time slots, the data words being applied in time-division multiplex to a time switching stage, and a data word Is in a time slot s (s = 0, 1, 2, ..., n-1) of an incoming frame com­ prising n data words Is in n time slots s is always switched by the time switching stage to a time slot D(s) in an outgoing frame in which the data words Is have any predetermined sequence D(s) (D(s) = 0, 1, 2, ...n-1) and the time switching stage comprises a memory for stor­ ing the data words, characterized in that the method has the following steps:...................................... (i) the data word Is in time slot s is entered in the memory at an address A(s) which is equal to the number of time slots (Ij) where j is less than s and for which it holds that D(j) exceeds D(s); (ii) the data word already stored in the memory location having the address determined in step (i) and also the data words present in memory locations having an address higher than the address determined in step (i) are each written to the next higher address; (iii) the data words present in memory locations having an address lower than the address determined sub (i) are maintained without change in the original address. 2. A time switching stage for switching data words in accordance with the method as claimed in Claim 1, the data words being applied in time-division multiplex to the time switching stage and the data words in an incoming frame comprising n data words Is (s = 0, 1, 2, ...n-1) always being switched by the time switching stage to an outgoing frame in which the data words of Is have any predetermined sequence D(s) (D(s) = 0, 1, 2, ....,n-1) and the time switching stage includes a memory for storing the data words, characterized in that the memory is a random-access shift memory, that the time switching stage includes an address generator for generating the address at which the data word applied to the shift register is stored and that the time switching stage includes means for shifting through one address position the content of the memory locations having an address equal to or higher than the generated address. 3. A time switching stage as claimed in Claim 2, characterized in that the random-access shift memory comprises n cascade-arranged cells Ci (i = 0, 1, 2,..., n-1), that each cell has an input, an output, an address input, a data input and a clock input, that on applying the address A(s) to the address inputs of the cells under the control of the clock pulses applied to the clock input, the cell Ci, where i = A(s) stores the applied code word and the cells having number i, where i > A(s) store the data words which were stored in the preceding cell, with number (i-1). 4. A time switching stage as claimed in Claim 3, characterized in that each cell of the random access shift memory comprises a register, a multiplexer and a comparator arrangement, that the comparator arrangement has a first input coupled to the address input, a second input to a number indicator and an output of the compara­ tor arrangement is connected to a control input of the multiplexer, that the multiplexer has a first input con­ nected to an output of the register of the preceding cell, a second input coupled to an output of a regiser of its own cell and a third input connected to the data input, that an output of the multiplexer is connected to the input of the register and that a control input of the register is connected to the clock input.

Inventors: BRUEKERS, ALPHONS A.M.L. INT. OCTROOIBUREAU B.V., KESSELS, JOZEF L.W. INT. OCTROOIBUREAU B.V.
Applicants: N.V. PHILIPS' GLOEILAMPENFABRIEKEN
Application year: 1986
Main classification: H04Q11
IPC codes: G06F7, H04Q11