1 / 17

The Application Layer

The Application Layer. Networks : 13:00 to 16:00 W1.01 Arron Martin Zeus Brown. OSI or TCP/IP. OSI (Open Systems Interconnection) model. TCP/IP Model. Application Layer. Top of stack works for user programs provides services e.g. NFS, remote command execution, user authentication

abdul-cline
Download Presentation

The Application Layer

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The Application Layer Networks : 13:00 to 16:00 W1.01 Arron Martin Zeus Brown

  2. OSI or TCP/IP

  3. OSI (Open Systems Interconnection) model

  4. TCP/IP Model

  5. Application Layer • Top of stack • works for user programs • provides services • e.g. NFS, remote command execution, user authentication • architecture neutral • additonal - defines protocols for full-screen text editor! (why?)

  6. Application Layer • Does not • run programs • require programs to know protocols • Does • embody interface between user programs and presentation layer • Allow client-server interaction to occur

  7. Clients & Servers • Client • works on behalf of the user • Server • provides access to resources • controls access to resources • manages requests • maintains resource integrity

  8. Server Examples • SMTP • POP • IMAP • MAPI • Windows • Linux • etc. etc. etc. • X11 • NFS • SMB • LPD • WWW • FTP • TELNET

  9. Client Server Client-Server example Request R Grant - ID Perform on ID Result Release ID ACK

  10. Note • Client should block until its request has been fulfilled • Server decides order of allocation • (cf O/S resource management rules - DEADLOCK handling)

  11. Requirements - 1 • Application Protocol • Common Language • supporting all possible operations • e.g. • “Open file” • “Write to file” • “Read from file” • “Close file” • two-way if necessary (acknowledgements, errors etc.)

  12. Requirements - 2 • Lower-level protocols • support adequate communications • reliability • delivery modes • Network/Comms infrastructure

  13. Lower Level Models • IP suite • TCP vs UDP • Sockets & Ports • RPC, RMI • DCOM • RPC • ORBs (CORBA etc.) More on these later…...

  14. Server Types • State driven • require exact sequence of events • break if sequence breaks • complete conversations only • Stateless • handle partial conversations • cope with broken / incomplete event sequences

  15. State Driven servers • Based on Finite State Machines (FSMs) or Finite State Automata • Each event causes the machine to move to a new state from which events will cause more transitions. • In any state, an unknown or unexpected event will be a problem. • If an event does not occur - what happens to the machine ?

  16. Stateless servers • Not state driven • Event driven • (cf WIMP system) • Any event can happen at any time • Server will process correctly • (cf WWW server) • More complex - more robust

  17. Tutorial Topic • HTTP • (N.B. HTTPS is HTTP working through an encrypting presentation layer for added “security” [some argue that HTTP works at the application & session layers too] )

More Related