[0001] The invention relates to a method of overload control for the processor of the central
control of a telecommunication system, more specifically a telephone exchange of the
type commonly referred to as the Stored Program Controlled (SPC) type, which method
comprises the following steps:
(1) determining the number of calls in build-up phase in a first period of a predetermined
length;
(2) determining the demand on the capacity of the processor of the central control
in the aforesaid first period;
(3) estimating the maximum number of calls in the build-up phase which the processor
is capable of processing simultaneously in a second period of a predetermined length;
(4) determining with each new offered call in the aforesaid second period whether
thereby the instantaneous number of calls in the build-up phase reaches the maximum
number of calls estimated in step (3);
(5) accepting the offered call if the number of calls estimated in step (3) was not
reached;
(6) rejecting the offered call if the estimated number was reached;
(7) repeating steps (1) to (6) in a subsequent first period for evaluating calls in
a subsequent second period.
[0002] Such a method is known from the European Patent Application EP 096.937. In the aforesaid
patent application it is suggested to derive the maximum number of (telephone) calls
which may be processed in a given period from a combination of the number of calls
which were being processed in a preceding period and the demand on the capacity of
the central control in this period. This demand usually consists of two components:
the processor of the central control has to perform telephony tasks in a narrow sense
(taking up receiver, signalling, path finding, metering and so on) but also performs
tasks of a more general, administrative nature such as making operative or blocking,
subscriber connections, locating errors and processing errors and (traffic) measurements.
[0003] It is an object of the invention to provide a method of overload control with which
for the processor load an imminent overload is effectively and efficiently averted,
based on a single criterion and which criterion can be determined in a simple way.
In accordance with the invention the method of the type mentioned in the preamble
is characterized in that the number of tasks waiting to be processed by the processor
- the queue length - is used as a criterion for the demand on the capacitor to be
determined in step (2) and that the stimation made in step (3) is based on the number
of calls in build-up phase and the queue length in the first period.
[0004] The relationship between the queue length and the number of calls in build-up phase
is strongly non-linear causing minor variations in the number of calls in build-up
phase to entail a large variation in the queue length. It is favourable if the queue
length N
i is transformed according to 1/(1+N
i). This achieves a substantially linear relationship between 1/(1+N
i) and the number of calls in build-up phase so that the estimation of the maximum
number of calls in build-up phase at any moment is much less subject to fluctuations.
[0005] The invention further relates to an arrangement for implementing the method of overload
control for the central control of a telecommunication system, comprising a first
storage arrangement, a second storage arrangement, for storing the value of the number
of calls in build-up phase in the first period, a second arithmetic unit for determining
from the values recorded in the two storage arrangements the maximum number of calls
in the build-up phase, a counter for counting the instantaneous number of calls in
the b uild-up phase in a second period, a difference-producing unit for comparing
the counting position to the maximum number of calls that can be in the build-up phase,
a change-over switch, an acceptance unit and a call detector, the change-over switch
connecting the acceptance unit or the rejection unit, as the case may be, to the call
detector under the control of the difference-producing unit, the acceptance unit being
connected to the input of the counter for incrementing the counting position by one
when a call is accepted, an output of the counter being connected to an input of the
second storage arrangement for recording the counting position during or at the end
of the second period.
[0006] In accordance with the invention the arrangement is characterized in that it comprises
a register for temporarily storing the value of the queue length and likewise comprises
a first arithmetic unit connected to an output of the aforesaid register for determining
a magnitude related to the queue length, the magnitude being stored in the first storage
arrangement connected to an output of the first arithmetic unit.
[0007] The invention and its advantages will further be described in more detail with reference
to the drawing wherein:
figure 1 shows a graph of the variation of the average queue length N i as a function of the number of calls in build-up phase;
figure 2 shows a graph of the variation of the magnitude y where y=1/(1+N i) as a function of the queue length which graph underlies the method in accordance
with the invention;
figure 3 shows a diagram of an arrangement for implementing the method in accordance
with the invention.
[0008] In telecommunication systems comprising a central control, for making, maintaining
and breaking up connections, a processor is used forming part of the central control.
In automatic telephone exchanges of the stored program controlled (SPC) type signalling,
path searching, metering and traffic observation for error detection, that is to say
telephony tasks in a narrow sense, are performed by the central control. In addition,
the central control also performs tasks of an administrative nature (for example making
operative or blocking, as the case may be, subscriber connections) of a supervisory
nature (locating errors, processing errors) and of a measuring nature (for example
traffic measurements). For economic reasons the central control is dimensioned such
that the average load to be expected can be easily processed. However, in the event
of peak loads overload may cocur so that offered calls have to be rejected. In addition,
in such situations long queues of telephony tasks for the processor occur as a result
of which the requirements as regards response can no longer be met either. As processor
time is spent on rejected calls as well as on unsuccessful calls as a result of the
subscriber's impatience, the number of successfully processed calls will decrease.
[0009] The invention provides a method of overload control for the central control. The
invention is based on he understanding that a good criterion for the load of the central
control is found in the combination of the number of calls in build-up phase and the
so-called queue length. By queue length is meant the number of tasks waiting to be
performed by the processor of the central control.
[0010] Overload can be prevented by restricting the number of calls admitted to the build-up
phase to a given maximum in case of imminent overload. This can be achieved by the
dialling registers which the subscribers connected to the exchange can jointly dispose
of in case of imminent overload. In case of imminent overload the number of available
dialling registers will be reduced whereas with a decreasing load the number of dialling
registers can (will) be increased to for example a number corresponding to the average
load over for example a week. It is impractical to restrict the number of dialling
registers to a pr edetermined fixed maximum as the
traffic characteristic of an exchange can occasionally and sturcturally differ considerably
from the excepted characteristic at the time when the exchange was installed. Indeed,
the method of overload control intends to provide a self-adjusting, adaptive way of
determining the number of dialling registers.
[0011] The queue length appears to be a good indication for the processor load; it at once
indicates how much "work" is still waiting for completion at the relevant instant.
In addition, in case of overload the queue length also indicates the extent to which
the processor is overload. (If, for example, the idle fraction (the number of idle
jobs) of the processor is used as an indication of overload this will fail to provide
any insight in the extent of the overload.)
[0012] In figure 1 is shown in a graph the relation between the average queue length (N
i) and the number of calls in build-up phase (CIB). From the graph it appears that
from a specific value for the number of calls in build-up phase (CIB) the average
queue length strongly increases with a further increase of CIB. The graph is obtained
from simulation data. The maximum number of calls in build-up phase (CIB) is limited
to 17. Consequently, new calls are only accepted if there are less than 17 calls in
the build-up phase. In this simulation a call is assumed to comprise eight activities
for the processor: taking up the receiver
a (56 msec), (dialling) digit 1 (16msec), digit 2 (16 msec), digit 3 (16 msec), digit
4 (74 msec), taking up receiver
b (12 msec), putting down 1 (32 msec) and putting down 2 (16 msec). The required processor
time is stated in brackets. Thus a total of 256 msec of processor time is required
for a single call. Let the overall time for a call build-up take 5 seconds, 1 building-up
of a call will then imply (0.256/5) × 100% = 5% processor load. With 17 calls (the
maximum number of calls represented in figure 1) the processor laod will thus be approximately
85 %. This explains why the average queue length N
i in figure 1 assumes only rather limited values.
[0013] If the required processor time differs from the 0.256 msec value assumed hereinafter
by way of example the strong increase of the average queue length will occur at a
value for the number of calls in build-up phase different from the one indicated in
figure 1. The uncertainty with respect to the maximum number of calls in build-up
phase to be accepted which results from the above fact and from the fact that the
average queue length is a non-linear function of the number of calls in build-up phase,
will be removed in the way disclosed hereinbelow.
[0014] The decision about the maximum number of calls accepted to be built-up in a specific
period (for example 1 day or 1 week), is based - as stated hereinbefore - on two magnitudes:
the number of calls in build-up phase and the queue length. Determining the number
of calls which may be in the build-up phase simultaneously in a first period of a
predetermined duration can be done by counting how many calls were in the build-up
phase in the relevant period (on an average). This can be achieved by taking a number
of samples (for example every 4th second) within this first period. The procedure
is as follows: Each sub-period (for example 4 seconds) a sample-pair is taken of queue
length N
iand calls in build-up phase CIB
i. At the end of a period (for example 1 week or 1 day) the average queue length going
with CIB=12 (just by way of example) is determined by taking from all collected sample-pairs
the samples having CIB
i=12 and subsequently the associated N
i. In the second, the third and generally in each further period this sampling is repeated.
[0015] The queue length is determined at the same instant (or instants). In a manner still
further to be described a value commonly referred to as call acceptance limit CAL
is determi ned from the measurement of the queue length
and the number of calls in build-up phase in a first period.
[0016] The call acceptance limit is assumed to hold for a specified future time, namely
a second period of a predetermined value. Every offered call reaching the central
control in this second period will imcrement the number of calls in build-up phase
by one. It is then checked whether the call acceptance limit is thereby reached. If
the total of the instantaneous number of calls in build-up phase incremented by the
actual call remains below this limit the call is taken to be a call in build-up phase
and the number of calls in build-up phase is increased by one. If, on the other hand,
the limit is reached the call will be rejected. Whether a call is taken to be a call
in build-up phase or not taken will be reported to the subscriber by following the
normal, known processing method (for example by applying a dialling tone or a busy
tone, as the case may be, to the subscriber set). Each call made in the second period
is processed in this manner, that is to say accepted or rejected. It is to be considered,
though, to have a call wait for a short while after it has been rejected, and then
try to obtain acceptance once again. For during that period the number of calls in
build-up phase may have dropped below the limit as a consequence of the building-up
of a number of calls being accomplished in that period. The number of calls in build-up
phase in the second period is the balance of the number of calls which used to be
in the build-up phase at the beginning of this second period, the number of calls
accepted to the build-up phase since then and the number of calls which were processed.
[0017] At the end of the second period the entire cycle is repeated for a next, successive
third and fourth period. In this third period, however, the actualized CAL is used.
The periods can be in the order of a day or a week but can also be only a few seconds.
If the amount of traffic or the composition of traffic varies only little or if only
a structural change is to be coped with, a long period (for example a week) will be
sufficient. If fast changes should be reacted to, a short period (preferably a few
seconds) is to be preferred. In both cases it should be considered to have the periods
partly overlap thus avoiding strong limit fluctuations.
[0018] As already stated hereinbefore, the relationship between the queue length N
i and the number of calls in build-up phase CIB (figure 1) is not only strongly non-linear
but also dependent on among other things the amount of processor time required for
further processing a call. Now it is established that the relationship between the
queue length N
i and the number of calls in build-up phase CIB becomes substantially linear if not
the queue length N
i but the magnitude y = 1/(1+N
i) is plotted against the number of calls in build-up phase (see figure 2). The number
of calls that may be taken in the build-up phase so as to have the queue length not
exceed a certain limit can then be deducted from this fairly easily. With a queue
length of for example 9 solving the equality y=a.CAL+b with y=1/(1+N
i)=0.1 where
a=0.0397 and
b=0.8680 yields a value for the CAL equal to 19.35. The parameters
a and
b are determined from the linear regression applied to the values of the simulation
graph. By setting the call acceptance limit to 19 the average number of tasks to be
processed by the processor in a next period with a maximum number of calls in build-up
phase can be limited to nine. (This is only an approximation and holds only to the
extent that the amount of traffic and the composition thereof in the next period differ
too drastically from the measured values in the preceding period).
[0019] An embodiment of an arrangemnt for implementating the method of overload control
is represented in figure 3 by way of a block dia
gram. The subscriber sets T1,... Tn are each connected to an input circuit 11 of the
telecommunication system
via a two-way connection 10. The two-way connection 10 is connected to a call detector
12 comprised in the input circuit 11 and used to establish whether a subscriber makes
a call. The input circuit 11 should be enabled to either accept or reject the offered
calls. Thereto the arrangement comprises the following means. In storage arrangement
13 containing
k memory locations, there are the values
y indicating a measure for the queue length in the preceding
k sub-periods namely y₁, y₂,...y
k. These
k values form as it were the
k samples of the queue length in a first period. A value y
j representative of the queue length for the processor for example at the end of a
sub-period
j, is found by starting from the number of tasks N
j waiting to be performed by the processor at the end of the period
j.
y
j=1/(1+N
j) (1)
[0020] In each sub-period
j the value of N
j is offered to register 16. An output of this register is connected to a first arithmetic
unit 17 computing the value of y
j in accordance with formula (1). At the end of each sub-period
j the value of
y, in this sub-period
j, is written into the storage arrangement 13. This is done such that the most recently
computed value of
y replaces the least recent value in the storage arrangement 13. Therefore, the storage
arrangement 13 always contains the
k most recent values (samples) of
y. In figure 3 the values
j=1, 2, ...k are shown.
[0021] In storage arrangement 14, also containing
k locations, there are the
k values of the number of calls in build-up phase CIB
j in the last
k sub-periods. The values of CIB
j in storage arrangement 14 relate to the same subperiods as those of y
j in memory 13.
[0022] The arithmetic unit 18 computes from the values stored in the storage arrangements
13 and 14 the linear regression parameters
a and
b according to

in which in the summations "Σ" the index
j runs from 1 to
k inclusive. For the linear regression the value of the number of samples
k taken in the measuring period should not be too small. To save space in the storage
arrangements 13 and 14 the cumulated values ΣCIB
j.y
jΣCIB
j,Σy
j and ΣCIB² can be kept rather than the individual sample values. In that case only
four memory locations will be required. The call acceptance limit CAL
i will then be determined according to
CAL
i=int((y
min-B)/A) (3)
where "int((y
min-B)/A)" stands for taking the integer value. The result of this calculation CAL
i is written into register 19.
[0023] The arrangement further comprises an (up/down) counter 20 arranged to count the number
of calls in build-up phase. The counter 20 thereto comprises a first input 21 to which
an acceptance unit 23 is connected for incrementing the counting position of counter
20 each time a call is allowed to enter the build-up phase. The counter 20 further
has a second input 22 arranged to decrement the counting position of counter 20 each
time a call has been processed. Thus the counting position of counter 20 always shows
the instantaneous value of the number of calls in build-up phase.
[0024] If a call is detected by call detector 12 a difference-producing unit 25 is activated
via connection 24. The counting positions
of register 20 (CIB) supplied to the input of difference-producing unit 25 are compared
with the value (CAL
i) stored in register 19. If CIB < CAL
i a control signal coming from difference-producing unit 25 (indicated by a dashed
line in the figure) makes a change-over switch 26 assume position 26-1. This results
in the acceptance unit 23 informing the subscriber set T
j via call detector 12 that the offered call has been accepted and is allowed to enter
the build-up phase. At the same time the acceptance unit increments the counting position
by one
via input 21 of counter 20. However,if CIB > CAL
i, the change-over switch 26 is brought into position 26-2 by a control signal coming
from the difference-producing unit 25 and it is reported to the subscriber set T
j by the reject unit 27
via the call detector 12 that the offered call is rejected.
[0025] The call-acceptance limit CAL
i is valid for a second period of a predetermined length. This limit holds for all
calls offered during this period. In a consecutive second period a new value of CAL
i is used. The number of calls in build-up phase is determined during or at the end
of such a second period and supplied to storage arrangement 14 via input 28 and then
forms the most recent sample. Thus the number of calls in build-up phase during that
period is a contributary factor for the acceptance limit in the future
k sub-periods.
[0026] If the last value of the queue length N
i shows a sudden increase, this could give rise to not accepting any new calls during
the period i+1 to avoid imminent overload.
[0027] It is further useful for some applications, with CIB > CAL
i, to have new calls wait for a short time as in that time CIB may become smaller than
CAL
i. So doing a more complete utilization of the processor of the central control can
be achieved.
[0028] It can likewise be useful to have the call acceptance depend on the urgency, importance
etc. of the call. Calls which enter via trunk lines may, for example, be given a higher
priority than calls coming directly from subscribers, as the telecommunication system
has invested more in the first-mentioned calls. This can be implemented by giving
y
minin formule (3) a higher value (y
min,h) for calls having a higher priority than for calls having a lower priority (y
min,1). For this determines CAL
i(y
min,h) and CAL
i(y
min,1). Both values are applied to difference procucing unit 25. In the event that the
acceptance of a call having a higher priority has to be considered this is decided
on the basis of the result of the equation
CIB < CAL
i(y
min,h) (4a)
and in the event of a lower priority on the basis of the equation
CIB < CAL
i(y
min,1) (4a)
[0029] This differentiation accomplishes a more economical use of the central control.
[0030] It should be noted that the arrangement can be realized by means of universal sequential
logic circuits such as commercially available microprocessors with associated memories
and peripheral equipment. The processor of the central control might (also) be used
to advantage for that purpose.
[0031] Although only calls and calls in build-up phase have been discussed so far, this
strategy for overload control is not restricted to subscriber-related tasks. Other
sources of processor load such as POM (Project engineering and Operational Maintenance)
and SAS (System ASsurance) can also be taken into consideration. Dependent on the
scope of the tasks resulting from this processor load they can correspond as regards
their load to a part of the load of a call in build-up phase (CIB) or a multitude
thereof. By asks a weighting factor according to their load value the resulting
load can be calculated in CIB equivalents. This implies that a POM task is for example
reckoned as five CIB tasks if the load caused by the POM task loads the processor
five times as much as a call in build-up phase.
1. A method of overload control for the central control of a telecommunication system,
more specifically a teleophone exchange of the SPC type, the method comprising the
following steps:
(1) determining the number of calls in build-up phase in a first period of a predetermined
length;
(2) determining the demand on the capacity of the processor of the central control
in the aforesaid first period;
(3) estimating the maximum number of calls in the build-up phase which the processor
is capable of processing simultaneously in a second period of a predetermined length;
(4) determining with each new offered call in the aforesaid second period whether
thereby the instantaneous number of calls in build-up phase reaches the maximum number
of calls determined in step (3);
(5) accepting the offered call if the number of calls estimated in step (3) was not
reached;
(6) rejecting the offered call if the estimated number was reached;
(7) repeating steps (1) to (6) in a subsequent first period for evaluating calls in
a subsequent second period;
characterized in that the number of tasks waiting to be processed by the processor
- the queue length - is used as a criterion for the demand on the capacity to be determined
in step (2) and in that the estimation made in step (3) is based on the number of
calls in build-up phase and the queue length in the first period.
2. A method as claimed in Claim 1, characterized in that the estimation according
to step (3) is made with a parameter (y) derived from the queue length (N i) according to the relationship y = 1/(1+N i).
3. A method as claimed in Claim 1 or 2, characterized in that the aforesaid first
period consists of k (k > 2) sub-periods, in that in each sub-period the number of
calls in build-up phase determined in step (2) is detected as well as the queue length
determined in step (2) and in that the estimation made in step (3) is based on the
k results in the two sub-periods.
4. An arrangement for implementing the method of overload control for the central
control of a telecommunication system as claimed in Claim 1, comprising a first storage
arrangement (13), a second storage arrangement (14) for storing the value of the number
of calls in build-up phase in the first period, a second arithmetic unit (18) for
determining the maximum number of calls that can be in the build-up phase from the
stored values of the two storage arrangements (13,14), a counter (20) arranged to
count the instantaneous number of calls in the build-up phase in a second period,
a difference-producing unit (25) for comparing the counting position of the maximum
number of calls that can be in the build-up phase, a change-over switch (26), an acceptance
unit (23) and a call detector (12), the change-over switch (26) connecting the acceptance
unit (23) or the reject unit (27), as the case may be, to the call detector (12) under
the control of the difference-producing unit (25), the acceptance unit (23) being
connected to an input (21) of the counter (20) for imcrementing by one the counting
position when a call is accepted, an output (20) of the counter being connected to
an input of the second storage arrangement (14) for recording the counting position
during or at the end of the second period, characterized in that the arrangement comprises
a register (16) for temporarily storing the value of the common length and a first
arithmetic unit (17) connected to an output of the aforesaid register (16) for determining
a magnitude related to the queue length, w h magnitude is stored in
the first storage arrangement (13) connected to an output of the first arithmetic
unit (17).