Transcript

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

22

OutlineOutline Data Communication OverviewData Communication Overview

DefinitionDefinition ComponentsComponents Protocols and standardsProtocols and standards

Network OverviewNetwork Overview ConnectivityConnectivity CategoriesCategories InternetworksInternetworks

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

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.

55

Data CommunicationData Communication

Hi, how are you?

01010001

Hi, how are you?

UserComputer

you?

how

are

Hi,

you?

how

are

Hi,

01010001

66

Components in CommunicationComponents in Communication

Hi, how are you?

5 Protocol

4 Medium

3 Receiver2 Sender

1 Message

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

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

99

Standards OrganizationsStandards Organizations Creation CommitteesCreation Committees

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

1010

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

Server Monitor

data flow

Keyboard

data flow

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

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

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

1414

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

1515

Point-To-Point ConnectionPoint-To-Point Connection

1616

Multipoint ConnectionMultipoint Connection

Wireless

1717

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

of devicesof devices MeshMesh StarStar BusBus RingRing HybridHybrid

1818

Fully Connected Mesh TopologyFully Connected Mesh Topology

A

CB

D

E

1919

Fully Connected Mesh TopologyFully Connected Mesh Topology

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

2121

Star TopologyStar Topology

Hub

A D

B CDrop

Drop

2222

Star TopologyStar Topology

Switch

A D

B C

2323

Star TopologyStar Topology

Hub

A D

B C

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

2525

Bus TopologyBus Topology

Dropline

Tap

Terminator

2626

Bus TopologyBus Topology

A B C D

2727

Bus TopologyBus Topology

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

2929

Ring TopologyRing Topology

A

B

C

D

3030

Ring TopologyRing Topology

3131

Ring TopologyRing Topology

Pros: Easy to install Easy to identify fault

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

transmission

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

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)

3434

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

campuscampus

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

3737

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

Bangkhen Kampangsaen

3838

Network of NetworksNetwork of Networks

Company A

Company D

Network Interface Card (NIC)

Company B

Company C

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""

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

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

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)

4343

4444

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

top related