Docsity

cs601 Handouts - Data Communication, Lecture notes of Data Communication Systems and Computer Networks

Partial preview of the text

Download cs601 Handouts - Data Communication and more Lecture notes Data Communication Systems and Computer Networks in PDF only on Docsity!

Table of Contents

  • Data Communication CS
  • Lecture No. 1 .....................................................................................................
  • Lecture No. 2 ...............................................................................................................
  • Lecture No. 3 ...............................................................................................................
  • Lecture No. 4 ...............................................................................................................
  • Lecture No. 5 ...............................................................................................................
  • Lecture No. 6 ...............................................................................................................
  • Lecture No. 7 ...............................................................................................................
  • Lecture No. 8 ...............................................................................................................
  • Lecture No. 9 ...............................................................................................................
  • Lecture No. 10 .............................................................................................................
  • Lecture No. 11 .............................................................................................................
  • Lecture No. 12 .............................................................................................................
  • Lecture No. 13 .............................................................................................................
  • Lecture No. 14 .............................................................................................................
  • Lecture No. 15 .............................................................................................................
  • Lecture No. 16 .............................................................................................................
  • Lecture No. 17 .............................................................................................................
  • Lecture No. 18 .............................................................................................................
  • Lecture No. 19 .............................................................................................................
  • Lecture No. 20 .............................................................................................................
  • Lecture No. 21 ...........................................................................................................
  • Lecture No. 22 ...........................................................................................................
  • Lecture No. 23 ...........................................................................................................
  • Lecture No. 24 ...........................................................................................................
  • Lecture No. 25 ...........................................................................................................
  • Lecture No. 26 ...........................................................................................................
  • Lecture No. 27 ...........................................................................................................
  • Lecture No. 28 ...........................................................................................................
  • Lecture No. 29 ...........................................................................................................
  • Lecture No. 30 ...........................................................................................................
  • Lecture No. 31 ...........................................................................................................
  • Lecture No. 32 ...........................................................................................................
  • Lecture No. 33 ...........................................................................................................
  • Lecture No. 34 ...........................................................................................................
  • Lecture No. 35 ...........................................................................................................
  • Lecture No. 36 ...........................................................................................................
  • Lecture No. 37 ...........................................................................................................
  • Lecture No. 38 ...........................................................................................................
  • Lecture No. 39 ...........................................................................................................
  • Lecture No. 40 ...........................................................................................................
  • Lecture No. 41 ...........................................................................................................
  • Lecture No. 42 ...........................................................................................................
  • Lecture No. 43 ...........................................................................................................
  • Lecture No. 44 ...........................................................................................................
  • Lecture No. 45 ...........................................................................................................

INTRODUCTION TO DATA COMMUNICATION

DEFINITION OF DATA COMMUNICATION

“Data Communication is the exchange of Information from one entity to the other using a Transmission Medium ”.

DEFINITION OF DATA COMMUNICATION (Cont’d)

As you can clearly notice, the definition of Data Communication although Simple leaves many questions unanswered:

¾ Exchange?????? ¾ Information????? ¾ Entities??????? ¾ Transmission???? ¾ Medium????

We will try to answer all these Questions in this Course

History of Data Communication

Data communications history represents a blend of histories, including:

¾ The history of the telecommunications industry ¾ The history of data communications, and ¾ The history of the Internet

™ Telegraph 1837 Samuel Morse

Modern telecommunication industry began in 1837 with the invention of the telegraph by Samuel Morse

This led to building a telecommunications infrastructure of poles and wires as well as to the development of communication hardware and protocols

™ Telephone 1876 Alexander Graham Bell

Invention of telephone by Alexander Graham Bell in 1876 and the development of wireless communication technology by Guglielmo Marconi in the 1890s set the stage for today’s communication industry

™ By 1950’s

By 1950s, telephone and telegraph companies had developed a network of communication facilities throughout the industrialized world

™ 1970’S

Although development of databases, languages, operating systems, and hardware was strong from 1950s to 1970s, large-scale data communication systems did not emerge until the 1970s.

This was stimulated by 3 major developments :

¾ Large-scale integration of circuits reduced cost and size of terminals and communication equipment

¾ New software systems that facilitated the development of data communication networks ¾ Competition among providers of transmission facilities reduced the cost of data circuits

TODAY’S EVERGHANGING & BUSY WORLD

o Today’s fast world demands better, secure and most of all FAST ways of communication o Gone are the days when you had to wait a couple of weeks to get a letter from USA o Why wait ONE week when you can get the information you require in just a split of a second, using what we know by the name of “ DATA COMMUNICATION”.

HOW TO ACHIEVE THIS?

o How to achieve this ACCURACY, SECURITY and SPEED for the transfer of this information? o What HARDWARE and the SOFTWARE is needed? o And, what should be the MEANS of sending this info?

ARE SOME OF TOPIC WE WILL BE EXPLORING DURING THE COURSE OF OUR STUDY

DATA COMMUNICATION

o When we communicate , we share information o Information can be LOCAL or REMOTE o Between Individuals LOCAL communication occurs face to face o REMOTE communication occurs over a long distance o When we refer to COMPUTER SYSTEMS, Data is represented in the form of Binary Units (Bits) in the form of Zeros (0’s) and One’s (1’s) o Also the entities can most of the times be considered to be COMPUTERS

Data Communication Definition (Modified)

Therefore, our earlier definition can easily be modified to:

“Data Communication is the exchange of data (in the form of 0’s and 1’s) between two devices (computers) via some form of the transmission medium.”

LOCAL and REMOTE Data Communication

™ LOCAL

Data communication is considered to be local if the communicating devices are present in the same building or a similarly restricted geographical area

™ MESSAGE

¾ Information or Data to be communicated ation of these

Data Communication Messages

9 Files

¾ Can be text, numbers, video or any combin ¾ In short anything that can be represented using binary bits

(meaningful collections of records) 9 Data/information requests (database queries, Web page requests,

9 nses

etc.) Respo to requests and commands or error messages 9 Status messages (about the network’s functional status) 9 Control messages transmitted between network devices to control

9 e

network traffic Correspondenc among network users

MESSAGE TYPES

¾ Device that sends the data message ideo camera etc ght not be in the

™ RECEIVER

¾ Device that receives the message elevision etc n medium may not be in a proper form to be supplied to the receiver and it must be processed

™ SENDER
™ SENDER

¾ Can be a Computer , Workstation, V ¾ As already discussed, the data from the sender mi appropriate format for the transmission medium and will need to be processed

¾ Can be a computer, workstation, T ¾ At times, the data received from the transmissio

™ MEDIU

¾ Physical path that a message uses to travel from the Sender to the iver ¾ Can be a Copper Cable (Telephone), Coaxial Cable (Cable TV),

¾ see that Data needs to be transferred in the form of

M

Rece

Fiber Optic Cable, LASERS or Radio Waves (Wireless Medium) We will ELECTROMAGNETIC signals and The Transmission Medium should be capable of carrying these EM Signals ¾ Transmission Media

Transmission Media

Medium Speed Cost

Tw isted Wire 300bps-10Mbps Low

Microwave 256Kbps-100Mbps Low

Coaxial Cable 56Kbps-200Mbps Low

Fiber Optic Cable 500Kbps-10Gbps High

™ PROTOCOL

¾ Set of Rules Governing Communication nts an Agreement between communication devices ¾ Without Protocol, two devices may be connected but they will not

can only communicate provided they both speak the same language.

A little

¾ Represe

be able to communicate

9 EXAMPLE : Consider the communication between two individuals. They

more complex Comm. System

¾ The data viewed by user m’ will usually be an exact copy of the data sent ‘m’

EXAMPLE-Telephone System

o Input to the Telephone is a message ‘m’ in the form of sound waves o The sound waves are converted by telephone into electric signals of the same frequency o These signals are transmitted w/o any modification over the telephone line o Hence g(t) and s(t) are identical o S(t) will suffer some distortion so that r(t) will not be the same as s(t) o R(t) is converted back to sound waves with no attempt of correction or improvement of signal quality

o Thus m’ is not an exact replica of m

An Actual Digital Data Communication System Key Data

Communication Terminology

™ Session : communication dialog between network users or applications Different Types of this session for Info Exchange ™ Network : interconnected group of computers and communication devices We will look into it in a little bit ™ Node : a network-attached device Node can be any device in the network

Summary Š Data Communication Š Brief History of Communication Š Data Communication System Š Key Data Communication Terminology

Reading Sections Š Section 1.2, “Data Communications and Networking” 4th Edition by Behrouz A. Forouzan Š Sections 1.1, 1.2, “Data and Computer Communication” 6th Edition by William Stallings

¾ LANS
¾ WANS

DISTRIBUTED PROCESSING

o Instead of a single large machine being responsible for all aspects of a process , each separate computer handles a subset of the task 9 Example – Project Given as a part of the Course 9 Example – Office Work

Advantages of Distributed Processing

™ Security

A system designer can limit the kind of interaction that a given user can have with the entire system.

9 For example : Bank’s ATM

™ Distributed Data bases

No one system need to provide storage capacity for the entire database

9 For example WWW gives user access to pages stored anywhere on Internet

™ Faster Problem Solving

Multiple computers working on a problem can solve a problem faster than a computer working alone

™ Security through Redundancy

Multiple computers running the same program provide security through redundancy If one computer hardware breaks down then others cover up.

™ Collaborative Processing

Both multiple computers and multiple users can interact for a task

Network Criteria

™ Performance

Can be measured in many ways including Transit and Response Time

o Depends on a no. of Factors:

¾ Number of USERS ¾ Type of Transmission Medium ¾ Hardware ¾ Software ¾ Network Criteria

¾ Number of USERS

9 Large Number of concurrent users slow network 9 Design of a network 9 Peak Load Periods 9 Network Criteria ¾ Type of Transmission Medium

9 Medium defines speed at which data can travel 9 Fiber Optic Cable 9 100Mbps and 10 Mbps 9 Hardware 9 Software ¾ Hardware

9 Effect speed and the capacity of transmission 9 Fast computer with large storage capacity 9 Software 9 Network Criteria

¾ Software

o Computer Aided Design facturing

o Computer Assisted Manu o Network Applications

Electronic Messaging

™ Teleconferencing

o Conferences to occur w/o participants at the same place

Conferencing

o Chat o Voice o Video Conferencing

™ Cable Television

ummary

Š Key Data Communication Terminology

ions

eading Sections

Š Section 1.3, “Data Communications and Networking” 4th Edition by Behrouz A.

Š .3, “Data and Computer Communication” 6th Edition by William

S

Š Networks and why we need them? Š Distributed Processing Š Network Criteria Š Network Applicat

R

Forouzan Sections 1 Stallings

LECTURE

Communication Tasks

There are some key tasks that must be performed in a data communication system Elements can be added, deleted, or merged together

Transmission System utilization Interfacing

Signal Generation Synchronization

Exchange Management Error Detection and Correction

Flow Control Addressing

Routing Recovery

Security Network Management

™ Transmission System Utilization

Need to make efficient use of Transmission facilities that are shared among a no. of communicating devices

For Example: 9 Techniques like Multiplexing to allow multiple users to share total capacity of a Transmission Medium 9 Congestion Control : TX. System should not be overwhelmed by traffic

™ Interfacing A device must have an Interface with the Transmission System/Transmission Medium

™ Signal Generation

Electromagnetic Signals travel over Transmission Medium. Once an interface is established, Signal generation is required

¾ Properties of Signals 9 Capable of being propagated over TX. Medium 9 Interpretable as data at the Receiver

™ Synchronization The transmission and the reception should be properly synchronized. Synchronization means that the receiver must be able to determine, when to

Now, two entities in different systems cannot just send data and expect to be understood. For communication to occur, these entities must agree on a PROTOCOL

PROTOCOLS

As discussed earlier , “Protocol is a set of rules governing communication”

o Two computers cannot just send bit streams to each other and expect to be understood o Entities must agree on a PROTOCOL

9 Same Example French and German

Protocol defines :

¾ What is Communicated? ¾ How it is Communicated? ¾ When it is Communicated?

KEY elements of a PROTOCOL

™ Syntax:

¾ Represents the Structure or the format of the Data ¾ Meaning the order in which data is presented

For Example 9 First eight bits to be Sender address 9 Next eight to be Receiver’s Address 9 The Rest to be Data

™ Semantics:

¾ Refer to the Meaning of each section of bits ¾ How is a particular pattern to be interpreted? ¾ What action should be taken based on interpretation?

For Example 9 Does an address identify the route to be taken or the final destination of the message? ™ Timing

Refers to 2 characteristics: ¾ When data should be sent? ¾ How fast it should be sent?

For Example 9 If sender produces data at 100 Mbps 9 But Receiver can only process data at 1 Mbps 9 The TX. will overload receiver and data will be lost

Protocol Architecture

Instead of having a single Module for performing communication, there is a structured set of modules that implement communications function” This structure is called Protocol Architecture Let’s explain it by an example of File transfer system.

Simplified File Transfer Architecture

In the above example File transfer could use three modules

¾ File transfer application ¾ Communication service module ¾ Network access module

™ File transfer application

File Transfer contains all of the logic is unique to the file transfer application such as: ¾ Transmitting passwords ¾ File Commands

9 Checking File System on other machine if it is ready 9 Check File System Compatibility ¾ File records

™ Communication service module Instead of allowing File Transfer Module to deal with actual transfer of data and commands, we can have a separate module for this transfer. This module must make sure that the receiver system is ready to receive and look into the reliable exchange of data

™ Network access module

Nature of the exchange between systems is independent of the network that connects them. That allows us to have a 3rd module that handles the details of the Network interface and interacts with the network. If Network to be used changes, only Network access Module has to change