1 overview of data communication and computer networks 01204325: data communication and computer...

43
1 Overview of Data Communication and Computer Networks 01204325: Data Communication and Computer Networks Asst. Prof. Chaiporn Jaikaeo, Ph.D. [email protected] http://www.cpe.ku.ac.th/~cpj Computer Engineering Department Kasetsart University, Bangkok, Thailand

Upload: bridget-johnston

Post on 27-Dec-2015

222 views

Category:

Documents


1 download

TRANSCRIPT

1

Overview of Data Communication

and Computer Networks

01204325: Data Communication and Computer Networks

Asst. Prof. Chaiporn Jaikaeo, [email protected]

http://www.cpe.ku.ac.th/~cpjComputer Engineering Department

Kasetsart University, Bangkok, Thailand

2

Outline Data Communication Overview

Definition Components Protocols and standards

Network Overview Connectivity Categories Internetworks

3

Motivations Efficient way to share resources

Cost – less expensive Accessibility – easier

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

4

Data Communication: Definition

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.

5

Data Communication

Hi, how are you?

01010001

Hi, how are you?

UserComputer

you?

how

are

Hi,

you?

how

are

Hi,

01010001

6

Components in Communication

Hi, how are you?

5 Protocol

4 Medium

3 Receiver2 Sender

1 Message

7

Data Representation Numbers

8/16/32 bit integers floating point

Text ASCII, Unicode

Images Bit patterns, Graphics formats

JPG/GIF/etc Audio Samples of continuous signal Video Sequence of bitmap images

150

2

255

8

Protocols and Standards Protocol

A set of rules governing data communications

Syntax: format of data block Semantics: meaning of each section Timing: speed and sequencing

Standards De facto (in practice) standards

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

approved by an organization

9

Standards Organizations Creation Committees

ISO, ITU-T, ANSI, IEEE, EIA Forums Regulatory Agencies

10

Direction of Data Flow Simplex: One direction only

Server Monitor

data flow

Keyboard

data flow

11

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

time

E.g., walkie-talkies

data flow at time 1

data flow at time 2

12

Direction of Data Flow Full Duplex: Both directions

simultaneously

E.g., telephone

Can be emulated on a single communication link using various methods

data flow

data flow

13

Networks Network: a set of devices connected

by media links

Media Links

Printer

Workstation

Laptop

Scanner

Server

SD

iMac

14

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

15

Point-To-Point Connection

16

Multipoint Connection

Wireless

17

Topology Topology: physical or logical

arrangement of devices Point-to-point Mesh Star Bus Ring Hybrid

Point-to-Point Connection

18

19

Fully Connected Mesh Topology

A

CB

D

E

20

Fully Connected Mesh Topology

21

Fully Connected Mesh Topology

Pros: Dedicated links Robustness Privacy Easy to identify

fault Cons:

A lot of cabling I/O ports Difficult to move

22

Star Topology

Hub

A D

B CDrop

Drop

23

Star Topology

Switch

A D

B C

24

Star Topology

Hub

A D

B C

25

Star 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

26

Bus Topology

Dropline

Tap

Terminator

27

Bus Topology

A B C D

28

Bus Topology

29

Bus Topology Pros:

Little cabling Easy to install

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

transmission

30

Ring Topology

A

B

C

D

31

Ring Topology

32

Ring Topology

Pros: Easy to install Easy to identify fault

Cons: Delay in large ring Break in the ring stops

all transmission

33

Hybrid Topologies

ACTACT10M100M

1 2 3 4

13 14 15 16

5 6 7 8

17 18 19 20

9 10 11 12

21 22 23 24

UPLINK

1 2 3 4 5 6 7 8 9 101112

131415161718192021222324COLCOL

PWR

SWITCH

ACTACT10M100M

1 2 3 4

13 14 15 16

5 6 7 8

17 18 19 20

9 10 11 12

21 22 23 24

UPLINK

1 2 3 4 5 6 7 8 9 101112

131415161718192021222324COLCOL

PWR

SWITCH

34

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

35

Local Area Networks Network in a single office, building,

or campus

36

Wide Area Networks Network providing long-distance

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

38

Metropolitan Area Networks Network extended over an entire city

Bangkhen Kampangsaen

39

Switching Dedicated circuits Circuit switching

Telephone switchesestablish circuitsfor communication

Packet switching Data are put into

packets Each stamped with

source and destinationaddresses

Routers know where toforward packets

telephone

switch

Router

Packet

40

Network of Networks

Company A

Company D

Network Interface Card (NIC)

Company B

Company C

41

Internetworking How to allow devices from different

standards to communicate Gateways/routers – devices

capable of communicating in several standards

These become "network of networks"

42

Internetworks Two or more networks connected

become an internetwork, or internet

Example: The Internet

Network1 Network2

Gateway

Network3

43

The Internet The largest internetwork (network of

networks) in the world Devices communicating with TCP/IP

protocol suite

UCLA

Stanford

UC Santa Barbara

U. of Utah

44

Summary Data communication

Protocols and standards Computer networks

Topologies LAN/MAN/WAN

Internetworks (networks of networks)