Communication
Download
1 / 46

Communication - PowerPoint PPT Presentation


  • 85 Views
  • Uploaded on

Communication. Chapter 2. Layered Protocols (1). 2-1. Layers, interfaces, and protocols in the OSI model. Layered Protocols (2). 2-2. A typical message as it appears on the network. Data Link Layer. 2-3. Discussion between a receiver and a sender in the data link layer.

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Communication' - vail


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Communication

Communication

Chapter 2


Layered protocols 1
Layered Protocols (1)

2-1

  • Layers, interfaces, and protocols in the OSI model.


Layered protocols 2
Layered Protocols (2)

2-2

  • A typical message as it appears on the network.


Data link layer
Data Link Layer

2-3

  • Discussion between a receiver and a sender in the data link layer.


Client server tcp
Client-Server TCP

2-4

  • Normal operation of TCP.

  • Transactional TCP.


Middleware protocols
Middleware Protocols

2-5

  • An adapted reference model for networked communication.


Conventional procedure call
Conventional Procedure Call

  • Parameter passing in a local procedure call: the stack before the call to read

  • The stack while the called procedure is active


Client and server stubs
Client and Server Stubs

  • Principle of RPC between a client and server program.


Steps of a remote procedure call
Steps of a Remote Procedure Call

  • Client procedure calls client stub in normal way

  • Client stub builds message, calls local OS

  • Client's OS sends message to remote OS

  • Remote OS gives message to server stub

  • Server stub unpacks parameters, calls server

  • Server does work, returns result to the stub

  • Server stub packs it in message, calls local OS

  • Server's OS sends message to client's OS

  • Client's OS gives message to client stub

  • Stub unpacks result, returns to client


Passing value parameters 1
Passing Value Parameters (1)

2-8

  • Steps involved in doing remote computation through RPC


Passing value parameters 2
Passing Value Parameters (2)

  • Original message on the Pentium

  • The message after receipt on the SPARC

  • The message after being inverted. The little numbers in boxes indicate the address of each byte


Parameter specification and stub generation
Parameter Specification and Stub Generation

  • A procedure

  • The corresponding message.


Doors
Doors

  • The principle of using doors as IPC mechanism.


Asynchronous rpc 1
Asynchronous RPC (1)

2-12

  • The interconnection between client and server in a traditional RPC

  • The interaction using asynchronous RPC


Asynchronous rpc 2
Asynchronous RPC (2)

2-13

  • A client and server interacting through two asynchronous RPCs


Writing a client and a server
Writing a Client and a Server

2-14

  • The steps in writing a client and a server in DCE RPC.


Binding a client to a server
Binding a Client to a Server

2-15

  • Client-to-server binding in DCE.


Distributed objects
Distributed Objects

2-16

  • Common organization of a remote object with client-side proxy.


Binding a client to an object
Binding a Client to an Object

Distr_object* obj_ref; //Declare a systemwide object referenceobj_ref = …; // Initialize the reference to a distributed objectobj_ref-> do_something(); // Implicitly bind and invoke a method

(a)

Distr_object objPref; //Declare a systemwide object referenceLocal_object* obj_ptr; //Declare a pointer to local objectsobj_ref = …; //Initialize the reference to a distributed objectobj_ptr = bind(obj_ref); //Explicitly bind and obtain a pointer to the local proxyobj_ptr -> do_something(); //Invoke a method on the local proxy

(b)

  • (a) Example with implicit binding using only global references

  • (b) Example with explicit binding using global and local references


Parameter passing
Parameter Passing

2-18

  • The situation when passing an object by reference or by value.


The dce distributed object model
The DCE Distributed-Object Model

2-19

  • Distributed dynamic objects in DCE.

  • Distributed named objects


Persistence and synchronicity in communication 1
Persistence and Synchronicity in Communication (1)

2-20

  • General organization of a communication system in which hosts are connected through a network


Persistence and synchronicity in communication 2
Persistence and Synchronicity in Communication (2)

  • Persistent communication of letters back in the days of the Pony Express.


Persistence and synchronicity in communication 3
Persistence and Synchronicity in Communication (3)

2-22.1

  • Persistent asynchronous communication

  • Persistent synchronous communication


Persistence and synchronicity in communication 4
Persistence and Synchronicity in Communication (4)

2-22.2

  • Transient asynchronous communication

  • Receipt-based transient synchronous communication


Persistence and synchronicity in communication 5
Persistence and Synchronicity in Communication (5)

  • Delivery-based transient synchronous communication at message delivery

  • Response-based transient synchronous communication


Berkeley sockets 1
Berkeley Sockets (1)

  • Socket primitives for TCP/IP.


Berkeley sockets 2
Berkeley Sockets (2)

  • Connection-oriented communication pattern using sockets.


The message passing interface mpi
The Message-Passing Interface (MPI)

  • Some of the most intuitive message-passing primitives of MPI.


Message queuing model 1
Message-Queuing Model (1)

2-26

  • Four combinations for loosely-coupled communications using queues.


Message queuing model 2
Message-Queuing Model (2)

  • Basic interface to a queue in a message-queuing system.


General architecture of a message queuing system 1
General Architecture of a Message-Queuing System (1)

  • The relationship between queue-level addressing and network-level addressing.


General architecture of a message queuing system 2
General Architecture of a Message-Queuing System (2)

2-29

  • The general organization of a message-queuing system with routers.


Message brokers
Message Brokers

2-30

  • The general organization of a message broker in a message-queuing

  • system.


Example ibm mqseries
Example: IBM MQSeries

2-31

  • General organization of IBM's MQSeries message-queuing system.


Channels
Channels

  • Some attributes associated with message channel agents.


Message transfer 1
Message Transfer (1)

  • The general organization of an MQSeries queuing network using routing tables and aliases.


Message transfer 2
Message Transfer (2)

  • Primitives available in an IBM MQSeries MQI


Data stream 1
Data Stream (1)

  • Setting up a stream between two processes across a network.


Data stream 2
Data Stream (2)

2-35.2

  • Setting up a stream directly between two devices.


Data stream 3
Data Stream (3)

  • An example of multicasting a stream to several receivers.


Specifying qos 1
Specifying QoS (1)

  • A flow specification.


Specifying qos 2
Specifying QoS (2)

  • The principle of a token bucket algorithm.


Setting up a stream
Setting Up a Stream

  • The basic organization of RSVP for resource reservation in a distributed

  • system.


Synchronization mechanisms 1
Synchronization Mechanisms (1)

  • The principle of explicit synchronization on the level data units.


Synchronization mechanisms 2
Synchronization Mechanisms (2)

2-41

  • The principle of synchronization as supported by high-level interfaces.


ad