Chap 02
Chap 02
Chapter 2 Communication
Introduction
Multiple computers/subsystems jointly solve a large problem communication among them is mandatory Data to be communicated can be:
Intermediate results Shared objects Signals/interrupts
Middleware Protocols
Types of Communication
(a) Parameter passing in a local procedure call: the stack before the call to read. (b) The stack while the called procedure is active.
1. The client procedure calls the client stub in the normal way. 2. The client stub builds a message and calls the local operating system. 3. The clients OS sends the message to the remote OS. 4. The remote OS gives the message to the server stub. 5. The server stub unpacks the parameters and calls the server.
6. The server does the work and returns the result to the stub. 7. The server stub packs it in a message and calls its local OS. 8. The servers OS sends the message to the clients OS. 9. The clients OS gives the message to the client stub. 10.The stub unpacks the result and returns to the client.
(c) The message after being inverted. The little numbers in boxes indicate the address of each byte.
Three files output by the IDL (interface description language) compiler: A header file (e.g., interface.h, in C terms). The client stub. The server stub.
Registration of a server makes it possible for a client to locate the server and bind to it. Server location is done in two steps:
1. Locate the servers machine. 2. Locate the server on that machine.
Berkeley Sockets
Data Stream
The effect of packet loss in (a) non interleaved transmission and (b) interleaved transmission.
The principle of dynamically configuring a client to communicate to a server. The client first fetches the necessary software, and then invokes the server.
Research trends
Communication and service platform for NXGN and NWGN Communication middleware in parallel systems Design of advanced communication protocols for embedded networking (sensors, actors, embedded controllers, etc):
Semantics-orientation Hard spatial and temporal constraints