A METHOD OF DISTINGUISHING IN SERIAL DIGITAL BIT STREAMS BETWEEN AT LEAST TWO TYPES OF TIME SLOTS IN A BIT STREAM RECEIVER

Abstract: The invention enables a distinction to be made between at least two types of time slots in serial digital bit streams that are transmitted over a link (2) between a transmitter (4) and a receiver (6) and that derive from the streams of parallel data bits which are delivered to the transmitter via an interface and subjected to parallel-series conversion in the transmitter. Subsequent to analyzing the parallel data bits in a time slot, the type of category to which this time slot belongs is decided and a plurality of marker bits are then inserted into the serial time slots, so as to obtain good transmission properties and also to restore the time slots to a parallel form. More specifically, the time slot categories are mutually separated with the aid of a different number of marker bits in the time slot, all of these marker bits having been assigned the inverted value of a bit other than the marker bits.

Description: A Method of Distinguishing in Serial Digital Bit Streams Between at Least Two Types of Time Slots in a Bit Stream Receiver Technical Field According to a first aspect, the present invention relates to a method of distinguishing between at least two types of time slots in a bit stream receiver in conjunction with the transmission of serial digital bit streams which are divided into a number of differ¬ ent types of time slots. According to another aspect, the invention also re¬ lates to a system which enables a distinction to be made between at least two types of time slots in the serial digital bit streams that are transmitted over a link between a transmitter and a receiver and that derive from the streams of parallel data bits which are delivered to the transmitter via an interface and subjected to parallel-series conversion in the trans¬ mitter. In telecommunication network and data network switch¬ es, the serial link interface is located in the so- called device connecting means of the switch. The device connecting means include links between the switch core, multiplexors, and end devices. It has been found desirable for such links to have the following properties: - Line codes which guarantee changes between zeros and ones. A high balance probability between the number of zeros and the number of ones, so as to enable rela¬ tively simple transmission equipment to be used. Space for additional information so as to be able to distinguish between different types of time slots, for instance between time slots for circuit switched data and packet switch data, so as to enable memories which contain information concern- ing the types of respective time slots to be dis¬ pensed with. - The line code and the additional information may only marginally increase the rate. Background Art U.S. 4,891,808 relates to time multiplex in the trans¬ mission of sampled data from a plurality of parallel input channels on a serial signal line and restoring the parallel data from the serial line. A synchroniza¬ tion marker is inserted directly into data for at least one given channel which shall be used as a marked or synchronization channel. The marker is arranged as an "impossible" data pattern. When a plurality of unchanged levels (e.g. binary ones) occur in a bit storage register, a central bit is inverted and therewith mark this channel. The inverted marking bit is detected and eliminated in the receiver end, and/or is used to reset the channel counter when detected on a channel other than the marker channel. U.S. 4,446,555 describes asynchronous time multiplex switching. Time slots containing sample words have different numbers of bits. Information concerning "the rank of the time slot or packet additional channel in the hybrid frame" is added. An indicator bit or bit group distinguishes the sample words from the packets. Not all of the time slots have the same bit capacity and the total number of bits per frame is known. EP 425,475 discloses a data transmission system per¬ taining to the recording of an audio signal. The data signal is composed of serial data consisting of bits. A "dummy bit" is inverted in relation to the introduc¬ tory bit. Disclosure of the Invention A general object of the invention is to achieve good transmission properties with the aid of a method and a system of the kind defined in the introduction, so as to enable relatively simple transmission equipment to be used. A more particular object of the invention is to enable a distinction to be made readily between time slots for circuit switched data and time slots for packet switched data. According to the first aspect of the invention, these objects have been achieved with a method of the kind defined in the introduction by distinguishing between the different types of time slots with the aid of a different number of marker bits in the time slots, all of these marker bits having been assigned the inverted value of a bit other than the marker bits. According to the second aspect of the invention, the aforesaid objects have been achieved with a system of the kind defined in the introduction by deciding the category to which a time slot belongs subsequent to analyzing the parallel data bits in said time slot, whereafter a plurality of marker bits are inserted into the serial time slots so as to obtain good trans- mission properties and so as to enable the time slots to be restored to parallel form, wherein a distinction is made between the different types of time slots by using in the time slots a different number of marker bits of which all have been assigned the inverted value of a bit other than the marker bits. Expressed differently, some of the parallel data bits are used to control the number of marker bits in the serial data streams in a manner such that different numbers of marker bits are used in the different types of time slots, and in that prior to the parallel- series conversion, these marker bits are delivered to coding means in the transmitter together with a bit for assigning the marker bits the inverted value of this last-mentioned bit, and in that subsequent to series-parallel conversion in the receiver, the thus coded marker bits and said other bit are delivered to decoding means in the receiver for restoring the bits to their original value subsequent to transmission. Preferably, the marker bits are the initial bits in the time slot and are assigned the inverted value of the first bit that follows the marker bits. According to one preferred embodiment, data time slots for circuit switched data and field control time slots and flag control time slots for packet switched data are distinguished respectively by one, two and three marker bits per time slot. When scrambling is applied in order to reduce the risk of imbalance between the number of zeros and ones, scrambling is effected solely on bits 0-6. Brief Description of the Drawing Embodiments of the present invention will now be described in more detail with reference to the accom¬ panying drawings, in which Figure 1 illustrates a serial link in which one em¬ bodiment of the inventive method is applied; Figure 2 is a table which illustrates how the bits in an input interface of the link shown in Figure 1 are interpreted; Figures 3 and 4 illustrate in table form definitions of how a coder and a decoder respectively in the link shown in Figure 1 are defined; Figure 5 illustrates a scrambling/descrambling device; Figure 6 illustrates a serial link in which a second embodiment of the inventive method is applied; and Figures 7 and 8 illustrate diagra matically two re¬ spective cases of the marking and line coding of time slots transmitted on the link shown in Figure 1. Description of Preferred Embodiments Figure 1 illustrates a link for serial digital bit streams generally referenced 2, and a transmitter and a receiver belonging to the link, generally referenced 4 and 6 respectively. The transmitter 4 includes an interface 8 on its input, and the receiver 6 includes an interface 10 on its output. In the case of switches for tele-networks and data networks, for instance, such serial link interfaces are located in the so-called device connecting means of the switch. The device connection includes links between the switch core, multiplexors, and so-called end devices, such as subscriber connections, trunk connections, processors, etc. Swedish Patent Applica- tion SE 9103719-2 discloses an example of one such switch with corresponding device connection, and, consequently, it is unnecessary to describe such a switch in greater detail in this document. It is assumed in the illustrated case that the bit streams have been divided into time slots, each con¬ taining nine bits. The time slots are of mutually different types. The category to which a time slot belongs is decided by marker bits in respective time slots, as described in more detail below. The marker bits are used when data has been coded for serial transmission. The described exemplifying embodiment pertains to time slots for circuit switched data, hereinafter referred to as DTS (= Data Time Slot) , and for packet switched data, hereinafter referred to as CTS (= Control Time Slot) . The latter time slot is divided into two sub¬ types, namely CTS-field-ti e slots and CTS-flag-time slots. The DTS-time slots and CTS-time slots include marker bits which enable a distinction to be made by the receiver, by analysis of one individual time slot. The interface 8 receives data in the form of parallel data bits DIN0-DIN8. In the parallel interface 8, the marker bit 8 = 1 indicates that the time slot is a DTS-type slot and marker bit 8 = 0 indicates that the time slot is a CTS-type slot, i.e. a CTS-field or CTS-flag. When the time slot is a CTS-type slot, the marker bit 7 = 0 indicates that the time slot is a CTS-field type slot, and marker bit 7 = 1 indicates that the time slot is a CTS-flag type slot. Interpretation of the bits in the interface 8 is also shown in the Figure 2 table. The bits DIN0-DIN5 are delivered to a parallel-series converter 12 provided in the transmitter 4, and the bit DIN5 is also delivered to a coding device 14 provided in the transmitter 4, the bits DIN6-DIN8 also being delivered to this coding device. The bits DIN5- DIN8 are coded in the coding device 14, which results in bits d6, d7 and d8 respectively on the three out¬ puts of said device. In order to indicate that a corresponding time slot is a DTS-time slot, the bit dδ is given the inverted value of the bit DIN7 by the coding device 10. When the time slot is a CTS-field time slot, the bits d8 and d7 are given the inverted value of bit DIN6, whereas in the case of a CTS-flag time slot, the bits d6-d8 are given the inverted value of the bit DIN5. Subsequent to leaving the coding device 14, the bits d6-d8 are delivered to the paral¬ lel-series converter 12. The coding device 14 is defined by the Table shown in Figure 3. It should be observed that when the input signals are a CTS-flag, the output signals are inde¬ pendent of bit 6. Since the bit 6 is not delivered to the parallel-series converter in any other way than through the coder 14, the information contained by the bit 6 will be lost when a CTS-flag is transmitted. The CTS-flag thus contains only six bits (0-5) that can be used for data. This is also shown in Figure 2. The receiver 6 at the other end of the link 2 receives the serial bit stream in a series-parallel converter 16, resulting in bits d'0-d , 8 on the outputs of said converter, these bits corresponding to the bits d0-d8 on the inputs of the parallel-series converter 12. The bits d'6-d'8 are delivered to a decoding device 18. On the basis of knowledge of the aforedescribed principle of coding in the coding device 14, the decoding device 18 performs a decoding process which results in the recovery of the bits DUT7 = DIN7 and DUT8 = DIN8 at the interface 10. The decoding device 18 is defined in the table shown in Figure 4. In order to reduce the risk of imbalance between the number of zeros and ones on the line, particularly in the case of fixed patterns, so-called scrambling can be applied. The scrambling or descrambling principle will be described briefly with reference to Figure 5, which is a schematic illustration of a so-called scrambler . Data which is to be scrambled is delivered to inputs D0-D6 and data which has been scrambled is presented on outputs B0-B6. A feedback connected shift register, generally referenced 20, generates varying data which together with data D0-D6 is delivered to exclusive-OR- gates 22 on whose outputs B0-B6 occur. The feedback connected shift register 20 can be set to a desired value at appropriate points of time, by applying a preset-signal to an input 24. This method of feedback connecting the shift register 16 is only one of several conceivable methods. Scrambled data can be restored by applying the data to the inputs of a similar device, a so-called de- scrambler, provided that a signal is applied on the preset-input 20 at time points which correspond to those occasions on which corresponding signals have been applied to the side on which scrambling was effected. The application of scrambling/descrambling in a system constructed in accordance with the invention is illus¬ trated in Figure 6, in which elements corresponding to the elements of Figure 1 have been identified with like reference signs. More specifically, this is effected by delivering the bits DIN0-DIN5 to the parallel-series converter 12 via a scrambler 26 and by delivering the bit DIN5 to the coding device 14 subse¬ quent to scrambling the bits. The bit DIN6 is scram¬ bled prior to being delivered to the coding device 14, but the bits DIN7 and DIN8, on the other hand, are not scrambled. Descrambling is effected with the aid of a descrambler 28. Those bits which correspond to the bits DIN0-DIN6 are delivered to the descrambler 28, wherewith the bit corresponding to bit DIN6 is passed directly to the decoding device 18. Irrespective of whether the bits have been scrambled or not, the result is that bits DUT0-DUT8 are obtained at the interface 10, where DUTO = DINO, DUT1 = DIN1, ... and so on ... DUT8 = DIN8, with one exception. This exception is that it is not certain that DUT6 is equal to DIN6 when DUT7 = 1 and DUT8 - 0 at the same time, i.e. when the time slot is a CTS-flag. The CTS- flag has thus only six bits that can be used for data, as mentioned earlier. Figures 7 and 8 illustrate respectively those cases when coding is effected with and without scrambling. It will be noted that in a CTS-time slot, it is the bit number 7 in the parallel interface which deter¬ mines whether the time slot is a CTS-field or a CTS- flag. A sequence of time slots coded in the afore- described manner results in at most eleven identical bits in a row. This comparatively low upper limit for the number of equivalent bits enables timing recovery to be realized relatively simply. It will be noted that uniform distribution between zeros and ones is obtained, even with those bits which are not scrambled, since the bits DIN7 and DIN8 balance one another in each time slot; and the marker bits in CTS are controlled by bits which have been scrambled and which can therefore be considered statistically balanced, which means that these marker bits are also statistically balanced over a period comprising several time slots. One reason why DIN7 is not scrambled is because it is not necessary and because timing recovery is real- ized more simply when scrambling is not effected. Although the CTS-flag having solely six scrambled bits would appear to be an exception, this is not so in practice because the marker bits are delivered after the scrambling process and write-over the insignifi¬ cant DIN6 in the CTS-flag. Thus, seven bits are always scrambled in those time slots with which scrambling is carried out. The invention affords the following advantages: Because the invention guarantees that data in seri¬ al form will not remain unchanged for more than a given number of bits, good transmission properti¬ es are obtained so that relatively simple trans¬ mission equipment can be used. - The invention enables the number of bit combina- tions to be utilized effectively, so that redundan¬ cy in the system will be low, despite the relative¬ ly simple implementation. The inventive coding principle enables the time slots to be divided readily into different catego¬ ries, in the illustrated embodiment three catego¬ ries. The first category has eight independent bits per time slot, the second has seven independent bits and the third has six independent bits. In the first stage of the aforedescribed embodiment of the invention, this stage being known per se, a ninth bit is added to each 8-bit group and the ninth bit is given the inverted value of the eighth bit. There is thus obtained at most 8 + 1 = 9 similar bits in each row. Of all possible nine bit combinations, only half are used for transmitting information. According to the invention, however, more combinations are used for transmitting information. Thus, in the next stage of the illustrated embodiment, those combinations in which the bits 8 and 7 have the inverted value of bit 6 are also used. This results in the use of a further one-fourth (1/4) of all 9-bit combinations. The highest number of identical bits in a single row will therewith be 8 + 2 = 10. In the third stage of the described embodiment, combi¬ nations in which the bits 8, 7 and 6 have the inverted value of bit 5 are also used. In this way, a further one-eighth (1/8) of all 9-bit combinations is used, wherewith the highest number of identical bits in a row is 8 + 3 = 11. The inventive method enables further stages to be ap¬ plied, until combinations comprising solely nine ones and nine zeros are avoided, in which case the highest number of identical bits is 8 + 8 = 16. The aforedescribed exemplifying method of the inven¬ tion is suitable for application with the occurrence of time slots of which one type, or category, has eight bits, another type has seven bits, and a further type has six bits. This also applies, of course, to the aforedescribed embodiment, which includes DTS-time slots, CTS-field time slots and CTS-flag time slots respectively. It will also be seen that the method can be easily carried into effect, because no conversions are re¬ quired through the agency of tables, for instance.

Claims: Claims 1. A method pertaining to the transmission of serial digital bit streams which are divided into a number of different types of time slots, for distinguishing be¬ tween at least two of the types of time slots in a bit stream receiver, c h a r a c t e r i z e d by dis¬ tinguishing between said types with the aid of a different number of marker bits in the time slot, all of said marker bits being assigned the inverted value of a bit other than the marker bits. 2. A method according to Claim 1, c h a r a c ¬ t e r i z e d in that the marker bits form initial bits in the time slot and are assigned the inverted value of the first bit that follows the marker bits. 3. A method according to Claim 2, c h a r a c ¬ t e r i z e d by separating data time slots for circuit switched data, so-called DTS-time slots, and field- controlled time slots and flag-controlled time slots for packet switched data, so-called CTS-time slots, by one, two and three marker bits respectively in each time slot. 4. A method according to Claim 2 or 3, c h a r a c t e r i z e d in that when scrambling the bits to reduce the risk of imbalance between the number of zeros and ones, only the bits 0-6 are scrambled. 5. A system for enabling a distinction to be made between at least two types of time slots in serial digital bit streams which are transmitted over a link (2) between a transmitter (4) and a receiver (6) and which derive from the streams of parallel data bits which are delivered to the transmitter through an interface and are subjected to parallel-series conver¬ sion in said transmitter, c h a r a c t e r i z e d in that subsequent to analyzing the parallel data bits in a time slot, it is determined to which type of time slot said time slot belongs, whereafter a number of marker bits are inserted into the serial time slots so as to obtain good transmission properties and also so as to restore the time slots in parallel form, wherein the different types of time slots are distinguished with the aid of a different number of marker bits in said time slots, all of which marker bits have been assigned the inverted value of a bit other than the marker bits. 6. A system for enabling a distinction to be made between at least two types of time slots in serial digital bit streams that are transmitted over a link (2) between a transmitter (4) and a receiver (6) and which derive from the streams of parallel data bits which are delivered to the transmitter via an inter¬ face and are subjected to parallel-series conversion in said transmitter, c h a r a c t e r i z e d in that some of the parallel data bits are used as a control means for the number of marker bits in the serial data streams, such that different numbers of marker bits are used in the different types of time slots concerned; and in that prior to said parallel- series conversion, said marker bits and a further bit are delivered to a coding device (14) in the transmit¬ ter wherein the marker bits are given the inverted value of said further bit, and subsequent to series- parallel conversion in the receiver, the thus coded marker bits and said further bit are delivered to a decoding device (18) in the receiver for restoring the bits to their original value subsequent to transmis¬ sion. 7. A system according to Claim 5 or 6, c h a r a c ¬ t e r i z e d in that the marker bits form initial bits in the time slot and are assigned the inverted value of the first bit that follows the marker bits. 8. A system according to Claim 7, c h a r a c - t e r i z e d in that data time slots for circuit switched data, so-called DTS-time slots, and field- control time slots and flag-control time slots for packet switched data, so-called CTS-ti e slots are separated by one, two and three marker bits respec- tively in each time slot. 9. A method according to Claim 7 or 8, c h a r a c ¬ t e r i z e d in that when scrambling the bits in order to reduce the risk of imbalance between the number of zeros and ones, only bits 0-6 are scrambled.

Inventors: ABEFELT ERIK OSCAR, LUNDH CARL PETER BIRGER, SCHYMAN LARS GOERAN, ABEFELT, ERIK, OSCAR, LUNDH, CARL, PETER, BIRGER, SCHYMAN, LARS, GOERAN
Applicants: ERICSSON TELEFON AB L M, TELEFONAKTIEBOLAGET L.M. ERICSSON
Application year: 1993
Main classification: H04L25
IPC codes: H04J3, H04M11