SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Downloaden Sie, um offline zu lesen
Digital Data Communications
Techniques
CEN 220/CIS 192 Advanced Data Communications and Networking
Data and Computer Communications, W. Stallings 9/E, Chapter 6
2
Digital Data Communications Techniques
A conversation forms a two-way communication
link; there is a measure of symmetry between the
two parties, and messages pass to and fro. There is
a continual stimulus-response, cyclic action;
remarks call up other remarks, and the behavior of
the two individuals becomes concerted,
co-operative, and directed toward some goal. This
is true communication.
—On Human Communication,
Colin Cherry
3
Asynchronous and Synchronous
Transmission
Timing problems require a mechanism to synchronize the
transmitter and receiver
 receiver samples stream at bit intervals
 if clocks are not precisely aligned, drifting will sample
at wrong time after sufficient bits are sent
Two solutions to synchronizing clocks:
4
Asynchronous Transmission
Data are transmitted one character at a time
– each character is 5 to 8 bits in length
– receiver has the opportunity to resynchronize at the
beginning of each new character
Simple and cheap
– requires overhead of 2 or 3 bits per character (~20%)
The larger the block of bits, the greater the cumulative
timing error
Good for data with large gaps (keyboard)
5
Asynchronous Transmission
6
Synchronous Transmission
Block of bits transmitted in a steady stream without start
and stop codes
Clocks must be synchronized to prevent drift
 can use separate clock line
 embed clock signal in data
Need to indicate start and end of block
 use preamble and postamble bit patterns
Frame is data plus preamble, postamble, and control
information
More efficient than asynchronous for large blocks of data
7
Types of Error
An error occurs when a bit is altered between
transmission and reception
 binary 1 is transmitted and binary 0 is received or
binary 0 is transmitted and binary 1 is received
8
Error Detection
Regardless of design you will have errors
Can detect errors by using an error-detecting code added
by the transmitter
• code is also referred to as check bits
Recalculated and checked by receiver
Still chance of undetected error
Parity
 parity bit set so character has even (even parity) or odd
(odd parity) number of ones
 even number of bit errors goes undetected
9
Parity Check
The simplest error detecting scheme is to append
a parity bit to the end of a block of data
If any even number of bits are inverted due to
error, an undetected error occurs
10
Error Detection Process
11
Cyclic Redundancy Check (CRC)
One of most common and powerful checks
For block of k bits transmitter generates an n bit frame
check sequence (fcs)
Transmits k+n bits which is exactly divisible by some
predetermined number
Receiver divides frame by that number
 if no remainder, assume no error
12
Error Correction
Correction of detected errors usually requires data
block to be retransmitted
Not appropriate for wireless applications
 bit error rate is high causing lots of retransmissions
 propagation delay long (satellite) compared with frame
transmission time, resulting in retransmission of frame in
error plus many subsequent frames
Need to correct errors on basis of bits received
codeword
 on the transmission end each k-bit block of data is mapped
into an n-bit block (n > k) using a forward error correction
(FEC) encoder
13
Error Correction Process
14
How Error Correction Works
Adds redundancy to transmitted message
 redundancy makes it possible to deduce original
message despite some errors
Block error correction code
15
Line Configuration - Topology
16
Line Configuration - Topology
17
Line Configuration - Duplex
Data exchanges classified as half or full duplex
●
Half duplex (two-way alternate)
●
only one station may transmit at a time
●
requires one data path
●
Full duplex (two-way simultaneous)
●
simultaneous transmission and reception between two
stations
●
requires two data paths
●
separate media or frequencies used for each direction
18
Summary
Asynchronous and synchronous transmission
 asynchronous
• data transmitted one character at a time
 synchronous
• block of bits transmitted in steady stream without start and stop codes
Error detection and correction
 single bit error and error burst
 error detecting codes
• parity and cyclic redundancy check (CRC)
Line configurations
 topology
 full duplex and half duplex

Weitere ähnliche Inhalte

Was ist angesagt?

Error Detection and Correction - Data link Layer
Error Detection and Correction - Data link LayerError Detection and Correction - Data link Layer
Error Detection and Correction - Data link Layer
Abdullaziz Tagawy
 
PSK (PHASE SHIFT KEYING )
PSK (PHASE SHIFT KEYING )PSK (PHASE SHIFT KEYING )
PSK (PHASE SHIFT KEYING )
vijidhivi
 
Introduction to Data-Link Layer
Introduction to Data-Link LayerIntroduction to Data-Link Layer
Introduction to Data-Link Layer
Abdullaziz Tagawy
 

Was ist angesagt? (20)

Mobile transport layer - traditional TCP
Mobile transport layer - traditional TCPMobile transport layer - traditional TCP
Mobile transport layer - traditional TCP
 
DCN Error Detection & Correction
DCN Error Detection & CorrectionDCN Error Detection & Correction
DCN Error Detection & Correction
 
Selective repeat protocol
Selective repeat protocolSelective repeat protocol
Selective repeat protocol
 
Congestion control
Congestion controlCongestion control
Congestion control
 
Error Detection and Correction - Data link Layer
Error Detection and Correction - Data link LayerError Detection and Correction - Data link Layer
Error Detection and Correction - Data link Layer
 
PSK (PHASE SHIFT KEYING )
PSK (PHASE SHIFT KEYING )PSK (PHASE SHIFT KEYING )
PSK (PHASE SHIFT KEYING )
 
Introduction to Data-Link Layer
Introduction to Data-Link LayerIntroduction to Data-Link Layer
Introduction to Data-Link Layer
 
Distance Vector Routing
Distance Vector RoutingDistance Vector Routing
Distance Vector Routing
 
Dqdb
DqdbDqdb
Dqdb
 
Controlled Access Protocols
Controlled Access ProtocolsControlled Access Protocols
Controlled Access Protocols
 
Parity check(Error Detecting Codes)
Parity check(Error Detecting Codes)Parity check(Error Detecting Codes)
Parity check(Error Detecting Codes)
 
Routing algorithm
Routing algorithmRouting algorithm
Routing algorithm
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Computer Networks Unit 1 Introduction and Physical Layer
Computer Networks Unit 1 Introduction and Physical Layer Computer Networks Unit 1 Introduction and Physical Layer
Computer Networks Unit 1 Introduction and Physical Layer
 
Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)Transmission Control Protocol (TCP)
Transmission Control Protocol (TCP)
 
Congestion control and quality of services
Congestion control and quality of servicesCongestion control and quality of services
Congestion control and quality of services
 
Mobile Network Layer
Mobile Network LayerMobile Network Layer
Mobile Network Layer
 
Digital Communication: Channel Coding
Digital Communication: Channel CodingDigital Communication: Channel Coding
Digital Communication: Channel Coding
 
TOKEN BUS & TOKEN RING.ppt
TOKEN BUS & TOKEN RING.pptTOKEN BUS & TOKEN RING.ppt
TOKEN BUS & TOKEN RING.ppt
 
Error detection and correction
Error detection and correctionError detection and correction
Error detection and correction
 

Andere mochten auch (12)

Chapter 7 - Data Link Control Protocols 9e
Chapter 7 - Data Link Control Protocols 9eChapter 7 - Data Link Control Protocols 9e
Chapter 7 - Data Link Control Protocols 9e
 
Chapter 8 - Multiplexing 9e
Chapter 8 - Multiplexing 9eChapter 8 - Multiplexing 9e
Chapter 8 - Multiplexing 9e
 
Chapter 4 - Transmission Media 9e
Chapter 4 - Transmission Media 9eChapter 4 - Transmission Media 9e
Chapter 4 - Transmission Media 9e
 
01 overview-1
01 overview-101 overview-1
01 overview-1
 
03 data transmission
03 data transmission03 data transmission
03 data transmission
 
09 spread spectrum
09 spread spectrum09 spread spectrum
09 spread spectrum
 
05 signal encodingtechniques
05 signal encodingtechniques05 signal encodingtechniques
05 signal encodingtechniques
 
08 multiplexing
08 multiplexing08 multiplexing
08 multiplexing
 
06 digital datacomm
06 digital datacomm06 digital datacomm
06 digital datacomm
 
04 transmission media
04 transmission media04 transmission media
04 transmission media
 
10 circuit-packet
10 circuit-packet10 circuit-packet
10 circuit-packet
 
Chapter 5 - Signal Encoding Techniques 9e
Chapter 5 - Signal Encoding Techniques 9eChapter 5 - Signal Encoding Techniques 9e
Chapter 5 - Signal Encoding Techniques 9e
 

Ähnlich wie Chapter 6 - Digital Data Communication Techniques 9e

Unit 4 data link layer
Unit 4 data link layerUnit 4 data link layer
Unit 4 data link layer
mekind
 
Ch 6 data and computer communicationwilliam stallings (1)
Ch 6 data and computer communicationwilliam stallings (1)Ch 6 data and computer communicationwilliam stallings (1)
Ch 6 data and computer communicationwilliam stallings (1)
bheemsain
 
Ch 6 data and computer communicationwilliam stallings
Ch 6 data and computer communicationwilliam stallingsCh 6 data and computer communicationwilliam stallings
Ch 6 data and computer communicationwilliam stallings
bheemsain
 
computer Networks Error Detection and Correction.ppt
computer Networks Error Detection and Correction.pptcomputer Networks Error Detection and Correction.ppt
computer Networks Error Detection and Correction.ppt
Jayaprasanna4
 
Unit 10 Assignment_2_Sig_Theory_and_Data Elements V3
Unit 10 Assignment_2_Sig_Theory_and_Data Elements V3Unit 10 Assignment_2_Sig_Theory_and_Data Elements V3
Unit 10 Assignment_2_Sig_Theory_and_Data Elements V3
John Mathias
 

Ähnlich wie Chapter 6 - Digital Data Communication Techniques 9e (20)

Digital Data Comm.ppt
Digital Data Comm.pptDigital Data Comm.ppt
Digital Data Comm.ppt
 
Cs8591 Computer Networks
Cs8591 Computer NetworksCs8591 Computer Networks
Cs8591 Computer Networks
 
digital datacomm
digital datacommdigital datacomm
digital datacomm
 
Unit 4 data link layer
Unit 4 data link layerUnit 4 data link layer
Unit 4 data link layer
 
Ch 6 data and computer communicationwilliam stallings (1)
Ch 6 data and computer communicationwilliam stallings (1)Ch 6 data and computer communicationwilliam stallings (1)
Ch 6 data and computer communicationwilliam stallings (1)
 
Ch 6 data and computer communicationwilliam stallings
Ch 6 data and computer communicationwilliam stallingsCh 6 data and computer communicationwilliam stallings
Ch 6 data and computer communicationwilliam stallings
 
Error detection.ppt
Error detection.pptError detection.ppt
Error detection.ppt
 
Osi model detail description
Osi model  detail descriptionOsi model  detail description
Osi model detail description
 
data link layer - Chapter 3
data link layer - Chapter 3data link layer - Chapter 3
data link layer - Chapter 3
 
Error correction error detection in digital communication
Error correction error detection in digital communicationError correction error detection in digital communication
Error correction error detection in digital communication
 
computer Networks Error Detection and Correction.ppt
computer Networks Error Detection and Correction.pptcomputer Networks Error Detection and Correction.ppt
computer Networks Error Detection and Correction.ppt
 
Chapter 2.1.1.pptx
Chapter 2.1.1.pptxChapter 2.1.1.pptx
Chapter 2.1.1.pptx
 
Computer Networks Lecture Notes 01
Computer Networks Lecture Notes 01Computer Networks Lecture Notes 01
Computer Networks Lecture Notes 01
 
OSI MODELS.pptx
OSI  MODELS.pptxOSI  MODELS.pptx
OSI MODELS.pptx
 
Unit 10 Assignment_2_Sig_Theory_and_Data Elements V3
Unit 10 Assignment_2_Sig_Theory_and_Data Elements V3Unit 10 Assignment_2_Sig_Theory_and_Data Elements V3
Unit 10 Assignment_2_Sig_Theory_and_Data Elements V3
 
Serial And Parallel Data Transmission By ZAK
Serial And Parallel Data Transmission By ZAKSerial And Parallel Data Transmission By ZAK
Serial And Parallel Data Transmission By ZAK
 
901325_chapter 10 (1).ppt
901325_chapter 10 (1).ppt901325_chapter 10 (1).ppt
901325_chapter 10 (1).ppt
 
Error Detection and Correction.ppt
Error Detection and Correction.pptError Detection and Correction.ppt
Error Detection and Correction.ppt
 
Introduction to data link layer
Introduction to data link layerIntroduction to data link layer
Introduction to data link layer
 
Error detection and correction.ppt
Error detection and correction.pptError detection and correction.ppt
Error detection and correction.ppt
 

Kürzlich hochgeladen

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Kürzlich hochgeladen (20)

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

Chapter 6 - Digital Data Communication Techniques 9e

  • 1. Digital Data Communications Techniques CEN 220/CIS 192 Advanced Data Communications and Networking Data and Computer Communications, W. Stallings 9/E, Chapter 6
  • 2. 2 Digital Data Communications Techniques A conversation forms a two-way communication link; there is a measure of symmetry between the two parties, and messages pass to and fro. There is a continual stimulus-response, cyclic action; remarks call up other remarks, and the behavior of the two individuals becomes concerted, co-operative, and directed toward some goal. This is true communication. —On Human Communication, Colin Cherry
  • 3. 3 Asynchronous and Synchronous Transmission Timing problems require a mechanism to synchronize the transmitter and receiver  receiver samples stream at bit intervals  if clocks are not precisely aligned, drifting will sample at wrong time after sufficient bits are sent Two solutions to synchronizing clocks:
  • 4. 4 Asynchronous Transmission Data are transmitted one character at a time – each character is 5 to 8 bits in length – receiver has the opportunity to resynchronize at the beginning of each new character Simple and cheap – requires overhead of 2 or 3 bits per character (~20%) The larger the block of bits, the greater the cumulative timing error Good for data with large gaps (keyboard)
  • 6. 6 Synchronous Transmission Block of bits transmitted in a steady stream without start and stop codes Clocks must be synchronized to prevent drift  can use separate clock line  embed clock signal in data Need to indicate start and end of block  use preamble and postamble bit patterns Frame is data plus preamble, postamble, and control information More efficient than asynchronous for large blocks of data
  • 7. 7 Types of Error An error occurs when a bit is altered between transmission and reception  binary 1 is transmitted and binary 0 is received or binary 0 is transmitted and binary 1 is received
  • 8. 8 Error Detection Regardless of design you will have errors Can detect errors by using an error-detecting code added by the transmitter • code is also referred to as check bits Recalculated and checked by receiver Still chance of undetected error Parity  parity bit set so character has even (even parity) or odd (odd parity) number of ones  even number of bit errors goes undetected
  • 9. 9 Parity Check The simplest error detecting scheme is to append a parity bit to the end of a block of data If any even number of bits are inverted due to error, an undetected error occurs
  • 11. 11 Cyclic Redundancy Check (CRC) One of most common and powerful checks For block of k bits transmitter generates an n bit frame check sequence (fcs) Transmits k+n bits which is exactly divisible by some predetermined number Receiver divides frame by that number  if no remainder, assume no error
  • 12. 12 Error Correction Correction of detected errors usually requires data block to be retransmitted Not appropriate for wireless applications  bit error rate is high causing lots of retransmissions  propagation delay long (satellite) compared with frame transmission time, resulting in retransmission of frame in error plus many subsequent frames Need to correct errors on basis of bits received codeword  on the transmission end each k-bit block of data is mapped into an n-bit block (n > k) using a forward error correction (FEC) encoder
  • 14. 14 How Error Correction Works Adds redundancy to transmitted message  redundancy makes it possible to deduce original message despite some errors Block error correction code
  • 17. 17 Line Configuration - Duplex Data exchanges classified as half or full duplex ● Half duplex (two-way alternate) ● only one station may transmit at a time ● requires one data path ● Full duplex (two-way simultaneous) ● simultaneous transmission and reception between two stations ● requires two data paths ● separate media or frequencies used for each direction
  • 18. 18 Summary Asynchronous and synchronous transmission  asynchronous • data transmitted one character at a time  synchronous • block of bits transmitted in steady stream without start and stop codes Error detection and correction  single bit error and error burst  error detecting codes • parity and cyclic redundancy check (CRC) Line configurations  topology  full duplex and half duplex