DISTRIBUTED CIRCUIT SWITCH

Abstract: The invention relates to a digital switch intended for use in a node in a circuit switched telecommunication network with a distributed switching function. The switch includes a switch memory (8), and a time slot counter (10), which is connectable to the switch memory and arranged to point out an address in the switch memory for cyclical writing of incoming data into the switch on this address. A control memory (6) is arranged for controlling the sequence order for read out of data from the switch memory. The switch memory is connectable via an adapting device (32) to a transmission medium, which is common to a number of nodes in the network. The time slot counter (10) is connected via the adapting device (32) to receive frame synchronisation from the common transmission medium. The control memory (6) is arranged for selecting time slots from the common transmission medium and generating read address to the switch memory (8). According to a first aspect of the invention, the control memory (6) and the switch memory (8) are realized with fewer memory cells than admitted by the address space. According to a second aspect of the invention, each memory cell of the switch memory (8) includes an encryption register (56) and devices to enable encryption of traffic between two nodes of the network.

Description: Distributed circuit switch Technical area The present invention relates to a In future the switching function of a telecommunication network will be increasingly distributed, i.e. decentralized. Presumably data communication and telephony will also be mixed. In two new standards (DQDB and FDDI-II) datacom and telephony are mixed in a distributed system architecture. As regards telephony this means that also the circuit switch will be distributed. One of the advantages with a distributed circuit connected switch is that it most often will be relatively small in each node and that the manufacturing costs for the complete switch will be proportional to the number of nodes. A conventional time switch includes a control memory, a switch memory and a time slot counter. In the switch memory data is cyclically entered into the memory on an address which is pointed to by the time slot counter. At reading out data from the switch memory the value of the time slot counter is translated in the control memory before becoming an address to the switch memory. The data is read out in an order determined by the control memory. A processor writes into the control memory for updating a table of read out order located therein. State of the art A distributed switch of the kind defined above by way of introduction is e.g. known from the Swedish patent application 9103719-2. A switch of this type has the disadvantage that it implies a significant increase of costs in the network. Description of the invention One object of the invention is to provide a switch of the kind mentioned by way of introduction by means of which additional cost in each node is significantly decreased. Another object is to protect such as switch against erroneous connection for preventing an unintentional listener from being able to interpret what is said. According to the invention the above objects have been achieved in a switch of the kind indicated by way of introduction by Through the invention the control memory and the switch memory can be realized in such a way that the number of memory cells is reduced to only the number required in each node. Description of the Figures The invention will now be described in detail by means of the embodiments shown on the enclosed drawings, in which Figure 1 is a block diagram showing a conventional time switch, • Figure 2 is a block diagram showing part of a telecommunication network with distributed time switches, Figure 3a-c are blockdiagrams showing embodiments of a distributed time switch according to the invention, Figure 4 schematically illustrates the design of switch memory and control memory by means of memory cells in time switches according to Figure 3a-c, Figure 5 likewise schematically illustrates the implemen¬ tation of one of a plurality of memory cells included in the switch memory and the control memory according to Figure 4, and Figure 6 shows an embodiment of an encryption register included in the switch memory. The conventional time switch shown in Figure 1 comprises a control memory KM, a switch memory TM and a time slot counter TR. In the switch memory data is cyclically entered on an address which is pointed to by the time slot counter. At reading out of data from the switch memory the value of the time slot counter TR is translated in the control memory KM before it becomes an address to the switch memory TM. The data is read out in an order decided by the control memory. Via a multiplexer MUX a processor uP can write into the control memory for updating a =>-<le of-order of read out located therein. ,- n Preferred embodiments With reference to the very schematically illustrated telecommunication network in Figure 2, a common data buss 2 interconnects a number of distributed time switches 0 -4 n associated with a respective node 0-n included in the network. With reference to Figure 3a each time switch 4 Q -4 n comp¬ rises a control memory 6, a switch memory 8, a time slot counter 10 and a micro processor 12. The control memory 6 is connectable to the time slot counter 10 and the microprocessor 12 via a multiplexer 14. The switc ' r memory 8 is connectable to the control memory 6 and the i slot counter 10 via a multiplexer 16. An input buffer 18 receives a digital datastream 22 arriving to the switch on a trunk 20. Read out from the switch memory 8 is made via an output buffer 24 on a trunk 26. In the switch memory 8 data is entered cyclically on an address which is pointed to by the time slot counter 10. At read out of data the value of the time slot counter 10 is translated in the control memory 6 before becoming an address to the switch memory 8. Via the multiplexer 14 the processor 12 is enabled to write in the control memory for updating a table of order of read out located therein. The switch memory 8 is connected to the databuss 2 common to all nodes according to Figure 2 (or to any other common medium) , said buss being not visible in Figure 3a. The connection can be an optical cable or any other suitable transmission medium and is indicated in Figure 3a by double arrows 28,30. In a way known *-?r se, data and frame synchronisation is included : :he buss, one of the connected nodes having an oscillator fc generating frame synchronisation. The connection to the switch memory 8 is established via a buss adapting function 32 adapting the interface between the input buffer 18 and the common medium 28,30. If the common medium e.g. is a buss having separated data and frame synchronisation, the adapting function in the simplest case may be control by a buss driver and be realized together with the input buffer 18 and control of the switch memory 8. Via the function 32 the time slot counter 10 obtains frame synchronisation from the data buss 2 on a line 34. A decoding logic 36 is arranged between the time slot counter 10 and the input buffer 18. The task of the decoding logic 36 is to achieve that the incoming time slot stream 22 is transmitted via the input buffer 18 in specific time slots in the common buss. The decoding logic 36 can comprise implemented in a conventional way by means of decoders, and it controls the value of the time slot counter so that the input buffer 18 is opened at the occurrence of correct time slot on the common buss and the contents in the input buffer 18 are transferred to the buss. An example of decoding logic for 8 time slots is e.g. a so called 3-to-8 decoder (Texas Instrument 74138) . To sum up, the decentralized switch is based upon using the data buss 2 to the control memory 8 in common for all nodes, which must include control memory 6, switch memory 8 and time slot counter 10. Based upon a realization of the fact that a node only needs a few time slots, switch memories and control memories are realized, according to the invention, with a number of memory cells less than admitted by the address space, i.e. the maximum number of possible address combinations between a lowest and an uppermost address. If it is e.g. assumed that there is one time slot per memory cell, the address space would be the same as the total number of time slots on the common buss. As an example associative memories may be mentioned. The write address is stored in the memory and memory information exists only in these positions. The address of the memory cell is stored together with the data in each memory cell. At reading/writing in the memory the incoming address is compared to the contents in an address register included in the memory cell. At the occurrence of agreement the data register of the memory cell is opened for writing and reading. The gain obtainable with this solution as compared to using conventional memories (one time slot/memory cell and congestion free connection to a trunk) increases with the quotient number of time slots on common buss/time slots on trunk. The control memory 6 has two tasks, namely to select time slots from the common buss for writing in the switch memory 8 (read/write-signal) and to generate the read address to the switch memory 8. As mentioned above an incoming time slot stream 22 is sent out via the data buffer 18 in specific time slots in the common buss by means of the decoding logic 36. The time slot counter 10 is synchronised to synchronisation information on the buss. To be able to manage free memory cells the microprocessor 12 can be arranged to reset memory cells in the control memory 6 and the switch memory 8 via the connection 37, as is described below with reference to Figure 4 and 5, i.e. free mark memory cells. The operation implies that the processor gets an opportunity to initiate the address register in the memory cell with a new address. In Figure 3b elements having the same denomination as in Figure 3a have obtained the same reference numbers as in the latter with the addition of a prime sign. The embodiment according to Figure 3b differs from the one in Figure 3a by the switch memory 8' being positioned for receiving the incoming trunk stream instead of the outgoing one, which implies that the incoming trunk stream can be sent out on a common buss via the buss matching function 32' in an arbitrary order and an arbitrary time slot. The decoder function 36' is arranged to control clocking in of data into the output buffer 24 ' , which is done in specific time slots on the common data buss. In Figure 3c elements with the same denominations as in Figure 3a have obtained the same reference numbers as in the latter with the addition of a biss sign. In the embodiment according to Figure 3c both incoming and outgoing trunkstream can pass through the switch memory 8. The disadvantage is that twice as many memory positions, i.e. one in each direction, are needed as compared to the two earlier embodiments, but the need for decoding logic disappears. Figure 4 illustrates the implementation switch memory 8 and control memory 6 in the form of a block diagram. Each memory 6,8 includes memory cells 38, the number of which is smaller than the number of positions. A logic 40 is included for managing free cells, as is explained more in detail below. At 42, 44, 46 and 48 address, data, write/read and reset lines, respectively, are indicated, the functions of which will be appear from the following description with reference to Figure 5. Figure 5 shows an example of the design of the memory cells 38. Each memory cell includes an address register 50, an address comparator 52, a data register 54, and optionally an encryption register 56. The address register 50 defines the address of the memory cell. By means of the address comparator 52 the address on the common address buss is compared to the contents in the address register 50 and when the address fits the contents of the data register can be read or written. To enable movement of a memory cell in address space a reset function is available via the line 48. If the memory cell is pointed out and a reset signal present on the line 48 is activated, the memory cell is deactivated. If writing is done on an address, which does not correspond to any memory cell, a free cell with the corresponding address is initiated by means of the logic 40 and data is entered into the data register. A "pool" of free cells can e.g. be realized as a fifo queue. In the presently going on standardisation process related to DQDB and FDDI-II it has been suggested that only 8 bits data should be transited. No redundancy is present for protection against erroneous connection. A simple way to solve this problem is to encrypt data and include the key in the switch instruction. The key is unique for each specific connection. The realisation of encryption in the suggested switch structure in Figure 3c can e.g. be performed by supplementing the memory cell in the switch memory 8 in Figure 5 with the encryption register 56. In this case a memory cell is needed both for reading from and for writing to a common buss, i.e. the architecture follows Figure 3c. At set up of a connection between two nodes via the common buss the same key is written into the encryption register 56 in both nodes. The encryption register can be a feedback shift register having a random generator function. The random data changes the data so that the PCM signals on the common buss will be impossible to understand without deciphering. Figure 6 shows an encryption implementation encrypting and decrypting with the same algorithm. As the Figure is selfexplaining to the man of the art by including components and connections shown in an accepted way, as well as explaining text, no further description of the design of the shown circuit is required here. In the realisation the encryption register 56'' includes the same number of bits as the data register 54 ' ' but different numbers are also possible. Do~ D n ^ s ^ ata arriving into the memory. The following sequence of events can e.g. be performed at a set up of a connection between transmitting node, below called A- node, and receiving node, below called B-node: - The microprocessor 12 ' ' in the A-node (uP) writes the readout address to the switch memory 8'' into the control memory 6". At writing a free memory cell 38 is collected from the pool of free cells in the control memory 6 , and initiation is made of the memory cell address register 50 with the memory cell address as well as of the memory cell data register 54 with read address. - The A-node creates encryption synchronisation by writing zeros into encryption register 56 of the switch memory 8''. At writing, a free memory cell is collected from the pool of free cells in the switch memory and initiation of the memory cell address register 50 is made with the address of the memory cell and the encryption register is initiated by zeros. The signal "Start of Sync" on line 74 is activated resulting in the data register 54 being reset and no shifting of the encryption register 56 being made. The outgoing data consists only of zeros, in this case constituting the synchronisation word. - The A-node transmits an encryption key in a switching instruction to the B-node. The B-node stores it for later use. - The B-node microprocessor 12' ' writes readout address to the node switch memory 8 , into its control memory 6''. At writing a free memory cell 38 is collected from the pool of free cells in the control memory 6", the cell address register 50 is initiated with the memory cell address and the memory cell data register with the read address. - The B-node writes the encryption key into its switch memory 8". At writing a free memory cell is collected from the pool of free cells in the switch memory and initiation is made of the memory cell address register 50 with the address of the cell and of the encryption register with the key. The signal "Start of Sync" on the line 74 is activated implying that the receiving memory cell is waiting for encryption synchronisation. No shift of the encryption register is performed. - The A-node writes the key into the encryption register of the cell in question. After writing into the register its flip-flop 70 is also reset by activation of "Reset Sync" on line 76. Shift of the encryption register is started. - The B-node detects the synchronisation word and decrypts data. As long as the encryption word is transmitted no shifts of the encryption register are performed. When the synchronisation word is removed from the buss the flip-flop 70 is automatically reset due to the fact that the data do not include only zeros and decryption is started.

Claims: Claims 1. A digital switch intended for use in a node in a circuit switched telecommunication network with a distributed switching function, said switch including a switch memory (8) , a time slot counter (10) , which is connectable to said switch memory (8) and arranged to point out an address therein for cyclical writing of data arriving into said switch on this address, a control memory (6) for controlling the sequence order for read out of data from said switch memory, characterised by said switch memory (8) being connectable via an adapting device (32) to a transmission medium, which i^ ommon to a number of nodes in said network, said time slot counter (10) being connected via said adapting device (32) for receiving frame synchronisation from said common transmission medium, said control memory (6) being arranged for selecting time slots from said common transmission medium and for generating read address to said switch memory (8) , and each of said control memory (6) and said ,! * ιtch memory including memory cells and an address spar«= t;.e number of said memory cells being less than admittt' oy said address space, wherein said address space is ^f- led as the maximum number of possible address combinations Between a lowest and an uppermost address. 2. A switch according to claim 1, characterised by said switch memory (8) being arranged between said adapting device (32) and a data output (26) to said node, and a decoding logic (36) being arranged between said time slot counter (10) and an input buffer (18) for incoming data from said node to direct said data via said input buffer (18) and said adapting device (32) on specific time slots in said common trans¬ mission medium. 3. A switch according to claim 1, characterised by said switch memory (8') being arranged between a data input (20') from said node and said adapting device (32') and a decoding logic (36') being arranged between said time slot counter (10') and an output buffer (24') to control clocking in of data from said common transmission medium in said output buffer for specific time slots on said common transmission medium. 4. A switch according to claim 1, characterised by said switch memory (8") being for both receive incoming data from said node and to forward it to said adapting device (32'') and to receive incoming data from said adapting device and forward it to said node. 5. A digital switch intended for use in a node in a circuit switched telecommunication network with a distributed switching function, said switch including a switch memory (8) , a time slot counter (10) , which is connectable to said switch memory (8) and arranged to point out an address therein for cyclical writing of data arriving into said switch on this address, a control memory (6) for controlling the sequence order for read out of data from said switch memory, characterised by said switch memory (8) being connectable via an adapting device (32) to a transmission medium, which is common to a number of nodes in said network, said time slot counter (10) being connected via said adapting device (32) for receiving frame synchronisation from said common transmission medium, said control memory (6) being arranged for selecting time slots from said common transmission medium and for generating read address to said switch memory (8) , and each memory cell of said switch memory (8) including an encryption register (56) and devices to enable encryption of traffic between two nodes in said network. 6. A switch according to claim 5, characterised by devices for achieving transmission of an unique encryption key together with each request for connection from one node to another. 7. A switch according to claim 5 or 6, characterized by each of said control memory (6) and said switch memory including memory cells and an address space, the number of said memory cells being less than admitted by said address space, wherein said address space may be defined as the maximum number of possible address combinations between a lowest and an uppermost address.

Inventors: WESTBERG LARS, WESTBERG, LARS
Applicants: ERICSSON TELEFON AB L M, TELEFONAKTIEBOLAGET L M ERICSSON
Application year: 1993
Main classification: H04Q11
IPC codes: H04Q11