+ All Categories
Home > Documents > Data Communication and Networking

Data Communication and Networking

Date post: 03-Jan-2016
Category:
Upload: theodore-weeks
View: 64 times
Download: 3 times
Share this document with a friend
Description:
Chapter 12. Data Communication and Networking. Communication. sending or receiving information Beating of drums Mirrors reflecting sunlight Homing pigeons Telegraph, telephone Computers …. Data Communication. Data Communication. DATA COMMUNICATION. Exchange of data between two devices - PowerPoint PPT Presentation
Popular Tags:
33
DATA COMMUNICATION AND NETWORKING Chapter 12
Transcript
Page 1: Data Communication and Networking

DATA COMMUNICATION AND NETWORKING

Chapter 12

Page 2: Data Communication and Networking

Communication

sending or receiving information

• Beating of drums

• Mirrors reflecting sunlight

• Homing pigeons

• Telegraph, telephone

• Computers …

Data Communication

Page 3: Data Communication and Networking

Data Communication

Page 4: Data Communication and Networking

DATA COMMUNICATION

• Exchange of data between two devices

• wired or wireless transmission medium

Communication system (collection of hardware, software …)

Transfer of data Method of transfer

Preservation of the data during

the transfer process

Delivery

• The system must deliver data to the correct or the intended destination.

Accuracy

• The system must deliver data accurately (error free).

Timeliness

• The system must deliver data in a timely manner without enough time lags.

Page 5: Data Communication and Networking

Five components of a data Communication System

1. Message

• It is the information to be communicated. Popular forms of information include text, pictures, audio, video etc.

2. Sender

• It is the device which sends the data messages. It can be a computer, workstation, telephone handset etc.

3. Receiver

• It is the device which receives the data messages. It can be a computer, workstation, telephone handset etc.

4. Transmission

Medium• It is the

physical path by which a message travels from sender to receiver. Some examples include twisted-pair wire, coaxial cable, radio-waves etc.

5. Protocol

• It is a set of rules that governs the data communications. It represents an agreement between the communicating devices. Without a protocol, two devices may be connected but not communicating.

Page 6: Data Communication and Networking

Data Transmission Modes

• Data in a simplex channel is always one way. Simplex channels are not often used because it is not possible to send back error or control signals to the transmit end. An example of a simplex channel in a computer system is the interface between the keyboard and the computer, in that key codes need only be sent one way from the keyboard to the computer system.

Simplex

• A half duplex channel can send and receive, but not at the same time. Its like a one-lane bridge where two way traffic must give way in order to cross. Only one end transmits at a time, the other end receives.

Half Duplex

• Data can travel in both directions simultaneously. There is no need to switch from transmit to receive mode like in half duplex. Its like a two lane bridge on a two-lane highway.

Full Duplex

Page 7: Data Communication and Networking

Analog & Digital Transmission

• information changes continuously and can take on many different values. An analog clock’s hands move constantly, displaying time on a continuous scale.

Analog

• information is characterized by discrete states. A light bulb, for example, is on or off. A digital clock represents the time in one-minute intervals and doesn’t change its numbers again until the next minute. A digital clock can represent exact minutes but not the seconds that pass in between.

Digital

Page 8: Data Communication and Networking

Analog & Digital Transmission …Analog to analog

Voice (Analog Data) Telephone Analog Signal

Digital to analogPC ( Digital Data) Modem Analog Signal

Analog to digitalVoice ( Analog Data) CODEC Digital Signal

Digital to DigitalPC ( Digital Data) Digital Transmitter Digital Signal

AnalogSignals- Sine waves

• Amplitude• Frequency• Wavelength

Page 9: Data Communication and Networking

Data Communication Measurement

• 64 Kbps or less channels

Narrowband Services

• 1.5 Mbps to 45 Mbps (North American)• 2 Mbps to 34 Mbps (International)

Wideband Services

• 45 Mbps or greater (North American)• 34 Mbps or greater (International)

Broadband Services

Page 10: Data Communication and Networking

Transmission Media

Page 11: Data Communication and Networking
Page 12: Data Communication and Networking

Radio Frequency Propogation

Page 13: Data Communication and Networking
Page 14: Data Communication and Networking

Modulation

Page 15: Data Communication and Networking

Multiplexing

Page 16: Data Communication and Networking

Multiplexing …

Page 17: Data Communication and Networking

Synchronization- Controlling timeAsynchronous Transmission

Each character of data is treated independently

Synchronous TransmissionFor sending large blocks of dataControl schemes

Character-orientedBit-oriented

6.17

Page 18: Data Communication and Networking

Switching

4 Employee Office• Direct Lines to each of them!• Point to point communication

Impractical & WastefulRoute calls by making temporary connection!

Page 19: Data Communication and Networking

Use Switches or Exchanges

Some switches are directly connected to a comminication device while others are dedicated to route/forward information

Page 20: Data Communication and Networking

Circuit switching

Major Attributes

• Dedicated fixed BW channel

• Data (sent/received) path is determined by the circuit

• Data path does not change within the lifetime of connection

• Simple method. Used in Public Service Telephone Network (PSTN)

Disadvantage?

• Waste when there is no data flowing

• Cannot change the circuit after it is established even if there are other (cheaper) routes possible

Page 21: Data Communication and Networking

Packet Switching

Major Attributes

• Focuses on data communication (vs. voice)

• Break data into packets• Package Assembler and Disassembler (PAD)

• Packets from a single message will not necessarily follow the same route

• Packet Header• Destination

• Priority

• …

• Packet Switching Exchange (PSE)

• Efficient?

“Message Switching” is obsolete

Page 22: Data Communication and Networking

Computer Network

Standalone versus Networked Environment

• How can we connect (physically)?

• Network Operating Systems

• Manage multiple computers on a network

• Client/Server (NOS)

• Client request and server serves

• Access to resources

• Peer to peer network (NOS?)

• Equal peer nodes• Both server & client

• Music/File sharing!

Page 23: Data Communication and Networking

Client/Server

How it worksClient sends request for service to serverServer fulfills request and send results to

clientClient and server may share processing

BenefitsReduces volume of data trafficAllows faster response for each clientNodes can be less expensive computers

Page 24: Data Communication and Networking

Attribute P2P Client/Server

Centralization of resource and data

No Yes

Maintenance cost Low HighNeeds staffs, support

Installation Process Simple Requires experts

Cost Low- no dedicated server

Requires a dedicated server

Security Low High

Reliability High- all independent nodes

Server down- network down

Standalone Vs. Networked Environment

Topology – Physical layout of components

Page 25: Data Communication and Networking

Computer Network

LANMANWANCAN

Page 26: Data Communication and Networking

LAN- Local Area Network

Connections over short distances through communications media

Connecting LANsBridge – connects networks with similar protocolsRouter – directs traffic via best pathIP switches

Replacing routersLess expensiveFaster

GatewayConnects LANs with dissimilar protocolsPerforms protocol conversion

Components

• PCs• Network

cable• NIC

Page 27: Data Communication and Networking

WAN- Wide Area Network

Link computers in geographically distant locations

Page 28: Data Communication and Networking

Network Topology

Bus topologyRing topologyStar topologyTree topologyMesh topology

Check the textbook

Page 29: Data Communication and Networking

OSI Model

Textbook P 445

Page 30: Data Communication and Networking

OSI Model …

Layer 1 - Physical

• Defines the cable or physical medium itself• e.g., thinnet, thicknet, unshielded twisted pairs (UTP).

• All media are functionally equivalent.

Layer 2 - Data Link

• Defines the format of data on the network• A network data frame, aka packet, includes

• checksum,

• source and destination address, and

• data.

• The largest packet that can be sent through a data link layer defines the Maximum Transmission Unit (MTU). net interface to handle connections to the outside world, and a loopback interface to send packets to itself.

Page 31: Data Communication and Networking

OSI Model …

Layer 3 - Network

• NFS uses Internetwork Protocol (IP) which is responsible for routing, directing datagrams from one network to another.

• The layer may have to break large datagrams, larger than MTU, into smaller packets and host receiving the packet will have to reassemble the fragmented datagram.

Layer 4 - Transport

• Subdivides user-buffer into network-buffer sized datagrams

• enforces desired transmission control.

• Two transport protocols sits at this layer• Transmission Control Protocol (TCP)

• User Datagram Protocol (UDP)

Reliability and speed are the primary difference between these two protocols.

Page 32: Data Communication and Networking

OSI Model …

Layer 5 - Session

• Defines the format of the data sent over the connections

• The NFS uses the Remote Procedure Call (RPC) for its session protocol• RPC may be built on either TCP or UDP

Layer 6 - Presentation

• External Data Representation (XDR) sits at this level.

• Converts local representation of data to its canonical form and vice versa. • The canonical uses a standard byte ordering and

structure packing convention, independent of the host.

Layer 7 - Application

• Provides network services to the end-users. Mail, ftp, telnet, DNS, NIS, NFS … network applications.

Page 33: Data Communication and Networking

Network Devices

NICRepeaterHubBridgeSwitchRouterGateway

P449


Recommended