Top Banner
1 Overview of Data Communication Overview of Data Communication and Computer Networks and Computer Networks JUNAID QADAR JUNAID QADAR MSC ELECTRONICS (PREV) MSC ELECTRONICS (PREV) Department of Electronics Department of Electronics University of Peshawar University of Peshawar
43
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Data Communication and Computer Networking Part # 1

11

Overview of Data CommunicationOverview of Data Communicationand Computer Networksand Computer Networks

JUNAID QADAR JUNAID QADAR MSC ELECTRONICS (PREV) MSC ELECTRONICS (PREV)

Department of Electronics Department of Electronics University of PeshawarUniversity of Peshawar

Page 2: Data Communication and Computer Networking Part # 1

22

OutlineOutline Data Communication OverviewData Communication Overview

DefinitionDefinition ComponentsComponents Protocols and standardsProtocols and standards

Network OverviewNetwork Overview ConnectivityConnectivity CategoriesCategories InternetworksInternetworks

Page 3: Data Communication and Computer Networking Part # 1

33

Motivations Motivations Efficient way to share resourcesEfficient way to share resources

Cost Cost –– less expensive less expensive Accessibility Accessibility –– easier easier

Efficient way to exchange informationEfficient way to exchange information Time Time –– faster faster Size Size –– bigger bigger Correctness Correctness –– more accurate more accurate

Page 4: Data Communication and Computer Networking Part # 1

44

Data Communication: Data Communication: DefinitionDefinition

Data Communication:Data Communication:

Transfer of data from one device to another via some form of transmission medium.

Transfer of data from one device to another via some form of transmission medium.

Page 5: Data Communication and Computer Networking Part # 1

55

Data CommunicationData Communication

Hi, how are you?

01010001

Hi, how are you?

UserComputer

you?

how

are

Hi,

you?

how

are

Hi,

01010001

Page 6: Data Communication and Computer Networking Part # 1

66

Components in CommunicationComponents in Communication

Hi, how are you?

5 Protocol

4 Medium

3 Receiver2 Sender

1 Message

Page 7: Data Communication and Computer Networking Part # 1

77

Data RepresentationData Representation NumbersNumbers

8/16/32 bit integers8/16/32 bit integers floating pointfloating point

TextText ASCII, UnicodeASCII, Unicode

ImagesImages Bit patterns, Graphics formats JPG/GIF/etcBit patterns, Graphics formats JPG/GIF/etc

Audio Audio →→ Samples of continuous signal Samples of continuous signal Video Video →→ Sequence of bitmap images Sequence of bitmap images

150

2

255

Page 8: Data Communication and Computer Networking Part # 1

88

Protocols and StandardsProtocols and Standards ProtocolProtocol

A set of rules governing data communicationsA set of rules governing data communications Syntax:Syntax: format of data block format of data block Semantics:Semantics: meaning of each section meaning of each section Timing:Timing: speed and sequencing speed and sequencing

StandardsStandards De factoDe facto (in practice) standards (in practice) standards

→→ not approved but widely adoptednot approved but widely adopted De jureDe jure (in law) standards (in law) standards

→→ approved by an organizationapproved by an organization

Page 9: Data Communication and Computer Networking Part # 1

99

Standards OrganizationsStandards Organizations Creation CommitteesCreation Committees

ISO, ITU-T, ANSI, IEEE, EIAISO, ITU-T, ANSI, IEEE, EIA ForumsForums Regulatory AgenciesRegulatory Agencies

Page 10: Data Communication and Computer Networking Part # 1

1010

Direction of Data FlowDirection of Data Flow SimplexSimplex : One direction only: One direction only

Server Monitor

data flow

Keyboard

data flow

Page 11: Data Communication and Computer Networking Part # 1

1111

Direction of Data FlowDirection of Data Flow Half Duplex:Half Duplex: Both directions, one at a time Both directions, one at a time

E.g., walkie-talkiesE.g., walkie-talkies

data flow at time 1

data flow at time 2

Page 12: Data Communication and Computer Networking Part # 1

1212

Direction of Data FlowDirection of Data Flow Full DuplexFull Duplex : Both directions simultaneously: Both directions simultaneously

E.g., telephoneE.g., telephone

Can be emulated on a single communication link Can be emulated on a single communication link using various methodsusing various methods

data flow

data flow

Page 13: Data Communication and Computer Networking Part # 1

1313

NetworksNetworks Network: Network: a set of devices connected by a set of devices connected by

media linksmedia links

Media Links

Printer

Workstation

Laptop

Scanner

Server

SD

iMac

Page 14: Data Communication and Computer Networking Part # 1

1414

Types of ConnectionsTypes of Connections Point-to-pointPoint-to-point Multipoint (multidrop)Multipoint (multidrop)

Page 15: Data Communication and Computer Networking Part # 1

1515

Point-To-Point ConnectionPoint-To-Point Connection

Page 16: Data Communication and Computer Networking Part # 1

1616

Multipoint ConnectionMultipoint Connection

Wireless

Page 17: Data Communication and Computer Networking Part # 1

1717

TopologyTopology Topology: physical or logical arrangement Topology: physical or logical arrangement

of devicesof devices MeshMesh StarStar BusBus RingRing HybridHybrid

Page 18: Data Communication and Computer Networking Part # 1

1818

Fully Connected Mesh TopologyFully Connected Mesh Topology

A

CB

D

E

Page 19: Data Communication and Computer Networking Part # 1

1919

Fully Connected Mesh TopologyFully Connected Mesh Topology

Page 20: Data Communication and Computer Networking Part # 1

2020

Fully Connected Mesh TopologyFully Connected Mesh Topology Pros:

Dedicated links Robustness Privacy Easy to identify fault

Cons: A lot of cabling I/O ports Difficult to move

Page 21: Data Communication and Computer Networking Part # 1

2121

Star TopologyStar Topology

Hub

A D

B CDrop

Drop

Page 22: Data Communication and Computer Networking Part # 1

2222

Star TopologyStar Topology

Switch

A D

B C

Page 23: Data Communication and Computer Networking Part # 1

2323

Star TopologyStar Topology

Hub

A D

B C

Page 24: Data Communication and Computer Networking Part # 1

2424

Star TopologyStar Topology Pros:

One I/O port per device

Little cabling Easy to install Robustness Easy to identify fault

Cons: Single point of failure More cabling still

required

Hub

Page 25: Data Communication and Computer Networking Part # 1

2525

Bus TopologyBus Topology

Dropline

Tap

Terminator

Page 26: Data Communication and Computer Networking Part # 1

2626

Bus TopologyBus Topology

A B C D

Page 27: Data Communication and Computer Networking Part # 1

2727

Bus TopologyBus Topology

Page 28: Data Communication and Computer Networking Part # 1

2828

Bus TopologyBus Topology Pros:

Little cabling Easy to install

Cons: Difficult to modify Difficult to isolate fault Break in the bus cable

stops all transmission

Page 29: Data Communication and Computer Networking Part # 1

2929

Ring TopologyRing Topology

A

B

C

D

Page 30: Data Communication and Computer Networking Part # 1

3030

Ring TopologyRing Topology

Page 31: Data Communication and Computer Networking Part # 1

3131

Ring TopologyRing Topology

Pros: Easy to install Easy to identify fault

Cons: Delay in large ring Break in the ring stops all

transmission

Page 32: Data Communication and Computer Networking Part # 1

3232

Hybrid TopologiesHybrid Topologies

A C TA C T

1 0 M 1 0 0 M

1 2 3 4

1 3 1 4 1 5 1 6

5 6 7 8

1 7 1 8 1 9 2 0

9 1 0 1 1 1 2

2 1 2 2 2 3 2 4

U P L I N K

1 2 3 4 5 6 7 8 9 1 0 1 1 1 2

1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0 2 1 2 2 2 3 2 4

C O LC O L

P W R

S W I T C H

A C TA C T

1 0 M 1 0 0 M

1 2 3 4

1 3 1 4 1 5 1 6

5 6 7 8

1 7 1 8 1 9 2 0

9 1 0 1 1 1 2

2 1 2 2 2 3 2 4

U P L I N K

1 2 3 4 5 6 7 8 9 1 0 1 1 1 2

1 3 1 4 1 5 1 6 1 7 1 8 1 9 2 0 2 1 2 2 2 3 2 4

C O LC O L

P W R

S W I T C H

Page 33: Data Communication and Computer Networking Part # 1

3333

Network CategoriesNetwork Categories Local Area Network (LAN)Local Area Network (LAN) Wide Area Network (WAN)Wide Area Network (WAN) Metropolitan Area Network (MAN)Metropolitan Area Network (MAN)

Page 34: Data Communication and Computer Networking Part # 1

3434

Local Area NetworksLocal Area Networks Network in a single office, building, or Network in a single office, building, or

campuscampus

Page 35: Data Communication and Computer Networking Part # 1

3535

Wide Area NetworksWide Area Networks Network providing long-distance communication Network providing long-distance communication

over a country, a continent, or the whole worldover a country, a continent, or the whole world

Page 36: Data Communication and Computer Networking Part # 1

3737

Metropolitan Area NetworksMetropolitan Area Networks Network extended over an entire cityNetwork extended over an entire city

Bangkhen Kampangsaen

Page 37: Data Communication and Computer Networking Part # 1

3838

Network of NetworksNetwork of Networks

Company A

Company D

Network Interface Card (NIC)

Company B

Company C

Page 38: Data Communication and Computer Networking Part # 1

3939

InternetworkingInternetworking How to allow devices from different How to allow devices from different

standards to communicatestandards to communicate Gateways/routersGateways/routers – devices capable of – devices capable of

communicating in several standardscommunicating in several standards

These become "These become "network of networksnetwork of networks""

Page 39: Data Communication and Computer Networking Part # 1

4040

InternetworksInternetworks Two or more networks connected become Two or more networks connected become

an an internetworkinternetwork, or , or internetinternet

Example: Example: The InternetThe Internet

Network1 Network2

Gateway

Network3

Page 40: Data Communication and Computer Networking Part # 1

4141

The InternetThe Internet The largest internetwork (network of networks) in The largest internetwork (network of networks) in

the worldthe world Devices communicating with TCP/IP protocol Devices communicating with TCP/IP protocol

suitesuite

UCLA

Stanford

UC Santa Barbara

U. of Utah

Page 41: Data Communication and Computer Networking Part # 1

4242

SummarySummary Data communicationData communication

Protocols and standardsProtocols and standards Computer networksComputer networks

TopologiesTopologies LAN/MAN/WANLAN/MAN/WAN

Internetworks (networks of networks)Internetworks (networks of networks)

Page 42: Data Communication and Computer Networking Part # 1

4343

Page 43: Data Communication and Computer Networking Part # 1

4444

THANKSTHANKS????????????