Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved.

Slides:



Advertisements
Similar presentations
DC DATACOMM John Abbott College JPC Basic Concepts M. E. Kabay, PhD, CISSP Director of Education, ICSA President, JINBU Corp Copyright © 1998 JINBU.
Advertisements

1 Chapter 2 The Digital World. 2 Digital Data Representation.
Data Communication Topics to be discussed:  Data Communication Terminology.  Data Transmission Signals.  Data Transmission Circuits.  Serial & Parallel.
SECTION 4a Transforming Data into Information.
The Transmission of Binary Data in Communication Systems
Advanced Topics Object-Oriented Programming Using C++ Second Edition 13.
Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
Administrivia Assignments Labs Questions?? Class questions – –Goes to dpd and the TA’s Hand in lab assignments.
Chapter 2 Data Communication Concepts Code Transmission Signal Modulation Service.
Using Binary Coding Information Remember  Bit = 0 or 1, Binary Digit  Byte = the number of bits used to represent letters, numbers and special characters.
CS335 Networking & Network Administration Tuesday, April 6.
Addition : _________________ Binary Numbers (contd)
Transmission Characteristics 1. Introduction (Information Interchange codes) 2. Asynchronous and Synchronous Transmissions 3. Error detection (bit errors)
Media: Text “Words and symbols in any form, spoken or written, are the most common system of communication.” ~ unknown.
1 Chapter Overview Computer Communication The Computer Bus Objectives  Understand how a computer transmits and receives information.  Explain the principles.
1 Basics of Data Communications Discrete-time Communication vs Continuous-time Communication Is human communication continuous-time or discrete-time ?
FILES, DATA, AND SIGNALS FILE HAMLET. TXT USER DATA
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
IT-101 Section 001 Lecture #4 Introduction to Information Technology.
CODING SYSTEMS CODING SYSTEMS CODING SYSTEMS. CHARACTERS CHARACTERS digits: 0 – 9 (numeric characters) letters: alphabetic characters punctuation marks:
9/15/09 - L3 CodesCopyright Joanne DeGroat, ECE, OSU1 Codes.
CHARACTERS Data Representation. Using binary to represent characters Computers can only process binary numbers (1’s and 0’s) so a system was developed.
Chapter 2 Basic Communication Theory Basic Communications Theory w Understand the basic transmission theory, and figure out the maximum data rate. w.
Unit 3, Chapter 5 & 14 How do they talk to each other? Copyright ©2005 by Pearson Education, Inc. Upper Saddle River, New Jersey All rights reserved.
Lecture 6 Topics Character codes Error Detection and Correction
Binary Numbers and ASCII and EDCDIC Mrs. Cueni. Data Representation  Human speech is analog because it uses continuous signals (waves) that vary in strength.
Agenda Data Representation – Characters Encoding Schemes ASCII
Bits & Bytes: How Computers Represent Data
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
Chapter 7 Data Coding. Agenda Coding Code efficiency and conversion Compression/compaction Code encryption/decryption.
1 CS 502: Computing Methods for Digital Libraries Lecture 4 Text.
Chapter-4/5-1CS331- Fakhry Khellah Term 081 Chapter 4 (Only 4.2 – 4.3) Digital Transmission.
Copyright © 2003 by Prentice Hall Module 5 Central Processing Unit 1. Binary representation of data 2. The components of the CPU 3. CPU and Instruction.
Computer Structure & Architecture 7c - Data Representation.
Cosc 2150: Computer Organization
1 INFORMATION IN DIGITAL DEVICES. 2 Digital Devices Most computers today are composed of digital devices. –Process electrical signals. –Can only have.
CS151 Introduction to Digital Design
(More) Interfacing concepts. Introduction Overview of I/O operations Programmed I/O – Standard I/O – Memory Mapped I/O Device synchronization Readings:
DATA AND PULSE COMMUNICATION
ECS 152A 4. Communications Techniques. Asynchronous and Synchronous Transmission Timing problems require a mechanism to synchronize the transmitter and.
Introduction to Communications Digital Signals & Binary Codes
Globalisation & Computer systems Week 5/6 Character representation ACII and code pages UNICODE.
PREPARED BY: ENGR. JO-ANN C. VIÑAS
Data Representation, Number Systems and Base Conversions
The Principle of Electronic Data Serial and Parallel Data Communication Transmission Rate Bandwidth Bit Rate Parity bits.
Agenda Character representation Numerical Conversions ASCII EBCDIC
Programming Fundamentals. Overview of Previous Lecture Phases of C++ Environment Program statement Vs Preprocessor directive Whitespaces Comments.
Unit 1 Lecture 4.
M204 - Data Representation
DATA REPRESENTATION 4 Y. Colette Lemard February 2009.
ASCII AND EBCDIC CODES By : madam aisha.
Data and Computer Communications Eighth & Ninth Edition by William Stallings Chapter 6 – Digital Data Communications Techniques.
Nguyen Le CS147.  2.4 Signed Integer Representation  – Signed Magnitude  – Complement Systems  – Unsigned Versus Signed Numbers.
Chapter Nine: Data Transmission. Introduction Binary data is transmitted by either by serial or parallel methods Data transmission over long distances.
Lecture Coding Schemes. Representing Data English language uses 26 symbols to represent an idea Different sets of bit patterns have been designed to represent.
Binary Representation in Text
Binary Representation in Text
INFS 211: Introduction to Information Technology
Transmission Modes The term transmission mode to refer to the manner in which data is sent over the underlying medium Transmission modes can be divided.
Lecture 3 ISE101: Computing Fundamentals
DIGITAL DATA COMMUNICATION TECHNIQUES
Representing Characters
DIGITAL DATA COMMUNICATION TECHNIQUES
DIGITAL DATA COMMUNICATION TECHNIQUES
Basic Communication Concepts
Fundamentals of Data Representation
Chapter Nine: Data Transmission
DirectWrite By Lukas Morozovas™.
LO1 – Understand Computer Hardware
Introduction Communication Modes Transmission Modes
Presentation transcript:

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-1 CHAPTER 3 Basic Data Communications Concepts

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-2 OVERVIEW Bits & Bytes Characters Codes Parallel vs. Serial Timing Methods for Serial Transmission Directionality of the Transmission Path

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-3 FIGURE 3-1: TERMINAL AND HOST COMPUTER

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-4 A SIMPLE DATA COMM. MODEL Host Computer - where the processing takes place –Mainframes –Minicomputers –Microcomputers (PCs) –Super Computers Terminal - a device that communicates with a host –Dumb - Send/Receive data. Can’t modify data –Smart - Sends extra info to host (e.g., terminal ID) –Intelligent - Programmable PCs are the most “intelligent” terminal –Can emulate any of the three listed above. –Can also act as a host in some situations

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-5 BITS & BYTES With few exceptions, digital computers communicate through a series of 1’s and 0’s known as bits. This binary representation can also be thought of as being on and off. Groups of bits are referred to as bytes –In most systems, a byte consists of 8 bits –Usually each byte represents a single character A-Z, a-z, 0-9 punctuation #, %) special characters (LF, CR, ESC) Bits and bytes are closely related to the binary number system. See Appendix in text for more information

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-6 CHARACTER CODES The relationship of bytes to characters is determined by a character code Each time a user presses a key on a terminal/PC, a binary code is generated for the corresponding character. Various character codes have been used in data communication including: –Morse, Baudot –EBCDIC, ASCII –Unicode Regardless of the character code, both the terminal/ host or sender/receiver must recognize the same coding scheme

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-7 MORSE CODE First character code developed For transmitting data over telegraph wires –telegrams (remember Western Union) Used dots (short beep) and dashes (long beeps) instead of 1’s and 0’s More frequent the character, the fewer the beeps Problems: –variable “length” character representation –required pauses between letters –no lower case, few punctuation or special characters –no error detection mechanism

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-8 FIGURE 3-2: MORSE CODE

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-9 BAUDOT CODE One of first codes developed for machine to machine communication Uses 1’s and 0’s instead of dots and dashes For transmitting telex messages (punch tape) Fixed character length (5-bits) –32 different codes –increased capacity by using two codes for shifting (32)Shift to Lower (letters) (27)Shift to Upper (digits, punctuation) –4 special codes for SP, CR, LF & blank –Total = = 56 different characters

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-10 BAUDOT CODE (cont.) Problems: –required shift code to switch between character sets –no lower case, few special characters –no error detection mechanism –characters not ordered by binary value –designed for transmitting data, not for data processing International Baudot –Added a 6th bit for parity –Used to detect errors within a single character

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-11 FIGURE 3-3: BAUDOT CODE

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-12 EBCDIC Extended Binary Coded Decimal Interchange Code 8-bit character code developed by IBM –used for data communication, processing and storage –extended earlier proprietary 6-bit BCD code –designed for backward compatibility or marketing? –still in use today on some mainframes and legacy systems. Allows for 256 different character representations (2 8 ) –includes upper and lower case –lots of special characters (non-printable) –lots of blank (non-used codes) assigned to international characters in various versions –used with/without parity (block transmissions)

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-13 FIGURE 3-4: EBCDIC CODE

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-14 ASCII CODE American Standard Code for Information Interchange 7-bit code developed by the American National Standards Institute (ANSI) –most popular data communication character code today Allows for 128 different character representations (2 7 ) –includes upper and lower case –lots of special characters (non-printable) –generally used with an added parity bit –better binary ordering of characters than EBCDIC Extended ASCII uses 8 data bits and no parity –Used for processing and storage of data –Allows for international characters –8th bit stripped of for transmission of standard character set

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-15 FIGURE 3-5: 7-BIT ASCII CODE

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-16 FIGURE 3-5: ASCII NON-PRINTABLE CODES

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-17 UNICODE Designed to support international languages: Latin; Greek; Cyrillic; Armenian; Hebrew; Arabic; Syriac; Thaana; Devanagari; Bengali; Gurmukhi; Oriya; Tamil; Telegu; Kannada; Malayalam; Sinhala; Thai; Lao; Tibetan; Myanmar; Georgian; Hangul; Ethiopic; Cherokee; Canadian-Aboriginal Syllabics; Ogham; Runic; Khmer; Mongolian; Han (Japanese, Chinese, Korean ideographs); Hiragana; Katakana; Bopomofo and Yi Uses a 16-bit code for total of 65,536 possible char. –Incorporates ASCII in first 128 codes –Incorporates LATIN in first 256 codes Support found in newer hardware & software, especially web technologies (e.g., JAVA, XML, HTML) For more see

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-18 SUMMARY OF CHARACTER CODES Morse=.- Baudot=5 bit (no parity) Int. Baudot= 6 bit (5 data + 1 parity) ASCII=8 bit (7 data + 1 parity) EBCDIC=9 bit (8 data + 1 parity) UNICODE=16 bits (no parity) Normally terminals and hosts must use the same code However, code conversion hardware/software can be used to allow different machines to communicate

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-19 SUMMARY OF CHARACTER CODES (cont.) Bits per character affect –storage requirements –throughput of information Use of larger codes became feasible due to –higher transmission speeds –denser storage mediums Choice of character coding scheme is a trade off between –simplicity & brevity –expressivity

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-20 TRANSMISSION CHARACTERISTICS A character code determines what bits we will send between a terminal and host But how will those bits be sent: –Parallel vs. Serial Transmission –Serial Transmission Timing –Direction of Transmission Path –Others which we’ll look at later speed organization of data (protocol) transmission media

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-21 FIGURE 3-8: PARALLEL DATA TRANSMISSION Used most often for communication with local devices

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-22 FIGURE 3-9: SERIAL DATA TRANSMISSION Used most often for data communication

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-23 SERIAL TRANSMISSION TIMING ASYNCHRONOUS –Bits comprising a character are transmitted independent of timing of any other character –Asynchronous information bits are preceded by a start bit and followed by a stop bit Start bit is always a 0 (space) Stop bit is always a 1 (mark) –Start and Stop bits along with a parity bit result in 30% overhead in data transmission using ASCII codes –Also known as start-stop transmission –Used with dumb terminals and “character at a time” applications

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-24 FIGURE 3-10: ASYNCHRONOUS DATA TRANSMISSION

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-25 SERIAL TRANSMISSION TIMING (cont.) SYNCHRONOUS –Timing between sending and receiving locations is synchronized for transmission using clocks or sync characters –Provides support for block-mode transmission of data –No start or stop bits –Parity bits may not be used depending on the character code and block protocol –Frequently used with smart/intelligent terminals User inputs data which is held in the terminal After input is complete, user presses the “send” or “enter” key and all data is transmitted in a single block.

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-26 FIGURE 3-11: SYNCHRONOUS DATA TRANSMISSION

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-27 FIGURE 3-12: SYNCHRONOUS AND ASYNCHRONOUS TRANSMISSION EFFICIENCY

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-28 FIGURE 3-13: SIMPLEX COMMUNICATIONS PATH

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-29 FIGURE 3-14: HALF DUPLEX COMMUNICATIONS PATH

Based on: Companion to Data Communications: From Basics to Broadband, Third Edition by William J. Beyda © 2000 Prentice Hall, Inc. All Rights Reserved Chapter 3-30 FIGURE 3-15: FULL DUPLEX COMMUNICATIONS PATH