Distributed SPC
Distributed SPC
Distributed SPC
Outline
Introduction
Efforts to improve the speed of control
and signaling
Late 1940s and early 1950s. Use of
vacuum tubes, transistors, gas diodes,
magnetic drums and cathode ray tubes.
Arrival of modern electronic digital
computers.
The registers and translators of common
control systems can be replaced by a
single digital computer.
Distributed SPC
Gaining popularity in modern switching
systems.
Standby mode
How does it work?
All processors have the same capability
to control the switching procedure.
One processor is active and the other is
on standby, both hardware and software
wise.
The standby processor is brought online
only when the active processor fails.
Standby mode
How does the standby processor take
over the control properly?
State of the exchange system should be
clear to the standby processor as its
starting point.
Which of the subscribers are busy or
free?
Which of the trunks are busy or free?
Which of the paths are connected
through the switching network?
So on
Standby mode
Reconstitution of the state
Scanning:
The standby processor scans all status
signals as soon as it is brought into
operation.
Only the calls which are being established
at the time of failure are disturbed.
Only feasible for small exchanges.
Standby mode
Shared secondary storage:
The active processor copies system status into a
secondary storage periodically, say very 5
seconds.
As soon as a switchover occurs, the online
processor loads the most recent update of the
system status from the secondary storage and
continues the operations.
Only the calls which changed status between the
last update and the failure are disturbed.
Feasible for large exchanges.
Availability of system
A telephone exchange must show
more or less a continuous availability
over a period of 30 or 40 years.
Availability ()
Availability of a single processor system
A=MTBF/(MTBF+MTTR)
MTBF: mean time between failures
MTTR: mean time to repair, MTTR<<MTBF
normal
normal
normal
fault
normal
fault
normal
Availability of system
Unavailability of a single processor system
U=1-A=MTTR/(MTBF+MTTR)MTTR/MTBF
normal
fault
normal
normal
fault
normal
normal
fault
normal
normal
fault
normal
Availability of system
Example:
MTBF=2000hours, MTTR=4hours
U=? UD=?
Solution:
U4/2000=2x10-3
i.e. 525 hours in 30 years.
UD2x16/(2000x2000)=8x10-6
i.e. 2.1 hours in 30 years.
Coordination of functions
Priority of Control functions
Level 1: O&M and charging
Level 2: Call processing
Level 3: Event monitoring and distribution
Interrupt processing
Vectored interrupt ()
The interrupting source supplies branch address
information to the processor.
Nonvectored interrupt
A main interrupt service routine scans the
interrupt signals and decides on the appropriate
routine to service the specific interrupt.
Interrupt processing
Background
Low cost processors
Advantages
Better Availability ()
Better Reliability
Block
Block
Unit 1
Unit 2
Unit n
Control System
Vertical decomposition
Location
Close to switching network, junctors and
signalling equipment.
Representation of a process
Process Control Block (PCB)
PCB is a data structure containing relevant
information of a process
Current state of the process
Process priority and CPU scheduling parameters
Register save area to save the contents of the
CPU registers when an interrupt occurs
Memory allocated to the process
Process account like the CPU time limits and
usage, process number etc.
Status of events and I/O resources associated
with the process.
Process switching ()
Process switching occurs in following
cases:
The current running process becomes
blocked;
An event or interrupt triggers a high
priority process.
Software production
Basic factors associated with switching
software
Z.200
CCITT high level language (CHILL)
Z.300
Man-machine language (MML)
Administrative software
Maintenance software
Office parameters
Define program execution limits at specific
exchanges, such as the number of
subscribers, the maximum number of
simultaneous calls etc.
Temporary data
e.g. information specific to a process
Have a lifetime equal to the process they
pertain to
Stored as tables
Line scanning
Calling line related functions
Routing and link setup
Called line related functions
Administration
Traffic monitoring/control/billing
Maintenance
Diagnostic / preventive maintenances
Category 1
Abbreviated dialing ()
Recorded number calls or no dialing
calls ()
Call back when free ()
Category 2
Call forwarding ()
Operator answer
Category 3
Category 4
Automatic alarm
STD barring
Malicious call tracing
STDsubscriber trunk dialing
Example
Assume 10% of the subscribers to be
active on average. Set K to be N/16. The
number of switching elements is S=N2/8.
For N=1024, we have K=64, S=131072.
M inlets
N outlets
First stage
Second stage
Switching Matrices
Switching Capacity
i.e., the number of links between the first
and the second stages.
SC=sr
Blocking condition 2
9 There is a call in progress from I-th block in the first
stage to the J-th block in the second stage, and
another call originating in the I-th block destined to
the J-th block.
M ( s 1)(( M / r ) 1)
9 Blocking probability
P =
B
rs ( s 1)
Baseline networks
N
inlets
N
outlets
Nonblocking networks
N
inlets
11
11
21
21
1
N
1
N
S=kx2NxN1/2=2N2
N
outlets
Question
Is there any way to implement
blocking & nonblocking networks with
even less switching elements?
Solution: three-stage or multi-stage ~
Probability graph
Circle: stage
Line: link
A graph can be broken
down into serial and
parallel paths
Notation
: probability that a link is
busy.
=1-: probability that a
link is free.
the
meaning
of k?
Probability graph
Remarks on PB of three-stage ~
The notation k=s/p represents either
space expansion (k>1) or
concentration (k<1).
Low PB requests small / k
Design strategy
Providing adequate number of blocks in middle
stages. For three-stage networks, the value of s
should be large enough.
Construction of five-stage ~
Assignments
Ex.11
Ex.15