Introduction to Data communication, Exams of Software Engineering

the osi model reference and the 7 layers layers of it and the duties of transport layer. the concept switching and multiplexing

Typology: Exams

2017/2018

Uploaded on 05/29/2018

katleho-makhalemele
katleho-makhalemele šŸ‡±šŸ‡ø

4

(1)

2 documents

1 / 13

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Faculty of Information & Communication Technology
Organizer/Lecturer: MRS MOKETE
Limkokwing University of Creative Technology 1
Faculty of Information and Communications Technology
IN T R O D U C T I O N T O D A T A
C O M M U N I C A T I O N : BIDC123
CH APTE R 3/ APPLICATION LAYER INTRODUCTION
Application layer is the top most layer in OSI and TCP/IP layered model. This layer
exists in both layered Models because of its significance, of interacting with user and
user applications. This layer is for applications which are involved in communication
system.
A user may or may not directly interacts with the applications. Application layer is
where the actual communication is initiated and reflects. Because this layer is on the
top of the layer stack, it does not serve any other layers. Application layer takes the
help of Transport and all layers below it to communicate or transfer its data to the
remote host.
When an application layer protocol wants to communicate with its peer application
layer protocol on remote host, it hands over the data or information to the Transport
layer. The transport layer does the rest with the help of all the layers below it.
pf3
pf4
pf5
pf8
pf9
pfa
pfd

Partial preview of the text

Download Introduction to Data communication and more Exams Software Engineering in PDF only on Docsity!

Organizer/Lecturer: MRS MOKETE

I N T R O D U C T I O N T O D A T A

C O M M U N I C A T I O N : B I D C 1 2 3

CHAPTER 3/ APPLICATION LAYER INTRODUCTION

Application layer is the top most layer in OSI and TCP/IP layered model. This layer exists in both layered Models because of its significance, of interacting with user and user applications. This layer is for applications which are involved in communication system.

A user may or may not directly interacts with the applications. Application layer is where the actual communication is initiated and reflects. Because this layer is on the top of the layer stack, it does not serve any other layers. Application layer takes the help of Transport and all layers below it to communicate or transfer its data to the remote host.

When an application layer protocol wants to communicate with its peer application layer protocol on remote host, it hands over the data or information to the Transport layer. The transport layer does the rest with the help of all the layers below it.

Organizer/Lecturer: MRS MOKETE

There’is an ambiguity in understanding Application Layer and its protocol. Not every user application can be put into Application Layer. except those applications which interact with the communication system. For example, designing software or text-editor cannot be considered as application layer programs.

On the other hand, when we use a Web Browser, which is actually using Hyper Text Transfer Protocol (HTTP) to interact with the network. HTTP is Application Layer protocol.

Another example is File Transfer Protocol, which helps a user to transfer text based or binary files across the network. A user can use this protocol in either GUI based software like FileZilla or CuteFTP and the same user can use FTP in Command Line mode.

Organizer/Lecturer: MRS MOKETE

A system can act as Server and Client simultaneously. That is, one process is acting as Server and another is acting as a client. This may also happen that both client and server processes reside on the same machine.

COMMUNICATION

Two processes in client-server model can interact in various ways:

ļ‚· Sockets

Organizer/Lecturer: MRS MOKETE

ļ‚· Remote Procedure Calls (RPC)

SOCKETS

In this paradigm, the process acting as Server opens a socket using a well-known (or known by client) port and waits until some client request comes. The second process acting as a Client also opens a socket but instead of waiting for an incoming request, the client processes ā€˜requests first’.

When the request is reached to server, it is served. It can either be an information sharing or resource request.

Organizer/Lecturer: MRS MOKETE

The Domain Name System (DNS) works on Client Server model. It uses UDP protocol for transport layer communication. DNS uses hierarchical domain based naming scheme. The DNS server is configured with Fully Qualified Domain Names (FQDN) and email addresses mapped with their respective Internet Protocol addresses.

A DNS server is requested with FQDN and it responds back with the IP address mapped with it. DNS uses UDP port 53.

Simple Mail Transfer Protocol

The Simple Mail Transfer Protocol (SMTP) is used to transfer electronic mail from one user to another. This task is done by means of email client software (User Agents) the user is using. User Agents help the user to type and format the email and store it until internet is available. When an email is submitted to send, the sending process is handled by Message Transfer Agent which is normally comes inbuilt in email client software.

Message Transfer Agent uses SMTP to forward the email to another Message Transfer Agent (Server side). While SMTP is used by end user to only send the emails, the Servers normally use SMTP to send as well as receive emails. SMTP uses TCP port number 25 and 587.

Client software uses Internet Message Access Protocol (IMAP) or POP protocols to receive emails.

File Transfer Protocol

The File Transfer Protocol (FTP) is the most widely used protocol for file transfer over the network. FTP uses TCP/IP for communication and it works on TCP port 21. FTP works on Client/Server Model where a client requests file from Server and server sends requested resource back to the client.

Organizer/Lecturer: MRS MOKETE

FTP uses out-of-band controlling i.e. FTP uses TCP port 20 for exchanging controlling information and the actual data is sent over TCP port 21.

The client requests the server for a file. When the server receives a request for a file, it opens a TCP connection for the client and transfers the file. After the transfer is complete, the server closes the connection. For a second file, client requests again and the server reopens a new TCP connection.

Post Office Protocol (POP)

The Post Office Protocol version 3 (POP 3) is a simple mail retrieval protocol used by User Agents (client email software) to retrieve mails from mail server.

When a client needs to retrieve mails from server, it opens a connection with the server on TCP port 110. User can then access his mails and download them to the local computer. POP3 works in two modes. The most common mode the delete mode, is to delete the emails from remote server after they are downloaded to local machines. The second mode, the keep mode, does not delete the email from mail server and gives the user an option to access mails later on mail server.

Hyper Text Transfer Protocol (HTTP)

The Hyper Text Transfer Protocol (HTTP) is the foundation of World Wide Web. Hypertext is well organized documentation system which uses hyperlinks to link the pages in the text documents. HTTP works on client server model. When a user wants to access any HTTP page on the internet, the client machine at user end initiates a TCP connection to server on port 80. When the server accepts the client request, the client is authorized to access web pages.

To access the web pages, a client normally uses web browsers, who are responsible for initiating, maintaining, and closing TCP connections. HTTP is a stateless protocol, which means the Server maintains no information about earlier requests by clients.

Organizer/Lecturer: MRS MOKETE

ļ‚· Domain Name Services

DNS is widely used and one of the essential services on which internet works. This system maps IP addresses to domain names, which are easier to remember and recall than IP addresses. Because network operates with the help of IP addresses and humans tend to remember website names, the DNS provides website’s IP address which is mapped to its name from the back-end on the request of a website name from the user.

FILE SERVICES

File services include sharing and transferring files over the network.

ļ‚· File Sharing

One of the reason which gave birth to networking was file sharing. File sharing enables its users to share their data with other users. User can upload the file to a specific server, which is accessible by all intended users. As an alternative, user can make its file shared on its own computer and provides access to intended users.

ļ‚· File Transfer

This is an activity to copy or move file from one computer to another computer or to multiple computers, with help of underlying network. Network enables its user to locate other users in the network and transfers files.

Organizer/Lecturer: MRS MOKETE

COMMUNICATION SERVICES

ļ‚· Email

Electronic mail is a communication method and something a computer user cannot work without. This is the basis of today’s internet features. Email system has one or more email servers. All its users are provided with unique IDs. When a user sends email to other user, it is actually transferred between users with help of email server.

ļ‚· Social Networking

Recent technologies have made technical life social. The computer savvy peoples, can find other known peoples or friends, can connect with them, and can share thoughts, pictures, and videos.

ļ‚· Internet Chat

Internet chat provides instant text transfer services between two hosts. Two or more people can communicate with each other using text based Internet Relay Chat services. These days, voice chat and video chat are very common.

ļ‚· Discussion Boards

Discussion boards provide a mechanism to connect multiple peoples with same interests. It enables the users to put queries, questions, suggestions etc. which can be seen by all other users. Other may respond as well.

Organizer/Lecturer: MRS MOKETE

Bibliography & References

Available at:http://www.tutorialspoint.com/data_communication_computer_network/dcn_quick_gui de.htm

[Accessed: 08 February 2016]

Curt M. White. Data Communications and Computer Networks: A Business User's Approach, 8th Edition, Cengage Learning, 2015.

Jerry Fitzgerald. Business Data Communications and Networking, 12th Edition, Wiley,