© N. Ganesan, Ph.D., All rights reserved. Chapter Formatting of Data for Transmission.

Slides:



Advertisements
Similar presentations
© N. Ganesan, Ph.D., All rights reserved. Chapter ISO-OSI Reference Model and IEEE Standards.
Advertisements

Packets, Frames & Error Detection. Packet Concepts A packet is a small block of data. Networks which use packets are called packet networks or packet-
Assessment 1 Review Network Layers. Computer 1Computer 2 2.
Chapter 6 Errors, Error Detection, and Error Control
Chapter 6 Errors, Error Detection, and Error Control.
Department of Computer Engineering University of California at Santa Cruz Networking Systems (1) Hai Tao.
Computer Network 實踐資管 Wang-Jiunn Cheng 2004 PART IV-2 Local Area Networks (LANs) Frame.
PART III DATA LINK LAYER. Position of the Data-Link Layer.
Networking Theory (Part 1). Introduction Overview of the basic concepts of networking Also discusses essential topics of networking theory.
1-1 Introduction to Computer Networks and Data Communications.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Chapter 6: Errors, Error Detection, and Error Control
Data Communications Architecture Models. What is a Protocol? For two entities to communicate successfully, they must “speak the same language”. What is.
Chapter 6 Errors, Error Detection, and Error Control
TDC 461 Basic Communications Systems 8 May, 2001.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Communicating over the Network Network Fundamentals – Chapter 2.
© N. Ganesan, Ph.D., All rights reserved. Chapter Asynchronous and Synchronous Transmission.
Packet and Circuit Switching
Protocols and the TCP/IP Suite Chapter 4. Multilayer communication. A series of layers, each built upon the one below it. The purpose of each layer is.
Data Communications and Networks
CECS 5460 – Assignment 3 Stacey VanderHeiden Güney.
Midterm Review - Network Layers. Computer 1Computer 2 2.
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
THE OSI MODEL AND THE TCP/IP PROTOCOL SUITE CS 1202 Lectur3 part2.
Networks QUME 185 Introduction to Computer Applications.
Chapter 7 Low-Level Protocols
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
Core 3: Communication Systems. There are three terms that we will consider in relation to the speed of communication. Bits per second (bps) Baud Rate.
Data Link Layer - 1 Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF.
PART III DATA LINK LAYER. Position of the Data-Link Layer.
CIT 307 Online Data Communications Error Detection Module 11 Kevin Siminski, Instructor.
Part 2: Packet Transmission Packets, frames Local area networks (LANs) Wide area networks (LANs) Hardware addresses Bridges and switches Routing and protocols.
MODULE I NETWORKING CONCEPTS.
Chapter 15 – Part 2 Networks The Internal Operating System The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Networks. Common Xmit Media Shared Media Networks are a shared communication resource Only one user can access at a time.
CENG 490/510 Network Programming Russell Deaton Rm
AS Computing Data Transmission and Networks. Transmission error Detecting errors in data transmission is very important for data integrity. There are.
Communication Systems 3.1) Characteristics of a Communication System.
Data Communications & Computer Networks, Second Edition1 Chapter 6 Errors, Error Detection, and Error Control.
PREPARED BY: ENGR. JO-ANN C. VIÑAS
Chapter 6: Errors, Error Detection, and Error Control Data Communications and Computer Networks: A Business User’s Approach Third Edition.
William Stallings Data and Computer Communications
Chapter 9 Hardware Addressing and Frame Type Identification 1.Delivering and sending packets 2.Hardware addressing: specifying a destination 3. Broadcasting.
1 Ch 9 Hardware Addressing and Frame Type Identification.
Lecture (Mar 23, 2000) H/W Assignment 3 posted on Web –Due Tuesday March 28, 2000 Review of Data packets LANS WANS.
BZUPAGES.COM Presentation on TCP/IP Presented to: Sir Taimoor Presented by: Jamila BB Roll no Nudrat Rehman Roll no
Introduction to Computer Networks Introduction to Computer Networks.
FUNDAMENTALS OF NETWORKING
9-1 Chapter 9 - Networking and Communication Computer Architecture and Organization by M. Murdocca and V. Heuring © 2007 M. Murdocca and V. Heuring Computer.
Unit 1 Lecture 4.
1 Hardware Addressing and Frame Type Identification.
Communication Architecture and Network Protocol Layering Networks and Protocols Prepared by: TGK First Prepared on: Last Modified on: Quality checked by:
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 5 Data Link Layer.
Lecture # 02 Network Models Course Instructor: Engr. Sana Ziafat.
ERROR DETECTION AND CORRECTION Chapter 8 Data Communications & Networking ERROR DETECTION AND CORRECTION Chapter 8 First Semester 2007/2008.
Chapter Nine: Data Transmission. Introduction Binary data is transmitted by either by serial or parallel methods Data transmission over long distances.
ERROR DETECTION AND CORRECTION
Data Link Layer.
ISO-OSI Reference Model and IEEE Standards
The OSI Model and the TCP/IP Protocol Suite
Data Networking via LANs Packets and Frames
The OSI Model and the TCP/IP Protocol Suite
Chapter 3: Open Systems Interconnection (OSI) Model
Chapter Nine: Data Transmission
DATA COMMUNICATION Lecture-33.
Introduction to Data Communications
The OSI Model and the TCP/IP Protocol Suite
Data Link Layer. Position of the data-link layer.
Presentation transcript:

© N. Ganesan, Ph.D., All rights reserved. Chapter Formatting of Data for Transmission

Chapter Objectives Explain the different types of formatting used in information transmission –Character frames, block and packets Show the structure of the data for each of the above formatting procedure Present an example showing the computation of transmission costs for a given amount of data

Chapter Modules Data formatting and character frames Cost of transmission Block mode transmission Data packets and summary

© N. Ganesan, Ph.D., All rights reserved. Module Introduction to Formatting of Information

An Overview of Data Formats used in Transmission Character Frames –Used in character-by-character transmission Block –Blocks of data between two known nodes Packets –Packets of data are transmitted from one node to another node –Most extensively used format in the Internet

End of Module

© N. Ganesan, Ph.D., All rights reserved. Module Character Framing

Typical Components of a Character Frame At the center of the frame is the ASCII code of the character Parity bit for error checking Start bit indicating the starting point of the frame Stop bit indicating the ending point of the frame

Character Frame Start BitStop Bit Parity Bit 7-bit ASCII 10-bits Total Frame

Values for the Components of a Character Frame Parity bit –Odd, even or none Start bit –Mostly one bit is used Stop bit –One or two bits depending on the protocol

Practical Implications Of Parameters When using a communication software parameters must be set ahead of starting a session –For example, before calling a remote computer Parameters are also associated with the serial ports of a computer as well

End of Module

© N. Ganesan, Ph.D., All rights reserved. Module Calculation of the Cost of Transmission

Character Size Used in Calculations: An Example Problem: –Time required for the transmission of a file An assumption on the character size is often made in computing the cost of transmitting the file

Character Size Assumption Character- by character transmission –10 bits per character –A general assumption Block/Packet transmission –Approximately 8 bits per character as would be explained later –10 bits per character is still used for quick calculations

Case Example: Cost of Transmission Mode –Character by character transmission Speed –1200 bps Stop bits –1 Connect time charge –$20/Hour

Case Example Cont. Page size –5000 characters Compute the cost of sending 3 pages

Cost Computation Transmission speed –1200/10 = 120 Characters per second Time to send one character –1/120 Seconds Time to send 3*5000 characters –3*5000* 1/120 = 125 Seconds

Continuation of Cost Computation Connect time cost for one second –20/3600 Dollars Cost of sending 3 pages –(20/3600)*125 =.69 Dollars –69 Cents

End of Module

© N. Ganesan, Ph.D., All rights reserved. Module Packet Mode Transmission and Error Checking

Packet Transmission Preview Packet is the format used in the transmission of information in networks including the Internet

An Overview of Data Packets The information assembled in a packet and sent Components of a packet –Address of sender –Address of receiver –Synch. character, start of text, data, error detection, end of text character

Data Packet Format 1000 Character ETXT (End Of Text) Error Synchronization Character STXT (Start Of Text) Note: Each Character Takes 8 Bits Within The Block Sender’s address Receiver’s address

A Note on the Types of Error Checking Procedures There are two separate error checking procedures are employed Once is performed on each of the characters carried by the block The other is performed on the entire block of data

Error Checking On Data Packet BLOCK PARITY CHECK LRC CHECK Or CRC CHECK

Error Checking Procedures Used Within the Packet On each character –Parity (VRC) On the entire packet of data, one of the following two error checking procedures could be used –Longitudinal Redundancy Checking (LRC) –Cyclic Redundancy Checking (CRC) CRC 16 CRC 32 – More sophisticated

Bit Count on a Block of Data 1000 Characters X 8 bits 8888 The Size of the block= = 8049 ETXT Error Synchronization Character STXT 1000 Characters X 8 bits

Average Number of Bits Used for Carrying One Character Bits per character –8048/1000 = – Approximately 8 bits

Data Packet Format Summary Synchronization Start of text Sender’s address Receiver’s address Block of data Error checking on the block End of text

Salient Points of a Data packet Used extensively in networks Structure of the data packet is determined by the protocol –Ex. The Ethernet protocol An example of a standardized Ethernet protocol –IEEE 802.3

A Sample Ethernet Packet Format

Packets On The Internet Internet X.25 Frame Relay ATM (Cell Technology)

Switches Directs packets within a network Switches do not change the packet format as they only deliver it from one client to another in a single network

A Router Device used for interfacing different networks operating under different protocols Routes the data packets May change the packet format to conform to the destination network protocol

The Emerging Concept of Cells Frame (Packet) concept –Size of the packet is different from one packet to another packet Cell concept –Cells are packets of fixed length –ATM is an example of the cell concept in data formatting

The Advantage of the Cell Concept Fixed cell length –Internetworking devices such as switches and routers can be designed to operate more efficiently This is similar in nature to the containerized transportation of goods Fixed size containers –Helps in the design of the transportation equipment Equipment designed for fixed length cells will inherently operate faster

Other Names for Packets Cell Frame Block Segment

End of Module

Important Concepts in Packet Transmission Two methods –Character based (Old) –Packet based (new) Packet –Format determined by protocol –Variable size –E.g. X.25 (analog) and Frame Relay (Digital) are used in WANs

Newer Cell Technology Based on fixed length packets known as cell E.g. ATM (Digital) is used in WANs

© N. Ganesan, Ph.D., All rights reserved. Module Packet Transmission Cost Computation

Case Example: Cost of Transmission Mode –Character by character transmission Speed –1200 bps Stop bits –1 Connect time charge –$20/Hour

Case Example Cont. Page size –5000 characters Compute –Cost of sending 3 pages

Comparison with Character Mode Transmission Character mode transmission –10 bits per character Packet mode transmission –8 bits per character In general, packet mode transmission is more efficient than character mode transmission

Cost of Transmission Under Packet Mode (A Comparison) The cost of sending 3 pages in packet mode can be computed as: –69*(8/10) = 55.2 cents Cost of sending 3 pages in character mode was computed to be: –69 cents A savings of 14 cents therefore is obtained under packet transmission

End of Module

END OF CHAPTER