PRIORITY SELECTION MEANS FOR DATA TRANSMISSION APPARATUS

Abstract: Priority selection means for data switching apparatus is provided which includes buffer means (10-13) operable to receive control information relating to data to be transmitted through the data switching apparatus. The buffer means comprising a separate buffer arranged to store control information having each of a predetermined number of priority levels and each buffer being arranged to deliver an overflow signal (Td) when its contents reach a predetermined level. Storage means (14) are provided operable to store digital priority symbols representative of the different priority levels denoted by control information received by the buffer means (10-13). A random number generator (15) is operable to generate a succession of numbers each of which produces a corresponding priority symbol from the storage means (14). Gating means (17) is responsive to the receipt of the overflow signal (Td) from one of the buffers (10-13) and operable with a predetermined probability to change the priority symbol generated by the storage means (14) to that designating the buffer giving rise to the overflow signal. Selector means (18), responsive to the output of the gating means (17), select an output from that buffer (10-13) designated by that output. Further gating means (16) may be provided which is responsive to an output from any one of the buffers when the contents of that buffer reach an override threshold level Ts to force the priority symbol to change to that designating the buffer giving rise to the override signal.

Description: PRIORITY SELECTION MEANS FOR DATA TRANSMISSION APPARATUS This invention relates to priority selection means for data switching apparatus for use in computer-controlled digital data transmission systems. Many types of data transmission apparatus are known, all having their own particular features and systems. In all cases the intention is to allow data switching and transmission to be achieved as rapidly as the apparatus will allow. It is common for data to be sent in "packets" consisting of a predetermined number of bits of data plus control information indicating certain parameters about the data or its mode of transmission. One of the parameters often defined is the priority of that particular packet, that is the precedence which it should be given over other packets of data awaiting transmission. Apparatus for ensuring that, wherever possible, such a priority indication is observed may conveniently be referred to as priority selection means, and this term is used throughout this specification. It is an object of the invention to provide priority selection means for data transmission apparatus operable to ensure that, over a period of time, data is transmitted with the precedence indicated by the priority level contained in its associated control information, independent of any other parameters to be observed. According to the present invention there is provided priority selection means for digital data transmission apparatus, which means includes buffer means operable to receive control information relating to data to be transmitted through the data transmission apparatus, the buffer means comprising a separate buffer arranged to store control information having each of a predetermined number of priority levels and each buffer being arranged to deliver an override signal when its contents reach a predetermined level, storage means operable to store digital priority symbols representative of the different priority levels denoted by control information received by the buffer means, a random number generator operable to generate a succession of numbers each of which produces a corresponding priority symbol from the storage means, gating means responsive to the receipt of the override signal from one of the buffers to change the priority symbol generated by the storage means, and selector means responsive to the output of the gating means to select an output from that buffer designated by that output. The priority selection means may, for example, be used with the data switching apparatus described and claimed in our co-pending British patent application No. 9717^12.2. The invention will now be described with reference to the accompanying drawing, which shows a schematic block diagram of one form of priority selection means according to an embodiment of the invention. For the purposes of the following description some basic assumptions have been made. It is assumed, by way of example, that data to be passed through the switching apparatus has been given one of four priority levels by its originator. These priority levels may be called High, Medium, Normal and Low. In addition, it is assumed that data traffic of these levels will occur, over a period of time, in the proportions High (H) - 20/., Medium (M) - 30/., Normal (N) - 30% and Low (L) - 20$. These proportions may be varied at will or may be fixed within the scheduling means. The priority selection means to be described handles only the control information associated with data to be transmitted and does not itself handle the data. Referring now to the drawing, control information relating to data from a source user which is to be transmitted to a destination user is applied to one of a number of buffers 10 to 13- This control information includes a digital representation of the priority given to the associated data by the source user, Each priority level is allocated a separate buffer, here shown as 10 to 13, in the appropriate one of which the control information relating to each particular packet of data is stored. For each of the buffers 10 to 13 an overflow threshold level Td, and an override threshold level Ts is defined, both being between the empty (E) and full (F) levels indicated on the drawing. A register 14 stores a predefined binary lookup table, having 2 n elements, which defines the different levels of priority and their relative proportions suggested above (i.e. each symbol appears in the table in the proportions suggested above) , each priority level being represented, for example, by a two-digit binary number, hereinafter referred to as the priority symbol. A random number generator 15, such as a linear feedback shift register, hereinafter called an LFSR, provides at any instant one of 2 n binary numbers as an input to the lookup table 14 which results in a priority symbol being generated by the lookup table 14 to an override gating arrangement such as a multiplexer 16. This has one input provided when the contents of any one of the registers 10 to 13 reaches the override threshold level Ts , and the input identifies the priority of the queue which has given rise to this input. A further input to multiplexer 16 is provided by a further gating arrangement, such as overflow multiplexer 17. This has two inputs, one of which is the priority symbol output of the lookup table 14. The other input of the multiplexer 17 is provided when the contents of any one of the buffers 10 to 13 reaches the overflow threshold level Td. The multiplexer provides, in the embodiment being described, a statistical 50/50 probability of the priority symbol from the lookup table being changed to that designating the buffer giving rise to the overflow signal. The output from the multiplexer 16 is a two-digit priority symbol which is passed to a selector 18 which determines which of the buffers provides an output to be applied to further sections of the switching apparatus which do not form part of the present invention. In operation, the control information associated with each packet of data to be applied to the switching apparatus is stored in the appropriate one of the buffers 10 to 13. The LFSR generates a sequence of pseudo-random numbers each of which, in the normal course of events, causes a two-digit priority symbol to be generated by the register Inland passed to the selector 18 via multiplexers 16 and 17 to select the output of that buffer containing control information of that priority level to be passed to other parts of the switching apparatus. In the event that one of the buffers 10 to 13 is filled sufficiently to give rise to a Td output, then a signal is applied to the overflow multiplexer 17. This may cause the priority symbol applied to multiplexer 16 to be changed to cause selector 18 to select the output of that buffer giving rise to the overflow signal, in 50% of instances. Thus the priority symbol applied to the selector means 18 from multiplexer 16, and hence the buffer selected to provide an output, may or may not be changed in that particular instance. When the multiplexer does not provide an overflow output, then there is no change to the previously selected priority symbol. It is convenient to provide a further level of control over the output of the priority selector. In the event that one of the buffers 10 to 13 is filled to the Ts threshold, an override input is applied by that buffer to the multiplexer 16. This forces the priority symbol to be changed to that denoting the buffer giving rise to the signal, so that the next control information to be selected by selector 18 is from that particular buffer. It will be understood that many of the features of the apparatus described above may be modified. For example, the overflow facility may be omitted so that only override is provided when a buffer is filled to its override threshold level Ts. Alternatively, the chance of an override being applied by multiplexer 16, given above as 50%, may be set at any desired level and may, in practice, be made variable in accordance with the density of traffic received or on other parameters of the traffic flow through the switching apparatus. The number of priority levels and their expected relative proportions may be varied, as has already been stated, and these also may be continuously varied in accordance with traffic patterns. It will be appreciated that the "fairness" of the selection of data of each priority level will be affected both by the position of the threshold levels Ts and Td and by the proportions in which each priority is allocated part of the lookup table.

Claims: CLAIMS 1. Priority selection means for data switching apparatus which includes buffer means operable to receive control information relating to data to be transmitted through the data switching apparatus, the buffer means comprising a separate buffer arranged to store control information having each of a predetermined number of priority levels and each buffer being arranged to deliver an overflow signal when its contents reach a first predetermined level, storage means operable to store digital priority symbols representative of the different priority levels denoted by control information received by the buffer means, a random number generator operable to generate a succession of numbers each of which selects a corresponding priority symbol from the storage means, gating means responsive to the receipt of the overflow signal from any one of the buffers and operable with a predetermined probability of changing the priority symbol generated by the storage means to that designating the buffer giving rise to the overflow signal to change the priority symbol generated by the storage means, and selector means responsive to the output of the gating means to select an output from that buffer designated by that output. 2. Priority selection means as claimed in Claim 1 in which each buffer has a second predetermined contents level and is operable to generate an override signal when its contents reach this level, and override control means responsive to an override signal and operable to change the priority symbol to that designating the buffer giving rise to the override signal. 3. Priority selection means as claimed in either of Claims 1 or 2 in which the storage means comprises a lookup table. 4. Priority selection means as claimed in any one of Claims 1 to 3 in which the random number generator comprises a linear feedback shift register. 5. Priority selection means as claimed in any one of the preceding claims in which the probability of a change being produced by the overflow control means is variable. 6. Priority selection means as claimed in Claim 5 in which the probability of a change is continuously variable in accordance with the rate at which control information is applied to the buffers. 7 - Priority selection means substantially as herein described with reference to the accompanying drawing.

Inventors: BAKER DAVID ALEXANDER, COLLINS MICHAEL PATRICK ROBERT, BAKER, DAVID, ALEXANDER, COLLINS, MICHAEL, PATRICK, ROBERT
Applicants: BAKER DAVID ALEXANDER, COLLINS MICHAEL PATRICK ROBERT, POWER X LIMITED, BAKER, DAVID, ALEXANDER, COLLINS, MICHAEL, PATRICK, ROBERT
Application year: 1998
Main classification: H04L29
IPC codes: H04L12, H04L13, H04L29, H04Q11