>

Distributed Systems - Assignment 1

This assignment will be discussed on November 7

Question 1 Question 2 Question 3 Question 4 Question 5 Question 6
 
The boxes denote the different concurrent processes in this system. The environment of the telephone switch consists of phones A and B. Each one of the phones has a software process in the switch corresponding to it, called the phone handler. Assume that the phones communicate with the phone handlers via message exchanges through a priori unbounded channels, as do the phone handlers amongst each other. The arrows indicate possible messages that can flow between the phones and the phone handlers, and between the phone handlers. Informally, the meaning of these messages is as follows: We want to focus on an asymmetric call processing system, i.e., only A can call be, and not vice versa. Assume that the system is a layered protocol architecture: the messages exchanged between the switch and the phones correspond to service requests, while the messages exchanged between processes correspond to a protocol in order to provide this service. (Actually, this may be a telephony-over-IP network, and hence the signalling messages between the phones may be exchanged as TCP messages over an IP network.)
  1. Using communicating finite state machines, model the behaviour of the protocol machines in the phones A and B. Say exactly which parts of the formal definition given in class corresponds to which set.
  2. Add the behaviour of the phones A and B.
  3. Is any of the communication channels in the system bounded?
  4. Can you find a deadlock situation in the system?